@tsiky/components-r19 8.2.6 → 8.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { jsx as r, jsxs as f, Fragment as qe } from "react/jsx-runtime";
2
2
  import * as J from "react";
3
- import ce, { useState as B, useRef as G, useEffect as E, createContext as nt, useContext as Ce, useCallback as de, memo as Ve, useLayoutEffect as NC, useId as IC, useInsertionEffect as pq, useMemo as we, Children as dV, isValidElement as lV, Fragment as uq, createElement as hV, forwardRef as rr, Component as pV, useImperativeHandle as uV } from "react";
3
+ import ce, { useState as B, useRef as G, useEffect as O, createContext as nt, useContext as Ce, useCallback as de, memo as Ve, useLayoutEffect as NC, useId as IC, useInsertionEffect as pq, useMemo as we, Children as dV, isValidElement as lV, Fragment as uq, createElement as hV, forwardRef as rr, Component as pV, useImperativeHandle as uV } from "react";
4
4
  import { c as a, M as F1, I as yV, a as fr, g as kV, R as yq, B as mV, C as fV, X as gV, Y as vV, T as _V, b as MV, L as xV, d as bV, P as wV, e as LV, f as SN } from "./LineChart-DwC-Q4pC.js";
5
- import { i as cwe, h as swe, S as dwe } from "./LineChart-DwC-Q4pC.js";
6
- import O, { css as $N } from "styled-components";
5
+ import { i as swe, h as dwe, S as lwe } from "./LineChart-DwC-Q4pC.js";
6
+ import E, { css as $N } from "styled-components";
7
7
  import { createPortal as SC } from "react-dom";
8
8
  const CV = "_button_1kuwt_2", NV = "_primary_1kuwt_21", IV = "_secondary_1kuwt_26", SV = "_accent_1kuwt_31", $V = "_outline_1kuwt_36", qV = "_success_1kuwt_41", AV = "_danger_1kuwt_46", zV = "_warning_1kuwt_51", VV = "_info_1kuwt_56", PV = "_sm_1kuwt_62", TV = "_md_1kuwt_67", HV = "_lg_1kuwt_72", it = {
9
9
  button: CV,
@@ -191,12 +191,12 @@ function OV({
191
191
  gap: l = 0
192
192
  }) {
193
193
  const [h, p] = B(!1), [u, y] = B(null), m = G(null);
194
- E(() => {
194
+ O(() => {
195
195
  function M(v) {
196
196
  v.key === "Escape" && p(!1);
197
197
  }
198
198
  return h && document.addEventListener("keydown", M), () => document.removeEventListener("keydown", M);
199
- }, [h]), E(() => {
199
+ }, [h]), O(() => {
200
200
  function M(v) {
201
201
  m.current && !m.current.contains(v.target) && p(!1);
202
202
  }
@@ -31315,7 +31315,7 @@ const $t = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31315
31315
  ZoomOutIcon: Mb,
31316
31316
  createLucideIcon: a,
31317
31317
  icons: t0e
31318
- }, Symbol.toStringTag, { value: "Module" })), Bxe = ({
31318
+ }, Symbol.toStringTag, { value: "Module" })), jxe = ({
31319
31319
  size: e = 250,
31320
31320
  background: t = "#fff",
31321
31321
  headerTop: n,
@@ -31369,7 +31369,7 @@ const $t = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31369
31369
  const e = Ce(kq);
31370
31370
  if (!e) throw new Error("useNavigation must be used within a NavProvider");
31371
31371
  return e;
31372
- }, jxe = ({
31372
+ }, Rxe = ({
31373
31373
  children: e,
31374
31374
  defaultActive: t = ""
31375
31375
  }) => {
@@ -31407,13 +31407,13 @@ const $t = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31407
31407
  topContent: s
31408
31408
  }) => {
31409
31409
  const [d, l] = B(!1), [h, p] = B("right"), u = G(null), y = G(null), { activeNav: m, activeSubNav: g } = Vt();
31410
- E(() => {
31410
+ O(() => {
31411
31411
  if (!i) return;
31412
31412
  const M = (v) => {
31413
31413
  u.current && !u.current.contains(v.target) && l(!1);
31414
31414
  };
31415
31415
  return document.addEventListener("mousedown", M), () => document.removeEventListener("mousedown", M);
31416
- }, [i]), E(() => {
31416
+ }, [i]), O(() => {
31417
31417
  if (d && o === "auto" && y.current) {
31418
31418
  const M = y.current.getBoundingClientRect(), v = window.innerWidth / 2;
31419
31419
  p(M.left < v ? "left" : "right");
@@ -31503,7 +31503,7 @@ const $t = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31503
31503
  displayNone: M = !1
31504
31504
  }) => {
31505
31505
  const [v, b] = B([]);
31506
- E(() => {
31506
+ O(() => {
31507
31507
  const w = (q) => {
31508
31508
  const z = [];
31509
31509
  return ce.Children.forEach(q, (D) => {
@@ -31652,7 +31652,7 @@ const $C = ({ imagePath: e, ...t }) => {
31652
31652
  dropdownPosition: i = "auto"
31653
31653
  }) => {
31654
31654
  const { activeNav: c } = Vt(), [s, d] = B(!0), [l, h] = B(!1), [p, u] = B("left"), y = G(null), m = G(null), g = G(null);
31655
- E(() => {
31655
+ O(() => {
31656
31656
  const v = () => {
31657
31657
  if (y.current && y.current.parentElement) {
31658
31658
  const b = y.current.parentNode?.parentElement?.offsetWidth || 0;
@@ -31660,12 +31660,12 @@ const $C = ({ imagePath: e, ...t }) => {
31660
31660
  }
31661
31661
  };
31662
31662
  return v(), window.addEventListener("resize", v), () => window.removeEventListener("resize", v);
31663
- }, []), E(() => {
31663
+ }, []), O(() => {
31664
31664
  if (l && i === "auto" && m.current) {
31665
31665
  const v = m.current.getBoundingClientRect(), b = window.innerWidth / 2;
31666
31666
  u(v.left < b ? "left" : "right");
31667
31667
  }
31668
- }, [l, i]), E(() => {
31668
+ }, [l, i]), O(() => {
31669
31669
  if (!l) return;
31670
31670
  const v = (b) => {
31671
31671
  g.current && !g.current.contains(b.target) && m.current && !m.current.contains(b.target) && h(!1);
@@ -31715,7 +31715,7 @@ const $C = ({ imagePath: e, ...t }) => {
31715
31715
  },
31716
31716
  v.id
31717
31717
  )) }) });
31718
- }, fq = nt(void 0), Rxe = ({ children: e, initialTheme: t }) => {
31718
+ }, fq = nt(void 0), Fxe = ({ children: e, initialTheme: t }) => {
31719
31719
  const [n, o] = B(() => {
31720
31720
  if (typeof window < "u")
31721
31721
  try {
@@ -31725,7 +31725,7 @@ const $C = ({ imagePath: e, ...t }) => {
31725
31725
  }
31726
31726
  return t;
31727
31727
  });
31728
- E(() => {
31728
+ O(() => {
31729
31729
  const c = document.documentElement;
31730
31730
  if (c.removeAttribute("data-theme"), n && n !== "default" && c.setAttribute("data-theme", n), typeof window < "u")
31731
31731
  try {
@@ -31814,7 +31814,7 @@ const $C = ({ imagePath: e, ...t }) => {
31814
31814
  a11yConfig: s
31815
31815
  }) => {
31816
31816
  const { currentTheme: d, switchTheme: l } = qC(), [h, p] = B(!1);
31817
- return E(() => {
31817
+ return O(() => {
31818
31818
  p(!0);
31819
31819
  }, []), h ? /* @__PURE__ */ r(
31820
31820
  zb,
@@ -31830,12 +31830,12 @@ const $C = ({ imagePath: e, ...t }) => {
31830
31830
  a11yConfig: s
31831
31831
  }
31832
31832
  ) : null;
31833
- }, i0e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M480-80 317-243l44-44 89 89v-252H198l84 84-44 44L80-480l159-159 44 44-85 85h252v-252l-84 84-44-44 158-158 158 158-44 44-84-84v252h252l-84-84 44-44 158 158-158 158-44-44 84-84H510v252l89-89 44 44z" })), VN = Ve(i0e), gq = nt(void 0), Fxe = ({ children: e }) => {
31833
+ }, i0e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M480-80 317-243l44-44 89 89v-252H198l84 84-44 44L80-480l159-159 44 44-85 85h252v-252l-84 84-44-44 158-158 158 158-44 44-84-84v252h252l-84-84 44-44 158 158-158 158-44-44 84-84H510v252l89-89 44 44z" })), VN = Ve(i0e), gq = nt(void 0), Exe = ({ children: e }) => {
31834
31834
  const [t, n] = B(!1);
31835
- E(() => {
31835
+ O(() => {
31836
31836
  const i = localStorage.getItem("isDraggable");
31837
31837
  i !== null && n(i === "true");
31838
- }, []), E(() => {
31838
+ }, []), O(() => {
31839
31839
  localStorage.setItem("isDraggable", String(t));
31840
31840
  }, [t]);
31841
31841
  const o = (i) => {
@@ -31862,7 +31862,7 @@ const $C = ({ imagePath: e, ...t }) => {
31862
31862
  a11yConfig: i
31863
31863
  }) => {
31864
31864
  const { isDraggable: c, switchDraggable: s } = r0e(), [d, l] = B(!1);
31865
- if (E(() => {
31865
+ if (O(() => {
31866
31866
  l(!0);
31867
31867
  }, []), !d) return null;
31868
31868
  const h = (p) => {
@@ -31880,12 +31880,12 @@ const $C = ({ imagePath: e, ...t }) => {
31880
31880
  a11yConfig: i
31881
31881
  }
31882
31882
  );
31883
- }, c0e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M400.06-300Q508-300 584.5-376.13 661-452.25 661-561q0-107.92-76.5-183.46T400.06-820t-183.5 75.54T141-561q0 108.75 75.56 184.87Q292.12-300 400.06-300M371-448v-267h60v267zm-145 0v-184h60v184zm290 0v-143h60v143zM838-80 605-314q-42 35-94.24 54.5Q458.51-240 400-240q-133 0-226-93.5T81-560.7q0-133.71 92.8-226.5Q266.59-880 400.3-880q133.7 0 227.2 93T721-561q0 58.51-19.5 110.76Q682-398 647-356l233 233z" })), PN = Ve(c0e), vq = nt(void 0), Exe = ({ children: e }) => {
31883
+ }, c0e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M400.06-300Q508-300 584.5-376.13 661-452.25 661-561q0-107.92-76.5-183.46T400.06-820t-183.5 75.54T141-561q0 108.75 75.56 184.87Q292.12-300 400.06-300M371-448v-267h60v267zm-145 0v-184h60v184zm290 0v-143h60v143zM838-80 605-314q-42 35-94.24 54.5Q458.51-240 400-240q-133 0-226-93.5T81-560.7q0-133.71 92.8-226.5Q266.59-880 400.3-880q133.7 0 227.2 93T721-561q0 58.51-19.5 110.76Q682-398 647-356l233 233z" })), PN = Ve(c0e), vq = nt(void 0), Oxe = ({ children: e }) => {
31884
31884
  const [t, n] = B(!1);
31885
- E(() => {
31885
+ O(() => {
31886
31886
  const i = localStorage.getItem("disableLegendFilter");
31887
31887
  i !== null && n(i === "true");
31888
- }, []), E(() => {
31888
+ }, []), O(() => {
31889
31889
  localStorage.setItem("disableLegendFilter", String(t));
31890
31890
  }, [t]);
31891
31891
  const o = (i) => {
@@ -31912,7 +31912,7 @@ const $C = ({ imagePath: e, ...t }) => {
31912
31912
  a11yConfig: i
31913
31913
  }) => {
31914
31914
  const { disableLegendFilter: c, switchDisableLegendFilter: s } = s0e(), [d, l] = B(!1);
31915
- if (E(() => {
31915
+ if (O(() => {
31916
31916
  l(!0);
31917
31917
  }, []), !d) return null;
31918
31918
  const h = (p) => {
@@ -31930,12 +31930,12 @@ const $C = ({ imagePath: e, ...t }) => {
31930
31930
  a11yConfig: i
31931
31931
  }
31932
31932
  );
31933
- }, _q = nt(void 0), Oxe = ({ children: e }) => {
31933
+ }, _q = nt(void 0), Uxe = ({ children: e }) => {
31934
31934
  const [t, n] = B(!1);
31935
- E(() => {
31935
+ O(() => {
31936
31936
  const i = localStorage.getItem("showData");
31937
31937
  i !== null && n(i === "true");
31938
- }, []), E(() => {
31938
+ }, []), O(() => {
31939
31939
  localStorage.setItem("showData", String(t));
31940
31940
  }, [t]);
31941
31941
  const o = (i) => {
@@ -31960,7 +31960,7 @@ const $C = ({ imagePath: e, ...t }) => {
31960
31960
  a11yConfig: n
31961
31961
  }) => {
31962
31962
  const { showData: o, switchShowData: i } = d0e(), [c, s] = B(!1);
31963
- return E(() => {
31963
+ return O(() => {
31964
31964
  s(!0);
31965
31965
  }, []), c ? /* @__PURE__ */ r(
31966
31966
  zb,
@@ -31985,7 +31985,7 @@ function HN({
31985
31985
  buttonTitle: s
31986
31986
  }) {
31987
31987
  const [d, l] = B(!1), [h, p] = B(e);
31988
- E(() => {
31988
+ O(() => {
31989
31989
  p(e);
31990
31990
  }, [e]);
31991
31991
  const u = (m, g) => {
@@ -32078,7 +32078,7 @@ function HN({
32078
32078
  )
32079
32079
  ] });
32080
32080
  }
32081
- const Uxe = ({
32081
+ const Wxe = ({
32082
32082
  logoPath: e,
32083
32083
  navItems: t,
32084
32084
  onNavClick: n,
@@ -32179,7 +32179,7 @@ const Uxe = ({
32179
32179
  ]
32180
32180
  }
32181
32181
  );
32182
- }, W1 = (e) => typeof e == "number" ? `${e}px` : e, Wxe = ({
32182
+ }, W1 = (e) => typeof e == "number" ? `${e}px` : e, Gxe = ({
32183
32183
  title: e,
32184
32184
  titleColor: t = "#1c1b1f",
32185
32185
  headerColor: n = "#ECEEF0",
@@ -32291,14 +32291,14 @@ const Uxe = ({
32291
32291
  ]
32292
32292
  }
32293
32293
  );
32294
- }, u0e = O.div`
32294
+ }, u0e = E.div`
32295
32295
  display: flex;
32296
32296
  flex-direction: column;
32297
32297
  width: ${(e) => e.$width === void 0 ? "300px" : typeof e.$width == "number" ? `${e.$width}px` : e.$width};
32298
32298
  border-radius: 0.25rem;
32299
32299
  box-sizing: border-box;
32300
32300
  border: 1px solid ${(e) => e.$borderColor};
32301
- `, y0e = O.div`
32301
+ `, y0e = E.div`
32302
32302
  position: relative;
32303
32303
  background-color: ${(e) => e.$bgColor};
32304
32304
  border-radius: 0.175rem 0.175rem 0 0;
@@ -32310,7 +32310,7 @@ const Uxe = ({
32310
32310
  display: flex;
32311
32311
  flex-direction: column;
32312
32312
  gap: 1.5rem;
32313
- `, k0e = O.span`
32313
+ `, k0e = E.span`
32314
32314
  position: absolute;
32315
32315
  top: 50%;
32316
32316
  right: -1.125rem;
@@ -32320,30 +32320,30 @@ const Uxe = ({
32320
32320
  border-top: 1.375rem solid transparent;
32321
32321
  border-bottom: 1.375rem solid transparent;
32322
32322
  border-left: 1.25rem solid ${(e) => e.$bgColor};
32323
- `, m0e = O.h3`
32323
+ `, m0e = E.h3`
32324
32324
  margin: 0;
32325
32325
  font-size: ${(e) => W1(e.$fontSize)};
32326
32326
  font-weight: ${(e) => e.$fontWeight};
32327
32327
  color: ${(e) => e.$color};
32328
32328
  line-height: ${(e) => W1(e.$lineHeight)};
32329
32329
  min-height: ${(e) => e.$minHeight !== void 0 ? W1(e.$minHeight) : "auto"};
32330
- `, f0e = O.div`
32330
+ `, f0e = E.div`
32331
32331
  display: flex;
32332
32332
  gap: 1rem;
32333
- `, DN = O.div`
32333
+ `, DN = E.div`
32334
32334
  display: flex;
32335
32335
  flex-direction: column;
32336
32336
  gap: 0.15rem;
32337
- `, BN = O.span`
32337
+ `, BN = E.span`
32338
32338
  font-size: ${(e) => W1(e.$fontSize)};
32339
32339
  font-weight: ${(e) => e.$fontWeight};
32340
32340
  color: ${(e) => e.$color};
32341
32341
  line-height: ${(e) => W1(e.$lineHeight)};
32342
- `, jN = O.span`
32342
+ `, jN = E.span`
32343
32343
  font-size: 0.8rem;
32344
32344
  font-weight: 700;
32345
32345
  color: ${(e) => e.$color};
32346
- `, g0e = O.div`
32346
+ `, g0e = E.div`
32347
32347
  background-color: ${(e) => e.$bgColor};
32348
32348
  border-radius: 0 0 0.19rem 0.19rem;
32349
32349
  padding: 0.5rem;
@@ -32351,16 +32351,16 @@ const Uxe = ({
32351
32351
  flex-direction: column;
32352
32352
  gap: 1rem;
32353
32353
  height: 100%;
32354
- `, v0e = O.div`
32354
+ `, v0e = E.div`
32355
32355
  display: flex;
32356
32356
  align-items: center;
32357
32357
  gap: 0.75rem;
32358
- `, _0e = O.span`
32358
+ `, _0e = E.span`
32359
32359
  flex-shrink: 0;
32360
32360
  display: flex;
32361
32361
  align-items: center;
32362
32362
  justify-content: center;
32363
- `, M0e = O.span`
32363
+ `, M0e = E.span`
32364
32364
  font-size: ${(e) => W1(e.$fontSize)};
32365
32365
  font-weight: ${(e) => e.$fontWeight};
32366
32366
  color: #1c1b1f;
@@ -32373,7 +32373,7 @@ const Uxe = ({
32373
32373
  }) => /* @__PURE__ */ f("div", { className: `scrollable-horizontale ${t}`, style: n, children: [
32374
32374
  /* @__PURE__ */ r("div", { className: "scrollable", children: e }),
32375
32375
  /* @__PURE__ */ r("div", { className: "scrollable-dropdown", children: /* @__PURE__ */ r(mq, { logo: "BarChart", position: "right", categories: o }) })
32376
- ] }), Gxe = ({
32376
+ ] }), Kxe = ({
32377
32377
  icon: e,
32378
32378
  text: t,
32379
32379
  textColor: n = "#12351F",
@@ -32423,7 +32423,7 @@ const Uxe = ({
32423
32423
  ]
32424
32424
  }
32425
32425
  );
32426
- }, Cb = (e) => typeof e == "number" ? `${e}px` : e, b0e = O.div`
32426
+ }, Cb = (e) => typeof e == "number" ? `${e}px` : e, b0e = E.div`
32427
32427
  position: relative;
32428
32428
  display: flex;
32429
32429
  flex-direction: column;
@@ -32435,24 +32435,24 @@ const Uxe = ({
32435
32435
  padding: 0.5rem;
32436
32436
  box-sizing: border-box;
32437
32437
  cursor: ${(e) => e.$isClickable ? "pointer" : "default"};
32438
- `, w0e = O.div`
32438
+ `, w0e = E.div`
32439
32439
  display: flex;
32440
32440
  flex-direction: column;
32441
32441
  align-items: flex-start;
32442
32442
  gap: 0.75rem;
32443
- `, L0e = O.span`
32443
+ `, L0e = E.span`
32444
32444
  display: inline-flex;
32445
32445
  align-items: center;
32446
32446
  justify-content: center;
32447
- `, C0e = O.span`
32447
+ `, C0e = E.span`
32448
32448
  font-size: ${(e) => Cb(e.$fontSize)};
32449
32449
  font-weight: ${(e) => e.$fontWeight};
32450
32450
  color: ${(e) => e.$color};
32451
- `, N0e = O.span`
32451
+ `, N0e = E.span`
32452
32452
  font-size: ${(e) => Cb(e.$fontSize)};
32453
32453
  font-weight: ${(e) => e.$fontWeight};
32454
32454
  color: ${(e) => e.$color};
32455
- `, Kxe = ({
32455
+ `, Zxe = ({
32456
32456
  subNavItems: e,
32457
32457
  highlightColor: t = "#1387C8",
32458
32458
  style: n,
@@ -32502,7 +32502,7 @@ function Zt(e) {
32502
32502
  const t = G(null);
32503
32503
  return t.current === null && (t.current = e()), t.current;
32504
32504
  }
32505
- const zC = typeof window < "u", VC = zC ? NC : E, Vb = /* @__PURE__ */ nt(null);
32505
+ const zC = typeof window < "u", VC = zC ? NC : O, Vb = /* @__PURE__ */ nt(null);
32506
32506
  function PC(e, t) {
32507
32507
  e.indexOf(t) === -1 && e.push(t);
32508
32508
  }
@@ -34464,7 +34464,7 @@ function uA(e = !0) {
34464
34464
  if (t === null)
34465
34465
  return [!0, null];
34466
34466
  const { isPresent: n, onExitComplete: o, register: i } = t, c = IC();
34467
- E(() => {
34467
+ O(() => {
34468
34468
  if (e)
34469
34469
  return i(c);
34470
34470
  }, [e]);
@@ -34932,7 +34932,7 @@ function ihe(e, t, n, o, i) {
34932
34932
  const m = n[wA], g = G(!!m && !window.MotionHandoffIsComplete?.(m) && window.MotionHasOptimisedAnimation?.(m));
34933
34933
  return VC(() => {
34934
34934
  p && (y.current = !0, window.MotionIsMounted = !0, p.updateFeatures(), p.scheduleRenderMicrotask(), g.current && p.animationState && p.animationState.animateChanges());
34935
- }), E(() => {
34935
+ }), O(() => {
34936
34936
  p && (!g.current && p.animationState && p.animationState.animateChanges(), g.current && (queueMicrotask(() => {
34937
34937
  window.MotionHandoffMarkAsComplete?.(m);
34938
34938
  }), g.current = !1), p.enteringChildren = void 0);
@@ -37309,7 +37309,7 @@ function ez(e) {
37309
37309
  const t = Zt(() => Z1(e)), { isStatic: n } = Ce(Pb);
37310
37310
  if (n) {
37311
37311
  const [, o] = B(e);
37312
- E(() => t.on("change", o), []);
37312
+ O(() => t.on("change", o), []);
37313
37313
  }
37314
37314
  return t;
37315
37315
  }
@@ -37437,7 +37437,7 @@ function fue({ children: e, as: t = "ul", axis: n = "y", onReorder: o, values: i
37437
37437
  l !== g && (h.current = !0, o(g.map(vue).filter((k) => i.indexOf(k) !== -1)));
37438
37438
  }
37439
37439
  };
37440
- return E(() => {
37440
+ return O(() => {
37441
37441
  h.current = !1;
37442
37442
  }), r(d, { ...c, ref: s, ignoreStrict: !0, children: r(az.Provider, { value: p, children: e }) });
37443
37443
  }
@@ -37470,7 +37470,7 @@ const xue = /* @__PURE__ */ rr(Mue), Ab = [
37470
37470
  /* @__PURE__ */ r(Ot, { size: 18 }),
37471
37471
  /* @__PURE__ */ r(Ti, { size: 18 }),
37472
37472
  /* @__PURE__ */ r(Pi, { size: 18 })
37473
- ], Xxe = ({
37473
+ ], Yxe = ({
37474
37474
  items: e,
37475
37475
  onReorder: t,
37476
37476
  draggable: n = !1,
@@ -37480,7 +37480,7 @@ const xue = /* @__PURE__ */ rr(Mue), Ab = [
37480
37480
  itemsDraggable: s = !0
37481
37481
  }) => {
37482
37482
  const [d, l] = B(e ?? []);
37483
- return E(() => {
37483
+ return O(() => {
37484
37484
  e && Array.isArray(e) ? (e.forEach((h, p) => {
37485
37485
  if (h.icon == null && (h.icon = Ab[p % Ab.length]), typeof h.text == "string" && h.text.includes("/")) {
37486
37486
  const u = String(h.text).split("/"), y = u[0].trim(), g = u.slice(1).join("/").trim().match(/^(\d+)(.*)$/);
@@ -39353,7 +39353,7 @@ function f5e() {
39353
39353
  return XL = t, XL;
39354
39354
  }
39355
39355
  var g5e = f5e();
39356
- const v5e = /* @__PURE__ */ kV(g5e), Yxe = ({
39356
+ const v5e = /* @__PURE__ */ kV(g5e), Jxe = ({
39357
39357
  schema: e,
39358
39358
  initialData: t = {},
39359
39359
  onSubmit: n,
@@ -39365,7 +39365,7 @@ const v5e = /* @__PURE__ */ kV(g5e), Yxe = ({
39365
39365
  cancelIcon: l
39366
39366
  }) => {
39367
39367
  const [h, p] = B(t), [u, y] = B({}), [m, g] = B({}), [k, _] = B(!1), M = G(t);
39368
- E(() => {
39368
+ O(() => {
39369
39369
  v5e(M.current, t) || (p(t), M.current = t);
39370
39370
  }, [t]);
39371
39371
  const v = (w, $) => {
@@ -39480,7 +39480,7 @@ const v5e = /* @__PURE__ */ kV(g5e), Yxe = ({
39480
39480
  ] })
39481
39481
  ] });
39482
39482
  };
39483
- function Jxe(e) {
39483
+ function Qxe(e) {
39484
39484
  return {
39485
39485
  title: e._formTitle || "Formulaire",
39486
39486
  description: e._formDescription,
@@ -39497,7 +39497,7 @@ const B$ = /* @__PURE__ */ new Map(), j$ = ({
39497
39497
  onClick: c
39498
39498
  }) => {
39499
39499
  const s = /^https?:\/\//.test(e), [d, l] = B("");
39500
- if (E(() => {
39500
+ if (O(() => {
39501
39501
  if (s) return;
39502
39502
  e && (async () => {
39503
39503
  try {
@@ -39651,7 +39651,7 @@ const B$ = /* @__PURE__ */ new Map(), j$ = ({
39651
39651
  disabled: o
39652
39652
  }) => {
39653
39653
  const [i, c] = B([]);
39654
- E(() => {
39654
+ O(() => {
39655
39655
  (async () => {
39656
39656
  if (e.asyncOptions)
39657
39657
  try {
@@ -39702,7 +39702,7 @@ const B$ = /* @__PURE__ */ new Map(), j$ = ({
39702
39702
  disabled: o = !1
39703
39703
  }) => {
39704
39704
  const [i, c] = B([]), [s, d] = B(!1);
39705
- E(() => {
39705
+ O(() => {
39706
39706
  (async () => {
39707
39707
  if (e.asyncOptions) {
39708
39708
  d(!0);
@@ -39737,7 +39737,7 @@ const B$ = /* @__PURE__ */ new Map(), j$ = ({
39737
39737
  );
39738
39738
  }, Oke = ({ config: e, value: t, onChange: n, disabled: o = !1 }) => {
39739
39739
  const [i, c] = B("");
39740
- return E(() => {
39740
+ return O(() => {
39741
39741
  c(typeof t == "string" ? t : String(t || ""));
39742
39742
  }, [t]), /* @__PURE__ */ r(
39743
39743
  "input",
@@ -39760,7 +39760,7 @@ const B$ = /* @__PURE__ */ new Map(), j$ = ({
39760
39760
  disabled: o = !1
39761
39761
  }) => {
39762
39762
  const [i, c] = B(t?.operator || ""), [s, d] = B(t?.value || "");
39763
- E(() => {
39763
+ O(() => {
39764
39764
  i && s && n({ operator: i, value: s });
39765
39765
  }, [i, s, n]);
39766
39766
  const l = (p) => {
@@ -39935,7 +39935,7 @@ const B$ = /* @__PURE__ */ new Map(), j$ = ({
39935
39935
  k.type === "daterange" ? g[k.id] = { start: "", end: "" } : g[k.id] = k.defaultValue ?? "";
39936
39936
  }), g;
39937
39937
  });
39938
- E(() => {
39938
+ O(() => {
39939
39939
  if (!i) return;
39940
39940
  const g = { ...d ?? {} };
39941
39941
  e.forEach((k) => {
@@ -40164,7 +40164,7 @@ const Yke = ({ value: e }) => e, Jke = ({ value: e }) => ce.createElement(
40164
40164
  sortDesc: ce.createElement(Gt, { className: "sort-icon active", size: 14 }),
40165
40165
  sortDefault: ce.createElement(pi, { className: "sort-icon", size: 14 })
40166
40166
  }
40167
- }, Qxe = (e, t) => {
40167
+ }, ebe = (e, t) => {
40168
40168
  F$.renderers[e] && console.warn(`Le renderer "${e}" existe déjà et sera écrasé.`), F$.renderers[e] = t;
40169
40169
  }, i3e = ({
40170
40170
  filters: e,
@@ -40191,7 +40191,7 @@ const Yke = ({ value: e }) => e, Jke = ({ value: e }) => ce.createElement(
40191
40191
  onApply: o,
40192
40192
  isControlled: i
40193
40193
  }), w = G(null), $ = G(null);
40194
- E(() => {
40194
+ O(() => {
40195
40195
  if (v && w.current) {
40196
40196
  const T = w.current.getBoundingClientRect().height;
40197
40197
  h?.(T);
@@ -40220,7 +40220,7 @@ const Yke = ({ value: e }) => e, Jke = ({ value: e }) => ce.createElement(
40220
40220
  }, D = () => {
40221
40221
  x(), n?.([]), o?.([]);
40222
40222
  };
40223
- return E(() => {
40223
+ return O(() => {
40224
40224
  const T = (A) => {
40225
40225
  v && $.current && ($.current.contains(A.target) || (d?.(!1), typeof s != "boolean" && M(!1)));
40226
40226
  }, P = (A) => {
@@ -40341,7 +40341,7 @@ const Yke = ({ value: e }) => e, Jke = ({ value: e }) => ce.createElement(
40341
40341
  }, y = () => s((g) => !g), m = () => {
40342
40342
  s(!1);
40343
40343
  };
40344
- return E(() => {
40344
+ return O(() => {
40345
40345
  if (!c) return;
40346
40346
  const g = (_) => {
40347
40347
  if (!l.current) return;
@@ -40353,7 +40353,7 @@ const Yke = ({ value: e }) => e, Jke = ({ value: e }) => ce.createElement(
40353
40353
  return document.addEventListener("pointerdown", g), document.addEventListener("keydown", k), () => {
40354
40354
  document.removeEventListener("pointerdown", g), document.removeEventListener("keydown", k);
40355
40355
  };
40356
- }, [c]), E(() => {
40356
+ }, [c]), O(() => {
40357
40357
  const g = document.querySelector("[data-table-wrapper]");
40358
40358
  if (!g) return;
40359
40359
  const k = g.style.overflow ?? "";
@@ -40647,7 +40647,7 @@ const Yke = ({ value: e }) => e, Jke = ({ value: e }) => ce.createElement(
40647
40647
  totalCount: q = null
40648
40648
  }) => {
40649
40649
  const [z, D] = B({ key: null, direction: "asc" }), [T, P] = B(n.currentPage ?? 1), [A, V] = B(n.pageSize ?? 10), [F, H] = B(!1), W = G(null), [ae, U] = B([]), K = u ? d : ae, he = u ? [] : ae;
40650
- E(() => {
40650
+ O(() => {
40651
40651
  const se = n.currentPage ?? 1, Pe = n.pageSize ?? 10;
40652
40652
  se !== T && P(se), Pe !== A && V(Pe);
40653
40653
  }, [n.currentPage, n.pageSize]);
@@ -40663,7 +40663,7 @@ const Yke = ({ value: e }) => e, Jke = ({ value: e }) => ce.createElement(
40663
40663
  let ge = pe;
40664
40664
  typeof q == "number" && q >= 0 && (ge = Math.max(1, Math.ceil(q / A)));
40665
40665
  const Me = re > 10;
40666
- E(() => {
40666
+ O(() => {
40667
40667
  const se = Math.max(1, Math.floor(ge));
40668
40668
  T > se && P(se), T < 1 && P(1);
40669
40669
  }, [ge]);
@@ -40682,9 +40682,9 @@ const Yke = ({ value: e }) => e, Jke = ({ value: e }) => ce.createElement(
40682
40682
  }, Be = (se) => {
40683
40683
  H(se), !se && W.current && W.current.style.setProperty("--filters-panel-height", "0px");
40684
40684
  };
40685
- E(() => {
40685
+ O(() => {
40686
40686
  (K?.length ?? 0) > 0 && H(!0);
40687
- }, [K]), E(() => {
40687
+ }, [K]), O(() => {
40688
40688
  s.length > 0 && K.length > 0 && H(!0);
40689
40689
  }, [s.length, K.length]);
40690
40690
  const bi = (K?.length ?? 0) > 0 && b ? b : v;
@@ -40770,7 +40770,7 @@ const Yke = ({ value: e }) => e, Jke = ({ value: e }) => ce.createElement(
40770
40770
  }
40771
40771
  );
40772
40772
  };
40773
- function ebe(e) {
40773
+ function tbe(e) {
40774
40774
  const { pagination: t, totalCount: n, onPageChange: o, ...i } = e, c = t?.pageSize ?? 20, s = t?.currentPage ?? 1, d = we(() => {
40775
40775
  if (n === null || typeof n > "u") return null;
40776
40776
  const u = Number(n);
@@ -40790,7 +40790,7 @@ function ebe(e) {
40790
40790
  }
40791
40791
  );
40792
40792
  }
40793
- const tbe = ({
40793
+ const abe = ({
40794
40794
  page: e,
40795
40795
  pageSize: t,
40796
40796
  total: n,
@@ -40851,7 +40851,7 @@ const tbe = ({
40851
40851
  )
40852
40852
  ] })
40853
40853
  ] });
40854
- }, k3e = O.div`
40854
+ }, k3e = E.div`
40855
40855
  display: flex;
40856
40856
  align-items: center;
40857
40857
  justify-content: space-between;
@@ -40860,18 +40860,18 @@ const tbe = ({
40860
40860
  background-color: transparent;
40861
40861
  flex-wrap: nowrap;
40862
40862
  gap: 12px;
40863
- `, m3e = O.span`
40863
+ `, m3e = E.span`
40864
40864
  font-size: 13px;
40865
40865
  color: var(--color-text);
40866
40866
  white-space: nowrap;
40867
40867
  font-weight: 600;
40868
- `, f3e = O.div`
40868
+ `, f3e = E.div`
40869
40869
  flex: 1;
40870
- `, g3e = O.div`
40870
+ `, g3e = E.div`
40871
40871
  display: flex;
40872
40872
  gap: 4px;
40873
40873
  align-items: center;
40874
- `, xr = O.button`
40874
+ `, xr = E.button`
40875
40875
  display: flex;
40876
40876
  align-items: center;
40877
40877
  justify-content: center;
@@ -40894,7 +40894,7 @@ const tbe = ({
40894
40894
  opacity: 0.3;
40895
40895
  cursor: not-allowed;
40896
40896
  }
40897
- `, v3e = O.button`
40897
+ `, v3e = E.button`
40898
40898
  display: flex;
40899
40899
  align-items: center;
40900
40900
  justify-content: center;
@@ -41467,7 +41467,7 @@ const tbe = ({
41467
41467
  ] });
41468
41468
  };
41469
41469
  ce.memo(yme);
41470
- const abe = ({
41470
+ const nbe = ({
41471
41471
  a11yConfig: e,
41472
41472
  width: t,
41473
41473
  height: n,
@@ -41632,7 +41632,7 @@ const abe = ({
41632
41632
  ]
41633
41633
  }
41634
41634
  );
41635
- }, kz = nt(null), kme = (e = "alert") => `${e}_${Math.random().toString(36).slice(2, 9)}`, nbe = ({
41635
+ }, kz = nt(null), kme = (e = "alert") => `${e}_${Math.random().toString(36).slice(2, 9)}`, obe = ({
41636
41636
  children: e,
41637
41637
  defaultDuration: t = 4e3,
41638
41638
  maxAlerts: n,
@@ -41640,11 +41640,11 @@ const abe = ({
41640
41640
  containerStyle: i
41641
41641
  }) => {
41642
41642
  const [c, s] = B([]), d = G(/* @__PURE__ */ new Map()), l = G(null), [h, p] = B(null), [u, y] = B(void 0), m = G(n), g = G(c), k = G(t);
41643
- E(() => {
41643
+ O(() => {
41644
41644
  g.current = c;
41645
- }, [c]), E(() => {
41645
+ }, [c]), O(() => {
41646
41646
  k.current = t;
41647
- }, [t]), E(() => {
41647
+ }, [t]), O(() => {
41648
41648
  const z = d.current;
41649
41649
  return () => {
41650
41650
  z.forEach((D) => window.clearTimeout(D)), z.clear();
@@ -41774,11 +41774,11 @@ const abe = ({
41774
41774
  $ ? SC(S, $) : q,
41775
41775
  e
41776
41776
  ] });
41777
- }, obe = () => {
41777
+ }, ibe = () => {
41778
41778
  const e = Ce(kz);
41779
41779
  if (!e) throw new Error("useAlerts must be used inside an AlertsProvider");
41780
41780
  return e;
41781
- }, ibe = {
41781
+ }, rbe = {
41782
41782
  default: {
41783
41783
  background: "#f3f4f6",
41784
41784
  icon: "Info",
@@ -41813,7 +41813,7 @@ const abe = ({
41813
41813
  container: mme,
41814
41814
  icon: fme,
41815
41815
  selectWrapper: gme
41816
- }, rbe = ({
41816
+ }, cbe = ({
41817
41817
  options: e,
41818
41818
  defaultValue: t,
41819
41819
  onChange: n,
@@ -41838,7 +41838,7 @@ const abe = ({
41838
41838
  }
41839
41839
  ) })
41840
41840
  ] });
41841
- }, vme = 250, cbe = rr(
41841
+ }, vme = 250, sbe = rr(
41842
41842
  ({
41843
41843
  title: e,
41844
41844
  subtitle: t,
@@ -41854,7 +41854,7 @@ const abe = ({
41854
41854
  showCloseButton: u = !0
41855
41855
  }, y) => {
41856
41856
  const [m, g] = B(!1), [k, _] = B(!1), M = G(null), v = G(null), b = G(null), L = G(null);
41857
- E(() => {
41857
+ O(() => {
41858
41858
  const x = M.current;
41859
41859
  if (!x) return;
41860
41860
  const w = x.parentElement;
@@ -41878,7 +41878,7 @@ const abe = ({
41878
41878
  }
41879
41879
  }),
41880
41880
  [m, o, c]
41881
- ), E(() => {
41881
+ ), O(() => {
41882
41882
  const x = v.current;
41883
41883
  L.current && (window.clearTimeout(L.current), L.current = null);
41884
41884
  const w = ($) => {
@@ -41914,7 +41914,7 @@ const abe = ({
41914
41914
  }, vme + 60)), m && (b.current = document.activeElement), () => {
41915
41915
  x && x.removeEventListener("transitionend", w), L.current && (window.clearTimeout(L.current), L.current = null);
41916
41916
  };
41917
- }, [m, i, s]), E(() => {
41917
+ }, [m, i, s]), O(() => {
41918
41918
  const x = (w) => {
41919
41919
  w.key === "Escape" && m && (c?.(), _(!1), g(!1));
41920
41920
  };
@@ -41966,9 +41966,9 @@ const abe = ({
41966
41966
  ] });
41967
41967
  }
41968
41968
  );
41969
- function sbe(e) {
41969
+ function dbe(e) {
41970
41970
  const t = G("");
41971
- E(() => {
41971
+ O(() => {
41972
41972
  if (e) {
41973
41973
  t.current = document.body.style.overflow, document.body.style.overflow = "hidden";
41974
41974
  return;
@@ -41979,7 +41979,7 @@ function sbe(e) {
41979
41979
  const _me = "_container_1pfsp_1", Mme = "_title_1pfsp_8", Z$ = {
41980
41980
  container: _me,
41981
41981
  title: Mme
41982
- }, dbe = ({
41982
+ }, lbe = ({
41983
41983
  title: e,
41984
41984
  fontSize: t,
41985
41985
  barColor: n,
@@ -42017,7 +42017,7 @@ const _me = "_container_1pfsp_1", Mme = "_title_1pfsp_8", Z$ = {
42017
42017
  cancelText: p = "Annuler"
42018
42018
  }) => {
42019
42019
  const [u, y] = B({}), m = G(null), [g, k] = B(!1), [_, M] = B(!1), v = G(null);
42020
- if (E(() => {
42020
+ if (O(() => {
42021
42021
  if (!e) return;
42022
42022
  const x = {};
42023
42023
  for (const w of i)
@@ -42032,7 +42032,7 @@ const _me = "_container_1pfsp_1", Mme = "_title_1pfsp_8", Z$ = {
42032
42032
  }), () => {
42033
42033
  v.current && (window.clearTimeout(v.current), v.current = null);
42034
42034
  };
42035
- }, [e]), E(() => {
42035
+ }, [e]), O(() => {
42036
42036
  s && e ? (M(!0), v.current && (window.clearTimeout(v.current), v.current = null), v.current = window.setTimeout(() => {
42037
42037
  M(!1), v.current = null;
42038
42038
  }, 3e3)) : (M(!1), v.current && (window.clearTimeout(v.current), v.current = null));
@@ -42115,7 +42115,7 @@ const _me = "_container_1pfsp_1", Mme = "_title_1pfsp_8", Z$ = {
42115
42115
  ] })
42116
42116
  }
42117
42117
  );
42118
- }, lbe = ({
42118
+ }, hbe = ({
42119
42119
  title: e,
42120
42120
  keyCount: t,
42121
42121
  onAddKey: n,
@@ -42148,7 +42148,7 @@ const _me = "_container_1pfsp_1", Mme = "_title_1pfsp_8", Z$ = {
42148
42148
  }
42149
42149
  )
42150
42150
  ] });
42151
- }, hbe = ({
42151
+ }, pbe = ({
42152
42152
  modules: e,
42153
42153
  onEdit: t,
42154
42154
  onDelete: n,
@@ -42290,7 +42290,7 @@ const _me = "_container_1pfsp_1", Mme = "_title_1pfsp_8", Z$ = {
42290
42290
  )
42291
42291
  ]
42292
42292
  }
42293
- ), pbe = ({
42293
+ ), ube = ({
42294
42294
  keyName: e,
42295
42295
  translations: t,
42296
42296
  availableLanguages: n,
@@ -42532,15 +42532,15 @@ const _me = "_container_1pfsp_1", Mme = "_title_1pfsp_8", Z$ = {
42532
42532
  searchInput: Ume,
42533
42533
  searchIcon: Wme
42534
42534
  };
42535
- function ube({ onDateChange: e, onSearch: t, initialDate: n }) {
42535
+ function ybe({ onDateChange: e, onSearch: t, initialDate: n }) {
42536
42536
  const [o, i] = B(!1), [c, s] = B(n ?? ""), d = G(null);
42537
- E(() => {
42537
+ O(() => {
42538
42538
  function u(y) {
42539
42539
  const m = y.target;
42540
42540
  d.current && m && !d.current.contains(m) && i(!1);
42541
42541
  }
42542
42542
  return document.addEventListener("mousedown", u), () => document.removeEventListener("mousedown", u);
42543
- }, []), E(() => {
42543
+ }, []), O(() => {
42544
42544
  n && s(n);
42545
42545
  }, [n]);
42546
42546
  const l = () => i((u) => !u), h = (u) => {
@@ -42632,7 +42632,7 @@ function ube({ onDateChange: e, onSearch: t, initialDate: n }) {
42632
42632
  ] }) })
42633
42633
  ] });
42634
42634
  }
42635
- const ybe = ({
42635
+ const kbe = ({
42636
42636
  className: e = "",
42637
42637
  style: t = {},
42638
42638
  title: n,
@@ -42721,7 +42721,7 @@ const ybe = ({
42721
42721
  );
42722
42722
  }) })
42723
42723
  ] });
42724
- }, kbe = ({
42724
+ }, mbe = ({
42725
42725
  className: e = "",
42726
42726
  style: t = {},
42727
42727
  title: n,
@@ -42789,7 +42789,7 @@ const ybe = ({
42789
42789
  );
42790
42790
  }) })
42791
42791
  ] });
42792
- }, mbe = ({
42792
+ }, fbe = ({
42793
42793
  className: e = "",
42794
42794
  style: t = {},
42795
42795
  title: n,
@@ -42842,12 +42842,12 @@ const ybe = ({
42842
42842
  );
42843
42843
  }) })
42844
42844
  ] });
42845
- }, fbe = ({
42845
+ }, gbe = ({
42846
42846
  className: e = "",
42847
42847
  style: t = {},
42848
42848
  children: n,
42849
42849
  gap: o = "1rem"
42850
- }) => /* @__PURE__ */ r("div", { className: `frc-root ${e}`, style: { ...t, "--frc-gap": o }, children: ce.Children.map(n, (i) => /* @__PURE__ */ r("div", { className: "frc-item", children: i })) }), gbe = ({
42850
+ }) => /* @__PURE__ */ r("div", { className: `frc-root ${e}`, style: { ...t, "--frc-gap": o }, children: ce.Children.map(n, (i) => /* @__PURE__ */ r("div", { className: "frc-item", children: i })) }), vbe = ({
42851
42851
  className: e = "",
42852
42852
  style: t = {},
42853
42853
  children: n,
@@ -42877,7 +42877,7 @@ const ybe = ({
42877
42877
  warning: a6e,
42878
42878
  danger: n6e,
42879
42879
  info: o6e
42880
- }, vbe = ({
42880
+ }, _be = ({
42881
42881
  isOpen: e,
42882
42882
  title: t,
42883
42883
  message: n,
@@ -42912,7 +42912,7 @@ const ybe = ({
42912
42912
  ] })
42913
42913
  }
42914
42914
  );
42915
- }, _be = () => {
42915
+ }, Mbe = () => {
42916
42916
  const [e, t] = B({
42917
42917
  isOpen: !1,
42918
42918
  title: "",
@@ -42979,7 +42979,7 @@ const ybe = ({
42979
42979
  width64: H6e,
42980
42980
  width80: D6e,
42981
42981
  width96: B6e
42982
- }, br = 4, X$ = 8, Mbe = ({
42982
+ }, br = 4, X$ = 8, xbe = ({
42983
42983
  options: e,
42984
42984
  value: t,
42985
42985
  onChange: n,
@@ -43012,16 +43012,16 @@ const ybe = ({
43012
43012
  }, [u]), T = de(() => {
43013
43013
  z(), D();
43014
43014
  }, [z, D]);
43015
- E(() => (y && (T(), window.addEventListener("scroll", T, !0), window.addEventListener("resize", T)), () => {
43015
+ O(() => (y && (T(), window.addEventListener("scroll", T, !0), window.addEventListener("resize", T)), () => {
43016
43016
  window.removeEventListener("scroll", T, !0), window.removeEventListener("resize", T);
43017
43017
  }), [y, T]), NC(() => {
43018
43018
  y && D();
43019
- }, [y, D]), E(() => {
43019
+ }, [y, D]), O(() => {
43020
43020
  const U = (K) => {
43021
43021
  w.current && !w.current.contains(K.target) && $.current && !$.current.contains(K.target) && (m(!1), k(""));
43022
43022
  };
43023
43023
  return document.addEventListener("mousedown", U), () => document.removeEventListener("mousedown", U);
43024
- }, []), E(() => {
43024
+ }, []), O(() => {
43025
43025
  M(0);
43026
43026
  }, [S]);
43027
43027
  const P = (U) => {
@@ -43195,7 +43195,7 @@ const ybe = ({
43195
43195
  subValue: O6e,
43196
43196
  subValueWrapper: U6e,
43197
43197
  subSeparator: W6e
43198
- }, xbe = ({
43198
+ }, bbe = ({
43199
43199
  dms: e,
43200
43200
  stats: t = [],
43201
43201
  itemWidth: n = "120px",
@@ -43282,7 +43282,7 @@ function ofe() {
43282
43282
  /* @__PURE__ */ r("path", { d: "M8 12h8", stroke: "currentColor", strokeWidth: "1.6", strokeLinecap: "round" })
43283
43283
  ] });
43284
43284
  }
43285
- function bbe(e) {
43285
+ function wbe(e) {
43286
43286
  const {
43287
43287
  title: t,
43288
43288
  titleColor: n,
@@ -43356,7 +43356,7 @@ function bbe(e) {
43356
43356
  }
43357
43357
  );
43358
43358
  }
43359
- const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M480-360 280-559h400z" })), mz = Ve(ife), rfe = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ J.createElement("path", { d: "m280-400 200-201 200 201z" })), cfe = Ve(rfe), sfe = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 16 16", ...e }, /* @__PURE__ */ J.createElement("path", { fill: "#0087BD", d: "M3 14a.96.96 0 0 1-.7-.3.96.96 0 0 1-.3-.7V3q0-.4.3-.7T3 2h10q.4 0 .7.3t.3.7v10q0 .4-.3.7t-.7.3zm3.983-3.55q.1 0 .192-.033a.36.36 0 0 0 .158-.117l4.117-4.133q.15-.15.15-.35a.54.54 0 0 0-.15-.367.52.52 0 0 0-.358-.133.5.5 0 0 0-.359.15l-3.75 3.75L5.35 7.583a.48.48 0 0 0-.7 0q-.15.15-.15.367 0 .216.15.35l1.983 2a.48.48 0 0 0 .35.15" })), dfe = Ve(sfe), lfe = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 16 16", ...e }, /* @__PURE__ */ J.createElement("path", { fill: "#1E2122", d: "M3 14a.96.96 0 0 1-.7-.3.96.96 0 0 1-.3-.7V3q0-.4.3-.7T3 2h10q.4 0 .7.3t.3.7v10q0 .4-.3.7t-.7.3zm0-1h10V3H3z" })), hfe = Ve(lfe), wbe = ({
43359
+ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M480-360 280-559h400z" })), mz = Ve(ife), rfe = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ J.createElement("path", { d: "m280-400 200-201 200 201z" })), cfe = Ve(rfe), sfe = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 16 16", ...e }, /* @__PURE__ */ J.createElement("path", { fill: "#0087BD", d: "M3 14a.96.96 0 0 1-.7-.3.96.96 0 0 1-.3-.7V3q0-.4.3-.7T3 2h10q.4 0 .7.3t.3.7v10q0 .4-.3.7t-.7.3zm3.983-3.55q.1 0 .192-.033a.36.36 0 0 0 .158-.117l4.117-4.133q.15-.15.15-.35a.54.54 0 0 0-.15-.367.52.52 0 0 0-.358-.133.5.5 0 0 0-.359.15l-3.75 3.75L5.35 7.583a.48.48 0 0 0-.7 0q-.15.15-.15.367 0 .216.15.35l1.983 2a.48.48 0 0 0 .35.15" })), dfe = Ve(sfe), lfe = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 16 16", ...e }, /* @__PURE__ */ J.createElement("path", { fill: "#1E2122", d: "M3 14a.96.96 0 0 1-.7-.3.96.96 0 0 1-.3-.7V3q0-.4.3-.7T3 2h10q.4 0 .7.3t.3.7v10q0 .4-.3.7t-.7.3zm0-1h10V3H3z" })), hfe = Ve(lfe), Lbe = ({
43360
43360
  items: e,
43361
43361
  onSave: t,
43362
43362
  loading: n,
@@ -43376,9 +43376,9 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
43376
43376
  a11yConfig: p
43377
43377
  }) => {
43378
43378
  const [u, y] = B(!1), [m, g] = B(e), [k, _] = B(!1);
43379
- if (E(() => {
43379
+ if (O(() => {
43380
43380
  _(!0);
43381
- }, []), E(() => {
43381
+ }, []), O(() => {
43382
43382
  g(e);
43383
43383
  }, [e]), !k) return null;
43384
43384
  const M = (L, N) => {
@@ -43800,7 +43800,7 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
43800
43800
  h.id ?? `${h.label}-${p}`
43801
43801
  )) })
43802
43802
  ] });
43803
- }, Lbe = ({
43803
+ }, Cbe = ({
43804
43804
  items: e,
43805
43805
  footerLabel: t,
43806
43806
  width: n,
@@ -43949,7 +43949,7 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
43949
43949
  }
43950
43950
  )
43951
43951
  }
43952
- ) }) }), Cbe = ({
43952
+ ) }) }), Nbe = ({
43953
43953
  data: e,
43954
43954
  height: t = 360,
43955
43955
  barColor: n = "#0284C7",
@@ -44059,7 +44059,7 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44059
44059
  }, k8e = rr(
44060
44060
  function({ isVisible: t, onClose: n, items: o, style: i, position: c, bg: s }, d) {
44061
44061
  const l = G(null), h = d || l;
44062
- if (E(() => {
44062
+ if (O(() => {
44063
44063
  if (!t) return;
44064
44064
  const y = (m) => {
44065
44065
  h.current && !h.current.contains(m.target) && n?.();
@@ -44208,7 +44208,7 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44208
44208
  }
44209
44209
  P((ie) => !ie);
44210
44210
  };
44211
- if (E(() => {
44211
+ if (O(() => {
44212
44212
  if (!T || !z.current) return;
44213
44213
  const ie = () => {
44214
44214
  const re = z.current.getBoundingClientRect(), ke = window.innerWidth, ge = window.innerHeight, Me = 200, Z = 200, ee = 4, ue = L?.x ?? 0, je = L?.y ?? 0, Le = ke - re.right >= Me + ee;
@@ -44223,7 +44223,7 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44223
44223
  return window.addEventListener("resize", ie), window.addEventListener("orientationchange", ie), () => {
44224
44224
  window.removeEventListener("resize", ie), window.removeEventListener("orientationchange", ie);
44225
44225
  };
44226
- }, [T, L]), E(() => {
44226
+ }, [T, L]), O(() => {
44227
44227
  if (!T || !z.current || !D.current) return;
44228
44228
  const ie = () => {
44229
44229
  const ke = z.current.getBoundingClientRect(), ge = D.current.getBoundingClientRect(), Me = L?.x ?? 0, Z = L?.y ?? 0;
@@ -44482,7 +44482,7 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44482
44482
  sectionItems: I8e,
44483
44483
  bottomSection: S8e,
44484
44484
  versionContainer: $8e
44485
- }, Nbe = ({
44485
+ }, Ibe = ({
44486
44486
  logoProps: e,
44487
44487
  logoSpacing: t,
44488
44488
  navItems: n,
@@ -44631,7 +44631,7 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44631
44631
  title: z8e,
44632
44632
  inlineToggleContainer: V8e,
44633
44633
  rightContentContainer: P8e
44634
- }, Ibe = ({
44634
+ }, Sbe = ({
44635
44635
  className: e = "",
44636
44636
  style: t,
44637
44637
  fontSize: n = "20px",
@@ -44809,7 +44809,7 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44809
44809
  borderRadius: $ = 0
44810
44810
  }) => {
44811
44811
  const [C, S] = B(""), q = G(null);
44812
- E(() => {
44812
+ O(() => {
44813
44813
  const D = (T) => {
44814
44814
  q.current && !q.current.contains(T.target) && S("");
44815
44815
  };
@@ -44918,7 +44918,7 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44918
44918
  subheaderContent: Q8e,
44919
44919
  navContainer: ege,
44920
44920
  rightContent: tge
44921
- }, Sbe = ({
44921
+ }, $be = ({
44922
44922
  subNavItems: e,
44923
44923
  backgroundColor: t = "transparent",
44924
44924
  // Default transparent assuming wrapper handles bg, or user can set
@@ -45087,7 +45087,7 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45087
45087
  ]
45088
45088
  }
45089
45089
  );
45090
- }, $be = ({
45090
+ }, qbe = ({
45091
45091
  onSwitch: e,
45092
45092
  size: t = "20px",
45093
45093
  lightIconColor: n = "#666",
@@ -45552,7 +45552,7 @@ function gz(e, t, n, o, i, c, s) {
45552
45552
  c.set(l, { level: i, hasChildren: p, isExpanded: u }), s.push(d), p && u && gz(h, t, n, o, i + 1, c, s);
45553
45553
  });
45554
45554
  }
45555
- const qbe = ({
45555
+ const Abe = ({
45556
45556
  data: e,
45557
45557
  columns: t,
45558
45558
  rowKey: n,
@@ -45804,7 +45804,7 @@ const qbe = ({
45804
45804
  }
45805
45805
  return null;
45806
45806
  }, [ot, Yt] = B(!1), [wi, zz] = B({ top: 0, left: 0, width: 0 }), [mN, Vz] = B("bottom"), [fN, Pz] = B(null), [fe, Li] = B(Ht(e) || /* @__PURE__ */ new Date()), [Ci, Wb] = B(Ht(e)), [hr, Gb] = B(Ht(e)?.getHours() ?? 0), [pr, Kb] = B(Ht(e)?.getMinutes() ?? 0), [Zb, Y1] = B(!1), [Xb, J1] = B(!1), Yb = G(null), Q1 = G(null), gN = G(null), Jb = G(null), Qb = G(null), vN = G(Ht(e)?.getTime());
45807
- E(() => {
45807
+ O(() => {
45808
45808
  const j = Ht(e), Y = j?.getTime();
45809
45809
  Y !== vN.current && (vN.current = Y, Wb(j), j && (Li(j), Gb(j.getHours()), Kb(j.getMinutes())));
45810
45810
  }, [e]);
@@ -45831,11 +45831,11 @@ const qbe = ({
45831
45831
  }, [Z, k]), ei = de(() => {
45832
45832
  _N(), ur();
45833
45833
  }, [_N, ur]);
45834
- E(() => (ot && (ei(), window.addEventListener("scroll", ei, !0), window.addEventListener("resize", ei)), () => {
45834
+ O(() => (ot && (ei(), window.addEventListener("scroll", ei, !0), window.addEventListener("resize", ei)), () => {
45835
45835
  window.removeEventListener("scroll", ei, !0), window.removeEventListener("resize", ei);
45836
45836
  }), [ot, ei]), NC(() => {
45837
45837
  ot && ur();
45838
- }, [ot, ur]), E(() => {
45838
+ }, [ot, ur]), O(() => {
45839
45839
  const j = (Y) => {
45840
45840
  if (Yb.current && !Yb.current.contains(Y.target)) {
45841
45841
  const Se = document.getElementById("datepicker-dropdown");
@@ -46382,7 +46382,7 @@ const qbe = ({
46382
46382
  titleKey: ie
46383
46383
  }) => {
46384
46384
  const [re, ke] = B(!1), ge = G(null), Me = e.find((Ae) => Ae.value === t);
46385
- E(() => {
46385
+ O(() => {
46386
46386
  const Ae = (Tt) => {
46387
46387
  ge.current && !ge.current.contains(Tt.target) && ke(!1);
46388
46388
  };
@@ -46554,7 +46554,7 @@ const qbe = ({
46554
46554
  }, x7e = "_filterBar_1hlqe_3", b7e = "_label_1hlqe_11", Q$ = {
46555
46555
  filterBar: x7e,
46556
46556
  label: b7e
46557
- }, Abe = ({
46557
+ }, zbe = ({
46558
46558
  label: e = "Filtres",
46559
46559
  startDate: t,
46560
46560
  endDate: n,
@@ -46673,7 +46673,7 @@ const qbe = ({
46673
46673
  valueStacked: ive,
46674
46674
  stackedTop: rve,
46675
46675
  stackedBottom: cve
46676
- }, zbe = ({
46676
+ }, Vbe = ({
46677
46677
  a11yConfig: e,
46678
46678
  iconName: t,
46679
46679
  title: n,
@@ -46835,7 +46835,7 @@ const qbe = ({
46835
46835
  maskType: "alpha"
46836
46836
  } }, /* @__PURE__ */ J.createElement("path", { fill: "#D9D9D9", d: "M0 0h20v20H0z" })), /* @__PURE__ */ J.createElement("g", { mask: "url(#a)" }, /* @__PURE__ */ J.createElement("path", { fill: "#1C1B1F", d: "M9.25 17v-1.5h-1.5V14h1.5v-1.583a4.24 4.24 0 0 1-2.51-1.46 4.06 4.06 0 0 1-.99-2.707q0-1.774 1.24-3.012T10 4t3.01 1.238 1.24 3.012q0 1.539-.99 2.707a4.24 4.24 0 0 1-2.51 1.46v1.579h1.5V15.5h-1.5V17zm2.698-6.807a2.66 2.66 0 0 0 .802-1.948q0-1.14-.807-1.943A2.66 2.66 0 0 0 9.995 5.5a2.64 2.64 0 0 0-1.943.807 2.66 2.66 0 0 0-.802 1.948q0 1.14.807 1.943a2.66 2.66 0 0 0 1.948.802q1.14 0 1.943-.807" }))), wve = Ve(bve), Lve = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 20 20", ...e }, /* @__PURE__ */ J.createElement("mask", { id: "a", width: 20, height: 20, x: 0, y: 0, maskUnits: "userSpaceOnUse", style: {
46837
46837
  maskType: "alpha"
46838
- } }, /* @__PURE__ */ J.createElement("path", { fill: "#D9D9D9", d: "M0 0h20v20H0z" })), /* @__PURE__ */ J.createElement("g", { mask: "url(#a)" }, /* @__PURE__ */ J.createElement("path", { fill: "#1C1B1F", d: "M16 4v4.5h-1.5V6.563l-2.75 2.75q.366.545.558 1.157.192.614.192 1.271 0 1.781-1.235 3.02T8.255 16 5.24 14.765 4 11.755 5.236 8.74Q6.474 7.5 8.25 7.5q.667 0 1.281.177.615.178 1.156.573l2.75-2.75H11.5V4zM6.302 9.807a2.66 2.66 0 0 0-.802 1.948q0 1.14.807 1.943a2.66 2.66 0 0 0 1.948.802q1.14 0 1.943-.807A2.66 2.66 0 0 0 11 11.745q0-1.14-.807-1.943A2.66 2.66 0 0 0 8.245 9a2.64 2.64 0 0 0-1.943.807" }))), Cve = Ve(Lve), Vbe = ({
46838
+ } }, /* @__PURE__ */ J.createElement("path", { fill: "#D9D9D9", d: "M0 0h20v20H0z" })), /* @__PURE__ */ J.createElement("g", { mask: "url(#a)" }, /* @__PURE__ */ J.createElement("path", { fill: "#1C1B1F", d: "M16 4v4.5h-1.5V6.563l-2.75 2.75q.366.545.558 1.157.192.614.192 1.271 0 1.781-1.235 3.02T8.255 16 5.24 14.765 4 11.755 5.236 8.74Q6.474 7.5 8.25 7.5q.667 0 1.281.177.615.178 1.156.573l2.75-2.75H11.5V4zM6.302 9.807a2.66 2.66 0 0 0-.802 1.948q0 1.14.807 1.943a2.66 2.66 0 0 0 1.948.802q1.14 0 1.943-.807A2.66 2.66 0 0 0 11 11.745q0-1.14-.807-1.943A2.66 2.66 0 0 0 8.245 9a2.64 2.64 0 0 0-1.943.807" }))), Cve = Ve(Lve), Pbe = ({
46839
46839
  patient: e,
46840
46840
  genre: t,
46841
46841
  gravite: n,
@@ -46941,7 +46941,7 @@ const qbe = ({
46941
46941
  baseButton: Ove,
46942
46942
  noOverlay: Uve,
46943
46943
  contained: Wve
46944
- }, Pbe = ({
46944
+ }, Tbe = ({
46945
46945
  headerText: e,
46946
46946
  headerTextColor: t = "var(--color-text)",
46947
46947
  backgroundColor: n = "var(--color-background)",
@@ -46976,7 +46976,7 @@ const qbe = ({
46976
46976
  a11yConfig: T
46977
46977
  }) => {
46978
46978
  const [P, A] = B(!1), V = G(null);
46979
- if (E(() => {
46979
+ if (O(() => {
46980
46980
  if (!c || !z) return;
46981
46981
  const H = (W) => {
46982
46982
  (W.type === "scroll" || W.type === "wheel" || W.type === "touchmove" || V.current && !V.current.contains(W.target)) && s();
@@ -47088,7 +47088,7 @@ const qbe = ({
47088
47088
  container: Gve,
47089
47089
  searchWrapper: Kve,
47090
47090
  navItems: Zve
47091
- }, Tbe = ({
47091
+ }, Hbe = ({
47092
47092
  items: e,
47093
47093
  activeId: t,
47094
47094
  activeColor: n = "#00aec7",
@@ -47135,7 +47135,7 @@ const qbe = ({
47135
47135
  )) })
47136
47136
  ]
47137
47137
  }
47138
- ), Hbe = ({
47138
+ ), Dbe = ({
47139
47139
  modules: e,
47140
47140
  selectedModuleId: t,
47141
47141
  onSelectModule: n,
@@ -47320,7 +47320,7 @@ const qbe = ({
47320
47320
  ] })
47321
47321
  ]
47322
47322
  }
47323
- ), Dbe = ({
47323
+ ), Bbe = ({
47324
47324
  modules: e,
47325
47325
  selectedModuleId: t,
47326
47326
  onSelectModule: n,
@@ -47342,9 +47342,9 @@ const qbe = ({
47342
47342
  selectedBackgroundColor: v
47343
47343
  }) => {
47344
47344
  const [b, L] = B(d ?? ""), N = G(null);
47345
- E(() => {
47345
+ O(() => {
47346
47346
  d !== void 0 && L(d);
47347
- }, [d]), E(() => () => {
47347
+ }, [d]), O(() => () => {
47348
47348
  N.current && clearTimeout(N.current);
47349
47349
  }, []);
47350
47350
  const I = ($) => {
@@ -47388,7 +47388,7 @@ const qbe = ({
47388
47388
  $.id
47389
47389
  )) })
47390
47390
  ] });
47391
- }, Bbe = ({
47391
+ }, jbe = ({
47392
47392
  keyName: e,
47393
47393
  translations: t,
47394
47394
  availableLanguages: n,
@@ -47506,7 +47506,7 @@ const qbe = ({
47506
47506
  confirmButton: t9e,
47507
47507
  danger: a9e,
47508
47508
  cancelButton: n9e
47509
- }, jbe = ({
47509
+ }, Rbe = ({
47510
47510
  isOpen: e,
47511
47511
  message: t,
47512
47512
  children: n,
@@ -47569,7 +47569,7 @@ const qbe = ({
47569
47569
  title: r9e,
47570
47570
  text: c9e,
47571
47571
  bottomIcon: s9e
47572
- }, Rbe = ({
47572
+ }, Fbe = ({
47573
47573
  topIcon: e,
47574
47574
  title: t,
47575
47575
  text: n,
@@ -47625,7 +47625,7 @@ const qbe = ({
47625
47625
  overflowDropdownItem: V9e,
47626
47626
  overflowDropdownItemLabel: P9e,
47627
47627
  overflowDropdownItemRemove: T9e
47628
- }, Fbe = ({
47628
+ }, Ebe = ({
47629
47629
  options: e,
47630
47630
  noOptionsMessage: t = "",
47631
47631
  value: n,
@@ -47651,13 +47651,13 @@ const qbe = ({
47651
47651
  return !1;
47652
47652
  });
47653
47653
  }, [w, u]);
47654
- E(() => {
47654
+ O(() => {
47655
47655
  const A = (V) => {
47656
47656
  const F = V.target;
47657
47657
  m.current && !m.current.contains(F) && (p(!1), y(""), v(null), L(!1));
47658
47658
  };
47659
47659
  return document.addEventListener("mousedown", A), () => document.removeEventListener("mousedown", A);
47660
- }, []), E(() => {
47660
+ }, []), O(() => {
47661
47661
  if (l) return;
47662
47662
  if (x.length === 0) {
47663
47663
  v(null), N.current = [];
@@ -47901,7 +47901,7 @@ const qbe = ({
47901
47901
  );
47902
47902
  }, H9e = "_container_h7jek_1", tq = {
47903
47903
  container: H9e
47904
- }, Ebe = ({
47904
+ }, Obe = ({
47905
47905
  a11yConfigs: e = [],
47906
47906
  titleKeys: t = [],
47907
47907
  labels: n = [],
@@ -48148,7 +48148,7 @@ const qbe = ({
48148
48148
  value2: Z9e,
48149
48149
  statusIndicator: X9e,
48150
48150
  inactive: Y9e
48151
- }, aq = Math.PI / 180, Obe = ({
48151
+ }, aq = Math.PI / 180, Ube = ({
48152
48152
  data: e,
48153
48153
  height: t = 400,
48154
48154
  bg: n,
@@ -48281,7 +48281,7 @@ const qbe = ({
48281
48281
  container: J9e,
48282
48282
  leftGroup: Q9e,
48283
48283
  iconBtn: e_e
48284
- }, t_e = (e) => /* @__PURE__ */ J.createElement("svg", { width: "1em", height: "1em", fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, viewBox: "0 0 24 24", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M3 12h18M3 6h18M3 18h18" })), a_e = Ve(t_e), n_e = (e) => /* @__PURE__ */ J.createElement("svg", { width: "1em", height: "1em", fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, viewBox: "0 0 24 24", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8m-4-6-4-4-4 4m4-4v13" })), _z = Ve(n_e), Ube = ({
48284
+ }, t_e = (e) => /* @__PURE__ */ J.createElement("svg", { width: "1em", height: "1em", fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, viewBox: "0 0 24 24", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M3 12h18M3 6h18M3 18h18" })), a_e = Ve(t_e), n_e = (e) => /* @__PURE__ */ J.createElement("svg", { width: "1em", height: "1em", fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, viewBox: "0 0 24 24", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8m-4-6-4-4-4 4m4-4v13" })), _z = Ve(n_e), Wbe = ({
48285
48285
  menuIcon: e,
48286
48286
  logoProps: t,
48287
48287
  actionIcon: n,
@@ -48331,7 +48331,7 @@ const qbe = ({
48331
48331
  container: o_e,
48332
48332
  iconBtn: i_e,
48333
48333
  title: r_e
48334
- }, Wbe = ({
48334
+ }, Gbe = ({
48335
48335
  title: e = "Menu",
48336
48336
  closeIcon: t,
48337
48337
  actionIcon: n,
@@ -48387,7 +48387,7 @@ const qbe = ({
48387
48387
  function Mz(e) {
48388
48388
  return e.state ? e.state : e.active ? "active" : "available";
48389
48389
  }
48390
- const Gbe = ({
48390
+ const Kbe = ({
48391
48391
  title: e,
48392
48392
  countLabel: t = "UF",
48393
48393
  actionIcon: n = /* @__PURE__ */ r(Lt, { size: 16 }),
@@ -48427,7 +48427,7 @@ const Gbe = ({
48427
48427
  )) }) }),
48428
48428
  l && /* @__PURE__ */ r(f_e, { children: l })
48429
48429
  ] });
48430
- }, c_e = O.div`
48430
+ }, c_e = E.div`
48431
48431
  background: var(--color-card-background, white);
48432
48432
  border: 1px solid var(--color-border, #ddd);
48433
48433
  border-radius: 4px;
@@ -48438,7 +48438,7 @@ const Gbe = ({
48438
48438
  display: flex;
48439
48439
  flex-direction: column;
48440
48440
  color: var(--color-text, inherit);
48441
- `, s_e = O.div`
48441
+ `, s_e = E.div`
48442
48442
  display: flex;
48443
48443
  justify-content: space-between;
48444
48444
  align-items: center;
@@ -48447,20 +48447,20 @@ const Gbe = ({
48447
48447
  height: 3rem;
48448
48448
  box-sizing: border-box;
48449
48449
  border-bottom: 1px solid var(--color-border, #efefef);
48450
- `, d_e = O.div`
48450
+ `, d_e = E.div`
48451
48451
  display: flex;
48452
48452
  align-items: baseline;
48453
48453
  gap: 8px;
48454
- `, l_e = O.h2`
48454
+ `, l_e = E.h2`
48455
48455
  margin: 0;
48456
48456
  font-size: 1rem;
48457
48457
  font-weight: 800;
48458
48458
  color: var(--color-text, #1a1a1a);
48459
- `, h_e = O.span`
48459
+ `, h_e = E.span`
48460
48460
  font-size: 0.9rem;
48461
48461
  font-weight: 500;
48462
48462
  color: var(--color-text-secondary, #718096);
48463
- `, p_e = O.button`
48463
+ `, p_e = E.button`
48464
48464
  background: transparent;
48465
48465
  border: none;
48466
48466
  cursor: pointer;
@@ -48473,14 +48473,14 @@ const Gbe = ({
48473
48473
  &:hover {
48474
48474
  opacity: 0.7;
48475
48475
  }
48476
- `, u_e = O.div`
48476
+ `, u_e = E.div`
48477
48477
  padding: 15px;
48478
- `, y_e = O.div`
48478
+ `, y_e = E.div`
48479
48479
  display: flex;
48480
48480
  flex-wrap: wrap;
48481
48481
  gap: 8px;
48482
48482
  justify-content: flex-start;
48483
- `, nq = "#BEC3C4", k_e = O.div`
48483
+ `, nq = "#BEC3C4", k_e = E.div`
48484
48484
  padding: 0.5rem;
48485
48485
  display: flex;
48486
48486
  width: 4rem;
@@ -48514,7 +48514,7 @@ const Gbe = ({
48514
48514
  children: e.label
48515
48515
  }
48516
48516
  )
48517
- ), f_e = O.div`
48517
+ ), f_e = E.div`
48518
48518
  padding: 0 15px 15px 15px;
48519
48519
  display: flex;
48520
48520
  justify-content: flex-end;
@@ -48531,7 +48531,7 @@ const Gbe = ({
48531
48531
  strokeLinecap: "round",
48532
48532
  strokeLinejoin: "round"
48533
48533
  }
48534
- ) }), Kbe = ({
48534
+ ) }), Zbe = ({
48535
48535
  title: e = "LITS DISPONIBLES",
48536
48536
  criteriaLabel: t = "CRITÈRES / HÔPITAUX",
48537
48537
  summary: n,
@@ -48559,7 +48559,7 @@ const Gbe = ({
48559
48559
  const S = I === C ? "" : C;
48560
48560
  N(S), d?.(S);
48561
48561
  };
48562
- return E(() => {
48562
+ return O(() => {
48563
48563
  const C = x.current, S = I ? w.current[I] : null;
48564
48564
  if (!C || !S) return;
48565
48565
  const q = C.getBoundingClientRect(), z = S.getBoundingClientRect();
@@ -48632,6 +48632,7 @@ const Gbe = ({
48632
48632
  onClick: () => l?.(q.id),
48633
48633
  children: [
48634
48634
  /* @__PURE__ */ r($_e, { title: q.title ?? q.name, children: q.name }),
48635
+ q.distanceLabel && /* @__PURE__ */ r(q_e, { children: q.distanceLabel }),
48635
48636
  !C.hideItemBadge && /* @__PURE__ */ r(Nr, { $bg: q.color ?? i[q.level], children: q.available })
48636
48637
  ]
48637
48638
  },
@@ -48645,7 +48646,7 @@ const Gbe = ({
48645
48646
  ]
48646
48647
  }
48647
48648
  );
48648
- }, __e = O.aside`
48649
+ }, __e = E.aside`
48649
48650
  width: ${(e) => v_e(e.$width)};
48650
48651
  flex-shrink: 0;
48651
48652
  align-self: flex-start;
@@ -48667,7 +48668,7 @@ const Gbe = ({
48667
48668
  &::-webkit-scrollbar {
48668
48669
  display: none; /* Chrome/Safari/Edge Chromium */
48669
48670
  }
48670
- `, M_e = O.div`
48671
+ `, M_e = E.div`
48671
48672
  display: flex;
48672
48673
  align-items: center;
48673
48674
  justify-content: space-between;
@@ -48675,19 +48676,19 @@ const Gbe = ({
48675
48676
  padding: 0.875rem;
48676
48677
  border-bottom: 1px solid #eceef1;
48677
48678
  flex-wrap: nowrap;
48678
- `, x_e = O.span`
48679
+ `, x_e = E.span`
48679
48680
  flex-shrink: 0;
48680
48681
  white-space: nowrap;
48681
48682
  font-size: 0.68rem;
48682
48683
  font-weight: 400;
48683
48684
  color: #7c8082;
48684
48685
  text-transform: uppercase;
48685
- `, b_e = O.div`
48686
+ `, b_e = E.div`
48686
48687
  display: flex;
48687
48688
  align-items: center;
48688
48689
  gap: 0.3125rem;
48689
48690
  flex-shrink: 0;
48690
- `, Nr = O.span`
48691
+ `, Nr = E.span`
48691
48692
  box-sizing: border-box;
48692
48693
  flex-shrink: 0;
48693
48694
  display: block;
@@ -48701,7 +48702,7 @@ const Gbe = ({
48701
48702
  font-weight: 700;
48702
48703
  line-height: 1.625rem;
48703
48704
  text-align: center;
48704
- `, iq = O.button`
48705
+ `, iq = E.button`
48705
48706
  display: inline-flex;
48706
48707
  flex-shrink: 0;
48707
48708
  align-items: center;
@@ -48712,7 +48713,7 @@ const Gbe = ({
48712
48713
  color: #8a94a6;
48713
48714
  line-height: 1;
48714
48715
  cursor: pointer;
48715
- `, w_e = O.div`
48716
+ `, w_e = E.div`
48716
48717
  display: flex;
48717
48718
  align-items: center;
48718
48719
  justify-content: space-between;
@@ -48720,17 +48721,17 @@ const Gbe = ({
48720
48721
  width: 100%;
48721
48722
  padding: 0.625rem 0.875rem;
48722
48723
  border-bottom: 1px solid #eceef1;
48723
- `, L_e = O.span`
48724
+ `, L_e = E.span`
48724
48725
  color: #7c8082;
48725
48726
  font-size: 0.62rem;
48726
48727
  font-weight: 400;
48727
48728
  letter-spacing: 0.02em;
48728
- `, C_e = O.div`
48729
+ `, C_e = E.div`
48729
48730
  display: flex;
48730
48731
  flex-direction: column;
48731
- `, N_e = O.div`
48732
+ `, N_e = E.div`
48732
48733
  padding-left: 0;
48733
- `, I_e = O.button`
48734
+ `, I_e = E.button`
48734
48735
  width: 100%;
48735
48736
  text-align: left;
48736
48737
  padding: 0.6875rem 0.875rem;
@@ -48741,7 +48742,7 @@ const Gbe = ({
48741
48742
  font-size: 0.78rem;
48742
48743
  color: ${(e) => e.$textColor};
48743
48744
  cursor: pointer;
48744
- `, S_e = O.button`
48745
+ `, S_e = E.button`
48745
48746
  display: flex;
48746
48747
  align-items: center;
48747
48748
  justify-content: space-between;
@@ -48759,14 +48760,21 @@ const Gbe = ({
48759
48760
  &:hover {
48760
48761
  background: ${(e) => e.$hoverBackgroundColor};
48761
48762
  }
48762
- `, $_e = O.span`
48763
+ `, $_e = E.span`
48763
48764
  flex: 1;
48764
48765
  min-width: 0;
48765
48766
  line-height: 1.625rem;
48766
48767
  overflow: hidden;
48767
48768
  text-overflow: ellipsis;
48768
48769
  white-space: nowrap;
48769
- `, Zbe = ({
48770
+ `, q_e = E.span`
48771
+ flex-shrink: 0;
48772
+ font-size: var(--p);
48773
+ color: var(--color-text-secondary);
48774
+ white-space: nowrap;
48775
+ padding: 0 0.3rem;
48776
+ line-height: 1.625rem;
48777
+ `, Xbe = ({
48770
48778
  value: e,
48771
48779
  min: t = 0,
48772
48780
  max: n = 100,
@@ -48790,10 +48798,10 @@ const Gbe = ({
48790
48798
  const b = n !== t ? (e - t) / (n - t) * 100 : 0, L = (I) => {
48791
48799
  i(Number(I.target.value));
48792
48800
  }, N = te(v, c);
48793
- return /* @__PURE__ */ f(q_e, { className: s, title: N, $fullWidth: l, children: [
48794
- c && /* @__PURE__ */ r(A_e, { id: M ? void 0 : `${c}-label`, children: c }),
48801
+ return /* @__PURE__ */ f(A_e, { className: s, title: N, $fullWidth: l, children: [
48802
+ c && /* @__PURE__ */ r(z_e, { id: M ? void 0 : `${c}-label`, children: c }),
48795
48803
  /* @__PURE__ */ r(
48796
- z_e,
48804
+ V_e,
48797
48805
  {
48798
48806
  type: "range",
48799
48807
  min: t,
@@ -48818,17 +48826,17 @@ const Gbe = ({
48818
48826
  }
48819
48827
  )
48820
48828
  ] });
48821
- }, q_e = O.div`
48829
+ }, A_e = E.div`
48822
48830
  display: flex;
48823
48831
  flex-direction: column;
48824
48832
  gap: 0.5rem;
48825
48833
  font-family: inherit;
48826
48834
  width: ${({ $fullWidth: e }) => e ? "100%" : "auto"};
48827
- `, A_e = O.label`
48835
+ `, z_e = E.label`
48828
48836
  font-size: 0.875rem;
48829
48837
  font-weight: 500;
48830
48838
  color: var(--color-text, #212529);
48831
- `, z_e = O.input`
48839
+ `, V_e = E.input`
48832
48840
  -webkit-appearance: none;
48833
48841
  appearance: none;
48834
48842
  width: 100%;
@@ -48929,9 +48937,9 @@ const Gbe = ({
48929
48937
  &:focus::-webkit-slider-runnable-track {
48930
48938
  outline: none;
48931
48939
  }
48932
- `, V_e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 20 20", ...e }, /* @__PURE__ */ J.createElement("mask", { id: "a", width: 20, height: 20, x: 0, y: 0, maskUnits: "userSpaceOnUse", style: {
48940
+ `, P_e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 20 20", ...e }, /* @__PURE__ */ J.createElement("mask", { id: "a", width: 20, height: 20, x: 0, y: 0, maskUnits: "userSpaceOnUse", style: {
48933
48941
  maskType: "alpha"
48934
- } }, /* @__PURE__ */ J.createElement("path", { fill: "#D9D9D9", d: "M0 0h20v20H0z" })), /* @__PURE__ */ J.createElement("g", { mask: "url(#a)" }, /* @__PURE__ */ J.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" }))), P_e = Ve(V_e), Xbe = ({
48942
+ } }, /* @__PURE__ */ J.createElement("path", { fill: "#D9D9D9", d: "M0 0h20v20H0z" })), /* @__PURE__ */ J.createElement("g", { mask: "url(#a)" }, /* @__PURE__ */ J.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" }))), T_e = Ve(P_e), Ybe = ({
48935
48943
  value: e,
48936
48944
  onChange: t,
48937
48945
  label: n,
@@ -48963,10 +48971,10 @@ const Gbe = ({
48963
48971
  }
48964
48972
  return { h: "00", m: "00" };
48965
48973
  }, [b, L] = B("00"), [N, I] = B("00");
48966
- E(() => {
48974
+ O(() => {
48967
48975
  const C = v(e);
48968
48976
  L(C.h), I(C.m);
48969
- }, [e, k]), E(() => {
48977
+ }, [e, k]), O(() => {
48970
48978
  const C = (S) => {
48971
48979
  M.current && !M.current.contains(S.target) && _(!1);
48972
48980
  };
@@ -48976,10 +48984,10 @@ const Gbe = ({
48976
48984
  const C = parseInt(b) || 0, S = parseInt(N) || 0, q = Math.min(u, Math.max(0, C)).toString().padStart(2, "0"), z = Math.min(59, Math.max(0, S)).toString().padStart(2, "0");
48977
48985
  t(`${q}:${z}`), _(!1);
48978
48986
  }, w = e ? typeof e == "string" ? e : `${e.getHours().toString().padStart(2, "0")}:${e.getMinutes().toString().padStart(2, "0")}` : "", $ = te(g, n);
48979
- return /* @__PURE__ */ f(T_e, { ref: M, $fullWidth: c, title: $, children: [
48980
- n && /* @__PURE__ */ r(H_e, { id: m ? void 0 : `${n}-label`, children: n }),
48987
+ return /* @__PURE__ */ f(H_e, { ref: M, $fullWidth: c, title: $, children: [
48988
+ n && /* @__PURE__ */ r(D_e, { id: m ? void 0 : `${n}-label`, children: n }),
48981
48989
  /* @__PURE__ */ r(
48982
- D_e,
48990
+ B_e,
48983
48991
  {
48984
48992
  type: "button",
48985
48993
  $isOpen: k,
@@ -48990,14 +48998,14 @@ const Gbe = ({
48990
48998
  "aria-labelledby": m || (n ? `${n}-label` : void 0),
48991
48999
  "aria-expanded": k,
48992
49000
  "aria-haspopup": "listbox",
48993
- children: /* @__PURE__ */ f(B_e, { children: [
48994
- /* @__PURE__ */ r(j_e, { $isPlaceholder: !w, children: w || o }),
48995
- /* @__PURE__ */ r(R_e, {})
49001
+ children: /* @__PURE__ */ f(j_e, { children: [
49002
+ /* @__PURE__ */ r(R_e, { $isPlaceholder: !w, children: w || o }),
49003
+ /* @__PURE__ */ r(F_e, {})
48996
49004
  ] })
48997
49005
  }
48998
49006
  ),
48999
- k && /* @__PURE__ */ f(F_e, { $alignment: p, children: [
49000
- /* @__PURE__ */ f(E_e, { children: [
49007
+ k && /* @__PURE__ */ f(E_e, { $alignment: p, children: [
49008
+ /* @__PURE__ */ f(O_e, { children: [
49001
49009
  /* @__PURE__ */ f(rq, { children: [
49002
49010
  /* @__PURE__ */ r(cq, { children: l }),
49003
49011
  /* @__PURE__ */ r(sq, { children: /* @__PURE__ */ r(
@@ -49021,7 +49029,7 @@ const Gbe = ({
49021
49029
  }
49022
49030
  ) })
49023
49031
  ] }),
49024
- /* @__PURE__ */ r(O_e, { children: ":" }),
49032
+ /* @__PURE__ */ r(U_e, { children: ":" }),
49025
49033
  /* @__PURE__ */ f(rq, { children: [
49026
49034
  /* @__PURE__ */ r(cq, { children: h }),
49027
49035
  /* @__PURE__ */ r(sq, { children: /* @__PURE__ */ r(
@@ -49044,24 +49052,24 @@ const Gbe = ({
49044
49052
  ) })
49045
49053
  ] })
49046
49054
  ] }),
49047
- /* @__PURE__ */ f(U_e, { children: [
49055
+ /* @__PURE__ */ f(W_e, { children: [
49048
49056
  /* @__PURE__ */ r(lq, { className: "cancel", onClick: () => _(!1), children: s }),
49049
49057
  /* @__PURE__ */ r(lq, { className: "apply", onClick: x, children: d })
49050
49058
  ] })
49051
49059
  ] })
49052
49060
  ] });
49053
- }, T_e = O.div`
49061
+ }, H_e = E.div`
49054
49062
  position: relative;
49055
49063
  display: inline-block;
49056
49064
  max-width: 100%;
49057
49065
  ${({ $fullWidth: e }) => e && "width: 100%; display: block;"}
49058
- `, H_e = O.label`
49066
+ `, D_e = E.label`
49059
49067
  display: block;
49060
49068
  font-size: 0.875rem;
49061
49069
  font-weight: 500;
49062
49070
  margin-bottom: 0.5rem;
49063
49071
  color: var(--color-text, #212529);
49064
- `, D_e = O.button`
49072
+ `, B_e = E.button`
49065
49073
  width: 100%;
49066
49074
  display: flex;
49067
49075
  align-items: center;
@@ -49083,18 +49091,18 @@ const Gbe = ({
49083
49091
  &:hover {
49084
49092
  ${({ $disabled: e }) => !e && "border-color: var(--color-primary, #86b7fe);"}
49085
49093
  }
49086
- `, B_e = O.div`
49094
+ `, j_e = E.div`
49087
49095
  display: flex;
49088
49096
  align-items: center;
49089
49097
  justify-content: space-between;
49090
49098
  width: 100%;
49091
49099
  gap: 0.5rem;
49092
- `, j_e = O.span`
49100
+ `, R_e = E.span`
49093
49101
  color: ${({ $isPlaceholder: e }) => e ? "var(--color-text-secondary, #adb5bd)" : "inherit"};
49094
- `, R_e = O(P_e)`
49102
+ `, F_e = E(T_e)`
49095
49103
  color: var(--color-text-secondary, #6c757d);
49096
49104
  flex-shrink: 0;
49097
- `, F_e = O.div`
49105
+ `, E_e = E.div`
49098
49106
  position: absolute;
49099
49107
  top: 100%;
49100
49108
  ${({ $alignment: e }) => e === "right" ? "right: 0;" : "left: 0;"}
@@ -49109,28 +49117,28 @@ const Gbe = ({
49109
49117
  flex-direction: column;
49110
49118
  gap: 1rem;
49111
49119
  min-width: 160px;
49112
- `, E_e = O.div`
49120
+ `, O_e = E.div`
49113
49121
  display: flex;
49114
49122
  align-items: center;
49115
49123
  justify-content: center;
49116
49124
  gap: 0.5rem;
49117
- `, rq = O.div`
49125
+ `, rq = E.div`
49118
49126
  display: flex;
49119
49127
  flex-direction: column;
49120
49128
  align-items: center;
49121
49129
  gap: 0.25rem;
49122
- `, cq = O.span`
49130
+ `, cq = E.span`
49123
49131
  font-size: 0.75rem;
49124
49132
  color: var(--color-text-secondary, #6c757d);
49125
49133
  font-weight: 500;
49126
- `, sq = O.div`
49134
+ `, sq = E.div`
49127
49135
  background-color: var(--color-content-background, #f8f9fa);
49128
49136
  border: 1px solid var(--color-border, #dee2e6);
49129
49137
  border-radius: 6px;
49130
49138
  padding: 0.25rem 0.5rem;
49131
49139
  display: flex;
49132
49140
  align-items: center;
49133
- `, dq = O.input`
49141
+ `, dq = E.input`
49134
49142
  width: ${({ $wide: e }) => e ? "3rem" : "2.2rem"};
49135
49143
  border: none;
49136
49144
  background: none;
@@ -49153,16 +49161,16 @@ const Gbe = ({
49153
49161
  -webkit-appearance: none;
49154
49162
  margin: 0;
49155
49163
  }
49156
- `, O_e = O.span`
49164
+ `, U_e = E.span`
49157
49165
  font-size: 1.25rem;
49158
49166
  font-weight: 600;
49159
49167
  color: var(--color-text-secondary, #adb5bd);
49160
49168
  margin-top: 1rem;
49161
- `, U_e = O.div`
49169
+ `, W_e = E.div`
49162
49170
  display: flex;
49163
49171
  gap: 0.5rem;
49164
49172
  margin-top: 0.5rem;
49165
- `, lq = O.button`
49173
+ `, lq = E.button`
49166
49174
  flex: 1;
49167
49175
  border: none;
49168
49176
  padding: 0.5rem;
@@ -49185,7 +49193,7 @@ const Gbe = ({
49185
49193
  background-color: var(--color-primary, #00a6d9);
49186
49194
  color: #ffffff;
49187
49195
  }
49188
- `, Ybe = ({
49196
+ `, Jbe = ({
49189
49197
  title: e = "Liste d'attente",
49190
49198
  onClose: t,
49191
49199
  onBack: n,
@@ -49197,7 +49205,7 @@ const Gbe = ({
49197
49205
  }) => {
49198
49206
  const l = te(s, e);
49199
49207
  return /* @__PURE__ */ f(
49200
- W_e,
49208
+ G_e,
49201
49209
  {
49202
49210
  className: c,
49203
49211
  title: l,
@@ -49238,7 +49246,7 @@ const Gbe = ({
49238
49246
  ]
49239
49247
  }
49240
49248
  );
49241
- }, W_e = O.div`
49249
+ }, G_e = E.div`
49242
49250
  width: 100%;
49243
49251
  height: 100%;
49244
49252
  display: flex;
@@ -49287,7 +49295,7 @@ const Gbe = ({
49287
49295
  border-bottom-left-radius: 0.5rem;
49288
49296
  border-bottom-right-radius: 0.5rem;
49289
49297
  }
49290
- `, Jbe = ({
49298
+ `, Qbe = ({
49291
49299
  items: e,
49292
49300
  title: t,
49293
49301
  backgroundColor: n,
@@ -49306,7 +49314,7 @@ const Gbe = ({
49306
49314
  !p?.titleKey && typeof t == "string" ? t : void 0
49307
49315
  );
49308
49316
  return /* @__PURE__ */ f(
49309
- K_e,
49317
+ Z_e,
49310
49318
  {
49311
49319
  $bgColor: n,
49312
49320
  $textColor: o,
@@ -49319,25 +49327,25 @@ const Gbe = ({
49319
49327
  tabIndex: d ? 0 : void 0,
49320
49328
  onKeyDown: (m) => d && m.key === "Enter" && d(),
49321
49329
  children: [
49322
- /* @__PURE__ */ f(Z_e, { className: "patient-info-content", children: [
49323
- t && /* @__PURE__ */ r(G_e, { className: "patient-info-title", children: t }),
49324
- /* @__PURE__ */ r(J_e, { $columns: i, $vertical: c, className: "patient-info-grid", children: e.map((m, g) => /* @__PURE__ */ f(
49325
- Q_e,
49330
+ /* @__PURE__ */ f(X_e, { className: "patient-info-content", children: [
49331
+ t && /* @__PURE__ */ r(K_e, { className: "patient-info-title", children: t }),
49332
+ /* @__PURE__ */ r(Q_e, { $columns: i, $vertical: c, className: "patient-info-grid", children: e.map((m, g) => /* @__PURE__ */ f(
49333
+ eMe,
49326
49334
  {
49327
49335
  $columns: i,
49328
49336
  $vertical: c,
49329
49337
  className: "patient-info-item",
49330
49338
  children: [
49331
- m.label && /* @__PURE__ */ r(eMe, { className: "patient-info-label", title: te(m.a11yConfig), children: m.label }),
49332
- /* @__PURE__ */ r(tMe, { className: "patient-info-value", $spanFull: !m.label, children: m.value })
49339
+ m.label && /* @__PURE__ */ r(tMe, { className: "patient-info-label", title: te(m.a11yConfig), children: m.label }),
49340
+ /* @__PURE__ */ r(aMe, { className: "patient-info-value", $spanFull: !m.label, children: m.value })
49333
49341
  ]
49334
49342
  },
49335
49343
  g
49336
49344
  )) })
49337
49345
  ] }),
49338
- (s || l) && /* @__PURE__ */ f(X_e, { children: [
49346
+ (s || l) && /* @__PURE__ */ f(Y_e, { children: [
49339
49347
  s && /* @__PURE__ */ r(
49340
- aMe,
49348
+ nMe,
49341
49349
  {
49342
49350
  onClick: (m) => {
49343
49351
  m.stopPropagation(), s();
@@ -49346,17 +49354,17 @@ const Gbe = ({
49346
49354
  children: /* @__PURE__ */ r(yi, { size: 20 })
49347
49355
  }
49348
49356
  ),
49349
- l && /* @__PURE__ */ r(Y_e, { children: l })
49357
+ l && /* @__PURE__ */ r(J_e, { children: l })
49350
49358
  ] })
49351
49359
  ]
49352
49360
  }
49353
49361
  );
49354
- }, G_e = O.div`
49362
+ }, K_e = E.div`
49355
49363
  font-size: 1rem;
49356
49364
  font-weight: 600;
49357
49365
  border-bottom: 1px solid #d2d6d8;
49358
49366
  padding-bottom: 0.5rem;
49359
- `, K_e = O.div`
49367
+ `, Z_e = E.div`
49360
49368
  background-color: ${(e) => e.$bgColor || "#ffffff"};
49361
49369
  color: ${(e) => e.$textColor || "#1c1b1f"};
49362
49370
  border-radius: 0.5rem;
@@ -49366,28 +49374,28 @@ const Gbe = ({
49366
49374
  width: 100%;
49367
49375
  box-sizing: border-box;
49368
49376
  cursor: ${(e) => e.$isClickable ? "pointer" : "default"};
49369
- `, Z_e = O.div`
49377
+ `, X_e = E.div`
49370
49378
  flex: 1;
49371
49379
  display: flex;
49372
49380
  flex-direction: column;
49373
49381
  gap: 0.75rem;
49374
- `, X_e = O.div`
49382
+ `, Y_e = E.div`
49375
49383
  display: flex;
49376
49384
  flex-direction: column;
49377
49385
  justify-content: space-between;
49378
49386
  align-items: flex-end;
49379
49387
  flex-shrink: 0;
49380
49388
  align-self: stretch;
49381
- `, Y_e = O.div`
49389
+ `, J_e = E.div`
49382
49390
  display: flex;
49383
49391
  align-items: center;
49384
49392
  justify-content: center;
49385
49393
  flex-shrink: 0;
49386
- `, J_e = O.div`
49394
+ `, Q_e = E.div`
49387
49395
  display: grid;
49388
49396
  grid-template-columns: ${(e) => e.$columns === 3 ? "repeat(3, 1fr)" : e.$columns === 2 ? "repeat(2, 1fr)" : e.$vertical ? "1fr" : "minmax(max-content, 35%) minmax(min-content, 1fr)"};
49389
49397
  gap: ${(e) => e.$columns === 3 ? "var(--space-2) var(--space-3)" : e.$columns === 2 ? "0.5rem 1rem" : e.$vertical ? "0.5rem" : "0.5rem 0.75rem"};
49390
- `, Q_e = O.div`
49398
+ `, eMe = E.div`
49391
49399
  font-size: 0.75rem;
49392
49400
  line-height: 1.3;
49393
49401
  min-width: 0;
@@ -49398,19 +49406,19 @@ const Gbe = ({
49398
49406
  ` : $N`
49399
49407
  display: contents;
49400
49408
  `}
49401
- `, eMe = O.div`
49409
+ `, tMe = E.div`
49402
49410
  text-align: left;
49403
49411
  color: inherit;
49404
49412
  font-weight: 600;
49405
49413
  min-width: 0;
49406
49414
  overflow-wrap: break-word;
49407
- `, tMe = O.div`
49415
+ `, aMe = E.div`
49408
49416
  font-weight: 400;
49409
49417
  white-space: pre-wrap;
49410
49418
  overflow-wrap: break-word;
49411
49419
  min-width: 0;
49412
49420
  ${(e) => e.$spanFull && "grid-column: 1 / -1;"}
49413
- `, aMe = O.button`
49421
+ `, nMe = E.button`
49414
49422
  flex-shrink: 0;
49415
49423
  background: none;
49416
49424
  border: none;
@@ -49427,54 +49435,54 @@ const Gbe = ({
49427
49435
  &:hover {
49428
49436
  opacity: 1;
49429
49437
  }
49430
- `, nMe = "_patientCard_r0eh1_1", oMe = "_notAllowedCursor_r0eh1_18", iMe = "_innerPadding_r0eh1_28", rMe = "_noFooterMargin_r0eh1_35", cMe = "_topArea_r0eh1_39", sMe = "_small_r0eh1_49", dMe = "_header_r0eh1_62", lMe = "_headerLeft_r0eh1_69", hMe = "_headerRight_r0eh1_75", pMe = "_uf_r0eh1_80", uMe = "_rmBadge_r0eh1_88", yMe = "_roomBed_r0eh1_103", kMe = "_content_r0eh1_110", mMe = "_body_r0eh1_122", fMe = "_upperBodyContent_r0eh1_140", gMe = "_patientInfo_r0eh1_150", vMe = "_iep_r0eh1_155", _Me = "_name_r0eh1_160", MMe = "_birthName_r0eh1_167", xMe = "_firstNames_r0eh1_172", bMe = "_dobAge_r0eh1_177", wMe = "_duration_r0eh1_182", LMe = "_comment_r0eh1_188", CMe = "_timeline_r0eh1_195", NMe = "_destination_r0eh1_199", IMe = "_todayReservation_r0eh1_209", SMe = "_arrow_r0eh1_230", $Me = "_progressBar_r0eh1_235", qMe = "_progressFill_r0eh1_245", AMe = "_progressDate_r0eh1_255", zMe = "_footer_r0eh1_266", VMe = "_iconWrap_r0eh1_275", PMe = "_centerLabelHuge_r0eh1_294", TMe = "_labelYellow_r0eh1_301", HMe = "_expectedBottom_r0eh1_320", DMe = "_expectedPrefix_r0eh1_328", BMe = "_expectedDate_r0eh1_334", jMe = "_notesView_r0eh1_355", RMe = "_notesHeader_r0eh1_363", FMe = "_notesTitle_r0eh1_369", EMe = "_notesList_r0eh1_376", OMe = "_noteItem_r0eh1_382", UMe = "_reservationView_r0eh1_387", WMe = "_reservationNote_r0eh1_399", GMe = "_bottomArea_r0eh1_404", KMe = "_bottomLeftSymbol_r0eh1_412", X = {
49431
- patientCard: nMe,
49432
- notAllowedCursor: oMe,
49433
- innerPadding: iMe,
49434
- noFooterMargin: rMe,
49435
- topArea: cMe,
49436
- small: sMe,
49437
- header: dMe,
49438
- headerLeft: lMe,
49439
- headerRight: hMe,
49440
- uf: pMe,
49441
- rmBadge: uMe,
49442
- roomBed: yMe,
49443
- content: kMe,
49444
- body: mMe,
49445
- upperBodyContent: fMe,
49446
- patientInfo: gMe,
49447
- iep: vMe,
49448
- name: _Me,
49449
- birthName: MMe,
49450
- firstNames: xMe,
49451
- dobAge: bMe,
49452
- duration: wMe,
49453
- comment: LMe,
49454
- timeline: CMe,
49455
- destination: NMe,
49456
- todayReservation: IMe,
49457
- arrow: SMe,
49458
- progressBar: $Me,
49459
- progressFill: qMe,
49460
- progressDate: AMe,
49461
- footer: zMe,
49462
- iconWrap: VMe,
49463
- centerLabelHuge: PMe,
49464
- labelYellow: TMe,
49465
- expectedBottom: HMe,
49466
- expectedPrefix: DMe,
49467
- expectedDate: BMe,
49468
- notesView: jMe,
49469
- notesHeader: RMe,
49470
- notesTitle: FMe,
49471
- notesList: EMe,
49472
- noteItem: OMe,
49473
- reservationView: UMe,
49474
- reservationNote: WMe,
49475
- bottomArea: GMe,
49476
- bottomLeftSymbol: KMe
49477
- }, Qbe = ({
49438
+ `, oMe = "_patientCard_r0eh1_1", iMe = "_notAllowedCursor_r0eh1_18", rMe = "_innerPadding_r0eh1_28", cMe = "_noFooterMargin_r0eh1_35", sMe = "_topArea_r0eh1_39", dMe = "_small_r0eh1_49", lMe = "_header_r0eh1_62", hMe = "_headerLeft_r0eh1_69", pMe = "_headerRight_r0eh1_75", uMe = "_uf_r0eh1_80", yMe = "_rmBadge_r0eh1_88", kMe = "_roomBed_r0eh1_103", mMe = "_content_r0eh1_110", fMe = "_body_r0eh1_122", gMe = "_upperBodyContent_r0eh1_140", vMe = "_patientInfo_r0eh1_150", _Me = "_iep_r0eh1_155", MMe = "_name_r0eh1_160", xMe = "_birthName_r0eh1_167", bMe = "_firstNames_r0eh1_172", wMe = "_dobAge_r0eh1_177", LMe = "_duration_r0eh1_182", CMe = "_comment_r0eh1_188", NMe = "_timeline_r0eh1_195", IMe = "_destination_r0eh1_199", SMe = "_todayReservation_r0eh1_209", $Me = "_arrow_r0eh1_230", qMe = "_progressBar_r0eh1_235", AMe = "_progressFill_r0eh1_245", zMe = "_progressDate_r0eh1_255", VMe = "_footer_r0eh1_266", PMe = "_iconWrap_r0eh1_275", TMe = "_centerLabelHuge_r0eh1_294", HMe = "_labelYellow_r0eh1_301", DMe = "_expectedBottom_r0eh1_320", BMe = "_expectedPrefix_r0eh1_328", jMe = "_expectedDate_r0eh1_334", RMe = "_notesView_r0eh1_355", FMe = "_notesHeader_r0eh1_363", EMe = "_notesTitle_r0eh1_369", OMe = "_notesList_r0eh1_376", UMe = "_noteItem_r0eh1_382", WMe = "_reservationView_r0eh1_387", GMe = "_reservationNote_r0eh1_399", KMe = "_bottomArea_r0eh1_404", ZMe = "_bottomLeftSymbol_r0eh1_412", X = {
49439
+ patientCard: oMe,
49440
+ notAllowedCursor: iMe,
49441
+ innerPadding: rMe,
49442
+ noFooterMargin: cMe,
49443
+ topArea: sMe,
49444
+ small: dMe,
49445
+ header: lMe,
49446
+ headerLeft: hMe,
49447
+ headerRight: pMe,
49448
+ uf: uMe,
49449
+ rmBadge: yMe,
49450
+ roomBed: kMe,
49451
+ content: mMe,
49452
+ body: fMe,
49453
+ upperBodyContent: gMe,
49454
+ patientInfo: vMe,
49455
+ iep: _Me,
49456
+ name: MMe,
49457
+ birthName: xMe,
49458
+ firstNames: bMe,
49459
+ dobAge: wMe,
49460
+ duration: LMe,
49461
+ comment: CMe,
49462
+ timeline: NMe,
49463
+ destination: IMe,
49464
+ todayReservation: SMe,
49465
+ arrow: $Me,
49466
+ progressBar: qMe,
49467
+ progressFill: AMe,
49468
+ progressDate: zMe,
49469
+ footer: VMe,
49470
+ iconWrap: PMe,
49471
+ centerLabelHuge: TMe,
49472
+ labelYellow: HMe,
49473
+ expectedBottom: DMe,
49474
+ expectedPrefix: BMe,
49475
+ expectedDate: jMe,
49476
+ notesView: RMe,
49477
+ notesHeader: FMe,
49478
+ notesTitle: EMe,
49479
+ notesList: OMe,
49480
+ noteItem: UMe,
49481
+ reservationView: WMe,
49482
+ reservationNote: GMe,
49483
+ bottomArea: KMe,
49484
+ bottomLeftSymbol: ZMe
49485
+ }, ewe = ({
49478
49486
  size: e = "large",
49479
49487
  className: t = "",
49480
49488
  customStyle: n,
@@ -49641,37 +49649,37 @@ const Gbe = ({
49641
49649
  C.map((K, he) => /* @__PURE__ */ r("div", { className: X.iconWrap, children: K }, `right-${he}`))
49642
49650
  ] })
49643
49651
  ] }) });
49644
- }, ZMe = "_panel_1viix_1", XMe = "_header_1viix_13", YMe = "_headerLeft_1viix_23", JMe = "_title_1viix_30", QMe = "_closeButton_1viix_40", exe = "_paginationLoader_1viix_63", txe = "_messageList_1viix_71", axe = "_listLoading_1viix_86", nxe = "_empty_1viix_94", oxe = "_daySeparator_1viix_105", ixe = "_messageRow_1viix_118", rxe = "_fadeIn_1viix_1", cxe = "_incoming_1viix_138", sxe = "_outgoing_1viix_146", dxe = "_avatar_1viix_154", lxe = "_messageMeta_1viix_170", hxe = "_senderName_1viix_180", pxe = "_bubble_1viix_185", uxe = "_unread_1viix_209", yxe = "_scrollToBottomButton_1viix_243", kxe = "_scrollBtnVisible_1viix_263", mxe = "_scrollBtnIn_1viix_1", fxe = "_scrollBtnHiding_1viix_267", gxe = "_scrollBtnOut_1viix_1", vxe = "_composer_1viix_272", _xe = "_messageInput_1viix_281", Mxe = "_sendButton_1viix_315", xxe = "_messageListWrapper_1viix_340", xe = {
49645
- panel: ZMe,
49646
- header: XMe,
49647
- headerLeft: YMe,
49648
- title: JMe,
49649
- closeButton: QMe,
49650
- paginationLoader: exe,
49651
- messageList: txe,
49652
- listLoading: axe,
49653
- empty: nxe,
49654
- daySeparator: oxe,
49655
- messageRow: ixe,
49656
- fadeIn: rxe,
49657
- incoming: cxe,
49658
- outgoing: sxe,
49659
- avatar: dxe,
49660
- messageMeta: lxe,
49661
- senderName: hxe,
49662
- bubble: pxe,
49663
- unread: uxe,
49664
- scrollToBottomButton: yxe,
49665
- scrollBtnVisible: kxe,
49666
- scrollBtnIn: mxe,
49667
- scrollBtnHiding: fxe,
49668
- scrollBtnOut: gxe,
49669
- composer: vxe,
49670
- messageInput: _xe,
49671
- sendButton: Mxe,
49672
- messageListWrapper: xxe
49652
+ }, XMe = "_panel_1viix_1", YMe = "_header_1viix_13", JMe = "_headerLeft_1viix_23", QMe = "_title_1viix_30", exe = "_closeButton_1viix_40", txe = "_paginationLoader_1viix_63", axe = "_messageList_1viix_71", nxe = "_listLoading_1viix_86", oxe = "_empty_1viix_94", ixe = "_daySeparator_1viix_105", rxe = "_messageRow_1viix_118", cxe = "_fadeIn_1viix_1", sxe = "_incoming_1viix_138", dxe = "_outgoing_1viix_146", lxe = "_avatar_1viix_154", hxe = "_messageMeta_1viix_170", pxe = "_senderName_1viix_180", uxe = "_bubble_1viix_185", yxe = "_unread_1viix_209", kxe = "_scrollToBottomButton_1viix_243", mxe = "_scrollBtnVisible_1viix_263", fxe = "_scrollBtnIn_1viix_1", gxe = "_scrollBtnHiding_1viix_267", vxe = "_scrollBtnOut_1viix_1", _xe = "_composer_1viix_272", Mxe = "_messageInput_1viix_281", xxe = "_sendButton_1viix_315", bxe = "_messageListWrapper_1viix_340", xe = {
49653
+ panel: XMe,
49654
+ header: YMe,
49655
+ headerLeft: JMe,
49656
+ title: QMe,
49657
+ closeButton: exe,
49658
+ paginationLoader: txe,
49659
+ messageList: axe,
49660
+ listLoading: nxe,
49661
+ empty: oxe,
49662
+ daySeparator: ixe,
49663
+ messageRow: rxe,
49664
+ fadeIn: cxe,
49665
+ incoming: sxe,
49666
+ outgoing: dxe,
49667
+ avatar: lxe,
49668
+ messageMeta: hxe,
49669
+ senderName: pxe,
49670
+ bubble: uxe,
49671
+ unread: yxe,
49672
+ scrollToBottomButton: kxe,
49673
+ scrollBtnVisible: mxe,
49674
+ scrollBtnIn: fxe,
49675
+ scrollBtnHiding: gxe,
49676
+ scrollBtnOut: vxe,
49677
+ composer: _xe,
49678
+ messageInput: Mxe,
49679
+ sendButton: xxe,
49680
+ messageListWrapper: bxe
49673
49681
  };
49674
- function bxe(e, t = "fr") {
49682
+ function wxe(e, t = "fr") {
49675
49683
  return [...e].sort((n, o) => new Date(n.sentAt).getTime() - new Date(o.sentAt).getTime()).reduce((n, o) => {
49676
49684
  const i = new Date(o.sentAt), c = i.toLocaleDateString(t, {
49677
49685
  year: "numeric",
@@ -49684,7 +49692,7 @@ function bxe(e, t = "fr") {
49684
49692
  ] : [...n, { dayKey: c, date: i, messages: [o] }];
49685
49693
  }, []);
49686
49694
  }
49687
- function wxe(e, t = "fr") {
49695
+ function Lxe(e, t = "fr") {
49688
49696
  return new Intl.DateTimeFormat(t, {
49689
49697
  weekday: "short",
49690
49698
  day: "2-digit",
@@ -49692,18 +49700,18 @@ function wxe(e, t = "fr") {
49692
49700
  year: "numeric"
49693
49701
  }).format(e);
49694
49702
  }
49695
- function Lxe(e, t = "fr") {
49703
+ function Cxe(e, t = "fr") {
49696
49704
  return new Intl.DateTimeFormat(t, {
49697
49705
  hour: "2-digit",
49698
49706
  minute: "2-digit",
49699
49707
  hour12: !1
49700
49708
  }).format(new Date(e));
49701
49709
  }
49702
- function Cxe(e, t) {
49710
+ function Nxe(e, t) {
49703
49711
  return e.sender.id === t ? "outgoing" : e.isRead === !1 ? "unread" : "incoming";
49704
49712
  }
49705
- const Nxe = 300, Ixe = 220, Sxe = 60;
49706
- function $xe({
49713
+ const Ixe = 300, Sxe = 220, $xe = 60;
49714
+ function qxe({
49707
49715
  messages: e,
49708
49716
  currentSenderId: t,
49709
49717
  onSend: n,
@@ -49712,18 +49720,18 @@ function $xe({
49712
49720
  locale: c = "fr"
49713
49721
  }) {
49714
49722
  const s = G(null), d = G(null), l = G(null), [h, p] = B(""), [u, y] = B(!1), m = h.trim().length > 0 && !u;
49715
- E(() => {
49723
+ O(() => {
49716
49724
  const V = l.current;
49717
49725
  V && ((typeof CSS > "u" || !CSS.supports || !CSS.supports("field-sizing", "content")) && (V.style.height = "auto", V.style.height = `${Math.min(Math.max(V.scrollHeight, 60), 140)}px`), V.scrollTop = V.scrollHeight);
49718
49726
  }, [h]);
49719
49727
  const [g, k] = B(!1), _ = G(!1), [M, v] = B("hidden"), b = G("hidden"), L = G(null), N = G(!1), I = de((V) => {
49720
49728
  b.current = V, v(V);
49721
49729
  }, []), x = de(() => {
49722
- L.current && clearTimeout(L.current), I("hiding"), L.current = setTimeout(() => I("hidden"), Ixe);
49730
+ L.current && clearTimeout(L.current), I("hiding"), L.current = setTimeout(() => I("hidden"), Sxe);
49723
49731
  }, [I]);
49724
- E(() => {
49732
+ O(() => {
49725
49733
  d.current?.scrollIntoView({ behavior: "instant" });
49726
- }, []), E(() => {
49734
+ }, []), O(() => {
49727
49735
  !N.current && !_.current && d.current?.scrollIntoView({ behavior: "smooth" });
49728
49736
  }, [e.length]);
49729
49737
  const w = de(async () => {
@@ -49764,19 +49772,19 @@ function $xe({
49764
49772
  }, [i]), z = de(() => {
49765
49773
  const V = s.current;
49766
49774
  if (!V) return;
49767
- const H = V.scrollHeight - V.scrollTop - V.clientHeight > Nxe;
49775
+ const H = V.scrollHeight - V.scrollTop - V.clientHeight > Ixe;
49768
49776
  N.current = H;
49769
49777
  const W = b.current;
49770
- H ? (W === "hidden" || W === "hiding") && (L.current && clearTimeout(L.current), I("visible")) : W === "visible" && x(), V.scrollTop < Sxe && o && !_.current && q().catch(() => {
49778
+ H ? (W === "hidden" || W === "hiding") && (L.current && clearTimeout(L.current), I("visible")) : W === "visible" && x(), V.scrollTop < $xe && o && !_.current && q().catch(() => {
49771
49779
  });
49772
- }, [o, q, I, x]), D = bxe(e, c), T = de(
49773
- (V, F) => Cxe(V, F ?? t),
49780
+ }, [o, q, I, x]), D = wxe(e, c), T = de(
49781
+ (V, F) => Nxe(V, F ?? t),
49774
49782
  [t]
49775
49783
  ), P = de(
49776
- (V, F) => wxe(V, F ?? c),
49784
+ (V, F) => Lxe(V, F ?? c),
49777
49785
  [c]
49778
49786
  ), A = de(
49779
- (V, F) => Lxe(V, F ?? c),
49787
+ (V, F) => Cxe(V, F ?? c),
49780
49788
  [c]
49781
49789
  );
49782
49790
  return {
@@ -49816,7 +49824,7 @@ const hq = () => /* @__PURE__ */ f(
49816
49824
  /* @__PURE__ */ r("path", { d: "M12 2v4M12 18v4M4.93 4.93l2.83 2.83M16.24 16.24l2.83 2.83M2 12h4M18 12h4M4.93 19.07l2.83-2.83M16.24 7.76l2.83-2.83" })
49817
49825
  ]
49818
49826
  }
49819
- ), ewe = ({
49827
+ ), twe = ({
49820
49828
  messages: e,
49821
49829
  currentSenderId: t,
49822
49830
  onSend: n,
@@ -49854,7 +49862,7 @@ const hq = () => /* @__PURE__ */ f(
49854
49862
  getBubbleVariant: P,
49855
49863
  formatDayLabel: A,
49856
49864
  formatHour: V
49857
- } = $xe({ messages: e, currentSenderId: t, onSend: n, hasMore: i, onLoadMore: c, locale: m });
49865
+ } = qxe({ messages: e, currentSenderId: t, onSend: n, hasMore: i, onLoadMore: c, locale: m });
49858
49866
  return /* @__PURE__ */ f("div", { className: `${xe.panel} ${k}`, children: [
49859
49867
  /* @__PURE__ */ f("div", { className: xe.header, children: [
49860
49868
  /* @__PURE__ */ f("div", { className: xe.headerLeft, children: [
@@ -49956,7 +49964,7 @@ const hq = () => /* @__PURE__ */ f(
49956
49964
  /* @__PURE__ */ r("button", { type: "submit", className: xe.sendButton, disabled: !x, children: u })
49957
49965
  ] })
49958
49966
  ] });
49959
- }, twe = ({
49967
+ }, awe = ({
49960
49968
  title: e,
49961
49969
  titleBold: t,
49962
49970
  titleKey: n,
@@ -50005,7 +50013,7 @@ const hq = () => /* @__PURE__ */ f(
50005
50013
  g.id
50006
50014
  )) })
50007
50015
  ] });
50008
- }, awe = ({
50016
+ }, nwe = ({
50009
50017
  id: e,
50010
50018
  data: t,
50011
50019
  children: n,
@@ -50026,7 +50034,7 @@ const hq = () => /* @__PURE__ */ f(
50026
50034
  className: o,
50027
50035
  children: n
50028
50036
  }
50029
- ), nwe = ({
50037
+ ), owe = ({
50030
50038
  id: e,
50031
50039
  onDrop: t,
50032
50040
  children: n,
@@ -50063,7 +50071,7 @@ const hq = () => /* @__PURE__ */ f(
50063
50071
  children: n
50064
50072
  }
50065
50073
  );
50066
- }, owe = (e) => /* @__PURE__ */ r(qxe, { ...e }), qxe = O.textarea`
50074
+ }, iwe = (e) => /* @__PURE__ */ r(Axe, { ...e }), Axe = E.textarea`
50067
50075
  padding: 0.5rem 0.875rem;
50068
50076
  border: 0.0625rem solid var(--color-border, #dee2e6);
50069
50077
  border-radius: var(--radius-content, 0.5rem);
@@ -50078,147 +50086,147 @@ const hq = () => /* @__PURE__ */ f(
50078
50086
  }
50079
50087
  `;
50080
50088
  export {
50081
- Rbe as ActionCard,
50089
+ Fbe as ActionCard,
50082
50090
  fi as AddItemModal,
50083
50091
  yz as Alert,
50084
- nbe as AlertsProvider,
50085
- Kbe as AvailabilitySummaryPanel,
50092
+ obe as AlertsProvider,
50093
+ Zbe as AvailabilitySummaryPanel,
50086
50094
  OV as BadgeList,
50087
50095
  e3e as BadgeRenderer,
50088
50096
  eC as Button,
50089
- abe as ChartContainer,
50097
+ nbe as ChartContainer,
50090
50098
  Lye as CheckboxInput,
50091
50099
  qN as CircularProgress,
50092
50100
  a4e as ColorInput,
50093
50101
  HN as ComponentVisibilityManager,
50094
- wbe as ComponentVisibilityToggle,
50095
- jbe as ConfirmationModal,
50096
- vbe as ConfirmationPopup,
50097
- kbe as CounterListBox,
50102
+ Lbe as ComponentVisibilityToggle,
50103
+ Rbe as ConfirmationModal,
50104
+ _be as ConfirmationPopup,
50105
+ mbe as CounterListBox,
50098
50106
  n3e as CurrencyRenderer,
50099
50107
  g_e as DEFAULT_BED_LEVEL_COLORS,
50100
- xbe as DashboardSummary,
50108
+ bbe as DashboardSummary,
50101
50109
  Ut as DataBoard,
50102
50110
  c8e as DataFourBoards,
50103
- twe as DataListV2,
50111
+ awe as DataListV2,
50104
50112
  Zye as DateInput,
50105
50113
  J$ as DatePicker,
50106
50114
  t3e as DateRenderer,
50107
- Bxe as DayStatCard,
50108
- Lbe as DayStatCardV2,
50109
- Obe as DonutChartRatio,
50110
- awe as Draggable,
50111
- Fxe as DraggableProvider,
50115
+ jxe as DayStatCard,
50116
+ Cbe as DayStatCardV2,
50117
+ Ube as DonutChartRatio,
50118
+ nwe as Draggable,
50119
+ Exe as DraggableProvider,
50112
50120
  tC as DraggableSwitcherButton,
50113
- nwe as Droppable,
50114
- Yxe as DynamicForm,
50121
+ owe as Droppable,
50122
+ Jxe as DynamicForm,
50115
50123
  j$ as DynamicIcon,
50116
50124
  n4e as DynamicInput,
50117
50125
  Jke as EmailRenderer,
50118
- bbe as Encours,
50119
- ube as EntryControl,
50126
+ wbe as Encours,
50127
+ ybe as EntryControl,
50120
50128
  Fye as FileInput,
50121
- Abe as FilterBar,
50122
- Fbe as FiltreEtiquette,
50123
- fbe as FlexRowContainer,
50129
+ zbe as FilterBar,
50130
+ Ebe as FiltreEtiquette,
50131
+ gbe as FlexRowContainer,
50124
50132
  a0e as Grid,
50125
- Uxe as Header,
50126
- qbe as HierarchicalTableLayout,
50127
- Cbe as HorizontalBarChart,
50133
+ Wxe as Header,
50134
+ Abe as HierarchicalTableLayout,
50135
+ Nbe as HorizontalBarChart,
50128
50136
  p0e as IconText,
50129
50137
  o3e as ImageRenderer,
50130
- zbe as IndicatorItemV2,
50131
- Vbe as InfoBanner,
50138
+ Vbe as IndicatorItemV2,
50139
+ Pbe as InfoBanner,
50132
50140
  pN as InputWrapper,
50133
- Exe as LegendFilterProvider,
50141
+ Oxe as LegendFilterProvider,
50134
50142
  aC as LegendFilterSwitcherButton,
50135
- cwe as LineChart,
50143
+ swe as LineChart,
50136
50144
  Qke as LinkRenderer,
50137
- gbe as ListContentContainer,
50145
+ vbe as ListContentContainer,
50138
50146
  $C as Logo,
50139
- ewe as MessageThread,
50140
- ewe as MessageThreadComponent,
50147
+ twe as MessageThread,
50148
+ twe as MessageThreadComponent,
50141
50149
  yme as MetricsPanel,
50142
- Wbe as MobileMenuHeader,
50150
+ Gbe as MobileMenuHeader,
50143
50151
  J8e as MobileNavMenu,
50144
- Ube as MobileTopBar,
50145
- lbe as ModuleHeader,
50146
- hbe as ModuleSideBar,
50147
- Hbe as ModuleSideBarV2,
50148
- Wxe as MovementCard,
50152
+ Wbe as MobileTopBar,
50153
+ hbe as ModuleHeader,
50154
+ pbe as ModuleSideBar,
50155
+ Dbe as ModuleSideBarV2,
50156
+ Gxe as MovementCard,
50149
50157
  n0e as NavBar,
50150
- Nbe as NavBarV2,
50158
+ Ibe as NavBarV2,
50151
50159
  AN as NavItem,
50152
50160
  fz as NavItemV2,
50153
- jxe as NavProvider,
50161
+ Rxe as NavProvider,
50154
50162
  a3e as NumberRenderer,
50155
- tbe as PaginationBar,
50156
- Qbe as PatientCard,
50157
- Ybe as PatientDetailsPanel,
50158
- Jbe as PatientInfoCard,
50159
- swe as PeriodRange,
50160
- rbe as PeriodSelect,
50161
- Pbe as PopUp,
50163
+ abe as PaginationBar,
50164
+ ewe as PatientCard,
50165
+ Jbe as PatientDetailsPanel,
50166
+ Qbe as PatientInfoCard,
50167
+ dwe as PeriodRange,
50168
+ cbe as PeriodSelect,
50169
+ Tbe as PopUp,
50162
50170
  Cye as RadioInput,
50163
50171
  Jye as RangeInput,
50164
50172
  x0e as ScrollableHorizontale,
50165
50173
  Ame as SearchBar,
50166
- Dbe as SearchableModuleSideBar,
50174
+ Bbe as SearchableModuleSideBar,
50167
50175
  M7e as Select,
50168
- Mbe as SelectFilter,
50176
+ xbe as SelectFilter,
50169
50177
  nz as SelectInput,
50170
- Tbe as SettingNavBar,
50171
- Oxe as ShowDataProvider,
50178
+ Hbe as SettingNavBar,
50179
+ Uxe as ShowDataProvider,
50172
50180
  nC as ShowDataSwitcherButton,
50173
- cbe as SideComponent,
50174
- dwe as SimpleBarChart,
50175
- ybe as SimpleListBox,
50176
- Zbe as Slider,
50177
- Gxe as StatusTile,
50178
- Sbe as SubHeaderContent,
50181
+ sbe as SideComponent,
50182
+ lwe as SimpleBarChart,
50183
+ kbe as SimpleListBox,
50184
+ Xbe as Slider,
50185
+ Kxe as StatusTile,
50186
+ $be as SubHeaderContent,
50179
50187
  R8e as SubHeaderNavItem,
50180
- Ibe as SubHeaderTitle,
50181
- Kxe as SubNavBar,
50182
- Ebe as SummaryAvailable,
50188
+ Sbe as SubHeaderTitle,
50189
+ Zxe as SubNavBar,
50190
+ Obe as SummaryAvailable,
50183
50191
  dme as SummaryCard,
50184
50192
  zb as Switcher,
50185
50193
  lge as TableLayout,
50186
50194
  y3e as TableauDynamique,
50187
- ebe as TableauDynamiqueSafePagination,
50195
+ tbe as TableauDynamiqueSafePagination,
50188
50196
  lge as TableauxComponent,
50189
50197
  oye as TextInput,
50190
50198
  Yke as TextRenderer,
50191
- owe as Textarea,
50199
+ iwe as Textarea,
50192
50200
  uye as TextareaInput,
50193
- Rxe as ThemeProvider,
50194
- $be as ThemeSwitcher,
50201
+ Fxe as ThemeProvider,
50202
+ qbe as ThemeSwitcher,
50195
50203
  zN as ThemeSwitcherButton,
50196
- Xbe as TimePicker,
50197
- dbe as Title,
50198
- pbe as TranslationKey,
50199
- Bbe as TranslationKeyV2,
50204
+ Ybe as TimePicker,
50205
+ lbe as Title,
50206
+ ube as TranslationKey,
50207
+ jbe as TranslationKeyV2,
50200
50208
  I0e as TrendItem,
50201
- Xxe as TrendList,
50202
- mbe as TrendListBox,
50203
- Gbe as UnitGrid,
50209
+ Yxe as TrendList,
50210
+ fbe as TrendListBox,
50211
+ Kbe as UnitGrid,
50204
50212
  m8e as UserInfo,
50205
- ibe as alertModels,
50206
- wxe as formatDayLabel,
50207
- Lxe as formatHour,
50213
+ rbe as alertModels,
50214
+ Lxe as formatDayLabel,
50215
+ Cxe as formatHour,
50208
50216
  te as getA11yTooltip,
50209
- Cxe as getBubbleVariant,
50210
- Jxe as getFormSchema,
50211
- bxe as groupByDay,
50217
+ Nxe as getBubbleVariant,
50218
+ Qxe as getFormSchema,
50219
+ wxe as groupByDay,
50212
50220
  j1 as hexToRgba,
50213
- Qxe as registerRenderer,
50221
+ ebe as registerRenderer,
50214
50222
  F$ as tableConfig,
50215
- obe as useAlerts,
50216
- sbe as useBodyScrollLock,
50217
- _be as useConfirmationPopup,
50223
+ ibe as useAlerts,
50224
+ dbe as useBodyScrollLock,
50225
+ Mbe as useConfirmationPopup,
50218
50226
  r0e as useDraggableSwitcher,
50219
50227
  Kke as useFilters,
50220
50228
  s0e as useLegendFilterSwitcher,
50221
- $xe as useMessageThread,
50229
+ qxe as useMessageThread,
50222
50230
  Vt as useNavigation,
50223
50231
  d0e as useShowDataSwitcher,
50224
50232
  Xke as useTableData,