@design-system-rte/react 1.9.1-rc3 → 1.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,14 +1,14 @@
1
1
  import { jsx as r, jsxs as m, Fragment as i1 } from "react/jsx-runtime";
2
- import T7, { useState as R, useEffect as Q, forwardRef as u1, useRef as X, createContext as k2, useContext as R5, useCallback as t1, Fragment as d6, useMemo as I1, useLayoutEffect as E7 } from "react";
2
+ import T7, { useState as R, useEffect as Q, forwardRef as u1, useRef as X, createContext as k2, useContext as R5, useCallback as t1, Fragment as d6, useMemo as k1, useLayoutEffect as E7 } from "react";
3
3
  import { createPortal as R7 } from "react-dom";
4
4
  const i5 = {
5
5
  small: 16,
6
6
  large: 32
7
- }, R1 = [];
7
+ }, E1 = [];
8
8
  for (let C = 0; C < 256; ++C)
9
- R1.push((C + 256).toString(16).slice(1));
9
+ E1.push((C + 256).toString(16).slice(1));
10
10
  function P7(C, e = 0) {
11
- return (R1[C[e + 0]] + R1[C[e + 1]] + R1[C[e + 2]] + R1[C[e + 3]] + "-" + R1[C[e + 4]] + R1[C[e + 5]] + "-" + R1[C[e + 6]] + R1[C[e + 7]] + "-" + R1[C[e + 8]] + R1[C[e + 9]] + "-" + R1[C[e + 10]] + R1[C[e + 11]] + R1[C[e + 12]] + R1[C[e + 13]] + R1[C[e + 14]] + R1[C[e + 15]]).toLowerCase();
11
+ return (E1[C[e + 0]] + E1[C[e + 1]] + E1[C[e + 2]] + E1[C[e + 3]] + "-" + E1[C[e + 4]] + E1[C[e + 5]] + "-" + E1[C[e + 6]] + E1[C[e + 7]] + "-" + E1[C[e + 8]] + E1[C[e + 9]] + "-" + E1[C[e + 10]] + E1[C[e + 11]] + E1[C[e + 12]] + E1[C[e + 13]] + E1[C[e + 14]] + E1[C[e + 15]]).toLowerCase();
12
12
  }
13
13
  let s5;
14
14
  const $7 = new Uint8Array(16);
@@ -52,7 +52,7 @@ const O3 = (C, e = 300) => {
52
52
  }, K7 = "_horizontal_1wa9l_1", U7 = "_vertical_1wa9l_29", r2 = {
53
53
  horizontal: K7,
54
54
  vertical: U7
55
- }, O1 = u1(
55
+ }, A1 = u1(
56
56
  ({ orientation: C = "horizontal", thickness: e = "light", appearance: t = "default", endPoint: n = "round", ...l }, o) => C === "horizontal" ? /* @__PURE__ */ r(
57
57
  "hr",
58
58
  {
@@ -2979,7 +2979,7 @@ const eo = "_accordion_1904k_1", E3 = {
2979
2979
  children: /* @__PURE__ */ r("div", { ref: V, children: e })
2980
2980
  }
2981
2981
  ) }),
2982
- /* @__PURE__ */ r(O1, { thickness: "light" })
2982
+ /* @__PURE__ */ r(A1, { thickness: "light" })
2983
2983
  ] }) });
2984
2984
  }
2985
2985
  ), to = "data:image/svg+xml,%3csvg%20width='28'%20height='28'%20viewBox='0%200%2028%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0%2014C0%206.26801%206.26801%200%2014%200C21.732%200%2028%206.26801%2028%2014C28%2021.732%2021.732%2028%2014%2028C6.26801%2028%200%2021.732%200%2014Z'%20fill='white'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M14%200C21.732%200%2028%206.26801%2028%2014C28%2021.732%2021.732%2028%2014%2028C6.26801%2028%200%2021.732%200%2014C0%206.26801%206.26801%200%2014%200ZM20.4629%208C20.1963%208.00003%2019.9627%208.09983%2019.7627%208.2998L11.2881%2016.7754L7.73828%2013.2002C7.53828%2013.0002%207.30039%2012.9004%207.02539%2012.9004C6.7505%2012.9004%206.51342%2013.0003%206.31348%2013.2002C6.11357%2013.4001%206.0094%2013.6373%206.00098%2013.9121C5.99264%2014.1871%206.08809%2014.425%206.28809%2014.625L10.5879%2018.9248C10.7879%2019.1248%2011.0214%2019.2246%2011.2881%2019.2246C11.5547%2019.2246%2011.7883%2019.1248%2011.9883%2018.9248L21.1631%209.72461C21.3629%209.52471%2021.4628%209.2875%2021.4629%209.0127C21.4629%208.7377%2021.3631%208.4998%2021.1631%208.2998C20.9631%208.09984%2020.7295%208%2020.4629%208Z'%20fill='%230B8A4D'/%3e%3c/svg%3e", no = "data:image/svg+xml,%3csvg%20width='28'%20height='28'%20viewBox='0%200%2028%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0%2014C0%206.26801%206.26801%200%2014%200C21.732%200%2028%206.26801%2028%2014C28%2021.732%2021.732%2028%2014%2028C6.26801%2028%200%2021.732%200%2014Z'%20fill='white'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M14%206C16.2167%206%2018.1038%206.77956%2019.6621%208.33789C21.2204%209.89622%2022%2011.7833%2022%2014C22%2016.2167%2021.2204%2018.1038%2019.6621%2019.6621C18.1038%2021.2204%2016.2167%2022%2014%2022C11.7833%2022%209.89622%2021.2204%208.33789%2019.6621C6.77956%2018.1038%206%2016.2167%206%2014C6%2011.7833%206.77956%209.89622%208.33789%208.33789C9.89622%206.77956%2011.7833%206%2014%206ZM14%209C13.7167%209%2013.4788%209.09544%2013.2871%209.28711C13.0954%209.47878%2013%209.71667%2013%2010V13.9746C13%2014.1079%2013.0252%2014.2373%2013.0752%2014.3623C13.1252%2014.4873%2013.1998%2014.6002%2013.2998%2014.7002L16.5996%2018C16.7829%2018.1833%2017.0166%2018.2753%2017.2998%2018.2754C17.5831%2018.2754%2017.8167%2018.1833%2018%2018C18.1833%2017.8167%2018.2754%2017.5831%2018.2754%2017.2998C18.2753%2017.0166%2018.1833%2016.7829%2018%2016.5996L15%2013.5996V10C15%209.71667%2014.9046%209.47878%2014.7129%209.28711C14.5212%209.09544%2014.2833%209%2014%209Z'%20fill='%23ED6E13'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M14%200C21.732%200%2028%206.26801%2028%2014C28%2021.732%2021.732%2028%2014%2028C6.26801%2028%200%2021.732%200%2014C0%206.26801%206.26801%200%2014%200ZM14%204C12.6167%204%2011.3163%204.26211%2010.0996%204.78711C8.88302%205.3121%207.82476%206.02485%206.9248%206.9248C6.02485%207.82476%205.3121%208.88302%204.78711%2010.0996C4.26211%2011.3163%204%2012.6167%204%2014C4%2015.3833%204.26211%2016.6837%204.78711%2017.9004C5.3121%2019.117%206.02485%2020.1752%206.9248%2021.0752C7.82476%2021.9751%208.88302%2022.6879%2010.0996%2023.2129C11.3163%2023.7379%2012.6167%2024%2014%2024C15.3833%2024%2016.6837%2023.7379%2017.9004%2023.2129C19.117%2022.6879%2020.1752%2021.9751%2021.0752%2021.0752C21.9751%2020.1752%2022.6879%2019.117%2023.2129%2017.9004C23.7379%2016.6837%2024%2015.3833%2024%2014C24%2012.6167%2023.7379%2011.3163%2023.2129%2010.0996C22.6879%208.88302%2021.9751%207.82476%2021.0752%206.9248C20.1752%206.02485%2019.117%205.3121%2017.9004%204.78711C16.6837%204.26211%2015.3833%204%2014%204Z'%20fill='%23ED6E13'/%3e%3c/svg%3e", ro = "data:image/svg+xml,%3csvg%20width='28'%20height='28'%20viewBox='0%200%2028%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0%2014C0%206.26801%206.26801%200%2014%200C21.732%200%2028%206.26801%2028%2014C28%2021.732%2021.732%2028%2014%2028C6.26801%2028%200%2021.732%200%2014Z'%20fill='white'/%3e%3cpath%20d='M14%200C21.732%200%2028%206.26801%2028%2014C28%2021.732%2021.732%2028%2014%2028C6.26801%2028%200%2021.732%200%2014C0%206.26801%206.26801%200%2014%200Z'%20fill='%23DE2048'/%3e%3c/svg%3e", oo = "data:image/svg+xml,%3csvg%20width='28'%20height='28'%20viewBox='0%200%2028%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0%2014C0%206.26801%206.26801%200%2014%200C21.732%200%2028%206.26801%2028%2014C28%2021.732%2021.732%2028%2014%2028C6.26801%2028%200%2021.732%200%2014Z'%20fill='white'/%3e%3cpath%20d='M17.5996%209.4248C17.8829%209.4248%2018.1165%209.51686%2018.2998%209.7002C18.4831%209.88353%2018.5752%2010.1171%2018.5752%2010.4004C18.5751%2010.6835%2018.483%2010.9164%2018.2998%2011.0996L15.4004%2014L18.2998%2016.9004C18.483%2017.0836%2018.5751%2017.3165%2018.5752%2017.5996C18.5752%2017.8829%2018.4831%2018.1165%2018.2998%2018.2998C18.1165%2018.4831%2017.8829%2018.5752%2017.5996%2018.5752C17.3165%2018.5751%2017.0836%2018.483%2016.9004%2018.2998L14%2015.4004L11.0996%2018.2998C10.9164%2018.483%2010.6835%2018.5751%2010.4004%2018.5752C10.1171%2018.5752%209.88353%2018.4831%209.7002%2018.2998C9.51686%2018.1165%209.4248%2017.8829%209.4248%2017.5996C9.42489%2017.3165%209.51701%2017.0836%209.7002%2016.9004L12.5996%2014L9.7002%2011.0996C9.51701%2010.9164%209.42489%2010.6835%209.4248%2010.4004C9.4248%2010.1171%209.51686%209.88353%209.7002%209.7002C9.88353%209.51686%2010.1171%209.4248%2010.4004%209.4248C10.6835%209.42489%2010.9164%209.51701%2011.0996%209.7002L14%2012.5996L16.9004%209.7002C17.0836%209.51701%2017.3165%209.42489%2017.5996%209.4248Z'%20fill='%23737272'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M14%200C21.732%200%2028%206.26801%2028%2014C28%2021.732%2021.732%2028%2014%2028C6.26801%2028%200%2021.732%200%2014C0%206.26801%206.26801%200%2014%200ZM14%204C12.6167%204%2011.3163%204.26211%2010.0996%204.78711C8.88302%205.3121%207.82476%206.02485%206.9248%206.9248C6.02485%207.82476%205.3121%208.88302%204.78711%2010.0996C4.26211%2011.3163%204%2012.6167%204%2014C4%2015.3833%204.26211%2016.6837%204.78711%2017.9004C5.3121%2019.117%206.02485%2020.1752%206.9248%2021.0752C7.82476%2021.9751%208.88302%2022.6879%2010.0996%2023.2129C11.3163%2023.7379%2012.6167%2024%2014%2024C15.3833%2024%2016.6837%2023.7379%2017.9004%2023.2129C19.117%2022.6879%2020.1752%2021.9751%2021.0752%2021.0752C21.9751%2020.1752%2022.6879%2019.117%2023.2129%2017.9004C23.7379%2016.6837%2024%2015.3833%2024%2014C24%2012.6167%2023.7379%2011.3163%2023.2129%2010.0996C22.6879%208.88302%2021.9751%207.82476%2021.0752%206.9248C20.1752%206.02485%2019.117%205.3121%2017.9004%204.78711C16.6837%204.26211%2015.3833%204%2014%204Z'%20fill='%23737272'/%3e%3c/svg%3e", lo = "data:image/svg+xml,%3csvg%20width='28'%20height='28'%20viewBox='0%200%2028%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0%2014C0%206.26801%206.26801%200%2014%200C21.732%200%2028%206.26801%2028%2014C28%2021.732%2021.732%2028%2014%2028C6.26801%2028%200%2021.732%200%2014Z'%20fill='white'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M14%200C21.732%200%2028%206.26801%2028%2014C28%2021.732%2021.732%2028%2014%2028C6.26801%2028%200%2021.732%200%2014C0%206.26801%206.26801%200%2014%200ZM13.9922%2019C13.4422%2019%2012.9708%2019.1962%2012.5791%2019.5879C12.1877%2019.9795%2011.9922%2020.4502%2011.9922%2021C11.9922%2021.5498%2012.1877%2022.0205%2012.5791%2022.4121C12.9708%2022.8038%2013.4422%2023%2013.9922%2023C14.5421%2023%2015.0127%2022.8037%2015.4043%2022.4121C15.7959%2022.0205%2015.9922%2021.55%2015.9922%2021C15.9922%2020.45%2015.7959%2019.9795%2015.4043%2019.5879C15.0127%2019.1963%2014.5421%2019%2013.9922%2019ZM13.9922%204C13.0089%204%2012.1043%204.22044%2011.2793%204.66211C10.4543%205.10378%209.77552%205.72539%209.24219%206.52539C9.05897%206.80862%208.97993%207.10827%209.00488%207.4248C9.02987%207.74129%209.15853%208.00801%209.3916%208.22461C9.72483%208.52451%2010.121%208.64609%2010.5791%208.58789C11.0374%208.52956%2011.4003%208.30814%2011.667%207.9248C11.9503%207.52487%2012.2881%207.22101%2012.6797%207.0127C13.0713%206.80439%2013.5089%206.7002%2013.9922%206.7002C14.7754%206.70023%2015.4049%206.91631%2015.8799%207.34961C16.3549%207.78294%2016.5918%208.35854%2016.5918%209.0752C16.5918%209.55831%2016.4545%2010.0039%2016.1797%2010.4121C15.9047%2010.8204%2015.3422%2011.4004%2014.4922%2012.1504C13.8257%2012.7502%2013.3507%2013.3208%2013.0674%2013.8623C12.784%2014.404%2012.6416%2015.0004%2012.6416%2015.6504C12.6417%2016.0336%2012.7798%2016.3541%2013.0547%2016.6123C13.3297%2016.8706%2013.6587%2017%2014.042%2017C14.4253%2017%2014.7543%2016.8663%2015.0293%2016.5996C15.3042%2016.333%2015.4753%2015.9996%2015.542%2015.5996C15.6087%2015.1831%2015.7502%2014.8122%2015.9668%2014.4873C16.1835%2014.1623%2016.6002%2013.7083%2017.2168%2013.125C18.0668%2012.3084%2018.6501%2011.6%2018.9668%2011C19.2835%2010.4%2019.4424%209.72461%2019.4424%208.97461C19.4423%207.49151%2018.9379%206.29157%2017.9297%205.375C16.9214%204.45837%2015.6088%204.00004%2013.9922%204Z'%20fill='%23737272'/%3e%3c/svg%3e", io = {
@@ -3186,12 +3186,12 @@ function B6(C) {
3186
3186
  const { showBadge: e, badgeContent: t, badgeCount: n, badgeIcon: l } = C;
3187
3187
  return e && (t === "empty" || typeof n == "number" && n > 0 && t === "number" || t === "icon" && l !== void 0);
3188
3188
  }
3189
- const Lo = "_badgeContainer_3v2tn_1", xo = "_badge_3v2tn_1", Zo = "_hidden_3v2tn_14", bo = "_countOverflow_3v2tn_63", i3 = {
3189
+ const Lo = "_badgeContainer_3v2tn_1", xo = "_badge_3v2tn_1", Zo = "_hidden_3v2tn_14", bo = "_countOverflow_3v2tn_63", l3 = {
3190
3190
  badgeContainer: Lo,
3191
3191
  badge: xo,
3192
3192
  hidden: Zo,
3193
3193
  countOverflow: bo
3194
- }, z1 = u1(
3194
+ }, Y1 = u1(
3195
3195
  ({
3196
3196
  badgeType: C = "brand",
3197
3197
  size: e = "m",
@@ -3206,7 +3206,7 @@ const Lo = "_badgeContainer_3v2tn_1", xo = "_badge_3v2tn_1", Zo = "_hidden_3v2tn
3206
3206
  if (t == "icon" && l && !u6(l))
3207
3207
  return console.warn(`Badge: Invalid icon name "${l}". Please use a valid icon key.`), null;
3208
3208
  const u = Vo(e), d = F2({ size: e, content: t, iconSize: u }), c = T2({ size: e, content: t, count: n }), w = Mo({ size: e, content: t, count: n, iconSize: u }), h = c && ((f = a5(n)) == null ? void 0 : f.length) > 2;
3209
- return i ? /* @__PURE__ */ m("div", { ref: a, className: i3.badgeContainer, ...s, children: [
3209
+ return i ? /* @__PURE__ */ m("div", { ref: a, className: l3.badgeContainer, ...s, children: [
3210
3210
  /* @__PURE__ */ m(
3211
3211
  "div",
3212
3212
  {
@@ -3214,18 +3214,18 @@ const Lo = "_badgeContainer_3v2tn_1", xo = "_badge_3v2tn_1", Zo = "_hidden_3v2tn
3214
3214
  "data-size": e,
3215
3215
  "data-testid": "badge",
3216
3216
  className: e1(
3217
- i3.badge,
3218
- w ? "" : i3.hidden,
3219
- h ? i3.countOverflow : ""
3217
+ l3.badge,
3218
+ w ? "" : l3.hidden,
3219
+ h ? l3.countOverflow : ""
3220
3220
  ),
3221
3221
  children: [
3222
- d && /* @__PURE__ */ r(J, { name: l, className: i3.icon, size: u }),
3223
- c && /* @__PURE__ */ r("span", { className: i3.count, children: a5(n) }, n)
3222
+ d && /* @__PURE__ */ r(J, { name: l, className: l3.icon, size: u }),
3223
+ c && /* @__PURE__ */ r("span", { className: l3.count, children: a5(n) }, n)
3224
3224
  ]
3225
3225
  }
3226
3226
  ),
3227
3227
  i
3228
- ] }) : /* @__PURE__ */ r("div", { ref: a, className: i3.badgeContainer, ...s, children: /* @__PURE__ */ m(
3228
+ ] }) : /* @__PURE__ */ r("div", { ref: a, className: l3.badgeContainer, ...s, children: /* @__PURE__ */ m(
3229
3229
  "div",
3230
3230
  {
3231
3231
  "data-simple-badge": "true",
@@ -3233,13 +3233,13 @@ const Lo = "_badgeContainer_3v2tn_1", xo = "_badge_3v2tn_1", Zo = "_hidden_3v2tn
3233
3233
  "data-size": e,
3234
3234
  "data-testid": "badge",
3235
3235
  className: e1(
3236
- i3.badge,
3237
- w ? "" : i3.hidden,
3238
- h ? i3.countOverflow : ""
3236
+ l3.badge,
3237
+ w ? "" : l3.hidden,
3238
+ h ? l3.countOverflow : ""
3239
3239
  ),
3240
3240
  children: [
3241
- d && /* @__PURE__ */ r(J, { name: l, className: i3.icon, size: u }),
3242
- c && /* @__PURE__ */ m("span", { className: i3.count, children: [
3241
+ d && /* @__PURE__ */ r(J, { name: l, className: l3.icon, size: u }),
3242
+ c && /* @__PURE__ */ m("span", { className: l3.count, children: [
3243
3243
  o && "+",
3244
3244
  a5(n)
3245
3245
  ] }, n)
@@ -3275,7 +3275,7 @@ const Lo = "_badgeContainer_3v2tn_1", xo = "_badge_3v2tn_1", Zo = "_hidden_3v2tn
3275
3275
  iconAppearance: w,
3276
3276
  ...h
3277
3277
  }, f) => s && s > 0 && i === "number" || i === "icon" && u ? /* @__PURE__ */ r(
3278
- z1,
3278
+ Y1,
3279
3279
  {
3280
3280
  badgeType: a,
3281
3281
  size: _o[C],
@@ -3335,7 +3335,7 @@ const Lo = "_badgeContainer_3v2tn_1", xo = "_badge_3v2tn_1", Zo = "_hidden_3v2tn
3335
3335
  badgeIcon: c,
3336
3336
  ...w
3337
3337
  }, h) => u6(o) ? u && u > 0 && a === "number" || a === "icon" && c ? /* @__PURE__ */ r(
3338
- z1,
3338
+ Y1,
3339
3339
  {
3340
3340
  badgeType: d,
3341
3341
  size: C,
@@ -3551,7 +3551,7 @@ const P2 = (C, e, t, n = 0, l = !1) => {
3551
3551
  '[tabindex]:not([tabindex="-1"])'
3552
3552
  ], D6 = Po.map(
3553
3553
  (C) => C + ":not([disabled]):not([aria-hidden]):not([tabindex='-1'])"
3554
- ).join(","), $o = ["button", '[role="button"]', '[tabindex]:not([tabindex="-1"])'].map((C) => C + ":not([disabled]):not([aria-hidden])").join(","), Q1 = " ", F1 = "Enter", w6 = "Tab", s2 = "Backspace", a2 = "Delete", s6 = "ArrowLeft", a6 = "ArrowRight", h6 = "ArrowUp", k3 = "ArrowDown", G6 = "Escape", v6 = ({ children: C }) => {
3554
+ ).join(","), $o = ["button", '[role="button"]', '[tabindex]:not([tabindex="-1"])'].map((C) => C + ":not([disabled]):not([aria-hidden])").join(","), X1 = " ", O1 = "Enter", w6 = "Tab", s2 = "Backspace", a2 = "Delete", s6 = "ArrowLeft", a6 = "ArrowRight", h6 = "ArrowUp", k3 = "ArrowDown", G6 = "Escape", v6 = ({ children: C }) => {
3555
3555
  const [e, t] = R(null);
3556
3556
  return Q(() => {
3557
3557
  let n = document.getElementById("overlay-root");
@@ -3671,7 +3671,7 @@ const P2 = (C, e, t, n = 0, l = !1) => {
3671
3671
  const T = (n1) => {
3672
3672
  var b1;
3673
3673
  const z = n1.target, p1 = document.querySelectorAll("[data-dropdown-id]");
3674
- Array.from(p1).some((K1) => K1.contains(z)) || ((b1 = y.current) == null ? void 0 : b1.contains(z)) || U();
3674
+ Array.from(p1).some((z1) => z1.contains(z)) || ((b1 = y.current) == null ? void 0 : b1.contains(z)) || U();
3675
3675
  };
3676
3676
  return document.addEventListener("mousedown", T), () => document.removeEventListener("mousedown", T);
3677
3677
  }, [U]);
@@ -3699,14 +3699,14 @@ const P2 = (C, e, t, n = 0, l = !1) => {
3699
3699
  hostElement: T,
3700
3700
  castedElement: n1,
3701
3701
  defaultPosition: "bottom"
3702
- }) : z, b1 = p1 ?? B5(T, n1, w1), K1 = U6(
3702
+ }) : z, b1 = p1 ?? B5(T, n1, w1), z1 = U6(
3703
3703
  w1,
3704
3704
  T,
3705
3705
  n1,
3706
3706
  d,
3707
3707
  b1
3708
3708
  );
3709
- H(w1), B(K1);
3709
+ H(w1), B(z1);
3710
3710
  },
3711
3711
  [d]
3712
3712
  );
@@ -3736,11 +3736,11 @@ const P2 = (C, e, t, n = 0, l = !1) => {
3736
3736
  children: [
3737
3737
  h && /* @__PURE__ */ m("div", { className: e1(q3["dropdown-menu-header"], "rte-dropdown-menu-header"), children: [
3738
3738
  h,
3739
- /* @__PURE__ */ r(O1, {})
3739
+ /* @__PURE__ */ r(A1, {})
3740
3740
  ] }),
3741
3741
  /* @__PURE__ */ r("div", { className: e1(q3["dropdown-menu-content"], "rte-dropdown-menu-content"), children: x ? /* @__PURE__ */ r("ul", { className: q3["dropdown-items"], role: "menu", children: u }) : /* @__PURE__ */ r(i1, { children: u }) }),
3742
3742
  f && /* @__PURE__ */ m("div", { className: e1(q3["dropdown-menu-footer"], "rte-dropdown-menu-footer"), children: [
3743
- /* @__PURE__ */ r(O1, {}),
3743
+ /* @__PURE__ */ r(A1, {}),
3744
3744
  f
3745
3745
  ] })
3746
3746
  ]
@@ -3755,7 +3755,7 @@ const P2 = (C, e, t, n = 0, l = !1) => {
3755
3755
  onKeyUp: o = I6,
3756
3756
  onBlur: i = I6,
3757
3757
  onFocus: s = I6
3758
- } = C, a = X(n ?? [Q1, F1]);
3758
+ } = C, a = X(n ?? [X1, O1]);
3759
3759
  return { onKeyDown: (h) => {
3760
3760
  var f;
3761
3761
  (f = a.current) != null && f.includes(h.key) && (!t || h.target.id === t) && (h.preventDefault(), l(h));
@@ -3858,7 +3858,7 @@ const P2 = (C, e, t, n = 0, l = !1) => {
3858
3858
  }, A = (P) => {
3859
3859
  l || (V && _(P), s && k());
3860
3860
  }, B = (P) => {
3861
- [Q1, F1].includes(P.key) && (e ? b(P) : A(P));
3861
+ [X1, O1].includes(P.key) && (e ? b(P) : A(P));
3862
3862
  }, N = (P) => {
3863
3863
  P.stopPropagation(), !l && V && V(P);
3864
3864
  }, Y = (P) => {
@@ -3866,7 +3866,7 @@ const P2 = (C, e, t, n = 0, l = !1) => {
3866
3866
  }, { onKeyUp: $, onFocus: G, onKeyDown: U } = f6(
3867
3867
  { onKeyUp: Y, onFocus: E, onKeyDown: B },
3868
3868
  {
3869
- interactiveKeyCodes: [Q1, F1, w6, k3, h6, G6]
3869
+ interactiveKeyCodes: [X1, O1, w6, k3, h6, G6]
3870
3870
  }
3871
3871
  );
3872
3872
  return s ? /* @__PURE__ */ r(
@@ -3905,7 +3905,7 @@ const P2 = (C, e, t, n = 0, l = !1) => {
3905
3905
  ]
3906
3906
  }
3907
3907
  ),
3908
- o && /* @__PURE__ */ r("div", { className: P3["dropdown-divider"], children: /* @__PURE__ */ r(O1, {}) })
3908
+ o && /* @__PURE__ */ r("div", { className: P3["dropdown-divider"], children: /* @__PURE__ */ r(A1, {}) })
3909
3909
  ] }),
3910
3910
  children: s
3911
3911
  }
@@ -3940,11 +3940,11 @@ const P2 = (C, e, t, n = 0, l = !1) => {
3940
3940
  t && /* @__PURE__ */ r(J, { name: t, className: P3["dropdown-item-icon"] }),
3941
3941
  e ? /* @__PURE__ */ r("a", { href: e, style: { flex: "2", textDecoration: "none", color: "inherit" }, children: C }) : /* @__PURE__ */ r("span", { style: { flex: "2" }, children: C }),
3942
3942
  n && /* @__PURE__ */ r("div", { children: n }),
3943
- B6({ showBadge: !!h, badgeContent: u, badgeCount: a, badgeIcon: d }) && /* @__PURE__ */ r(z1, { count: a, content: u, icon: d, badgeType: c, size: w })
3943
+ B6({ showBadge: !!h, badgeContent: u, badgeCount: a, badgeIcon: d }) && /* @__PURE__ */ r(Y1, { count: a, content: u, icon: d, badgeType: c, size: w })
3944
3944
  ]
3945
3945
  }
3946
3946
  ),
3947
- o && /* @__PURE__ */ r("div", { className: P3["dropdown-divider"], children: /* @__PURE__ */ r(O1, {}) })
3947
+ o && /* @__PURE__ */ r("div", { className: P3["dropdown-divider"], children: /* @__PURE__ */ r(A1, {}) })
3948
3948
  ] });
3949
3949
  }, qo = "_link_1yg2q_1", Xo = "_label_1yg2q_118", c5 = {
3950
3950
  link: qo,
@@ -4083,7 +4083,7 @@ const el = "_tooltip_1e83s_1", tl = "_tooltipLabel_1e83s_21", d5 = {
4083
4083
  }
4084
4084
  ),
4085
4085
  h && /* @__PURE__ */ r(
4086
- z1,
4086
+ Y1,
4087
4087
  {
4088
4088
  count: u,
4089
4089
  content: a,
@@ -4106,7 +4106,7 @@ const el = "_tooltip_1e83s_1", tl = "_tooltipLabel_1e83s_21", d5 = {
4106
4106
  children: C.label
4107
4107
  }
4108
4108
  ),
4109
- h && /* @__PURE__ */ r(z1, { count: u, content: a, icon: d, badgeType: c })
4109
+ h && /* @__PURE__ */ r(Y1, { count: u, content: a, icon: d, badgeType: c })
4110
4110
  ] }) }) : /* @__PURE__ */ r(i1, { children: n ? /* @__PURE__ */ m(
4111
4111
  W6,
4112
4112
  {
@@ -4130,7 +4130,7 @@ const el = "_tooltip_1e83s_1", tl = "_tooltipLabel_1e83s_21", d5 = {
4130
4130
  }
4131
4131
  ),
4132
4132
  " ",
4133
- h && /* @__PURE__ */ r(z1, { count: u, content: a, icon: d, badgeType: c })
4133
+ h && /* @__PURE__ */ r(Y1, { count: u, content: a, icon: d, badgeType: c })
4134
4134
  ]
4135
4135
  }
4136
4136
  ) : /* @__PURE__ */ m(i1, { children: [
@@ -4143,7 +4143,7 @@ const el = "_tooltip_1e83s_1", tl = "_tooltipLabel_1e83s_21", d5 = {
4143
4143
  style: { color: "var(--content-tertiary)", maxWidth: `${t}px` }
4144
4144
  }
4145
4145
  ),
4146
- h && /* @__PURE__ */ r(z1, { count: u, content: a, icon: d, badgeType: c })
4146
+ h && /* @__PURE__ */ r(Y1, { count: u, content: a, icon: d, badgeType: c })
4147
4147
  ] }) }) }, C.link);
4148
4148
  }, ol = "_breadcrumbsContainer_12g5q_1", ll = "_breadcrumbItem_12g5q_7", il = "_separator_12g5q_36", o6 = {
4149
4149
  breadcrumbsContainer: ol,
@@ -4195,7 +4195,7 @@ const el = "_tooltip_1e83s_1", tl = "_tooltipLabel_1e83s_21", d5 = {
4195
4195
  }
4196
4196
  ),
4197
4197
  B6({ showBadge: !!a, badgeContent: n, badgeCount: l, badgeIcon: o }) && /* @__PURE__ */ r(
4198
- z1,
4198
+ Y1,
4199
4199
  {
4200
4200
  count: l,
4201
4201
  content: n,
@@ -4263,13 +4263,13 @@ const el = "_tooltip_1e83s_1", tl = "_tooltipLabel_1e83s_21", d5 = {
4263
4263
  ...i
4264
4264
  }, s) => {
4265
4265
  const a = (h) => {
4266
- !n && t && (h.key === Q1 || h.key === F1) && (h.preventDefault(), o == null || o());
4266
+ !n && t && (h.key === X1 || h.key === O1) && (h.preventDefault(), o == null || o());
4267
4267
  }, u = () => {
4268
4268
  !n && t && (o == null || o());
4269
4269
  }, { onKeyDown: d, onKeyUp: c, onBlur: w } = f6(
4270
4270
  { onKeyUp: a },
4271
4271
  {
4272
- interactiveKeyCodes: [Q1, F1]
4272
+ interactiveKeyCodes: [X1, O1]
4273
4273
  }
4274
4274
  );
4275
4275
  return /* @__PURE__ */ r(
@@ -4370,7 +4370,7 @@ const el = "_tooltip_1e83s_1", tl = "_tooltipLabel_1e83s_21", d5 = {
4370
4370
  ...u
4371
4371
  }, d) => {
4372
4372
  const c = T7.useRef(null), w = (g) => {
4373
- if (g.key === Q1 || g.key === F1)
4373
+ if (g.key === X1 || g.key === O1)
4374
4374
  g.preventDefault(), n == null || n(g);
4375
4375
  else if ((g.key === s2 || g.key === a2) && a) {
4376
4376
  if (o !== "input") return;
@@ -4380,7 +4380,7 @@ const el = "_tooltip_1e83s_1", tl = "_tooltipLabel_1e83s_21", d5 = {
4380
4380
  { onKeyUp: w },
4381
4381
  {
4382
4382
  id: C,
4383
- interactiveKeyCodes: [Q1, F1, s2, a2]
4383
+ interactiveKeyCodes: [X1, O1, s2, a2]
4384
4384
  }
4385
4385
  ), V = o === "single" || o === "multi", D = (g) => {
4386
4386
  o === "input" && (a == null || a(g));
@@ -4454,7 +4454,7 @@ function V3(C) {
4454
4454
  cancelAnimationFrame(t), e !== 0 && cancelAnimationFrame(e);
4455
4455
  };
4456
4456
  }
4457
- const M3 = " ", L3 = "Enter", Hl = "Tab", j6 = "Backspace", q6 = "Delete", P1 = "ArrowLeft", $1 = "ArrowRight", D1 = "ArrowUp", A1 = "ArrowDown", Vl = [P1, $1, D1, A1], r5 = "fr-FR", Ml = "Ouvrir le calendrier", Ll = "Changer la date, ", z5 = 11, k1 = {
4457
+ const M3 = " ", L3 = "Enter", Hl = "Tab", j6 = "Backspace", q6 = "Delete", R1 = "ArrowLeft", P1 = "ArrowRight", S1 = "ArrowUp", I1 = "ArrowDown", Vl = [R1, P1, S1, I1], r5 = "fr-FR", Ml = "Ouvrir le calendrier", Ll = "Changer la date, ", z5 = 11, N1 = {
4458
4458
  navPrevYear: "nav-prev-year",
4459
4459
  navPrevMonth: "nav-prev-month",
4460
4460
  monthLabel: "month-label",
@@ -4487,13 +4487,13 @@ function U2(C, e) {
4487
4487
  return C.getFullYear() === e.getFullYear() && C.getMonth() === e.getMonth();
4488
4488
  }
4489
4489
  function X6(C, e) {
4490
- return C.findIndex((t) => j1(t.date, e));
4490
+ return C.findIndex((t) => W1(t.date, e));
4491
4491
  }
4492
- function j1(C, e) {
4492
+ function W1(C, e) {
4493
4493
  return C.getFullYear() === e.getFullYear() && C.getMonth() === e.getMonth() && C.getDate() === e.getDate();
4494
4494
  }
4495
4495
  function A6(C, e) {
4496
- return !!C[0] && !!C[1] && !!e[0] && !!e[1] && j1(C[0], e[0]) && j1(C[1], e[1]);
4496
+ return !!C[0] && !!C[1] && !!e[0] && !!e[1] && W1(C[0], e[0]) && W1(C[1], e[1]);
4497
4497
  }
4498
4498
  function w3(C) {
4499
4499
  return C.setHours(0, 0, 0, 0), C;
@@ -4507,8 +4507,8 @@ function Zl(C) {
4507
4507
  function U5(C) {
4508
4508
  const { year: e, monthIndex: t, minDate: n, maxDate: l, disabledDates: o } = C, i = Zl(new Date(e, t, 1)).getDate();
4509
4509
  for (let s = 1; s <= i; s++) {
4510
- const a = B1(new Date(e, t, s));
4511
- if (!o3({ date: a, minDate: n, maxDate: l, disabledDates: o }))
4510
+ const a = D1(new Date(e, t, s));
4511
+ if (!r3({ date: a, minDate: n, maxDate: l, disabledDates: o }))
4512
4512
  return !0;
4513
4513
  }
4514
4514
  return !1;
@@ -4541,12 +4541,12 @@ function yl(C) {
4541
4541
  return i.getFullYear() === o && i.getMonth() === l - 1 && i.getDate() === n && !Number.isNaN(i.valueOf()) ? i : null;
4542
4542
  }
4543
4543
  function Sl(C, e) {
4544
- return B1(C).valueOf() < B1(e).valueOf();
4544
+ return D1(C).valueOf() < D1(e).valueOf();
4545
4545
  }
4546
4546
  function Dl(C, e) {
4547
- return B1(C).valueOf() > B1(e).valueOf();
4547
+ return D1(C).valueOf() > D1(e).valueOf();
4548
4548
  }
4549
- function B1(C) {
4549
+ function D1(C) {
4550
4550
  return w3(C);
4551
4551
  }
4552
4552
  function G5(C, e) {
@@ -4554,7 +4554,7 @@ function G5(C, e) {
4554
4554
  }
4555
4555
  function Bl(C, e, t) {
4556
4556
  const n = G5(e, t), l = Math.min(Math.max(C, 1), n);
4557
- return B1(new Date(e, t, l));
4557
+ return D1(new Date(e, t, l));
4558
4558
  }
4559
4559
  function x3(C, e) {
4560
4560
  const t = new Date(C);
@@ -4589,10 +4589,10 @@ function Q3(C) {
4589
4589
  return e;
4590
4590
  }
4591
4591
  function Nl(C, e) {
4592
- return !e || e.length === 0 ? !1 : e.some((t) => j1(C, B1(t)));
4592
+ return !e || e.length === 0 ? !1 : e.some((t) => W1(C, D1(t)));
4593
4593
  }
4594
- function o3(C) {
4595
- const { date: e, minDate: t, maxDate: n, disabledDates: l } = C, o = B1(e);
4594
+ function r3(C) {
4595
+ const { date: e, minDate: t, maxDate: n, disabledDates: l } = C, o = D1(e);
4596
4596
  return t && Sl(o, t) || n && Dl(o, n) ? !0 : Nl(o, l);
4597
4597
  }
4598
4598
  function j2(C, e = r5) {
@@ -4613,17 +4613,17 @@ function Q2(C = r5) {
4613
4613
  });
4614
4614
  }
4615
4615
  function kl(C) {
4616
- const { pendingDate: e, selectedDate: t, dayCells: n } = C, l = B1(e ?? t ?? /* @__PURE__ */ new Date()), o = u2(n, l);
4616
+ const { pendingDate: e, selectedDate: t, dayCells: n } = C, l = D1(e ?? t ?? /* @__PURE__ */ new Date()), o = u2(n, l);
4617
4617
  if (o !== null)
4618
4618
  return o;
4619
- const i = B1(/* @__PURE__ */ new Date()), s = u2(n, i);
4619
+ const i = D1(/* @__PURE__ */ new Date()), s = u2(n, i);
4620
4620
  if (s !== null)
4621
4621
  return s;
4622
4622
  const a = n.find((u) => !u.isDisabled);
4623
4623
  return a ? a.date : l;
4624
4624
  }
4625
4625
  function u2(C, e) {
4626
- const t = C.find((l) => j1(l.date, e));
4626
+ const t = C.find((l) => W1(l.date, e));
4627
4627
  if (!t)
4628
4628
  return null;
4629
4629
  if (!t.isDisabled)
@@ -4648,15 +4648,15 @@ function J2(C) {
4648
4648
  return Math.ceil((t + n) / 7) * 7;
4649
4649
  }
4650
4650
  function C7(C) {
4651
- const { viewDate: e, selectedDate: t, minDate: n, maxDate: l, disabledDates: o } = C, i = A3(e), s = K5(i), a = x3(i, -s), u = J2(e), d = B1(/* @__PURE__ */ new Date());
4651
+ const { viewDate: e, selectedDate: t, minDate: n, maxDate: l, disabledDates: o } = C, i = A3(e), s = K5(i), a = x3(i, -s), u = J2(e), d = D1(/* @__PURE__ */ new Date());
4652
4652
  return Array.from({ length: u }).map((c, w) => {
4653
- const h = x3(a, w), f = U2(h, e), x = !!t && j1(h, t), V = j1(h, d);
4653
+ const h = x3(a, w), f = U2(h, e), x = !!t && W1(h, t), V = W1(h, d);
4654
4654
  let D = "default";
4655
4655
  return f ? x ? D = "selected" : V && (D = "today") : D = "prev/next", {
4656
4656
  date: h,
4657
4657
  label: `${h.getDate()}`,
4658
4658
  cellType: D,
4659
- isDisabled: o3({ date: h, minDate: n, maxDate: l, disabledDates: o })
4659
+ isDisabled: r3({ date: h, minDate: n, maxDate: l, disabledDates: o })
4660
4660
  };
4661
4661
  });
4662
4662
  }
@@ -4688,35 +4688,35 @@ function t7(C) {
4688
4688
  }
4689
4689
  function D3(C) {
4690
4690
  const { currentIndex: e, key: t, columnCount: n, cellCount: l } = C;
4691
- if (t === P1)
4691
+ if (t === R1)
4692
4692
  return e > 0 ? e - 1 : null;
4693
- if (t === $1)
4693
+ if (t === P1)
4694
4694
  return e < l - 1 ? e + 1 : null;
4695
- if (t === D1) {
4695
+ if (t === S1) {
4696
4696
  const o = e - n;
4697
4697
  return o >= 0 ? o : null;
4698
4698
  }
4699
- if (t === A1) {
4699
+ if (t === I1) {
4700
4700
  const o = e + n;
4701
4701
  return o < l ? o : null;
4702
4702
  }
4703
4703
  return null;
4704
4704
  }
4705
4705
  const Al = {
4706
- [P1]: -1,
4707
- [$1]: 1
4706
+ [R1]: -1,
4707
+ [P1]: 1
4708
4708
  }, w2 = {
4709
4709
  day: 7,
4710
4710
  monthYear: 3
4711
4711
  };
4712
4712
  function c6(C, e) {
4713
- return C === D1 ? -w2[e] : C === A1 ? w2[e] : Al[C] ?? 0;
4713
+ return C === S1 ? -w2[e] : C === I1 ? w2[e] : Al[C] ?? 0;
4714
4714
  }
4715
4715
  function Ol(C) {
4716
4716
  return (C == null ? void 0 : C.getDate()) ?? null;
4717
4717
  }
4718
4718
  function Fl(C) {
4719
- const { textValue: e, constraints: t, pendingDate: n, selectedDate: l } = C, o = C.fallbackViewDate ?? /* @__PURE__ */ new Date(), i = e.trim(), s = i.length > 0 ? yl(i) : null, a = s ? B1(s) : null, u = a !== null && !o3({ date: a, ...t });
4719
+ const { textValue: e, constraints: t, pendingDate: n, selectedDate: l } = C, o = C.fallbackViewDate ?? /* @__PURE__ */ new Date(), i = e.trim(), s = i.length > 0 ? yl(i) : null, a = s ? D1(s) : null, u = a !== null && !r3({ date: a, ...t });
4720
4720
  let d, c;
4721
4721
  u && a ? (c = a, d = A3(a)) : (c = null, d = o);
4722
4722
  const w = C7({
@@ -4740,15 +4740,15 @@ function n7(C) {
4740
4740
  if (e === null)
4741
4741
  return null;
4742
4742
  const l = Bl(e, t.getFullYear(), t.getMonth());
4743
- return o3({ date: l, ...n }) ? null : l;
4743
+ return r3({ date: l, ...n }) ? null : l;
4744
4744
  }
4745
4745
  function r7(C) {
4746
- const e = B1(C.date);
4747
- return o3({ date: e, ...C.constraints }) ? null : e;
4746
+ const e = D1(C.date);
4747
+ return r3({ date: e, ...C.constraints }) ? null : e;
4748
4748
  }
4749
4749
  function o7(C) {
4750
- const e = B1(C.focusTargetDay);
4751
- return o3({ date: e, ...C.constraints }) ? null : {
4750
+ const e = D1(C.focusTargetDay);
4751
+ return r3({ date: e, ...C.constraints }) ? null : {
4752
4752
  viewDate: A3(e),
4753
4753
  menuInitialActiveDate: e
4754
4754
  };
@@ -4778,7 +4778,7 @@ function i7(C) {
4778
4778
  }
4779
4779
  function Tl(C, e) {
4780
4780
  let t = x3(C, 1);
4781
- for (; o3({ date: t, ...e }); )
4781
+ for (; r3({ date: t, ...e }); )
4782
4782
  t = x3(t, 1);
4783
4783
  return t;
4784
4784
  }
@@ -4987,15 +4987,15 @@ const J6 = [
4987
4987
  return (e !== V1.HOURS || C[V1.MINUTES]) && (t += " : " + C[V1.MINUTES]), (e === V1.SECONDS || C[V1.SECONDS]) && (t += " : " + C[V1.SECONDS]), t;
4988
4988
  };
4989
4989
  function li(C) {
4990
- const { viewDate: e, selectedDates: t, minDate: n, maxDate: l, disabledDates: o } = C, i = A3(e), s = K5(i), a = x3(i, -s), u = J2(e), d = B1(/* @__PURE__ */ new Date());
4990
+ const { viewDate: e, selectedDates: t, minDate: n, maxDate: l, disabledDates: o } = C, i = A3(e), s = K5(i), a = x3(i, -s), u = J2(e), d = D1(/* @__PURE__ */ new Date());
4991
4991
  return Array.from({ length: u }).map((c, w) => {
4992
- const h = x3(a, w), f = U2(h, e), x = !!(t != null && t[0]) && j1(h, t[0]), V = !!(t != null && t[1]) && j1(h, t[1]), D = x || V, g = j1(h, d), p = ii(h, t);
4992
+ const h = x3(a, w), f = U2(h, e), x = !!(t != null && t[0]) && W1(h, t[0]), V = !!(t != null && t[1]) && W1(h, t[1]), D = x || V, g = W1(h, d), p = ii(h, t);
4993
4993
  let Z = "default";
4994
4994
  return f ? D ? Z = "selected" : g && (Z = "today") : Z = "prev/next", {
4995
4995
  date: h,
4996
4996
  label: `${h.getDate()}`,
4997
4997
  cellType: Z,
4998
- isDisabled: o3({ date: h, minDate: n, maxDate: l, disabledDates: o }),
4998
+ isDisabled: r3({ date: h, minDate: n, maxDate: l, disabledDates: o }),
4999
4999
  isInRange: p
5000
5000
  };
5001
5001
  });
@@ -5006,7 +5006,7 @@ function ii(C, e) {
5006
5006
  const [t, n] = e;
5007
5007
  if (t === null || n === null)
5008
5008
  return !1;
5009
- const l = B1(t), o = B1(n), i = B1(C);
5009
+ const l = D1(t), o = D1(n), i = D1(C);
5010
5010
  return i >= l && i <= o;
5011
5011
  }
5012
5012
  const si = (C, e, t = 0) => C ? `translateX(-${e + t}px)` : "none", ai = "_backdrop_1pesd_1", ci = {
@@ -5038,7 +5038,7 @@ const si = (C, e, t = 0) => C ? `translateX(-${e + t}px)` : "none", ai = "_backd
5038
5038
  }
5039
5039
  )
5040
5040
  ] }),
5041
- /* @__PURE__ */ r(O1, {})
5041
+ /* @__PURE__ */ r(A1, {})
5042
5042
  ] }), W5 = (C, ...e) => {
5043
5043
  Q(() => {
5044
5044
  function t(n) {
@@ -5289,7 +5289,7 @@ const si = (C, e, t = 0) => C ? `translateX(-${e + t}px)` : "none", ai = "_backd
5289
5289
  }
5290
5290
  ),
5291
5291
  /* @__PURE__ */ r(
5292
- O1,
5292
+ A1,
5293
5293
  {
5294
5294
  orientation: "vertical",
5295
5295
  style: {
@@ -5882,7 +5882,7 @@ const nd = u1(
5882
5882
  return null;
5883
5883
  {
5884
5884
  const s = /* @__PURE__ */ new Date();
5885
- return s.setFullYear(i, o - 1, l), !(s.getDate() === l && s.getMonth() + 1 === o && s.getFullYear() === i) || o3({ date: s, minDate: e, maxDate: t, disabledDates: n }) ? null : w3(s);
5885
+ return s.setFullYear(i, o - 1, l), !(s.getDate() === l && s.getMonth() + 1 === o && s.getFullYear() === i) || r3({ date: s, minDate: e, maxDate: t, disabledDates: n }) ? null : w3(s);
5886
5886
  }
5887
5887
  }, ki = (C) => {
5888
5888
  const e = C.dayDigits === "" || isNaN(Number(C.dayDigits)) ? null : Number(C.dayDigits), t = C.monthDigits === "" || isNaN(Number(C.monthDigits)) ? null : Number(C.monthDigits), n = C.yearDigits === "" || isNaN(Number(C.yearDigits)) ? null : Number(C.yearDigits);
@@ -5897,7 +5897,7 @@ const nd = u1(
5897
5897
  dayDigits: C ? x1(C.getDate(), O.DAY) : "",
5898
5898
  monthDigits: C ? x1(C.getMonth() + 1, O.MONTH) : "",
5899
5899
  yearDigits: C ? x1(C.getFullYear(), O.YEAR) : ""
5900
- }), [i, s] = R(M2), a = I1(
5900
+ }), [i, s] = R(M2), a = k1(
5901
5901
  () => Ni(l, e, t, n),
5902
5902
  [l, e, t, n]
5903
5903
  ), u = (g, p) => {
@@ -5907,7 +5907,7 @@ const nd = u1(
5907
5907
  ...l,
5908
5908
  [`${H}Digits`]: k
5909
5909
  }, E = ki(S);
5910
- E ? o3({ date: E, minDate: e, maxDate: t, disabledDates: n }) || o(S) : (u(g, k), s(m5(S)));
5910
+ E ? r3({ date: E, minDate: e, maxDate: t, disabledDates: n }) || o(S) : (u(g, k), s(m5(S)));
5911
5911
  }, c = (g) => {
5912
5912
  d(g, "increase");
5913
5913
  }, w = (g) => {
@@ -6083,7 +6083,7 @@ const nd = u1(
6083
6083
  }) => {
6084
6084
  const [w, h] = R(O.DAY), f = X(null), [x, V] = R(null), [D, g] = R(null);
6085
6085
  m6(f.current, C, !1);
6086
- const { viewDate: p, setViewDate: Z, getNextDateForDayNavigation: H, getNextDateForCompactNavigation: L } = V7(e), [y, k] = R(null), [S, E] = R(e ?? p), [_] = R(e), b = I1(
6086
+ const { viewDate: p, setViewDate: Z, getNextDateForDayNavigation: H, getNextDateForCompactNavigation: L } = V7(e), [y, k] = R(null), [S, E] = R(e ?? p), [_] = R(e), b = k1(
6087
6087
  () => ({
6088
6088
  minDate: a,
6089
6089
  maxDate: u,
@@ -6111,29 +6111,29 @@ const nd = u1(
6111
6111
  selectedDate: e
6112
6112
  });
6113
6113
  Z(M.viewDate), g(M.monthNavigationAnchorDay);
6114
- }, [s, y, e, b, Z]), $ = I1(() => {
6114
+ }, [s, y, e, b, Z]), $ = k1(() => {
6115
6115
  const M = p ?? e ?? /* @__PURE__ */ new Date(), F = w;
6116
6116
  return w === O.DAY ? j2(M) : F === O.MONTH ? q2(M) : X2(M);
6117
- }, [w, p, e]), G = I1(() => C7({
6117
+ }, [w, p, e]), G = k1(() => C7({
6118
6118
  viewDate: p,
6119
6119
  selectedDate: y ?? e,
6120
6120
  minDate: a,
6121
6121
  maxDate: u,
6122
6122
  disabledDates: d
6123
- }), [y, e, p, a, u, d]), U = I1(() => e7({
6123
+ }), [y, e, p, a, u, d]), U = k1(() => e7({
6124
6124
  viewDate: p,
6125
6125
  selectedDate: y ?? e,
6126
6126
  minDate: a,
6127
6127
  maxDate: u,
6128
6128
  disabledDates: d
6129
- }), [y, e, p, a, u, d]), P = I1(() => t7({
6129
+ }), [y, e, p, a, u, d]), P = k1(() => t7({
6130
6130
  viewDate: p,
6131
6131
  selectedDate: y ?? e,
6132
6132
  minDate: a,
6133
6133
  maxDate: u,
6134
6134
  disabledDates: d
6135
6135
  }), [y, e, p, a, u, d]), r1 = () => {
6136
- w === O.DAY ? (h(O.MONTH), q1()) : w === O.MONTH ? (h(O.YEAR), d1()) : (h(O.DAY), C3());
6136
+ w === O.DAY ? (h(O.MONTH), j1()) : w === O.MONTH ? (h(O.YEAR), d1()) : (h(O.DAY), J1());
6137
6137
  }, K = (M) => {
6138
6138
  const F = r7({ date: M, constraints: b });
6139
6139
  if (F !== null)
@@ -6145,13 +6145,13 @@ const nd = u1(
6145
6145
  }
6146
6146
  }, j = (M) => {
6147
6147
  const F = new Date(p.getFullYear(), M, 1);
6148
- Z(F), E(F), h(O.DAY), C3();
6148
+ Z(F), E(F), h(O.DAY), J1();
6149
6149
  }, W = (M) => {
6150
6150
  const F = new Date(M, p.getMonth(), 1);
6151
- Z(F), E(F), h(O.MONTH), q1();
6151
+ Z(F), E(F), h(O.MONTH), j1();
6152
6152
  }, T = (M) => {
6153
6153
  const F = y ?? e;
6154
- return F !== null && j1(M, F);
6154
+ return F !== null && W1(M, F);
6155
6155
  }, n1 = (M) => {
6156
6156
  if (M.key === "Escape") {
6157
6157
  i == null || i();
@@ -6164,13 +6164,13 @@ const nd = u1(
6164
6164
  return;
6165
6165
  if (M.stopPropagation(), [L3, M3].includes(M.key)) {
6166
6166
  M.preventDefault();
6167
- const a1 = S, h1 = G.find((g1) => j1(g1.date, a1));
6167
+ const a1 = S, h1 = G.find((g1) => W1(g1.date, a1));
6168
6168
  h1 && !h1.isDisabled && K(a1);
6169
6169
  return;
6170
6170
  }
6171
- [P1, $1, D1, A1].includes(M.key) && (M.preventDefault(), v3(M.key));
6171
+ [R1, P1, S1, I1].includes(M.key) && (M.preventDefault(), v3(M.key));
6172
6172
  }, p1 = (M) => {
6173
- if (!K1(M.target))
6173
+ if (!z1(M.target))
6174
6174
  return;
6175
6175
  if (M.stopPropagation(), [L3, M3].includes(M.key)) {
6176
6176
  M.preventDefault();
@@ -6178,7 +6178,7 @@ const nd = u1(
6178
6178
  h1 && !h1.isDisabled && j(a1);
6179
6179
  return;
6180
6180
  }
6181
- [P1, $1, D1, A1].includes(M.key) && (M.preventDefault(), J1(M.key));
6181
+ [R1, P1, S1, I1].includes(M.key) && (M.preventDefault(), Q1(M.key));
6182
6182
  }, w1 = (M) => {
6183
6183
  if (!g3(M.target))
6184
6184
  return;
@@ -6188,31 +6188,31 @@ const nd = u1(
6188
6188
  h1 && !h1.isDisabled && W(a1);
6189
6189
  return;
6190
6190
  }
6191
- [P1, $1, D1, A1].includes(M.key) && (M.preventDefault(), U1(M.key));
6192
- }, b1 = (M) => M instanceof HTMLElement ? M.matches("button.day-cell") && M.closest(".rte-datepicker-day-grid") !== null : !1, K1 = (M) => M instanceof HTMLElement ? M.matches("button.month-cell") && M.closest(".rte-datepicker-month-grid") !== null : !1, g3 = (M) => M instanceof HTMLElement ? M.matches("button.year-cell") && M.closest(".rte-datepicker-year-grid") !== null : !1, v3 = (M) => {
6191
+ [R1, P1, S1, I1].includes(M.key) && (M.preventDefault(), K1(M.key));
6192
+ }, b1 = (M) => M instanceof HTMLElement ? M.matches("button.day-cell") && M.closest(".rte-datepicker-day-grid") !== null : !1, z1 = (M) => M instanceof HTMLElement ? M.matches("button.month-cell") && M.closest(".rte-datepicker-month-grid") !== null : !1, g3 = (M) => M instanceof HTMLElement ? M.matches("button.year-cell") && M.closest(".rte-datepicker-year-grid") !== null : !1, v3 = (M) => {
6193
6193
  const F = G, a1 = X6(F, S);
6194
6194
  if (a1 < 0)
6195
6195
  return;
6196
- const h1 = c6(M, "day"), g1 = Math.abs(h1) === 7 ? 7 : 1, G1 = h1 > 0 ? 1 : -1;
6196
+ const h1 = c6(M, "day"), g1 = Math.abs(h1) === 7 ? 7 : 1, U1 = h1 > 0 ? 1 : -1;
6197
6197
  let q = a1 + h1;
6198
6198
  for (; q >= 0 && q < F.length && F[q].isDisabled; )
6199
- q += G1 * g1;
6199
+ q += U1 * g1;
6200
6200
  if (q < 0 || q >= F.length) {
6201
- const o1 = B1(x3(S, h1));
6202
- if (l3(o1))
6201
+ const o1 = D1(x3(S, h1));
6202
+ if (o3(o1))
6203
6203
  return;
6204
- p3(o1), C3();
6204
+ p3(o1), J1();
6205
6205
  return;
6206
6206
  }
6207
6207
  const C1 = F[q].date;
6208
- E(C1), C3();
6209
- }, J1 = (M) => {
6208
+ E(C1), J1();
6209
+ }, Q1 = (M) => {
6210
6210
  const F = U, a1 = S.getMonth(), h1 = F.findIndex((s1) => s1.monthIndex === a1);
6211
6211
  if (h1 < 0)
6212
6212
  return;
6213
- const g1 = c6(M, "monthYear"), G1 = Q6(S, g1);
6214
- if (G1.getFullYear() !== p.getFullYear()) {
6215
- p3(G1), q1();
6213
+ const g1 = c6(M, "monthYear"), U1 = Q6(S, g1);
6214
+ if (U1.getFullYear() !== p.getFullYear()) {
6215
+ p3(U1), j1();
6216
6216
  return;
6217
6217
  }
6218
6218
  const q = 3, C1 = F.length;
@@ -6232,14 +6232,14 @@ const nd = u1(
6232
6232
  if (o1 === null || F[o1].isDisabled)
6233
6233
  return;
6234
6234
  const I = F[o1].monthIndex;
6235
- E(new Date(p.getFullYear(), I, 1)), q1();
6236
- }, U1 = (M) => {
6235
+ E(new Date(p.getFullYear(), I, 1)), j1();
6236
+ }, K1 = (M) => {
6237
6237
  const F = P, a1 = S.getFullYear(), h1 = F.findIndex((c1) => c1.year === a1);
6238
6238
  if (h1 < 0)
6239
6239
  return;
6240
- const g1 = c6(M, "monthYear"), G1 = a1 + g1;
6241
- if (!F.map((c1) => c1.year).includes(G1)) {
6242
- p3(new Date(G1, 0, 1)), d1();
6240
+ const g1 = c6(M, "monthYear"), U1 = a1 + g1;
6241
+ if (!F.map((c1) => c1.year).includes(U1)) {
6242
+ p3(new Date(U1, 0, 1)), d1();
6243
6243
  return;
6244
6244
  }
6245
6245
  const C1 = 3, o1 = F.length;
@@ -6260,17 +6260,17 @@ const nd = u1(
6260
6260
  return;
6261
6261
  const s1 = F[v].year;
6262
6262
  E(new Date(s1, 0, 1)), d1();
6263
- }, l3 = (M) => o3({
6263
+ }, o3 = (M) => r3({
6264
6264
  date: M,
6265
6265
  ...b
6266
- }), C3 = () => {
6266
+ }), J1 = () => {
6267
6267
  V3(() => {
6268
6268
  const M = f.current, F = M == null ? void 0 : M.querySelector(
6269
6269
  '.rte-datepicker-day-grid .day-cell[data-datepicker-active="true"]:not([disabled])'
6270
6270
  );
6271
6271
  F == null || F.focus();
6272
6272
  });
6273
- }, q1 = () => {
6273
+ }, j1 = () => {
6274
6274
  V3(() => {
6275
6275
  const M = f.current, F = M == null ? void 0 : M.querySelector(
6276
6276
  '.rte-datepicker-month-grid .month-cell[data-datepicker-active="true"]:not([disabled])'
@@ -6288,7 +6288,7 @@ const nd = u1(
6288
6288
  o == null || o();
6289
6289
  const M = y ?? e;
6290
6290
  V(M), k(null), n(M);
6291
- }, H1 = (M, F) => j1(M, F) ? 0 : -1, Z1 = (M) => M === S.getMonth() ? 0 : -1, L1 = (M) => M === S.getFullYear() ? 0 : -1, p3 = (M) => {
6291
+ }, H1 = (M, F) => W1(M, F) ? 0 : -1, Z1 = (M) => M === S.getMonth() ? 0 : -1, L1 = (M) => M === S.getFullYear() ? 0 : -1, p3 = (M) => {
6292
6292
  const F = b;
6293
6293
  let a1 = null;
6294
6294
  w === O.DAY ? a1 = o7({
@@ -6304,13 +6304,13 @@ const nd = u1(
6304
6304
  };
6305
6305
  return Q(() => {
6306
6306
  if (C)
6307
- Y(), C3();
6307
+ Y(), J1();
6308
6308
  else {
6309
6309
  if (x)
6310
6310
  return;
6311
6311
  if (_ === null)
6312
6312
  n(null);
6313
- else if (!o3({ date: _, ...b }))
6313
+ else if (!r3({ date: _, ...b }))
6314
6314
  l(_);
6315
6315
  else {
6316
6316
  const M = Tl(_, b);
@@ -6372,7 +6372,7 @@ const nd = u1(
6372
6372
  variant: "neutral",
6373
6373
  size: "s",
6374
6374
  "aria-label": "Année précédente",
6375
- "data-datepicker-tab": k1.navPrevYear,
6375
+ "data-datepicker-tab": N1.navPrevYear,
6376
6376
  onClick: () => A("prevYear")
6377
6377
  }
6378
6378
  ),
@@ -6383,7 +6383,7 @@ const nd = u1(
6383
6383
  variant: "neutral",
6384
6384
  size: "s",
6385
6385
  "aria-label": "Mois précédent",
6386
- "data-datepicker-tab": k1.navPrevMonth,
6386
+ "data-datepicker-tab": N1.navPrevMonth,
6387
6387
  onClick: () => A("prevMonth")
6388
6388
  }
6389
6389
  )
@@ -6394,7 +6394,7 @@ const nd = u1(
6394
6394
  variant: "neutral",
6395
6395
  size: "s",
6396
6396
  "aria-label": "Année précédente",
6397
- "data-datepicker-tab": k1.navPrevCompact,
6397
+ "data-datepicker-tab": N1.navPrevCompact,
6398
6398
  onClick: () => B("previous", "month")
6399
6399
  }
6400
6400
  ) : /* @__PURE__ */ r(
@@ -6404,7 +6404,7 @@ const nd = u1(
6404
6404
  variant: "neutral",
6405
6405
  size: "s",
6406
6406
  "aria-label": "Décennie précédente",
6407
- "data-datepicker-tab": k1.navPrevCompact,
6407
+ "data-datepicker-tab": N1.navPrevCompact,
6408
6408
  onClick: () => B("previous", "year")
6409
6409
  }
6410
6410
  ) }),
@@ -6414,7 +6414,7 @@ const nd = u1(
6414
6414
  className: y1["month-label"],
6415
6415
  onClick: r1,
6416
6416
  "aria-label": `Changer de vue, ${$} , appuyer pour voir les ${w === O.DAY ? "mois" : "années"}`,
6417
- "data-datepicker-tab": k1.monthLabel,
6417
+ "data-datepicker-tab": N1.monthLabel,
6418
6418
  children: $
6419
6419
  }
6420
6420
  ),
@@ -6426,7 +6426,7 @@ const nd = u1(
6426
6426
  variant: "neutral",
6427
6427
  size: "s",
6428
6428
  "aria-label": "Mois suivant",
6429
- "data-datepicker-tab": k1.navNextMonth,
6429
+ "data-datepicker-tab": N1.navNextMonth,
6430
6430
  onClick: () => A("nextMonth")
6431
6431
  }
6432
6432
  ),
@@ -6437,7 +6437,7 @@ const nd = u1(
6437
6437
  variant: "neutral",
6438
6438
  size: "s",
6439
6439
  "aria-label": "Année suivante",
6440
- "data-datepicker-tab": k1.navNextYear,
6440
+ "data-datepicker-tab": N1.navNextYear,
6441
6441
  onClick: () => A("nextYear")
6442
6442
  }
6443
6443
  )
@@ -6448,7 +6448,7 @@ const nd = u1(
6448
6448
  variant: "neutral",
6449
6449
  size: "s",
6450
6450
  "aria-label": "Année suivante",
6451
- "data-datepicker-tab": k1.navNextCompact,
6451
+ "data-datepicker-tab": N1.navNextCompact,
6452
6452
  onClick: () => B("next", "month")
6453
6453
  }
6454
6454
  ) : /* @__PURE__ */ r(
@@ -6458,14 +6458,14 @@ const nd = u1(
6458
6458
  variant: "neutral",
6459
6459
  size: "s",
6460
6460
  "aria-label": "Décennie suivante",
6461
- "data-datepicker-tab": k1.navNextCompact,
6461
+ "data-datepicker-tab": N1.navNextCompact,
6462
6462
  onClick: () => B("next", "year")
6463
6463
  }
6464
6464
  ) })
6465
6465
  ] }),
6466
6466
  w === O.DAY ? /* @__PURE__ */ m(i1, { children: [
6467
6467
  /* @__PURE__ */ r("div", { className: y1["rte-datepicker-weekdays"], "aria-hidden": "true", children: Q2().map((M, F) => /* @__PURE__ */ r("div", { className: y1.weekday, children: M }, F)) }),
6468
- /* @__PURE__ */ r(O1, { appearance: "brand" }),
6468
+ /* @__PURE__ */ r(A1, { appearance: "brand" }),
6469
6469
  /* @__PURE__ */ r(
6470
6470
  "div",
6471
6471
  {
@@ -6494,7 +6494,7 @@ const nd = u1(
6494
6494
  }
6495
6495
  )
6496
6496
  ] }) : w === O.MONTH ? /* @__PURE__ */ m(i1, { children: [
6497
- /* @__PURE__ */ r(O1, { appearance: "brand" }),
6497
+ /* @__PURE__ */ r(A1, { appearance: "brand" }),
6498
6498
  /* @__PURE__ */ r("p", { className: y1["rte-datepicker-view-instruction"], id: "rte-datepicker-month-instruction", children: "Sélectionner un mois" }),
6499
6499
  /* @__PURE__ */ r(
6500
6500
  "div",
@@ -6526,7 +6526,7 @@ const nd = u1(
6526
6526
  }
6527
6527
  )
6528
6528
  ] }) : /* @__PURE__ */ m(i1, { children: [
6529
- /* @__PURE__ */ r(O1, { appearance: "brand" }),
6529
+ /* @__PURE__ */ r(A1, { appearance: "brand" }),
6530
6530
  /* @__PURE__ */ r("p", { className: y1["rte-datepicker-view-instruction"], id: "rte-datepicker-year-instruction", children: "Sélectionner une année" }),
6531
6531
  /* @__PURE__ */ r(
6532
6532
  "div",
@@ -6584,7 +6584,7 @@ const nd = u1(
6584
6584
  showAssistiveIcon: g = !1,
6585
6585
  assistiveTextLink: p
6586
6586
  }, Z) => {
6587
- var q1;
6587
+ var j1;
6588
6588
  const [H, L] = R(!1), [y, k] = R(!1), S = V && !y, {
6589
6589
  increaseActiveSegmentValue: E,
6590
6590
  decreaseActiveSegmentValue: _,
@@ -6604,7 +6604,7 @@ const nd = u1(
6604
6604
  N ? a == null || a(N) : a == null || a(null);
6605
6605
  }, [N, a]);
6606
6606
  const j = X(null), W = X(null), T = () => {
6607
- z(), U1(K);
6607
+ z(), K1(K);
6608
6608
  }, n1 = () => {
6609
6609
  L(!1), k(!1);
6610
6610
  }, z = () => {
@@ -6613,15 +6613,15 @@ const nd = u1(
6613
6613
  o || k(!0);
6614
6614
  }, w1 = (d1) => {
6615
6615
  const f1 = d1.key;
6616
- if (d1.stopPropagation(), U1(K), [D1, A1, P1, $1, j6, q6].includes(f1))
6616
+ if (d1.stopPropagation(), K1(K), [S1, I1, R1, P1, j6, q6].includes(f1))
6617
6617
  d1.preventDefault(), b1(f1);
6618
6618
  else if (Oi.test(f1))
6619
- d1.preventDefault(), K1(f1);
6619
+ d1.preventDefault(), z1(f1);
6620
6620
  else
6621
6621
  return;
6622
6622
  }, b1 = (d1) => {
6623
- d1 === $1 ? U() : d1 === P1 ? P() : d1 === D1 ? E(K) : d1 === A1 ? _(K) : b(K);
6624
- }, K1 = (d1) => {
6623
+ d1 === P1 ? U() : d1 === R1 ? P() : d1 === S1 ? E(K) : d1 === I1 ? _(K) : b(K);
6624
+ }, z1 = (d1) => {
6625
6625
  const H1 = $[`${K === P6 ? "day" : K === $6 ? "month" : "year"}Digits`];
6626
6626
  K === V5 && H1.length >= 4 ? g3(H1, d1) : v3(H1, d1);
6627
6627
  }, g3 = (d1, f1) => {
@@ -6664,12 +6664,12 @@ const nd = u1(
6664
6664
  A(K, L1);
6665
6665
  }
6666
6666
  }
6667
- }, J1 = () => {
6667
+ }, Q1 = () => {
6668
6668
  var Z1;
6669
6669
  y && k(!1);
6670
6670
  const d1 = ((Z1 = j.current) == null ? void 0 : Z1.selectionStart) ?? 0, f1 = m7(), H1 = 1;
6671
- d1 <= f1[P6][H1] + 1 ? U1(P6) : d1 <= f1[$6][H1] + 1 ? U1($6) : U1(V5);
6672
- }, U1 = t1(
6671
+ d1 <= f1[P6][H1] + 1 ? K1(P6) : d1 <= f1[$6][H1] + 1 ? K1($6) : K1(V5);
6672
+ }, K1 = t1(
6673
6673
  (d1) => {
6674
6674
  r1(d1);
6675
6675
  const f1 = 3, H1 = d1 === P6 ? 0 : d1 === $6 ? 2 + f1 : 0 + 2 * (2 + f1), Z1 = d1 === V5 ? H1 + 4 : H1 + 2;
@@ -6679,14 +6679,14 @@ const nd = u1(
6679
6679
  });
6680
6680
  },
6681
6681
  [r1]
6682
- ), l3 = () => {
6682
+ ), o3 = () => {
6683
6683
  d == null || d(), n1();
6684
- }, C3 = () => {
6684
+ }, J1 = () => {
6685
6685
  c == null || c(), n1();
6686
6686
  };
6687
6687
  return Q(() => {
6688
- U1(K);
6689
- }, [K, U1]), /* @__PURE__ */ m("div", { className: H5["rte-date-picker"], style: { minWidth: "248px" }, ref: Z, children: [
6688
+ K1(K);
6689
+ }, [K, K1]), /* @__PURE__ */ m("div", { className: H5["rte-date-picker"], style: { minWidth: "248px" }, ref: Z, children: [
6690
6690
  /* @__PURE__ */ r("div", { className: H5["rte-date-picker-header"], children: /* @__PURE__ */ m("label", { htmlFor: C, id: t ?? e, className: H5["rte-datepicker-label"], children: [
6691
6691
  e,
6692
6692
  /* @__PURE__ */ r(Z3, { required: n, showLabelRequirement: l })
@@ -6694,7 +6694,7 @@ const nd = u1(
6694
6694
  /* @__PURE__ */ r(
6695
6695
  n5,
6696
6696
  {
6697
- style: { width: (q1 = W.current) == null ? void 0 : q1.offsetWidth },
6697
+ style: { width: (j1 = W.current) == null ? void 0 : j1.offsetWidth },
6698
6698
  isList: !1,
6699
6699
  isOpen: y,
6700
6700
  onClose: n1,
@@ -6711,7 +6711,7 @@ const nd = u1(
6711
6711
  onOpenPicker: p1,
6712
6712
  value: Y,
6713
6713
  onKeyDown: w1,
6714
- onMouseUp: J1,
6714
+ onMouseUp: Q1,
6715
6715
  onChange: () => {
6716
6716
  },
6717
6717
  fixedWidth: !1,
@@ -6729,8 +6729,8 @@ const nd = u1(
6729
6729
  isOpen: y,
6730
6730
  currentValue: N,
6731
6731
  hasAction: u,
6732
- onValidate: C3,
6733
- onCancel: l3,
6732
+ onValidate: J1,
6733
+ onCancel: o3,
6734
6734
  updateDisplayedDate: G,
6735
6735
  updateFullDate: B,
6736
6736
  displayValue: Y,
@@ -6800,11 +6800,11 @@ const nd = u1(
6800
6800
  selectionMode: u = "start",
6801
6801
  setInitialValue: d
6802
6802
  }) => {
6803
- const [c, w] = R(O.DAY), h = X(null), [f, x] = R(e), [V, D] = R(null), [g, p] = R(null), Z = I1(() => (g == null ? void 0 : g[0]) || (f == null ? void 0 : f[0]) || null, [g, f]), H = I1(() => (g == null ? void 0 : g[1]) || (f == null ? void 0 : f[1]) || null, [g, f]);
6803
+ const [c, w] = R(O.DAY), h = X(null), [f, x] = R(e), [V, D] = R(null), [g, p] = R(null), Z = k1(() => (g == null ? void 0 : g[0]) || (f == null ? void 0 : f[0]) || null, [g, f]), H = k1(() => (g == null ? void 0 : g[1]) || (f == null ? void 0 : f[1]) || null, [g, f]);
6804
6804
  m6(h.current, C, !1);
6805
6805
  const { viewDate: L, setViewDate: y, getNextDateForDayNavigation: k, getNextDateForCompactNavigation: S } = V7(
6806
6806
  Z ? Z ?? /* @__PURE__ */ new Date() : /* @__PURE__ */ new Date()
6807
- ), [E, _] = R(!1), [b, A] = R(Z ? Z ?? L : L), B = I1(
6807
+ ), [E, _] = R(!1), [b, A] = R(Z ? Z ?? L : L), B = k1(
6808
6808
  () => ({
6809
6809
  minDate: o,
6810
6810
  maxDate: i,
@@ -6824,22 +6824,22 @@ const nd = u1(
6824
6824
  constraints: B
6825
6825
  });
6826
6826
  I !== null && A(I);
6827
- }, G = I1(() => {
6827
+ }, G = k1(() => {
6828
6828
  const v = L ?? f ?? /* @__PURE__ */ new Date(), I = c;
6829
6829
  return c === O.DAY ? j2(v) : I === O.MONTH ? q2(v) : X2(v);
6830
- }, [c, L, f]), U = I1(() => li({
6830
+ }, [c, L, f]), U = k1(() => li({
6831
6831
  viewDate: L,
6832
6832
  selectedDates: g ?? f,
6833
6833
  minDate: o,
6834
6834
  maxDate: i,
6835
6835
  disabledDates: s
6836
- }), [g, f, L, o, i, s]), P = I1(() => e7({
6836
+ }), [g, f, L, o, i, s]), P = k1(() => e7({
6837
6837
  viewDate: L,
6838
6838
  selectedDate: g ? g[0] : f ? f[0] : null,
6839
6839
  minDate: o,
6840
6840
  maxDate: i,
6841
6841
  disabledDates: s
6842
- }), [g, f, L, o, i, s]), r1 = I1(() => t7({
6842
+ }), [g, f, L, o, i, s]), r1 = k1(() => t7({
6843
6843
  viewDate: L,
6844
6844
  selectedDate: g ? g[0] : f ? f[0] : null,
6845
6845
  minDate: o,
@@ -6866,17 +6866,17 @@ const nd = u1(
6866
6866
  return;
6867
6867
  }
6868
6868
  const I = c;
6869
- I === O.DAY ? w1(v) : I === O.MONTH ? b1(v) : K1(v);
6869
+ I === O.DAY ? w1(v) : I === O.MONTH ? b1(v) : z1(v);
6870
6870
  }, w1 = (v) => {
6871
6871
  if (!g3(v.target))
6872
6872
  return;
6873
6873
  if (v.stopPropagation(), [L3, M3].includes(v.key)) {
6874
6874
  v.preventDefault();
6875
- const s1 = b, c1 = U.find((m1) => j1(m1.date, s1));
6875
+ const s1 = b, c1 = U.find((m1) => W1(m1.date, s1));
6876
6876
  c1 && !c1.isDisabled && j(s1);
6877
6877
  return;
6878
6878
  }
6879
- [P1, $1, D1, A1].includes(v.key) && (v.preventDefault(), U1(v.key));
6879
+ [R1, P1, S1, I1].includes(v.key) && (v.preventDefault(), K1(v.key));
6880
6880
  }, b1 = (v) => {
6881
6881
  if (!v3(v.target))
6882
6882
  return;
@@ -6886,9 +6886,9 @@ const nd = u1(
6886
6886
  c1 && !c1.isDisabled && T(s1);
6887
6887
  return;
6888
6888
  }
6889
- [P1, $1, D1, A1].includes(v.key) && (v.preventDefault(), l3(v.key));
6890
- }, K1 = (v) => {
6891
- if (!J1(v.target))
6889
+ [R1, P1, S1, I1].includes(v.key) && (v.preventDefault(), o3(v.key));
6890
+ }, z1 = (v) => {
6891
+ if (!Q1(v.target))
6892
6892
  return;
6893
6893
  if (v.stopPropagation(), [L3, M3].includes(v.key)) {
6894
6894
  v.preventDefault();
@@ -6896,25 +6896,25 @@ const nd = u1(
6896
6896
  c1 && !c1.isDisabled && n1(s1);
6897
6897
  return;
6898
6898
  }
6899
- [P1, $1, D1, A1].includes(v.key) && (v.preventDefault(), C3(v.key));
6900
- }, g3 = (v) => v instanceof HTMLElement ? v.matches("button.day-cell") && v.closest(".rte-datepicker-day-grid") !== null : !1, v3 = (v) => v instanceof HTMLElement ? v.matches("button.month-cell") && v.closest(".rte-datepicker-month-grid") !== null : !1, J1 = (v) => v instanceof HTMLElement ? v.matches("button.year-cell") && v.closest(".rte-datepicker-year-grid") !== null : !1, U1 = (v) => {
6899
+ [R1, P1, S1, I1].includes(v.key) && (v.preventDefault(), J1(v.key));
6900
+ }, g3 = (v) => v instanceof HTMLElement ? v.matches("button.day-cell") && v.closest(".rte-datepicker-day-grid") !== null : !1, v3 = (v) => v instanceof HTMLElement ? v.matches("button.month-cell") && v.closest(".rte-datepicker-month-grid") !== null : !1, Q1 = (v) => v instanceof HTMLElement ? v.matches("button.year-cell") && v.closest(".rte-datepicker-year-grid") !== null : !1, K1 = (v) => {
6901
6901
  const I = U, s1 = X6(I, b);
6902
6902
  if (s1 < 0)
6903
6903
  return;
6904
6904
  const c1 = c6(v, "day"), m1 = Math.abs(c1) === 7 ? 7 : 1, f3 = c1 > 0 ? 1 : -1;
6905
- let X1 = s1 + c1;
6906
- for (; X1 >= 0 && X1 < I.length && I[X1].isDisabled; )
6907
- X1 += f3 * m1;
6908
- if (X1 < 0 || X1 >= I.length) {
6909
- const Y1 = B1(x3(b, c1));
6910
- if (q1(Y1))
6905
+ let q1 = s1 + c1;
6906
+ for (; q1 >= 0 && q1 < I.length && I[q1].isDisabled; )
6907
+ q1 += f3 * m1;
6908
+ if (q1 < 0 || q1 >= I.length) {
6909
+ const $1 = D1(x3(b, c1));
6910
+ if (j1($1))
6911
6911
  return;
6912
- C1(Y1), M();
6912
+ C1($1), M();
6913
6913
  return;
6914
6914
  }
6915
- const s3 = I[X1].date;
6916
- A(s3), D(s3), M();
6917
- }, l3 = (v) => {
6915
+ const i3 = I[q1].date;
6916
+ A(i3), D(i3), M();
6917
+ }, o3 = (v) => {
6918
6918
  const I = P, s1 = b.getMonth(), c1 = I.findIndex((T3) => T3.monthIndex === s1);
6919
6919
  if (c1 < 0)
6920
6920
  return;
@@ -6923,25 +6923,25 @@ const nd = u1(
6923
6923
  C1(f3), F();
6924
6924
  return;
6925
6925
  }
6926
- const X1 = 3, s3 = I.length;
6927
- let Y1 = D3({
6926
+ const q1 = 3, i3 = I.length;
6927
+ let $1 = D3({
6928
6928
  currentIndex: c1,
6929
6929
  key: v,
6930
- columnCount: X1,
6931
- cellCount: s3
6932
- }), e3 = 0;
6933
- for (; Y1 !== null && I[Y1].isDisabled && e3 < s3; )
6934
- Y1 = D3({
6935
- currentIndex: Y1,
6930
+ columnCount: q1,
6931
+ cellCount: i3
6932
+ }), C3 = 0;
6933
+ for (; $1 !== null && I[$1].isDisabled && C3 < i3; )
6934
+ $1 = D3({
6935
+ currentIndex: $1,
6936
6936
  key: v,
6937
- columnCount: X1,
6938
- cellCount: s3
6939
- }), e3 += 1;
6940
- if (Y1 === null || I[Y1].isDisabled)
6937
+ columnCount: q1,
6938
+ cellCount: i3
6939
+ }), C3 += 1;
6940
+ if ($1 === null || I[$1].isDisabled)
6941
6941
  return;
6942
- const t3 = I[Y1].monthIndex;
6943
- A(new Date(L.getFullYear(), t3, 1)), F();
6944
- }, C3 = (v) => {
6942
+ const e3 = I[$1].monthIndex;
6943
+ A(new Date(L.getFullYear(), e3, 1)), F();
6944
+ }, J1 = (v) => {
6945
6945
  const I = r1, s1 = b.getFullYear(), c1 = I.findIndex((H6) => H6.year === s1);
6946
6946
  if (c1 < 0)
6947
6947
  return;
@@ -6950,25 +6950,25 @@ const nd = u1(
6950
6950
  C1(new Date(f3, 0, 1)), a1();
6951
6951
  return;
6952
6952
  }
6953
- const s3 = 3, Y1 = I.length;
6954
- let e3 = D3({
6953
+ const i3 = 3, $1 = I.length;
6954
+ let C3 = D3({
6955
6955
  currentIndex: c1,
6956
6956
  key: v,
6957
- columnCount: s3,
6958
- cellCount: Y1
6959
- }), t3 = 0;
6960
- for (; e3 !== null && I[e3].isDisabled && t3 < Y1; )
6961
- e3 = D3({
6962
- currentIndex: e3,
6957
+ columnCount: i3,
6958
+ cellCount: $1
6959
+ }), e3 = 0;
6960
+ for (; C3 !== null && I[C3].isDisabled && e3 < $1; )
6961
+ C3 = D3({
6962
+ currentIndex: C3,
6963
6963
  key: v,
6964
- columnCount: s3,
6965
- cellCount: Y1
6966
- }), t3 += 1;
6967
- if (e3 === null || I[e3].isDisabled)
6964
+ columnCount: i3,
6965
+ cellCount: $1
6966
+ }), e3 += 1;
6967
+ if (C3 === null || I[C3].isDisabled)
6968
6968
  return;
6969
- const T3 = I[e3].year;
6969
+ const T3 = I[C3].year;
6970
6970
  A(new Date(T3, 0, 1)), a1();
6971
- }, q1 = (v) => o3({
6971
+ }, j1 = (v) => r3({
6972
6972
  date: v,
6973
6973
  ...B
6974
6974
  }), d1 = (v) => !Z || !H || E ? !1 : u === "end" && V ? V < Z ? v >= Z && v <= H : !1 : v >= Z && v <= H, f1 = (v) => Z ? v.toDateString() === Z.toDateString() : !1, H1 = (v) => H ? v.toDateString() === H.toDateString() : !1, Z1 = (v) => {
@@ -7027,7 +7027,7 @@ const nd = u1(
7027
7027
  });
7028
7028
  }, h1 = () => {
7029
7029
  _(!1), x([g ? g[0] : null, g ? g[1] : null]), n == null || n();
7030
- }, g1 = (v, I) => j1(v, I) ? 0 : -1, G1 = (v) => v === b.getMonth() ? 0 : -1, q = (v) => v === b.getFullYear() ? 0 : -1, C1 = (v) => {
7030
+ }, g1 = (v, I) => W1(v, I) ? 0 : -1, U1 = (v) => v === b.getMonth() ? 0 : -1, q = (v) => v === b.getFullYear() ? 0 : -1, C1 = (v) => {
7031
7031
  const I = B;
7032
7032
  let s1 = null;
7033
7033
  c === O.DAY ? s1 = o7({
@@ -7092,7 +7092,7 @@ const nd = u1(
7092
7092
  variant: "neutral",
7093
7093
  size: "s",
7094
7094
  "aria-label": "Année précédente",
7095
- "data-datepicker-tab": k1.navPrevYear,
7095
+ "data-datepicker-tab": N1.navPrevYear,
7096
7096
  onClick: () => N("prevYear")
7097
7097
  }
7098
7098
  ),
@@ -7103,7 +7103,7 @@ const nd = u1(
7103
7103
  variant: "neutral",
7104
7104
  size: "s",
7105
7105
  "aria-label": "Mois précédent",
7106
- "data-datepicker-tab": k1.navPrevMonth,
7106
+ "data-datepicker-tab": N1.navPrevMonth,
7107
7107
  onClick: () => N("prevMonth")
7108
7108
  }
7109
7109
  )
@@ -7114,7 +7114,7 @@ const nd = u1(
7114
7114
  variant: "neutral",
7115
7115
  size: "s",
7116
7116
  "aria-label": "Année précédente",
7117
- "data-datepicker-tab": k1.navPrevCompact,
7117
+ "data-datepicker-tab": N1.navPrevCompact,
7118
7118
  onClick: () => Y("previous", "month")
7119
7119
  }
7120
7120
  ) : /* @__PURE__ */ r(
@@ -7124,7 +7124,7 @@ const nd = u1(
7124
7124
  variant: "neutral",
7125
7125
  size: "s",
7126
7126
  "aria-label": "Décennie précédente",
7127
- "data-datepicker-tab": k1.navPrevCompact,
7127
+ "data-datepicker-tab": N1.navPrevCompact,
7128
7128
  onClick: () => Y("previous", "year")
7129
7129
  }
7130
7130
  ) }),
@@ -7134,7 +7134,7 @@ const nd = u1(
7134
7134
  className: M1["month-label"],
7135
7135
  onClick: K,
7136
7136
  "aria-label": `Changer de vue, ${G} , appuyer pour voir les ${c === O.DAY ? "mois" : "années"}`,
7137
- "data-datepicker-tab": k1.monthLabel,
7137
+ "data-datepicker-tab": N1.monthLabel,
7138
7138
  children: G
7139
7139
  }
7140
7140
  ),
@@ -7146,7 +7146,7 @@ const nd = u1(
7146
7146
  variant: "neutral",
7147
7147
  size: "s",
7148
7148
  "aria-label": "Mois suivant",
7149
- "data-datepicker-tab": k1.navNextMonth,
7149
+ "data-datepicker-tab": N1.navNextMonth,
7150
7150
  onClick: () => N("nextMonth")
7151
7151
  }
7152
7152
  ),
@@ -7157,7 +7157,7 @@ const nd = u1(
7157
7157
  variant: "neutral",
7158
7158
  size: "s",
7159
7159
  "aria-label": "Année suivante",
7160
- "data-datepicker-tab": k1.navNextYear,
7160
+ "data-datepicker-tab": N1.navNextYear,
7161
7161
  onClick: () => N("nextYear")
7162
7162
  }
7163
7163
  )
@@ -7168,7 +7168,7 @@ const nd = u1(
7168
7168
  variant: "neutral",
7169
7169
  size: "s",
7170
7170
  "aria-label": "Année suivante",
7171
- "data-datepicker-tab": k1.navNextCompact,
7171
+ "data-datepicker-tab": N1.navNextCompact,
7172
7172
  onClick: () => Y("next", "month")
7173
7173
  }
7174
7174
  ) : /* @__PURE__ */ r(
@@ -7178,14 +7178,14 @@ const nd = u1(
7178
7178
  variant: "neutral",
7179
7179
  size: "s",
7180
7180
  "aria-label": "Décennie suivante",
7181
- "data-datepicker-tab": k1.navNextCompact,
7181
+ "data-datepicker-tab": N1.navNextCompact,
7182
7182
  onClick: () => Y("next", "year")
7183
7183
  }
7184
7184
  ) })
7185
7185
  ] }),
7186
7186
  c === O.DAY ? /* @__PURE__ */ m(i1, { children: [
7187
7187
  /* @__PURE__ */ r("div", { className: M1["rte-datepicker-weekdays"], "aria-hidden": "true", children: Q2().map((v, I) => /* @__PURE__ */ r("div", { className: M1.weekday, children: v }, I)) }),
7188
- /* @__PURE__ */ r(O1, { appearance: "brand" }),
7188
+ /* @__PURE__ */ r(A1, { appearance: "brand" }),
7189
7189
  /* @__PURE__ */ r(
7190
7190
  "div",
7191
7191
  {
@@ -7227,7 +7227,7 @@ const nd = u1(
7227
7227
  }
7228
7228
  )
7229
7229
  ] }) : c === O.MONTH ? /* @__PURE__ */ m(i1, { children: [
7230
- /* @__PURE__ */ r(O1, { appearance: "brand" }),
7230
+ /* @__PURE__ */ r(A1, { appearance: "brand" }),
7231
7231
  /* @__PURE__ */ r("p", { className: M1["rte-datepicker-view-instruction"], id: "rte-datepicker-month-instruction", children: "Sélectionner un mois" }),
7232
7232
  /* @__PURE__ */ r(
7233
7233
  "div",
@@ -7242,7 +7242,7 @@ const nd = u1(
7242
7242
  className: e1(M1["month-cell"], "month-cell"),
7243
7243
  role: "gridcell",
7244
7244
  "aria-selected": v.isSelected,
7245
- tabIndex: G1(v.monthIndex),
7245
+ tabIndex: U1(v.monthIndex),
7246
7246
  "data-cell-month-index": v.monthIndex,
7247
7247
  "data-active-date-month": L.getMonth(),
7248
7248
  "data-active-date-year": b.getFullYear(),
@@ -7259,7 +7259,7 @@ const nd = u1(
7259
7259
  }
7260
7260
  )
7261
7261
  ] }) : /* @__PURE__ */ m(i1, { children: [
7262
- /* @__PURE__ */ r(O1, { appearance: "brand" }),
7262
+ /* @__PURE__ */ r(A1, { appearance: "brand" }),
7263
7263
  /* @__PURE__ */ r("p", { className: M1["rte-datepicker-view-instruction"], id: "rte-datepicker-year-instruction", children: "Sélectionner une année" }),
7264
7264
  /* @__PURE__ */ r(
7265
7265
  "div",
@@ -7323,7 +7323,7 @@ const nd = u1(
7323
7323
  isError: S,
7324
7324
  readonly: E
7325
7325
  }) => {
7326
- const _ = X(null), b = X(w), A = X(c ?? null), B = I1(() => k, [k]), N = (K) => {
7326
+ const _ = X(null), b = X(w), A = X(c ?? null), B = k1(() => k, [k]), N = (K) => {
7327
7327
  _.current = K;
7328
7328
  }, Y = () => _.current;
7329
7329
  Q(() => {
@@ -7331,7 +7331,7 @@ const nd = u1(
7331
7331
  }, [w]);
7332
7332
  const $ = (K) => {
7333
7333
  const j = K.key;
7334
- if (n == null || n(K), [D1, A1, P1, $1, j6, q6].includes(j)) {
7334
+ if (n == null || n(K), [S1, I1, R1, P1, j6, q6].includes(j)) {
7335
7335
  K.preventDefault(), r1(j);
7336
7336
  return;
7337
7337
  }
@@ -7377,7 +7377,7 @@ const nd = u1(
7377
7377
  y(O.DAY, T);
7378
7378
  }
7379
7379
  }, r1 = (K) => {
7380
- [P1, $1].includes(K) ? (_.current = null, K === $1 ? f() : x()) : [D1, A1].includes(K) ? K === D1 ? Z(h) : H(h) : L(h);
7380
+ [R1, P1].includes(K) ? (_.current = null, K === P1 ? f() : x()) : [S1, I1].includes(K) ? K === S1 ? Z(h) : H(h) : L(h);
7381
7381
  };
7382
7382
  return Q(() => {
7383
7383
  var K, j;
@@ -7444,19 +7444,19 @@ const nd = u1(
7444
7444
  dateState: p1,
7445
7445
  internalValue: w1,
7446
7446
  increaseActiveSegmentValue: b1,
7447
- decreaseActiveSegmentValue: K1,
7447
+ decreaseActiveSegmentValue: z1,
7448
7448
  resetActiveSegmentValue: g3,
7449
7449
  updateDateSegment: v3,
7450
- updateFullDate: J1,
7451
- displayValue: U1,
7452
- updateDisplayedDate: l3
7450
+ updateFullDate: Q1,
7451
+ displayValue: K1,
7452
+ updateDisplayedDate: o3
7453
7453
  } = F5(z.current[0] ? w3(z.current[0]) : null, {
7454
7454
  minDate: d,
7455
7455
  maxDate: c,
7456
7456
  disabledDates: w
7457
7457
  }), {
7458
- dateState: C3,
7459
- internalValue: q1,
7458
+ dateState: J1,
7459
+ internalValue: j1,
7460
7460
  increaseActiveSegmentValue: d1,
7461
7461
  decreaseActiveSegmentValue: f1,
7462
7462
  resetActiveSegmentValue: H1,
@@ -7469,7 +7469,7 @@ const nd = u1(
7469
7469
  maxDate: c,
7470
7470
  disabledDates: w
7471
7471
  }), [F, a1] = R("start"), [h1, g1] = R(o), {
7472
- moveToNextSegment: G1,
7472
+ moveToNextSegment: U1,
7473
7473
  moveToPreviousSegment: q,
7474
7474
  setActiveDateSegment: C1,
7475
7475
  activeDateSegment: o1
@@ -7480,40 +7480,40 @@ const nd = u1(
7480
7480
  }, s1 = () => E.current, c1 = (l1) => {
7481
7481
  E.current = l1;
7482
7482
  }, m1 = () => {
7483
- v(x6), H(!0), !s1() && t3(o1);
7483
+ v(x6), H(!0), !s1() && e3(o1);
7484
7484
  }, f3 = () => {
7485
- v(M5), H(!0), !s1() && t3(o1);
7486
- }, X1 = () => {
7485
+ v(M5), H(!0), !s1() && e3(o1);
7486
+ }, q1 = () => {
7487
7487
  C1(Z6), H(!1), c1(!1), I(null), s && k && C2();
7488
- }, s3 = () => {
7488
+ }, i3 = () => {
7489
7489
  v(x6), c1(!0), y(!1);
7490
- }, Y1 = () => {
7490
+ }, $1 = () => {
7491
7491
  v(M5), c1(!0), y(!1);
7492
- }, e3 = () => {
7493
- const l1 = _.current, _1 = A.current, N1 = B.current, T1 = 1, a3 = m7(), V6 = l1 === x6 ? (_1 == null ? void 0 : _1.selectionStart) ?? 0 : (N1 == null ? void 0 : N1.selectionStart) ?? 0;
7494
- V6 <= a3[Z6][T1] + 1 ? t3(Z6) : V6 <= a3[L5][T1] + 1 ? t3(L5) : t3(x2), E.current = !1;
7495
- }, t3 = t1(
7492
+ }, C3 = () => {
7493
+ const l1 = _.current, _1 = A.current, B1 = B.current, F1 = 1, s3 = m7(), V6 = l1 === x6 ? (_1 == null ? void 0 : _1.selectionStart) ?? 0 : (B1 == null ? void 0 : B1.selectionStart) ?? 0;
7494
+ V6 <= s3[Z6][F1] + 1 ? e3(Z6) : V6 <= s3[L5][F1] + 1 ? e3(L5) : e3(x2), E.current = !1;
7495
+ }, e3 = t1(
7496
7496
  (l1) => {
7497
7497
  o1 !== l1 && C1(l1);
7498
- const _1 = _.current, N1 = 3, T1 = l1 === Z6 ? 0 : l1 === L5 ? 2 + N1 : 0 + 2 * (2 + N1), a3 = l1 === x2 ? T1 + 4 : T1 + 2;
7498
+ const _1 = _.current, B1 = 3, F1 = l1 === Z6 ? 0 : l1 === L5 ? 2 + B1 : 0 + 2 * (2 + B1), s3 = l1 === x2 ? F1 + 4 : F1 + 2;
7499
7499
  V3(() => {
7500
7500
  var V6, t2;
7501
- _1 && (_1 === x6 ? (V6 = A.current) == null || V6.setSelectionRange(T1, a3) : (t2 = B.current) == null || t2.setSelectionRange(T1, a3));
7501
+ _1 && (_1 === x6 ? (V6 = A.current) == null || V6.setSelectionRange(F1, s3) : (t2 = B.current) == null || t2.setSelectionRange(F1, s3));
7502
7502
  });
7503
7503
  },
7504
7504
  [o1, C1]
7505
7505
  ), T3 = t1(
7506
7506
  (l1) => {
7507
- var N1;
7507
+ var B1;
7508
7508
  s && L && S(!0);
7509
7509
  const _1 = z.current;
7510
- A6(_1, l1) || (z.current = l1, n1(l1), M(l1[1]), l3(l1[0]), J1(l1[0]), L1(l1[1]), (N1 = Y.current) == null || N1.call(Y, l1));
7510
+ A6(_1, l1) || (z.current = l1, n1(l1), M(l1[1]), o3(l1[0]), Q1(l1[0]), L1(l1[1]), (B1 = Y.current) == null || B1.call(Y, l1));
7511
7511
  },
7512
7512
  [
7513
7513
  M,
7514
- l3,
7514
+ o3,
7515
7515
  L1,
7516
- J1,
7516
+ Q1,
7517
7517
  s,
7518
7518
  L
7519
7519
  ]
@@ -7527,20 +7527,20 @@ const nd = u1(
7527
7527
  if (_1 && l1 < _1)
7528
7528
  T3([l1, null]);
7529
7529
  else {
7530
- const N1 = [_1, l1];
7531
- T3(N1), a1("start"), s || (g1(N1), J5());
7530
+ const B1 = [_1, l1];
7531
+ T3(B1), a1("start"), s || (g1(B1), J5());
7532
7532
  }
7533
7533
  }
7534
7534
  }, I7 = t1((l1) => {
7535
- var a3;
7536
- const _1 = l1 ? w3(l1) : null, N1 = z.current, T1 = [_1, N1[1]];
7537
- A6(N1, T1) || (z.current = T1, n1(T1), (a3 = Y.current) == null || a3.call(Y, T1));
7535
+ var s3;
7536
+ const _1 = l1 ? w3(l1) : null, B1 = z.current, F1 = [_1, B1[1]];
7537
+ A6(B1, F1) || (z.current = F1, n1(F1), (s3 = Y.current) == null || s3.call(Y, F1));
7538
7538
  }, []), A7 = t1((l1) => {
7539
- var a3;
7540
- const _1 = l1 ? w3(l1) : null, N1 = z.current, T1 = [N1[0], _1];
7541
- A6(N1, T1) || (z.current = T1, n1(T1), (a3 = Y.current) == null || a3.call(Y, T1));
7539
+ var s3;
7540
+ const _1 = l1 ? w3(l1) : null, B1 = z.current, F1 = [B1[0], _1];
7541
+ A6(B1, F1) || (z.current = F1, n1(F1), (s3 = Y.current) == null || s3.call(Y, F1));
7542
7542
  }, []), X5 = () => {
7543
- t3(o1);
7543
+ e3(o1);
7544
7544
  }, O7 = () => {
7545
7545
  if (L && k && s) {
7546
7546
  Q5();
@@ -7550,7 +7550,7 @@ const nd = u1(
7550
7550
  }, Q5 = () => {
7551
7551
  C2(), l5();
7552
7552
  }, F7 = () => {
7553
- g1(T), J1(T[0]), L1(T[1]), J5();
7553
+ g1(T), Q1(T[0]), L1(T[1]), J5();
7554
7554
  }, J5 = () => {
7555
7555
  a == null || a(), S(!1), l5();
7556
7556
  }, l5 = () => {
@@ -7558,7 +7558,7 @@ const nd = u1(
7558
7558
  }, C2 = () => {
7559
7559
  var _1;
7560
7560
  const l1 = h1 ?? [null, null];
7561
- z.current = l1, n1(l1), (_1 = Y.current) == null || _1.call(Y, l1), u == null || u(), S(!1), l3(l1[0]), M(l1[1]), J1(l1[0]), L1(l1[1]);
7561
+ z.current = l1, n1(l1), (_1 = Y.current) == null || _1.call(Y, l1), u == null || u(), S(!1), o3(l1[0]), M(l1[1]), Q1(l1[0]), L1(l1[1]);
7562
7562
  };
7563
7563
  return Q(() => {
7564
7564
  z.current = T;
@@ -7566,10 +7566,10 @@ const nd = u1(
7566
7566
  const l1 = o ? [o[0] ? w3(o[0]) : null, o[1] ? w3(o[1]) : null] : [null, null];
7567
7567
  A6(z.current, l1) || (z.current = l1, n1(l1));
7568
7568
  }, [o]), Q(() => {
7569
- t3(o1);
7570
- }, [o1, t3]), Q(() => {
7569
+ e3(o1);
7570
+ }, [o1, e3]), Q(() => {
7571
7571
  L && o && o[0] && !o[1] && a1("end");
7572
- }, [L, o, M, l3]), /* @__PURE__ */ m("div", { className: Y6["date-range-picker"], children: [
7572
+ }, [L, o, M, o3]), /* @__PURE__ */ m("div", { className: Y6["date-range-picker"], children: [
7573
7573
  /* @__PURE__ */ r(Ti, { id: $, label: e, required: n, showLabelRequirement: l }),
7574
7574
  /* @__PURE__ */ r(
7575
7575
  n5,
@@ -7596,12 +7596,12 @@ const nd = u1(
7596
7596
  pickerInputRef: A,
7597
7597
  isFocused: Z,
7598
7598
  onKeyDown: X5,
7599
- onMouseDown: s3,
7600
- onMouseUp: e3,
7599
+ onMouseDown: i3,
7600
+ onMouseUp: C3,
7601
7601
  onFocus: m1,
7602
- onBlur: X1,
7602
+ onBlur: q1,
7603
7603
  value: w1 ?? null,
7604
- moveToNextSegment: G1,
7604
+ moveToNextSegment: U1,
7605
7605
  moveToPreviousSegment: q,
7606
7606
  onChange: I7,
7607
7607
  activeSegment: o1,
@@ -7615,11 +7615,11 @@ const nd = u1(
7615
7615
  dateState: p1,
7616
7616
  internalValue: w1,
7617
7617
  increaseActiveSegmentValue: b1,
7618
- decreaseActiveSegmentValue: K1,
7618
+ decreaseActiveSegmentValue: z1,
7619
7619
  resetActiveSegmentValue: g3,
7620
7620
  updateDateSegment: v3,
7621
- updateFullDate: J1,
7622
- displayValue: U1,
7621
+ updateFullDate: Q1,
7622
+ displayValue: K1,
7623
7623
  ariaLabelledBy: K,
7624
7624
  ariaDescribedBy: W,
7625
7625
  openButtonAriaLabel: "Ouvrir le sélecteur de date de début",
@@ -7636,12 +7636,12 @@ const nd = u1(
7636
7636
  pickerInputRef: B,
7637
7637
  isFocused: Z,
7638
7638
  onKeyDown: X5,
7639
- onMouseDown: Y1,
7640
- onMouseUp: e3,
7639
+ onMouseDown: $1,
7640
+ onMouseUp: C3,
7641
7641
  onFocus: f3,
7642
- onBlur: X1,
7643
- value: q1 ?? null,
7644
- moveToNextSegment: G1,
7642
+ onBlur: q1,
7643
+ value: j1 ?? null,
7644
+ moveToNextSegment: U1,
7645
7645
  moveToPreviousSegment: q,
7646
7646
  onChange: A7,
7647
7647
  activeSegment: o1,
@@ -7652,8 +7652,8 @@ const nd = u1(
7652
7652
  maxDate: c,
7653
7653
  disabledDates: w,
7654
7654
  disabled: h,
7655
- dateState: C3,
7656
- internalValue: q1,
7655
+ dateState: J1,
7656
+ internalValue: j1,
7657
7657
  increaseActiveSegmentValue: d1,
7658
7658
  decreaseActiveSegmentValue: f1,
7659
7659
  resetActiveSegmentValue: H1,
@@ -7700,29 +7700,28 @@ const nd = u1(
7700
7700
  ) })
7701
7701
  ] });
7702
7702
  };
7703
- var S1 = /* @__PURE__ */ ((C) => (C.HOURS = "hh", C.MINUTES = "mm", C.SECONDS = "ss", C))(S1 || {});
7703
+ var a3 = /* @__PURE__ */ ((C) => (C.HOURS = "hh", C.MINUTES = "mm", C.SECONDS = "ss", C))(a3 || {});
7704
7704
  const C5 = 0, zi = {
7705
7705
  hh: "",
7706
7706
  mm: "",
7707
7707
  ss: ""
7708
7708
  }, e5 = [
7709
- S1.HOURS,
7710
- S1.MINUTES,
7711
- S1.SECONDS
7709
+ "hh",
7710
+ "mm",
7711
+ "ss"
7712
+ /* SECONDS */
7712
7713
  ], Z2 = {
7713
- [S1.HOURS]: 23,
7714
- [S1.MINUTES]: 59,
7715
- [S1.SECONDS]: 59
7716
- };
7717
- S1.HOURS + "", S1.MINUTES + "", S1.SECONDS + "";
7718
- const Ki = (C, e, t) => {
7714
+ hh: 23,
7715
+ mm: 59,
7716
+ ss: 59
7717
+ }, Ki = (C, e, t) => {
7719
7718
  const l = (isNaN(C) ? C5 : C) + t, o = l > e ? C5 : l;
7720
7719
  return t5(o);
7721
7720
  }, Ui = (C, e, t) => {
7722
7721
  const l = (isNaN(C) ? C5 : C) - t;
7723
7722
  return l < 0 ? t5(e) : t5(l);
7724
7723
  }, t5 = (C) => C.toString().padStart(2, "0"), Gi = (C) => e5[Math.min(e5.indexOf(C) + 1, 2)], Wi = (C) => e5[Math.max(e5.indexOf(C) - 1, 0)], ji = () => {
7725
- const [C, e] = R(S1.HOURS), t = Gi(C), n = Wi(C), l = t1(() => {
7724
+ const [C, e] = R(a3.HOURS), t = Gi(C), n = Wi(C), l = t1(() => {
7726
7725
  e(t);
7727
7726
  }, [t]), o = t1(() => {
7728
7727
  e(n);
@@ -7747,13 +7746,13 @@ const Ki = (C, e, t) => {
7747
7746
  Z.length > 2 || !Xi.test(Z) || n((H) => ({ ...H, [p]: Z }));
7748
7747
  }, a = t1((p) => {
7749
7748
  const Z = p.target.value;
7750
- s(S1.HOURS, Z);
7749
+ s(a3.HOURS, Z);
7751
7750
  }, []), u = t1((p) => {
7752
7751
  const Z = p.target.value;
7753
- s(S1.MINUTES, Z);
7752
+ s(a3.MINUTES, Z);
7754
7753
  }, []), d = t1((p) => {
7755
7754
  const Z = p.target.value;
7756
- s(S1.SECONDS, Z);
7755
+ s(a3.SECONDS, Z);
7757
7756
  }, []), c = t1(
7758
7757
  (p, Z) => {
7759
7758
  if (t[p] === "")
@@ -7779,17 +7778,17 @@ const Ki = (C, e, t) => {
7779
7778
  },
7780
7779
  [t]
7781
7780
  ), h = t1(() => {
7782
- c(S1.SECONDS, i);
7781
+ c(a3.SECONDS, i);
7783
7782
  }, [i, c]), f = t1(() => {
7784
- w(S1.SECONDS, i);
7783
+ w(a3.SECONDS, i);
7785
7784
  }, [i, w]), x = t1(() => {
7786
- c(S1.MINUTES, o);
7785
+ c(a3.MINUTES, o);
7787
7786
  }, [o, c]), V = t1(() => {
7788
- w(S1.MINUTES, o);
7787
+ w(a3.MINUTES, o);
7789
7788
  }, [o, w]), D = t1(() => {
7790
- c(S1.HOURS, l);
7789
+ c(a3.HOURS, l);
7791
7790
  }, [l, c]), g = t1(() => {
7792
- w(S1.HOURS, l);
7791
+ w(a3.HOURS, l);
7793
7792
  }, [l, w]);
7794
7793
  return {
7795
7794
  internalTimeValue: t,
@@ -7890,7 +7889,7 @@ const Ki = (C, e, t) => {
7890
7889
  minuteIncrement: p = 1,
7891
7890
  secondIncrement: Z = 1
7892
7891
  }, H) => {
7893
- var G1;
7892
+ var U1;
7894
7893
  const [L, y] = R(!1), [k, S] = R(!1), E = X(null), _ = X(null), { timePickerDropdownElement: b, timePickerDropdownRef: A } = qi(L), {
7895
7894
  moveToNextSegment: B,
7896
7895
  moveToPreviousSegment: N,
@@ -7916,25 +7915,25 @@ const Ki = (C, e, t) => {
7916
7915
  secondIncrement: Z
7917
7916
  });
7918
7917
  m6(b, L);
7919
- const K1 = oi(P, $), g3 = L && !f, v3 = (q) => {
7918
+ const z1 = oi(P, $), g3 = L && !f, v3 = (q) => {
7920
7919
  _.current = q, typeof H == "function" ? H(q) : H && (H.current = q);
7921
- }, J1 = () => $ === b5 ? x : $ === _5 ? V : D, U1 = (q) => {
7920
+ }, Q1 = () => $ === b5 ? x : $ === _5 ? V : D, K1 = (q) => {
7922
7921
  const C1 = q.key;
7923
- C1 === D1 ? (q.preventDefault(), z()) : C1 === A1 && (q.preventDefault(), p1());
7924
- }, l3 = (q) => {
7922
+ C1 === S1 ? (q.preventDefault(), z()) : C1 === I1 && (q.preventDefault(), p1());
7923
+ }, o3 = (q) => {
7925
7924
  const C1 = q.key;
7926
- C1 === D1 ? (q.preventDefault(), T()) : C1 === A1 && (q.preventDefault(), n1());
7927
- }, C3 = (q) => {
7925
+ C1 === S1 ? (q.preventDefault(), T()) : C1 === I1 && (q.preventDefault(), n1());
7926
+ }, J1 = (q) => {
7928
7927
  const C1 = q.key;
7929
- C1 === D1 ? (q.preventDefault(), w1()) : C1 === A1 && (q.preventDefault(), b1());
7930
- }, q1 = (q) => {
7931
- (q === j6 || q === q6) && f1(), q === P1 && (N(), requestAnimationFrame(() => {
7928
+ C1 === S1 ? (q.preventDefault(), w1()) : C1 === I1 && (q.preventDefault(), b1());
7929
+ }, j1 = (q) => {
7930
+ (q === j6 || q === q6) && f1(), q === R1 && (N(), requestAnimationFrame(() => {
7932
7931
  requestAnimationFrame(() => {
7933
7932
  var o1;
7934
7933
  const C1 = M6(P)[G];
7935
7934
  (o1 = _.current) == null || o1.setSelectionRange(C1[0], C1[1]);
7936
7935
  });
7937
- })), q === $1 && ri(P, $) && (B(), requestAnimationFrame(() => {
7936
+ })), q === P1 && ri(P, $) && (B(), requestAnimationFrame(() => {
7938
7937
  requestAnimationFrame(() => {
7939
7938
  var o1;
7940
7939
  const C1 = M6(P)[U];
@@ -7943,15 +7942,15 @@ const Ki = (C, e, t) => {
7943
7942
  }));
7944
7943
  }, d1 = (q) => {
7945
7944
  const C1 = q.key;
7946
- if ([D1, A1, P1, $1, j6, q6].includes(C1)) {
7947
- q.preventDefault(), q1(C1);
7945
+ if ([S1, I1, R1, P1, j6, q6].includes(C1)) {
7946
+ q.preventDefault(), j1(C1);
7948
7947
  return;
7949
7948
  }
7950
7949
  if (!Ji.test(C1)) {
7951
7950
  g1();
7952
7951
  return;
7953
7952
  }
7954
- if (J1()) {
7953
+ if (Q1()) {
7955
7954
  g1();
7956
7955
  return;
7957
7956
  } else {
@@ -8037,14 +8036,14 @@ const Ki = (C, e, t) => {
8037
8036
  isList: !1,
8038
8037
  onClose: h1,
8039
8038
  offset: 8,
8040
- style: { width: (G1 = E.current) == null ? void 0 : G1.offsetWidth },
8039
+ style: { width: (U1 = E.current) == null ? void 0 : U1.offsetWidth },
8041
8040
  trigger: /* @__PURE__ */ r(
8042
8041
  q5,
8043
8042
  {
8044
8043
  id: C,
8045
8044
  ariaLabelledBy: e,
8046
8045
  "aria-label": o ? void 0 : l,
8047
- value: K1,
8046
+ value: z1,
8048
8047
  readOnly: a,
8049
8048
  onFocus: M,
8050
8049
  onKeyDown: d1,
@@ -8071,7 +8070,7 @@ const Ki = (C, e, t) => {
8071
8070
  {
8072
8071
  value: P.hh,
8073
8072
  onChange: K,
8074
- onKeyDown: C3,
8073
+ onKeyDown: J1,
8075
8074
  increase: w1,
8076
8075
  decrease: b1,
8077
8076
  unit: "h",
@@ -8084,7 +8083,7 @@ const Ki = (C, e, t) => {
8084
8083
  {
8085
8084
  value: P.mm,
8086
8085
  onChange: j,
8087
- onKeyDown: l3,
8086
+ onKeyDown: o3,
8088
8087
  increase: T,
8089
8088
  decrease: n1,
8090
8089
  unit: "m",
@@ -8097,7 +8096,7 @@ const Ki = (C, e, t) => {
8097
8096
  {
8098
8097
  value: P.ss,
8099
8098
  onChange: W,
8100
- onKeyDown: U1,
8099
+ onKeyDown: K1,
8101
8100
  increase: z,
8102
8101
  decrease: p1,
8103
8102
  unit: "s",
@@ -8178,7 +8177,7 @@ const Ki = (C, e, t) => {
8178
8177
  S && D ? (N(), B(!0)) : B(!1);
8179
8178
  }, [S, D, N]);
8180
8179
  const U = (j) => {
8181
- j.key === F1 && (j.preventDefault(), S || E(!0));
8180
+ j.key === O1 && (j.preventDefault(), S || E(!0));
8182
8181
  }, P = (j) => {
8183
8182
  S || (j.preventDefault(), E(!0));
8184
8183
  }, r1 = () => {
@@ -8354,7 +8353,7 @@ const Ki = (C, e, t) => {
8354
8353
  showSearchButton: !1,
8355
8354
  showLeftIcon: !0
8356
8355
  }
8357
- }, _s = "_container_fb63b_1", ys = "_inputContainer_fb63b_10", Ss = "_input_fb63b_10", Ds = "_inputBar_fb63b_14", Bs = "_inputField_fb63b_14", Ns = "_text_fb63b_21", ks = "_inputCounter_fb63b_25", Is = "_leftIcon_fb63b_28", As = "_labelContainer_fb63b_40", Os = "_inputLabel_fb63b_44", Fs = "_withLeftIcon_fb63b_71", Ts = "_withRightIcon_fb63b_74", Es = "_rightIcon_fb63b_82", W1 = {
8356
+ }, _s = "_container_fb63b_1", ys = "_inputContainer_fb63b_10", Ss = "_input_fb63b_10", Ds = "_inputBar_fb63b_14", Bs = "_inputField_fb63b_14", Ns = "_text_fb63b_21", ks = "_inputCounter_fb63b_25", Is = "_leftIcon_fb63b_28", As = "_labelContainer_fb63b_40", Os = "_inputLabel_fb63b_44", Fs = "_withLeftIcon_fb63b_71", Ts = "_withRightIcon_fb63b_74", Es = "_rightIcon_fb63b_82", G1 = {
8358
8357
  container: _s,
8359
8358
  inputContainer: ys,
8360
8359
  input: Ss,
@@ -8412,40 +8411,40 @@ const Ki = (C, e, t) => {
8412
8411
  }, K = () => {
8413
8412
  G(!$);
8414
8413
  }, j = h ? "error" : i, W = e1(
8415
- W1.inputBar,
8416
- j ? W1.withLeftIcon : "",
8417
- a ? W1.withRightIcon : ""
8414
+ G1.inputBar,
8415
+ j ? G1.withLeftIcon : "",
8416
+ a ? G1.withRightIcon : ""
8418
8417
  ), T = l && typeof f == "number", n1 = _(a), z = b(a), p1 = () => V || x ? !1 : a === "clean" ? !!(A != null && A.length) && s : s && !!a;
8419
8418
  return /* @__PURE__ */ m(
8420
8419
  "div",
8421
8420
  {
8422
- className: W1.container,
8421
+ className: G1.container,
8423
8422
  "data-label-position": t,
8424
8423
  "data-error": h,
8425
8424
  style: { width: D },
8426
8425
  "data-compact-spacing": Z,
8427
8426
  children: [
8428
- e && /* @__PURE__ */ m("div", { className: W1.text, children: [
8429
- /* @__PURE__ */ m("div", { className: W1.labelContainer, children: [
8430
- /* @__PURE__ */ m("label", { className: W1.inputLabel, id: `inputLabel-${C}`, htmlFor: C, children: [
8427
+ e && /* @__PURE__ */ m("div", { className: G1.text, children: [
8428
+ /* @__PURE__ */ m("div", { className: G1.labelContainer, children: [
8429
+ /* @__PURE__ */ m("label", { className: G1.inputLabel, id: `inputLabel-${C}`, htmlFor: C, children: [
8431
8430
  " ",
8432
8431
  e,
8433
8432
  " "
8434
8433
  ] }),
8435
8434
  /* @__PURE__ */ r(Z3, { required: n, showLabelRequirement: u })
8436
8435
  ] }),
8437
- T && t === "top" && /* @__PURE__ */ m("p", { className: W1.inputCounter, "data-testid": "input-counter", children: [
8436
+ T && t === "top" && /* @__PURE__ */ m("p", { className: G1.inputCounter, "data-testid": "input-counter", children: [
8438
8437
  " ",
8439
8438
  N,
8440
8439
  "/",
8441
8440
  f
8442
8441
  ] })
8443
8442
  ] }),
8444
- /* @__PURE__ */ m("div", { className: W1.inputContainer, children: [
8443
+ /* @__PURE__ */ m("div", { className: G1.inputContainer, children: [
8445
8444
  /* @__PURE__ */ m(
8446
8445
  "div",
8447
8446
  {
8448
- className: W1.input,
8447
+ className: G1.input,
8449
8448
  "data-label-position": t,
8450
8449
  "data-disabled": x,
8451
8450
  "data-read-only": V,
@@ -8456,7 +8455,7 @@ const Ki = (C, e, t) => {
8456
8455
  {
8457
8456
  name: j,
8458
8457
  appearance: "outlined",
8459
- className: W1.leftIcon,
8458
+ className: G1.leftIcon,
8460
8459
  "aria-hidden": "true",
8461
8460
  "data-testid": `left-icon ${j}`
8462
8461
  }
@@ -8471,7 +8470,7 @@ const Ki = (C, e, t) => {
8471
8470
  type: $ ? "password" : "text",
8472
8471
  "data-error": h,
8473
8472
  "data-highlighted": y,
8474
- className: W1.inputField,
8473
+ className: G1.inputField,
8475
8474
  maxLength: f,
8476
8475
  onChange: U,
8477
8476
  disabled: x,
@@ -8489,7 +8488,7 @@ const Ki = (C, e, t) => {
8489
8488
  variant: "neutral",
8490
8489
  size: "s",
8491
8490
  compactSpacing: !0,
8492
- className: W1.rightIcon,
8491
+ className: G1.rightIcon,
8493
8492
  "aria-label": z,
8494
8493
  disabled: x,
8495
8494
  onClick: r1,
@@ -8497,13 +8496,13 @@ const Ki = (C, e, t) => {
8497
8496
  }
8498
8497
  )
8499
8498
  ] }),
8500
- L && /* @__PURE__ */ r("div", { className: W1.rightSlot, children: L })
8499
+ L && /* @__PURE__ */ r("div", { className: G1.rightSlot, children: L })
8501
8500
  ]
8502
8501
  }
8503
8502
  ),
8504
8503
  w && /* @__PURE__ */ r(F3, { label: w, appearance: d, showIcon: c })
8505
8504
  ] }),
8506
- T && t == "side" && /* @__PURE__ */ m("p", { className: W1.inputCounter, "data-testid": "input-counter", children: [
8505
+ T && t == "side" && /* @__PURE__ */ m("p", { className: G1.inputCounter, "data-testid": "input-counter", children: [
8507
8506
  " ",
8508
8507
  N,
8509
8508
  "/",
@@ -8570,12 +8569,12 @@ const cd = u1(
8570
8569
  C == null || C(u);
8571
8570
  }, [C, u]), H = t1(
8572
8571
  (_) => {
8573
- _.key === F1 && (C == null || C(u));
8572
+ _.key === O1 && (C == null || C(u));
8574
8573
  },
8575
8574
  [C, u]
8576
8575
  ), L = t1(() => {
8577
8576
  e == null || e(""), t == null || t();
8578
- }, [e, t]), y = I1(() => o ? "Recherche indisponible" : l, [o, l]), k = I1(
8577
+ }, [e, t]), y = k1(() => o ? "Recherche indisponible" : l, [o, l]), k = k1(
8579
8578
  () => ({
8580
8579
  disabled: o,
8581
8580
  value: u,
@@ -8604,13 +8603,13 @@ const cd = u1(
8604
8603
  x.showLeftIcon,
8605
8604
  h
8606
8605
  ]
8607
- ), S = I1(
8606
+ ), S = k1(
8608
8607
  () => ({
8609
8608
  ...zs(s, x.showLeftIcon),
8610
8609
  ...c ?? {}
8611
8610
  }),
8612
8611
  [s, x.showLeftIcon, c]
8613
- ), E = I1(() => Ks(a), [a]);
8612
+ ), E = k1(() => Ks(a), [a]);
8614
8613
  return /* @__PURE__ */ r("div", { className: y5.searchbarContainer, role: "search", "data-appearance": s, children: /* @__PURE__ */ r("div", { ref: g, className: y5.textInputWrapper, "data-disabled": o, children: /* @__PURE__ */ r(
8615
8614
  Rs,
8616
8615
  {
@@ -8741,7 +8740,7 @@ const cd = u1(
8741
8740
  Ca(x);
8742
8741
  const D = (y) => {
8743
8742
  var k, S;
8744
- if (y.key === Q1 || y.key === F1)
8743
+ if (y.key === X1 || y.key === O1)
8745
8744
  L == null || L(y);
8746
8745
  else if (y.key === s6 || y.key === a6) {
8747
8746
  const E = (S = (k = x.current) == null ? void 0 : k.parentElement) == null ? void 0 : S.parentElement, _ = Array.from(
@@ -8762,7 +8761,7 @@ const cd = u1(
8762
8761
  { onKeyUp: D, onKeyDown: g },
8763
8762
  {
8764
8763
  id: C,
8765
- interactiveKeyCodes: [Q1, F1, w6, s6, a6]
8764
+ interactiveKeyCodes: [X1, O1, w6, s6, a6]
8766
8765
  }
8767
8766
  ), L = (y) => {
8768
8767
  y.preventDefault(), y.stopPropagation(), o == null || o(y);
@@ -8795,7 +8794,7 @@ const cd = u1(
8795
8794
  children: [
8796
8795
  l && /* @__PURE__ */ r(J, { name: "check-small", appearance: "filled", size: 24, className: c3["selected-icon"] }),
8797
8796
  /* @__PURE__ */ r("div", { className: c3["segment-content"], children: e ? /* @__PURE__ */ r(J, { name: e, appearance: l ? "filled" : "outlined", size: h ? 20 : 24 }) : /* @__PURE__ */ r("span", { className: c3["segment-label"], children: t }) }),
8798
- B6({ showBadge: !!c, badgeContent: s, badgeCount: i, badgeIcon: a }) && /* @__PURE__ */ r(z1, { count: i, content: s, icon: a, badgeType: u, size: d })
8797
+ B6({ showBadge: !!c, badgeContent: s, badgeCount: i, badgeIcon: a }) && /* @__PURE__ */ r(Y1, { count: i, content: s, icon: a, badgeType: u, size: d })
8799
8798
  ]
8800
8799
  }
8801
8800
  )
@@ -8849,7 +8848,7 @@ const cd = u1(
8849
8848
  }
8850
8849
  ), ta = 100, na = 8, ra = (C, e, t) => Array.isArray(t) ? C === "first-selected" ? e.find((n) => n.value === t[0]) : C === "last-selected" ? e.find((n) => n.value === t[t.length - 1]) : e.find(
8851
8850
  (n) => Array.isArray(t) ? t.includes(n.value) : n.value === t
8852
- ) : e.find((n) => n.value === t), n3 = {
8851
+ ) : e.find((n) => n.value === t), t3 = {
8853
8852
  "select-container": "_select-container_1dj4v_1",
8854
8853
  "select-header": "_select-header_1dj4v_16",
8855
8854
  "select-label": "_select-label_1dj4v_20",
@@ -8904,7 +8903,7 @@ const cd = u1(
8904
8903
  b.current.focus(), _(!E);
8905
8904
  }
8906
8905
  }, U = (W) => {
8907
- document.activeElement === b.current && (W.key === Q1 || W.key === F1) && (W.preventDefault(), G());
8906
+ document.activeElement === b.current && (W.key === X1 || W.key === O1) && (W.preventDefault(), G());
8908
8907
  }, P = (W) => {
8909
8908
  var T;
8910
8909
  W.stopPropagation(), g ? (S([]), w == null || w()) : (K(""), w == null || w()), (T = b.current) == null || T.focus();
@@ -8923,13 +8922,13 @@ const cd = u1(
8923
8922
  );
8924
8923
  return;
8925
8924
  }
8926
- return /* @__PURE__ */ r(i1, { children: /* @__PURE__ */ m("div", { className: n3["select-container"], "data-label-position": t, children: [
8927
- o && t === "side" && /* @__PURE__ */ m("label", { htmlFor: C, id: e, className: n3["select-label"], children: [
8925
+ return /* @__PURE__ */ r(i1, { children: /* @__PURE__ */ m("div", { className: t3["select-container"], "data-label-position": t, children: [
8926
+ o && t === "side" && /* @__PURE__ */ m("label", { htmlFor: C, id: e, className: t3["select-label"], children: [
8928
8927
  e,
8929
8928
  /* @__PURE__ */ r(Z3, { required: n, showLabelRequirement: d })
8930
8929
  ] }),
8931
- /* @__PURE__ */ m("div", { className: n3["select-header"], children: [
8932
- o && t === "top" && /* @__PURE__ */ m("label", { htmlFor: C, id: e, className: n3["select-label"], children: [
8930
+ /* @__PURE__ */ m("div", { className: t3["select-header"], children: [
8931
+ o && t === "top" && /* @__PURE__ */ m("label", { htmlFor: C, id: e, className: t3["select-label"], children: [
8933
8932
  e,
8934
8933
  /* @__PURE__ */ r(Z3, { required: n, showLabelRequirement: d })
8935
8934
  ] }),
@@ -8954,14 +8953,14 @@ const cd = u1(
8954
8953
  "data-disabled": x ? "true" : "false",
8955
8954
  "data-read-only": V ? "true" : "false",
8956
8955
  id: C,
8957
- className: n3["select-wrapper"],
8956
+ className: t3["select-wrapper"],
8958
8957
  role: "combobox",
8959
8958
  tabIndex: x || V ? -1 : 0,
8960
8959
  onClick: G,
8961
8960
  onKeyDown: U,
8962
- children: /* @__PURE__ */ m("div", { className: n3["select-content"], children: [
8963
- Y && /* @__PURE__ */ r(J, { name: "error", className: n3["error-icon"] }),
8964
- /* @__PURE__ */ r("div", { className: n3["select-value"], children: N && /* @__PURE__ */ r(i1, { children: g ? /* @__PURE__ */ m("div", { className: n3["select-multiple-values"], children: [
8961
+ children: /* @__PURE__ */ m("div", { className: t3["select-content"], children: [
8962
+ Y && /* @__PURE__ */ r(J, { name: "error", className: t3["error-icon"] }),
8963
+ /* @__PURE__ */ r("div", { className: t3["select-value"], children: N && /* @__PURE__ */ r(i1, { children: g ? /* @__PURE__ */ m("div", { className: t3["select-multiple-values"], children: [
8965
8964
  /* @__PURE__ */ r(
8966
8965
  ml,
8967
8966
  {
@@ -8973,7 +8972,7 @@ const cd = u1(
8973
8972
  }
8974
8973
  ),
8975
8974
  k.length > 1 && /* @__PURE__ */ r(
8976
- z1,
8975
+ Y1,
8977
8976
  {
8978
8977
  count: k.length - 1,
8979
8978
  content: "number",
@@ -8983,13 +8982,13 @@ const cd = u1(
8983
8982
  }
8984
8983
  )
8985
8984
  ] }) : /* @__PURE__ */ r("span", { children: N.label }) }) }),
8986
- /* @__PURE__ */ m("div", { className: n3["select-right-icons"], children: [
8985
+ /* @__PURE__ */ m("div", { className: t3["select-right-icons"], children: [
8987
8986
  B && /* @__PURE__ */ r(
8988
8987
  v1,
8989
8988
  {
8990
8989
  name: "cancel",
8991
8990
  variant: "neutral",
8992
- className: e1(n3["icon-button"], n3["clear-icon"]),
8991
+ className: e1(t3["icon-button"], t3["clear-icon"]),
8993
8992
  onClick: P,
8994
8993
  disabled: x
8995
8994
  }
@@ -8999,7 +8998,7 @@ const cd = u1(
8999
8998
  {
9000
8999
  name: E ? "arrow-chevron-up" : "arrow-chevron-down",
9001
9000
  "data-testid": "trigger-icon",
9002
- className: n3["trigger-icon"]
9001
+ className: t3["trigger-icon"]
9003
9002
  }
9004
9003
  )
9005
9004
  ] })
@@ -9195,12 +9194,12 @@ function _7({
9195
9194
  } = {}) {
9196
9195
  const l = t1(
9197
9196
  (s) => {
9198
- [Q1, F1].includes(s.key) && (s.preventDefault(), C == null || C()), s.key === G6 && n && (s.preventDefault(), e == null || e());
9197
+ [X1, O1].includes(s.key) && (s.preventDefault(), C == null || C()), s.key === G6 && n && (s.preventDefault(), e == null || e());
9199
9198
  },
9200
9199
  [C, e, n]
9201
9200
  ), o = [
9202
- Q1,
9203
- F1,
9201
+ X1,
9202
+ O1,
9204
9203
  ...n ? [G6] : [],
9205
9204
  ...t ? [k3, h6] : []
9206
9205
  ], { onKeyDown: i } = f6({ onKeyDown: l }, { interactiveKeyCodes: o });
@@ -9245,7 +9244,7 @@ const E5 = u1(
9245
9244
  styleType: "item"
9246
9245
  }
9247
9246
  ) }),
9248
- /* @__PURE__ */ r("div", { className: i6.navItemRight, children: !o && c && /* @__PURE__ */ r(z1, { badgeType: c.badgeType, size: c.size, content: c.content, count: c.count }) })
9247
+ /* @__PURE__ */ r("div", { className: i6.navItemRight, children: !o && c && /* @__PURE__ */ r(Y1, { badgeType: c.badgeType, size: c.size, content: c.content, count: c.count }) })
9249
9248
  ] }), Z = i ? /* @__PURE__ */ r(
9250
9249
  "a",
9251
9250
  {
@@ -9331,7 +9330,7 @@ const E5 = u1(
9331
9330
  }
9332
9331
  ) }),
9333
9332
  /* @__PURE__ */ m("div", { className: z3.menuContentRight, children: [
9334
- !l && w && /* @__PURE__ */ r(z1, { badgeType: w.badgeType, size: w.size, content: w.content, count: w.count }),
9333
+ !l && w && /* @__PURE__ */ r(Y1, { badgeType: w.badgeType, size: w.size, content: w.content, count: w.count }),
9335
9334
  _
9336
9335
  ] })
9337
9336
  ] }), A = /* @__PURE__ */ m(
@@ -9393,7 +9392,7 @@ const E5 = u1(
9393
9392
  badge: N.badge
9394
9393
  }
9395
9394
  ) }),
9396
- N.showDivider && /* @__PURE__ */ r(O1, { appearance: T5[c] })
9395
+ N.showDivider && /* @__PURE__ */ r(A1, { appearance: T5[c] })
9397
9396
  ] }, N.id || N.label);
9398
9397
  }) })
9399
9398
  ]
@@ -9401,10 +9400,10 @@ const E5 = u1(
9401
9400
  );
9402
9401
  return /* @__PURE__ */ m(i1, { children: [
9403
9402
  /* @__PURE__ */ r(Z7, { label: n, collapsed: l, children: A }),
9404
- h && /* @__PURE__ */ r(O1, { appearance: T5[c] })
9403
+ h && /* @__PURE__ */ r(A1, { appearance: T5[c] })
9405
9404
  ] });
9406
9405
  }
9407
- ), _a = "_sideNavHeaderContainer_9bdkw_27", ya = "_sideNavHeader_9bdkw_27", Sa = "_sideNavHeaderTitleContainer_9bdkw_64", Da = "_sideNavHeaderTitle_9bdkw_64", Ba = "_sideNavHeaderIdentifier_9bdkw_102", Na = "_sideNavHeaderVersion_9bdkw_143", ka = "_sideNavBody_9bdkw_172", Ia = "_sideNavFooterContainer_9bdkw_195", Aa = "_sideNavFooter_9bdkw_195", Oa = "_sideNavFooterItems_9bdkw_208", Fa = "_collapsibleSection_9bdkw_225", r3 = {
9406
+ ), _a = "_sideNavHeaderContainer_9bdkw_27", ya = "_sideNavHeader_9bdkw_27", Sa = "_sideNavHeaderTitleContainer_9bdkw_64", Da = "_sideNavHeaderTitle_9bdkw_64", Ba = "_sideNavHeaderIdentifier_9bdkw_102", Na = "_sideNavHeaderVersion_9bdkw_143", ka = "_sideNavBody_9bdkw_172", Ia = "_sideNavFooterContainer_9bdkw_195", Aa = "_sideNavFooter_9bdkw_195", Oa = "_sideNavFooterItems_9bdkw_208", Fa = "_collapsibleSection_9bdkw_225", n3 = {
9408
9407
  sideNavHeaderContainer: _a,
9409
9408
  sideNavHeader: ya,
9410
9409
  sideNavHeaderTitleContainer: Sa,
@@ -9447,20 +9446,20 @@ const E5 = u1(
9447
9446
  const _ = !w;
9448
9447
  i === void 0 && h(_), a == null || a(_);
9449
9448
  }, D = w ? "arrow-double-right" : "arrow-double-left", g = T5[u], p = (_) => {
9450
- [Q1, F1].includes(_.key) && (_.preventDefault(), n != null && n.onClick && n.onClick());
9449
+ [X1, O1].includes(_.key) && (_.preventDefault(), n != null && n.onClick && n.onClick());
9451
9450
  }, { onKeyDown: Z } = f6(
9452
9451
  { onKeyDown: p },
9453
9452
  {
9454
- interactiveKeyCodes: [Q1, F1]
9453
+ interactiveKeyCodes: [X1, O1]
9455
9454
  }
9456
- ), H = /* @__PURE__ */ m("div", { className: r3.sideNavHeaderTitle, children: [
9457
- /* @__PURE__ */ r("div", { className: r3.sideNavHeaderIdentifier, children: n == null ? void 0 : n.identifier }),
9455
+ ), H = /* @__PURE__ */ m("div", { className: n3.sideNavHeaderTitle, children: [
9456
+ /* @__PURE__ */ r("div", { className: n3.sideNavHeaderIdentifier, children: n == null ? void 0 : n.identifier }),
9458
9457
  w ? "" : /* @__PURE__ */ r("h1", { "data-hidden": !f, children: n == null ? void 0 : n.title })
9459
9458
  ] }), L = n == null ? void 0 : n.ariaLabel, y = /* @__PURE__ */ r(
9460
9459
  "a",
9461
9460
  {
9462
9461
  href: (n == null ? void 0 : n.link) ?? "",
9463
- className: r3.sideNavHeaderTitleContainer,
9462
+ className: n3.sideNavHeaderTitleContainer,
9464
9463
  onClick: n == null ? void 0 : n.onClick,
9465
9464
  "aria-label": L,
9466
9465
  children: H
@@ -9468,7 +9467,7 @@ const E5 = u1(
9468
9467
  ), k = /* @__PURE__ */ r(
9469
9468
  "div",
9470
9469
  {
9471
- className: r3.sideNavHeaderTitleContainer,
9470
+ className: n3.sideNavHeaderTitleContainer,
9472
9471
  tabIndex: 0,
9473
9472
  onClick: n == null ? void 0 : n.onClick,
9474
9473
  onKeyDown: Z,
@@ -9476,7 +9475,7 @@ const E5 = u1(
9476
9475
  "aria-label": L,
9477
9476
  children: H
9478
9477
  }
9479
- ), S = n != null && n.link ? y : n != null && n.onClick ? k : /* @__PURE__ */ r("div", { className: r3.sideNavHeaderTitleContainer, children: H });
9478
+ ), S = n != null && n.link ? y : n != null && n.onClick ? k : /* @__PURE__ */ r("div", { className: n3.sideNavHeaderTitleContainer, children: H });
9480
9479
  function E(_) {
9481
9480
  return _ != null && _.length ? /* @__PURE__ */ r("ul", { children: _.map((b) => {
9482
9481
  var B;
@@ -9511,7 +9510,7 @@ const E5 = u1(
9511
9510
  active: b.id === d && !!d
9512
9511
  }
9513
9512
  ) }),
9514
- b.showDivider && /* @__PURE__ */ r(O1, { appearance: g })
9513
+ b.showDivider && /* @__PURE__ */ r(A1, { appearance: g })
9515
9514
  ] }, b.id);
9516
9515
  }) }) : null;
9517
9516
  }
@@ -9523,18 +9522,18 @@ const E5 = u1(
9523
9522
  collapsed: w,
9524
9523
  appearance: u,
9525
9524
  style: { minHeight: "100vh" },
9526
- header: /* @__PURE__ */ m("div", { className: r3.sideNavHeaderContainer, children: [
9527
- /* @__PURE__ */ m("div", { className: r3.sideNavHeader, "data-collapsed": w, "data-appearance": u, children: [
9525
+ header: /* @__PURE__ */ m("div", { className: n3.sideNavHeaderContainer, children: [
9526
+ /* @__PURE__ */ m("div", { className: n3.sideNavHeader, "data-collapsed": w, "data-appearance": u, children: [
9528
9527
  S,
9529
- /* @__PURE__ */ r("div", { className: r3.sideNavHeaderVersion, "data-hidden": !f, children: /* @__PURE__ */ r("span", { children: n == null ? void 0 : n.version }) })
9528
+ /* @__PURE__ */ r("div", { className: n3.sideNavHeaderVersion, "data-hidden": !f, children: /* @__PURE__ */ r("span", { children: n == null ? void 0 : n.version }) })
9530
9529
  ] }),
9531
- /* @__PURE__ */ r(O1, { appearance: g })
9530
+ /* @__PURE__ */ r(A1, { appearance: g })
9532
9531
  ] }),
9533
- body: /* @__PURE__ */ r("div", { className: r3.sideNavBody, children: E(l) }),
9534
- footer: ((o == null ? void 0 : o.length) || e) && /* @__PURE__ */ m("div", { className: r3.sideNavFooterContainer, children: [
9535
- (o == null ? void 0 : o.length) && /* @__PURE__ */ r("div", { className: r3.sideNavFooterItems, children: E(o) }),
9536
- /* @__PURE__ */ r(O1, { appearance: g }),
9537
- /* @__PURE__ */ r("div", { className: r3.sideNavFooter, children: e && /* @__PURE__ */ r("div", { className: r3.collapsibleSection, children: /* @__PURE__ */ r(
9532
+ body: /* @__PURE__ */ r("div", { className: n3.sideNavBody, children: E(l) }),
9533
+ footer: ((o == null ? void 0 : o.length) || e) && /* @__PURE__ */ m("div", { className: n3.sideNavFooterContainer, children: [
9534
+ (o == null ? void 0 : o.length) && /* @__PURE__ */ r("div", { className: n3.sideNavFooterItems, children: E(o) }),
9535
+ /* @__PURE__ */ r(A1, { appearance: g }),
9536
+ /* @__PURE__ */ r("div", { className: n3.sideNavFooter, children: e && /* @__PURE__ */ r("div", { className: n3.collapsibleSection, children: /* @__PURE__ */ r(
9538
9537
  E5,
9539
9538
  {
9540
9539
  id: "collapse-button",
@@ -9589,9 +9588,9 @@ const E5 = u1(
9589
9588
  ...D
9590
9589
  }, g) => {
9591
9590
  const [p, Z] = R(!1), H = X(null), L = X(null), y = X(null), [k, S] = l.split("-"), E = (b) => {
9592
- [F1].includes(b.key) && b.preventDefault();
9591
+ [O1].includes(b.key) && b.preventDefault();
9593
9592
  }, _ = (b) => {
9594
- [F1, k3].includes(b.key) && Z(!0);
9593
+ [O1, k3].includes(b.key) && Z(!0);
9595
9594
  };
9596
9595
  return /* @__PURE__ */ m(
9597
9596
  "div",
@@ -9631,7 +9630,7 @@ const E5 = u1(
9631
9630
  "data-testid": "Menu container",
9632
9631
  position: k,
9633
9632
  alignment: S,
9634
- trigger: B6({ showBadge: !!c, badgeContent: w, badgeCount: x, badgeIcon: h }) ? /* @__PURE__ */ r(z1, { count: x, content: w, badgeType: f, icon: h, size: V, children: /* @__PURE__ */ r(
9633
+ trigger: B6({ showBadge: !!c, badgeContent: w, badgeCount: x, badgeIcon: h }) ? /* @__PURE__ */ r(Y1, { count: x, content: w, badgeType: f, icon: h, size: V, children: /* @__PURE__ */ r(
9635
9634
  "button",
9636
9635
  {
9637
9636
  type: "button",
@@ -10060,7 +10059,7 @@ const E5 = u1(
10060
10059
  children: [
10061
10060
  u && /* @__PURE__ */ r(J, { name: u, appearance: n ? "filled" : "outlined" }),
10062
10061
  t && /* @__PURE__ */ r("span", { children: t }),
10063
- Z && /* @__PURE__ */ r(z1, { ...D })
10062
+ Z && /* @__PURE__ */ r(Y1, { ...D })
10064
10063
  ]
10065
10064
  }
10066
10065
  ),
@@ -10206,7 +10205,7 @@ const E5 = u1(
10206
10205
  A && A.icon && /* @__PURE__ */ r(J, { name: A.icon, appearance: "filled" }),
10207
10206
  A && /* @__PURE__ */ r("div", { style: { flexShrink: 0 }, children: A == null ? void 0 : A.label }),
10208
10207
  A.badgeCount && A.badgeCount > 0 && A.badgeContent === "number" && /* @__PURE__ */ r(
10209
- z1,
10208
+ Y1,
10210
10209
  {
10211
10210
  badgeType: A.badgeType,
10212
10211
  content: A.badgeContent,
@@ -10697,7 +10696,7 @@ const K6 = {
10697
10696
  }, Pc = (C, e, t, n) => {
10698
10697
  const l = n ? new Set(n) : /* @__PURE__ */ new Set(), o = { id: C, labelText: e, items: t }, i = g6(t);
10699
10698
  return h7(o, l) || l.has(o.id) && !i;
10700
- }, E1 = {
10699
+ }, T1 = {
10701
10700
  "rte-treeview-item": "_rte-treeview-item_ibuou_1",
10702
10701
  "rte-treeview-item-checkbox": "_rte-treeview-item-checkbox_ibuou_9",
10703
10702
  "rte-treeview-item-borders-container": "_rte-treeview-item-borders-container_ibuou_12",
@@ -10770,7 +10769,7 @@ const K6 = {
10770
10769
  return /* @__PURE__ */ m(
10771
10770
  "li",
10772
10771
  {
10773
- className: e1(E1["rte-treeview-item"], "treeview-item"),
10772
+ className: e1(T1["rte-treeview-item"], "treeview-item"),
10774
10773
  "data-disabled": o,
10775
10774
  "data-item-id": _,
10776
10775
  "data-has-children": r6(c),
@@ -10785,11 +10784,11 @@ const K6 = {
10785
10784
  "aria-level": L + 1,
10786
10785
  "data-has-checked-items": H && H.length > 0,
10787
10786
  children: [
10788
- /* @__PURE__ */ m("div", { className: E1["rte-treeview-item-row"], children: [
10787
+ /* @__PURE__ */ m("div", { className: T1["rte-treeview-item-row"], children: [
10789
10788
  s && /* @__PURE__ */ r(
10790
10789
  "div",
10791
10790
  {
10792
- className: E1["rte-treeview-item-checkbox"],
10791
+ className: T1["rte-treeview-item-checkbox"],
10793
10792
  role: "input",
10794
10793
  "data-treeview-focusable": "checkbox",
10795
10794
  "aria-checked": A ? "mixed" : b ? "true" : "false",
@@ -10811,15 +10810,15 @@ const K6 = {
10811
10810
  )
10812
10811
  }
10813
10812
  ),
10814
- /* @__PURE__ */ m("div", { className: E1["rte-treeview-item-borders-container"], children: [
10813
+ /* @__PURE__ */ m("div", { className: T1["rte-treeview-item-borders-container"], children: [
10815
10814
  G.map((z, p1) => /* @__PURE__ */ r(Rc, { isCompact: !!i, borderType: z }, p1)),
10816
10815
  r6(c) && /* @__PURE__ */ r(
10817
10816
  "button",
10818
10817
  {
10819
10818
  type: "button",
10820
10819
  className: e1(
10821
- E1["rte-treeview-item-chevron"],
10822
- y ? E1["rte-treeview-item-chevron-open"] : ""
10820
+ T1["rte-treeview-item-chevron"],
10821
+ y ? T1["rte-treeview-item-chevron-open"] : ""
10823
10822
  ),
10824
10823
  onClick: U,
10825
10824
  "aria-label": `${y ? "Fermer" : "Ouvrir"} les enfants de ${n}`,
@@ -10830,33 +10829,33 @@ const K6 = {
10830
10829
  }
10831
10830
  )
10832
10831
  ] }),
10833
- /* @__PURE__ */ r("div", { className: E1["rte-treeview-item-content-wrapper"], children: /* @__PURE__ */ m(
10832
+ /* @__PURE__ */ r("div", { className: T1["rte-treeview-item-content-wrapper"], children: /* @__PURE__ */ m(
10834
10833
  "div",
10835
10834
  {
10836
- className: E1["rte-treeview-item-main-content"],
10835
+ className: T1["rte-treeview-item-main-content"],
10837
10836
  onClick: Y,
10838
10837
  onKeyDown: n1,
10839
10838
  "data-testid": `treeview-item-main-content-${C}`,
10840
10839
  children: [
10841
- u && l && !i && /* @__PURE__ */ r(J, { name: l, className: E1["rte-treeview-item-icon"], size: 16 }),
10840
+ u && l && !i && /* @__PURE__ */ r(J, { name: l, className: T1["rte-treeview-item-icon"], size: 16 }),
10842
10841
  /* @__PURE__ */ r(
10843
10842
  "div",
10844
10843
  {
10845
10844
  className: e1(
10846
- E1["rte-treeview-item-content"],
10847
- i ? E1["rte-treeview-item-content-compact"] : ""
10845
+ T1["rte-treeview-item-content"],
10846
+ i ? T1["rte-treeview-item-content-compact"] : ""
10848
10847
  ),
10849
10848
  "data-treeview-focusable": "content",
10850
10849
  tabIndex: -1,
10851
- children: /* @__PURE__ */ m("span", { className: E1["rte-treeview-item-label"], children: [
10850
+ children: /* @__PURE__ */ m("span", { className: T1["rte-treeview-item-label"], children: [
10852
10851
  " ",
10853
10852
  n,
10854
10853
  " "
10855
10854
  ] })
10856
10855
  }
10857
10856
  ),
10858
- d && /* @__PURE__ */ r(z1, { badgeType: "indicator", content: "empty", size: "s" }),
10859
- h && /* @__PURE__ */ r(i1, { children: f ? /* @__PURE__ */ r("div", { className: E1["rte-treeview-item-action"], children: /* @__PURE__ */ r(
10857
+ d && /* @__PURE__ */ r(Y1, { badgeType: "indicator", content: "empty", size: "s" }),
10858
+ h && /* @__PURE__ */ r(i1, { children: f ? /* @__PURE__ */ r("div", { className: T1["rte-treeview-item-action"], children: /* @__PURE__ */ r(
10860
10859
  p6,
10861
10860
  {
10862
10861
  dropdownId: `${_}-action-menu`,
@@ -10869,7 +10868,7 @@ const K6 = {
10869
10868
  "button",
10870
10869
  {
10871
10870
  type: "button",
10872
- className: E1["rte-treeview-item-action-button"],
10871
+ className: T1["rte-treeview-item-action-button"],
10873
10872
  "data-treeview-focusable": "action",
10874
10873
  tabIndex: -1,
10875
10874
  "aria-label": `Action pour ${n}`,
@@ -10879,7 +10878,7 @@ const K6 = {
10879
10878
  children: /* @__PURE__ */ r(J, { name: h, size: 16 })
10880
10879
  }
10881
10880
  ),
10882
- children: f.map(({ label: z, leftIcon: p1, hasSeparator: w1, onClick: b1 }, K1) => /* @__PURE__ */ r(
10881
+ children: f.map(({ label: z, leftIcon: p1, hasSeparator: w1, onClick: b1 }, z1) => /* @__PURE__ */ r(
10883
10882
  G3,
10884
10883
  {
10885
10884
  label: z,
@@ -10888,14 +10887,14 @@ const K6 = {
10888
10887
  onClick: b1,
10889
10888
  disabled: o
10890
10889
  },
10891
- K1
10890
+ z1
10892
10891
  ))
10893
10892
  }
10894
10893
  ) }) : /* @__PURE__ */ r(
10895
10894
  "button",
10896
10895
  {
10897
10896
  type: "button",
10898
- className: E1["rte-treeview-item-action-button"],
10897
+ className: T1["rte-treeview-item-action-button"],
10899
10898
  "data-treeview-focusable": "action",
10900
10899
  tabIndex: -1,
10901
10900
  "aria-label": `Actions pour ${n}`,
@@ -10913,8 +10912,8 @@ const K6 = {
10913
10912
  "ul",
10914
10913
  {
10915
10914
  className: e1(
10916
- E1["rte-treeview-item-children"],
10917
- y ? E1["rte-treeview-item-children-open"] : "",
10915
+ T1["rte-treeview-item-children"],
10916
+ y ? T1["rte-treeview-item-children-open"] : "",
10918
10917
  "treeview-item-children",
10919
10918
  y ? "treeview-item-children-open" : ""
10920
10919
  ),
@@ -10952,8 +10951,8 @@ const K6 = {
10952
10951
  return;
10953
10952
  const l = jl(n, t);
10954
10953
  if (!(l.rowIndex === -1 || l.focusableIndex === -1)) {
10955
- if ([D1, A1].includes(e.key)) {
10956
- const o = e.key === D1 ? -1 : 1, i = h2(n, l, o, !0);
10954
+ if ([S1, I1].includes(e.key)) {
10955
+ const o = e.key === S1 ? -1 : 1, i = h2(n, l, o, !0);
10957
10956
  if (i) {
10958
10957
  const s = n[i.rowIndex].focusables[i.focusableIndex];
10959
10958
  e.preventDefault(), A5(C, s), s.focus();
@@ -10961,8 +10960,8 @@ const K6 = {
10961
10960
  e.preventDefault();
10962
10961
  return;
10963
10962
  }
10964
- if ([P1, $1].includes(e.key)) {
10965
- const o = e.key === P1 ? -1 : 1, i = h2(n, l, o, !1);
10963
+ if ([R1, P1].includes(e.key)) {
10964
+ const o = e.key === R1 ? -1 : 1, i = h2(n, l, o, !1);
10966
10965
  if (i) {
10967
10966
  const s = n[i.rowIndex].focusables[i.focusableIndex];
10968
10967
  e.preventDefault(), A5(C, s), s.focus();
@@ -11036,7 +11035,7 @@ const K6 = {
11036
11035
  export {
11037
11036
  jc as Accordion,
11038
11037
  qc as Avatar,
11039
- z1 as Badge,
11038
+ Y1 as Badge,
11040
11039
  Xc as Banner,
11041
11040
  ha as BaseSideNav,
11042
11041
  Qc as Breadcrumbs,
@@ -11047,7 +11046,7 @@ export {
11047
11046
  ml as Chip,
11048
11047
  od as DatePicker,
11049
11048
  ld as DateRangePicker,
11050
- O1 as Divider,
11049
+ A1 as Divider,
11051
11050
  ed as Drawer,
11052
11051
  p6 as Dropdown,
11053
11052
  G3 as DropdownItem,