@tsiky/components-r19 1.8.55 → 1.8.57

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
@@ -2,7 +2,7 @@ import { jsx as c, jsxs as m, Fragment as Fe } from "react/jsx-runtime";
2
2
  import * as te from "react";
3
3
  import ie, { useState as V, useRef as E, useEffect as O, createContext as Ye, useContext as xe, useCallback as Oe, memo as ze, useLayoutEffect as pz, useId as yC, useInsertionEffect as A$, useMemo as Me, Children as uz, isValidElement as yz, Fragment as z$, createElement as kz, forwardRef as ec, Component as mz, useImperativeHandle as fz } from "react";
4
4
  import { c as a, M as Bo, I as gz, a as rc, g as vz, R as V$, B as Mz, C as _z, X as xz, Y as bz, T as wz, b as Lz, L as Cz, d as Nz, P as Iz, e as Sz, f as cN } from "./LineChart-DSDw_oNQ.js";
5
- import { i as I_e, h as S_e, S as $_e } from "./LineChart-DSDw_oNQ.js";
5
+ import { i as $_e, h as q_e, S as A_e } from "./LineChart-DSDw_oNQ.js";
6
6
  import { createPortal as kC } from "react-dom";
7
7
  import ce from "styled-components";
8
8
  const $z = "_button_1kuwt_2", qz = "_primary_1kuwt_21", Az = "_secondary_1kuwt_26", zz = "_accent_1kuwt_31", Vz = "_outline_1kuwt_36", Pz = "_success_1kuwt_41", Hz = "_danger_1kuwt_46", Tz = "_warning_1kuwt_51", jz = "_info_1kuwt_56", Dz = "_sm_1kuwt_62", Bz = "_md_1kuwt_67", Fz = "_lg_1kuwt_72", Je = {
@@ -30,14 +30,14 @@ function ne(e, t, n, o) {
30
30
  titleKey: h,
31
31
  textLabel: l = "Texte",
32
32
  guideLabel: p = "Guide"
33
- } = e, u = n || s, y = o || d, k = t || h, g = (f, M) => {
33
+ } = e, u = n || s, y = o || d, k = t || h, f = (g, M) => {
34
34
  const _ = M ? M.trim() : "";
35
- return _ ? _.includes(":") ? `${f} : ${_.replace(/\s*:\s*/g, " : ")}` : r ? `${f} : ${r} : ${_}` : `${f} : ${_}` : `${f} : `;
35
+ return _ ? _.includes(":") ? `${g} : ${_.replace(/\s*:\s*/g, " : ")}` : r ? `${g} : ${r} : ${_}` : `${g} : ${_}` : `${g} : `;
36
36
  };
37
37
  if (i === "key")
38
38
  return [
39
- g(l || "Texte", k),
40
- g(p || "Guide", u)
39
+ f(l || "Texte", k),
40
+ f(p || "Guide", u)
41
41
  ].join(" | ");
42
42
  if (i === "guide")
43
43
  return y || void 0;
@@ -93,15 +93,15 @@ const FL = ({
93
93
  t || (t = 150);
94
94
  const k = n || t * 0.1;
95
95
  t += k;
96
- const g = Math.min(5, Math.max(0, Math.floor(e))), f = t / 2, M = (t - k) / 2, _ = 2 * Math.PI * M, b = _ / 5 * (1 - 0.1), C = _ - b;
96
+ const f = Math.min(5, Math.max(0, Math.floor(e))), g = t / 2, M = (t - k) / 2, _ = 2 * Math.PI * M, b = _ / 5 * (1 - 0.1), C = _ - b;
97
97
  return /* @__PURE__ */ m("div", { className: `circular-progress-container ${y}`, children: [
98
98
  /* @__PURE__ */ m("div", { className: "circular-progress", style: { width: t, height: t }, children: [
99
99
  /* @__PURE__ */ m("svg", { width: t, height: t, children: [
100
100
  /* @__PURE__ */ c(
101
101
  "circle",
102
102
  {
103
- cx: f,
104
- cy: f,
103
+ cx: g,
104
+ cy: g,
105
105
  r: M - k / 2,
106
106
  fill: i,
107
107
  stroke: "none",
@@ -110,11 +110,11 @@ const FL = ({
110
110
  ),
111
111
  Array.from({ length: 5 }).map((N, L) => {
112
112
  const x = -90 + L * 72;
113
- return L >= g ? null : /* @__PURE__ */ c(
113
+ return L >= f ? null : /* @__PURE__ */ c(
114
114
  "circle",
115
115
  {
116
- cx: f,
117
- cy: f,
116
+ cx: g,
117
+ cy: g,
118
118
  r: M,
119
119
  fill: "transparent",
120
120
  stroke: o,
@@ -122,7 +122,7 @@ const FL = ({
122
122
  strokeLinecap: "butt",
123
123
  strokeDasharray: `${b} ${C}`,
124
124
  strokeDashoffset: 0,
125
- transform: `rotate(${x} ${f} ${f})`,
125
+ transform: `rotate(${x} ${g} ${g})`,
126
126
  style: { transition: "stroke 0.3s ease" }
127
127
  },
128
128
  L
@@ -200,10 +200,10 @@ function Zz({
200
200
  }
201
201
  return l && document.addEventListener("mousedown", _), () => document.removeEventListener("mousedown", _);
202
202
  }, [l]);
203
- function g(_) {
203
+ function f(_) {
204
204
  r && (_.preventDefault(), y({ x: _.clientX, y: _.clientY }), p(!0));
205
205
  }
206
- const f = e.slice(0, s), M = (_) => typeof _ == "number" ? `${_}px` : _;
206
+ const g = e.slice(0, s), M = (_) => typeof _ == "number" ? `${_}px` : _;
207
207
  return /* @__PURE__ */ m(
208
208
  "div",
209
209
  {
@@ -214,10 +214,10 @@ function Zz({
214
214
  ...t,
215
215
  "--gap": M(h)
216
216
  },
217
- onContextMenu: g,
217
+ onContextMenu: f,
218
218
  "aria-label": "liste-badges",
219
219
  children: [
220
- /* @__PURE__ */ c("ul", { className: ut.list, children: f.map((_, v) => /* @__PURE__ */ m("li", { className: ut.item, children: [
220
+ /* @__PURE__ */ c("ul", { className: ut.list, children: g.map((_, v) => /* @__PURE__ */ m("li", { className: ut.item, children: [
221
221
  /* @__PURE__ */ c(
222
222
  "span",
223
223
  {
@@ -31313,7 +31313,7 @@ const Lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31313
31313
  ZoomOutIcon: sb,
31314
31314
  createLucideIcon: a,
31315
31315
  icons: i2e
31316
- }, Symbol.toStringTag, { value: "Module" })), pMe = ({
31316
+ }, Symbol.toStringTag, { value: "Module" })), yMe = ({
31317
31317
  size: e = 250,
31318
31318
  background: t = "#fff",
31319
31319
  headerTop: n,
@@ -31327,13 +31327,13 @@ const Lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31327
31327
  className: p = "",
31328
31328
  draggable: u = !1
31329
31329
  }) => {
31330
- const y = e !== void 0 ? e : 250, k = e ? { size: e * 0.5, ...s } : s, g = e ? { size: e * 0.4, ...h } : h, f = {
31330
+ const y = e !== void 0 ? e : 250, k = e ? { size: e * 0.5, ...s } : s, f = e ? { size: e * 0.4, ...h } : h, g = {
31331
31331
  background: t,
31332
31332
  position: "relative",
31333
31333
  ...l,
31334
31334
  ...y && { width: y }
31335
31335
  };
31336
- return /* @__PURE__ */ m("div", { style: f, className: `stat-card ${p}`, children: [
31336
+ return /* @__PURE__ */ m("div", { style: g, className: `stat-card ${p}`, children: [
31337
31337
  /* @__PURE__ */ m("div", { className: "stat-card-header", children: [
31338
31338
  /* @__PURE__ */ c("div", { className: "stat-card-header-top", style: i, children: n }),
31339
31339
  o && /* @__PURE__ */ c("div", { className: "stat-card-header-bottom", style: r, children: o })
@@ -31342,7 +31342,7 @@ const Lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31342
31342
  /* @__PURE__ */ c("div", { className: "progress-row-single", children: /* @__PURE__ */ c(rN, { ...k }) }),
31343
31343
  /* @__PURE__ */ m("div", { className: "progress-row-double", children: [
31344
31344
  /* @__PURE__ */ c("div", { className: "progress-item", children: /* @__PURE__ */ c(Zz, { ...d }) }),
31345
- /* @__PURE__ */ c("div", { className: "progress-item", children: /* @__PURE__ */ c(rN, { ...g }) })
31345
+ /* @__PURE__ */ c("div", { className: "progress-item", children: /* @__PURE__ */ c(rN, { ...f }) })
31346
31346
  ] })
31347
31347
  ] }),
31348
31348
  u && /* @__PURE__ */ c(
@@ -31367,14 +31367,14 @@ const Lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31367
31367
  const e = xe(P$);
31368
31368
  if (!e) throw new Error("useNavigation must be used within a NavProvider");
31369
31369
  return e;
31370
- }, uMe = ({
31370
+ }, kMe = ({
31371
31371
  children: e,
31372
31372
  defaultActive: t = ""
31373
31373
  }) => {
31374
- const [n, o] = V(t), [i, r] = V(t), [s, d] = V(void 0), [h, l] = V(void 0), [p, u] = V({}), y = (k, g) => {
31375
- u((f) => ({
31376
- ...f,
31377
- [k]: g
31374
+ const [n, o] = V(t), [i, r] = V(t), [s, d] = V(void 0), [h, l] = V(void 0), [p, u] = V({}), y = (k, f) => {
31375
+ u((g) => ({
31376
+ ...g,
31377
+ [k]: f
31378
31378
  }));
31379
31379
  };
31380
31380
  return /* @__PURE__ */ c(
@@ -31404,7 +31404,7 @@ const Lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31404
31404
  select: r,
31405
31405
  topContent: s
31406
31406
  }) => {
31407
- const [d, h] = V(!1), [l, p] = V("right"), u = E(null), y = E(null), { activeNav: k, activeSubNav: g } = St();
31407
+ const [d, h] = V(!1), [l, p] = V("right"), u = E(null), y = E(null), { activeNav: k, activeSubNav: f } = St();
31408
31408
  O(() => {
31409
31409
  if (!i) return;
31410
31410
  const _ = (v) => {
@@ -31417,7 +31417,7 @@ const Lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31417
31417
  p(_.left < v ? "left" : "right");
31418
31418
  }
31419
31419
  }, [d, o]);
31420
- const f = t ? Lt[t] : null;
31420
+ const g = t ? Lt[t] : null;
31421
31421
  return /* @__PURE__ */ m("div", { className: "dropdown", ref: u, children: [
31422
31422
  /* @__PURE__ */ m(
31423
31423
  "button",
@@ -31429,7 +31429,7 @@ const Lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31429
31429
  "aria-expanded": d,
31430
31430
  "aria-haspopup": "true",
31431
31431
  children: [
31432
- f && /* @__PURE__ */ c(f, { size: 20 }),
31432
+ g && /* @__PURE__ */ c(g, { size: 20 }),
31433
31433
  n && /* @__PURE__ */ c("span", { className: "button-text", children: n })
31434
31434
  ]
31435
31435
  }
@@ -31439,7 +31439,7 @@ const Lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31439
31439
  e?.map((_, v) => /* @__PURE__ */ m("div", { className: "dropdown-category", children: [
31440
31440
  _.title && /* @__PURE__ */ c("div", { className: "category-title", children: _.title }),
31441
31441
  /* @__PURE__ */ c("div", { className: "category-items", children: _.items.map((b, C) => {
31442
- const N = b.id ?? b.label, L = k === N || g === N, x = b.select ?? r;
31442
+ const N = b.id ?? b.label, L = k === N || f === N, x = b.select ?? r;
31443
31443
  if (b.id === "language") {
31444
31444
  if (!x || !Array.isArray(x.options) || !x.onChange)
31445
31445
  return /* @__PURE__ */ c("div", { className: "dropdown-language" }, C);
@@ -31495,8 +31495,8 @@ const Lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31495
31495
  uniqueKey: u = 0,
31496
31496
  style: y = {},
31497
31497
  width: k,
31498
- order: g,
31499
- onSwap: f,
31498
+ order: f,
31499
+ onSwap: g,
31500
31500
  draggable: M = !1,
31501
31501
  displayNone: _ = !1
31502
31502
  }) => {
@@ -31520,9 +31520,9 @@ const Lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31520
31520
  ].join(" ").trim(), { node: z, classes: F };
31521
31521
  });
31522
31522
  let S = I;
31523
- g && g.length > 0 && (S = I.map((z, F) => ({
31523
+ f && f.length > 0 && (S = I.map((z, F) => ({
31524
31524
  ...z,
31525
- node: I[g[F]]?.node ?? z.node
31525
+ node: I[f[F]]?.node ?? z.node
31526
31526
  }))), b(S);
31527
31527
  }, [e]);
31528
31528
  const C = (w, $) => {
@@ -31550,7 +31550,7 @@ const Lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31550
31550
  }, z[F] = {
31551
31551
  ...z[F],
31552
31552
  node: H
31553
- }, b(z), typeof f == "function" && f(j, F);
31553
+ }, b(z), typeof g == "function" && g(j, F);
31554
31554
  }, x = o ? [
31555
31555
  i ? `grid-xs-${i}` : "",
31556
31556
  r ? `grid-sm-${r}` : "",
@@ -31649,7 +31649,7 @@ const mC = ({ imagePath: e, ...t }) => {
31649
31649
  moduleConfig: o = {},
31650
31650
  dropdownPosition: i = "auto"
31651
31651
  }) => {
31652
- const { activeNav: r } = St(), [s, d] = V(!0), [h, l] = V(!1), [p, u] = V("left"), y = E(null), k = E(null), g = E(null);
31652
+ const { activeNav: r } = St(), [s, d] = V(!0), [h, l] = V(!1), [p, u] = V("left"), y = E(null), k = E(null), f = E(null);
31653
31653
  O(() => {
31654
31654
  const v = () => {
31655
31655
  if (y.current && y.current.parentElement) {
@@ -31666,11 +31666,11 @@ const mC = ({ imagePath: e, ...t }) => {
31666
31666
  }, [h, i]), O(() => {
31667
31667
  if (!h) return;
31668
31668
  const v = (b) => {
31669
- g.current && !g.current.contains(b.target) && k.current && !k.current.contains(b.target) && l(!1);
31669
+ f.current && !f.current.contains(b.target) && k.current && !k.current.contains(b.target) && l(!1);
31670
31670
  };
31671
31671
  return document.addEventListener("mousedown", v), () => document.removeEventListener("mousedown", v);
31672
31672
  }, [h]);
31673
- const f = (v) => {
31673
+ const g = (v) => {
31674
31674
  t?.(v), l(!1);
31675
31675
  }, M = e.find((v) => v.id === r) || e[0], _ = i === "auto" ? p : i;
31676
31676
  return /* @__PURE__ */ c("div", { ref: y, children: s ? /* @__PURE__ */ m("div", { className: "navbar-mobile", children: [
@@ -31689,14 +31689,14 @@ const mC = ({ imagePath: e, ...t }) => {
31689
31689
  ]
31690
31690
  }
31691
31691
  ),
31692
- h && /* @__PURE__ */ c("div", { ref: g, className: `navbar-dropdown ${_}`, children: e.map((v) => /* @__PURE__ */ c(
31692
+ h && /* @__PURE__ */ c("div", { ref: f, className: `navbar-dropdown ${_}`, children: e.map((v) => /* @__PURE__ */ c(
31693
31693
  sN,
31694
31694
  {
31695
31695
  id: v.id,
31696
31696
  label: v.label,
31697
31697
  href: v.moduleKey && o[v.moduleKey] ? v.href : void 0,
31698
31698
  isActive: r === v.id && v.moduleKey !== void 0 && o[v.moduleKey],
31699
- onClick: f,
31699
+ onClick: g,
31700
31700
  highlightColor: n
31701
31701
  },
31702
31702
  v.id
@@ -31708,12 +31708,12 @@ const mC = ({ imagePath: e, ...t }) => {
31708
31708
  label: v.label,
31709
31709
  href: v.moduleKey && o[v.moduleKey] ? v.href : void 0,
31710
31710
  isActive: r === v.id && v.moduleKey !== void 0 && o[v.moduleKey],
31711
- onClick: f,
31711
+ onClick: g,
31712
31712
  highlightColor: n
31713
31713
  },
31714
31714
  v.id
31715
31715
  )) }) });
31716
- }, T$ = Ye(void 0), yMe = ({ children: e, initialTheme: t }) => {
31716
+ }, T$ = Ye(void 0), mMe = ({ children: e, initialTheme: t }) => {
31717
31717
  const [n, o] = V(() => {
31718
31718
  if (typeof window < "u")
31719
31719
  try {
@@ -31828,7 +31828,7 @@ const mC = ({ imagePath: e, ...t }) => {
31828
31828
  a11yConfig: s
31829
31829
  }
31830
31830
  ) : null;
31831
- }, d2e = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ te.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" })), lN = ze(d2e), j$ = Ye(void 0), kMe = ({ children: e }) => {
31831
+ }, d2e = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ te.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" })), lN = ze(d2e), j$ = Ye(void 0), fMe = ({ children: e }) => {
31832
31832
  const [t, n] = V(!1);
31833
31833
  O(() => {
31834
31834
  const i = localStorage.getItem("isDraggable");
@@ -31878,7 +31878,7 @@ const mC = ({ imagePath: e, ...t }) => {
31878
31878
  a11yConfig: i
31879
31879
  }
31880
31880
  );
31881
- }, h2e = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ te.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" })), hN = ze(h2e), D$ = Ye(void 0), mMe = ({ children: e }) => {
31881
+ }, h2e = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ te.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" })), hN = ze(h2e), D$ = Ye(void 0), gMe = ({ children: e }) => {
31882
31882
  const [t, n] = V(!1);
31883
31883
  O(() => {
31884
31884
  const i = localStorage.getItem("disableLegendFilter");
@@ -31928,7 +31928,7 @@ const mC = ({ imagePath: e, ...t }) => {
31928
31928
  a11yConfig: i
31929
31929
  }
31930
31930
  );
31931
- }, B$ = Ye(void 0), fMe = ({ children: e }) => {
31931
+ }, B$ = Ye(void 0), vMe = ({ children: e }) => {
31932
31932
  const [t, n] = V(!1);
31933
31933
  O(() => {
31934
31934
  const i = localStorage.getItem("showData");
@@ -31986,10 +31986,10 @@ function uN({
31986
31986
  O(() => {
31987
31987
  p(e);
31988
31988
  }, [e]);
31989
- const u = (k, g) => {
31989
+ const u = (k, f) => {
31990
31990
  p(
31991
- (f) => f.map(
31992
- (M) => M.component_key === k && g > 3 ? { ...M, visible: !M.visible } : M
31991
+ (g) => g.map(
31992
+ (M) => M.component_key === k && f > 3 ? { ...M, visible: !M.visible } : M
31993
31993
  )
31994
31994
  );
31995
31995
  }, y = () => {
@@ -32027,7 +32027,7 @@ function uN({
32027
32027
  padding: 12
32028
32028
  },
32029
32029
  children: [
32030
- /* @__PURE__ */ c("ul", { style: { listStyle: "none", padding: 0, margin: 0, marginBottom: 12 }, children: l.map((k, g) => /* @__PURE__ */ m(
32030
+ /* @__PURE__ */ c("ul", { style: { listStyle: "none", padding: 0, margin: 0, marginBottom: 12 }, children: l.map((k, f) => /* @__PURE__ */ m(
32031
32031
  "li",
32032
32032
  {
32033
32033
  style: { display: "flex", alignItems: "center", marginBottom: 4 },
@@ -32037,13 +32037,13 @@ function uN({
32037
32037
  {
32038
32038
  type: "checkbox",
32039
32039
  checked: k.visible,
32040
- disabled: g < 4,
32041
- onChange: () => u(k.component_key, g),
32040
+ disabled: f < 4,
32041
+ onChange: () => u(k.component_key, f),
32042
32042
  style: { marginRight: 8 }
32043
32043
  }
32044
32044
  ),
32045
- /* @__PURE__ */ c("span", { style: { color: g < 4 ? "#6b7280" : "#111827" }, children: k.label }),
32046
- g < 4 && /* @__PURE__ */ c(
32045
+ /* @__PURE__ */ c("span", { style: { color: f < 4 ? "#6b7280" : "#111827" }, children: k.label }),
32046
+ f < 4 && /* @__PURE__ */ c(
32047
32047
  "span",
32048
32048
  {
32049
32049
  style: { fontSize: "var(--text-paragraph)", color: "#9ca3af", marginLeft: 6 }
@@ -32076,7 +32076,7 @@ function uN({
32076
32076
  )
32077
32077
  ] });
32078
32078
  }
32079
- const gMe = ({
32079
+ const MMe = ({
32080
32080
  logoPath: e,
32081
32081
  navItems: t,
32082
32082
  onNavClick: n,
@@ -32091,7 +32091,7 @@ const gMe = ({
32091
32091
  componentVisibilitySavingLabel: u,
32092
32092
  componentVisibilityButtonTitle: y
32093
32093
  }) => {
32094
- const { activeSwitchers: k } = St(), g = k?.draggable === !0, f = k?.showData === !0, M = k?.legendFilter === !0, _ = k?.componentVisibility === !0 && d && d.length > 0;
32094
+ const { activeSwitchers: k } = St(), f = k?.draggable === !0, g = k?.showData === !0, M = k?.legendFilter === !0, _ = k?.componentVisibility === !0 && d && d.length > 0;
32095
32095
  return /* @__PURE__ */ c("header", { className: "header", style: { backgroundColor: i }, children: /* @__PURE__ */ m("div", { className: "header-layout-container", children: [
32096
32096
  /* @__PURE__ */ m("div", { className: "header-left", children: [
32097
32097
  /* @__PURE__ */ c("a", { href: "/", children: /* @__PURE__ */ c(mC, { imagePath: e }) }),
@@ -32107,8 +32107,8 @@ const gMe = ({
32107
32107
  ] }),
32108
32108
  /* @__PURE__ */ m("div", { className: "header-right", children: [
32109
32109
  /* @__PURE__ */ m("div", { className: "switcher-container", children: [
32110
- g && /* @__PURE__ */ c(RL, {}),
32111
- f && /* @__PURE__ */ c(EL, {}),
32110
+ f && /* @__PURE__ */ c(RL, {}),
32111
+ g && /* @__PURE__ */ c(EL, {}),
32112
32112
  M && /* @__PURE__ */ c(OL, {}),
32113
32113
  /* @__PURE__ */ c(dN, {}),
32114
32114
  _ && /* @__PURE__ */ c(
@@ -32130,8 +32130,8 @@ const gMe = ({
32130
32130
  categories: o?.categories,
32131
32131
  buttonContent: o?.buttonContent,
32132
32132
  topContent: /* @__PURE__ */ m("div", { className: "dropdown-switchers", children: [
32133
- g && /* @__PURE__ */ c(RL, {}),
32134
- f && /* @__PURE__ */ c(EL, {}),
32133
+ f && /* @__PURE__ */ c(RL, {}),
32134
+ g && /* @__PURE__ */ c(EL, {}),
32135
32135
  M && /* @__PURE__ */ c(OL, {}),
32136
32136
  /* @__PURE__ */ c(dN, {}),
32137
32137
  _ && /* @__PURE__ */ c(
@@ -32185,7 +32185,7 @@ const gMe = ({
32185
32185
  }) => /* @__PURE__ */ m("div", { className: `scrollable-horizontale ${t}`, style: n, children: [
32186
32186
  /* @__PURE__ */ c("div", { className: "scrollable", children: e }),
32187
32187
  /* @__PURE__ */ c("div", { className: "scrollable-dropdown", children: /* @__PURE__ */ c(H$, { logo: "BarChart", position: "right", categories: o }) })
32188
- ] }), vMe = ({
32188
+ ] }), _Me = ({
32189
32189
  subNavItems: e,
32190
32190
  highlightColor: t = "#1387C8",
32191
32191
  style: n,
@@ -32379,8 +32379,8 @@ function I2e(e, t) {
32379
32379
  * Schedule a process to run on the next frame.
32380
32380
  */
32381
32381
  schedule: (p, u = !1, y = !1) => {
32382
- const g = y && i ? n : o;
32383
- return u && s.add(p), g.has(p) || g.add(p), p;
32382
+ const f = y && i ? n : o;
32383
+ return u && s.add(p), f.has(p) || f.add(p), p;
32384
32384
  },
32385
32385
  /**
32386
32386
  * Cancel the provided callback from running on the next frame.
@@ -32408,11 +32408,11 @@ function aq(e, t) {
32408
32408
  delta: 0,
32409
32409
  timestamp: 0,
32410
32410
  isProcessing: !1
32411
- }, r = () => n = !0, s = sc.reduce((b, C) => (b[C] = I2e(r), b), {}), { setup: d, read: h, resolveKeyframes: l, preUpdate: p, update: u, preRender: y, render: k, postRender: g } = s, f = () => {
32411
+ }, r = () => n = !0, s = sc.reduce((b, C) => (b[C] = I2e(r), b), {}), { setup: d, read: h, resolveKeyframes: l, preUpdate: p, update: u, preRender: y, render: k, postRender: f } = s, g = () => {
32412
32412
  const b = Nt.useManualTiming ? i.timestamp : performance.now();
32413
- n = !1, Nt.useManualTiming || (i.delta = o ? 1e3 / 60 : Math.max(Math.min(b - i.timestamp, S2e), 1)), i.timestamp = b, i.isProcessing = !0, d.process(i), h.process(i), l.process(i), p.process(i), u.process(i), y.process(i), k.process(i), g.process(i), i.isProcessing = !1, n && t && (o = !1, e(f));
32413
+ n = !1, Nt.useManualTiming || (i.delta = o ? 1e3 / 60 : Math.max(Math.min(b - i.timestamp, S2e), 1)), i.timestamp = b, i.isProcessing = !0, d.process(i), h.process(i), l.process(i), p.process(i), u.process(i), y.process(i), k.process(i), f.process(i), i.isProcessing = !1, n && t && (o = !1, e(g));
32414
32414
  }, M = () => {
32415
- n = !0, o = !0, i.isProcessing || e(f);
32415
+ n = !0, o = !0, i.isProcessing || e(g);
32416
32416
  };
32417
32417
  return { schedule: sc.reduce((b, C) => {
32418
32418
  const N = s[C];
@@ -32481,7 +32481,7 @@ const WL = {
32481
32481
  test: (t) => typeof t == "string" && t.endsWith(e) && t.split(" ").length === 1,
32482
32482
  parse: parseFloat,
32483
32483
  transform: (t) => `${t}${e}`
32484
- }), Vt = /* @__PURE__ */ nc("deg"), Mt = /* @__PURE__ */ nc("%"), X = /* @__PURE__ */ nc("px"), T2e = /* @__PURE__ */ nc("vh"), j2e = /* @__PURE__ */ nc("vw"), fN = {
32484
+ }), Vt = /* @__PURE__ */ nc("deg"), Mt = /* @__PURE__ */ nc("%"), Y = /* @__PURE__ */ nc("px"), T2e = /* @__PURE__ */ nc("vh"), j2e = /* @__PURE__ */ nc("vw"), fN = {
32485
32485
  ...Mt,
32486
32486
  parse: (e) => Mt.parse(e) / 100,
32487
32487
  transform: (e) => Mt.transform(e * 100)
@@ -32693,11 +32693,11 @@ function n0e({ duration: e = Le.duration, bounce: t = Le.bounce, velocity: n = L
32693
32693
  yi(e <= /* @__PURE__ */ dt(Le.maxDuration), "Spring duration must be 10 seconds or less", "spring-duration-limit");
32694
32694
  let s = 1 - t;
32695
32695
  s = Ct(Le.minDamping, Le.maxDamping, s), e = Ct(Le.minDuration, Le.maxDuration, /* @__PURE__ */ nt(e)), s < 1 ? (i = (l) => {
32696
- const p = l * s, u = p * e, y = p - n, k = ZL(l, s), g = Math.exp(-u);
32697
- return Gb - y / k * g;
32696
+ const p = l * s, u = p * e, y = p - n, k = ZL(l, s), f = Math.exp(-u);
32697
+ return Gb - y / k * f;
32698
32698
  }, r = (l) => {
32699
- const u = l * s * e, y = u * n + n, k = Math.pow(s, 2) * Math.pow(l, 2) * e, g = Math.exp(-u), f = ZL(Math.pow(l, 2), s);
32700
- return (-i(l) + Gb > 0 ? -1 : 1) * ((y - k) * g) / f;
32699
+ const u = l * s * e, y = u * n + n, k = Math.pow(s, 2) * Math.pow(l, 2) * e, f = Math.exp(-u), g = ZL(Math.pow(l, 2), s);
32700
+ return (-i(l) + Gb > 0 ? -1 : 1) * ((y - k) * f) / g;
32701
32701
  }) : (i = (l) => {
32702
32702
  const p = Math.exp(-l * e), u = (l - n) * e + 1;
32703
32703
  return -Gb + p * u;
@@ -32773,22 +32773,22 @@ function kb(e = Le.visualDuration, t = Le.bounce) {
32773
32773
  const r = n.keyframes[0], s = n.keyframes[n.keyframes.length - 1], d = { done: !1, value: r }, { stiffness: h, damping: l, mass: p, duration: u, velocity: y, isResolvedFromDuration: k } = s0e({
32774
32774
  ...n,
32775
32775
  velocity: -/* @__PURE__ */ nt(n.velocity || 0)
32776
- }), g = y || 0, f = l / (2 * Math.sqrt(h * p)), M = s - r, _ = /* @__PURE__ */ nt(Math.sqrt(h / p)), v = Math.abs(M) < 5;
32776
+ }), f = y || 0, g = l / (2 * Math.sqrt(h * p)), M = s - r, _ = /* @__PURE__ */ nt(Math.sqrt(h / p)), v = Math.abs(M) < 5;
32777
32777
  o || (o = v ? Le.restSpeed.granular : Le.restSpeed.default), i || (i = v ? Le.restDelta.granular : Le.restDelta.default);
32778
32778
  let b;
32779
- if (f < 1) {
32780
- const N = ZL(_, f);
32779
+ if (g < 1) {
32780
+ const N = ZL(_, g);
32781
32781
  b = (L) => {
32782
- const x = Math.exp(-f * _ * L);
32783
- return s - x * ((g + f * _ * M) / N * Math.sin(N * L) + M * Math.cos(N * L));
32782
+ const x = Math.exp(-g * _ * L);
32783
+ return s - x * ((f + g * _ * M) / N * Math.sin(N * L) + M * Math.cos(N * L));
32784
32784
  };
32785
- } else if (f === 1)
32786
- b = (N) => s - Math.exp(-_ * N) * (M + (g + _ * M) * N);
32785
+ } else if (g === 1)
32786
+ b = (N) => s - Math.exp(-_ * N) * (M + (f + _ * M) * N);
32787
32787
  else {
32788
- const N = _ * Math.sqrt(f * f - 1);
32788
+ const N = _ * Math.sqrt(g * g - 1);
32789
32789
  b = (L) => {
32790
- const x = Math.exp(-f * _ * L), w = Math.min(N * L, 300);
32791
- return s - x * ((g + f * _ * M) * Math.sinh(w) + N * M * Math.cosh(w)) / N;
32790
+ const x = Math.exp(-g * _ * L), w = Math.min(N * L, 300);
32791
+ return s - x * ((f + g * _ * M) * Math.sinh(w) + N * M * Math.cosh(w)) / N;
32792
32792
  };
32793
32793
  }
32794
32794
  const C = {
@@ -32798,8 +32798,8 @@ function kb(e = Le.visualDuration, t = Le.bounce) {
32798
32798
  if (k)
32799
32799
  d.done = N >= u;
32800
32800
  else {
32801
- let x = N === 0 ? g : 0;
32802
- f < 1 && (x = N === 0 ? /* @__PURE__ */ dt(g) : pq(b, N, L));
32801
+ let x = N === 0 ? f : 0;
32802
+ g < 1 && (x = N === 0 ? /* @__PURE__ */ dt(f) : pq(b, N, L));
32803
32803
  const w = Math.abs(x) <= o, $ = Math.abs(s - L) <= i;
32804
32804
  d.done = w && $;
32805
32805
  }
@@ -32822,18 +32822,18 @@ function KL({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: o = 3
32822
32822
  const u = e[0], y = {
32823
32823
  done: !1,
32824
32824
  value: u
32825
- }, k = (w) => d !== void 0 && w < d || h !== void 0 && w > h, g = (w) => d === void 0 ? h : h === void 0 || Math.abs(d - w) < Math.abs(h - w) ? d : h;
32826
- let f = n * t;
32827
- const M = u + f, _ = s === void 0 ? M : s(M);
32828
- _ !== M && (f = _ - u);
32829
- const v = (w) => -f * Math.exp(-w / o), b = (w) => _ + v(w), C = (w) => {
32825
+ }, k = (w) => d !== void 0 && w < d || h !== void 0 && w > h, f = (w) => d === void 0 ? h : h === void 0 || Math.abs(d - w) < Math.abs(h - w) ? d : h;
32826
+ let g = n * t;
32827
+ const M = u + g, _ = s === void 0 ? M : s(M);
32828
+ _ !== M && (g = _ - u);
32829
+ const v = (w) => -g * Math.exp(-w / o), b = (w) => _ + v(w), C = (w) => {
32830
32830
  const $ = v(w), I = b(w);
32831
32831
  y.done = Math.abs($) <= l, y.value = y.done ? _ : I;
32832
32832
  };
32833
32833
  let N, L;
32834
32834
  const x = (w) => {
32835
32835
  k(y.value) && (N = w, L = kb({
32836
- keyframes: [y.value, g(y.value)],
32836
+ keyframes: [y.value, f(y.value)],
32837
32837
  velocity: pq(b, w, y.value),
32838
32838
  // TODO: This should be passing * 1000
32839
32839
  damping: i,
@@ -32987,7 +32987,7 @@ class HC extends PC {
32987
32987
  const { generator: o, totalDuration: i, mixKeyframes: r, mirroredGenerator: s, resolvedDuration: d, calculatedDuration: h } = this;
32988
32988
  if (this.startTime === null)
32989
32989
  return o.next(0);
32990
- const { delay: l = 0, keyframes: p, repeat: u, repeatType: y, repeatDelay: k, type: g, onUpdate: f, finalKeyframe: M } = this.options;
32990
+ const { delay: l = 0, keyframes: p, repeat: u, repeatType: y, repeatDelay: k, type: f, onUpdate: g, finalKeyframe: M } = this.options;
32991
32991
  this.speed > 0 ? this.startTime = Math.min(this.startTime, t) : this.speed < 0 && (this.startTime = Math.min(t - i / this.speed, this.startTime)), n ? this.currentTime = t : this.updateTime(t);
32992
32992
  const _ = this.currentTime - l * (this.playbackSpeed >= 0 ? 1 : -1), v = this.playbackSpeed >= 0 ? _ < 0 : _ > i;
32993
32993
  this.currentTime = Math.max(_, 0), this.state === "finished" && this.holdTime === null && (this.currentTime = i);
@@ -33002,7 +33002,7 @@ class HC extends PC {
33002
33002
  let { done: L } = N;
33003
33003
  !v && h !== null && (L = this.playbackSpeed >= 0 ? this.currentTime >= i : this.currentTime <= 0);
33004
33004
  const x = this.holdTime === null && (this.state === "finished" || this.state === "running" && L);
33005
- return x && g !== KL && (N.value = VC(p, this.options, M, this.speed)), f && f(N.value), x && this.finish(), N;
33005
+ return x && f !== KL && (N.value = VC(p, this.options, M, this.speed)), g && g(N.value), x && this.finish(), N;
33006
33006
  }
33007
33007
  /**
33008
33008
  * Allows the returned animation to be awaited or promise-chained. Currently
@@ -33148,7 +33148,7 @@ const mi = [
33148
33148
  "skew",
33149
33149
  "skewX",
33150
33150
  "skewY"
33151
- ], fi = new Set(mi), LN = (e) => e === ki || e === X, x0e = /* @__PURE__ */ new Set(["x", "y", "z"]), b0e = mi.filter((e) => !x0e.has(e));
33151
+ ], fi = new Set(mi), LN = (e) => e === ki || e === Y, x0e = /* @__PURE__ */ new Set(["x", "y", "z"]), b0e = mi.filter((e) => !x0e.has(e));
33152
33152
  function w0e(e) {
33153
33153
  const t = [];
33154
33154
  return b0e.forEach((n) => {
@@ -33482,7 +33482,7 @@ class O0e extends PC {
33482
33482
  element: p,
33483
33483
  ...u
33484
33484
  }, k = p?.KeyframeResolver || TC;
33485
- this.keyframeResolver = new k(d, (g, f, M) => this.onKeyframesResolved(g, f, y, !M), h, l, p), this.keyframeResolver?.scheduleResolve();
33485
+ this.keyframeResolver = new k(d, (f, g, M) => this.onKeyframesResolved(f, g, y, !M), h, l, p), this.keyframeResolver?.scheduleResolve();
33486
33486
  }
33487
33487
  onKeyframesResolved(t, n, o, i) {
33488
33488
  this.keyframeResolver = void 0;
@@ -33587,7 +33587,7 @@ const xq = /* @__PURE__ */ new Set([
33587
33587
  ]), G0e = {
33588
33588
  test: (e) => e === "auto",
33589
33589
  parse: (e) => e
33590
- }, bq = (e) => (t) => t.test(e), wq = [ki, X, Mt, Vt, j2e, T2e, G0e], SN = (e) => wq.find(bq(e));
33590
+ }, bq = (e) => (t) => t.test(e), wq = [ki, Y, Mt, Vt, j2e, T2e, G0e], SN = (e) => wq.find(bq(e));
33591
33591
  function Z0e(e) {
33592
33592
  return typeof e == "number" ? e === 0 : e !== null ? e === "none" || e === "0" || E$(e) : !0;
33593
33593
  }
@@ -33624,55 +33624,55 @@ const Y0e = /\b([a-z-]*)\(.*?\)/gu, oC = {
33624
33624
  skew: Vt,
33625
33625
  skewX: Vt,
33626
33626
  skewY: Vt,
33627
- distance: X,
33628
- translateX: X,
33629
- translateY: X,
33630
- translateZ: X,
33631
- x: X,
33632
- y: X,
33633
- z: X,
33634
- perspective: X,
33635
- transformPerspective: X,
33627
+ distance: Y,
33628
+ translateX: Y,
33629
+ translateY: Y,
33630
+ translateZ: Y,
33631
+ x: Y,
33632
+ y: Y,
33633
+ z: Y,
33634
+ perspective: Y,
33635
+ transformPerspective: Y,
33636
33636
  opacity: Ki,
33637
33637
  originX: fN,
33638
33638
  originY: fN,
33639
- originZ: X
33639
+ originZ: Y
33640
33640
  }, DC = {
33641
33641
  // Border props
33642
- borderWidth: X,
33643
- borderTopWidth: X,
33644
- borderRightWidth: X,
33645
- borderBottomWidth: X,
33646
- borderLeftWidth: X,
33647
- borderRadius: X,
33648
- radius: X,
33649
- borderTopLeftRadius: X,
33650
- borderTopRightRadius: X,
33651
- borderBottomRightRadius: X,
33652
- borderBottomLeftRadius: X,
33642
+ borderWidth: Y,
33643
+ borderTopWidth: Y,
33644
+ borderRightWidth: Y,
33645
+ borderBottomWidth: Y,
33646
+ borderLeftWidth: Y,
33647
+ borderRadius: Y,
33648
+ radius: Y,
33649
+ borderTopLeftRadius: Y,
33650
+ borderTopRightRadius: Y,
33651
+ borderBottomRightRadius: Y,
33652
+ borderBottomLeftRadius: Y,
33653
33653
  // Positioning props
33654
- width: X,
33655
- maxWidth: X,
33656
- height: X,
33657
- maxHeight: X,
33658
- top: X,
33659
- right: X,
33660
- bottom: X,
33661
- left: X,
33654
+ width: Y,
33655
+ maxWidth: Y,
33656
+ height: Y,
33657
+ maxHeight: Y,
33658
+ top: Y,
33659
+ right: Y,
33660
+ bottom: Y,
33661
+ left: Y,
33662
33662
  // Spacing props
33663
- padding: X,
33664
- paddingTop: X,
33665
- paddingRight: X,
33666
- paddingBottom: X,
33667
- paddingLeft: X,
33668
- margin: X,
33669
- marginTop: X,
33670
- marginRight: X,
33671
- marginBottom: X,
33672
- marginLeft: X,
33663
+ padding: Y,
33664
+ paddingTop: Y,
33665
+ paddingRight: Y,
33666
+ paddingBottom: Y,
33667
+ paddingLeft: Y,
33668
+ margin: Y,
33669
+ marginTop: Y,
33670
+ marginRight: Y,
33671
+ marginBottom: Y,
33672
+ marginLeft: Y,
33673
33673
  // Misc
33674
- backgroundPositionX: X,
33675
- backgroundPositionY: X,
33674
+ backgroundPositionX: Y,
33675
+ backgroundPositionY: Y,
33676
33676
  ...J0e,
33677
33677
  zIndex: $N,
33678
33678
  // SVG
@@ -34067,8 +34067,8 @@ function hde(e, t, n = {}) {
34067
34067
  if (!VN(d))
34068
34068
  return;
34069
34069
  lb.add(h);
34070
- const l = t(h, d), p = (k, g) => {
34071
- window.removeEventListener("pointerup", u), window.removeEventListener("pointercancel", y), lb.has(h) && lb.delete(h), VN(k) && typeof l == "function" && l(k, { success: g });
34070
+ const l = t(h, d), p = (k, f) => {
34071
+ window.removeEventListener("pointerup", u), window.removeEventListener("pointercancel", y), lb.has(h) && lb.delete(h), VN(k) && typeof l == "function" && l(k, { success: f });
34072
34072
  }, u = (k) => {
34073
34073
  p(k, h === window || h === document || n.useGlobalTarget || qq(h, k.target));
34074
34074
  }, y = (k) => {
@@ -34149,21 +34149,21 @@ function vde({ children: e, isPresent: t, anchorX: n, root: o }) {
34149
34149
  const { width: l, height: p, top: u, left: y, right: k } = s.current;
34150
34150
  if (t || !r.current || !l || !p)
34151
34151
  return;
34152
- const g = n === "left" ? `left: ${y}` : `right: ${k}`;
34152
+ const f = n === "left" ? `left: ${y}` : `right: ${k}`;
34153
34153
  r.current.dataset.motionPopId = i;
34154
- const f = document.createElement("style");
34155
- d && (f.nonce = d);
34154
+ const g = document.createElement("style");
34155
+ d && (g.nonce = d);
34156
34156
  const M = o ?? document.head;
34157
- return M.appendChild(f), f.sheet && f.sheet.insertRule(`
34157
+ return M.appendChild(g), g.sheet && g.sheet.insertRule(`
34158
34158
  [data-motion-pop-id="${i}"] {
34159
34159
  position: absolute !important;
34160
34160
  width: ${l}px !important;
34161
34161
  height: ${p}px !important;
34162
- ${g}px !important;
34162
+ ${f}px !important;
34163
34163
  top: ${u}px !important;
34164
34164
  }
34165
34165
  `), () => {
34166
- M.contains(f) && M.removeChild(f);
34166
+ M.contains(g) && M.removeChild(g);
34167
34167
  };
34168
34168
  }, [t]), c(gde, { isPresent: t, childRef: r, sizeRef: s, children: te.cloneElement(e, { ref: h }) });
34169
34169
  }
@@ -34176,15 +34176,15 @@ const Mde = ({ children: e, initial: t, isPresent: n, onExitComplete: o, custom:
34176
34176
  custom: i,
34177
34177
  onExitComplete: (k) => {
34178
34178
  l.set(k, !0);
34179
- for (const g of l.values())
34180
- if (!g)
34179
+ for (const f of l.values())
34180
+ if (!f)
34181
34181
  return;
34182
34182
  o && o();
34183
34183
  },
34184
34184
  register: (k) => (l.set(k, !1), () => l.delete(k))
34185
34185
  }), [n, l, o]);
34186
34186
  return r && u && (y = { ...y }), Me(() => {
34187
- l.forEach((k, g) => l.set(g, !1));
34187
+ l.forEach((k, f) => l.set(f, !1));
34188
34188
  }, [n]), te.useEffect(() => {
34189
34189
  !n && !l.size && o && o();
34190
34190
  }, [n]), s === "popLayout" && (e = c(vde, { isPresent: n, anchorX: d, root: h, children: e })), c(Mb.Provider, { value: y, children: e });
@@ -34212,12 +34212,12 @@ function HN(e) {
34212
34212
  }), t;
34213
34213
  }
34214
34214
  const xde = ({ children: e, custom: t, initial: n = !0, onExitComplete: o, presenceAffectsLayout: i = !0, mode: r = "sync", propagate: s = !1, anchorX: d = "left", root: h }) => {
34215
- const [l, p] = zq(s), u = Me(() => HN(e), [e]), y = s && !l ? [] : u.map(lc), k = E(!0), g = E(u), f = Rt(() => /* @__PURE__ */ new Map()), [M, _] = V(u), [v, b] = V(u);
34215
+ const [l, p] = zq(s), u = Me(() => HN(e), [e]), y = s && !l ? [] : u.map(lc), k = E(!0), f = E(u), g = Rt(() => /* @__PURE__ */ new Map()), [M, _] = V(u), [v, b] = V(u);
34216
34216
  MC(() => {
34217
- k.current = !1, g.current = u;
34217
+ k.current = !1, f.current = u;
34218
34218
  for (let L = 0; L < v.length; L++) {
34219
34219
  const x = lc(v[L]);
34220
- y.includes(x) ? f.delete(x) : f.get(x) !== !0 && f.set(x, !1);
34220
+ y.includes(x) ? g.delete(x) : g.get(x) !== !0 && g.set(x, !1);
34221
34221
  }
34222
34222
  }, [v, y.length, y.join("-")]);
34223
34223
  const C = [];
@@ -34233,14 +34233,14 @@ const xde = ({ children: e, custom: t, initial: n = !0, onExitComplete: o, prese
34233
34233
  const { forceRender: N } = xe(gC);
34234
34234
  return c(Fe, { children: v.map((L) => {
34235
34235
  const x = lc(L), w = s && !l ? !1 : u === v || y.includes(x), $ = () => {
34236
- if (f.has(x))
34237
- f.set(x, !0);
34236
+ if (g.has(x))
34237
+ g.set(x, !0);
34238
34238
  else
34239
34239
  return;
34240
34240
  let I = !0;
34241
- f.forEach((S) => {
34241
+ g.forEach((S) => {
34242
34242
  S || (I = !1);
34243
- }), I && (N?.(), b(g.current), s && p?.(), o && o());
34243
+ }), I && (N?.(), b(f.current), s && p?.(), o && o());
34244
34244
  };
34245
34245
  return c(Mde, { isPresent: w, initial: !k.current || n ? void 0 : !1, custom: t, presenceAffectsLayout: i, mode: r, root: h, onExitComplete: w ? void 0 : $, anchorX: d, children: L }, x);
34246
34246
  }) });
@@ -34452,8 +34452,8 @@ const Hde = {
34452
34452
  function jde(e, t, n = 1, o = 0, i = !0) {
34453
34453
  e.pathLength = 1;
34454
34454
  const r = i ? Hde : Tde;
34455
- e[r.offset] = X.transform(-o);
34456
- const s = X.transform(t), d = X.transform(n);
34455
+ e[r.offset] = Y.transform(-o);
34456
+ const s = Y.transform(t), d = Y.transform(n);
34457
34457
  e[r.array] = `${s} ${d}`;
34458
34458
  }
34459
34459
  function Dq(e, {
@@ -34585,9 +34585,9 @@ function Ode(e, t, n, o) {
34585
34585
  if (u && typeof u != "boolean" && !bb(u)) {
34586
34586
  const y = Array.isArray(u) ? u : [u];
34587
34587
  for (let k = 0; k < y.length; k++) {
34588
- const g = GC(e, y[k]);
34589
- if (g) {
34590
- const { transitionEnd: f, transition: M, ..._ } = g;
34588
+ const f = GC(e, y[k]);
34589
+ if (f) {
34590
+ const { transitionEnd: g, transition: M, ..._ } = f;
34591
34591
  for (const v in _) {
34592
34592
  let b = _[v];
34593
34593
  if (Array.isArray(b)) {
@@ -34596,8 +34596,8 @@ function Ode(e, t, n, o) {
34596
34596
  }
34597
34597
  b !== null && (i[v] = b);
34598
34598
  }
34599
- for (const v in f)
34600
- i[v] = f[v];
34599
+ for (const v in g)
34600
+ i[v] = g[v];
34601
34601
  }
34602
34602
  }
34603
34603
  }
@@ -34662,13 +34662,13 @@ function Kde(e, t, n, o, i) {
34662
34662
  A$(() => {
34663
34663
  p && y.current && p.update(n, d);
34664
34664
  });
34665
- const k = n[Eq], g = E(!!k && !window.MotionHandoffIsComplete?.(k) && window.MotionHasOptimisedAnimation?.(k));
34665
+ const k = n[Eq], f = E(!!k && !window.MotionHandoffIsComplete?.(k) && window.MotionHasOptimisedAnimation?.(k));
34666
34666
  return MC(() => {
34667
- p && (y.current = !0, window.MotionIsMounted = !0, p.updateFeatures(), p.scheduleRenderMicrotask(), g.current && p.animationState && p.animationState.animateChanges());
34667
+ p && (y.current = !0, window.MotionIsMounted = !0, p.updateFeatures(), p.scheduleRenderMicrotask(), f.current && p.animationState && p.animationState.animateChanges());
34668
34668
  }), O(() => {
34669
- p && (!g.current && p.animationState && p.animationState.animateChanges(), g.current && (queueMicrotask(() => {
34669
+ p && (!f.current && p.animationState && p.animationState.animateChanges(), f.current && (queueMicrotask(() => {
34670
34670
  window.MotionHandoffMarkAsComplete?.(k);
34671
- }), g.current = !1), p.enteringChildren = void 0);
34671
+ }), f.current = !1), p.enteringChildren = void 0);
34672
34672
  }), p;
34673
34673
  }
34674
34674
  function Xde(e, t, n, o) {
@@ -34708,8 +34708,8 @@ function Kb(e, { forwardMotionProps: t = !1 } = {}, n, o) {
34708
34708
  }, { isStatic: u } = p, y = Ide(d), k = i(d, u);
34709
34709
  if (!u && vC) {
34710
34710
  Jde(p, n);
34711
- const g = Qde(p);
34712
- l = g.MeasureLayout, y.visualElement = Kde(e, k, p, o, g.ProjectionNode);
34711
+ const f = Qde(p);
34712
+ l = f.MeasureLayout, y.visualElement = Kde(e, k, p, o, f.ProjectionNode);
34713
34713
  }
34714
34714
  return m(xb.Provider, { value: y, children: [l && y.visualElement ? c(l, { visualElement: y.visualElement, ...p }) : null, Fde(e, d, Gde(k, y.visualElement, h), k, u, t)] });
34715
34715
  }
@@ -35309,18 +35309,18 @@ function aA(e, t, { delay: n = 0, transitionOverride: o, type: i } = {}) {
35309
35309
  const k = {
35310
35310
  delay: n,
35311
35311
  ...jC(r || {}, p)
35312
- }, g = u.get();
35313
- if (g !== void 0 && !u.isAnimating && !Array.isArray(y) && y === g && !k.velocity)
35312
+ }, f = u.get();
35313
+ if (f !== void 0 && !u.isAnimating && !Array.isArray(y) && y === f && !k.velocity)
35314
35314
  continue;
35315
- let f = !1;
35315
+ let g = !1;
35316
35316
  if (window.MotionHandoffAnimation) {
35317
35317
  const _ = tA(e);
35318
35318
  if (_) {
35319
35319
  const v = window.MotionHandoffAnimation(_, p, ve);
35320
- v !== null && (k.startTime = v, f = !0);
35320
+ v !== null && (k.startTime = v, g = !0);
35321
35321
  }
35322
35322
  }
35323
- dC(e, p), u.start(XC(p, u, y, e.shouldReduceMotion && xq.has(p) ? { type: !1 } : k, e, f));
35323
+ dC(e, p), u.start(XC(p, u, y, e.shouldReduceMotion && xq.has(p) ? { type: !1 } : k, e, g));
35324
35324
  const M = u.animation;
35325
35325
  M && h.push(M);
35326
35326
  }
@@ -35408,8 +35408,8 @@ function zle(e) {
35408
35408
  const i = (h) => (l, p) => {
35409
35409
  const u = hi(e, p, h === "exit" ? e.presenceContext?.custom : void 0);
35410
35410
  if (u) {
35411
- const { transition: y, transitionEnd: k, ...g } = u;
35412
- l = { ...l, ...g, ...k };
35411
+ const { transition: y, transitionEnd: k, ...f } = u;
35412
+ l = { ...l, ...f, ...k };
35413
35413
  }
35414
35414
  return l;
35415
35415
  };
@@ -35418,10 +35418,10 @@ function zle(e) {
35418
35418
  }
35419
35419
  function s(h) {
35420
35420
  const { props: l } = e, p = iA(e.parent) || {}, u = [], y = /* @__PURE__ */ new Set();
35421
- let k = {}, g = 1 / 0;
35421
+ let k = {}, f = 1 / 0;
35422
35422
  for (let M = 0; M < qle; M++) {
35423
35423
  const _ = $le[M], v = n[_], b = l[_] !== void 0 ? l[_] : p[_], C = Yi(b), N = _ === h ? v.isActive : null;
35424
- N === !1 && (g = M);
35424
+ N === !1 && (f = M);
35425
35425
  let L = b === p[_] && b !== l[_] && C;
35426
35426
  if (L && o && e.manuallyAnimateOnMount && (L = !1), v.protectedKeys = { ...k }, // If it isn't active and hasn't *just* been set as inactive
35427
35427
  !v.isActive && N === null || // If we didn't and don't have any defined prop for this animation type
@@ -35431,7 +35431,7 @@ function zle(e) {
35431
35431
  const x = Vle(v.prevProp, b);
35432
35432
  let w = x || // If we're making this variant active, we want to always make it active
35433
35433
  _ === h && v.isActive && !L && C || // If we removed a higher-priority variant (i is in reverse order)
35434
- M > g && C, $ = !1;
35434
+ M > f && C, $ = !1;
35435
35435
  const I = Array.isArray(b) ? b : [b];
35436
35436
  let S = I.reduce(i(_), {});
35437
35437
  N === !1 && (S = {});
@@ -35478,8 +35478,8 @@ function zle(e) {
35478
35478
  b && (b.liveStyle = !0), M[_] = v ?? null;
35479
35479
  }), u.push({ animation: M });
35480
35480
  }
35481
- let f = !!u.length;
35482
- return o && (l.initial === !1 || l.initial === l.animate) && !e.manuallyAnimateOnMount && (f = !1), o = !1, f ? t(u) : Promise.resolve();
35481
+ let g = !!u.length;
35482
+ return o && (l.initial === !1 || l.initial === l.animate) && !e.manuallyAnimateOnMount && (g = !1), o = !1, g ? t(u) : Promise.resolve();
35483
35483
  }
35484
35484
  function d(h, l) {
35485
35485
  if (n[h].isActive === l)
@@ -35640,22 +35640,22 @@ class dA {
35640
35640
  if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.handlers = {}, this.contextWindow = window, this.updatePoint = () => {
35641
35641
  if (!(this.lastMoveEvent && this.lastMoveEventInfo))
35642
35642
  return;
35643
- const y = Jb(this.lastMoveEventInfo, this.history), k = this.startEvent !== null, g = Wle(y.offset, { x: 0, y: 0 }) >= this.distanceThreshold;
35644
- if (!k && !g)
35643
+ const y = Jb(this.lastMoveEventInfo, this.history), k = this.startEvent !== null, f = Wle(y.offset, { x: 0, y: 0 }) >= this.distanceThreshold;
35644
+ if (!k && !f)
35645
35645
  return;
35646
- const { point: f } = y, { timestamp: M } = He;
35647
- this.history.push({ ...f, timestamp: M });
35646
+ const { point: g } = y, { timestamp: M } = He;
35647
+ this.history.push({ ...g, timestamp: M });
35648
35648
  const { onStart: _, onMove: v } = this.handlers;
35649
35649
  k || (_ && _(this.lastMoveEvent, y), this.startEvent = this.lastMoveEvent), v && v(this.lastMoveEvent, y);
35650
35650
  }, this.handlePointerMove = (y, k) => {
35651
35651
  this.lastMoveEvent = y, this.lastMoveEventInfo = Yb(k, this.transformPagePoint), ve.update(this.updatePoint, !0);
35652
35652
  }, this.handlePointerUp = (y, k) => {
35653
35653
  this.end();
35654
- const { onEnd: g, onSessionEnd: f, resumeAnimation: M } = this.handlers;
35654
+ const { onEnd: f, onSessionEnd: g, resumeAnimation: M } = this.handlers;
35655
35655
  if (this.dragSnapToOrigin && M && M(), !(this.lastMoveEvent && this.lastMoveEventInfo))
35656
35656
  return;
35657
35657
  const _ = Jb(y.type === "pointercancel" ? this.lastMoveEventInfo : Yb(k, this.transformPagePoint), this.history);
35658
- this.startEvent && g && g(y, _), f && f(y, _);
35658
+ this.startEvent && f && f(y, _), g && g(y, _);
35659
35659
  }, !FC(t))
35660
35660
  return;
35661
35661
  this.dragSnapToOrigin = r, this.handlers = n, this.transformPagePoint = o, this.distanceThreshold = s, this.contextWindow = i || window;
@@ -35772,8 +35772,8 @@ class ahe {
35772
35772
  const { dragSnapToOrigin: y } = this.getProps();
35773
35773
  y ? this.pauseAnimation() : this.stopAnimation(), n && this.snapToCursor(oc(u).point);
35774
35774
  }, s = (u, y) => {
35775
- const { drag: k, dragPropagation: g, onDragStart: f } = this.getProps();
35776
- if (k && !g && (this.openDragLock && this.openDragLock(), this.openDragLock = cde(k), !this.openDragLock))
35775
+ const { drag: k, dragPropagation: f, onDragStart: g } = this.getProps();
35776
+ if (k && !f && (this.openDragLock && this.openDragLock(), this.openDragLock = cde(k), !this.openDragLock))
35777
35777
  return;
35778
35778
  this.latestPointerEvent = u, this.latestPanInfo = y, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), at((_) => {
35779
35779
  let v = this.getAxisMotionValue(_).get() || 0;
@@ -35785,17 +35785,17 @@ class ahe {
35785
35785
  }
35786
35786
  }
35787
35787
  this.originPoint[_] = v;
35788
- }), f && ve.postRender(() => f(u, y)), dC(this.visualElement, "transform");
35788
+ }), g && ve.postRender(() => g(u, y)), dC(this.visualElement, "transform");
35789
35789
  const { animationState: M } = this.visualElement;
35790
35790
  M && M.setActive("whileDrag", !0);
35791
35791
  }, d = (u, y) => {
35792
35792
  this.latestPointerEvent = u, this.latestPanInfo = y;
35793
- const { dragPropagation: k, dragDirectionLock: g, onDirectionLock: f, onDrag: M } = this.getProps();
35793
+ const { dragPropagation: k, dragDirectionLock: f, onDirectionLock: g, onDrag: M } = this.getProps();
35794
35794
  if (!k && !this.openDragLock)
35795
35795
  return;
35796
35796
  const { offset: _ } = y;
35797
- if (g && this.currentDirection === null) {
35798
- this.currentDirection = nhe(_), this.currentDirection !== null && f && f(this.currentDirection);
35797
+ if (f && this.currentDirection === null) {
35798
+ this.currentDirection = nhe(_), this.currentDirection !== null && g && g(this.currentDirection);
35799
35799
  return;
35800
35800
  }
35801
35801
  this.updateAxis("x", y.point, _), this.updateAxis("y", y.point, _), this.visualElement.render(), M && M(u, y);
@@ -35874,7 +35874,7 @@ class ahe {
35874
35874
  return;
35875
35875
  let u = h && h[p] || {};
35876
35876
  s && (u = { min: 0, max: 0 });
35877
- const y = i ? 200 : 1e6, k = i ? 40 : 1e7, g = {
35877
+ const y = i ? 200 : 1e6, k = i ? 40 : 1e7, f = {
35878
35878
  type: "inertia",
35879
35879
  velocity: o ? t[p] : 0,
35880
35880
  bounceStiffness: y,
@@ -35885,7 +35885,7 @@ class ahe {
35885
35885
  ...r,
35886
35886
  ...u
35887
35887
  };
35888
- return this.startAxisValueAnimation(p, g);
35888
+ return this.startAxisValueAnimation(p, f);
35889
35889
  });
35890
35890
  return Promise.all(l).then(d);
35891
35891
  }
@@ -36060,7 +36060,7 @@ const _i = {
36060
36060
  if (!t.target)
36061
36061
  return e;
36062
36062
  if (typeof e == "string")
36063
- if (X.test(e))
36063
+ if (Y.test(e))
36064
36064
  e = parseFloat(e);
36065
36065
  else
36066
36066
  return e;
@@ -36165,7 +36165,7 @@ function phe(e, t) {
36165
36165
  };
36166
36166
  return ve.setup(o, !0), () => It(o);
36167
36167
  }
36168
- const pA = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], uhe = pA.length, cI = (e) => typeof e == "string" ? parseFloat(e) : e, rI = (e) => typeof e == "number" || X.test(e);
36168
+ const pA = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], uhe = pA.length, cI = (e) => typeof e == "string" ? parseFloat(e) : e, rI = (e) => typeof e == "number" || Y.test(e);
36169
36169
  function yhe(e, t, n, o, i, r) {
36170
36170
  i ? (e.opacity = be(0, n.opacity ?? 1, khe(o)), e.opacityExit = be(t.opacity ?? 1, 0, mhe(o))) : r && (e.opacity = be(t.opacity ?? 1, n.opacity ?? 1, o));
36171
36171
  for (let s = 0; s < uhe; s++) {
@@ -36291,8 +36291,8 @@ function xhe(e, t, n) {
36291
36291
  let o = "";
36292
36292
  const i = e.x.translate / t.x, r = e.y.translate / t.y, s = n?.z || 0;
36293
36293
  if ((i || r || s) && (o = `translate3d(${i}px, ${r}px, ${s}px) `), (t.x !== 1 || t.y !== 1) && (o += `scale(${1 / t.x}, ${1 / t.y}) `), n) {
36294
- const { transformPerspective: l, rotate: p, rotateX: u, rotateY: y, skewX: k, skewY: g } = n;
36295
- l && (o = `perspective(${l}px) ${o}`), p && (o += `rotate(${p}deg) `), u && (o += `rotateX(${u}deg) `), y && (o += `rotateY(${y}deg) `), k && (o += `skewX(${k}deg) `), g && (o += `skewY(${g}deg) `);
36294
+ const { transformPerspective: l, rotate: p, rotateX: u, rotateY: y, skewX: k, skewY: f } = n;
36295
+ l && (o = `perspective(${l}px) ${o}`), p && (o += `rotate(${p}deg) `), u && (o += `rotateX(${u}deg) `), y && (o += `rotateY(${y}deg) `), k && (o += `skewX(${k}deg) `), f && (o += `skewY(${f}deg) `);
36296
36296
  }
36297
36297
  const d = e.x.scale * t.x, h = e.y.scale * t.y;
36298
36298
  return (d !== 1 || h !== 1) && (o += `scale(${d}, ${h})`), o || "none";
@@ -36362,12 +36362,12 @@ function fA({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
36362
36362
  this.target = void 0, this.relativeTarget = void 0;
36363
36363
  return;
36364
36364
  }
36365
- const g = this.options.transition || l.getDefaultTransition() || The, { onLayoutAnimationStart: f, onLayoutAnimationComplete: M } = l.getProps(), _ = !this.targetLayout || !kA(this.targetLayout, k), v = !u && y;
36365
+ const f = this.options.transition || l.getDefaultTransition() || The, { onLayoutAnimationStart: g, onLayoutAnimationComplete: M } = l.getProps(), _ = !this.targetLayout || !kA(this.targetLayout, k), v = !u && y;
36366
36366
  if (this.options.layoutRoot || this.resumeFrom || v || u && (_ || !this.currentAnimation)) {
36367
36367
  this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);
36368
36368
  const b = {
36369
- ...jC(g, "layout"),
36370
- onPlay: f,
36369
+ ...jC(f, "layout"),
36370
+ onPlay: g,
36371
36371
  onComplete: M
36372
36372
  };
36373
36373
  (l.shouldReduceMotion || this.options.layoutRoot) && (b.delay = 0, b.type = !1), this.startAnimation(b), this.setAnimationOrigin(p, v);
@@ -36619,12 +36619,12 @@ function fA({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
36619
36619
  setAnimationOrigin(s, d = !1) {
36620
36620
  const h = this.snapshot, l = h ? h.latestValues : {}, p = { ...this.latestValues }, u = oi();
36621
36621
  (!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !d;
36622
- const y = Ie(), k = h ? h.source : void 0, g = this.layout ? this.layout.source : void 0, f = k !== g, M = this.getStack(), _ = !M || M.members.length <= 1, v = !!(f && !_ && this.options.crossfade === !0 && !this.path.some(Hhe));
36622
+ const y = Ie(), k = h ? h.source : void 0, f = this.layout ? this.layout.source : void 0, g = k !== f, M = this.getStack(), _ = !M || M.members.length <= 1, v = !!(g && !_ && this.options.crossfade === !0 && !this.path.some(Hhe));
36623
36623
  this.animationProgress = 0;
36624
36624
  let b;
36625
36625
  this.mixTargetDelta = (C) => {
36626
36626
  const N = C / 1e3;
36627
- xI(u.x, s.x, N), xI(u.y, s.y, N), this.setTargetDelta(u), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Wi(y, this.layout.layoutBox, this.relativeParent.layout.layoutBox), Phe(this.relativeTarget, this.relativeTargetOrigin, y, N), b && Mhe(this.relativeTarget, b) && (this.isProjectionDirty = !1), b || (b = Ie()), Qe(b, this.relativeTarget)), f && (this.animationValues = p, yhe(p, l, this.latestValues, N, v, _)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = N;
36627
+ xI(u.x, s.x, N), xI(u.y, s.y, N), this.setTargetDelta(u), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Wi(y, this.layout.layoutBox, this.relativeParent.layout.layoutBox), Phe(this.relativeTarget, this.relativeTargetOrigin, y, N), b && Mhe(this.relativeTarget, b) && (this.isProjectionDirty = !1), b || (b = Ie()), Qe(b, this.relativeTarget)), g && (this.animationValues = p, yhe(p, l, this.latestValues, N, v, _)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = N;
36628
36628
  }, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
36629
36629
  }
36630
36630
  startAnimation(s) {
@@ -36740,16 +36740,16 @@ function fA({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
36740
36740
  h && (u = h(p, u)), s.transform = u;
36741
36741
  const { x: y, y: k } = this.projectionDelta;
36742
36742
  s.transformOrigin = `${y.origin * 100}% ${k.origin * 100}% 0`, l.animationValues ? s.opacity = l === this ? p.opacity ?? this.latestValues.opacity ?? 1 : this.preserveOpacity ? this.latestValues.opacity : p.opacityExit : s.opacity = l === this ? p.opacity !== void 0 ? p.opacity : "" : p.opacityExit !== void 0 ? p.opacityExit : 0;
36743
- for (const g in Ji) {
36744
- if (p[g] === void 0)
36743
+ for (const f in Ji) {
36744
+ if (p[f] === void 0)
36745
36745
  continue;
36746
- const { correct: f, applyTo: M, isCSSVariable: _ } = Ji[g], v = u === "none" ? p[g] : f(p[g], l);
36746
+ const { correct: g, applyTo: M, isCSSVariable: _ } = Ji[f], v = u === "none" ? p[f] : g(p[f], l);
36747
36747
  if (M) {
36748
36748
  const b = M.length;
36749
36749
  for (let C = 0; C < b; C++)
36750
36750
  s[M[C]] = v;
36751
36751
  } else
36752
- _ ? this.options.visualElement.renderState.vars[g] = v : s[g] = v;
36752
+ _ ? this.options.visualElement.renderState.vars[f] = v : s[f] = v;
36753
36753
  }
36754
36754
  this.options.layoutId && (s.pointerEvents = l === this ? hb(d?.pointerEvents) || "" : "none");
36755
36755
  }
@@ -36789,8 +36789,8 @@ function Che(e) {
36789
36789
  if (u && y) {
36790
36790
  const k = Ie();
36791
36791
  Wi(k, t.layoutBox, u.layoutBox);
36792
- const g = Ie();
36793
- Wi(g, n, y.layoutBox), kA(k, g) || (l = !0), p.options.layoutRoot && (e.relativeTarget = g, e.relativeTargetOrigin = k, e.relativeParent = p);
36792
+ const f = Ie();
36793
+ Wi(f, n, y.layoutBox), kA(k, f) || (l = !0), p.options.layoutRoot && (e.relativeTarget = f, e.relativeTargetOrigin = k, e.relativeParent = p);
36794
36794
  }
36795
36795
  }
36796
36796
  }
@@ -37160,14 +37160,14 @@ function rpe({ children: e, as: t = "ul", axis: n = "y", onReorder: o, values: i
37160
37160
  const p = {
37161
37161
  axis: n,
37162
37162
  registerItem: (u, y) => {
37163
- const k = h.findIndex((g) => u === g.value);
37163
+ const k = h.findIndex((f) => u === f.value);
37164
37164
  k !== -1 ? h[k].layout = y[n] : h.push({ value: u, layout: y[n] }), h.sort(lpe);
37165
37165
  },
37166
37166
  updateOrder: (u, y, k) => {
37167
37167
  if (l.current)
37168
37168
  return;
37169
- const g = cpe(h, u, y, k);
37170
- h !== g && (l.current = !0, o(g.map(dpe).filter((f) => i.indexOf(f) !== -1)));
37169
+ const f = cpe(h, u, y, k);
37170
+ h !== f && (l.current = !0, o(f.map(dpe).filter((g) => i.indexOf(g) !== -1)));
37171
37171
  }
37172
37172
  };
37173
37173
  return O(() => {
@@ -37188,13 +37188,13 @@ function hpe({ children: e, style: t = {}, value: n, as: o = "li", onDrag: i, la
37188
37188
  const h = Rt(() => YC[o]), l = xe(xA), p = {
37189
37189
  x: $I(t.x),
37190
37190
  y: $I(t.y)
37191
- }, u = ape([p.x, p.y], ([f, M]) => f || M ? 1 : "unset");
37191
+ }, u = ape([p.x, p.y], ([g, M]) => g || M ? 1 : "unset");
37192
37192
  lt(!!l, "Reorder.Item must be a child of Reorder.Group", "reorder-item-child");
37193
- const { axis: y, registerItem: k, updateOrder: g } = l;
37194
- return c(h, { drag: y, ...s, dragSnapToOrigin: !0, style: { ...t, x: p.x, y: p.y, zIndex: u }, layout: r, onDrag: (f, M) => {
37193
+ const { axis: y, registerItem: k, updateOrder: f } = l;
37194
+ return c(h, { drag: y, ...s, dragSnapToOrigin: !0, style: { ...t, x: p.x, y: p.y, zIndex: u }, layout: r, onDrag: (g, M) => {
37195
37195
  const { velocity: _ } = M;
37196
- _[y] && g(n, p[y].get(), _[y]), i && i(f, M);
37197
- }, onLayoutMeasure: (f) => k(n, f), ref: d, ignoreStrict: !0, children: e });
37196
+ _[y] && f(n, p[y].get(), _[y]), i && i(g, M);
37197
+ }, onLayoutMeasure: (g) => k(n, g), ref: d, ignoreStrict: !0, children: e });
37198
37198
  }
37199
37199
  const ppe = /* @__PURE__ */ ec(hpe), gb = [
37200
37200
  /* @__PURE__ */ c(Fi, { size: 18 }),
@@ -37203,7 +37203,7 @@ const ppe = /* @__PURE__ */ ec(hpe), gb = [
37203
37203
  /* @__PURE__ */ c(jt, { size: 18 }),
37204
37204
  /* @__PURE__ */ c($i, { size: 18 }),
37205
37205
  /* @__PURE__ */ c(Si, { size: 18 })
37206
- ], _Me = ({
37206
+ ], bMe = ({
37207
37207
  items: e,
37208
37208
  onReorder: t,
37209
37209
  draggable: n = !1,
@@ -37216,9 +37216,9 @@ const ppe = /* @__PURE__ */ ec(hpe), gb = [
37216
37216
  return O(() => {
37217
37217
  e && Array.isArray(e) ? (e.forEach((l, p) => {
37218
37218
  if (l.icon == null && (l.icon = gb[p % gb.length]), typeof l.text == "string" && l.text.includes("/")) {
37219
- const u = String(l.text).split("/"), y = u[0].trim(), g = u.slice(1).join("/").trim().match(/^(\d+)(.*)$/);
37220
- if (g) {
37221
- const f = g[1], M = g[2] ?? "", _ = f.padStart(3, "0");
37219
+ const u = String(l.text).split("/"), y = u[0].trim(), f = u.slice(1).join("/").trim().match(/^(\d+)(.*)$/);
37220
+ if (f) {
37221
+ const g = f[1], M = f[2] ?? "", _ = g.padStart(3, "0");
37222
37222
  l.text = `${y} / ${_}${M}`;
37223
37223
  }
37224
37224
  }
@@ -37453,8 +37453,8 @@ const bpe = "_formContainer_14ads_1", wpe = "_headerLine_14ads_17", Lpe = "_form
37453
37453
  touched: r
37454
37454
  }) => {
37455
37455
  const [s, d] = V(!1), h = e.type === "password", l = e.attributes?.showPasswordToggle ?? !0, p = h ? s ? "text" : "password" : e.type, u = e.attributes?.iconComponent ?? // eslint-disable-next-line @typescript-eslint/no-explicit-any
37456
- (e.attributes?.icon ? Lt[e.attributes.icon] : null), y = e.attributes?.iconPosition ?? "suffix", k = (g) => {
37457
- n(g.target.value);
37456
+ (e.attributes?.icon ? Lt[e.attributes.icon] : null), y = e.attributes?.iconPosition ?? "suffix", k = (f) => {
37457
+ n(f.target.value);
37458
37458
  };
37459
37459
  return /* @__PURE__ */ m("div", { className: ge.inputWrapper, children: [
37460
37460
  /* @__PURE__ */ c(
@@ -37493,7 +37493,7 @@ const bpe = "_formContainer_14ads_1", wpe = "_headerLine_14ads_17", Lpe = "_form
37493
37493
  type: "button",
37494
37494
  "aria-label": s ? "Masquer le mot de passe" : "Afficher le mot de passe",
37495
37495
  className: ge.passwordToggle,
37496
- onClick: () => d((g) => !g),
37496
+ onClick: () => d((f) => !f),
37497
37497
  children: s ? /* @__PURE__ */ c(Pi, { size: 16 }) : /* @__PURE__ */ c(Hi, { size: 16 })
37498
37498
  }
37499
37499
  ),
@@ -37678,13 +37678,13 @@ const bpe = "_formContainer_14ads_1", wpe = "_headerLine_14ads_17", Lpe = "_form
37678
37678
  h(!1);
37679
37679
  }, k = (M) => {
37680
37680
  M.preventDefault(), h(!1), M.dataTransfer.files && M.dataTransfer.files.length > 0 && n(M.dataTransfer.files);
37681
- }, g = (M) => {
37681
+ }, f = (M) => {
37682
37682
  if (!t) return;
37683
37683
  const _ = Array.from(t);
37684
37684
  _.splice(M, 1);
37685
37685
  const v = new DataTransfer();
37686
37686
  _.forEach((b) => v.items.add(b)), n(v.files);
37687
- }, f = (M) => {
37687
+ }, g = (M) => {
37688
37688
  if (M === 0) return "0 Bytes";
37689
37689
  const _ = 1024, v = ["Bytes", "KB", "MB", "GB"], b = Math.floor(Math.log(M) / Math.log(_));
37690
37690
  return parseFloat((M / Math.pow(_, b)).toFixed(2)) + " " + v[b];
@@ -37757,14 +37757,14 @@ const bpe = "_formContainer_14ads_1", wpe = "_headerLine_14ads_17", Lpe = "_form
37757
37757
  }
37758
37758
  ) }),
37759
37759
  /* @__PURE__ */ c("div", { className: De.fileName, children: M.name }),
37760
- /* @__PURE__ */ c("div", { className: De.fileSize, children: f(M.size) }),
37760
+ /* @__PURE__ */ c("div", { className: De.fileSize, children: g(M.size) }),
37761
37761
  /* @__PURE__ */ c(
37762
37762
  "button",
37763
37763
  {
37764
37764
  type: "button",
37765
37765
  className: De.removeButton,
37766
37766
  onClick: (v) => {
37767
- v.stopPropagation(), g(_);
37767
+ v.stopPropagation(), f(_);
37768
37768
  },
37769
37769
  "aria-label": `Supprimer ${M.name}`,
37770
37770
  children: /* @__PURE__ */ m(
@@ -38566,12 +38566,12 @@ function $A() {
38566
38566
  CS = 1;
38567
38567
  var e = Lye(), t = Cye(), n = Nye(), o = 1, i = 2;
38568
38568
  function r(s, d, h, l, p, u) {
38569
- var y = h & o, k = s.length, g = d.length;
38570
- if (k != g && !(y && g > k))
38569
+ var y = h & o, k = s.length, f = d.length;
38570
+ if (k != f && !(y && f > k))
38571
38571
  return !1;
38572
- var f = u.get(s), M = u.get(d);
38573
- if (f && M)
38574
- return f == d && M == s;
38572
+ var g = u.get(s), M = u.get(d);
38573
+ if (g && M)
38574
+ return g == d && M == s;
38575
38575
  var _ = -1, v = !0, b = h & i ? new e() : void 0;
38576
38576
  for (u.set(s, d), u.set(d, s); ++_ < k; ) {
38577
38577
  var C = s[_], N = d[_];
@@ -38635,7 +38635,7 @@ var oL, $S;
38635
38635
  function qye() {
38636
38636
  if ($S) return oL;
38637
38637
  $S = 1;
38638
- var e = QC(), t = Iye(), n = wA(), o = $A(), i = Sye(), r = $ye(), s = 1, d = 2, h = "[object Boolean]", l = "[object Date]", p = "[object Error]", u = "[object Map]", y = "[object Number]", k = "[object RegExp]", g = "[object Set]", f = "[object String]", M = "[object Symbol]", _ = "[object ArrayBuffer]", v = "[object DataView]", b = e ? e.prototype : void 0, C = b ? b.valueOf : void 0;
38638
+ var e = QC(), t = Iye(), n = wA(), o = $A(), i = Sye(), r = $ye(), s = 1, d = 2, h = "[object Boolean]", l = "[object Date]", p = "[object Error]", u = "[object Map]", y = "[object Number]", k = "[object RegExp]", f = "[object Set]", g = "[object String]", M = "[object Symbol]", _ = "[object ArrayBuffer]", v = "[object DataView]", b = e ? e.prototype : void 0, C = b ? b.valueOf : void 0;
38639
38639
  function N(L, x, w, $, I, S, z) {
38640
38640
  switch (w) {
38641
38641
  case v:
@@ -38651,11 +38651,11 @@ function qye() {
38651
38651
  case p:
38652
38652
  return L.name == x.name && L.message == x.message;
38653
38653
  case k:
38654
- case f:
38654
+ case g:
38655
38655
  return L == x + "";
38656
38656
  case u:
38657
38657
  var F = i;
38658
- case g:
38658
+ case f:
38659
38659
  var j = $ & s;
38660
38660
  if (F || (F = r), L.size != x.size && !j)
38661
38661
  return !1;
@@ -38818,8 +38818,8 @@ var gL, US;
38818
38818
  function Rye() {
38819
38819
  if (US) return gL;
38820
38820
  US = 1;
38821
- var e = Nb(), t = AA(), n = $b(), o = "[object Arguments]", i = "[object Array]", r = "[object Boolean]", s = "[object Date]", d = "[object Error]", h = "[object Function]", l = "[object Map]", p = "[object Number]", u = "[object Object]", y = "[object RegExp]", k = "[object Set]", g = "[object String]", f = "[object WeakMap]", M = "[object ArrayBuffer]", _ = "[object DataView]", v = "[object Float32Array]", b = "[object Float64Array]", C = "[object Int8Array]", N = "[object Int16Array]", L = "[object Int32Array]", x = "[object Uint8Array]", w = "[object Uint8ClampedArray]", $ = "[object Uint16Array]", I = "[object Uint32Array]", S = {};
38822
- S[v] = S[b] = S[C] = S[N] = S[L] = S[x] = S[w] = S[$] = S[I] = !0, S[o] = S[i] = S[M] = S[r] = S[_] = S[s] = S[d] = S[h] = S[l] = S[p] = S[u] = S[y] = S[k] = S[g] = S[f] = !1;
38821
+ var e = Nb(), t = AA(), n = $b(), o = "[object Arguments]", i = "[object Array]", r = "[object Boolean]", s = "[object Date]", d = "[object Error]", h = "[object Function]", l = "[object Map]", p = "[object Number]", u = "[object Object]", y = "[object RegExp]", k = "[object Set]", f = "[object String]", g = "[object WeakMap]", M = "[object ArrayBuffer]", _ = "[object DataView]", v = "[object Float32Array]", b = "[object Float64Array]", C = "[object Int8Array]", N = "[object Int16Array]", L = "[object Int32Array]", x = "[object Uint8Array]", w = "[object Uint8ClampedArray]", $ = "[object Uint16Array]", I = "[object Uint32Array]", S = {};
38822
+ S[v] = S[b] = S[C] = S[N] = S[L] = S[x] = S[w] = S[$] = S[I] = !0, S[o] = S[i] = S[M] = S[r] = S[_] = S[s] = S[d] = S[h] = S[l] = S[p] = S[u] = S[y] = S[k] = S[f] = S[g] = !1;
38823
38823
  function z(F) {
38824
38824
  return n(F) && t(F.length) && !!S[e(F)];
38825
38825
  }
@@ -38864,12 +38864,12 @@ function Uye() {
38864
38864
  KS = 1;
38865
38865
  var e = Tye(), t = Dye(), n = tN(), o = qA(), i = Fye(), r = zA(), s = Object.prototype, d = s.hasOwnProperty;
38866
38866
  function h(l, p) {
38867
- var u = n(l), y = !u && t(l), k = !u && !y && o(l), g = !u && !y && !k && r(l), f = u || y || k || g, M = f ? e(l.length, String) : [], _ = M.length;
38867
+ var u = n(l), y = !u && t(l), k = !u && !y && o(l), f = !u && !y && !k && r(l), g = u || y || k || f, M = g ? e(l.length, String) : [], _ = M.length;
38868
38868
  for (var v in l)
38869
- (p || d.call(l, v)) && !(f && // Safari 9 has enumerable `arguments.length` in strict mode.
38869
+ (p || d.call(l, v)) && !(g && // Safari 9 has enumerable `arguments.length` in strict mode.
38870
38870
  (v == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
38871
38871
  k && (v == "offset" || v == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
38872
- g && (v == "buffer" || v == "byteLength" || v == "byteOffset") || // Skip index properties.
38872
+ f && (v == "buffer" || v == "byteLength" || v == "byteOffset") || // Skip index properties.
38873
38873
  i(v, _))) && M.push(v);
38874
38874
  return M;
38875
38875
  }
@@ -38955,8 +38955,8 @@ function Qye() {
38955
38955
  n$ = 1;
38956
38956
  var e = Jye(), t = 1, n = Object.prototype, o = n.hasOwnProperty;
38957
38957
  function i(r, s, d, h, l, p) {
38958
- var u = d & t, y = e(r), k = y.length, g = e(s), f = g.length;
38959
- if (k != f && !u)
38958
+ var u = d & t, y = e(r), k = y.length, f = e(s), g = f.length;
38959
+ if (k != g && !u)
38960
38960
  return !1;
38961
38961
  for (var M = k; M--; ) {
38962
38962
  var _ = y[M];
@@ -39019,16 +39019,16 @@ var VL, s$;
39019
39019
  function o4e() {
39020
39020
  if (s$) return VL;
39021
39021
  s$ = 1;
39022
- var e = e4e(), t = eN(), n = t4e(), o = a4e(), i = n4e(), r = Nb(), s = IA(), d = "[object Map]", h = "[object Object]", l = "[object Promise]", p = "[object Set]", u = "[object WeakMap]", y = "[object DataView]", k = s(e), g = s(t), f = s(n), M = s(o), _ = s(i), v = r;
39022
+ var e = e4e(), t = eN(), n = t4e(), o = a4e(), i = n4e(), r = Nb(), s = IA(), d = "[object Map]", h = "[object Object]", l = "[object Promise]", p = "[object Set]", u = "[object WeakMap]", y = "[object DataView]", k = s(e), f = s(t), g = s(n), M = s(o), _ = s(i), v = r;
39023
39023
  return (e && v(new e(new ArrayBuffer(1))) != y || t && v(new t()) != d || n && v(n.resolve()) != l || o && v(new o()) != p || i && v(new i()) != u) && (v = function(b) {
39024
39024
  var C = r(b), N = C == h ? b.constructor : void 0, L = N ? s(N) : "";
39025
39025
  if (L)
39026
39026
  switch (L) {
39027
39027
  case k:
39028
39028
  return y;
39029
- case g:
39030
- return d;
39031
39029
  case f:
39030
+ return d;
39031
+ case g:
39032
39032
  return l;
39033
39033
  case M:
39034
39034
  return p;
@@ -39043,27 +39043,27 @@ function i4e() {
39043
39043
  if (d$) return PL;
39044
39044
  d$ = 1;
39045
39045
  var e = xye(), t = $A(), n = qye(), o = Qye(), i = o4e(), r = tN(), s = qA(), d = zA(), h = 1, l = "[object Arguments]", p = "[object Array]", u = "[object Object]", y = Object.prototype, k = y.hasOwnProperty;
39046
- function g(f, M, _, v, b, C) {
39047
- var N = r(f), L = r(M), x = N ? p : i(f), w = L ? p : i(M);
39046
+ function f(g, M, _, v, b, C) {
39047
+ var N = r(g), L = r(M), x = N ? p : i(g), w = L ? p : i(M);
39048
39048
  x = x == l ? u : x, w = w == l ? u : w;
39049
39049
  var $ = x == u, I = w == u, S = x == w;
39050
- if (S && s(f)) {
39050
+ if (S && s(g)) {
39051
39051
  if (!s(M))
39052
39052
  return !1;
39053
39053
  N = !0, $ = !1;
39054
39054
  }
39055
39055
  if (S && !$)
39056
- return C || (C = new e()), N || d(f) ? t(f, M, _, v, b, C) : n(f, M, x, _, v, b, C);
39056
+ return C || (C = new e()), N || d(g) ? t(g, M, _, v, b, C) : n(g, M, x, _, v, b, C);
39057
39057
  if (!(_ & h)) {
39058
- var z = $ && k.call(f, "__wrapped__"), F = I && k.call(M, "__wrapped__");
39058
+ var z = $ && k.call(g, "__wrapped__"), F = I && k.call(M, "__wrapped__");
39059
39059
  if (z || F) {
39060
- var j = z ? f.value() : f, H = F ? M.value() : M;
39060
+ var j = z ? g.value() : g, H = F ? M.value() : M;
39061
39061
  return C || (C = new e()), b(j, H, _, v, C);
39062
39062
  }
39063
39063
  }
39064
- return S ? (C || (C = new e()), o(f, M, _, v, b, C)) : !1;
39064
+ return S ? (C || (C = new e()), o(g, M, _, v, b, C)) : !1;
39065
39065
  }
39066
- return PL = g, PL;
39066
+ return PL = f, PL;
39067
39067
  }
39068
39068
  var HL, l$;
39069
39069
  function c4e() {
@@ -39086,7 +39086,7 @@ function r4e() {
39086
39086
  return TL = t, TL;
39087
39087
  }
39088
39088
  var s4e = r4e();
39089
- const d4e = /* @__PURE__ */ vz(s4e), xMe = ({
39089
+ const d4e = /* @__PURE__ */ vz(s4e), wMe = ({
39090
39090
  schema: e,
39091
39091
  initialData: t = {},
39092
39092
  onSubmit: n,
@@ -39097,7 +39097,7 @@ const d4e = /* @__PURE__ */ vz(s4e), xMe = ({
39097
39097
  cancelLabel: d = "Retour",
39098
39098
  cancelIcon: h
39099
39099
  }) => {
39100
- const [l, p] = V(t), [u, y] = V({}), [k, g] = V({}), [f, M] = V(!1), _ = E(t);
39100
+ const [l, p] = V(t), [u, y] = V({}), [k, f] = V({}), [g, M] = V(!1), _ = E(t);
39101
39101
  O(() => {
39102
39102
  d4e(_.current, t) || (p(t), _.current = t);
39103
39103
  }, [t]);
@@ -39115,7 +39115,7 @@ const d4e = /* @__PURE__ */ vz(s4e), xMe = ({
39115
39115
  }
39116
39116
  }, b = (w) => {
39117
39117
  if (!k[w]) {
39118
- g((I) => ({ ...I, [w]: !0 }));
39118
+ f((I) => ({ ...I, [w]: !0 }));
39119
39119
  const $ = e.fields.find((I) => I.name === w);
39120
39120
  if ($) {
39121
39121
  const I = uC(l[w], $);
@@ -39131,7 +39131,7 @@ const d4e = /* @__PURE__ */ vz(s4e), xMe = ({
39131
39131
  (S, z) => (z.type !== "section" && (S[z.name] = !0), S),
39132
39132
  {}
39133
39133
  );
39134
- g($);
39134
+ f($);
39135
39135
  const I = xpe(
39136
39136
  l,
39137
39137
  e.fields.filter((S) => S.type !== "section")
@@ -39198,8 +39198,8 @@ const d4e = /* @__PURE__ */ vz(s4e), xMe = ({
39198
39198
  variant: "primary",
39199
39199
  size: "md",
39200
39200
  className: ge.submitButton,
39201
- disabled: f,
39202
- children: f ? /* @__PURE__ */ m(Fe, { children: [
39201
+ disabled: g,
39202
+ children: g ? /* @__PURE__ */ m(Fe, { children: [
39203
39203
  /* @__PURE__ */ c("span", { className: "spinner-border spinner-border-sm me-2", role: "status" }),
39204
39204
  "Validation..."
39205
39205
  ] }) : /* @__PURE__ */ m(Fe, { children: [
@@ -39213,7 +39213,7 @@ const d4e = /* @__PURE__ */ vz(s4e), xMe = ({
39213
39213
  ] })
39214
39214
  ] });
39215
39215
  };
39216
- function bMe(e) {
39216
+ function LMe(e) {
39217
39217
  return {
39218
39218
  title: e._formTitle || "Formulaire",
39219
39219
  description: e._formDescription,
@@ -39221,7 +39221,7 @@ function bMe(e) {
39221
39221
  submitText: e._submitText || "Valider"
39222
39222
  };
39223
39223
  }
39224
- const p$ = /* @__PURE__ */ new Map(), wMe = ({
39224
+ const p$ = /* @__PURE__ */ new Map(), CMe = ({
39225
39225
  path: e,
39226
39226
  style: t,
39227
39227
  width: n = 24,
@@ -39234,9 +39234,9 @@ const p$ = /* @__PURE__ */ new Map(), wMe = ({
39234
39234
  e && (async () => {
39235
39235
  try {
39236
39236
  let l = p$.get(e);
39237
- l || (l = fetch(e).then((g) => {
39238
- if (!g.ok) throw new Error(`Failed to load ${e}`);
39239
- return g.text();
39237
+ l || (l = fetch(e).then((f) => {
39238
+ if (!f.ok) throw new Error(`Failed to load ${e}`);
39239
+ return f.text();
39240
39240
  }), p$.set(e, l));
39241
39241
  let p = await l;
39242
39242
  const u = t?.width || `${n}px`, y = t?.height || `${o}px`;
@@ -39645,34 +39645,34 @@ const p$ = /* @__PURE__ */ new Map(), wMe = ({
39645
39645
  isControlled: i = !1
39646
39646
  }) => {
39647
39647
  const [r, s] = V([]), [d, h] = V(() => {
39648
- const g = {};
39649
- return e.forEach((f) => {
39650
- f.type === "daterange" ? g[f.id] = { start: "", end: "" } : g[f.id] = f.defaultValue ?? "";
39651
- }), g;
39648
+ const f = {};
39649
+ return e.forEach((g) => {
39650
+ g.type === "daterange" ? f[g.id] = { start: "", end: "" } : f[g.id] = g.defaultValue ?? "";
39651
+ }), f;
39652
39652
  });
39653
39653
  O(() => {
39654
39654
  if (!i) return;
39655
- const g = { ...d ?? {} };
39656
- e.forEach((f) => {
39657
- f.id in g || (g[f.id] = f.type === "daterange" ? { start: "", end: "" } : f.defaultValue ?? "");
39658
- }), (t || []).forEach((f) => {
39659
- !f || !f.id || (g[f.id] = f.value);
39660
- }), h(g), s(t ?? []);
39655
+ const f = { ...d ?? {} };
39656
+ e.forEach((g) => {
39657
+ g.id in f || (f[g.id] = g.type === "daterange" ? { start: "", end: "" } : g.defaultValue ?? "");
39658
+ }), (t || []).forEach((g) => {
39659
+ !g || !g.id || (f[g.id] = g.value);
39660
+ }), h(f), s(t ?? []);
39661
39661
  }, [
39662
39662
  i,
39663
39663
  JSON.stringify(t || []),
39664
- JSON.stringify(e.map((g) => g.id))
39664
+ JSON.stringify(e.map((f) => f.id))
39665
39665
  ]);
39666
- const l = i ? t : r, p = Oe((g, f) => {
39667
- h((M) => ({ ...M, [g]: f }));
39666
+ const l = i ? t : r, p = Oe((f, g) => {
39667
+ h((M) => ({ ...M, [f]: g }));
39668
39668
  }, []), u = Oe(async () => {
39669
- const g = [], f = { ...d };
39670
- for (const [M, _] of Object.entries(f)) {
39669
+ const f = [], g = { ...d };
39670
+ for (const [M, _] of Object.entries(g)) {
39671
39671
  const v = e.find((N) => N.id === M);
39672
39672
  if (!v) continue;
39673
39673
  let b = _;
39674
39674
  try {
39675
- typeof _ == "function" && (b = await _(f)), typeof v.executeOnApply == "function" && (b = await v.executeOnApply(b, f));
39675
+ typeof _ == "function" && (b = await _(g)), typeof v.executeOnApply == "function" && (b = await v.executeOnApply(b, g));
39676
39676
  } catch {
39677
39677
  continue;
39678
39678
  }
@@ -39681,24 +39681,24 @@ const p$ = /* @__PURE__ */ new Map(), wMe = ({
39681
39681
  if (x && w)
39682
39682
  continue;
39683
39683
  }
39684
- b == null || typeof b == "string" && b.trim() === "" || Array.isArray(b) && b.length === 0 || typeof b == "object" && !Array.isArray(b) && Object.keys(b).length === 0 || g.push({
39684
+ b == null || typeof b == "string" && b.trim() === "" || Array.isArray(b) && b.length === 0 || typeof b == "object" && !Array.isArray(b) && Object.keys(b).length === 0 || f.push({
39685
39685
  id: M,
39686
39686
  type: v.type,
39687
39687
  value: b,
39688
39688
  label: v.label
39689
39689
  });
39690
39690
  }
39691
- return i ? n?.(g) : (s(g), o?.(g)), g;
39691
+ return i ? n?.(f) : (s(f), o?.(f)), f;
39692
39692
  }, [d, e, i, n, o]), y = Oe(
39693
- (g) => {
39694
- h((f) => ({ ...f, [g]: void 0 })), p(g, void 0);
39693
+ (f) => {
39694
+ h((g) => ({ ...g, [f]: void 0 })), p(f, void 0);
39695
39695
  },
39696
39696
  [p]
39697
39697
  ), k = Oe(() => {
39698
- const g = {};
39699
- e.forEach((f) => {
39700
- f.type === "daterange" ? g[f.id] = { start: "", end: "" } : g[f.id] = f.defaultValue ?? "";
39701
- }), h(g), i ? n?.([]) : (s([]), o?.([]));
39698
+ const f = {};
39699
+ e.forEach((g) => {
39700
+ g.type === "daterange" ? f[g.id] = { start: "", end: "" } : f[g.id] = g.defaultValue ?? "";
39701
+ }), h(f), i ? n?.([]) : (s([]), o?.([]));
39702
39702
  }, [e, i, n, o]);
39703
39703
  return {
39704
39704
  appliedFilters: l,
@@ -39772,25 +39772,25 @@ const p$ = /* @__PURE__ */ new Map(), wMe = ({
39772
39772
  };
39773
39773
  function B5e(e, t, n = "", o = { key: null, direction: "asc" }, i = 1, r = 10, s = []) {
39774
39774
  const d = Math.max(1, r), h = (n || "").trim().toLowerCase(), l = Me(() => {
39775
- let f = e;
39776
- return h && (f = f.filter(
39775
+ let g = e;
39776
+ return h && (g = g.filter(
39777
39777
  (M) => t.some((_) => {
39778
39778
  const v = M.data[_.id];
39779
39779
  return v == null ? !1 : String(v).toLowerCase().includes(h);
39780
39780
  })
39781
- )), s.length > 0 && (f = f.filter((M) => s.every((_) => {
39781
+ )), s.length > 0 && (g = g.filter((M) => s.every((_) => {
39782
39782
  try {
39783
39783
  const v = M.data[_.id];
39784
39784
  return D5e(v, _);
39785
39785
  } catch (v) {
39786
39786
  return console.error("Error applying filter:", v), !1;
39787
39787
  }
39788
- }))), f;
39788
+ }))), g;
39789
39789
  }, [e, t, h, s]), p = Me(() => {
39790
39790
  if (!o?.key) return l;
39791
- const f = o.key;
39791
+ const g = o.key;
39792
39792
  return [...l].sort((M, _) => {
39793
- const v = M.data[f], b = _.data[f];
39793
+ const v = M.data[g], b = _.data[g];
39794
39794
  if (v == null) return 1;
39795
39795
  if (b == null) return -1;
39796
39796
  if (typeof v == "number" && typeof b == "number")
@@ -39805,14 +39805,14 @@ function B5e(e, t, n = "", o = { key: null, direction: "asc" }, i = 1, r = 10, s
39805
39805
  });
39806
39806
  return o.direction === "desc" ? -C : C;
39807
39807
  });
39808
- }, [l, o]), u = p, y = Math.ceil(p.length / d), k = 0, g = Math.min(i * d, p.length);
39808
+ }, [l, o]), u = p, y = Math.ceil(p.length / d), k = 0, f = Math.min(i * d, p.length);
39809
39809
  return {
39810
39810
  paginatedData: u,
39811
39811
  sortedData: p,
39812
39812
  filteredData: l,
39813
39813
  totalPages: y,
39814
39814
  startIndex: k,
39815
- endIndex: g
39815
+ endIndex: f
39816
39816
  };
39817
39817
  }
39818
39818
  const F5e = ({ value: e }) => e, R5e = ({ value: e }) => ie.createElement(
@@ -39879,7 +39879,7 @@ const F5e = ({ value: e }) => e, R5e = ({ value: e }) => ie.createElement(
39879
39879
  sortDesc: ie.createElement(Bt, { className: "sort-icon active", size: 14 }),
39880
39880
  sortDefault: ie.createElement(ri, { className: "sort-icon", size: 14 })
39881
39881
  }
39882
- }, LMe = (e, t) => {
39882
+ }, NMe = (e, t) => {
39883
39883
  y$.renderers[e] && console.warn(`Le renderer "${e}" existe déjà et sera écrasé.`), y$.renderers[e] = t;
39884
39884
  }, K5e = ({
39885
39885
  filters: e,
@@ -39896,8 +39896,8 @@ const F5e = ({ value: e }) => e, R5e = ({ value: e }) => ie.createElement(
39896
39896
  applyLabel: u = "Apply",
39897
39897
  cancelLabel: y = "Cancel",
39898
39898
  clearLabel: k = "Clear",
39899
- applyDisabled: g = !1,
39900
- loading: f = !1
39899
+ applyDisabled: f = !1,
39900
+ loading: g = !1
39901
39901
  }) => {
39902
39902
  const [M, _] = V(!1), v = typeof s == "boolean" ? s : M, { appliedFilters: b, tempFilters: C, updateFilter: N, applyFilters: L, clearAllFilters: x } = j5e({
39903
39903
  filters: e,
@@ -39948,17 +39948,17 @@ const F5e = ({ value: e }) => e, R5e = ({ value: e }) => ie.createElement(
39948
39948
  /* @__PURE__ */ m(
39949
39949
  "button",
39950
39950
  {
39951
- className: `${P.toggleFiltersButton} ${b.length > 0 ? P.active : ""} ${v ? P.toggleFiltersButtonOpen : ""} ${f ? P.loadingButton : ""}`,
39951
+ className: `${P.toggleFiltersButton} ${b.length > 0 ? P.active : ""} ${v ? P.toggleFiltersButtonOpen : ""} ${g ? P.loadingButton : ""}`,
39952
39952
  onClick: I,
39953
39953
  "aria-expanded": v,
39954
39954
  "aria-controls": "advanced-filters-panel",
39955
39955
  type: "button",
39956
- disabled: f,
39956
+ disabled: g,
39957
39957
  children: [
39958
- f ? /* @__PURE__ */ c("span", { className: P.loaderSpinnerSmall }) : /* @__PURE__ */ c(Ht, { size: 14 }),
39958
+ g ? /* @__PURE__ */ c("span", { className: P.loaderSpinnerSmall }) : /* @__PURE__ */ c(Ht, { size: 14 }),
39959
39959
  /* @__PURE__ */ c("span", { className: P.buttonTextCompact, children: p }),
39960
- b.length > 0 && !f && /* @__PURE__ */ c("span", { className: P.filterCountBadge, "aria-hidden": !0, children: b.length }),
39961
- f && /* @__PURE__ */ c("span", { className: P.loadingIndicator, "aria-hidden": !0, children: "Chargement..." })
39960
+ b.length > 0 && !g && /* @__PURE__ */ c("span", { className: P.filterCountBadge, "aria-hidden": !0, children: b.length }),
39961
+ g && /* @__PURE__ */ c("span", { className: P.loadingIndicator, "aria-hidden": !0, children: "Chargement..." })
39962
39962
  ]
39963
39963
  }
39964
39964
  ),
@@ -40015,19 +40015,19 @@ const F5e = ({ value: e }) => e, R5e = ({ value: e }) => ie.createElement(
40015
40015
  className: P.cancelButton,
40016
40016
  onClick: F,
40017
40017
  type: "button",
40018
- disabled: f,
40018
+ disabled: g,
40019
40019
  children: y
40020
40020
  }
40021
40021
  ),
40022
40022
  /* @__PURE__ */ c(
40023
40023
  "button",
40024
40024
  {
40025
- className: `${P.applyButton} ${f ? P.loadingButton : ""}`,
40025
+ className: `${P.applyButton} ${g ? P.loadingButton : ""}`,
40026
40026
  onClick: z,
40027
40027
  type: "button",
40028
- disabled: g || f,
40029
- "aria-disabled": g || f,
40030
- children: f ? /* @__PURE__ */ m(Fe, { children: [
40028
+ disabled: f || g,
40029
+ "aria-disabled": f || g,
40030
+ children: g ? /* @__PURE__ */ m(Fe, { children: [
40031
40031
  /* @__PURE__ */ c("span", { className: P.loaderSpinnerSmall }),
40032
40032
  /* @__PURE__ */ c("span", { children: "Chargement..." })
40033
40033
  ] }) : u
@@ -40049,31 +40049,31 @@ const F5e = ({ value: e }) => e, R5e = ({ value: e }) => ie.createElement(
40049
40049
  label: o = "Sort",
40050
40050
  loading: i = !1
40051
40051
  }) => {
40052
- const [r, s] = V(!1), d = e.filter((g) => g.sortable), h = E(null), l = t?.key !== null && t?.key !== void 0, p = (g, f) => {
40053
- n({ key: g, direction: f }), s(!1);
40052
+ const [r, s] = V(!1), d = e.filter((f) => f.sortable), h = E(null), l = t?.key !== null && t?.key !== void 0, p = (f, g) => {
40053
+ n({ key: f, direction: g }), s(!1);
40054
40054
  }, u = () => {
40055
40055
  n({ key: null, direction: "asc" }), s(!1);
40056
- }, y = () => s((g) => !g), k = () => {
40056
+ }, y = () => s((f) => !f), k = () => {
40057
40057
  s(!1);
40058
40058
  };
40059
40059
  return O(() => {
40060
40060
  if (!r) return;
40061
- const g = (M) => {
40061
+ const f = (M) => {
40062
40062
  if (!h.current) return;
40063
40063
  const _ = M.target;
40064
40064
  _ && !h.current.contains(_) && s(!1);
40065
- }, f = (M) => {
40065
+ }, g = (M) => {
40066
40066
  M.key === "Escape" && s(!1);
40067
40067
  };
40068
- return document.addEventListener("pointerdown", g), document.addEventListener("keydown", f), () => {
40069
- document.removeEventListener("pointerdown", g), document.removeEventListener("keydown", f);
40068
+ return document.addEventListener("pointerdown", f), document.addEventListener("keydown", g), () => {
40069
+ document.removeEventListener("pointerdown", f), document.removeEventListener("keydown", g);
40070
40070
  };
40071
40071
  }, [r]), O(() => {
40072
- const g = document.querySelector("[data-table-wrapper]");
40073
- if (!g) return;
40074
- const f = g.style.overflow ?? "";
40075
- return r ? g.style.overflow = "hidden" : g.style.overflow = f, () => {
40076
- g.style.overflow = f;
40072
+ const f = document.querySelector("[data-table-wrapper]");
40073
+ if (!f) return;
40074
+ const g = f.style.overflow ?? "";
40075
+ return r ? f.style.overflow = "hidden" : f.style.overflow = g, () => {
40076
+ f.style.overflow = g;
40077
40077
  };
40078
40078
  }, [r]), /* @__PURE__ */ c("div", { className: P.columnSorterContainer, ref: h, children: /* @__PURE__ */ c("div", { className: P.sorterControls, children: d.length > 0 && /* @__PURE__ */ m("div", { className: P.sortDropdownWrapper, ref: h, children: [
40079
40079
  /* @__PURE__ */ m(
@@ -40112,8 +40112,8 @@ const F5e = ({ value: e }) => e, R5e = ({ value: e }) => ie.createElement(
40112
40112
  }
40113
40113
  )
40114
40114
  ] }),
40115
- /* @__PURE__ */ c("div", { className: P.sortDropdownContent, children: d.map((g) => {
40116
- const f = String(g.label ?? g.id), M = k$(f);
40115
+ /* @__PURE__ */ c("div", { className: P.sortDropdownContent, children: d.map((f) => {
40116
+ const g = String(f.label ?? f.id), M = k$(g);
40117
40117
  return /* @__PURE__ */ m(
40118
40118
  "div",
40119
40119
  {
@@ -40121,24 +40121,24 @@ const F5e = ({ value: e }) => e, R5e = ({ value: e }) => ie.createElement(
40121
40121
  role: "menuitem",
40122
40122
  tabIndex: 0,
40123
40123
  onKeyDown: (_) => {
40124
- _.key === "Enter" && p(g.id, "asc");
40124
+ _.key === "Enter" && p(f.id, "asc");
40125
40125
  },
40126
40126
  children: [
40127
40127
  /* @__PURE__ */ c(
40128
40128
  "span",
40129
40129
  {
40130
40130
  className: `${P.columnSorterLabel} ${M ? P.uppercaseSmall : ""}`,
40131
- title: f,
40132
- "aria-label": f,
40133
- children: f
40131
+ title: g,
40132
+ "aria-label": g,
40133
+ children: g
40134
40134
  }
40135
40135
  ),
40136
40136
  /* @__PURE__ */ m("div", { className: P.sortDirectionButtons, children: [
40137
40137
  /* @__PURE__ */ c(
40138
40138
  "button",
40139
40139
  {
40140
- className: `${P.sortDirectionButton} ${t?.key === g.id && t?.direction === "asc" ? P.activeSort : ""}`,
40141
- onClick: () => p(g.id, "asc"),
40140
+ className: `${P.sortDirectionButton} ${t?.key === f.id && t?.direction === "asc" ? P.activeSort : ""}`,
40141
+ onClick: () => p(f.id, "asc"),
40142
40142
  title: "Trier par ordre croissant",
40143
40143
  type: "button",
40144
40144
  children: /* @__PURE__ */ c(Fo, { size: 12 })
@@ -40147,8 +40147,8 @@ const F5e = ({ value: e }) => e, R5e = ({ value: e }) => ie.createElement(
40147
40147
  /* @__PURE__ */ c(
40148
40148
  "button",
40149
40149
  {
40150
- className: `${P.sortDirectionButton} ${t?.key === g.id && t?.direction === "desc" ? P.activeSort : ""}`,
40151
- onClick: () => p(g.id, "desc"),
40150
+ className: `${P.sortDirectionButton} ${t?.key === f.id && t?.direction === "desc" ? P.activeSort : ""}`,
40151
+ onClick: () => p(f.id, "desc"),
40152
40152
  title: "Trier par ordre décroissant",
40153
40153
  type: "button",
40154
40154
  children: /* @__PURE__ */ c(Bt, { size: 12 })
@@ -40157,7 +40157,7 @@ const F5e = ({ value: e }) => e, R5e = ({ value: e }) => ie.createElement(
40157
40157
  ] })
40158
40158
  ]
40159
40159
  },
40160
- g.id
40160
+ f.id
40161
40161
  );
40162
40162
  }) }),
40163
40163
  l && /* @__PURE__ */ c("div", { className: P.sortActions, children: /* @__PURE__ */ m(
@@ -40188,26 +40188,26 @@ const F5e = ({ value: e }) => e, R5e = ({ value: e }) => ie.createElement(
40188
40188
  l > 1 && r(l - 1);
40189
40189
  }, u = () => {
40190
40190
  if (l < t) {
40191
- const f = l + 1;
40192
- r(f);
40191
+ const g = l + 1;
40192
+ r(g);
40193
40193
  }
40194
- }, y = o > 0 ? (l - 1) * n + 1 : 0, k = o > 0 ? Math.min(l * n, o) : 0, g = () => {
40195
- const f = [];
40194
+ }, y = o > 0 ? (l - 1) * n + 1 : 0, k = o > 0 ? Math.min(l * n, o) : 0, f = () => {
40195
+ const g = [];
40196
40196
  let _ = Math.max(1, l - Math.floor(2.5)), v = _ + 5 - 1;
40197
40197
  v > h && (v = h, _ = Math.max(1, v - 5 + 1));
40198
- for (let b = _; b <= v; b++) f.push(b);
40199
- return f;
40198
+ for (let b = _; b <= v; b++) g.push(b);
40199
+ return g;
40200
40200
  };
40201
40201
  return /* @__PURE__ */ m("div", { className: P.paginationContainer, role: "navigation", "aria-label": "Pagination", children: [
40202
40202
  /* @__PURE__ */ c("div", { className: P.leftGroup, children: s && /* @__PURE__ */ c("div", { className: P.pageSizeControls, children: /* @__PURE__ */ c(
40203
40203
  "select",
40204
40204
  {
40205
40205
  value: n,
40206
- onChange: (f) => s(Number(f.target.value)),
40206
+ onChange: (g) => s(Number(g.target.value)),
40207
40207
  className: P.pageSizeSelect,
40208
40208
  "aria-label": "Taille de page",
40209
40209
  disabled: d,
40210
- children: [10, 20, 30].map((f) => /* @__PURE__ */ c("option", { value: f, children: f }, f))
40210
+ children: [10, 20, 30].map((g) => /* @__PURE__ */ c("option", { value: g, children: g }, g))
40211
40211
  }
40212
40212
  ) }) }),
40213
40213
  /* @__PURE__ */ c("div", { className: P.paginationInfo, "aria-live": "polite", children: d ? /* @__PURE__ */ m("span", { className: P.paginationLoading, children: [
@@ -40225,16 +40225,16 @@ const F5e = ({ value: e }) => e, R5e = ({ value: e }) => ie.createElement(
40225
40225
  children: d && l > 1 ? /* @__PURE__ */ c("span", { className: P.loaderSpinnerSmall }) : "«"
40226
40226
  }
40227
40227
  ),
40228
- g().map((f) => /* @__PURE__ */ c(
40228
+ f().map((g) => /* @__PURE__ */ c(
40229
40229
  "button",
40230
40230
  {
40231
- onClick: () => r(f),
40231
+ onClick: () => r(g),
40232
40232
  disabled: d,
40233
- "aria-current": l === f ? "page" : void 0,
40234
- className: `${P.paginationButton} ${l === f ? P.activeButton : ""} ${d ? P.loadingButton : ""}`,
40235
- children: d && l === f ? /* @__PURE__ */ c("span", { className: P.loaderSpinnerSmall }) : f
40233
+ "aria-current": l === g ? "page" : void 0,
40234
+ className: `${P.paginationButton} ${l === g ? P.activeButton : ""} ${d ? P.loadingButton : ""}`,
40235
+ children: d && l === g ? /* @__PURE__ */ c("span", { className: P.loaderSpinnerSmall }) : g
40236
40236
  },
40237
- f
40237
+ g
40238
40238
  )),
40239
40239
  /* @__PURE__ */ c(
40240
40240
  "button",
@@ -40345,8 +40345,8 @@ const F5e = ({ value: e }) => e, R5e = ({ value: e }) => ie.createElement(
40345
40345
  filtersControlled: u = !1,
40346
40346
  debounceTimeout: y = 300,
40347
40347
  getRowStyle: k,
40348
- background: g,
40349
- onPageSizeChange: f,
40348
+ background: f,
40349
+ onPageSizeChange: g,
40350
40350
  onPageChange: M,
40351
40351
  itemLabel: _ = "items",
40352
40352
  advancedFiltersLabel: v = "Advanced-Filters",
@@ -40361,7 +40361,7 @@ const F5e = ({ value: e }) => e, R5e = ({ value: e }) => ie.createElement(
40361
40361
  sortLoading: S = !1,
40362
40362
  totalCount: z = null
40363
40363
  }) => {
40364
- const [F, j] = V({ key: null, direction: "asc" }), [H, A] = V(n.currentPage ?? 1), [q, T] = V(n.pageSize ?? 10), [D, B] = V(!1), U = E(null), [K, oe] = V([]), re = u ? d : K, Ce = u ? [] : K;
40364
+ const [F, j] = V({ key: null, direction: "asc" }), [H, A] = V(n.currentPage ?? 1), [q, T] = V(n.pageSize ?? 10), [D, B] = V(!1), U = E(null), [X, oe] = V([]), re = u ? d : X, Ce = u ? [] : X;
40365
40365
  O(() => {
40366
40366
  const ue = n.currentPage ?? 1, Ut = n.pageSize ?? 10;
40367
40367
  ue !== H && A(ue), Ut !== q && T(Ut);
@@ -40389,7 +40389,7 @@ const F5e = ({ value: e }) => e, R5e = ({ value: e }) => ie.createElement(
40389
40389
  }, se = (ue) => {
40390
40390
  M?.(ue), A(ue);
40391
40391
  }, Ae = (ue) => {
40392
- T(ue), A(1), f?.(ue), M?.(1);
40392
+ T(ue), A(1), g?.(ue), M?.(1);
40393
40393
  }, Ke = (ue) => {
40394
40394
  U.current && U.current.style.setProperty("--filters-panel-height", `${Math.round(ue)}px`);
40395
40395
  }, we = (ue) => {
@@ -40409,7 +40409,7 @@ const F5e = ({ value: e }) => e, R5e = ({ value: e }) => ie.createElement(
40409
40409
  ref: U,
40410
40410
  className: `${P.container} ${r} ${D ? P.filtersOpen : ""}`,
40411
40411
  style: {
40412
- background: g,
40412
+ background: f,
40413
40413
  "--row-height": "48px",
40414
40414
  "--header-height": "56px"
40415
40415
  },
@@ -40485,7 +40485,7 @@ const F5e = ({ value: e }) => e, R5e = ({ value: e }) => ie.createElement(
40485
40485
  }
40486
40486
  );
40487
40487
  };
40488
- function CMe(e) {
40488
+ function IMe(e) {
40489
40489
  const { pagination: t, totalCount: n, onPageChange: o, ...i } = e, r = t?.pageSize ?? 20, s = t?.currentPage ?? 1, d = Me(() => {
40490
40490
  if (n === null || typeof n > "u") return null;
40491
40491
  const u = Number(n);
@@ -40505,7 +40505,7 @@ function CMe(e) {
40505
40505
  }
40506
40506
  );
40507
40507
  }
40508
- const ike = "_mpRoot_31595_1", cke = "_mpHeader_31595_22", rke = "_mpTitle_31595_31", ske = "_mpList_31595_35", dke = "_mpVertical_31595_41", lke = "_mpHorizontal_31595_46", hke = "_mpItem_31595_55", pke = "_mpClickable_31595_95", uke = "_mpLeft_31595_117", yke = "_mpIcon_31595_125", kke = "_mpMeta_31595_140", mke = "_mpLabel_31595_145", fke = "_mpDate_31595_154", gke = "_mpRight_31595_160", vke = "_mpValue_31595_168", Mke = "_mpHint_31595_176", _ke = "_mpBadge_31595_180", xke = "_mpBadgeTop_31595_199", bke = "_mpBadgeSub_31595_206", wke = "_mpBadgeSmall_31595_213", Lke = "_mpPill_31595_229", Cke = "_mpRounded_31595_232", Nke = "_mpCompact_31595_236", Ike = "_compactItemWrapper_31595_252", Ske = "_mpSummaryRoot_31595_265", $ke = "_mpSummaryInner_31595_269", qke = "_mpSummaryFlex_31595_284", Ake = "_mpSummaryCardWrapperHorizontal_31595_292", zke = "_mpSummaryCardWrapper_31595_292", Vke = "_mpSummaryCardHorizontal_31595_303", Pke = "_mpSummaryCard_31595_292", Hke = "_mpSummaryValue_31595_321", Tke = "_mpSummaryLabel_31595_327", jke = "_mpSummaryBadge_31595_338", Dke = "_mpSummaryBadgeSub_31595_357", Bke = "_mpEmpty_31595_365", Fke = "_mpSummaryVertical_31595_372", Rke = "_mpIconSquare_31595_380", Y = {
40508
+ const ike = "_mpRoot_31595_1", cke = "_mpHeader_31595_22", rke = "_mpTitle_31595_31", ske = "_mpList_31595_35", dke = "_mpVertical_31595_41", lke = "_mpHorizontal_31595_46", hke = "_mpItem_31595_55", pke = "_mpClickable_31595_95", uke = "_mpLeft_31595_117", yke = "_mpIcon_31595_125", kke = "_mpMeta_31595_140", mke = "_mpLabel_31595_145", fke = "_mpDate_31595_154", gke = "_mpRight_31595_160", vke = "_mpValue_31595_168", Mke = "_mpHint_31595_176", _ke = "_mpBadge_31595_180", xke = "_mpBadgeTop_31595_199", bke = "_mpBadgeSub_31595_206", wke = "_mpBadgeSmall_31595_213", Lke = "_mpPill_31595_229", Cke = "_mpRounded_31595_232", Nke = "_mpCompact_31595_236", Ike = "_compactItemWrapper_31595_252", Ske = "_mpSummaryRoot_31595_265", $ke = "_mpSummaryInner_31595_269", qke = "_mpSummaryFlex_31595_284", Ake = "_mpSummaryCardWrapperHorizontal_31595_292", zke = "_mpSummaryCardWrapper_31595_292", Vke = "_mpSummaryCardHorizontal_31595_303", Pke = "_mpSummaryCard_31595_292", Hke = "_mpSummaryValue_31595_321", Tke = "_mpSummaryLabel_31595_327", jke = "_mpSummaryBadge_31595_338", Dke = "_mpSummaryBadgeSub_31595_357", Bke = "_mpEmpty_31595_365", Fke = "_mpSummaryVertical_31595_372", Rke = "_mpIconSquare_31595_380", J = {
40509
40509
  mpRoot: ike,
40510
40510
  mpHeader: cke,
40511
40511
  mpTitle: rke,
@@ -40560,9 +40560,9 @@ const ike = "_mpRoot_31595_1", cke = "_mpHeader_31595_22", rke = "_mpTitle_31595
40560
40560
  const r = Oe(() => {
40561
40561
  n?.(e);
40562
40562
  }, [n, e]), s = [
40563
- Y.mpItem,
40564
- t === "pill" ? Y.mpPill : Y.mpRounded,
40565
- n ? Y.mpClickable : ""
40563
+ J.mpItem,
40564
+ t === "pill" ? J.mpPill : J.mpRounded,
40565
+ n ? J.mpClickable : ""
40566
40566
  ].filter(Boolean).join(" ");
40567
40567
  if (i)
40568
40568
  return /* @__PURE__ */ c(
@@ -40589,11 +40589,11 @@ const ike = "_mpRoot_31595_1", cke = "_mpHeader_31595_22", rke = "_mpTitle_31595
40589
40589
  role: "group"
40590
40590
  }, l = e.iconComponent, p = e.iconSquareBg, u = e.iconColor;
40591
40591
  return /* @__PURE__ */ m(d, { ...h, children: [
40592
- /* @__PURE__ */ m("div", { className: Y.mpLeft, children: [
40592
+ /* @__PURE__ */ m("div", { className: J.mpLeft, children: [
40593
40593
  l ? /* @__PURE__ */ c(
40594
40594
  "div",
40595
40595
  {
40596
- className: Y.mpIconSquare,
40596
+ className: J.mpIconSquare,
40597
40597
  style: {
40598
40598
  background: p ?? jo(u ?? o ?? "#7c3aed", 1),
40599
40599
  border: `1px solid ${jo(u ?? o ?? "#7c3aed", 0.18)}`,
@@ -40605,19 +40605,19 @@ const ike = "_mpRoot_31595_1", cke = "_mpHeader_31595_22", rke = "_mpTitle_31595
40605
40605
  strokeWidth: 1.8
40606
40606
  })
40607
40607
  }
40608
- ) : e.icon ? /* @__PURE__ */ c("div", { className: Y.mpIcon, children: e.icon }) : null,
40609
- /* @__PURE__ */ m("div", { className: Y.mpMeta, children: [
40610
- /* @__PURE__ */ c("div", { className: Y.mpLabel, children: e.label }),
40611
- e.subLabel && /* @__PURE__ */ c("div", { className: Y.mpDate, children: e.subLabel }),
40612
- e.date && /* @__PURE__ */ c("div", { className: Y.mpDate, children: e.date })
40608
+ ) : e.icon ? /* @__PURE__ */ c("div", { className: J.mpIcon, children: e.icon }) : null,
40609
+ /* @__PURE__ */ m("div", { className: J.mpMeta, children: [
40610
+ /* @__PURE__ */ c("div", { className: J.mpLabel, children: e.label }),
40611
+ e.subLabel && /* @__PURE__ */ c("div", { className: J.mpDate, children: e.subLabel }),
40612
+ e.date && /* @__PURE__ */ c("div", { className: J.mpDate, children: e.date })
40613
40613
  ] })
40614
40614
  ] }),
40615
- /* @__PURE__ */ m("div", { className: Y.mpRight, children: [
40616
- /* @__PURE__ */ c("div", { className: Y.mpValue, style: { color: e.valueColor ?? o ?? void 0 }, children: e.value }),
40615
+ /* @__PURE__ */ m("div", { className: J.mpRight, children: [
40616
+ /* @__PURE__ */ c("div", { className: J.mpValue, style: { color: e.valueColor ?? o ?? void 0 }, children: e.value }),
40617
40617
  e.badge ? /* @__PURE__ */ m(
40618
40618
  "div",
40619
40619
  {
40620
- className: [Y.mpBadge, e.badge.small ? Y.mpBadgeSmall : ""].join(" "),
40620
+ className: [J.mpBadge, e.badge.small ? J.mpBadgeSmall : ""].join(" "),
40621
40621
  style: {
40622
40622
  backgroundColor: e.badge.bg ?? jo(e.badge.color || o || "#7c3aed", 0.12),
40623
40623
  borderColor: e.badge.bg ? "transparent" : jo(e.badge.color || o || "#7c3aed", 0.18),
@@ -40625,15 +40625,15 @@ const ike = "_mpRoot_31595_1", cke = "_mpHeader_31595_22", rke = "_mpTitle_31595
40625
40625
  fontWeight: 600
40626
40626
  },
40627
40627
  children: [
40628
- /* @__PURE__ */ c("div", { className: Y.mpBadgeTop, children: e.badge.text }),
40629
- e.badge.subText && /* @__PURE__ */ c("div", { className: Y.mpBadgeSub, children: e.badge.subText })
40628
+ /* @__PURE__ */ c("div", { className: J.mpBadgeTop, children: e.badge.text }),
40629
+ e.badge.subText && /* @__PURE__ */ c("div", { className: J.mpBadgeSub, children: e.badge.subText })
40630
40630
  ]
40631
40631
  }
40632
- ) : e.hint ? /* @__PURE__ */ c("div", { className: Y.mpHint, children: e.hint }) : null
40632
+ ) : e.hint ? /* @__PURE__ */ c("div", { className: J.mpHint, children: e.hint }) : null
40633
40633
  ] })
40634
40634
  ] });
40635
- }, Eke = ie.memo(Oke), m$ = ({ title: e, right: t }) => !e && !t ? null : /* @__PURE__ */ m("div", { className: Y.mpHeader, children: [
40636
- /* @__PURE__ */ c("div", { className: Y.mpTitle, children: e }),
40635
+ }, Eke = ie.memo(Oke), m$ = ({ title: e, right: t }) => !e && !t ? null : /* @__PURE__ */ m("div", { className: J.mpHeader, children: [
40636
+ /* @__PURE__ */ c("div", { className: J.mpTitle, children: e }),
40637
40637
  /* @__PURE__ */ c("div", { children: t })
40638
40638
  ] }), f$ = (e, t = 1) => {
40639
40639
  try {
@@ -40688,7 +40688,7 @@ const ike = "_mpRoot_31595_1", cke = "_mpHeader_31595_22", rke = "_mpTitle_31595
40688
40688
  ), Wke = ({ item: e, bg: t, onClick: n, width: o, height: i, extraStyle: r }) => /* @__PURE__ */ m(
40689
40689
  "div",
40690
40690
  {
40691
- className: Y.mpSummaryCard,
40691
+ className: J.mpSummaryCard,
40692
40692
  style: {
40693
40693
  background: t,
40694
40694
  width: o ?? void 0,
@@ -40699,18 +40699,18 @@ const ike = "_mpRoot_31595_1", cke = "_mpHeader_31595_22", rke = "_mpTitle_31595
40699
40699
  tabIndex: n ? 0 : -1,
40700
40700
  onClick: () => n?.(e),
40701
40701
  children: [
40702
- /* @__PURE__ */ c("div", { className: Y.mpSummaryLabel, children: e.label }),
40702
+ /* @__PURE__ */ c("div", { className: J.mpSummaryLabel, children: e.label }),
40703
40703
  /* @__PURE__ */ c(
40704
40704
  "div",
40705
40705
  {
40706
- className: Y.mpSummaryValue,
40706
+ className: J.mpSummaryValue,
40707
40707
  style: { color: e.valueColor ?? "#2a24deff" },
40708
40708
  children: e.value
40709
40709
  }
40710
40710
  ),
40711
- e.badge && /* @__PURE__ */ m("div", { className: Y.mpSummaryBadge, children: [
40711
+ e.badge && /* @__PURE__ */ m("div", { className: J.mpSummaryBadge, children: [
40712
40712
  e.badge.text,
40713
- e.badge.subText && /* @__PURE__ */ c("div", { className: Y.mpSummaryBadgeSub, children: e.badge.subText })
40713
+ e.badge.subText && /* @__PURE__ */ c("div", { className: J.mpSummaryBadgeSub, children: e.badge.subText })
40714
40714
  ] })
40715
40715
  ]
40716
40716
  }
@@ -40904,7 +40904,7 @@ const ike = "_mpRoot_31595_1", cke = "_mpHeader_31595_22", rke = "_mpTitle_31595
40904
40904
  height: d,
40905
40905
  extraStyle: h
40906
40906
  }) => {
40907
- const p = t === "horizontal" ? Y.mpSummaryCardHorizontal : Y.mpSummaryCard;
40907
+ const p = t === "horizontal" ? J.mpSummaryCardHorizontal : J.mpSummaryCard;
40908
40908
  return /* @__PURE__ */ m(
40909
40909
  "div",
40910
40910
  {
@@ -40920,12 +40920,12 @@ const ike = "_mpRoot_31595_1", cke = "_mpHeader_31595_22", rke = "_mpTitle_31595
40920
40920
  tabIndex: r ? 0 : -1,
40921
40921
  onClick: () => r?.(e),
40922
40922
  children: [
40923
- e.badge && /* @__PURE__ */ m("div", { className: Y.mpSummaryBadge, children: [
40923
+ e.badge && /* @__PURE__ */ m("div", { className: J.mpSummaryBadge, children: [
40924
40924
  e.badge.text,
40925
- e.badge.subText && /* @__PURE__ */ c("div", { className: Y.mpSummaryBadgeSub, children: e.badge.subText })
40925
+ e.badge.subText && /* @__PURE__ */ c("div", { className: J.mpSummaryBadgeSub, children: e.badge.subText })
40926
40926
  ] }),
40927
- /* @__PURE__ */ c("div", { className: Y.mpSummaryValue, style: { color: i }, children: e.value }),
40928
- /* @__PURE__ */ c("div", { className: Y.mpSummaryLabel, children: e.label })
40927
+ /* @__PURE__ */ c("div", { className: J.mpSummaryValue, style: { color: i }, children: e.value }),
40928
+ /* @__PURE__ */ c("div", { className: J.mpSummaryLabel, children: e.label })
40929
40929
  ]
40930
40930
  }
40931
40931
  );
@@ -40950,8 +40950,8 @@ const ike = "_mpRoot_31595_1", cke = "_mpHeader_31595_22", rke = "_mpTitle_31595
40950
40950
  emptyMessage: u = "Aucun élément",
40951
40951
  renderItem: y,
40952
40952
  summary: k = !1,
40953
- summaryBgColors: g = Kke,
40954
- summaryBorderColors: f = Xke,
40953
+ summaryBgColors: f = Kke,
40954
+ summaryBorderColors: g = Xke,
40955
40955
  summaryValueColors: M = Yke,
40956
40956
  preset: _,
40957
40957
  background: v
@@ -40970,15 +40970,15 @@ const ike = "_mpRoot_31595_1", cke = "_mpHeader_31595_22", rke = "_mpTitle_31595
40970
40970
  "--mp-accent-soft": Jke(r, 0.08),
40971
40971
  "--mp-bg-primary": v
40972
40972
  }, j = [
40973
- Y.mpRoot,
40974
- z ? Y.mpVertical : Y.mpHorizontal,
40975
- s ? Y.mpCompact : "",
40976
- k ? Y.mpSummaryRoot : "",
40977
- o !== "auto" ? o === "vertical" ? Y.mpOrientationVertical : Y.mpOrientationHorizontal : "",
40973
+ J.mpRoot,
40974
+ z ? J.mpVertical : J.mpHorizontal,
40975
+ s ? J.mpCompact : "",
40976
+ k ? J.mpSummaryRoot : "",
40977
+ o !== "auto" ? o === "vertical" ? J.mpOrientationVertical : J.mpOrientationHorizontal : "",
40978
40978
  l
40979
40979
  ].filter(Boolean).join(" "), H = Me(() => y || (Gke(_) ?? void 0), [y, _]);
40980
40980
  if (k) {
40981
- const A = o === "horizontal" ? Y.mpSummaryFlex : Y.mpSummaryVertical, T = { ...(N ? {
40981
+ const A = o === "horizontal" ? J.mpSummaryFlex : J.mpSummaryVertical, T = { ...(N ? {
40982
40982
  display: "grid",
40983
40983
  gridTemplateColumns: `repeat(${N}, 1fr)`,
40984
40984
  gap: 18,
@@ -40987,17 +40987,17 @@ const ike = "_mpRoot_31595_1", cke = "_mpHeader_31595_22", rke = "_mpTitle_31595
40987
40987
  } : void 0) ?? {}, ...b ?? {} };
40988
40988
  return /* @__PURE__ */ m("div", { className: j, style: F, "aria-busy": p, children: [
40989
40989
  d && /* @__PURE__ */ c(m$, { title: d }),
40990
- /* @__PURE__ */ c("div", { className: Y.mpSummaryInner, children: /* @__PURE__ */ c(
40990
+ /* @__PURE__ */ c("div", { className: J.mpSummaryInner, children: /* @__PURE__ */ c(
40991
40991
  "div",
40992
40992
  {
40993
40993
  className: `${A} ${C ?? ""}`,
40994
40994
  style: T,
40995
- children: t.length === 0 ? /* @__PURE__ */ c("div", { className: Y.mpEmpty, children: u }) : t.map((D, B) => {
40996
- const U = D.bgColor ?? g[B % g.length], K = D.borderColor ?? f[B % f.length], oe = D.valueColor ?? M[B % M.length];
40995
+ children: t.length === 0 ? /* @__PURE__ */ c("div", { className: J.mpEmpty, children: u }) : t.map((D, B) => {
40996
+ const U = D.bgColor ?? f[B % f.length], X = D.borderColor ?? g[B % g.length], oe = D.valueColor ?? M[B % M.length];
40997
40997
  return H ? /* @__PURE__ */ c(
40998
40998
  "div",
40999
40999
  {
41000
- className: o === "horizontal" ? Y.mpSummaryCardWrapperHorizontal : Y.mpSummaryCardWrapper,
41000
+ className: o === "horizontal" ? J.mpSummaryCardWrapperHorizontal : J.mpSummaryCardWrapper,
41001
41001
  style: {
41002
41002
  width: $ ?? void 0,
41003
41003
  height: I ?? void 0,
@@ -41012,7 +41012,7 @@ const ike = "_mpRoot_31595_1", cke = "_mpHeader_31595_22", rke = "_mpTitle_31595
41012
41012
  item: D,
41013
41013
  orientation: o === "horizontal" ? "horizontal" : "vertical",
41014
41014
  bg: U,
41015
- border: K,
41015
+ border: X,
41016
41016
  valueColor: oe,
41017
41017
  onClick: h,
41018
41018
  width: $ ?? void 0,
@@ -41028,7 +41028,7 @@ const ike = "_mpRoot_31595_1", cke = "_mpHeader_31595_22", rke = "_mpTitle_31595
41028
41028
  }
41029
41029
  return /* @__PURE__ */ m("div", { className: j, style: F, "aria-busy": p, children: [
41030
41030
  d && /* @__PURE__ */ c(m$, { title: d }),
41031
- /* @__PURE__ */ c("div", { className: Y.mpList, style: b, children: p ? /* @__PURE__ */ c("div", { className: Y.mpEmpty, children: "Chargement…" }) : t.length === 0 ? /* @__PURE__ */ c("div", { className: Y.mpEmpty, children: u }) : t.map((A) => {
41031
+ /* @__PURE__ */ c("div", { className: J.mpList, style: b, children: p ? /* @__PURE__ */ c("div", { className: J.mpEmpty, children: "Chargement…" }) : t.length === 0 ? /* @__PURE__ */ c("div", { className: J.mpEmpty, children: u }) : t.map((A) => {
41032
41032
  const q = s ? {
41033
41033
  width: L ?? void 0,
41034
41034
  height: x ?? void 0,
@@ -41038,7 +41038,7 @@ const ike = "_mpRoot_31595_1", cke = "_mpHeader_31595_22", rke = "_mpTitle_31595
41038
41038
  return /* @__PURE__ */ c(
41039
41039
  "div",
41040
41040
  {
41041
- className: s ? Y.compactItemWrapper : void 0,
41041
+ className: s ? J.compactItemWrapper : void 0,
41042
41042
  style: q,
41043
41043
  children: /* @__PURE__ */ c(
41044
41044
  Eke,
@@ -41057,7 +41057,7 @@ const ike = "_mpRoot_31595_1", cke = "_mpHeader_31595_22", rke = "_mpTitle_31595
41057
41057
  ] });
41058
41058
  };
41059
41059
  ie.memo(Qke);
41060
- const NMe = ({
41060
+ const SMe = ({
41061
41061
  a11yConfig: e,
41062
41062
  width: t,
41063
41063
  height: n,
@@ -41073,7 +41073,7 @@ const NMe = ({
41073
41073
  titleKey: y,
41074
41074
  leftTitleKey: k
41075
41075
  }) => {
41076
- const g = t ? typeof t == "number" ? `${t}px` : t : void 0, f = n ? typeof n == "number" ? `${n}px` : n : void 0, M = r && typeof r == "object" && !ie.isValidElement(r) && ("text" in r || "subtext" in r || "icon" in r || "background" in r || "iconSize" in r), _ = M ? r : void 0, v = _?.icon ? Lt[_.icon] : void 0, b = 28, C = _?.iconSize ?? b, N = [
41076
+ const f = t ? typeof t == "number" ? `${t}px` : t : void 0, g = n ? typeof n == "number" ? `${n}px` : n : void 0, M = r && typeof r == "object" && !ie.isValidElement(r) && ("text" in r || "subtext" in r || "icon" in r || "background" in r || "iconSize" in r), _ = M ? r : void 0, v = _?.icon ? Lt[_.icon] : void 0, b = 28, C = _?.iconSize ?? b, N = [
41077
41077
  "chart-container",
41078
41078
  `variant-${p}`,
41079
41079
  u ? "with-border" : "",
@@ -41084,8 +41084,8 @@ const NMe = ({
41084
41084
  {
41085
41085
  className: N,
41086
41086
  style: {
41087
- width: g,
41088
- height: f,
41087
+ width: f,
41088
+ height: g,
41089
41089
  color: o.text,
41090
41090
  background: o.background,
41091
41091
  display: "flex",
@@ -41161,8 +41161,8 @@ const NMe = ({
41161
41161
  colorTextSub: u,
41162
41162
  model: y,
41163
41163
  fontSize: k,
41164
- fontWeight: g,
41165
- a11yConfig: f,
41164
+ fontWeight: f,
41165
+ a11yConfig: g,
41166
41166
  titleKey: M
41167
41167
  }) => {
41168
41168
  const _ = o || y?.icon, v = typeof _ == "string", b = v ? Lt[_] : null, C = v ? null : _;
@@ -41179,7 +41179,7 @@ const NMe = ({
41179
41179
  },
41180
41180
  role: "alert",
41181
41181
  onClick: d,
41182
- title: ne(f, M),
41182
+ title: ne(g, M),
41183
41183
  children: [
41184
41184
  b && /* @__PURE__ */ c(
41185
41185
  b,
@@ -41210,7 +41210,7 @@ const NMe = ({
41210
41210
  style: {
41211
41211
  color: p || y?.colorTextPrimary,
41212
41212
  fontSize: k,
41213
- fontWeight: g
41213
+ fontWeight: f
41214
41214
  },
41215
41215
  children: i
41216
41216
  }
@@ -41221,7 +41221,7 @@ const NMe = ({
41221
41221
  ]
41222
41222
  }
41223
41223
  );
41224
- }, PA = Ye(null), e3e = (e = "alert") => `${e}_${Math.random().toString(36).slice(2, 9)}`, IMe = ({
41224
+ }, PA = Ye(null), e3e = (e = "alert") => `${e}_${Math.random().toString(36).slice(2, 9)}`, $Me = ({
41225
41225
  children: e,
41226
41226
  defaultDuration: t = 4e3,
41227
41227
  maxAlerts: n,
@@ -41236,7 +41236,7 @@ const NMe = ({
41236
41236
  const $ = w === void 0 || w === 0 ? t : w;
41237
41237
  if ($ === -1) return;
41238
41238
  const I = window.setTimeout(() => {
41239
- g(x);
41239
+ f(x);
41240
41240
  }, $);
41241
41241
  d.current.set(x, I);
41242
41242
  }, y = (x) => {
@@ -41248,9 +41248,9 @@ const NMe = ({
41248
41248
  const S = [$, ...I], z = p.current;
41249
41249
  return typeof z == "number" && z >= 0 && S.length > z ? (S.slice(z).forEach((j) => y(j.id)), S.slice(0, z)) : S;
41250
41250
  }), u(w, x.duration), w;
41251
- }, g = (x) => {
41251
+ }, f = (x) => {
41252
41252
  y(x), s((w) => w.filter(($) => $.id !== x));
41253
- }, f = (x, w) => {
41253
+ }, g = (x, w) => {
41254
41254
  s(($) => $.map((I) => I.id === x ? { ...I, ...w } : I));
41255
41255
  }, M = () => {
41256
41256
  d.current.forEach((x) => window.clearTimeout(x)), d.current.clear(), s([]);
@@ -41259,8 +41259,8 @@ const NMe = ({
41259
41259
  }, v = () => r.slice(), b = Me(
41260
41260
  () => ({
41261
41261
  showAlert: k,
41262
- dismissAlert: g,
41263
- updateAlert: f,
41262
+ dismissAlert: f,
41263
+ updateAlert: g,
41264
41264
  clearAlerts: M,
41265
41265
  setContainerRef: _,
41266
41266
  getAlertsSnapshot: v
@@ -41314,7 +41314,7 @@ const NMe = ({
41314
41314
  colorTextPrimary: x.colorTextPrimary,
41315
41315
  colorTextSub: x.colorTextSub,
41316
41316
  model: x.model,
41317
- onClose: () => g(x.id),
41317
+ onClose: () => f(x.id),
41318
41318
  size: "100%",
41319
41319
  style: { boxShadow: "none" }
41320
41320
  }
@@ -41343,11 +41343,11 @@ const NMe = ({
41343
41343
  C ? kC(N, C) : L,
41344
41344
  e
41345
41345
  ] });
41346
- }, SMe = () => {
41346
+ }, qMe = () => {
41347
41347
  const e = xe(PA);
41348
41348
  if (!e) throw new Error("useAlerts must be used inside an AlertsProvider");
41349
41349
  return e;
41350
- }, $Me = {
41350
+ }, AMe = {
41351
41351
  default: {
41352
41352
  background: "#f3f4f6",
41353
41353
  icon: "Info",
@@ -41382,7 +41382,7 @@ const NMe = ({
41382
41382
  container: t3e,
41383
41383
  icon: a3e,
41384
41384
  selectWrapper: n3e
41385
- }, qMe = ({
41385
+ }, zMe = ({
41386
41386
  options: e,
41387
41387
  defaultValue: t,
41388
41388
  onChange: n,
@@ -41407,7 +41407,7 @@ const NMe = ({
41407
41407
  }
41408
41408
  ) })
41409
41409
  ] });
41410
- }, o3e = 250, AMe = ec(
41410
+ }, o3e = 250, VMe = ec(
41411
41411
  ({
41412
41412
  title: e,
41413
41413
  subtitle: t,
@@ -41422,7 +41422,7 @@ const NMe = ({
41422
41422
  closeOnOverlayClick: p = !0,
41423
41423
  showCloseButton: u = !0
41424
41424
  }, y) => {
41425
- const [k, g] = V(!1), [f, M] = V(!1), _ = E(null), v = E(null), b = E(null), C = E(null);
41425
+ const [k, f] = V(!1), [g, M] = V(!1), _ = E(null), v = E(null), b = E(null), C = E(null);
41426
41426
  O(() => {
41427
41427
  const x = _.current;
41428
41428
  if (!x) return;
@@ -41437,13 +41437,13 @@ const NMe = ({
41437
41437
  y,
41438
41438
  () => ({
41439
41439
  open: () => {
41440
- k || (o?.(), M(!1), g(!0));
41440
+ k || (o?.(), M(!1), f(!0));
41441
41441
  },
41442
41442
  close: () => {
41443
- k && (r?.(), M(!1), g(!1));
41443
+ k && (r?.(), M(!1), f(!1));
41444
41444
  },
41445
41445
  toggle: () => {
41446
- k ? (r?.(), M(!1), g(!1)) : (o?.(), M(!1), g(!0));
41446
+ k ? (r?.(), M(!1), f(!1)) : (o?.(), M(!1), f(!0));
41447
41447
  }
41448
41448
  }),
41449
41449
  [k, o, r]
@@ -41485,12 +41485,12 @@ const NMe = ({
41485
41485
  };
41486
41486
  }, [k, i, s]), O(() => {
41487
41487
  const x = (w) => {
41488
- w.key === "Escape" && k && (r?.(), M(!1), g(!1));
41488
+ w.key === "Escape" && k && (r?.(), M(!1), f(!1));
41489
41489
  };
41490
41490
  return window.addEventListener("keydown", x), () => window.removeEventListener("keydown", x);
41491
41491
  }, [k, r]);
41492
41492
  const N = () => {
41493
- p && (r?.(), M(!1), g(!1));
41493
+ p && (r?.(), M(!1), f(!1));
41494
41494
  }, L = typeof n == "number" ? `${n}px` : n;
41495
41495
  return /* @__PURE__ */ m("div", { ref: _, className: `scp-inline-root ${k ? "open" : ""}`, "aria-hidden": !k, children: [
41496
41496
  /* @__PURE__ */ c(
@@ -41504,7 +41504,7 @@ const NMe = ({
41504
41504
  /* @__PURE__ */ m(
41505
41505
  "aside",
41506
41506
  {
41507
- className: `scp-panel ${k ? "in" : "out"} ${f ? "interactive" : ""} ${h}`,
41507
+ className: `scp-panel ${k ? "in" : "out"} ${g ? "interactive" : ""} ${h}`,
41508
41508
  style: { width: L, ...d },
41509
41509
  ref: v,
41510
41510
  tabIndex: -1,
@@ -41522,7 +41522,7 @@ const NMe = ({
41522
41522
  className: "scp-close",
41523
41523
  "aria-label": "Close",
41524
41524
  onClick: () => {
41525
- r?.(), M(!1), g(!1);
41525
+ r?.(), M(!1), f(!1);
41526
41526
  },
41527
41527
  children: /* @__PURE__ */ c(ot, { size: 18 })
41528
41528
  }
@@ -41535,7 +41535,7 @@ const NMe = ({
41535
41535
  ] });
41536
41536
  }
41537
41537
  );
41538
- function zMe(e) {
41538
+ function PMe(e) {
41539
41539
  const t = E("");
41540
41540
  O(() => {
41541
41541
  if (e) {
@@ -41548,7 +41548,7 @@ function zMe(e) {
41548
41548
  const i3e = "_container_1pfsp_1", c3e = "_title_1pfsp_8", _$ = {
41549
41549
  container: i3e,
41550
41550
  title: c3e
41551
- }, VMe = ({
41551
+ }, HMe = ({
41552
41552
  title: e,
41553
41553
  fontSize: t,
41554
41554
  barColor: n,
@@ -41585,7 +41585,7 @@ const i3e = "_container_1pfsp_1", c3e = "_title_1pfsp_8", _$ = {
41585
41585
  confirmText: l = "Valider",
41586
41586
  cancelText: p = "Annuler"
41587
41587
  }) => {
41588
- const [u, y] = V({}), k = E(null), [g, f] = V(!1), [M, _] = V(!1), v = E(null);
41588
+ const [u, y] = V({}), k = E(null), [f, g] = V(!1), [M, _] = V(!1), v = E(null);
41589
41589
  if (O(() => {
41590
41590
  if (!e) return;
41591
41591
  const x = {};
@@ -41611,15 +41611,15 @@ const i3e = "_container_1pfsp_1", c3e = "_title_1pfsp_8", _$ = {
41611
41611
  }, C = async () => {
41612
41612
  if (!Object.values(u).some((x) => x === "" || x === void 0))
41613
41613
  try {
41614
- f(!0);
41614
+ g(!0);
41615
41615
  const x = await n(u);
41616
41616
  if (typeof x == "string" && x === "duplicate-same") {
41617
- f(!1);
41617
+ g(!1);
41618
41618
  return;
41619
41619
  }
41620
- y({}), f(!1), t();
41620
+ y({}), g(!1), t();
41621
41621
  } catch (x) {
41622
- console.error("AddItemModal onSave error:", x), f(!1), t();
41622
+ console.error("AddItemModal onSave error:", x), g(!1), t();
41623
41623
  }
41624
41624
  }, N = (x) => {
41625
41625
  x.target === x.currentTarget && t();
@@ -41641,7 +41641,7 @@ const i3e = "_container_1pfsp_1", c3e = "_title_1pfsp_8", _$ = {
41641
41641
  onChange: (z) => b(x.name, z.target.value),
41642
41642
  className: x.type === "textarea" ? `${rt.modalTextarea} ${I ? rt.inputError : ""}` : `${rt.modalInput} ${I ? rt.inputError : ""}`,
41643
41643
  tabIndex: 0,
41644
- disabled: g
41644
+ disabled: f
41645
41645
  };
41646
41646
  return w === 0 && (S.ref = (z) => {
41647
41647
  k.current = z;
@@ -41666,7 +41666,7 @@ const i3e = "_container_1pfsp_1", c3e = "_title_1pfsp_8", _$ = {
41666
41666
  className: rt.cancelBtn,
41667
41667
  onClick: t,
41668
41668
  type: "button",
41669
- disabled: g,
41669
+ disabled: f,
41670
41670
  children: p
41671
41671
  }
41672
41672
  ),
@@ -41676,15 +41676,15 @@ const i3e = "_container_1pfsp_1", c3e = "_title_1pfsp_8", _$ = {
41676
41676
  className: rt.saveBtn,
41677
41677
  onClick: C,
41678
41678
  type: "button",
41679
- disabled: g || !!d,
41680
- children: g ? "En cours..." : l
41679
+ disabled: f || !!d,
41680
+ children: f ? "En cours..." : l
41681
41681
  }
41682
41682
  )
41683
41683
  ] })
41684
41684
  ] })
41685
41685
  }
41686
41686
  );
41687
- }, PMe = ({
41687
+ }, TMe = ({
41688
41688
  title: e,
41689
41689
  keyCount: t,
41690
41690
  onAddKey: n,
@@ -41717,7 +41717,7 @@ const i3e = "_container_1pfsp_1", c3e = "_title_1pfsp_8", _$ = {
41717
41717
  }
41718
41718
  )
41719
41719
  ] });
41720
- }, HMe = ({
41720
+ }, jMe = ({
41721
41721
  modules: e,
41722
41722
  onEdit: t,
41723
41723
  onDelete: n,
@@ -41726,7 +41726,7 @@ const i3e = "_container_1pfsp_1", c3e = "_title_1pfsp_8", _$ = {
41726
41726
  addModalFields: r,
41727
41727
  addModalTitle: s
41728
41728
  }) => {
41729
- const [d, h] = V(!1), [l, p] = V(null), [u, y] = V(null), [k, g] = V(!1), f = () => h(!0), M = () => h(!1), _ = (x) => {
41729
+ const [d, h] = V(!1), [l, p] = V(null), [u, y] = V(null), [k, f] = V(!1), g = () => h(!0), M = () => h(!1), _ = (x) => {
41730
41730
  if (o) {
41731
41731
  const w = x.code?.trim() || x.id?.trim(), $ = x.title?.trim(), I = w || $ || String(Date.now()), S = $ || w || `Module ${I}`;
41732
41732
  o({
@@ -41755,7 +41755,7 @@ const i3e = "_container_1pfsp_1", c3e = "_title_1pfsp_8", _$ = {
41755
41755
  }, L = (x) => {
41756
41756
  y(x.id), i && i(x);
41757
41757
  };
41758
- return k ? /* @__PURE__ */ c("div", { className: "module-sidebar collapsed", children: /* @__PURE__ */ c(di, { size: 20, className: "menu-toggle", onClick: () => g(!1) }) }) : /* @__PURE__ */ m("div", { className: "module-sidebar", children: [
41758
+ return k ? /* @__PURE__ */ c("div", { className: "module-sidebar collapsed", children: /* @__PURE__ */ c(di, { size: 20, className: "menu-toggle", onClick: () => f(!1) }) }) : /* @__PURE__ */ m("div", { className: "module-sidebar", children: [
41759
41759
  /* @__PURE__ */ m("div", { className: "sidebar-header", children: [
41760
41760
  /* @__PURE__ */ m("span", { className: "header-text", children: [
41761
41761
  "Modules (",
@@ -41763,8 +41763,8 @@ const i3e = "_container_1pfsp_1", c3e = "_title_1pfsp_8", _$ = {
41763
41763
  ")"
41764
41764
  ] }),
41765
41765
  /* @__PURE__ */ m("div", { className: "header-actions", children: [
41766
- /* @__PURE__ */ c(si, { size: 18, className: "header-folder", onClick: f }),
41767
- /* @__PURE__ */ c(di, { size: 18, className: "header-menu", onClick: () => g(!0) })
41766
+ /* @__PURE__ */ c(si, { size: 18, className: "header-folder", onClick: g }),
41767
+ /* @__PURE__ */ c(di, { size: 18, className: "header-menu", onClick: () => f(!0) })
41768
41768
  ] })
41769
41769
  ] }),
41770
41770
  /* @__PURE__ */ c("hr", { className: "divider" }),
@@ -41859,7 +41859,7 @@ const i3e = "_container_1pfsp_1", c3e = "_title_1pfsp_8", _$ = {
41859
41859
  )
41860
41860
  ]
41861
41861
  }
41862
- ), TMe = ({
41862
+ ), DMe = ({
41863
41863
  keyName: e,
41864
41864
  translations: t,
41865
41865
  availableLanguages: n,
@@ -41871,38 +41871,38 @@ const i3e = "_container_1pfsp_1", c3e = "_title_1pfsp_8", _$ = {
41871
41871
  draggable: h = !1,
41872
41872
  checkDuplicateLocal: l
41873
41873
  }) => {
41874
- const [p, u] = V(!1), [y, k] = V(""), [g, f] = V(null), [M, _] = V(""), [v, b] = V(""), [C, N] = V(!1), [L, x] = V(!1), [w, $] = V(null), [I, S] = V(!1), z = t.map((B) => B.language), F = n.filter((B) => !z.includes(B.code)), j = () => {
41874
+ const [p, u] = V(!1), [y, k] = V(""), [f, g] = V(null), [M, _] = V(""), [v, b] = V(""), [C, N] = V(!1), [L, x] = V(!1), [w, $] = V(null), [I, S] = V(!1), z = t.map((B) => B.language), F = n.filter((B) => !z.includes(B.code)), j = () => {
41875
41875
  y && v.trim() && (d?.(e, y, v.trim()), k(""), b(""), u(!1));
41876
41876
  }, H = (B, U) => {
41877
- f(B), _(U);
41877
+ g(B), _(U);
41878
41878
  }, A = (B) => {
41879
- r?.(e, B, M), f(null), _("");
41879
+ r?.(e, B, M), g(null), _("");
41880
41880
  }, q = () => {
41881
- f(null), _("");
41881
+ g(null), _("");
41882
41882
  }, T = async (B) => {
41883
41883
  const U = B.name?.trim();
41884
41884
  if (U) {
41885
41885
  if ($(null), S(!1), U === e || !i)
41886
41886
  return N(!1), "ok";
41887
41887
  try {
41888
- const K = await i(e, U);
41889
- if (typeof K == "string" && K === "ok")
41888
+ const X = await i(e, U);
41889
+ if (typeof X == "string" && X === "ok")
41890
41890
  N(!1), $(null);
41891
41891
  else {
41892
- if (typeof K == "string" && K === "duplicate-same")
41892
+ if (typeof X == "string" && X === "duplicate-same")
41893
41893
  return $("Une clé existe déjà dans ce module."), S(!0), "duplicate-same";
41894
- if (typeof K == "string" && K === "duplicate-other")
41894
+ if (typeof X == "string" && X === "duplicate-other")
41895
41895
  return N(!1), $(null), "duplicate-other";
41896
41896
  N(!1);
41897
41897
  }
41898
- } catch (K) {
41899
- console.error("Erreur handleRenameSave:", K), $("Erreur lors du renommage.");
41898
+ } catch (X) {
41899
+ console.error("Erreur handleRenameSave:", X), $("Erreur lors du renommage.");
41900
41900
  }
41901
41901
  }
41902
41902
  }, D = (B, U) => {
41903
41903
  if (B !== "name") return;
41904
- const K = U.trim();
41905
- $(null), S(!1), K && typeof l == "function" && (l(K, e) ? ($("Une clé existe déjà dans ce module."), S(!0)) : ($(null), S(!1)));
41904
+ const X = U.trim();
41905
+ $(null), S(!1), X && typeof l == "function" && (l(X, e) ? ($("Une clé existe déjà dans ce module."), S(!0)) : ($(null), S(!1)));
41906
41906
  };
41907
41907
  return /* @__PURE__ */ m(
41908
41908
  "div",
@@ -41950,7 +41950,7 @@ const i3e = "_container_1pfsp_1", c3e = "_title_1pfsp_8", _$ = {
41950
41950
  /* @__PURE__ */ c("div", { className: `translations-container ${L ? "" : "expanded"}`, children: !h && /* @__PURE__ */ m(Fe, { children: [
41951
41951
  t.map((B) => /* @__PURE__ */ m("div", { className: "translation-row", children: [
41952
41952
  /* @__PURE__ */ c("div", { className: "language-code", children: B.language }),
41953
- /* @__PURE__ */ c("div", { className: "translation-content", children: g === B.language ? /* @__PURE__ */ m(Fe, { children: [
41953
+ /* @__PURE__ */ c("div", { className: "translation-content", children: f === B.language ? /* @__PURE__ */ m(Fe, { children: [
41954
41954
  /* @__PURE__ */ c(
41955
41955
  "input",
41956
41956
  {
@@ -42101,7 +42101,7 @@ const i3e = "_container_1pfsp_1", c3e = "_title_1pfsp_8", _$ = {
42101
42101
  searchInput: $3e,
42102
42102
  searchIcon: q3e
42103
42103
  };
42104
- function jMe({ onDateChange: e, onSearch: t, initialDate: n }) {
42104
+ function BMe({ onDateChange: e, onSearch: t, initialDate: n }) {
42105
42105
  const [o, i] = V(!1), [r, s] = V(n ?? ""), d = E(null);
42106
42106
  O(() => {
42107
42107
  function u(y) {
@@ -42201,7 +42201,7 @@ function jMe({ onDateChange: e, onSearch: t, initialDate: n }) {
42201
42201
  ] }) })
42202
42202
  ] });
42203
42203
  }
42204
- const DMe = ({
42204
+ const FMe = ({
42205
42205
  className: e = "",
42206
42206
  style: t = {},
42207
42207
  title: n,
@@ -42217,8 +42217,8 @@ const DMe = ({
42217
42217
  emptyContent: y,
42218
42218
  colGap: k = "1rem"
42219
42219
  }) => {
42220
- const g = Array.isArray(r) ? r : [], f = g.length === 0, M = g.every((C) => typeof C == "string"), _ = g.some((C) => Array.isArray(C)), v = (C, N, L) => d ? d(C, N, L) : /* @__PURE__ */ c("span", { className: "slb-cell-text", children: C }), b = k ? { "--col-gap": k } : void 0;
42221
- return f ? /* @__PURE__ */ m("div", { className: `slb-root ${e}`, style: { ...t, background: h ?? void 0 }, children: [
42220
+ const f = Array.isArray(r) ? r : [], g = f.length === 0, M = f.every((C) => typeof C == "string"), _ = f.some((C) => Array.isArray(C)), v = (C, N, L) => d ? d(C, N, L) : /* @__PURE__ */ c("span", { className: "slb-cell-text", children: C }), b = k ? { "--col-gap": k } : void 0;
42221
+ return g ? /* @__PURE__ */ m("div", { className: `slb-root ${e}`, style: { ...t, background: h ?? void 0 }, children: [
42222
42222
  n && /* @__PURE__ */ c(
42223
42223
  "div",
42224
42224
  {
@@ -42241,7 +42241,7 @@ const DMe = ({
42241
42241
  children: n
42242
42242
  }
42243
42243
  ),
42244
- /* @__PURE__ */ c("ul", { className: "slb-list", children: g.map((C, N) => /* @__PURE__ */ c(
42244
+ /* @__PURE__ */ c("ul", { className: "slb-list", children: f.map((C, N) => /* @__PURE__ */ c(
42245
42245
  "li",
42246
42246
  {
42247
42247
  className: `slb-item ${s[N] || ""}`,
@@ -42259,7 +42259,7 @@ const DMe = ({
42259
42259
  children: n
42260
42260
  }
42261
42261
  ),
42262
- /* @__PURE__ */ c("div", { className: "slb-grid", style: b, children: g.map((C, N) => {
42262
+ /* @__PURE__ */ c("div", { className: "slb-grid", style: b, children: f.map((C, N) => {
42263
42263
  const L = s[N] || "";
42264
42264
  if (Array.isArray(C)) {
42265
42265
  const [x, w] = C;
@@ -42290,7 +42290,7 @@ const DMe = ({
42290
42290
  );
42291
42291
  }) })
42292
42292
  ] });
42293
- }, BMe = ({
42293
+ }, RMe = ({
42294
42294
  className: e = "",
42295
42295
  style: t = {},
42296
42296
  title: n,
@@ -42304,13 +42304,13 @@ const DMe = ({
42304
42304
  lineClasses: p = {},
42305
42305
  colGap: u = "1rem"
42306
42306
  }) => {
42307
- const y = i.some((g) => Array.isArray(g)), k = u ? { "--col-gap": u } : void 0;
42307
+ const y = i.some((f) => Array.isArray(f)), k = u ? { "--col-gap": u } : void 0;
42308
42308
  return /* @__PURE__ */ m("div", { className: `clb-root ${e}`, style: { ...t }, children: [
42309
42309
  n && /* @__PURE__ */ c("div", { className: "clb-title", style: o ? { color: o } : void 0, children: n }),
42310
- /* @__PURE__ */ c("div", { className: "clb-grid", style: k, children: i.map((g, f) => {
42311
- const M = p[f] || "";
42312
- if (Array.isArray(g)) {
42313
- const [_, v] = g, b = s[f] || r;
42310
+ /* @__PURE__ */ c("div", { className: "clb-grid", style: k, children: i.map((f, g) => {
42311
+ const M = p[g] || "";
42312
+ if (Array.isArray(f)) {
42313
+ const [_, v] = f, b = s[g] || r;
42314
42314
  return /* @__PURE__ */ m(
42315
42315
  "div",
42316
42316
  {
@@ -42333,7 +42333,7 @@ const DMe = ({
42333
42333
  /* @__PURE__ */ c("div", { className: "clb-text", children: v })
42334
42334
  ]
42335
42335
  },
42336
- f
42336
+ g
42337
42337
  );
42338
42338
  }
42339
42339
  return y ? /* @__PURE__ */ m(
@@ -42343,22 +42343,22 @@ const DMe = ({
42343
42343
  style: { background: l ?? void 0 },
42344
42344
  children: [
42345
42345
  /* @__PURE__ */ c("div", { className: "clb-badge-col clb-empty-badge" }),
42346
- /* @__PURE__ */ c("div", { className: "clb-text", children: g })
42346
+ /* @__PURE__ */ c("div", { className: "clb-text", children: f })
42347
42347
  ]
42348
42348
  },
42349
- f
42349
+ g
42350
42350
  ) : /* @__PURE__ */ c(
42351
42351
  "div",
42352
42352
  {
42353
42353
  className: `clb-fullrow ${M}`,
42354
42354
  style: { background: l ?? void 0 },
42355
- children: /* @__PURE__ */ c("span", { children: g })
42355
+ children: /* @__PURE__ */ c("span", { children: f })
42356
42356
  },
42357
- f
42357
+ g
42358
42358
  );
42359
42359
  }) })
42360
42360
  ] });
42361
- }, FMe = ({
42361
+ }, OMe = ({
42362
42362
  className: e = "",
42363
42363
  style: t = {},
42364
42364
  title: n,
@@ -42411,12 +42411,12 @@ const DMe = ({
42411
42411
  );
42412
42412
  }) })
42413
42413
  ] });
42414
- }, RMe = ({
42414
+ }, EMe = ({
42415
42415
  className: e = "",
42416
42416
  style: t = {},
42417
42417
  children: n,
42418
42418
  gap: o = "1rem"
42419
- }) => /* @__PURE__ */ c("div", { className: `frc-root ${e}`, style: { ...t, "--frc-gap": o }, children: ie.Children.map(n, (i) => /* @__PURE__ */ c("div", { className: "frc-item", children: i })) }), OMe = ({
42419
+ }) => /* @__PURE__ */ c("div", { className: `frc-root ${e}`, style: { ...t, "--frc-gap": o }, children: ie.Children.map(n, (i) => /* @__PURE__ */ c("div", { className: "frc-item", children: i })) }), UMe = ({
42420
42420
  className: e = "",
42421
42421
  style: t = {},
42422
42422
  children: n,
@@ -42446,7 +42446,7 @@ const DMe = ({
42446
42446
  warning: F3e,
42447
42447
  danger: R3e,
42448
42448
  info: O3e
42449
- }, EMe = ({
42449
+ }, WMe = ({
42450
42450
  isOpen: e,
42451
42451
  title: t,
42452
42452
  message: n,
@@ -42481,7 +42481,7 @@ const DMe = ({
42481
42481
  ] })
42482
42482
  }
42483
42483
  );
42484
- }, UMe = () => {
42484
+ }, GMe = () => {
42485
42485
  const [e, t] = V({
42486
42486
  isOpen: !1,
42487
42487
  title: "",
@@ -42548,7 +42548,7 @@ const DMe = ({
42548
42548
  width64: xme,
42549
42549
  width80: bme,
42550
42550
  width96: wme
42551
- }, WMe = ({
42551
+ }, ZMe = ({
42552
42552
  options: e,
42553
42553
  value: t,
42554
42554
  onChange: n,
@@ -42561,7 +42561,7 @@ const DMe = ({
42561
42561
  variant: l = "default",
42562
42562
  width: p = "w-full"
42563
42563
  }) => {
42564
- const [u, y] = V(!1), [k, g] = V(""), [f, M] = V(0), [_, v] = V({ top: 0, left: 0, width: 0 }), b = E(null), C = E(null), N = E(null), L = Me(() => k ? e.filter(
42564
+ const [u, y] = V(!1), [k, f] = V(""), [g, M] = V(0), [_, v] = V({ top: 0, left: 0, width: 0 }), b = E(null), C = E(null), N = E(null), L = Me(() => k ? e.filter(
42565
42565
  (A) => A.label.toLowerCase().includes(k.toLowerCase())
42566
42566
  ) : e, [e, k]), x = e.find((A) => A.value === t), w = Oe(() => {
42567
42567
  if (b.current) {
@@ -42577,16 +42577,16 @@ const DMe = ({
42577
42577
  window.removeEventListener("scroll", w, !0), window.removeEventListener("resize", w);
42578
42578
  }), [u, w]), O(() => {
42579
42579
  const A = (q) => {
42580
- b.current && !b.current.contains(q.target) && C.current && !C.current.contains(q.target) && (y(!1), g(""));
42580
+ b.current && !b.current.contains(q.target) && C.current && !C.current.contains(q.target) && (y(!1), f(""));
42581
42581
  };
42582
42582
  return document.addEventListener("mousedown", A), () => document.removeEventListener("mousedown", A);
42583
42583
  }, []), O(() => {
42584
42584
  M(0);
42585
42585
  }, [L]);
42586
42586
  const $ = (A) => {
42587
- A.disabled || (n?.(A.value, A), y(!1), g(""));
42587
+ A.disabled || (n?.(A.value, A), y(!1), f(""));
42588
42588
  }, I = (A) => {
42589
- g(A.target.value), u || y(!0);
42589
+ f(A.target.value), u || y(!0);
42590
42590
  }, S = (A) => {
42591
42591
  if (!u) {
42592
42592
  (A.key === "ArrowDown" || A.key === "Enter") && y(!0);
@@ -42600,10 +42600,10 @@ const DMe = ({
42600
42600
  A.preventDefault(), M((q) => q > 0 ? q - 1 : q);
42601
42601
  break;
42602
42602
  case "Enter":
42603
- A.preventDefault(), L[f] && $(L[f]);
42603
+ A.preventDefault(), L[g] && $(L[g]);
42604
42604
  break;
42605
42605
  case "Escape":
42606
- y(!1), g("");
42606
+ y(!1), f("");
42607
42607
  break;
42608
42608
  }
42609
42609
  }, z = () => [
@@ -42626,7 +42626,7 @@ const DMe = ({
42626
42626
  }
42627
42627
  }, j = (A, q) => [
42628
42628
  pe.option,
42629
- q === f ? pe.optionHighlighted : "",
42629
+ q === g ? pe.optionHighlighted : "",
42630
42630
  A.value === t ? pe.optionSelected : "",
42631
42631
  A.disabled ? pe.optionDisabled : ""
42632
42632
  ].filter(Boolean).join(" "), H = {
@@ -42752,7 +42752,7 @@ const DMe = ({
42752
42752
  subValue: Sme,
42753
42753
  subValueWrapper: $me,
42754
42754
  subSeparator: qme
42755
- }, GMe = ({
42755
+ }, KMe = ({
42756
42756
  dms: e,
42757
42757
  stats: t = [],
42758
42758
  itemWidth: n = "120px",
@@ -42767,11 +42767,11 @@ const DMe = ({
42767
42767
  // texte principal noir
42768
42768
  }) => {
42769
42769
  const p = (u, y, k) => {
42770
- const [g, f] = u.split("/").map((M) => M.trim());
42770
+ const [f, g] = u.split("/").map((M) => M.trim());
42771
42771
  return /* @__PURE__ */ m("span", { className: tt.subValueWrapper, children: [
42772
- /* @__PURE__ */ c("span", { className: tt.subLeft, style: { color: y }, children: g }),
42772
+ /* @__PURE__ */ c("span", { className: tt.subLeft, style: { color: y }, children: f }),
42773
42773
  /* @__PURE__ */ c("span", { className: tt.subSeparator, children: " / " }),
42774
- /* @__PURE__ */ c("span", { className: tt.subRight, style: { color: k }, children: f })
42774
+ /* @__PURE__ */ c("span", { className: tt.subRight, style: { color: k }, children: g })
42775
42775
  ] });
42776
42776
  };
42777
42777
  return /* @__PURE__ */ m("div", { className: tt.container, style: { backgroundColor: d }, children: [
@@ -42839,7 +42839,7 @@ function Ome() {
42839
42839
  /* @__PURE__ */ c("path", { d: "M8 12h8", stroke: "currentColor", strokeWidth: "1.6", strokeLinecap: "round" })
42840
42840
  ] });
42841
42841
  }
42842
- function ZMe(e) {
42842
+ function XMe(e) {
42843
42843
  const {
42844
42844
  title: t,
42845
42845
  titleColor: n,
@@ -42854,14 +42854,14 @@ function ZMe(e) {
42854
42854
  defaultLabelFontWeight: u,
42855
42855
  data: y,
42856
42856
  style: k,
42857
- bg: g = "#ffffff",
42858
- width: f,
42857
+ bg: f = "#ffffff",
42858
+ width: g,
42859
42859
  gap: M,
42860
42860
  className: _,
42861
42861
  ariaLabel: v
42862
42862
  } = e, b = r ? Lt[r] : void 0, C = {
42863
- background: g,
42864
- width: Do(f),
42863
+ background: f,
42864
+ width: Do(g),
42865
42865
  ...k
42866
42866
  }, N = {};
42867
42867
  n && (N.color = n), o !== void 0 && (N.fontSize = Do(o)), i !== void 0 && (N.fontWeight = i);
@@ -42913,7 +42913,7 @@ function ZMe(e) {
42913
42913
  }
42914
42914
  );
42915
42915
  }
42916
- const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ te.createElement("path", { d: "M480-360 280-559h400z" })), Ume = ze(Eme), Wme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ te.createElement("path", { d: "m280-400 200-201 200 201z" })), Gme = ze(Wme), Zme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 16 16", ...e }, /* @__PURE__ */ te.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" })), Kme = ze(Zme), Xme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 16 16", ...e }, /* @__PURE__ */ te.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" })), Yme = ze(Xme), KMe = ({
42916
+ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ te.createElement("path", { d: "M480-360 280-559h400z" })), Ume = ze(Eme), Wme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ te.createElement("path", { d: "m280-400 200-201 200 201z" })), Gme = ze(Wme), Zme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 16 16", ...e }, /* @__PURE__ */ te.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" })), Kme = ze(Zme), Xme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 16 16", ...e }, /* @__PURE__ */ te.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" })), Yme = ze(Xme), YMe = ({
42917
42917
  items: e,
42918
42918
  onSave: t,
42919
42919
  loading: n,
@@ -42932,14 +42932,14 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
42932
42932
  style: l,
42933
42933
  a11yConfig: p
42934
42934
  }) => {
42935
- const [u, y] = V(!1), [k, g] = V(e), [f, M] = V(!1);
42935
+ const [u, y] = V(!1), [k, f] = V(e), [g, M] = V(!1);
42936
42936
  if (O(() => {
42937
42937
  M(!0);
42938
42938
  }, []), O(() => {
42939
- g(e);
42940
- }, [e]), !f) return null;
42939
+ f(e);
42940
+ }, [e]), !g) return null;
42941
42941
  const _ = (C, N) => {
42942
- N < 4 || g(
42942
+ N < 4 || f(
42943
42943
  (L) => L.map((x) => x.component_key === C ? { ...x, visible: !x.visible } : x)
42944
42944
  );
42945
42945
  }, v = () => {
@@ -43141,8 +43141,8 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
43141
43141
  className: u = "",
43142
43142
  style: y,
43143
43143
  titleColor: k = "white",
43144
- valueColor: g = "white",
43145
- titleFontSize: f,
43144
+ valueColor: f = "white",
43145
+ titleFontSize: g,
43146
43146
  titleFontWeight: M,
43147
43147
  valueFontSize: _,
43148
43148
  valueFontWeight: v,
@@ -43185,7 +43185,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
43185
43185
  "aria-label": e?.description,
43186
43186
  style: {
43187
43187
  color: k,
43188
- ...f ? { fontSize: f } : {},
43188
+ ...g ? { fontSize: g } : {},
43189
43189
  ...M ? { fontWeight: M } : {}
43190
43190
  },
43191
43191
  children: n
@@ -43200,7 +43200,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
43200
43200
  {
43201
43201
  className: Be.valueArea,
43202
43202
  style: {
43203
- color: g,
43203
+ color: f,
43204
43204
  ..._ ? { fontSize: _ } : {},
43205
43205
  ...v ? { fontWeight: v } : {}
43206
43206
  },
@@ -43357,7 +43357,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
43357
43357
  l.id ?? `${l.label}-${p}`
43358
43358
  )) })
43359
43359
  ] });
43360
- }, XMe = ({
43360
+ }, JMe = ({
43361
43361
  items: e,
43362
43362
  footerLabel: t,
43363
43363
  width: n,
@@ -43373,39 +43373,39 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
43373
43373
  noPaddingLeftRight: y = !1,
43374
43374
  onItemClick: k
43375
43375
  }) => {
43376
- const g = {
43376
+ const f = {
43377
43377
  width: n ?? i,
43378
43378
  height: o,
43379
43379
  backgroundColor: d ?? "var(--ds-navy)",
43380
43380
  ...r
43381
- }, f = e[0], M = e[1], _ = e.slice(2, 5);
43381
+ }, g = e[0], M = e[1], _ = e.slice(2, 5);
43382
43382
  return /* @__PURE__ */ m(
43383
43383
  "div",
43384
43384
  {
43385
- style: g,
43385
+ style: f,
43386
43386
  className: `${pc.container} ${y ? pc.noPaddingMobile : ""} ${s}`,
43387
43387
  children: [
43388
43388
  /* @__PURE__ */ m("div", { className: pc.card, children: [
43389
- f ? /* @__PURE__ */ c(
43389
+ g ? /* @__PURE__ */ c(
43390
43390
  Po,
43391
43391
  {
43392
- a11yConfig: f.a11yConfig,
43393
- label: f.label,
43394
- value: f.value,
43395
- backgroundColor: f.backgroundColor,
43396
- bars: f.bars,
43397
- lightBars: f.lightBars,
43398
- size: f.size ?? "big",
43399
- valueScale: f.valueScale,
43400
- width: f.width,
43401
- height: f.height,
43392
+ a11yConfig: g.a11yConfig,
43393
+ label: g.label,
43394
+ value: g.value,
43395
+ backgroundColor: g.backgroundColor,
43396
+ bars: g.bars,
43397
+ lightBars: g.lightBars,
43398
+ size: g.size ?? "big",
43399
+ valueScale: g.valueScale,
43400
+ width: g.width,
43401
+ height: g.height,
43402
43402
  titleColor: "white",
43403
43403
  valueColor: "white",
43404
- titleFontSize: f.titleFontSize ?? h,
43405
- titleFontWeight: f.titleFontWeight ?? l,
43406
- valueFontSize: f.valueFontSize ?? p,
43407
- valueFontWeight: f.valueFontWeight ?? u,
43408
- titleKey: f.titleKey,
43404
+ titleFontSize: g.titleFontSize ?? h,
43405
+ titleFontWeight: g.titleFontWeight ?? l,
43406
+ valueFontSize: g.valueFontSize ?? p,
43407
+ valueFontWeight: g.valueFontWeight ?? u,
43408
+ titleKey: g.titleKey,
43409
43409
  onClick: (v) => k?.(0, v)
43410
43410
  }
43411
43411
  ) : null,
@@ -43506,7 +43506,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
43506
43506
  }
43507
43507
  )
43508
43508
  }
43509
- ) }) }), YMe = ({
43509
+ ) }) }), QMe = ({
43510
43510
  data: e,
43511
43511
  height: t = 360,
43512
43512
  barColor: n = "#0284C7",
@@ -43521,8 +43521,8 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
43521
43521
  xAxisLabel: u,
43522
43522
  margin: y = { top: 20, right: 60, bottom: 40, left: 0 },
43523
43523
  valueFormatter: k,
43524
- tickFormatter: g,
43525
- labelDataKey: f = "percentage"
43524
+ tickFormatter: f,
43525
+ labelDataKey: g = "percentage"
43526
43526
  }) => {
43527
43527
  const M = (y.top ?? 20) + (y.bottom ?? 40) + e.length * (s + 20), _ = Math.max(M, t), v = ie.useMemo(() => {
43528
43528
  if (!e || e.length === 0) return d;
@@ -43541,7 +43541,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
43541
43541
  fontSize: h,
43542
43542
  fontWeight: l,
43543
43543
  stroke: r,
43544
- tickFormatter: (L) => g ? g(L) : L?.toString() || "",
43544
+ tickFormatter: (L) => f ? f(L) : L?.toString() || "",
43545
43545
  label: u ? {
43546
43546
  value: u,
43547
43547
  position: "insideBottom",
@@ -43580,15 +43580,15 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
43580
43580
  o && /* @__PURE__ */ c(wz, { formatter: (L, x, w) => {
43581
43581
  if (typeof L != "number") return L;
43582
43582
  const $ = k ? k(L) : L.toString(), I = w?.payload?.percentage;
43583
- return typeof I == "number" && Number.isFinite(I) && f === "percentage" ? `${$} (${I.toFixed(1)}%)` : $;
43583
+ return typeof I == "number" && Number.isFinite(I) && g === "percentage" ? `${$} (${I.toFixed(1)}%)` : $;
43584
43584
  }, labelStyle: { color: "var(--color-text)" } }),
43585
43585
  /* @__PURE__ */ c(Lz, { dataKey: "value", fill: n, radius: 0, barSize: s, children: /* @__PURE__ */ c(
43586
43586
  Cz,
43587
43587
  {
43588
- dataKey: f,
43588
+ dataKey: g,
43589
43589
  position: "right",
43590
43590
  offset: 10,
43591
- formatter: (L) => k && f === "value" ? k(L) : L == null || L === "" ? "" : f === "percentage" ? `${L}%` : L.toString(),
43591
+ formatter: (L) => k && g === "value" ? k(L) : L == null || L === "" ? "" : g === "percentage" ? `${L}%` : L.toString(),
43592
43592
  fill: r,
43593
43593
  fontSize: h,
43594
43594
  fontWeight: l
@@ -43625,15 +43625,15 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
43625
43625
  return /* @__PURE__ */ c("div", { ref: l, role: "menu", className: Jo.menu, style: u, children: o.map((y) => {
43626
43626
  if (y.type === "separator")
43627
43627
  return /* @__PURE__ */ c("hr", { className: Jo.separator }, y.id);
43628
- const k = y, g = k.color ? { color: k.color } : {}, f = k.closeOnClick !== !1;
43628
+ const k = y, f = k.color ? { color: k.color } : {}, g = k.closeOnClick !== !1;
43629
43629
  return /* @__PURE__ */ m(
43630
43630
  "button",
43631
43631
  {
43632
43632
  role: "menuitem",
43633
43633
  className: Jo.menuRow,
43634
- style: g,
43634
+ style: f,
43635
43635
  onClick: () => {
43636
- k.onClick?.(), f && n?.();
43636
+ k.onClick?.(), g && n?.();
43637
43637
  },
43638
43638
  children: [
43639
43639
  /* @__PURE__ */ m("span", { className: Jo.rowLabel, children: [
@@ -43662,8 +43662,8 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
43662
43662
  gap: u = "12px",
43663
43663
  emailFontSize: y = "14px",
43664
43664
  emailFontWeight: k = 600,
43665
- roleFontSize: g = "12px",
43666
- roleFontWeight: f,
43665
+ roleFontSize: f = "12px",
43666
+ roleFontWeight: g,
43667
43667
  avatarColor: M = "#5b8fb9",
43668
43668
  backgroundColorAvatar: _ = "#f1f4f5",
43669
43669
  dropdownMenuItems: v,
@@ -43782,15 +43782,15 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
43782
43782
  });
43783
43783
  return () => cancelAnimationFrame(ae);
43784
43784
  }, [H, C]), !I) return null;
43785
- const K = I, oe = parseInt(l, 10) || 40, re = `${oe * 0.375}px`, Ce = `${oe * 1.375}px`, _e = `${oe * 0.2}px`, Ve = `${oe * 0.6}px`, ke = () => {
43785
+ const X = I, oe = parseInt(l, 10) || 40, re = `${oe * 0.375}px`, Ce = `${oe * 1.375}px`, _e = `${oe * 0.2}px`, Ve = `${oe * 0.6}px`, ke = () => {
43786
43786
  const ee = parseInt(l, 10) || 40, ae = Math.max(8, ee * 0.34375), le = Math.max(2, ee * 0.05);
43787
43787
  return /* @__PURE__ */ m(Fe, { children: [
43788
43788
  /* @__PURE__ */ m("div", { style: { position: "relative", flexShrink: 0, userSelect: "none" }, children: [
43789
- K.image ? /* @__PURE__ */ c(
43789
+ X.image ? /* @__PURE__ */ c(
43790
43790
  "img",
43791
43791
  {
43792
- src: K.image,
43793
- alt: `${K.prenom} ${K.nom}`,
43792
+ src: X.image,
43793
+ alt: `${X.prenom} ${X.nom}`,
43794
43794
  style: {
43795
43795
  width: l,
43796
43796
  height: l,
@@ -43877,8 +43877,8 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
43877
43877
  textOverflow: "ellipsis",
43878
43878
  whiteSpace: "nowrap"
43879
43879
  },
43880
- title: K.email,
43881
- children: K.email
43880
+ title: X.email,
43881
+ children: X.email
43882
43882
  }
43883
43883
  ),
43884
43884
  /* @__PURE__ */ c(
@@ -43886,14 +43886,14 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
43886
43886
  {
43887
43887
  style: {
43888
43888
  color: h,
43889
- fontSize: g,
43890
- fontWeight: f,
43889
+ fontSize: f,
43890
+ fontWeight: g,
43891
43891
  overflow: "hidden",
43892
43892
  textOverflow: "ellipsis",
43893
43893
  whiteSpace: "nowrap"
43894
43894
  },
43895
- title: K.role,
43896
- children: K.role
43895
+ title: X.role,
43896
+ children: X.role
43897
43897
  }
43898
43898
  )
43899
43899
  ] })
@@ -43920,7 +43920,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
43920
43920
  ...x
43921
43921
  },
43922
43922
  onClick: U,
43923
- title: ne(L, K.role),
43923
+ title: ne(L, X.role),
43924
43924
  role: "button",
43925
43925
  tabIndex: 0,
43926
43926
  children: /* @__PURE__ */ c("div", { style: { display: "flex", alignItems: "center", gap: u, flex: 1, minWidth: 0 }, children: /* @__PURE__ */ c(ke, {}) })
@@ -43957,8 +43957,8 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
43957
43957
  highlightBackgroundColor: u = "rgba(0, 0, 0, 0.05)",
43958
43958
  fontSize: y = "15px",
43959
43959
  fontWeight: k = "500",
43960
- sidebarCollapsed: g = !1,
43961
- padding: f = "10px 16px",
43960
+ sidebarCollapsed: f = !1,
43961
+ padding: g = "10px 16px",
43962
43962
  borderWidth: M = "4px",
43963
43963
  iconGap: _ = "12px",
43964
43964
  disabled: v = !1,
@@ -43968,8 +43968,8 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
43968
43968
  const N = () => {
43969
43969
  v || n?.();
43970
43970
  }, L = /* @__PURE__ */ m(Fe, { children: [
43971
- r && /* @__PURE__ */ c("span", { className: xi.icon, style: { marginRight: g ? 0 : _ }, children: r }),
43972
- !g && /* @__PURE__ */ c("span", { className: xi.label, children: e })
43971
+ r && /* @__PURE__ */ c("span", { className: xi.icon, style: { marginRight: f ? 0 : _ }, children: r }),
43972
+ !f && /* @__PURE__ */ c("span", { className: xi.label, children: e })
43973
43973
  ] }), x = () => {
43974
43974
  if (!i) return "transparent";
43975
43975
  const $ = (I) => {
@@ -43994,7 +43994,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
43994
43994
  onClick: N,
43995
43995
  className: `${xi.navItem} ${i ? xi.active : ""} ${d} ${v ? xi.disabled : ""}`,
43996
43996
  style: {
43997
- padding: f,
43997
+ padding: g,
43998
43998
  color: i ? p : v ? b || "#999" : l,
43999
43999
  borderLeft: i ? `${M} solid ${h}` : `${M} solid transparent`,
44000
44000
  backgroundColor: x(),
@@ -44024,7 +44024,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
44024
44024
  sectionItems: l8e,
44025
44025
  bottomSection: h8e,
44026
44026
  versionContainer: p8e
44027
- }, JMe = ({
44027
+ }, e_e = ({
44028
44028
  logoProps: e,
44029
44029
  logoSpacing: t,
44030
44030
  navItems: n,
@@ -44040,8 +44040,8 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
44040
44040
  navLinkStyle: u,
44041
44041
  navItemPadding: y = "10px 16px",
44042
44042
  navItemBorderWidth: k = "4px",
44043
- navItemIconGap: g = "12px",
44044
- navItemFontSize: f = "15px",
44043
+ navItemIconGap: f = "12px",
44044
+ navItemFontSize: g = "15px",
44045
44045
  navItemFontWeight: M = "500",
44046
44046
  navItemColor: _,
44047
44047
  sectionTitlePadding: v = "16px",
@@ -44075,7 +44075,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
44075
44075
  children: [
44076
44076
  /* @__PURE__ */ m("div", { className: _t.topSection, style: { gap: t }, children: [
44077
44077
  F && /* @__PURE__ */ c("div", { className: _t.logoContainer, children: /* @__PURE__ */ c(mC, { ...e }) }),
44078
- /* @__PURE__ */ c("div", { className: _t.sectionsContainer, style: { gap: i }, children: n.map((U, K) => /* @__PURE__ */ m("div", { className: _t.section, children: [
44078
+ /* @__PURE__ */ c("div", { className: _t.sectionsContainer, style: { gap: i }, children: n.map((U, X) => /* @__PURE__ */ m("div", { className: _t.section, children: [
44079
44079
  U.title && /* @__PURE__ */ c(
44080
44080
  "div",
44081
44081
  {
@@ -44105,15 +44105,15 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
44105
44105
  highlightBackgroundColor: h,
44106
44106
  padding: y,
44107
44107
  borderWidth: k,
44108
- iconGap: g,
44109
- fontSize: f,
44108
+ iconGap: f,
44109
+ fontSize: g,
44110
44110
  fontWeight: M,
44111
44111
  color: _,
44112
44112
  style: u
44113
44113
  },
44114
44114
  oe.id
44115
44115
  )) })
44116
- ] }, K)) })
44116
+ ] }, X)) })
44117
44117
  ] }),
44118
44118
  /* @__PURE__ */ m("div", { className: _t.bottomSection, style: { gap: t }, children: [
44119
44119
  /* @__PURE__ */ c(a8e, { ...$, user: B }),
@@ -44140,7 +44140,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
44140
44140
  title: k8e,
44141
44141
  inlineToggleContainer: m8e,
44142
44142
  rightContentContainer: f8e
44143
- }, QMe = ({
44143
+ }, t_e = ({
44144
44144
  className: e = "",
44145
44145
  style: t,
44146
44146
  fontSize: n = "20px",
@@ -44155,8 +44155,8 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
44155
44155
  borderRadius: u,
44156
44156
  navItems: y,
44157
44157
  formatTitle: k = (M) => M,
44158
- rightContent: g,
44159
- inlineToggle: f
44158
+ rightContent: f,
44159
+ inlineToggle: g
44160
44160
  }) => {
44161
44161
  const { activeNav: M } = St(), _ = y.find((b) => b.id === M), v = k(_ ? _.label : M);
44162
44162
  return v ? /* @__PURE__ */ m(
@@ -44187,9 +44187,9 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
44187
44187
  children: v
44188
44188
  }
44189
44189
  ),
44190
- f && /* @__PURE__ */ c("div", { className: bi.inlineToggleContainer, children: f })
44190
+ g && /* @__PURE__ */ c("div", { className: bi.inlineToggleContainer, children: g })
44191
44191
  ] }),
44192
- g && /* @__PURE__ */ c("div", { className: bi.rightContentContainer, children: g })
44192
+ f && /* @__PURE__ */ c("div", { className: bi.rightContentContainer, children: f })
44193
44193
  ]
44194
44194
  }
44195
44195
  ) : null;
@@ -44215,8 +44215,8 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
44215
44215
  countColor: y = "#fff",
44216
44216
  countBorderRadius: k = "10px",
44217
44217
  // Default from CSS
44218
- countPadding: g = "2px 6px",
44219
- countFontSize: f = "12px",
44218
+ countPadding: f = "2px 6px",
44219
+ countFontSize: g = "12px",
44220
44220
  countFontWeight: M = "500",
44221
44221
  indicatorColor: _ = "#00aec7",
44222
44222
  indicatorHeight: v = "3px",
@@ -44258,8 +44258,8 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
44258
44258
  backgroundColor: u,
44259
44259
  color: y,
44260
44260
  borderRadius: k,
44261
- padding: g,
44262
- fontSize: f,
44261
+ padding: f,
44262
+ fontSize: g,
44263
44263
  fontWeight: M
44264
44264
  },
44265
44265
  children: d
@@ -44303,8 +44303,8 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
44303
44303
  itemBgColor: u = "transparent",
44304
44304
  itemHoverBgColor: y = "rgba(0,0,0,0.05)",
44305
44305
  itemColor: k = "var(--color-text)",
44306
- itemActiveColor: g = "var(--color-primary)",
44307
- itemActiveBorderColor: f = "var(--color-primary)",
44306
+ itemActiveColor: f = "var(--color-primary)",
44307
+ itemActiveBorderColor: g = "var(--color-primary)",
44308
44308
  itemDividerColor: M = "var(--color-border)",
44309
44309
  iconColor: _ = "#555555",
44310
44310
  activeIconColor: v = "var(--color-primary)",
@@ -44381,11 +44381,11 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
44381
44381
  const D = T.id === t, B = {
44382
44382
  padding: x,
44383
44383
  gap: w,
44384
- color: D ? g : k,
44384
+ color: D ? f : k,
44385
44385
  backgroundColor: u,
44386
44386
  /* Custom variables for the pseudo-element border */
44387
44387
  "--item-border-width": D ? "4px" : "1px",
44388
- "--item-border-color": D ? f : M
44388
+ "--item-border-color": D ? g : M
44389
44389
  };
44390
44390
  return /* @__PURE__ */ m(
44391
44391
  "div",
@@ -44426,7 +44426,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
44426
44426
  subheaderContent: P8e,
44427
44427
  navContainer: H8e,
44428
44428
  rightContent: T8e
44429
- }, e_e = ({
44429
+ }, a_e = ({
44430
44430
  subNavItems: e,
44431
44431
  backgroundColor: t = "transparent",
44432
44432
  // Default transparent assuming wrapper handles bg, or user can set
@@ -44443,8 +44443,8 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
44443
44443
  itemFontSize: u = "14px",
44444
44444
  itemFontWeight: y = "500",
44445
44445
  activeItemColor: k = "#00aec7",
44446
- inactiveItemColor: g = "#5c6975",
44447
- indicatorHeight: f = "3px",
44446
+ inactiveItemColor: f = "#5c6975",
44447
+ indicatorHeight: g = "3px",
44448
44448
  showDraggable: M = !1,
44449
44449
  showLegend: _ = !1,
44450
44450
  showData: v = !1,
@@ -44466,7 +44466,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
44466
44466
  isMobile: T = !1,
44467
44467
  onNavigate: D
44468
44468
  }) => {
44469
- const { activeSubNav: B, setActiveSubNav: U, navCounts: K, activeNav: oe } = St();
44469
+ const { activeSubNav: B, setActiveSubNav: U, navCounts: X, activeNav: oe } = St();
44470
44470
  if (T) {
44471
44471
  const re = e.find((_e) => _e.id === B) || e[0], Ce = [
44472
44472
  {
@@ -44514,7 +44514,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
44514
44514
  className: `${DL.navContainer} ${S || ""}`,
44515
44515
  style: { gap: h, ...z },
44516
44516
  children: e.map((re) => {
44517
- const Ce = re.count !== void 0 ? re.count : K[re.id], _e = B === re.id || re.isActive;
44517
+ const Ce = re.count !== void 0 ? re.count : X[re.id], _e = B === re.id || re.isActive;
44518
44518
  return /* @__PURE__ */ c(
44519
44519
  b8e,
44520
44520
  {
@@ -44526,7 +44526,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
44526
44526
  re.onClick && re.onClick(), U(re.id);
44527
44527
  },
44528
44528
  activeColor: k,
44529
- inactiveColor: g,
44529
+ inactiveColor: f,
44530
44530
  countBackgroundColor: N,
44531
44531
  countColor: L,
44532
44532
  countBorderRadius: x,
@@ -44534,7 +44534,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
44534
44534
  countFontSize: $,
44535
44535
  countFontWeight: I,
44536
44536
  indicatorColor: k,
44537
- indicatorHeight: f,
44537
+ indicatorHeight: g,
44538
44538
  padding: p,
44539
44539
  fontSize: u,
44540
44540
  fontWeight: y,
@@ -44595,7 +44595,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
44595
44595
  ]
44596
44596
  }
44597
44597
  );
44598
- }, t_e = ({
44598
+ }, n_e = ({
44599
44599
  onSwitch: e,
44600
44600
  size: t = "20px",
44601
44601
  lightIconColor: n = "#666",
@@ -44606,7 +44606,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
44606
44606
  style: d,
44607
44607
  className: h = ""
44608
44608
  }) => {
44609
- const [l, p] = ie.useState(!1), { currentTheme: u, switchTheme: y } = fC(), k = u != "dark", g = () => {
44609
+ const [l, p] = ie.useState(!1), { currentTheme: u, switchTheme: y } = fC(), k = u != "dark", f = () => {
44610
44610
  y(k ? "dark" : "light"), e?.();
44611
44611
  };
44612
44612
  return ie.useEffect(() => {
@@ -44615,7 +44615,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
44615
44615
  "div",
44616
44616
  {
44617
44617
  className: `theme-switcher ${h}`,
44618
- onClick: g,
44618
+ onClick: f,
44619
44619
  style: {
44620
44620
  cursor: "pointer",
44621
44621
  display: "flex",
@@ -44775,14 +44775,14 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
44775
44775
  ...s ? s(l) : {}
44776
44776
  },
44777
44777
  className: d ? d(l, p) : "",
44778
- children: k ? /* @__PURE__ */ c("td", { colSpan: t.length, children: k }) : t.map((g, f) => /* @__PURE__ */ c(
44778
+ children: k ? /* @__PURE__ */ c("td", { colSpan: t.length, children: k }) : t.map((f, g) => /* @__PURE__ */ c(
44779
44779
  "td",
44780
44780
  {
44781
- style: { width: g.width, textAlign: g.align || "left" },
44782
- className: g.className,
44783
- children: g.render ? g.render(l) : l[g.key]
44781
+ style: { width: f.width, textAlign: f.align || "left" },
44782
+ className: f.className,
44783
+ children: f.render ? f.render(l) : l[f.key]
44784
44784
  },
44785
- `${String(g.key)}-${f}`
44785
+ `${String(f.key)}-${g}`
44786
44786
  ))
44787
44787
  },
44788
44788
  y
@@ -44796,7 +44796,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
44796
44796
  text: r,
44797
44797
  isLoading: s
44798
44798
  }) => {
44799
- const { page: d, pageSize: h, total: l } = e, p = h === -1 ? l : h, u = Math.ceil(l / p) || 1, y = Math.min(Math.max(1, d), u), k = l === 0 ? 0 : (y - 1) * p + 1, g = Math.min(y * p, l), f = (_) => {
44799
+ const { page: d, pageSize: h, total: l } = e, p = h === -1 ? l : h, u = Math.ceil(l / p) || 1, y = Math.min(Math.max(1, d), u), k = l === 0 ? 0 : (y - 1) * p + 1, f = Math.min(y * p, l), g = (_) => {
44800
44800
  t({ page: _ });
44801
44801
  }, M = Me(() => {
44802
44802
  if (u <= 6)
@@ -44821,11 +44821,11 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
44821
44821
  return [];
44822
44822
  }, [y, u]);
44823
44823
  return /* @__PURE__ */ m("div", { className: "table-pagination", children: [
44824
- /* @__PURE__ */ c("div", { className: "pagination-summary", children: l > 0 ? /* @__PURE__ */ c("span", { children: r?.itemsRange ? r.itemsRange(k, g, l) : /* @__PURE__ */ m(Fe, { children: [
44824
+ /* @__PURE__ */ c("div", { className: "pagination-summary", children: l > 0 ? /* @__PURE__ */ c("span", { children: r?.itemsRange ? r.itemsRange(k, f, l) : /* @__PURE__ */ m(Fe, { children: [
44825
44825
  /* @__PURE__ */ m("b", { children: [
44826
44826
  k,
44827
44827
  "–",
44828
- g
44828
+ f
44829
44829
  ] }),
44830
44830
  " ",
44831
44831
  "sur ",
@@ -44838,7 +44838,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
44838
44838
  "button",
44839
44839
  {
44840
44840
  className: "pagination-btn",
44841
- onClick: () => f(1),
44841
+ onClick: () => g(1),
44842
44842
  disabled: y === 1,
44843
44843
  title: r?.first || "Premier",
44844
44844
  children: "<<"
@@ -44848,7 +44848,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
44848
44848
  "button",
44849
44849
  {
44850
44850
  className: "pagination-btn",
44851
- onClick: () => f(y - 1),
44851
+ onClick: () => g(y - 1),
44852
44852
  disabled: y === 1,
44853
44853
  title: r?.previous || "Précédent",
44854
44854
  children: "<"
@@ -44858,7 +44858,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
44858
44858
  "button",
44859
44859
  {
44860
44860
  className: `pagination-btn ${_ === y ? "active" : ""}`,
44861
- onClick: () => f(_),
44861
+ onClick: () => g(_),
44862
44862
  children: _
44863
44863
  },
44864
44864
  v
@@ -44867,7 +44867,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
44867
44867
  "button",
44868
44868
  {
44869
44869
  className: "pagination-btn",
44870
- onClick: () => f(y + 1),
44870
+ onClick: () => g(y + 1),
44871
44871
  disabled: y === u,
44872
44872
  title: r?.next || "Suivant",
44873
44873
  children: ">"
@@ -44877,7 +44877,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
44877
44877
  "button",
44878
44878
  {
44879
44879
  className: "pagination-btn",
44880
- onClick: () => f(u),
44880
+ onClick: () => g(u),
44881
44881
  disabled: y === u,
44882
44882
  title: r?.last || "Dernier",
44883
44883
  children: ">>"
@@ -44903,7 +44903,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
44903
44903
  }
44904
44904
  ) })
44905
44905
  ] });
44906
- }, a_e = ({
44906
+ }, o_e = ({
44907
44907
  data: e,
44908
44908
  columns: t,
44909
44909
  isLoading: n,
@@ -44918,8 +44918,8 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
44918
44918
  text: u,
44919
44919
  onLoadMore: y,
44920
44920
  infiniteScroll: k,
44921
- hasMore: g,
44922
- tableState: f,
44921
+ hasMore: f,
44922
+ tableState: g,
44923
44923
  className: M,
44924
44924
  style: _,
44925
44925
  rowStyle: v,
@@ -44937,7 +44937,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
44937
44937
  [u]
44938
44938
  ), I = ie.useRef(null);
44939
44939
  ie.useEffect(() => {
44940
- if (!k || !y || !g || n) return;
44940
+ if (!k || !y || !f || n) return;
44941
44941
  const A = new IntersectionObserver(
44942
44942
  (q) => {
44943
44943
  q[0].isIntersecting && y();
@@ -44945,14 +44945,14 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
44945
44945
  { threshold: 0.1 }
44946
44946
  );
44947
44947
  return I.current && A.observe(I.current), () => A.disconnect();
44948
- }, [k, y, g, n]);
44948
+ }, [k, y, f, n]);
44949
44949
  const { tableState: S, handleSort: z } = j8e({
44950
44950
  initialSortBy: null,
44951
44951
  onSortChange: r
44952
- }), F = (f?.sortBy !== void 0 ? f.sortBy : S.sortBy) ?? void 0, j = f?.sortOrder !== void 0 ? f.sortOrder : S.sortOrder, H = (A) => {
44952
+ }), F = (g?.sortBy !== void 0 ? g.sortBy : S.sortBy) ?? void 0, j = g?.sortOrder !== void 0 ? g.sortOrder : S.sortOrder, H = (A) => {
44953
44953
  const q = F, T = j;
44954
44954
  let D = "asc";
44955
- q === A && (D = T === "asc" ? "desc" : "asc"), f?.sortBy !== void 0 ? r(A, D) : z(A);
44955
+ q === A && (D = T === "asc" ? "desc" : "asc"), g?.sortBy !== void 0 ? r(A, D) : z(A);
44956
44956
  };
44957
44957
  return /* @__PURE__ */ m(
44958
44958
  "div",
@@ -45025,7 +45025,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
45025
45025
  text: $,
45026
45026
  onLoadMore: y,
45027
45027
  infiniteScroll: k,
45028
- hasMore: g,
45028
+ hasMore: f,
45029
45029
  isLoading: n
45030
45030
  }
45031
45031
  )
@@ -45102,8 +45102,8 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
45102
45102
  fontSize: u = "0.875rem",
45103
45103
  iconSize: y = "1.5rem",
45104
45104
  labelMarginBottom: k = "0.5rem",
45105
- errorMarginTop: g = "0.25rem",
45106
- dropdownMarginTop: f = "0.25rem",
45105
+ errorMarginTop: f = "0.25rem",
45106
+ dropdownMarginTop: g = "0.25rem",
45107
45107
  itemPadding: M = "0.5rem 0.75rem",
45108
45108
  fontWeight: _ = "400",
45109
45109
  buttonBgColor: v,
@@ -45126,7 +45126,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
45126
45126
  weekdayTextColor: D = "#6c757d",
45127
45127
  currentMonthDateColor: B = "#212529",
45128
45128
  otherMonthDateColor: U = "#adb5bd",
45129
- selectedDateBgColor: K = "#00A6D9",
45129
+ selectedDateBgColor: X = "#00A6D9",
45130
45130
  selectedDateTextColor: oe = "#ffffff",
45131
45131
  cancelButtonBgColor: re = "#e9ecef",
45132
45132
  cancelButtonTextColor: Ce = "#212529",
@@ -45161,8 +45161,8 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
45161
45161
  const Gt = (R) => {
45162
45162
  if (R instanceof Date) return isNaN(R.getTime()) ? null : R;
45163
45163
  if (typeof R == "string" && R) {
45164
- const J = new Date(R);
45165
- return isNaN(J.getTime()) ? null : J;
45164
+ const Q = new Date(R);
45165
+ return isNaN(Q.getTime()) ? null : Q;
45166
45166
  }
45167
45167
  return null;
45168
45168
  }, [ht, Zt] = V(!1), [Go, OA] = V({ top: 0, left: 0, width: 0 }), [ye, vi] = V(Gt(e) || /* @__PURE__ */ new Date()), [Ab, zb] = V(Gt(e)), [Vb, Pb] = V(Gt(e)?.getHours() ?? 0), [Hb, Tb] = V(Gt(e)?.getMinutes() ?? 0), [jb, Zo] = V(!1), [Db, Ko] = V(!1), Bb = E(null), ic = E(null), Fb = E(null), Rb = E(null);
@@ -45183,22 +45183,22 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
45183
45183
  O(() => (ht && (Xo(), window.addEventListener("scroll", Xo, !0), window.addEventListener("resize", Xo)), () => {
45184
45184
  window.removeEventListener("scroll", Xo, !0), window.removeEventListener("resize", Xo);
45185
45185
  }), [ht, Xo]), O(() => {
45186
- const R = (J) => {
45187
- if (Bb.current && !Bb.current.contains(J.target)) {
45186
+ const R = (Q) => {
45187
+ if (Bb.current && !Bb.current.contains(Q.target)) {
45188
45188
  const $e = document.getElementById("datepicker-dropdown");
45189
- if ($e && $e.contains(J.target)) return;
45189
+ if ($e && $e.contains(Q.target)) return;
45190
45190
  Zt(!1), Zo(!1), Ko(!1);
45191
45191
  }
45192
- Fb.current && !Fb.current.contains(J.target) && Zo(!1), Rb.current && !Rb.current.contains(J.target) && Ko(!1);
45192
+ Fb.current && !Fb.current.contains(Q.target) && Zo(!1), Rb.current && !Rb.current.contains(Q.target) && Ko(!1);
45193
45193
  };
45194
45194
  return document.addEventListener("mousedown", R), () => document.removeEventListener("mousedown", R);
45195
45195
  }, []);
45196
45196
  const nN = (R) => new Date(R.getFullYear(), R.getMonth() + 1, 0).getDate(), EA = (R) => {
45197
- const J = new Date(R.getFullYear(), R.getMonth(), 1).getDay();
45198
- return J === 0 ? 6 : J - 1;
45197
+ const Q = new Date(R.getFullYear(), R.getMonth(), 1).getDay();
45198
+ return Q === 0 ? 6 : Q - 1;
45199
45199
  }, UA = () => {
45200
- const R = [], J = EA(ye), $e = nN(ye), cc = new Date(ye.getFullYear(), ye.getMonth() - 1, 1), qt = nN(cc);
45201
- for (let ct = J - 1; ct >= 0; ct--)
45200
+ const R = [], Q = EA(ye), $e = nN(ye), cc = new Date(ye.getFullYear(), ye.getMonth() - 1, 1), qt = nN(cc);
45201
+ for (let ct = Q - 1; ct >= 0; ct--)
45202
45202
  R.push(new Date(ye.getFullYear(), ye.getMonth() - 1, qt - ct));
45203
45203
  for (let ct = 1; ct <= $e; ct++)
45204
45204
  R.push(new Date(ye.getFullYear(), ye.getMonth(), ct));
@@ -45206,14 +45206,14 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
45206
45206
  for (let ct = 1; ct <= Mi; ct++)
45207
45207
  R.push(new Date(ye.getFullYear(), ye.getMonth() + 1, ct));
45208
45208
  return R;
45209
- }, WA = (R, J) => !R || !J ? !1 : R.getDate() === J.getDate() && R.getMonth() === J.getMonth() && R.getFullYear() === J.getFullYear(), GA = (R) => R.getMonth() === ye.getMonth() && R.getFullYear() === ye.getFullYear(), ZA = () => {
45209
+ }, WA = (R, Q) => !R || !Q ? !1 : R.getDate() === Q.getDate() && R.getMonth() === Q.getMonth() && R.getFullYear() === Q.getFullYear(), GA = (R) => R.getMonth() === ye.getMonth() && R.getFullYear() === ye.getFullYear(), ZA = () => {
45210
45210
  vi(new Date(ye.getFullYear(), ye.getMonth() - 1, 1));
45211
45211
  }, KA = () => {
45212
45212
  vi(new Date(ye.getFullYear(), ye.getMonth() + 1, 1));
45213
45213
  }, XA = (R) => {
45214
45214
  if (!s) {
45215
- const J = new Date(R);
45216
- J.setHours(Vb), J.setMinutes(Hb), zb(J);
45215
+ const Q = new Date(R);
45216
+ Q.setHours(Vb), Q.setMinutes(Hb), zb(Q);
45217
45217
  }
45218
45218
  }, YA = () => {
45219
45219
  if (!s) {
@@ -45232,10 +45232,10 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
45232
45232
  }, ez = (R) => {
45233
45233
  vi(new Date(R, ye.getMonth(), 1)), Ko(!1);
45234
45234
  }, tz = () => {
45235
- const R = ye.getFullYear(), J = [];
45235
+ const R = ye.getFullYear(), Q = [];
45236
45236
  for (let $e = R - 10; $e <= R + 10; $e++)
45237
- J.push($e);
45238
- return J;
45237
+ Q.push($e);
45238
+ return Q;
45239
45239
  }, az = (R) => {
45240
45240
  if (!s)
45241
45241
  switch (R.key) {
@@ -45273,8 +45273,8 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
45273
45273
  boxShadow: j,
45274
45274
  transition: `opacity ${H} ${A}, transform ${H} ${A}`,
45275
45275
  position: "fixed",
45276
- top: me === "bottom" ? Go.top + (ic.current?.offsetHeight || 0) + parseFloat(f.replace("rem", "")) * 16 : "auto",
45277
- bottom: me === "top" ? window.innerHeight - Go.top + parseFloat(f.replace("rem", "")) * 16 : "auto",
45276
+ top: me === "bottom" ? Go.top + (ic.current?.offsetHeight || 0) + parseFloat(g.replace("rem", "")) * 16 : "auto",
45277
+ bottom: me === "top" ? window.innerHeight - Go.top + parseFloat(g.replace("rem", "")) * 16 : "auto",
45278
45278
  left: he === "left" ? Go.left : "auto",
45279
45279
  right: he === "right" ? window.innerWidth - (Go.left + Go.width) : "auto",
45280
45280
  width: Z || (r ? Go.width : "auto"),
@@ -45292,7 +45292,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
45292
45292
  color: S || "#6c757d"
45293
45293
  }, sz = {
45294
45294
  color: $ || "#dc3545",
45295
- marginTop: g
45295
+ marginTop: f
45296
45296
  }, dz = UA(), pt = Gt(e), iN = pt ? Ae === "minutes" ? `${pt.toLocaleDateString(aN)} ${pt.getHours().toString().padStart(2, "0")}:${pt.getMinutes().toString().padStart(2, "0")}` : pt.toLocaleDateString(aN) : "", lz = !!ee && (ae === "icon" || ae === "auto" && !pt), hz = le || (pt ? `${FA}${iN}` : BA);
45297
45297
  return /* @__PURE__ */ m(
45298
45298
  "div",
@@ -45390,25 +45390,25 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
45390
45390
  ]
45391
45391
  }
45392
45392
  ),
45393
- jb && /* @__PURE__ */ c("div", { className: G.monthDropdown, children: (Wo || x$).map((R, J) => /* @__PURE__ */ c(
45393
+ jb && /* @__PURE__ */ c("div", { className: G.monthDropdown, children: (Wo || x$).map((R, Q) => /* @__PURE__ */ c(
45394
45394
  "button",
45395
45395
  {
45396
45396
  type: "button",
45397
- className: `${G.monthItem} ${ye.getMonth() === J ? G.monthItemSelected : ""}`,
45398
- onClick: () => QA(J),
45397
+ className: `${G.monthItem} ${ye.getMonth() === Q ? G.monthItemSelected : ""}`,
45398
+ onClick: () => QA(Q),
45399
45399
  style: {
45400
45400
  padding: M,
45401
- backgroundColor: ye.getMonth() === J ? x || "#e7f1ff" : N
45401
+ backgroundColor: ye.getMonth() === Q ? x || "#e7f1ff" : N
45402
45402
  },
45403
45403
  onMouseEnter: ($e) => {
45404
- L && ye.getMonth() !== J && ($e.currentTarget.style.backgroundColor = L);
45404
+ L && ye.getMonth() !== Q && ($e.currentTarget.style.backgroundColor = L);
45405
45405
  },
45406
45406
  onMouseLeave: ($e) => {
45407
- L && ($e.currentTarget.style.backgroundColor = ye.getMonth() === J ? x || "#e7f1ff" : N);
45407
+ L && ($e.currentTarget.style.backgroundColor = ye.getMonth() === Q ? x || "#e7f1ff" : N);
45408
45408
  },
45409
45409
  children: R
45410
45410
  },
45411
- J
45411
+ Q
45412
45412
  )) })
45413
45413
  ] }),
45414
45414
  /* @__PURE__ */ m("div", { className: G.yearSelector, ref: Rb, children: [
@@ -45445,11 +45445,11 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
45445
45445
  padding: M,
45446
45446
  backgroundColor: ye.getFullYear() === R ? x || "#e7f1ff" : N
45447
45447
  },
45448
- onMouseEnter: (J) => {
45449
- L && ye.getFullYear() !== R && (J.currentTarget.style.backgroundColor = L);
45448
+ onMouseEnter: (Q) => {
45449
+ L && ye.getFullYear() !== R && (Q.currentTarget.style.backgroundColor = L);
45450
45450
  },
45451
- onMouseLeave: (J) => {
45452
- L && (J.currentTarget.style.backgroundColor = ye.getFullYear() === R ? x || "#e7f1ff" : N);
45451
+ onMouseLeave: (Q) => {
45452
+ L && (Q.currentTarget.style.backgroundColor = ye.getFullYear() === R ? x || "#e7f1ff" : N);
45453
45453
  },
45454
45454
  children: R
45455
45455
  },
@@ -45469,7 +45469,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
45469
45469
  )
45470
45470
  ] }),
45471
45471
  /* @__PURE__ */ c("div", { className: G.weekdays, children: (ue || zfe).map((R) => /* @__PURE__ */ c("div", { className: G.weekday, style: { color: D }, children: R }, R)) }),
45472
- /* @__PURE__ */ c("div", { className: G.calendarGrid, children: dz.map((R, J) => {
45472
+ /* @__PURE__ */ c("div", { className: G.calendarGrid, children: dz.map((R, Q) => {
45473
45473
  if (!R) return null;
45474
45474
  const $e = WA(R, Ab), cc = GA(R), qt = !!(je && R < je || Et && R > Et);
45475
45475
  return /* @__PURE__ */ c(
@@ -45483,7 +45483,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
45483
45483
  width: q,
45484
45484
  height: q,
45485
45485
  color: $e ? oe : cc ? B : U,
45486
- backgroundColor: $e ? K : "transparent",
45486
+ backgroundColor: $e ? X : "transparent",
45487
45487
  opacity: qt ? 0.4 : 1,
45488
45488
  cursor: qt ? "not-allowed" : "pointer"
45489
45489
  },
@@ -45495,7 +45495,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
45495
45495
  },
45496
45496
  children: R.getDate()
45497
45497
  },
45498
- J
45498
+ Q
45499
45499
  );
45500
45500
  }) }),
45501
45501
  Ae === "minutes" && /* @__PURE__ */ m("div", { className: G.timePickerContainer, children: [
@@ -45509,8 +45509,8 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
45509
45509
  max: "23",
45510
45510
  value: Vb,
45511
45511
  onChange: (R) => {
45512
- const J = parseInt(R.target.value);
45513
- !isNaN(J) && J >= 0 && J <= 23 && Pb(J);
45512
+ const Q = parseInt(R.target.value);
45513
+ !isNaN(Q) && Q >= 0 && Q <= 23 && Pb(Q);
45514
45514
  },
45515
45515
  className: G.timeInput
45516
45516
  }
@@ -45527,8 +45527,8 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
45527
45527
  max: "59",
45528
45528
  value: Hb,
45529
45529
  onChange: (R) => {
45530
- const J = parseInt(R.target.value);
45531
- !isNaN(J) && J >= 0 && J <= 59 && Tb(J);
45530
+ const Q = parseInt(R.target.value);
45531
+ !isNaN(Q) && Q >= 0 && Q <= 59 && Tb(Q);
45532
45532
  },
45533
45533
  className: G.timeInput
45534
45534
  }
@@ -45610,9 +45610,9 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
45610
45610
  dropdownMaxHeight: u = "var(--select-dropdown-max-height, 15rem)",
45611
45611
  fontSize: y = "var(--select-font-size, 0.875rem)",
45612
45612
  fontWeight: k,
45613
- iconSize: g = "var(--select-icon-size, 1.5rem)",
45613
+ iconSize: f = "var(--select-icon-size, 1.5rem)",
45614
45614
  // Espacements
45615
- labelMarginBottom: f = "var(--select-label-margin-bottom, 0.5rem)",
45615
+ labelMarginBottom: g = "var(--select-label-margin-bottom, 0.5rem)",
45616
45616
  errorMarginTop: M = "var(--select-error-margin-top, 0.25rem)",
45617
45617
  dropdownMarginTop: _ = "var(--select-dropdown-margin-top, 0.25rem)",
45618
45618
  itemPadding: v = "var(--select-item-padding, 0.5rem 0.75rem)",
@@ -45639,7 +45639,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
45639
45639
  // Scrollbars
45640
45640
  scrollbarWidth: B = "var(--select-scrollbar-width, 0.375rem)",
45641
45641
  scrollbarTrackColor: U = "var(--select-scrollbar-track-color, #f1f1f1)",
45642
- scrollbarThumbColor: K = "var(--select-scrollbar-thumb-color, #c1c1c1)",
45642
+ scrollbarThumbColor: X = "var(--select-scrollbar-thumb-color, #c1c1c1)",
45643
45643
  width: oe,
45644
45644
  minWidth: re,
45645
45645
  dropdownPosition: Ce = "bottom",
@@ -45703,13 +45703,13 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
45703
45703
  marginBottom: Ce === "top" ? _ : 0,
45704
45704
  zIndex: 1001
45705
45705
  }, we = {
45706
- width: g,
45707
- height: g,
45706
+ width: f,
45707
+ height: f,
45708
45708
  color: I || "var(--select-icon-color, #6c757d)",
45709
45709
  "--icon-rotation": ae ? "rotate(180deg)" : "rotate(0deg)"
45710
45710
  }, je = {
45711
45711
  color: z || "var(--select-label-color, #212529)",
45712
- marginBottom: f
45712
+ marginBottom: g
45713
45713
  }, Et = {
45714
45714
  color: F || "var(--select-placeholder-color, #6c757d)"
45715
45715
  }, Wo = {
@@ -45724,7 +45724,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
45724
45724
  }, qb = {
45725
45725
  "--scrollbar-width": B,
45726
45726
  "--scrollbar-track-color": U,
45727
- "--scrollbar-thumb-color": K
45727
+ "--scrollbar-thumb-color": X
45728
45728
  };
45729
45729
  return /* @__PURE__ */ m(
45730
45730
  "div",
@@ -45821,7 +45821,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
45821
45821
  }, Qfe = "_filterBar_1hlqe_3", e7e = "_label_1hlqe_11", w$ = {
45822
45822
  filterBar: Qfe,
45823
45823
  label: e7e
45824
- }, n_e = ({
45824
+ }, i_e = ({
45825
45825
  label: e = "Filtres",
45826
45826
  startDate: t,
45827
45827
  endDate: n,
@@ -45836,8 +45836,8 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
45836
45836
  className: u = "",
45837
45837
  disabled: y = !1,
45838
45838
  gap: k = "0.75rem",
45839
- labelFontSize: g = "0.875rem",
45840
- labelFontWeight: f = "400",
45839
+ labelFontSize: f = "0.875rem",
45840
+ labelFontWeight: g = "400",
45841
45841
  labelColor: M = "#212529",
45842
45842
  labelMarginRight: _ = "1rem",
45843
45843
  startDateWidth: v,
@@ -45849,8 +45849,8 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
45849
45849
  extraContent: w
45850
45850
  }) => {
45851
45851
  const $ = {
45852
- fontSize: g,
45853
- fontWeight: f,
45852
+ fontSize: f,
45853
+ fontWeight: g,
45854
45854
  color: M,
45855
45855
  marginRight: _
45856
45856
  }, I = {
@@ -45940,7 +45940,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
45940
45940
  valueStacked: H7e,
45941
45941
  stackedTop: T7e,
45942
45942
  stackedBottom: j7e
45943
- }, o_e = ({
45943
+ }, c_e = ({
45944
45944
  a11yConfig: e,
45945
45945
  iconName: t,
45946
45946
  title: n,
@@ -45955,8 +45955,8 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
45955
45955
  className: u = "",
45956
45956
  style: y = "",
45957
45957
  variant: k = "horizontal",
45958
- showMax: g = !1,
45959
- titleFontSize: f,
45958
+ showMax: f = !1,
45959
+ titleFontSize: g,
45960
45960
  titleFontWeight: M,
45961
45961
  subtitleFontSize: _,
45962
45962
  subtitleFontWeight: v,
@@ -45979,7 +45979,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
45979
45979
  maxBadgeA11yKey: D,
45980
45980
  predictionKey: B,
45981
45981
  predictionA11yKey: U,
45982
- realisedKey: K,
45982
+ realisedKey: X,
45983
45983
  realisedA11yKey: oe
45984
45984
  }) => {
45985
45985
  const re = i !== void 0 ? i : !!o, Ce = `${fe.container} ${fe[d]} ${fe[y]} ${$ ? fe.disabled : ""}`, _e = l === "white" ? fe.valuePrimaryWhite : fe.valuePrimaryBlack, Ve = l === "blue" ? fe.valueSecondaryBlue : l === "white" ? fe.valueSecondaryWhite : fe.valueSecondaryBlack, ke = (he) => he === void 0 ? void 0 : typeof he == "number" ? `${he}px` : he, ee = (he) => he === void 0 ? void 0 : he, ae = k === "vertical", le = s != null && s !== "" && s !== "-" && s !== "—", me = ae ? fe.valueRowVertical : fe.valueRowHorizontal;
@@ -46001,7 +46001,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
46001
46001
  {
46002
46002
  className: `${fe.title}`,
46003
46003
  style: {
46004
- fontSize: ke(f),
46004
+ fontSize: ke(g),
46005
46005
  fontWeight: ee(M),
46006
46006
  color: h
46007
46007
  },
@@ -46025,7 +46025,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
46025
46025
  ) }) : null,
46026
46026
  /* @__PURE__ */ m("div", { className: `${me} count-indicator-v2`, children: [
46027
46027
  /* @__PURE__ */ m("div", { className: fe.primaryRow, children: [
46028
- g && /* @__PURE__ */ c(
46028
+ f && /* @__PURE__ */ c(
46029
46029
  "span",
46030
46030
  {
46031
46031
  className: `${fe.maxBadge} max-badge-indicator-v2`,
@@ -46044,7 +46044,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
46044
46044
  fontWeight: ee(C),
46045
46045
  color: p || void 0
46046
46046
  },
46047
- title: ne(e, K, oe),
46047
+ title: ne(e, X, oe),
46048
46048
  children: r
46049
46049
  }
46050
46050
  )
@@ -46096,7 +46096,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
46096
46096
  centeredWarn: J7e
46097
46097
  }, Q7e = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 16 16", ...e }, /* @__PURE__ */ te.createElement("mask", { id: "a", width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse", style: {
46098
46098
  maskType: "alpha"
46099
- } }, /* @__PURE__ */ te.createElement("path", { fill: "#D9D9D9", d: "M0 0h16v16H0z" })), /* @__PURE__ */ te.createElement("g", { mask: "url(#a)" }, /* @__PURE__ */ te.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" }))), L$ = ze(Q7e), i_e = ({
46099
+ } }, /* @__PURE__ */ te.createElement("path", { fill: "#D9D9D9", d: "M0 0h16v16H0z" })), /* @__PURE__ */ te.createElement("g", { mask: "url(#a)" }, /* @__PURE__ */ te.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" }))), L$ = ze(Q7e), r_e = ({
46100
46100
  patient: e,
46101
46101
  genre: t,
46102
46102
  gravite: n,
@@ -46111,12 +46111,12 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
46111
46111
  statusFontColor: u = "#0284c7",
46112
46112
  statusBackgroundColor: y = "#e0f2fe",
46113
46113
  genreBackgroundColor: k = "#9ca3af",
46114
- genreFontSize: g,
46115
- style: f,
46114
+ genreFontSize: f,
46115
+ style: g,
46116
46116
  warn: M = !1,
46117
46117
  warnMessage: _,
46118
46118
  warnColor: v = "#F94134"
46119
- }) => /* @__PURE__ */ m("div", { className: We.banner, style: { backgroundColor: h, ...f }, children: [
46119
+ }) => /* @__PURE__ */ m("div", { className: We.banner, style: { backgroundColor: h, ...g }, children: [
46120
46120
  /* @__PURE__ */ m("div", { className: We.iep, children: [
46121
46121
  /* @__PURE__ */ c("div", { style: { color: p }, children: e.iep ?? "--" }),
46122
46122
  /* @__PURE__ */ m("div", { style: { color: l }, children: [
@@ -46134,7 +46134,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
46134
46134
  "span",
46135
46135
  {
46136
46136
  className: `${We.genre} genre-info-banner`,
46137
- style: { color: "#ffffff", background: k, fontSize: g },
46137
+ style: { color: "#ffffff", background: k, fontSize: f },
46138
46138
  children: t ?? "--"
46139
46139
  }
46140
46140
  ),
@@ -46197,7 +46197,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
46197
46197
  baseButton: fge,
46198
46198
  noOverlay: gge,
46199
46199
  contained: vge
46200
- }, c_e = ({
46200
+ }, s_e = ({
46201
46201
  headerText: e,
46202
46202
  headerTextColor: t = "var(--color-text)",
46203
46203
  backgroundColor: n = "var(--color-background)",
@@ -46212,8 +46212,8 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
46212
46212
  contentBackgroundColor: u = "var(--color-content-background)",
46213
46213
  sideContent: y,
46214
46214
  hideMaximize: k = !1,
46215
- hideHeader: g = !1,
46216
- hideSidebar: f = !1,
46215
+ hideHeader: f = !1,
46216
+ hideSidebar: g = !1,
46217
46217
  onDelete: M,
46218
46218
  deleteLabel: _ = "Supprimer",
46219
46219
  width: v = "75%",
@@ -46274,7 +46274,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
46274
46274
  ...F || {}
46275
46275
  },
46276
46276
  children: [
46277
- !g && /* @__PURE__ */ m("header", { className: Pe.header, style: { backgroundColor: n }, children: [
46277
+ !f && /* @__PURE__ */ m("header", { className: Pe.header, style: { backgroundColor: n }, children: [
46278
46278
  /* @__PURE__ */ c(
46279
46279
  "h2",
46280
46280
  {
@@ -46301,7 +46301,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
46301
46301
  ] })
46302
46302
  ] }),
46303
46303
  /* @__PURE__ */ m("div", { className: Pe.body, style: { overflow: w }, children: [
46304
- y && !f && /* @__PURE__ */ c("aside", { className: Pe.sidebar, children: y }),
46304
+ y && !g && /* @__PURE__ */ c("aside", { className: Pe.sidebar, children: y }),
46305
46305
  /* @__PURE__ */ m(
46306
46306
  "main",
46307
46307
  {
@@ -46343,7 +46343,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
46343
46343
  container: Mge,
46344
46344
  searchWrapper: _ge,
46345
46345
  navItems: xge
46346
- }, r_e = ({
46346
+ }, d_e = ({
46347
46347
  items: e,
46348
46348
  activeId: t,
46349
46349
  activeColor: n = "#00aec7",
@@ -46390,7 +46390,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
46390
46390
  )) })
46391
46391
  ]
46392
46392
  }
46393
- ), s_e = ({
46393
+ ), l_e = ({
46394
46394
  modules: e,
46395
46395
  selectedModuleId: t,
46396
46396
  onSelectModule: n,
@@ -46405,8 +46405,8 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
46405
46405
  addModuleLabel: u = "Titre",
46406
46406
  addModulePlaceholder: y = "Nom du module",
46407
46407
  renameModuleTitle: k = "Renommer le module",
46408
- renameModuleLabel: g = "Titre",
46409
- renameModulePlaceholder: f = "Nom du module",
46408
+ renameModuleLabel: f = "Titre",
46409
+ renameModulePlaceholder: g = "Nom du module",
46410
46410
  confirmText: M = "Valider",
46411
46411
  cancelText: _ = "Annuler",
46412
46412
  headerLabel: v,
@@ -46423,7 +46423,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
46423
46423
  }, U = Me(() => T ? [...e].sort((Z, W) => {
46424
46424
  const se = Z.title.toLowerCase(), Ae = W.title.toLowerCase();
46425
46425
  return T === "asc" ? se.localeCompare(Ae) : Ae.localeCompare(se);
46426
- }) : e, [e, T]), K = () => S(!0), oe = () => S(!1), re = (Z) => {
46426
+ }) : e, [e, T]), X = () => S(!0), oe = () => S(!1), re = (Z) => {
46427
46427
  const W = Z.title?.trim();
46428
46428
  W && o && o(W), oe();
46429
46429
  }, Ce = (Z, W) => {
@@ -46473,7 +46473,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
46473
46473
  " ",
46474
46474
  N && `(${U.length})`
46475
46475
  ] }),
46476
- C && /* @__PURE__ */ c(si, { size: 18, className: "add-view-icon", onClick: K })
46476
+ C && /* @__PURE__ */ c(si, { size: 18, className: "add-view-icon", onClick: X })
46477
46477
  ] }) }),
46478
46478
  /* @__PURE__ */ c("div", { className: "module-list", children: U.map((Z, W) => /* @__PURE__ */ m(
46479
46479
  "div",
@@ -46543,14 +46543,14 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
46543
46543
  title: k,
46544
46544
  initialValues: { title: z.title },
46545
46545
  fields: [
46546
- { name: "title", label: g, placeholder: f }
46546
+ { name: "title", label: f, placeholder: g }
46547
46547
  ],
46548
46548
  confirmText: M,
46549
46549
  cancelText: _
46550
46550
  }
46551
46551
  )
46552
46552
  ] });
46553
- }, d_e = ({
46553
+ }, h_e = ({
46554
46554
  keyName: e,
46555
46555
  translations: t,
46556
46556
  availableLanguages: n,
@@ -46559,7 +46559,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
46559
46559
  onDelete: r,
46560
46560
  a11yConfig: s
46561
46561
  }) => {
46562
- const [d, h] = V(!1), [l, p] = V(e), [u, y] = V(null), [k, g] = V(""), [f, M] = V(!1), [_, v] = V(""), [b, C] = V(""), N = ie.useMemo(() => {
46562
+ const [d, h] = V(!1), [l, p] = V(e), [u, y] = V(null), [k, f] = V(""), [g, M] = V(!1), [_, v] = V(""), [b, C] = V(""), N = ie.useMemo(() => {
46563
46563
  const A = {};
46564
46564
  return Array.isArray(t) && t.forEach((q) => {
46565
46565
  q && q.language && (A[q.language.toUpperCase()] = q.value);
@@ -46570,11 +46570,11 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
46570
46570
  A.key === "Enter" ? x() : A.key === "Escape" && (p(e), h(!1));
46571
46571
  }, $ = (A) => {
46572
46572
  const q = A.toUpperCase();
46573
- y(q), g(N[q] || "");
46573
+ y(q), f(N[q] || "");
46574
46574
  }, I = () => {
46575
- u && (o(u, k), y(null), g(""));
46575
+ u && (o(u, k), y(null), f(""));
46576
46576
  }, S = (A) => {
46577
- A.key === "Enter" ? I() : A.key === "Escape" && (y(null), g(""));
46577
+ A.key === "Enter" ? I() : A.key === "Escape" && (y(null), f(""));
46578
46578
  }, z = () => {
46579
46579
  M(!0), L.length > 0 && v(L[0].toUpperCase()), C("");
46580
46580
  }, F = () => {
@@ -46612,7 +46612,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
46612
46612
  {
46613
46613
  className: "translation-input editing",
46614
46614
  value: k,
46615
- onChange: (B) => g(B.target.value),
46615
+ onChange: (B) => f(B.target.value),
46616
46616
  onBlur: I,
46617
46617
  onKeyDown: S,
46618
46618
  placeholder: "Entrez la traduction...",
@@ -46629,7 +46629,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
46629
46629
  )
46630
46630
  ] }, A);
46631
46631
  }),
46632
- f ? /* @__PURE__ */ m("div", { className: "lang-row add-row", children: [
46632
+ g ? /* @__PURE__ */ m("div", { className: "lang-row add-row", children: [
46633
46633
  /* @__PURE__ */ c(
46634
46634
  "select",
46635
46635
  {
@@ -46668,7 +46668,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
46668
46668
  confirmButton: Nge,
46669
46669
  danger: Ige,
46670
46670
  cancelButton: Sge
46671
- }, l_e = ({
46671
+ }, p_e = ({
46672
46672
  isOpen: e,
46673
46673
  message: t,
46674
46674
  onConfirm: n,
@@ -46699,7 +46699,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
46699
46699
  title: Age,
46700
46700
  text: zge,
46701
46701
  bottomIcon: Vge
46702
- }, h_e = ({
46702
+ }, u_e = ({
46703
46703
  topIcon: e,
46704
46704
  title: t,
46705
46705
  text: n,
@@ -46755,7 +46755,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
46755
46755
  overflowDropdownItem: cve,
46756
46756
  overflowDropdownItemLabel: rve,
46757
46757
  overflowDropdownItemRemove: sve
46758
- }, p_e = ({
46758
+ }, y_e = ({
46759
46759
  options: e,
46760
46760
  noOptionsMessage: t = "",
46761
46761
  value: n,
@@ -46766,7 +46766,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
46766
46766
  disabled: d = !1,
46767
46767
  allowWrap: h = !1
46768
46768
  }) => {
46769
- const [l, p] = V(!1), [u, y] = V(""), k = E(null), g = E(null), f = E(null), M = E(null), [_, v] = V(null), [b, C] = V(!1), N = E([]), L = E(null), x = Me(() => {
46769
+ const [l, p] = V(!1), [u, y] = V(""), k = E(null), f = E(null), g = E(null), M = E(null), [_, v] = V(null), [b, C] = V(!1), N = E([]), L = E(null), x = Me(() => {
46770
46770
  const q = new Map(e.map((T) => [T.value, T]));
46771
46771
  return n.map((T) => q.get(T)).filter((T) => T !== void 0);
46772
46772
  }, [e, n]), w = Me(
@@ -46795,9 +46795,9 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
46795
46795
  }
46796
46796
  x.length > N.current.length && v(null);
46797
46797
  const q = () => {
46798
- const U = f.current, K = M.current;
46799
- if (!U || !K) return;
46800
- const oe = K.getBoundingClientRect().width, re = K.querySelector(`.${de.actions}`), Ce = re ? re.getBoundingClientRect().width : 80, _e = 56, Ve = r ? 80 : 0, ke = 16, ee = Array.from(U.querySelectorAll(`.${de.tag}`));
46798
+ const U = g.current, X = M.current;
46799
+ if (!U || !X) return;
46800
+ const oe = X.getBoundingClientRect().width, re = X.querySelector(`.${de.actions}`), Ce = re ? re.getBoundingClientRect().width : 80, _e = 56, Ve = r ? 80 : 0, ke = 16, ee = Array.from(U.querySelectorAll(`.${de.tag}`));
46801
46801
  ee.length === x.length && (N.current = ee.map((we) => {
46802
46802
  const je = we.getBoundingClientRect(), Et = we.scrollWidth;
46803
46803
  return Math.max(je.width, Et, we.offsetWidth || 0);
@@ -46840,7 +46840,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
46840
46840
  const I = () => {
46841
46841
  if (d) return;
46842
46842
  const q = !l;
46843
- q && C(!1), p(q), q && r && setTimeout(() => g.current?.focus(), 0);
46843
+ q && C(!1), p(q), q && r && setTimeout(() => f.current?.focus(), 0);
46844
46844
  }, S = (q) => {
46845
46845
  if (n.includes(q.value)) return;
46846
46846
  C(!1);
@@ -46877,7 +46877,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
46877
46877
  "div",
46878
46878
  {
46879
46879
  className: `${de.tagsContainer} ${h ? de.tagsContainerWrap : ""}`,
46880
- ref: f,
46880
+ ref: g,
46881
46881
  children: [
46882
46882
  _ !== null && _ > 0 ? x.slice(0, _).map((q, T) => /* @__PURE__ */ m("div", { className: de.tag, children: [
46883
46883
  /* @__PURE__ */ c("div", { className: de.tagLabel, children: /* @__PURE__ */ c("span", { children: q.label }) }),
@@ -46923,7 +46923,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
46923
46923
  r ? /* @__PURE__ */ c(
46924
46924
  "input",
46925
46925
  {
46926
- ref: g,
46926
+ ref: f,
46927
46927
  type: "text",
46928
46928
  className: de.searchInput,
46929
46929
  placeholder: x.length === 0 ? i : "",
@@ -47031,7 +47031,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
47031
47031
  );
47032
47032
  }, dve = "_container_h7jek_1", lve = {
47033
47033
  container: dve
47034
- }, u_e = ({
47034
+ }, k_e = ({
47035
47035
  a11yConfigs: e = [],
47036
47036
  titleKeys: t = [],
47037
47037
  labels: n = [],
@@ -47045,8 +47045,8 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
47045
47045
  const u = i.length === 0 ? o : o.filter((k) => k && i.includes(String(k.uf).replace(/^0+/, ""))), y = /* @__PURE__ */ new Set();
47046
47046
  return u.filter((k) => {
47047
47047
  if (!k || !k.uf) return !1;
47048
- const g = String(k.uf).replace(/^0+/, "");
47049
- return y.has(g) ? !1 : (y.add(g), !0);
47048
+ const f = String(k.uf).replace(/^0+/, "");
47049
+ return y.has(f) ? !1 : (y.add(f), !0);
47050
47050
  });
47051
47051
  }, [o, i]), l = Me(
47052
47052
  () => h.reduce(
@@ -47188,7 +47188,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
47188
47188
  value2: xve,
47189
47189
  statusIndicator: bve,
47190
47190
  inactive: wve
47191
- }, C$ = Math.PI / 180, y_e = ({
47191
+ }, C$ = Math.PI / 180, m_e = ({
47192
47192
  data: e,
47193
47193
  height: t = 400,
47194
47194
  bg: n,
@@ -47203,8 +47203,8 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
47203
47203
  style: u = {},
47204
47204
  labelColor: y,
47205
47205
  ratioColor: k,
47206
- separatorColor: g,
47207
- borderColor: f,
47206
+ separatorColor: f,
47207
+ borderColor: g,
47208
47208
  hideDonut: M = !0,
47209
47209
  hideColorIndicator: _ = !1
47210
47210
  }) => {
@@ -47222,8 +47222,8 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
47222
47222
  "--border-radius": l || "0",
47223
47223
  "--label-color": y || "inherit",
47224
47224
  "--ratio-color": k || "inherit",
47225
- "--separator-color": g || "#03a9f4",
47226
- "--border-color": f || "#e0e0e0"
47225
+ "--separator-color": f || "#03a9f4",
47226
+ "--border-color": g || "#e0e0e0"
47227
47227
  }, L = Me(() => e.map((I) => ({
47228
47228
  ...I,
47229
47229
  displayValue: v.has(I.nom) ? I.value : 0
@@ -47321,7 +47321,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
47321
47321
  container: Lve,
47322
47322
  leftGroup: Cve,
47323
47323
  iconBtn: Nve
47324
- }, Ive = (e) => /* @__PURE__ */ te.createElement("svg", { width: "1em", height: "1em", fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, viewBox: "0 0 24 24", ...e }, /* @__PURE__ */ te.createElement("path", { d: "M3 12h18M3 6h18M3 18h18" })), Sve = ze(Ive), $ve = (e) => /* @__PURE__ */ te.createElement("svg", { width: "1em", height: "1em", fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, viewBox: "0 0 24 24", ...e }, /* @__PURE__ */ te.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" })), jA = ze($ve), k_e = ({
47324
+ }, Ive = (e) => /* @__PURE__ */ te.createElement("svg", { width: "1em", height: "1em", fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, viewBox: "0 0 24 24", ...e }, /* @__PURE__ */ te.createElement("path", { d: "M3 12h18M3 6h18M3 18h18" })), Sve = ze(Ive), $ve = (e) => /* @__PURE__ */ te.createElement("svg", { width: "1em", height: "1em", fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, viewBox: "0 0 24 24", ...e }, /* @__PURE__ */ te.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" })), jA = ze($ve), f_e = ({
47325
47325
  menuIcon: e,
47326
47326
  logoProps: t,
47327
47327
  actionIcon: n,
@@ -47371,7 +47371,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
47371
47371
  container: qve,
47372
47372
  iconBtn: Ave,
47373
47373
  title: zve
47374
- }, m_e = ({
47374
+ }, g_e = ({
47375
47375
  title: e = "Menu",
47376
47376
  closeIcon: t,
47377
47377
  actionIcon: n,
@@ -47423,7 +47423,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
47423
47423
  }
47424
47424
  )
47425
47425
  ] });
47426
- }, f_e = ({
47426
+ }, v_e = ({
47427
47427
  title: e,
47428
47428
  countLabel: t = "UF",
47429
47429
  actionIcon: n = /* @__PURE__ */ c(vt, { size: 16 }),
@@ -47549,7 +47549,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
47549
47549
  padding: 0 15px 15px 15px;
47550
47550
  display: flex;
47551
47551
  justify-content: flex-end;
47552
- `, g_e = ({
47552
+ `, M_e = ({
47553
47553
  value: e,
47554
47554
  min: t = 0,
47555
47555
  max: n = 100,
@@ -47564,8 +47564,8 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
47564
47564
  trackFillColor: u = "#00A6D9",
47565
47565
  thumbColor: y = "#ffffff",
47566
47566
  thumbBorderColor: k = "#00A6D9",
47567
- thumbSize: g = "20px",
47568
- thumbBorderWidth: f = "2px",
47567
+ thumbSize: f = "20px",
47568
+ thumbBorderWidth: g = "2px",
47569
47569
  ariaLabel: M,
47570
47570
  ariaLabelledBy: _,
47571
47571
  a11yConfig: v
@@ -47594,10 +47594,10 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
47594
47594
  $trackHeight: l,
47595
47595
  $trackColor: p,
47596
47596
  $trackFillColor: u,
47597
- $thumbSize: g,
47597
+ $thumbSize: f,
47598
47598
  $thumbColor: y,
47599
47599
  $thumbBorderColor: k,
47600
- $thumbBorderWidth: f
47600
+ $thumbBorderWidth: g
47601
47601
  }
47602
47602
  )
47603
47603
  ] });
@@ -47714,7 +47714,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
47714
47714
  }
47715
47715
  `, Zve = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 20 20", ...e }, /* @__PURE__ */ te.createElement("mask", { id: "a", width: 20, height: 20, x: 0, y: 0, maskUnits: "userSpaceOnUse", style: {
47716
47716
  maskType: "alpha"
47717
- } }, /* @__PURE__ */ te.createElement("path", { fill: "#D9D9D9", d: "M0 0h20v20H0z" })), /* @__PURE__ */ te.createElement("g", { mask: "url(#a)" }, /* @__PURE__ */ te.createElement("path", { fill: "#1C1B1F", d: "M10.75 10.375V7.748a.73.73 0 0 0-.214-.53.7.7 0 0 0-.531-.218.74.74 0 0 0-.536.214.7.7 0 0 0-.218.53v2.954q0 .149.062.288.063.139.174.25l2.076 2.076q.23.23.531.22a.77.77 0 0 0 .532-.24.73.73 0 0 0 0-1.063zM10 18a6.8 6.8 0 0 1-2.731-.554 7.1 7.1 0 0 1-2.217-1.498 7.1 7.1 0 0 1-1.497-2.216A6.8 6.8 0 0 1 3 11q0-1.458.554-2.732t1.497-2.217A7.1 7.1 0 0 1 7.27 4.554 6.8 6.8 0 0 1 10 4q1.458 0 2.732.554 1.274.555 2.216 1.497a7.1 7.1 0 0 1 1.498 2.217Q17 9.542 17 11t-.555 2.732a7.1 7.1 0 0 1-1.497 2.217 7.1 7.1 0 0 1-2.216 1.497A6.8 6.8 0 0 1 10 18M1.939 6.458a.73.73 0 0 1 0-1.062l2.48-2.48a.73.73 0 0 1 1.062 0 .73.73 0 0 1 0 1.063l-2.5 2.5a.68.68 0 0 1-.521.219.76.76 0 0 1-.52-.24m16.146 0a.73.73 0 0 1-1.062 0l-2.48-2.479a.73.73 0 0 1 0-1.062.73.73 0 0 1 1.063 0l2.479 2.5q.23.228.23.52a.72.72 0 0 1-.23.521M9.996 16.5q2.296 0 3.9-1.6t1.605-3.895-1.6-3.9T10.005 5.5t-3.9 1.6T4.5 10.995t1.6 3.9T9.995 16.5" }))), Kve = ze(Zve), v_e = ({
47717
+ } }, /* @__PURE__ */ te.createElement("path", { fill: "#D9D9D9", d: "M0 0h20v20H0z" })), /* @__PURE__ */ te.createElement("g", { mask: "url(#a)" }, /* @__PURE__ */ te.createElement("path", { fill: "#1C1B1F", d: "M10.75 10.375V7.748a.73.73 0 0 0-.214-.53.7.7 0 0 0-.531-.218.74.74 0 0 0-.536.214.7.7 0 0 0-.218.53v2.954q0 .149.062.288.063.139.174.25l2.076 2.076q.23.23.531.22a.77.77 0 0 0 .532-.24.73.73 0 0 0 0-1.063zM10 18a6.8 6.8 0 0 1-2.731-.554 7.1 7.1 0 0 1-2.217-1.498 7.1 7.1 0 0 1-1.497-2.216A6.8 6.8 0 0 1 3 11q0-1.458.554-2.732t1.497-2.217A7.1 7.1 0 0 1 7.27 4.554 6.8 6.8 0 0 1 10 4q1.458 0 2.732.554 1.274.555 2.216 1.497a7.1 7.1 0 0 1 1.498 2.217Q17 9.542 17 11t-.555 2.732a7.1 7.1 0 0 1-1.497 2.217 7.1 7.1 0 0 1-2.216 1.497A6.8 6.8 0 0 1 10 18M1.939 6.458a.73.73 0 0 1 0-1.062l2.48-2.48a.73.73 0 0 1 1.062 0 .73.73 0 0 1 0 1.063l-2.5 2.5a.68.68 0 0 1-.521.219.76.76 0 0 1-.52-.24m16.146 0a.73.73 0 0 1-1.062 0l-2.48-2.479a.73.73 0 0 1 0-1.062.73.73 0 0 1 1.063 0l2.479 2.5q.23.228.23.52a.72.72 0 0 1-.23.521M9.996 16.5q2.296 0 3.9-1.6t1.605-3.895-1.6-3.9T10.005 5.5t-3.9 1.6T4.5 10.995t1.6 3.9T9.995 16.5" }))), Kve = ze(Zve), __e = ({
47718
47718
  value: e,
47719
47719
  onChange: t,
47720
47720
  label: n,
@@ -47729,9 +47729,9 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
47729
47729
  maxHours: u = 23,
47730
47730
  ariaLabel: y,
47731
47731
  ariaLabelledBy: k,
47732
- a11yConfig: g
47732
+ a11yConfig: f
47733
47733
  }) => {
47734
- const [f, M] = V(!1), _ = E(null), v = (I) => {
47734
+ const [g, M] = V(!1), _ = E(null), v = (I) => {
47735
47735
  if (I instanceof Date)
47736
47736
  return {
47737
47737
  h: I.getHours().toString().padStart(2, "0"),
@@ -47749,7 +47749,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
47749
47749
  O(() => {
47750
47750
  const I = v(e);
47751
47751
  C(I.h), L(I.m);
47752
- }, [e, f]), O(() => {
47752
+ }, [e, g]), O(() => {
47753
47753
  const I = (S) => {
47754
47754
  _.current && !_.current.contains(S.target) && M(!1);
47755
47755
  };
@@ -47758,20 +47758,20 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
47758
47758
  const x = () => {
47759
47759
  const I = parseInt(b) || 0, S = parseInt(N) || 0, z = Math.min(u, Math.max(0, I)).toString().padStart(2, "0"), F = Math.min(59, Math.max(0, S)).toString().padStart(2, "0");
47760
47760
  t(`${z}:${F}`), M(!1);
47761
- }, w = e ? typeof e == "string" ? e : `${e.getHours().toString().padStart(2, "0")}:${e.getMinutes().toString().padStart(2, "0")}` : "", $ = ne(g, n);
47761
+ }, w = e ? typeof e == "string" ? e : `${e.getHours().toString().padStart(2, "0")}:${e.getMinutes().toString().padStart(2, "0")}` : "", $ = ne(f, n);
47762
47762
  return /* @__PURE__ */ m(Xve, { ref: _, $fullWidth: r, title: $, children: [
47763
47763
  n && /* @__PURE__ */ c(Yve, { id: k ? void 0 : `${n}-label`, children: n }),
47764
47764
  /* @__PURE__ */ c(
47765
47765
  Jve,
47766
47766
  {
47767
47767
  type: "button",
47768
- $isOpen: f,
47768
+ $isOpen: g,
47769
47769
  $disabled: i,
47770
- onClick: () => !i && M(!f),
47770
+ onClick: () => !i && M(!g),
47771
47771
  disabled: i,
47772
47772
  "aria-label": y,
47773
47773
  "aria-labelledby": k || (n ? `${n}-label` : void 0),
47774
- "aria-expanded": f,
47774
+ "aria-expanded": g,
47775
47775
  "aria-haspopup": "listbox",
47776
47776
  children: /* @__PURE__ */ m(Qve, { children: [
47777
47777
  /* @__PURE__ */ c(e9e, { $isPlaceholder: !w, children: w || o }),
@@ -47779,7 +47779,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
47779
47779
  ] })
47780
47780
  }
47781
47781
  ),
47782
- f && /* @__PURE__ */ m(a9e, { $alignment: p, children: [
47782
+ g && /* @__PURE__ */ m(a9e, { $alignment: p, children: [
47783
47783
  /* @__PURE__ */ m(n9e, { children: [
47784
47784
  /* @__PURE__ */ m(N$, { children: [
47785
47785
  /* @__PURE__ */ c(I$, { children: h }),
@@ -47966,7 +47966,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
47966
47966
  background-color: #00a6d9;
47967
47967
  color: #ffffff;
47968
47968
  }
47969
- `, M_e = ({
47969
+ `, x_e = ({
47970
47970
  title: e = "Liste d'attente",
47971
47971
  onClose: t,
47972
47972
  onBack: n,
@@ -48068,7 +48068,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
48068
48068
  border-bottom-left-radius: 0.5rem;
48069
48069
  border-bottom-right-radius: 0.5rem;
48070
48070
  }
48071
- `, __e = ({
48071
+ `, b_e = ({
48072
48072
  items: e,
48073
48073
  title: t,
48074
48074
  backgroundColor: n,
@@ -48182,7 +48182,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
48182
48182
  &:hover {
48183
48183
  opacity: 1;
48184
48184
  }
48185
- `, k9e = "_patientCard_1r4bs_1", m9e = "_notAllowedCursor_1r4bs_16", f9e = "_innerPadding_1r4bs_26", g9e = "_noFooterMargin_1r4bs_33", v9e = "_topArea_1r4bs_37", M9e = "_small_1r4bs_46", _9e = "_header_1r4bs_59", x9e = "_headerLeft_1r4bs_66", b9e = "_headerRight_1r4bs_72", w9e = "_uf_1r4bs_77", L9e = "_rmBadge_1r4bs_85", C9e = "_roomBed_1r4bs_99", N9e = "_content_1r4bs_106", I9e = "_body_1r4bs_118", S9e = "_upperBodyContent_1r4bs_140", $9e = "_patientInfo_1r4bs_150", q9e = "_iep_1r4bs_155", A9e = "_name_1r4bs_160", z9e = "_birthName_1r4bs_167", V9e = "_firstNames_1r4bs_172", P9e = "_dobAge_1r4bs_177", H9e = "_duration_1r4bs_182", T9e = "_comment_1r4bs_188", j9e = "_timeline_1r4bs_195", D9e = "_destination_1r4bs_199", B9e = "_arrow_1r4bs_211", F9e = "_progressBar_1r4bs_220", R9e = "_progressFill_1r4bs_230", O9e = "_progressDate_1r4bs_240", E9e = "_footer_1r4bs_251", U9e = "_actionsLeft_1r4bs_260", W9e = "_actionsRight_1r4bs_261", G9e = "_iconWrap_1r4bs_267", Z9e = "_centerLabelHuge_1r4bs_286", K9e = "_labelYellow_1r4bs_293", X9e = "_expectedBottom_1r4bs_312", Y9e = "_notesView_1r4bs_326", J9e = "_notesHeader_1r4bs_334", Q9e = "_notesTitle_1r4bs_340", eMe = "_notesList_1r4bs_346", tMe = "_noteItem_1r4bs_352", aMe = "_reservationView_1r4bs_357", nMe = "_reservationName_1r4bs_363", oMe = "_reservationNote_1r4bs_369", iMe = "_bottomArea_1r4bs_374", cMe = "_bottomLeftSymbol_1r4bs_382", Q = {
48185
+ `, k9e = "_patientCard_959et_1", m9e = "_notAllowedCursor_959et_16", f9e = "_innerPadding_959et_26", g9e = "_noFooterMargin_959et_33", v9e = "_topArea_959et_37", M9e = "_small_959et_46", _9e = "_header_959et_59", x9e = "_headerLeft_959et_66", b9e = "_headerRight_959et_72", w9e = "_uf_959et_77", L9e = "_rmBadge_959et_85", C9e = "_roomBed_959et_99", N9e = "_content_959et_106", I9e = "_body_959et_118", S9e = "_upperBodyContent_959et_140", $9e = "_patientInfo_959et_150", q9e = "_iep_959et_155", A9e = "_name_959et_160", z9e = "_birthName_959et_167", V9e = "_firstNames_959et_172", P9e = "_dobAge_959et_177", H9e = "_duration_959et_182", T9e = "_comment_959et_188", j9e = "_timeline_959et_195", D9e = "_destination_959et_199", B9e = "_arrow_959et_211", F9e = "_progressBar_959et_220", R9e = "_progressFill_959et_230", O9e = "_progressDate_959et_240", E9e = "_footer_959et_251", U9e = "_actionsLeft_959et_260", W9e = "_actionsRight_959et_261", G9e = "_iconWrap_959et_267", Z9e = "_centerLabelHuge_959et_286", K9e = "_labelYellow_959et_293", X9e = "_expectedBottom_959et_312", Y9e = "_expectedPrefix_959et_320", J9e = "_expectedDate_959et_326", Q9e = "_notesView_959et_347", eMe = "_notesHeader_959et_355", tMe = "_notesTitle_959et_361", aMe = "_notesList_959et_367", nMe = "_noteItem_959et_373", oMe = "_reservationView_959et_378", iMe = "_reservationName_959et_384", cMe = "_reservationNote_959et_390", rMe = "_bottomArea_959et_395", sMe = "_bottomLeftSymbol_959et_403", K = {
48186
48186
  patientCard: k9e,
48187
48187
  notAllowedCursor: m9e,
48188
48188
  innerPadding: f9e,
@@ -48219,17 +48219,19 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
48219
48219
  centerLabelHuge: Z9e,
48220
48220
  labelYellow: K9e,
48221
48221
  expectedBottom: X9e,
48222
- notesView: Y9e,
48223
- notesHeader: J9e,
48224
- notesTitle: Q9e,
48225
- notesList: eMe,
48226
- noteItem: tMe,
48227
- reservationView: aMe,
48228
- reservationName: nMe,
48229
- reservationNote: oMe,
48230
- bottomArea: iMe,
48231
- bottomLeftSymbol: cMe
48232
- }, x_e = ({
48222
+ expectedPrefix: Y9e,
48223
+ expectedDate: J9e,
48224
+ notesView: Q9e,
48225
+ notesHeader: eMe,
48226
+ notesTitle: tMe,
48227
+ notesList: aMe,
48228
+ noteItem: nMe,
48229
+ reservationView: oMe,
48230
+ reservationName: iMe,
48231
+ reservationNote: cMe,
48232
+ bottomArea: rMe,
48233
+ bottomLeftSymbol: sMe
48234
+ }, w_e = ({
48233
48235
  size: e = "large",
48234
48236
  className: t = "",
48235
48237
  customStyle: n,
@@ -48244,8 +48246,8 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
48244
48246
  firstNamesLine: u,
48245
48247
  dobAgeLine: y,
48246
48248
  stayDuration: k,
48247
- comment: g,
48248
- expectedDate: f,
48249
+ comment: f,
48250
+ expectedDate: g,
48249
48251
  expectedDatePrefix: M,
48250
48252
  showTimeline: _ = !1,
48251
48253
  destination: v,
@@ -48268,69 +48270,72 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
48268
48270
  rmBadge: D
48269
48271
  }) => {
48270
48272
  const B = e === "small", U = `
48271
- ${Q.patientCard}
48272
- ${B ? Q.small : ""}
48273
- ${T ? Q.notAllowedCursor : ""}
48273
+ ${K.patientCard}
48274
+ ${B ? K.small : ""}
48275
+ ${T ? K.notAllowedCursor : ""}
48274
48276
  ${t}
48275
48277
  `.trim();
48276
- return /* @__PURE__ */ c("div", { className: U, style: n, children: /* @__PURE__ */ m("div", { className: Q.innerPadding, children: [
48278
+ return /* @__PURE__ */ c("div", { className: U, style: n, children: /* @__PURE__ */ m("div", { className: K.innerPadding, children: [
48277
48279
  /* @__PURE__ */ m(
48278
48280
  "div",
48279
48281
  {
48280
- className: `${Q.topArea} ${x ? "" : Q.noFooterMargin}`,
48282
+ className: `${K.topArea} ${x ? "" : K.noFooterMargin}`,
48281
48283
  style: o,
48282
48284
  children: [
48283
- /* @__PURE__ */ m("div", { className: Q.header, children: [
48284
- /* @__PURE__ */ m("div", { className: Q.headerLeft, children: [
48285
- i && /* @__PURE__ */ c("div", { className: Q.uf, children: i }),
48286
- D && /* @__PURE__ */ c("div", { className: Q.rmBadge, children: D })
48285
+ /* @__PURE__ */ m("div", { className: K.header, children: [
48286
+ /* @__PURE__ */ m("div", { className: K.headerLeft, children: [
48287
+ i && /* @__PURE__ */ c("div", { className: K.uf, children: i }),
48288
+ D && /* @__PURE__ */ c("div", { className: K.rmBadge, children: D })
48287
48289
  ] }),
48288
- /* @__PURE__ */ c("div", { className: Q.headerRight, children: r && /* @__PURE__ */ c("span", { className: Q.roomBed, children: r }) })
48290
+ /* @__PURE__ */ c("div", { className: K.headerRight, children: r && /* @__PURE__ */ c("span", { className: K.roomBed, children: r }) })
48289
48291
  ] }),
48290
- /* @__PURE__ */ m("div", { className: Q.content, children: [
48291
- /* @__PURE__ */ m("div", { className: Q.body, children: [
48292
+ /* @__PURE__ */ m("div", { className: K.content, children: [
48293
+ /* @__PURE__ */ m("div", { className: K.body, children: [
48292
48294
  I === "default" && /* @__PURE__ */ m(Fe, { children: [
48293
48295
  s && /* @__PURE__ */ c(
48294
48296
  "div",
48295
48297
  {
48296
- className: `${Q.centerLabelHuge} ${A ? Q.labelYellow : ""}`,
48298
+ className: `${K.centerLabelHuge} ${A ? K.labelYellow : ""}`,
48297
48299
  children: s
48298
48300
  }
48299
48301
  ),
48300
- /* @__PURE__ */ m("div", { className: Q.upperBodyContent, children: [
48301
- /* @__PURE__ */ m("div", { className: Q.patientInfo, children: [
48302
- d && /* @__PURE__ */ c("div", { className: Q.iep, children: d }),
48303
- h && /* @__PURE__ */ c("div", { className: Q.name, children: h }),
48304
- l && /* @__PURE__ */ m("div", { className: Q.birthName, children: [
48302
+ /* @__PURE__ */ m("div", { className: K.upperBodyContent, children: [
48303
+ /* @__PURE__ */ m("div", { className: K.patientInfo, children: [
48304
+ d && /* @__PURE__ */ c("div", { className: K.iep, children: d }),
48305
+ h && /* @__PURE__ */ c("div", { className: K.name, children: h }),
48306
+ l && /* @__PURE__ */ m("div", { className: K.birthName, children: [
48305
48307
  "(",
48306
48308
  p ? `${p} ${l}` : l,
48307
48309
  ")"
48308
48310
  ] }),
48309
- u && /* @__PURE__ */ c("div", { className: Q.firstNames, children: u }),
48310
- y && /* @__PURE__ */ c("div", { className: Q.dobAge, children: y })
48311
+ u && /* @__PURE__ */ c("div", { className: K.firstNames, children: u }),
48312
+ y && /* @__PURE__ */ c("div", { className: K.dobAge, children: y })
48311
48313
  ] }),
48312
- k && /* @__PURE__ */ c("div", { className: Q.duration, children: k }),
48313
- g && /* @__PURE__ */ c("div", { className: Q.comment, children: g })
48314
+ k && /* @__PURE__ */ c("div", { className: K.duration, children: k }),
48315
+ f && /* @__PURE__ */ c("div", { className: K.comment, children: f })
48314
48316
  ] }),
48315
- f && /* @__PURE__ */ c("div", { className: Q.expectedBottom, children: M ? `${M} ${f}` : f })
48317
+ g && /* @__PURE__ */ m("div", { className: K.expectedBottom, children: [
48318
+ M && /* @__PURE__ */ c("div", { className: K.expectedPrefix, children: M }),
48319
+ /* @__PURE__ */ c("div", { className: K.expectedDate, children: g })
48320
+ ] })
48316
48321
  ] }),
48317
- I === "notes" && /* @__PURE__ */ m("div", { className: Q.notesView, children: [
48318
- /* @__PURE__ */ m("div", { className: Q.notesHeader, children: [
48322
+ I === "notes" && /* @__PURE__ */ m("div", { className: K.notesView, children: [
48323
+ /* @__PURE__ */ m("div", { className: K.notesHeader, children: [
48319
48324
  z,
48320
- /* @__PURE__ */ c("span", { className: Q.notesTitle, children: S })
48325
+ /* @__PURE__ */ c("span", { className: K.notesTitle, children: S })
48321
48326
  ] }),
48322
- /* @__PURE__ */ c("div", { className: Q.notesList, children: F.map((K, oe) => /* @__PURE__ */ c("div", { className: Q.noteItem, children: K }, oe)) })
48327
+ /* @__PURE__ */ c("div", { className: K.notesList, children: F.map((X, oe) => /* @__PURE__ */ c("div", { className: K.noteItem, children: X }, oe)) })
48323
48328
  ] }),
48324
- I === "reservation" && /* @__PURE__ */ m("div", { className: Q.reservationView, children: [
48325
- /* @__PURE__ */ c("div", { className: Q.reservationName, children: j }),
48326
- H && /* @__PURE__ */ c("div", { className: Q.reservationNote, children: H })
48329
+ I === "reservation" && /* @__PURE__ */ m("div", { className: K.reservationView, children: [
48330
+ /* @__PURE__ */ c("div", { className: K.reservationName, children: j }),
48331
+ H && /* @__PURE__ */ c("div", { className: K.reservationNote, children: H })
48327
48332
  ] })
48328
48333
  ] }),
48329
- (q || _) && /* @__PURE__ */ m("div", { className: Q.bottomArea, children: [
48330
- q && /* @__PURE__ */ c("div", { className: Q.bottomLeftSymbol, children: q }),
48331
- _ && /* @__PURE__ */ m("div", { className: Q.timeline, children: [
48332
- v && I !== "reservation" && /* @__PURE__ */ m("div", { className: Q.destination, children: [
48333
- /* @__PURE__ */ c("span", { className: Q.arrow, children: "→" }),
48334
+ (q || _) && /* @__PURE__ */ m("div", { className: K.bottomArea, children: [
48335
+ q && /* @__PURE__ */ c("div", { className: K.bottomLeftSymbol, children: q }),
48336
+ _ && /* @__PURE__ */ m("div", { className: K.timeline, children: [
48337
+ v && I !== "reservation" && /* @__PURE__ */ m("div", { className: K.destination, children: [
48338
+ /* @__PURE__ */ c("span", { className: K.arrow, children: "→" }),
48334
48339
  /* @__PURE__ */ c("span", { children: v.prefix }),
48335
48340
  /* @__PURE__ */ c("strong", { children: v.name }),
48336
48341
  /* @__PURE__ */ c("span", { children: v.suffix })
@@ -48338,20 +48343,20 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
48338
48343
  /* @__PURE__ */ m(
48339
48344
  "div",
48340
48345
  {
48341
- className: Q.progressBar,
48346
+ className: K.progressBar,
48342
48347
  style: C ? { backgroundColor: C } : void 0,
48343
48348
  children: [
48344
48349
  /* @__PURE__ */ c(
48345
48350
  "div",
48346
48351
  {
48347
- className: Q.progressFill,
48352
+ className: K.progressFill,
48348
48353
  style: {
48349
48354
  width: `${b}%`,
48350
48355
  backgroundColor: N
48351
48356
  }
48352
48357
  }
48353
48358
  ),
48354
- L && /* @__PURE__ */ c("span", { className: Q.progressDate, children: L })
48359
+ L && /* @__PURE__ */ c("span", { className: K.progressDate, children: L })
48355
48360
  ]
48356
48361
  }
48357
48362
  )
@@ -48361,12 +48366,12 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
48361
48366
  ]
48362
48367
  }
48363
48368
  ),
48364
- x && /* @__PURE__ */ m("div", { className: Q.footer, children: [
48365
- /* @__PURE__ */ c("div", { className: Q.actionsLeft, children: w.map((K, oe) => /* @__PURE__ */ c("div", { className: Q.iconWrap, children: K }, `left-${oe}`)) }),
48366
- /* @__PURE__ */ c("div", { className: Q.actionsRight, children: $.map((K, oe) => /* @__PURE__ */ c("div", { className: Q.iconWrap, children: K }, `right-${oe}`)) })
48369
+ x && /* @__PURE__ */ m("div", { className: K.footer, children: [
48370
+ /* @__PURE__ */ c("div", { className: K.actionsLeft, children: w.map((X, oe) => /* @__PURE__ */ c("div", { className: K.iconWrap, children: X }, `left-${oe}`)) }),
48371
+ /* @__PURE__ */ c("div", { className: K.actionsRight, children: $.map((X, oe) => /* @__PURE__ */ c("div", { className: K.iconWrap, children: X }, `right-${oe}`)) })
48367
48372
  ] })
48368
48373
  ] }) });
48369
- }, b_e = ({
48374
+ }, L_e = ({
48370
48375
  title: e,
48371
48376
  titleBold: t,
48372
48377
  titleKey: n,
@@ -48390,21 +48395,21 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
48390
48395
  e && /* @__PURE__ */ c("span", { className: "title-regular", children: e }),
48391
48396
  t && /* @__PURE__ */ c("span", { className: "title-bold", children: t })
48392
48397
  ] }) }),
48393
- /* @__PURE__ */ c("div", { className: "data-list-v2-content", children: o.map((g) => /* @__PURE__ */ m(
48398
+ /* @__PURE__ */ c("div", { className: "data-list-v2-content", children: o.map((f) => /* @__PURE__ */ m(
48394
48399
  "div",
48395
48400
  {
48396
- className: `data-list-v2-item ${u ? "interactive" : ""} ${g.showValueLine ? "with-value-line" : ""}`,
48397
- onClick: () => u?.(g),
48401
+ className: `data-list-v2-item ${u ? "interactive" : ""} ${f.showValueLine ? "with-value-line" : ""}`,
48402
+ onClick: () => u?.(f),
48398
48403
  children: [
48399
- /* @__PURE__ */ c("div", { className: "item-label-col", style: d, children: /* @__PURE__ */ c("div", { className: "item-label", title: ne(g.a11yConfig, g.labelKey), children: g.label }) }),
48404
+ /* @__PURE__ */ c("div", { className: "item-label-col", style: d, children: /* @__PURE__ */ c("div", { className: "item-label", title: ne(f.a11yConfig, f.labelKey), children: f.label }) }),
48400
48405
  /* @__PURE__ */ m("div", { className: "item-value-col", style: h, children: [
48401
- /* @__PURE__ */ c("div", { className: "item-value", title: ne(g.a11yConfig, g.valueKey), children: g.value }),
48406
+ /* @__PURE__ */ c("div", { className: "item-value", title: ne(f.a11yConfig, f.valueKey), children: f.value }),
48402
48407
  y && /* @__PURE__ */ c(
48403
48408
  "div",
48404
48409
  {
48405
48410
  className: "item-delete-action",
48406
- onClick: (f) => {
48407
- f.stopPropagation(), y(g);
48411
+ onClick: (g) => {
48412
+ g.stopPropagation(), y(f);
48408
48413
  },
48409
48414
  children: /* @__PURE__ */ c(vt, { size: 16 })
48410
48415
  }
@@ -48412,10 +48417,10 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
48412
48417
  ] })
48413
48418
  ]
48414
48419
  },
48415
- g.id
48420
+ f.id
48416
48421
  )) })
48417
48422
  ] });
48418
- }, w_e = ({
48423
+ }, C_e = ({
48419
48424
  id: e,
48420
48425
  data: t,
48421
48426
  children: n,
@@ -48436,7 +48441,7 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
48436
48441
  className: o,
48437
48442
  children: n
48438
48443
  }
48439
- ), L_e = ({
48444
+ ), N_e = ({
48440
48445
  id: e,
48441
48446
  onDrop: t,
48442
48447
  children: n,
@@ -48451,15 +48456,15 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
48451
48456
  k.preventDefault(), d.current -= 1, d.current === 0 && s(!1);
48452
48457
  }, u = (k) => {
48453
48458
  k.preventDefault(), s(!1), d.current = 0;
48454
- const g = k.dataTransfer.getData("text/plain");
48455
- let f;
48459
+ const f = k.dataTransfer.getData("text/plain");
48460
+ let g;
48456
48461
  try {
48457
48462
  const M = k.dataTransfer.getData("application/json");
48458
- M && (f = JSON.parse(M));
48463
+ M && (g = JSON.parse(M));
48459
48464
  } catch (M) {
48460
48465
  console.error("Failed to parse drag data", M);
48461
48466
  }
48462
- g && t(g, f);
48467
+ f && t(f, g);
48463
48468
  }, y = `${o} ${r ? i : ""}`.trim();
48464
48469
  return /* @__PURE__ */ c(
48465
48470
  "div",
@@ -48475,129 +48480,129 @@ const Eme = (e) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.
48475
48480
  );
48476
48481
  };
48477
48482
  export {
48478
- h_e as ActionCard,
48483
+ u_e as ActionCard,
48479
48484
  ui as AddItemModal,
48480
48485
  VA as Alert,
48481
- IMe as AlertsProvider,
48486
+ $Me as AlertsProvider,
48482
48487
  Zz as BadgeList,
48483
48488
  E5e as BadgeRenderer,
48484
48489
  FL as Button,
48485
- NMe as ChartContainer,
48490
+ SMe as ChartContainer,
48486
48491
  kue as CheckboxInput,
48487
48492
  rN as CircularProgress,
48488
48493
  Wue as ColorInput,
48489
48494
  uN as ComponentVisibilityManager,
48490
- KMe as ComponentVisibilityToggle,
48491
- l_e as ConfirmationModal,
48492
- EMe as ConfirmationPopup,
48493
- BMe as CounterListBox,
48495
+ YMe as ComponentVisibilityToggle,
48496
+ p_e as ConfirmationModal,
48497
+ WMe as ConfirmationPopup,
48498
+ RMe as CounterListBox,
48494
48499
  G5e as CurrencyRenderer,
48495
- GMe as DashboardSummary,
48500
+ KMe as DashboardSummary,
48496
48501
  Po as DataBoard,
48497
48502
  G6e as DataFourBoards,
48498
- b_e as DataListV2,
48503
+ L_e as DataListV2,
48499
48504
  Due as DateInput,
48500
48505
  b$ as DatePicker,
48501
48506
  U5e as DateRenderer,
48502
- pMe as DayStatCard,
48503
- XMe as DayStatCardV2,
48504
- y_e as DonutChartRatio,
48505
- w_e as Draggable,
48506
- kMe as DraggableProvider,
48507
+ yMe as DayStatCard,
48508
+ JMe as DayStatCardV2,
48509
+ m_e as DonutChartRatio,
48510
+ C_e as Draggable,
48511
+ fMe as DraggableProvider,
48507
48512
  RL as DraggableSwitcherButton,
48508
- L_e as Droppable,
48509
- xMe as DynamicForm,
48510
- wMe as DynamicIcon,
48513
+ N_e as Droppable,
48514
+ wMe as DynamicForm,
48515
+ CMe as DynamicIcon,
48511
48516
  Gue as DynamicInput,
48512
48517
  R5e as EmailRenderer,
48513
- ZMe as Encours,
48514
- jMe as EntryControl,
48518
+ XMe as Encours,
48519
+ BMe as EntryControl,
48515
48520
  Aue as FileInput,
48516
- n_e as FilterBar,
48517
- p_e as FiltreEtiquette,
48518
- RMe as FlexRowContainer,
48521
+ i_e as FilterBar,
48522
+ y_e as FiltreEtiquette,
48523
+ EMe as FlexRowContainer,
48519
48524
  c2e as Grid,
48520
- gMe as Header,
48521
- YMe as HorizontalBarChart,
48525
+ MMe as Header,
48526
+ QMe as HorizontalBarChart,
48522
48527
  m2e as IconText,
48523
48528
  Z5e as ImageRenderer,
48524
- o_e as IndicatorItemV2,
48525
- i_e as InfoBanner,
48529
+ c_e as IndicatorItemV2,
48530
+ r_e as InfoBanner,
48526
48531
  JC as InputWrapper,
48527
- mMe as LegendFilterProvider,
48532
+ gMe as LegendFilterProvider,
48528
48533
  OL as LegendFilterSwitcherButton,
48529
- I_e as LineChart,
48534
+ $_e as LineChart,
48530
48535
  O5e as LinkRenderer,
48531
- OMe as ListContentContainer,
48536
+ UMe as ListContentContainer,
48532
48537
  mC as Logo,
48533
48538
  Qke as MetricsPanel,
48534
- m_e as MobileMenuHeader,
48539
+ g_e as MobileMenuHeader,
48535
48540
  V8e as MobileNavMenu,
48536
- k_e as MobileTopBar,
48537
- PMe as ModuleHeader,
48538
- HMe as ModuleSideBar,
48539
- s_e as ModuleSideBarV2,
48541
+ f_e as MobileTopBar,
48542
+ TMe as ModuleHeader,
48543
+ jMe as ModuleSideBar,
48544
+ l_e as ModuleSideBarV2,
48540
48545
  r2e as NavBar,
48541
- JMe as NavBarV2,
48546
+ e_e as NavBarV2,
48542
48547
  sN as NavItem,
48543
48548
  HA as NavItemV2,
48544
- uMe as NavProvider,
48549
+ kMe as NavProvider,
48545
48550
  W5e as NumberRenderer,
48546
- x_e as PatientCard,
48547
- M_e as PatientDetailsPanel,
48548
- __e as PatientInfoCard,
48549
- S_e as PeriodRange,
48550
- qMe as PeriodSelect,
48551
- c_e as PopUp,
48551
+ w_e as PatientCard,
48552
+ x_e as PatientDetailsPanel,
48553
+ b_e as PatientInfoCard,
48554
+ q_e as PeriodRange,
48555
+ zMe as PeriodSelect,
48556
+ s_e as PopUp,
48552
48557
  mue as RadioInput,
48553
48558
  Rue as RangeInput,
48554
48559
  f2e as ScrollableHorizontale,
48555
48560
  f3e as SearchBar,
48556
48561
  Jfe as Select,
48557
- WMe as SelectFilter,
48562
+ ZMe as SelectFilter,
48558
48563
  bA as SelectInput,
48559
- r_e as SettingNavBar,
48560
- fMe as ShowDataProvider,
48564
+ d_e as SettingNavBar,
48565
+ vMe as ShowDataProvider,
48561
48566
  EL as ShowDataSwitcherButton,
48562
- AMe as SideComponent,
48563
- $_e as SimpleBarChart,
48564
- DMe as SimpleListBox,
48565
- g_e as Slider,
48566
- e_e as SubHeaderContent,
48567
+ VMe as SideComponent,
48568
+ A_e as SimpleBarChart,
48569
+ FMe as SimpleListBox,
48570
+ M_e as Slider,
48571
+ a_e as SubHeaderContent,
48567
48572
  b8e as SubHeaderNavItem,
48568
- QMe as SubHeaderTitle,
48569
- vMe as SubNavBar,
48570
- u_e as SummaryAvailable,
48573
+ t_e as SubHeaderTitle,
48574
+ _Me as SubNavBar,
48575
+ k_e as SummaryAvailable,
48571
48576
  Zke as SummaryCard,
48572
48577
  vb as Switcher,
48573
- a_e as TableLayout,
48578
+ o_e as TableLayout,
48574
48579
  oke as TableauDynamique,
48575
- CMe as TableauDynamiqueSafePagination,
48576
- a_e as TableauxComponent,
48580
+ IMe as TableauDynamiqueSafePagination,
48581
+ o_e as TableauxComponent,
48577
48582
  Zpe as TextInput,
48578
48583
  F5e as TextRenderer,
48579
48584
  nue as TextareaInput,
48580
- yMe as ThemeProvider,
48581
- t_e as ThemeSwitcher,
48585
+ mMe as ThemeProvider,
48586
+ n_e as ThemeSwitcher,
48582
48587
  dN as ThemeSwitcherButton,
48583
- v_e as TimePicker,
48584
- VMe as Title,
48585
- TMe as TranslationKey,
48586
- d_e as TranslationKeyV2,
48588
+ __e as TimePicker,
48589
+ HMe as Title,
48590
+ DMe as TranslationKey,
48591
+ h_e as TranslationKeyV2,
48587
48592
  g2e as TrendItem,
48588
- _Me as TrendList,
48589
- FMe as TrendListBox,
48590
- f_e as UnitGrid,
48593
+ bMe as TrendList,
48594
+ OMe as TrendListBox,
48595
+ v_e as UnitGrid,
48591
48596
  a8e as UserInfo,
48592
- $Me as alertModels,
48597
+ AMe as alertModels,
48593
48598
  ne as getA11yTooltip,
48594
- bMe as getFormSchema,
48599
+ LMe as getFormSchema,
48595
48600
  jo as hexToRgba,
48596
- LMe as registerRenderer,
48601
+ NMe as registerRenderer,
48597
48602
  y$ as tableConfig,
48598
- SMe as useAlerts,
48599
- zMe as useBodyScrollLock,
48600
- UMe as useConfirmationPopup,
48603
+ qMe as useAlerts,
48604
+ PMe as useBodyScrollLock,
48605
+ GMe as useConfirmationPopup,
48601
48606
  l2e as useDraggableSwitcher,
48602
48607
  j5e as useFilters,
48603
48608
  p2e as useLegendFilterSwitcher,