@televet/kibble-ui 4.0.0-beta.49 → 4.0.0-beta.51

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.
Files changed (157) hide show
  1. package/dist/chunks/{alert.component-xIg594Bw.js → alert.component-g3HPaEm9.js} +3 -3
  2. package/dist/chunks/{alert.component-xIg594Bw.js.map → alert.component-g3HPaEm9.js.map} +1 -1
  3. package/dist/chunks/{avatar.component-B7rggLqO.js → avatar.component-oOJ66hzm.js} +11 -11
  4. package/dist/chunks/{avatar.component-B7rggLqO.js.map → avatar.component-oOJ66hzm.js.map} +1 -1
  5. package/dist/chunks/{avatarGroup.component-BxK-Fntw.js → avatarGroup.component-BOzKnzZu.js} +2 -2
  6. package/dist/chunks/{avatarGroup.component-BxK-Fntw.js.map → avatarGroup.component-BOzKnzZu.js.map} +1 -1
  7. package/dist/chunks/{buttonGroup.component-B_5ioQ76.js → buttonGroup.component-CESNUX_O.js} +2 -2
  8. package/dist/chunks/{buttonGroup.component-B_5ioQ76.js.map → buttonGroup.component-CESNUX_O.js.map} +1 -1
  9. package/dist/chunks/{characterCounter.component-Bmd3imRK.js → characterCounter.component-BFw6saPi.js} +2 -2
  10. package/dist/chunks/{characterCounter.component-Bmd3imRK.js.map → characterCounter.component-BFw6saPi.js.map} +1 -1
  11. package/dist/chunks/{checkbox.component-C99uwLFM.js → checkbox.component-DGQYgNkB.js} +12 -12
  12. package/dist/chunks/{checkbox.component-C99uwLFM.js.map → checkbox.component-DGQYgNkB.js.map} +1 -1
  13. package/dist/chunks/{checkbox.records-BBV1vniy.js → checkbox.records-7WQ70CZr.js} +4 -4
  14. package/dist/chunks/{checkbox.records-BBV1vniy.js.map → checkbox.records-7WQ70CZr.js.map} +1 -1
  15. package/dist/chunks/{checkboxGroup.component-DwICStpY.js → checkboxGroup.component-DAMxeo3c.js} +3 -3
  16. package/dist/chunks/{checkboxGroup.component-DwICStpY.js.map → checkboxGroup.component-DAMxeo3c.js.map} +1 -1
  17. package/dist/chunks/{conversationCard.component-CiDSMTUO.js → conversationCard.component-CiFdjzC0.js} +7 -7
  18. package/dist/chunks/{conversationCard.component-CiDSMTUO.js.map → conversationCard.component-CiFdjzC0.js.map} +1 -1
  19. package/dist/chunks/{datePicker.component-DKDgsGci.js → datePicker.component-D7J1Ft-p.js} +7 -7
  20. package/dist/chunks/{datePicker.component-DKDgsGci.js.map → datePicker.component-D7J1Ft-p.js.map} +1 -1
  21. package/dist/chunks/{dialog-trigger-sGBMGLMB.js → dialog-trigger-CKEZLJZ6.js} +13 -13
  22. package/dist/chunks/{dialog-trigger-sGBMGLMB.js.map → dialog-trigger-CKEZLJZ6.js.map} +1 -1
  23. package/dist/chunks/{heading.component-DIST7ncC.js → heading.component-CVm2LGDL.js} +2 -2
  24. package/dist/chunks/{heading.component-DIST7ncC.js.map → heading.component-CVm2LGDL.js.map} +1 -1
  25. package/dist/chunks/{index-DLvqBeH6.js → index-B8d8Hi2Q.js} +35 -35
  26. package/dist/chunks/{index-DLvqBeH6.js.map → index-B8d8Hi2Q.js.map} +1 -1
  27. package/dist/chunks/{index-ByhnCBwf.js → index-BE2MBRYo.js} +4 -4
  28. package/dist/chunks/{index-ByhnCBwf.js.map → index-BE2MBRYo.js.map} +1 -1
  29. package/dist/chunks/{index-Dn2nvQ5m.js → index-BavQMU2I.js} +4 -4
  30. package/dist/chunks/{index-Dn2nvQ5m.js.map → index-BavQMU2I.js.map} +1 -1
  31. package/dist/chunks/{index-sWaESJRS.js → index-BsfW-qzE.js} +35 -35
  32. package/dist/chunks/{index-sWaESJRS.js.map → index-BsfW-qzE.js.map} +1 -1
  33. package/dist/chunks/{index-D79JhErY.js → index-CJ_SaUFt.js} +7 -7
  34. package/dist/chunks/{index-D79JhErY.js.map → index-CJ_SaUFt.js.map} +1 -1
  35. package/dist/chunks/{index-63NGUyr9.js → index-COcjj2r_.js} +4 -4
  36. package/dist/chunks/{index-63NGUyr9.js.map → index-COcjj2r_.js.map} +1 -1
  37. package/dist/chunks/{index-C3d8HKg_.js → index-CVMzOz4r.js} +7 -7
  38. package/dist/chunks/{index-C3d8HKg_.js.map → index-CVMzOz4r.js.map} +1 -1
  39. package/dist/chunks/{index-C1_01X--.js → index-Dw9PbX_m.js} +80 -80
  40. package/dist/chunks/{index-C1_01X--.js.map → index-Dw9PbX_m.js.map} +1 -1
  41. package/dist/chunks/{index-Bcp83GlU.js → index-X8K9tzgE.js} +10 -10
  42. package/dist/chunks/{index-Bcp83GlU.js.map → index-X8K9tzgE.js.map} +1 -1
  43. package/dist/chunks/{index-Kw3RO_3f.js → index-bYxdnAxK.js} +3 -3
  44. package/dist/chunks/{index-Kw3RO_3f.js.map → index-bYxdnAxK.js.map} +1 -1
  45. package/dist/chunks/{index-Cz4pncg8.js → index-xa8tmbbH.js} +25 -25
  46. package/dist/chunks/{index-Cz4pncg8.js.map → index-xa8tmbbH.js.map} +1 -1
  47. package/dist/chunks/{link.component-DYNc5XEj.js → link.component-B8MuH7tM.js} +2 -2
  48. package/dist/chunks/{link.component-DYNc5XEj.js.map → link.component-B8MuH7tM.js.map} +1 -1
  49. package/dist/chunks/menu.component-Bi2JPazM.js.map +1 -1
  50. package/dist/chunks/{menu.component-DbVIiM3g.js → menu.component-DZoyME_s.js} +22 -22
  51. package/dist/chunks/{menu.component-DbVIiM3g.js.map → menu.component-DZoyME_s.js.map} +1 -1
  52. package/dist/chunks/{modal.types-CdZepugS.js → modal.types-3KGURq43.js} +5 -5
  53. package/dist/chunks/{modal.types-CdZepugS.js.map → modal.types-3KGURq43.js.map} +1 -1
  54. package/dist/chunks/{pinInput.types-Ov7NqPQG.js → pinInput.types-Q3gBjJrF.js} +8 -8
  55. package/dist/chunks/{pinInput.types-Ov7NqPQG.js.map → pinInput.types-Q3gBjJrF.js.map} +1 -1
  56. package/dist/chunks/{popover-Q1b5Ou9h.js → popover-BBhgGw0a.js} +12 -12
  57. package/dist/chunks/{popover-Q1b5Ou9h.js.map → popover-BBhgGw0a.js.map} +1 -1
  58. package/dist/chunks/{popover-root-provider-_dExZRNY.js → popover-root-provider-CKQPoRvU.js} +8 -8
  59. package/dist/chunks/{popover-root-provider-_dExZRNY.js.map → popover-root-provider-CKQPoRvU.js.map} +1 -1
  60. package/dist/chunks/{popover.component-LH8cQ5xp.js → popover.component-D-UQ63DB.js} +15 -15
  61. package/dist/chunks/{popover.component-LH8cQ5xp.js.map → popover.component-D-UQ63DB.js.map} +1 -1
  62. package/dist/chunks/{popover.recipe-BwEAIvNr.js → popover.recipe-BVdiJdJk.js} +6 -6
  63. package/dist/chunks/{popover.recipe-BwEAIvNr.js.map → popover.recipe-BVdiJdJk.js.map} +1 -1
  64. package/dist/chunks/{radio.records-BEcLVP_S.js → radio.records-EtuVQX6z.js} +4 -4
  65. package/dist/chunks/{radio.records-BEcLVP_S.js.map → radio.records-EtuVQX6z.js.map} +1 -1
  66. package/dist/chunks/{radioGroup.component-VgKW4-P2.js → radioGroup.component-sOmiKjNM.js} +19 -19
  67. package/dist/chunks/{radioGroup.component-VgKW4-P2.js.map → radioGroup.component-sOmiKjNM.js.map} +1 -1
  68. package/dist/chunks/{ratingDots.component-CgBG_tvz.js → ratingDots.component-CMDKq3_T.js} +3 -3
  69. package/dist/chunks/{ratingDots.component-CgBG_tvz.js.map → ratingDots.component-CMDKq3_T.js.map} +1 -1
  70. package/dist/chunks/{render-strategy-Cr139kIz.js → render-strategy-DBmKAZIM.js} +2 -2
  71. package/dist/chunks/{render-strategy-Cr139kIz.js.map → render-strategy-DBmKAZIM.js.map} +1 -1
  72. package/dist/chunks/{select.component-BSZd60MZ.js → select.component-BOSAKx8m.js} +36 -36
  73. package/dist/chunks/{select.component-BSZd60MZ.js.map → select.component-BOSAKx8m.js.map} +1 -1
  74. package/dist/chunks/{select.component-BDLdQaL2.js → select.component-C9Vj7Sk7.js} +2 -2
  75. package/dist/chunks/{select.component-BDLdQaL2.js.map → select.component-C9Vj7Sk7.js.map} +1 -1
  76. package/dist/chunks/{sortableList.component-BRToMbfY.js → sortableList.component-BEc4_tAM.js} +3 -3
  77. package/dist/chunks/{sortableList.component-BRToMbfY.js.map → sortableList.component-BEc4_tAM.js.map} +1 -1
  78. package/dist/chunks/{spinner.component-DCSsW51J.js → spinner.component-DNrNcGw9.js} +2 -2
  79. package/dist/chunks/{spinner.component-DCSsW51J.js.map → spinner.component-DNrNcGw9.js.map} +1 -1
  80. package/dist/chunks/{styledAvatar.types-b9eWaeJ6.js → styledAvatar.types-DgeupAct.js} +2 -2
  81. package/dist/chunks/{styledAvatar.types-b9eWaeJ6.js.map → styledAvatar.types-DgeupAct.js.map} +1 -1
  82. package/dist/chunks/{switch.component-B2vWRrP_.js → switch.component-BQ9rEKP6.js} +9 -9
  83. package/dist/chunks/{switch.component-B2vWRrP_.js.map → switch.component-BQ9rEKP6.js.map} +1 -1
  84. package/dist/chunks/{tabs.component-DlaP-qhJ.js → tabs.component-BuknlGMy.js} +41 -41
  85. package/dist/chunks/{tabs.component-DlaP-qhJ.js.map → tabs.component-BuknlGMy.js.map} +1 -1
  86. package/dist/chunks/{tagBlock.component-DpcWXFLP.js → tagBlock.component-BZtyjaQk.js} +5 -5
  87. package/dist/chunks/{tagBlock.component-DpcWXFLP.js.map → tagBlock.component-BZtyjaQk.js.map} +1 -1
  88. package/dist/chunks/{text.component-D3E0SdX1.js → text.component-ByshUroO.js} +2 -2
  89. package/dist/chunks/{text.component-D3E0SdX1.js.map → text.component-ByshUroO.js.map} +1 -1
  90. package/dist/chunks/{textInput.component-BpCIE07n.js → textInput.component-BYpBgS2h.js} +12 -12
  91. package/dist/chunks/{textInput.component-BpCIE07n.js.map → textInput.component-BYpBgS2h.js.map} +1 -1
  92. package/dist/chunks/{textarea.component-B5AsA90v.js → textarea.component-B8X86Tqw.js} +6 -6
  93. package/dist/chunks/{textarea.component-B5AsA90v.js.map → textarea.component-B8X86Tqw.js.map} +1 -1
  94. package/dist/chunks/{theme.provider-B9PPowSI.js → theme.provider-C13bkPxl.js} +18 -18
  95. package/dist/chunks/{theme.provider-B9PPowSI.js.map → theme.provider-C13bkPxl.js.map} +1 -1
  96. package/dist/chunks/{timePicker.component-BFa1h4Gv.js → timePicker.component-BwmHvV_9.js} +3 -3
  97. package/dist/chunks/{timePicker.component-BFa1h4Gv.js.map → timePicker.component-BwmHvV_9.js.map} +1 -1
  98. package/dist/chunks/{timeRange.component-DuKclNl6.js → timeRange.component-Du_CkwPc.js} +2 -2
  99. package/dist/chunks/{timeRange.component-DuKclNl6.js.map → timeRange.component-Du_CkwPc.js.map} +1 -1
  100. package/dist/chunks/{timestamp.component-BouqsJZM.js → timestamp.component-CA-gdN9e.js} +3 -3
  101. package/dist/chunks/{timestamp.component-BouqsJZM.js.map → timestamp.component-CA-gdN9e.js.map} +1 -1
  102. package/dist/chunks/{toaster.records-BSRUGTiS.js → toaster.records-DuvFE6c1.js} +10 -10
  103. package/dist/chunks/{toaster.records-BSRUGTiS.js.map → toaster.records-DuvFE6c1.js.map} +1 -1
  104. package/dist/chunks/{tooltip.component-DYBYGsfe.js → tooltip.component-B0iqN7WJ.js} +40 -40
  105. package/dist/chunks/{tooltip.component-DYBYGsfe.js.map → tooltip.component-B0iqN7WJ.js.map} +1 -1
  106. package/dist/chunks/{typography.records-DA6XZIsX.js → typography.records-BS1CFpJg.js} +2 -2
  107. package/dist/chunks/{typography.records-DA6XZIsX.js.map → typography.records-BS1CFpJg.js.map} +1 -1
  108. package/dist/chunks/{use-field-context-B8ygn96q.js → use-field-context-Bxg2bkx0.js} +2 -2
  109. package/dist/chunks/{use-field-context-B8ygn96q.js.map → use-field-context-Bxg2bkx0.js.map} +1 -1
  110. package/dist/chunks/{use-locale-context-zakBNK5b.js → use-locale-context-BnlMA8su.js} +58 -58
  111. package/dist/chunks/{use-locale-context-zakBNK5b.js.map → use-locale-context-BnlMA8su.js.map} +1 -1
  112. package/dist/chunks/{withFormControl-Vf_flDYv.js → withFormControl-BRVK_J11.js} +26 -26
  113. package/dist/chunks/{withFormControl-Vf_flDYv.js.map → withFormControl-BRVK_J11.js.map} +1 -1
  114. package/dist/chunks/{withTruncation-BNm_JUdt.js → withTruncation-C3gfaeh3.js} +2 -2
  115. package/dist/chunks/{withTruncation-BNm_JUdt.js.map → withTruncation-C3gfaeh3.js.map} +1 -1
  116. package/dist/cjs/chakra/index.cjs +1 -1
  117. package/dist/cjs/components/Select/index.cjs +1 -1
  118. package/dist/cjs/components/index.cjs +1 -1
  119. package/dist/cjs/index.cjs +1 -1
  120. package/dist/esm/chakra/index.js +115 -114
  121. package/dist/esm/components/Alert/index.js +1 -1
  122. package/dist/esm/components/Avatar/index.js +1 -1
  123. package/dist/esm/components/AvatarGroup/index.js +1 -1
  124. package/dist/esm/components/ButtonGroup/index.js +1 -1
  125. package/dist/esm/components/CharacterCounter/index.js +1 -1
  126. package/dist/esm/components/Checkbox/index.js +1 -1
  127. package/dist/esm/components/CheckboxGroup/index.js +1 -1
  128. package/dist/esm/components/ConversationCard/index.js +1 -1
  129. package/dist/esm/components/DatePicker/index.js +1 -1
  130. package/dist/esm/components/Heading/index.js +1 -1
  131. package/dist/esm/components/Link/index.js +1 -1
  132. package/dist/esm/components/Menu/index.js +1 -1
  133. package/dist/esm/components/Modal/index.js +1 -1
  134. package/dist/esm/components/PinInput/index.js +1 -1
  135. package/dist/esm/components/Popover/index.js +1 -1
  136. package/dist/esm/components/RadioGroup/index.js +1 -1
  137. package/dist/esm/components/RatingDots/index.js +1 -1
  138. package/dist/esm/components/Select/index.js +1 -1
  139. package/dist/esm/components/SortableList/index.js +1 -1
  140. package/dist/esm/components/Spinner/index.js +1 -1
  141. package/dist/esm/components/StyledAvatar/index.js +1 -1
  142. package/dist/esm/components/Switch/index.js +1 -1
  143. package/dist/esm/components/Tabs/index.js +1 -1
  144. package/dist/esm/components/TagBlock/index.js +1 -1
  145. package/dist/esm/components/Text/index.js +1 -1
  146. package/dist/esm/components/TextInput/index.js +1 -1
  147. package/dist/esm/components/Textarea/index.js +1 -1
  148. package/dist/esm/components/TimePicker/index.js +1 -1
  149. package/dist/esm/components/TimeRange/index.js +1 -1
  150. package/dist/esm/components/Timestamp/index.js +1 -1
  151. package/dist/esm/components/Toast/index.js +1 -1
  152. package/dist/esm/components/Tooltip/index.js +1 -1
  153. package/dist/esm/components/index.js +31 -31
  154. package/dist/esm/index.js +32 -32
  155. package/dist/esm/theme/index.js +1 -1
  156. package/dist/types/chakra/index.d.ts +1 -1
  157. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import { j as ue } from "./jsx-runtime-C5mzlN2N.js";
2
- import { a3 as mt, a2 as pt, b5 as yt, ac as Je, O as ht, b6 as re, b7 as Oe, b8 as vt, a8 as ie, a9 as He, b9 as xt, F as wt, U as bt, c as Ot, ab as St, aq as Et, r as Re, k as Qe, g as Rt, ba as At, w as Tt, bb as _t, ad as Pt, _ as Nt } from "./index-DLvqBeH6.js";
3
- import Ze, { createContext as Ct, useContext as Dt, useState as Ae, useSyncExternalStore as Mt, useEffect as se, Children as et, useMemo as Lt, useRef as L, useLayoutEffect as kt, memo as $t, forwardRef as Vt, createElement as Ht, isValidElement as Ut, cloneElement as zt, useCallback as Ft } from "react";
2
+ import { a3 as mt, a2 as pt, b5 as yt, ac as Je, O as ht, b6 as re, b7 as Oe, b8 as vt, a8 as ie, a9 as He, b9 as xt, F as wt, Y as bt, c as Ot, ab as St, aq as Et, r as Re, k as Ze, g as Rt, ba as At, w as Tt, bb as _t, ad as Pt, Z as Nt } from "./index-B8d8Hi2Q.js";
3
+ import Qe, { createContext as Ct, useContext as Dt, useState as Ae, useSyncExternalStore as Mt, useEffect as se, Children as et, useMemo as Lt, useRef as L, useLayoutEffect as kt, memo as $t, forwardRef as Vt, createElement as Ht, isValidElement as zt, cloneElement as Ut, useCallback as Ft } from "react";
4
4
  var fe = { exports: {} }, N = {};
5
5
  /**
6
6
  * @license React
@@ -11,11 +11,11 @@ var fe = { exports: {} }, N = {};
11
11
  * This source code is licensed under the MIT license found in the
12
12
  * LICENSE file in the root directory of this source tree.
13
13
  */
14
- var Ue;
14
+ var ze;
15
15
  function It() {
16
- if (Ue) return N;
17
- Ue = 1;
18
- var e = Ze;
16
+ if (ze) return N;
17
+ ze = 1;
18
+ var e = Qe;
19
19
  function t(u) {
20
20
  var s = "https://react.dev/errors/" + u;
21
21
  if (1 < arguments.length) {
@@ -154,9 +154,9 @@ var C = {};
154
154
  * This source code is licensed under the MIT license found in the
155
155
  * LICENSE file in the root directory of this source tree.
156
156
  */
157
- var ze;
157
+ var Ue;
158
158
  function Wt() {
159
- return ze || (ze = 1, process.env.NODE_ENV !== "production" && function() {
159
+ return Ue || (Ue = 1, process.env.NODE_ENV !== "production" && function() {
160
160
  function e() {
161
161
  }
162
162
  function t(a) {
@@ -203,7 +203,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
203
203
  ), a;
204
204
  }
205
205
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
206
- var f = Ze, u = {
206
+ var f = Qe, u = {
207
207
  d: {
208
208
  f: e,
209
209
  r: function() {
@@ -494,7 +494,7 @@ function Jt(e) {
494
494
  }
495
495
  };
496
496
  }
497
- var Qt = (e, t) => {
497
+ var Zt = (e, t) => {
498
498
  const r = L(!1), n = L(!1);
499
499
  se(() => {
500
500
  if (r.current && n.current) return t();
@@ -503,7 +503,7 @@ var Qt = (e, t) => {
503
503
  r.current = !1;
504
504
  }), []);
505
505
  };
506
- function Zt(e, t = {}) {
506
+ function Qt(e, t = {}) {
507
507
  const r = Lt(() => {
508
508
  const { id: h, ids: x, getRootNode: R } = t;
509
509
  return yt({ id: h, ids: x, getRootNode: R });
@@ -561,7 +561,7 @@ function Zt(e, t = {}) {
561
561
  send: M,
562
562
  action: v,
563
563
  guard: w,
564
- track: Qt,
564
+ track: Zt,
565
565
  refs: p,
566
566
  computed: S,
567
567
  flush: Ie,
@@ -701,10 +701,10 @@ const Se = (e) => {
701
701
  if (!o)
702
702
  return Ht(e, { ...l, ref: n }, c);
703
703
  const f = et.only(c);
704
- if (!Ut(f))
704
+ if (!zt(f))
705
705
  return null;
706
706
  const u = nn(f);
707
- return zt(f, {
707
+ return Ut(f, {
708
708
  ...bt(l, f.props),
709
709
  ref: n ? tn(n, u) : u
710
710
  });
@@ -842,7 +842,7 @@ var cn = Ot({
842
842
  e.set("node", t.node);
843
843
  },
844
844
  setStyles: ({ refs: e, event: t }) => {
845
- e.set("styles", Qe(t.node));
845
+ e.set("styles", Ze(t.node));
846
846
  },
847
847
  syncPresence: ({ context: e, refs: t, send: r, prop: n }) => {
848
848
  const o = n("present");
@@ -905,7 +905,7 @@ const Ar = (e = {}) => {
905
905
  ...c,
906
906
  present: n,
907
907
  onExitComplete: an(e.onExitComplete)
908
- }, u = Zt(cn, f), s = sn(u);
908
+ }, u = Qt(cn, f), s = sn(u);
909
909
  s.present && (l.current = !0);
910
910
  const g = !s.present && !l.current && t || r && !s.present && l.current, a = () => ({
911
911
  "data-state": s.skip && o ? void 0 : n ? "open" : "closed",
@@ -1253,7 +1253,7 @@ const xn = (e) => ({
1253
1253
  const O = (((h = c.flip) == null ? void 0 : h.index) || 0) + 1, T = _[O];
1254
1254
  if (T && (!(a === "alignment" ? w !== I(T) : !1) || // We leave the current main axis only if every placement on that axis
1255
1255
  // overflows the main axis.
1256
- M.every((U) => U.overflows[0] > 0 && I(U.placement) === w)))
1256
+ M.every((z) => z.overflows[0] > 0 && I(z.placement) === w)))
1257
1257
  return {
1258
1258
  data: {
1259
1259
  index: O,
@@ -1263,20 +1263,20 @@ const xn = (e) => ({
1263
1263
  placement: T
1264
1264
  }
1265
1265
  };
1266
- let P = (x = M.filter((H) => H.overflows[0] <= 0).sort((H, U) => H.overflows[1] - U.overflows[1])[0]) == null ? void 0 : x.placement;
1266
+ let P = (x = M.filter((H) => H.overflows[0] <= 0).sort((H, z) => H.overflows[1] - z.overflows[1])[0]) == null ? void 0 : x.placement;
1267
1267
  if (!P)
1268
1268
  switch (d) {
1269
1269
  case "bestFit": {
1270
1270
  var R;
1271
- const H = (R = M.filter((U) => {
1271
+ const H = (R = M.filter((z) => {
1272
1272
  if (A) {
1273
- const K = I(U.placement);
1273
+ const K = I(z.placement);
1274
1274
  return K === w || // Create a bias to the `y` side axis due to horizontal
1275
1275
  // reading directions favoring greater width.
1276
1276
  K === "y";
1277
1277
  }
1278
1278
  return !0;
1279
- }).map((U) => [U.placement, U.overflows.filter((K) => K > 0).reduce((K, gt) => K + gt, 0)]).sort((U, K) => U[1] - K[1])[0]) == null ? void 0 : R[0];
1279
+ }).map((z) => [z.placement, z.overflows.filter((K) => K > 0).reduce((K, gt) => K + gt, 0)]).sort((z, K) => z[1] - K[1])[0]) == null ? void 0 : R[0];
1280
1280
  H && (P = H);
1281
1281
  break;
1282
1282
  }
@@ -1553,7 +1553,7 @@ function B(e) {
1553
1553
  function ot(e) {
1554
1554
  return xe() ? e instanceof Node || e instanceof $(e).Node : !1;
1555
1555
  }
1556
- function z(e) {
1556
+ function U(e) {
1557
1557
  return xe() ? e instanceof Element || e instanceof $(e).Element : !1;
1558
1558
  }
1559
1559
  function j(e) {
@@ -1584,7 +1584,7 @@ function we(e) {
1584
1584
  });
1585
1585
  }
1586
1586
  function Le(e) {
1587
- const t = ke(), r = z(e) ? F(e) : e;
1587
+ const t = ke(), r = U(e) ? F(e) : e;
1588
1588
  return ["transform", "translate", "scale", "rotate", "perspective"].some((n) => r[n] ? r[n] !== "none" : !1) || (r.containerType ? r.containerType !== "normal" : !1) || !t && (r.backdropFilter ? r.backdropFilter !== "none" : !1) || !t && (r.filter ? r.filter !== "none" : !1) || ["transform", "translate", "scale", "rotate", "perspective", "filter"].some((n) => (r.willChange || "").includes(n)) || ["paint", "layout", "strict", "content"].some((n) => (r.contain || "").includes(n));
1589
1589
  }
1590
1590
  function _n(e) {
@@ -1608,7 +1608,7 @@ function F(e) {
1608
1608
  return $(e).getComputedStyle(e);
1609
1609
  }
1610
1610
  function be(e) {
1611
- return z(e) ? {
1611
+ return U(e) ? {
1612
1612
  scrollLeft: e.scrollLeft,
1613
1613
  scrollTop: e.scrollTop
1614
1614
  } : {
@@ -1656,9 +1656,9 @@ function st(e) {
1656
1656
  };
1657
1657
  }
1658
1658
  function $e(e) {
1659
- return z(e) ? e : e.contextElement;
1659
+ return U(e) ? e : e.contextElement;
1660
1660
  }
1661
- function Z(e) {
1661
+ function Q(e) {
1662
1662
  const t = $e(e);
1663
1663
  if (!j(t))
1664
1664
  return W(1);
@@ -1684,18 +1684,18 @@ function ct(e) {
1684
1684
  function Nn(e, t, r) {
1685
1685
  return t === void 0 && (t = !1), !r || t && r !== $(e) ? !1 : t;
1686
1686
  }
1687
- function Q(e, t, r, n) {
1687
+ function Z(e, t, r, n) {
1688
1688
  t === void 0 && (t = !1), r === void 0 && (r = !1);
1689
1689
  const o = e.getBoundingClientRect(), c = $e(e);
1690
1690
  let l = W(1);
1691
- t && (n ? z(n) && (l = Z(n)) : l = Z(e));
1691
+ t && (n ? U(n) && (l = Q(n)) : l = Q(e));
1692
1692
  const f = Nn(c, r, n) ? ct(c) : W(0);
1693
1693
  let u = (o.left + f.x) / l.x, s = (o.top + f.y) / l.y, g = o.width / l.x, a = o.height / l.y;
1694
1694
  if (c) {
1695
- const i = $(c), d = n && z(n) ? $(n) : n;
1695
+ const i = $(c), d = n && U(n) ? $(n) : n;
1696
1696
  let m = i, p = Pe(m);
1697
1697
  for (; p && n && d !== m; ) {
1698
- const y = Z(p), v = p.getBoundingClientRect(), w = F(p), b = v.left + (p.clientLeft + parseFloat(w.paddingLeft)) * y.x, E = v.top + (p.clientTop + parseFloat(w.paddingTop)) * y.y;
1698
+ const y = Q(p), v = p.getBoundingClientRect(), w = F(p), b = v.left + (p.clientLeft + parseFloat(w.paddingLeft)) * y.x, E = v.top + (p.clientTop + parseFloat(w.paddingTop)) * y.y;
1699
1699
  u *= y.x, s *= y.y, g *= y.x, a *= y.y, u += b, s += E, m = $(p), p = Pe(m);
1700
1700
  }
1701
1701
  }
@@ -1708,7 +1708,7 @@ function Q(e, t, r, n) {
1708
1708
  }
1709
1709
  function Ve(e, t) {
1710
1710
  const r = be(e).scrollLeft;
1711
- return t ? t.left + r : Q(B(e)).left + r;
1711
+ return t ? t.left + r : Z(B(e)).left + r;
1712
1712
  }
1713
1713
  function at(e, t, r) {
1714
1714
  r === void 0 && (r = !1);
@@ -1737,8 +1737,8 @@ function Cn(e) {
1737
1737
  }, s = W(1);
1738
1738
  const g = W(0), a = j(n);
1739
1739
  if ((a || !a && !c) && ((ne(n) !== "body" || le(l)) && (u = be(n)), j(n))) {
1740
- const d = Q(n);
1741
- s = Z(n), g.x = d.x + n.clientLeft, g.y = d.y + n.clientTop;
1740
+ const d = Z(n);
1741
+ s = Q(n), g.x = d.x + n.clientLeft, g.y = d.y + n.clientTop;
1742
1742
  }
1743
1743
  const i = l && !a && !c ? at(l, u, !0) : W(0);
1744
1744
  return {
@@ -1778,7 +1778,7 @@ function Ln(e, t) {
1778
1778
  };
1779
1779
  }
1780
1780
  function kn(e, t) {
1781
- const r = Q(e, !0, t === "fixed"), n = r.top + e.clientTop, o = r.left + e.clientLeft, c = j(e) ? Z(e) : W(1), l = e.clientWidth * c.x, f = e.clientHeight * c.y, u = o * c.x, s = n * c.y;
1781
+ const r = Z(e, !0, t === "fixed"), n = r.top + e.clientTop, o = r.left + e.clientLeft, c = j(e) ? Q(e) : W(1), l = e.clientWidth * c.x, f = e.clientHeight * c.y, u = o * c.x, s = n * c.y;
1782
1782
  return {
1783
1783
  width: l,
1784
1784
  height: f,
@@ -1792,7 +1792,7 @@ function Ye(e, t, r) {
1792
1792
  n = Ln(e, r);
1793
1793
  else if (t === "document")
1794
1794
  n = Mn(B(e));
1795
- else if (z(t))
1795
+ else if (U(t))
1796
1796
  n = kn(t, r);
1797
1797
  else {
1798
1798
  const o = ct(e);
@@ -1807,16 +1807,16 @@ function Ye(e, t, r) {
1807
1807
  }
1808
1808
  function lt(e, t) {
1809
1809
  const r = J(e);
1810
- return r === t || !z(r) || ee(r) ? !1 : F(r).position === "fixed" || lt(r, t);
1810
+ return r === t || !U(r) || ee(r) ? !1 : F(r).position === "fixed" || lt(r, t);
1811
1811
  }
1812
1812
  function $n(e, t) {
1813
1813
  const r = t.get(e);
1814
1814
  if (r)
1815
1815
  return r;
1816
- let n = ae(e, [], !1).filter((f) => z(f) && ne(f) !== "body"), o = null;
1816
+ let n = ae(e, [], !1).filter((f) => U(f) && ne(f) !== "body"), o = null;
1817
1817
  const c = F(e).position === "fixed";
1818
1818
  let l = c ? J(e) : e;
1819
- for (; z(l) && !ee(l); ) {
1819
+ for (; U(l) && !ee(l); ) {
1820
1820
  const f = F(l), u = Le(l);
1821
1821
  !u && f.position === "fixed" && (o = null), (c ? !u && !o : !u && f.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) || le(l) && !u && lt(e, l)) ? n = n.filter((g) => g !== l) : o = f, l = J(l);
1822
1822
  }
@@ -1850,8 +1850,8 @@ function Hn(e) {
1850
1850
  height: r
1851
1851
  };
1852
1852
  }
1853
- function Un(e, t, r) {
1854
- const n = j(t), o = B(t), c = r === "fixed", l = Q(e, !0, c, t);
1853
+ function zn(e, t, r) {
1854
+ const n = j(t), o = B(t), c = r === "fixed", l = Z(e, !0, c, t);
1855
1855
  let f = {
1856
1856
  scrollLeft: 0,
1857
1857
  scrollTop: 0
@@ -1859,7 +1859,7 @@ function Un(e, t, r) {
1859
1859
  const u = W(0);
1860
1860
  if (n || !n && !c)
1861
1861
  if ((ne(t) !== "body" || le(o)) && (f = be(t)), n) {
1862
- const i = Q(t, !0, c, t);
1862
+ const i = Z(t, !0, c, t);
1863
1863
  u.x = i.x + t.clientLeft, u.y = i.y + t.clientTop;
1864
1864
  } else o && (u.x = Ve(o));
1865
1865
  const s = o && !n && !c ? at(o, f) : W(0), g = l.left + f.scrollLeft - u.x - s.x, a = l.top + f.scrollTop - u.y - s.y;
@@ -1888,7 +1888,7 @@ function ut(e, t) {
1888
1888
  if (!j(e)) {
1889
1889
  let o = J(e);
1890
1890
  for (; o && !ee(o); ) {
1891
- if (z(o) && !Ee(o))
1891
+ if (U(o) && !Ee(o))
1892
1892
  return o;
1893
1893
  o = J(o);
1894
1894
  }
@@ -1899,10 +1899,10 @@ function ut(e, t) {
1899
1899
  n = Ge(n, t);
1900
1900
  return n && ee(n) && Ee(n) && !Le(n) ? r : n || _n(e) || r;
1901
1901
  }
1902
- const zn = async function(e) {
1902
+ const Un = async function(e) {
1903
1903
  const t = this.getOffsetParent || ut, r = this.getDimensions, n = await r(e.floating);
1904
1904
  return {
1905
- reference: Un(e.reference, await t(e.floating), e.strategy),
1905
+ reference: zn(e.reference, await t(e.floating), e.strategy),
1906
1906
  floating: {
1907
1907
  x: 0,
1908
1908
  y: 0,
@@ -1919,11 +1919,11 @@ const In = {
1919
1919
  getDocumentElement: B,
1920
1920
  getClippingRect: Vn,
1921
1921
  getOffsetParent: ut,
1922
- getElementRects: zn,
1922
+ getElementRects: Un,
1923
1923
  getClientRects: Dn,
1924
1924
  getDimensions: Hn,
1925
- getScale: Z,
1926
- isElement: z,
1925
+ getScale: Q,
1926
+ isElement: U,
1927
1927
  isRTL: Fn
1928
1928
  };
1929
1929
  function ft(e, t) {
@@ -1998,10 +1998,10 @@ function jn(e, t, r, n) {
1998
1998
  (b = d) == null || b.observe(t);
1999
1999
  })), r();
2000
2000
  }), s && !u && d.observe(s), d.observe(t));
2001
- let m, p = u ? Q(e) : null;
2001
+ let m, p = u ? Z(e) : null;
2002
2002
  u && y();
2003
2003
  function y() {
2004
- const v = Q(e);
2004
+ const v = Z(e);
2005
2005
  p && !ft(p, v) && r(), p = v, m = requestAnimationFrame(y);
2006
2006
  }
2007
2007
  return r(), () => {
@@ -2011,7 +2011,7 @@ function jn(e, t, r, n) {
2011
2011
  }), a?.(), (v = d) == null || v.disconnect(), d = null, u && cancelAnimationFrame(m);
2012
2012
  };
2013
2013
  }
2014
- const Bn = Sn, qn = En, Yn = wn, Gn = An, Kn = bn, Xn = xn, Jn = Rn, Qn = (e, t, r) => {
2014
+ const Bn = Sn, qn = En, Yn = wn, Gn = An, Kn = bn, Xn = xn, Jn = Rn, Zn = (e, t, r) => {
2015
2015
  const n = /* @__PURE__ */ new Map(), o = {
2016
2016
  platform: In,
2017
2017
  ...r
@@ -2039,7 +2039,7 @@ function Ke(e = 0, t = 0, r = 0, n = 0) {
2039
2039
  };
2040
2040
  return { ...o, toJSON: () => o };
2041
2041
  }
2042
- function Zn(e) {
2042
+ function Qn(e) {
2043
2043
  if (!e) return Ke();
2044
2044
  const { x: t, y: r, width: n, height: o } = e;
2045
2045
  return Ke(t, r, n, o);
@@ -2049,7 +2049,7 @@ function er(e, t) {
2049
2049
  contextElement: Tt(e) ? e : void 0,
2050
2050
  getBoundingClientRect: () => {
2051
2051
  const r = e, n = t?.(r);
2052
- return n || !r ? Zn(n) : r.getBoundingClientRect();
2052
+ return n || !r ? Qn(n) : r.getBoundingClientRect();
2053
2053
  }
2054
2054
  };
2055
2055
  }
@@ -2196,7 +2196,7 @@ function mr(e, t, r = {}) {
2196
2196
  rr
2197
2197
  ], { placement: f, strategy: u, onComplete: s, onPositioned: g } = o, a = async () => {
2198
2198
  if (!n || !t) return;
2199
- const p = await Qn(n, t, {
2199
+ const p = await Zn(n, t, {
2200
2200
  placement: f,
2201
2201
  middleware: l,
2202
2202
  strategy: u
@@ -2206,7 +2206,7 @@ function mr(e, t, r = {}) {
2206
2206
  t.style.setProperty("--x", `${v}px`), t.style.setProperty("--y", `${w}px`), o.hideWhenDetached && (p.middlewareData.hide?.referenceHidden ? (t.style.setProperty("visibility", "hidden"), t.style.setProperty("pointer-events", "none")) : (t.style.removeProperty("visibility"), t.style.removeProperty("pointer-events")));
2207
2207
  const b = t.firstElementChild;
2208
2208
  if (b) {
2209
- const E = Qe(b);
2209
+ const E = Ze(b);
2210
2210
  t.style.setProperty("--z-index", E.zIndex);
2211
2211
  }
2212
2212
  }, i = async () => {
@@ -2282,14 +2282,14 @@ export {
2282
2282
  Ne as a,
2283
2283
  on as b,
2284
2284
  Xt as c,
2285
- _r as d,
2285
+ Pr as d,
2286
2286
  Tr as e,
2287
2287
  Or as f,
2288
- Pr as g,
2288
+ _r as g,
2289
2289
  tn as h,
2290
2290
  qt as i,
2291
2291
  Cr as j,
2292
- Zt as k,
2292
+ Qt as k,
2293
2293
  Ar as l,
2294
2294
  Sr as m,
2295
2295
  br as n,
@@ -2298,4 +2298,4 @@ export {
2298
2298
  Rr as s,
2299
2299
  Er as u
2300
2300
  };
2301
- //# sourceMappingURL=use-locale-context-zakBNK5b.js.map
2301
+ //# sourceMappingURL=use-locale-context-BnlMA8su.js.map