@televet/kibble-ui 4.0.0-beta.76 → 4.0.0-beta.78

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 (330) hide show
  1. package/dist/chunks/{alert.types-nvUPBs5x.js → alert.types-C1hSbPAj.js} +2 -2
  2. package/dist/chunks/{alert.types-nvUPBs5x.js.map → alert.types-C1hSbPAj.js.map} +1 -1
  3. package/dist/chunks/{alert.types-PdqwnPFk.js → alert.types-pRFStpHD.js} +3 -3
  4. package/dist/chunks/{alert.types-PdqwnPFk.js.map → alert.types-pRFStpHD.js.map} +1 -1
  5. package/dist/chunks/{avatar.component-CBN_huX5.js → avatar.component-BSA7tJUO.js} +2 -2
  6. package/dist/chunks/{avatar.component-CBN_huX5.js.map → avatar.component-BSA7tJUO.js.map} +1 -1
  7. package/dist/chunks/{avatar.component-ChgtiH34.js → avatar.component-BwRv7qvB.js} +13 -13
  8. package/dist/chunks/{avatar.component-ChgtiH34.js.map → avatar.component-BwRv7qvB.js.map} +1 -1
  9. package/dist/chunks/{avatarGroup.component-DqY1U0nn.js → avatarGroup.component-CtNUO8FY.js} +2 -2
  10. package/dist/chunks/{avatarGroup.component-DqY1U0nn.js.map → avatarGroup.component-CtNUO8FY.js.map} +1 -1
  11. package/dist/chunks/{avatarGroup.component-BdS6rqSd.js → avatarGroup.component-DQ8vHW56.js} +2 -2
  12. package/dist/chunks/{avatarGroup.component-BdS6rqSd.js.map → avatarGroup.component-DQ8vHW56.js.map} +1 -1
  13. package/dist/chunks/{buttonGroup.component-B0YaQeld.js → buttonGroup.component-B7YBMn5C.js} +2 -2
  14. package/dist/chunks/{buttonGroup.component-B0YaQeld.js.map → buttonGroup.component-B7YBMn5C.js.map} +1 -1
  15. package/dist/chunks/{buttonGroup.component-Dw1eWco8.js → buttonGroup.component-Cg_TQped.js} +2 -2
  16. package/dist/chunks/{buttonGroup.component-Dw1eWco8.js.map → buttonGroup.component-Cg_TQped.js.map} +1 -1
  17. package/dist/chunks/{characterCounter.component-D2yESqaY.js → characterCounter.component-0p9iEi6i.js} +2 -2
  18. package/dist/chunks/{characterCounter.component-D2yESqaY.js.map → characterCounter.component-0p9iEi6i.js.map} +1 -1
  19. package/dist/chunks/{characterCounter.component-DL4T3MCU.js → characterCounter.component-B7PijscW.js} +2 -2
  20. package/dist/chunks/{characterCounter.component-DL4T3MCU.js.map → characterCounter.component-B7PijscW.js.map} +1 -1
  21. package/dist/chunks/{checkbox.component-Ctl_OMbe.js → checkbox.component-C3SpCA_Q.js} +10 -10
  22. package/dist/chunks/{checkbox.component-Ctl_OMbe.js.map → checkbox.component-C3SpCA_Q.js.map} +1 -1
  23. package/dist/chunks/{checkbox.component-C9K_0aVs.js → checkbox.component-Dt23wSaV.js} +2 -2
  24. package/dist/chunks/{checkbox.component-C9K_0aVs.js.map → checkbox.component-Dt23wSaV.js.map} +1 -1
  25. package/dist/chunks/{checkbox.records-CSpdkmTY.js → checkbox.records-4j704fMI.js} +12 -12
  26. package/dist/chunks/{checkbox.records-CSpdkmTY.js.map → checkbox.records-4j704fMI.js.map} +1 -1
  27. package/dist/chunks/checkbox.records-DI3mqSNf.js +2 -0
  28. package/dist/chunks/{checkbox.records-DQMCwuT0.js.map → checkbox.records-DI3mqSNf.js.map} +1 -1
  29. package/dist/chunks/{checkboxGroup.component-Bskd5dH5.js → checkboxGroup.component-CVpvkfhE.js} +2 -2
  30. package/dist/chunks/{checkboxGroup.component-Bskd5dH5.js.map → checkboxGroup.component-CVpvkfhE.js.map} +1 -1
  31. package/dist/chunks/{checkboxGroup.component-BXOO72eO.js → checkboxGroup.component-DsfWyRog.js} +3 -3
  32. package/dist/chunks/{checkboxGroup.component-BXOO72eO.js.map → checkboxGroup.component-DsfWyRog.js.map} +1 -1
  33. package/dist/chunks/{conversationCard.component-C-FkaUmK.js → conversationCard.component-BOVg1QrI.js} +6 -6
  34. package/dist/chunks/{conversationCard.component-C-FkaUmK.js.map → conversationCard.component-BOVg1QrI.js.map} +1 -1
  35. package/dist/chunks/{conversationCard.component-DzWJ5HQW.js → conversationCard.component-DAk3CXE_.js} +2 -2
  36. package/dist/chunks/{conversationCard.component-DzWJ5HQW.js.map → conversationCard.component-DAk3CXE_.js.map} +1 -1
  37. package/dist/chunks/{datePicker.component-BBOkyyla.js → datePicker.component-ByOoi8Qd.js} +7 -8
  38. package/dist/chunks/datePicker.component-ByOoi8Qd.js.map +1 -0
  39. package/dist/chunks/{datePicker.component-C9lbmDiW.js → datePicker.component-DP7YTR4q.js} +3 -3
  40. package/dist/chunks/datePicker.component-DP7YTR4q.js.map +1 -0
  41. package/dist/chunks/{dialog-trigger-B5NK0lr-.js → dialog-trigger-MkOQUjzu.js} +2 -2
  42. package/dist/chunks/{dialog-trigger-B5NK0lr-.js.map → dialog-trigger-MkOQUjzu.js.map} +1 -1
  43. package/dist/chunks/{dialog-trigger-Qc_jF1sR.js → dialog-trigger-eqGXDXGQ.js} +9 -9
  44. package/dist/chunks/{dialog-trigger-Qc_jF1sR.js.map → dialog-trigger-eqGXDXGQ.js.map} +1 -1
  45. package/dist/chunks/{heading.component-D84GW8Ex.js → heading.component-B5fvHRUH.js} +2 -2
  46. package/dist/chunks/{heading.component-D84GW8Ex.js.map → heading.component-B5fvHRUH.js.map} +1 -1
  47. package/dist/chunks/{heading.component-BzNpnXHK.js → heading.component-tEOV4AD0.js} +2 -2
  48. package/dist/chunks/{heading.component-BzNpnXHK.js.map → heading.component-tEOV4AD0.js.map} +1 -1
  49. package/dist/chunks/index-BR7peqZO.js +2 -0
  50. package/dist/chunks/{index-MlhL0PDC.js.map → index-BR7peqZO.js.map} +1 -1
  51. package/dist/chunks/{index-C6cNrRSG.js → index-Bff1r_rH.js} +15 -15
  52. package/dist/chunks/{index-C6cNrRSG.js.map → index-Bff1r_rH.js.map} +1 -1
  53. package/dist/chunks/index-Bz8HDeWA.js +70 -0
  54. package/dist/chunks/index-Bz8HDeWA.js.map +1 -0
  55. package/dist/chunks/index-CHIISuTq.js +3 -0
  56. package/dist/chunks/index-CHIISuTq.js.map +1 -0
  57. package/dist/chunks/{index-Im8BYbf9.js → index-CJLttzPM.js} +3 -3
  58. package/dist/chunks/{index-Im8BYbf9.js.map → index-CJLttzPM.js.map} +1 -1
  59. package/dist/chunks/index-CS8X6LiC.js +2 -0
  60. package/dist/chunks/{index-BDnnTdaJ.js.map → index-CS8X6LiC.js.map} +1 -1
  61. package/dist/chunks/{index-BRCoaB60.js → index-C_AXAeNS.js} +16 -17
  62. package/dist/chunks/{index-BRCoaB60.js.map → index-C_AXAeNS.js.map} +1 -1
  63. package/dist/chunks/{index-B2pGzKof.js → index-Cbkb_94C.js} +48 -49
  64. package/dist/chunks/{index-B2pGzKof.js.map → index-Cbkb_94C.js.map} +1 -1
  65. package/dist/chunks/{index-BBZxmcrY.js → index-CtXUprYH.js} +2 -2
  66. package/dist/chunks/{index-BBZxmcrY.js.map → index-CtXUprYH.js.map} +1 -1
  67. package/dist/chunks/index-DBk0LkcO.js +2 -0
  68. package/dist/chunks/{index-C4Skb3ZI.js.map → index-DBk0LkcO.js.map} +1 -1
  69. package/dist/chunks/{index-BYf7SZUC.js → index-DOXzraja.js} +2 -2
  70. package/dist/chunks/{index-BYf7SZUC.js.map → index-DOXzraja.js.map} +1 -1
  71. package/dist/chunks/index-DSedXH1s.js +2 -0
  72. package/dist/chunks/{index-ZaGEDS_0.js.map → index-DSedXH1s.js.map} +1 -1
  73. package/dist/chunks/{index-KOHUWYh0.js → index-DUY19L6M.js} +105 -106
  74. package/dist/chunks/{index-KOHUWYh0.js.map → index-DUY19L6M.js.map} +1 -1
  75. package/dist/chunks/{index-ftlwWpKA.js → index-DVNjUEDJ.js} +9 -9
  76. package/dist/chunks/{index-ftlwWpKA.js.map → index-DVNjUEDJ.js.map} +1 -1
  77. package/dist/chunks/index-DbTEJc-K.js +2 -0
  78. package/dist/chunks/index-DbTEJc-K.js.map +1 -0
  79. package/dist/chunks/{index-COoMV9Mh.js → index-DowO8Ued.js} +2 -2
  80. package/dist/chunks/{index-COoMV9Mh.js.map → index-DowO8Ued.js.map} +1 -1
  81. package/dist/chunks/{index-Ootk-hWL.js → index-L197Dry5.js} +17 -18
  82. package/dist/chunks/{index-Ootk-hWL.js.map → index-L197Dry5.js.map} +1 -1
  83. package/dist/chunks/{index-BwIBc5Vr.js → index-OpolRlgD.js} +3 -3
  84. package/dist/chunks/{index-BwIBc5Vr.js.map → index-OpolRlgD.js.map} +1 -1
  85. package/dist/chunks/index-QTIBH1Or.js +2 -0
  86. package/dist/chunks/{index-CZz7hHWb.js.map → index-QTIBH1Or.js.map} +1 -1
  87. package/dist/chunks/index-YtNA0Ueo.js +1328 -0
  88. package/dist/chunks/index-YtNA0Ueo.js.map +1 -0
  89. package/dist/chunks/{index-DwxB1_tE.js → index-cSjUS7Xj.js} +43 -44
  90. package/dist/chunks/{index-DwxB1_tE.js.map → index-cSjUS7Xj.js.map} +1 -1
  91. package/dist/chunks/index-iaug4k6v.js +8 -0
  92. package/dist/chunks/{index-UWtj4ULm.js.map → index-iaug4k6v.js.map} +1 -1
  93. package/dist/chunks/{menu.component-DHh_2Eme.js → menu.component-C-HbgplJ.js} +2 -2
  94. package/dist/chunks/{menu.component-DHh_2Eme.js.map → menu.component-C-HbgplJ.js.map} +1 -1
  95. package/dist/chunks/{menu.component-C6JbDroI.js → menu.component-DRbCsT5G.js} +26 -26
  96. package/dist/chunks/{menu.component-C6JbDroI.js.map → menu.component-DRbCsT5G.js.map} +1 -1
  97. package/dist/chunks/{modal.types-nOPrSEJd.js → modal.types-BShblwxe.js} +4 -4
  98. package/dist/chunks/{modal.types-nOPrSEJd.js.map → modal.types-BShblwxe.js.map} +1 -1
  99. package/dist/chunks/{modal.types-CmgKqsZR.js → modal.types-Bbjk7iGl.js} +2 -2
  100. package/dist/chunks/{modal.types-CmgKqsZR.js.map → modal.types-Bbjk7iGl.js.map} +1 -1
  101. package/dist/chunks/{pinInput.types-CtFQbT8o.js → pinInput.types-DzKllrSu.js} +2 -2
  102. package/dist/chunks/{pinInput.types-CtFQbT8o.js.map → pinInput.types-DzKllrSu.js.map} +1 -1
  103. package/dist/chunks/{pinInput.types-W39JHqF7.js → pinInput.types-vJ-_jicz.js} +8 -8
  104. package/dist/chunks/{pinInput.types-W39JHqF7.js.map → pinInput.types-vJ-_jicz.js.map} +1 -1
  105. package/dist/chunks/{popover-80QH8HEJ.js → popover-BSBYgvs4.js} +2 -2
  106. package/dist/chunks/{popover-80QH8HEJ.js.map → popover-BSBYgvs4.js.map} +1 -1
  107. package/dist/chunks/{popover-BpMSsJKD.js → popover-DNKVYG-J.js} +26 -26
  108. package/dist/chunks/{popover-BpMSsJKD.js.map → popover-DNKVYG-J.js.map} +1 -1
  109. package/dist/chunks/{popover-root-provider-rmv9U0xr.js → popover-root-provider-BErev2-N.js} +8 -8
  110. package/dist/chunks/{popover-root-provider-rmv9U0xr.js.map → popover-root-provider-BErev2-N.js.map} +1 -1
  111. package/dist/chunks/{popover-root-provider-DAMDDAHQ.js → popover-root-provider-C2iwUZJn.js} +2 -2
  112. package/dist/chunks/{popover-root-provider-DAMDDAHQ.js.map → popover-root-provider-C2iwUZJn.js.map} +1 -1
  113. package/dist/chunks/popover.component-BxwHgQIv.js +2 -0
  114. package/dist/chunks/popover.component-BxwHgQIv.js.map +1 -0
  115. package/dist/chunks/popover.component-CVGKw2zy.js +386 -0
  116. package/dist/chunks/popover.component-CVGKw2zy.js.map +1 -0
  117. package/dist/chunks/{radio.records-DE0E27Oo.js → radio.records-4ih1q8nO.js} +16 -16
  118. package/dist/chunks/{radio.records-DE0E27Oo.js.map → radio.records-4ih1q8nO.js.map} +1 -1
  119. package/dist/chunks/radio.records-j0JOqaJ4.js +2 -0
  120. package/dist/chunks/{radio.records-DyRupgeD.js.map → radio.records-j0JOqaJ4.js.map} +1 -1
  121. package/dist/chunks/{radioGroup.component-CprwLxl1.js → radioGroup.component-DOCa9IlZ.js} +11 -11
  122. package/dist/chunks/{radioGroup.component-CprwLxl1.js.map → radioGroup.component-DOCa9IlZ.js.map} +1 -1
  123. package/dist/chunks/{radioGroup.component-C9G5TnKb.js → radioGroup.component-HJ7ADLyQ.js} +2 -2
  124. package/dist/chunks/{radioGroup.component-C9G5TnKb.js.map → radioGroup.component-HJ7ADLyQ.js.map} +1 -1
  125. package/dist/chunks/{ratingDots.component-DOB0-Fyl.js → ratingDots.component-BuFKV26e.js} +3 -3
  126. package/dist/chunks/{ratingDots.component-DOB0-Fyl.js.map → ratingDots.component-BuFKV26e.js.map} +1 -1
  127. package/dist/chunks/{ratingDots.component-DbxCjCy6.js → ratingDots.component-CJuTm2VS.js} +2 -2
  128. package/dist/chunks/{ratingDots.component-DbxCjCy6.js.map → ratingDots.component-CJuTm2VS.js.map} +1 -1
  129. package/dist/chunks/{render-strategy-m3gtiO9A.js → render-strategy-CHp7lb6C.js} +2 -2
  130. package/dist/chunks/{render-strategy-m3gtiO9A.js.map → render-strategy-CHp7lb6C.js.map} +1 -1
  131. package/dist/chunks/{render-strategy-BmWbSgqh.js → render-strategy-C_zp9LNQ.js} +2 -2
  132. package/dist/chunks/{render-strategy-BmWbSgqh.js.map → render-strategy-C_zp9LNQ.js.map} +1 -1
  133. package/dist/chunks/{select.component-D_UomQ_K.js → select.component-CybeNI0i.js} +43 -43
  134. package/dist/chunks/{select.component-D_UomQ_K.js.map → select.component-CybeNI0i.js.map} +1 -1
  135. package/dist/chunks/{select.component-ZLlCuJkB.js → select.component-i_EaT6Zs.js} +2 -2
  136. package/dist/chunks/{select.component-ZLlCuJkB.js.map → select.component-i_EaT6Zs.js.map} +1 -1
  137. package/dist/chunks/{sortableList.component-Du0lV3PZ.js → sortableList.component-C4sdfnNc.js} +3 -3
  138. package/dist/chunks/{sortableList.component-Du0lV3PZ.js.map → sortableList.component-C4sdfnNc.js.map} +1 -1
  139. package/dist/chunks/{sortableList.component-BcP0nTpP.js → sortableList.component-Di02P6Xa.js} +2 -2
  140. package/dist/chunks/{sortableList.component-BcP0nTpP.js.map → sortableList.component-Di02P6Xa.js.map} +1 -1
  141. package/dist/chunks/{spinner.component-DRjoEc9z.js → spinner.component-Y6WSYB00.js} +2 -2
  142. package/dist/chunks/{spinner.component-DRjoEc9z.js.map → spinner.component-Y6WSYB00.js.map} +1 -1
  143. package/dist/chunks/{spinner.component-DQgAPRaP.js → spinner.component-mAs2EzXc.js} +2 -2
  144. package/dist/chunks/{spinner.component-DQgAPRaP.js.map → spinner.component-mAs2EzXc.js.map} +1 -1
  145. package/dist/chunks/{styledAvatar.types-BgSRTKhc.js → styledAvatar.types-D1U_mKEg.js} +2 -2
  146. package/dist/chunks/{styledAvatar.types-BgSRTKhc.js.map → styledAvatar.types-D1U_mKEg.js.map} +1 -1
  147. package/dist/chunks/{styledAvatar.types-Qai9NHfQ.js → styledAvatar.types-E52xMx_F.js} +2 -2
  148. package/dist/chunks/{styledAvatar.types-Qai9NHfQ.js.map → styledAvatar.types-E52xMx_F.js.map} +1 -1
  149. package/dist/chunks/{switch.component-C_YkOZVM.js → switch.component-BC_L3Gzc.js} +2 -2
  150. package/dist/chunks/{switch.component-C_YkOZVM.js.map → switch.component-BC_L3Gzc.js.map} +1 -1
  151. package/dist/chunks/{switch.component-Dg54t6kn.js → switch.component-F106ejwM.js} +11 -11
  152. package/dist/chunks/{switch.component-Dg54t6kn.js.map → switch.component-F106ejwM.js.map} +1 -1
  153. package/dist/chunks/{tabs.component-U9KpRJQV.js → tabs.component-BSQtGb-N.js} +47 -47
  154. package/dist/chunks/{tabs.component-U9KpRJQV.js.map → tabs.component-BSQtGb-N.js.map} +1 -1
  155. package/dist/chunks/{tabs.component-4zh8jiEy.js → tabs.component-YEPvlQka.js} +2 -2
  156. package/dist/chunks/{tabs.component-4zh8jiEy.js.map → tabs.component-YEPvlQka.js.map} +1 -1
  157. package/dist/chunks/{tagBlock.component-V_JWEe9n.js → tagBlock.component-5R68SSbc.js} +2 -2
  158. package/dist/chunks/{tagBlock.component-V_JWEe9n.js.map → tagBlock.component-5R68SSbc.js.map} +1 -1
  159. package/dist/chunks/{tagBlock.component-BZG468o5.js → tagBlock.component-C59sawdu.js} +5 -5
  160. package/dist/chunks/{tagBlock.component-BZG468o5.js.map → tagBlock.component-C59sawdu.js.map} +1 -1
  161. package/dist/chunks/{textInput.component-BLK32hA7.js → textInput.component-BLxERLt1.js} +2 -2
  162. package/dist/chunks/{textInput.component-BLK32hA7.js.map → textInput.component-BLxERLt1.js.map} +1 -1
  163. package/dist/chunks/{textInput.component-CcyrHWXa.js → textInput.component-DF5JU8nm.js} +12 -12
  164. package/dist/chunks/{textInput.component-CcyrHWXa.js.map → textInput.component-DF5JU8nm.js.map} +1 -1
  165. package/dist/chunks/{textarea.component-D3el9l9H.js → textarea.component-C3hMq2md.js} +2 -2
  166. package/dist/chunks/{textarea.component-D3el9l9H.js.map → textarea.component-C3hMq2md.js.map} +1 -1
  167. package/dist/chunks/{textarea.component-B_KAENP6.js → textarea.component-Cb7cJ3fE.js} +7 -7
  168. package/dist/chunks/{textarea.component-B_KAENP6.js.map → textarea.component-Cb7cJ3fE.js.map} +1 -1
  169. package/dist/chunks/theme.provider-BuF0PD7y.js +26 -0
  170. package/dist/chunks/theme.provider-BuF0PD7y.js.map +1 -0
  171. package/dist/chunks/{theme.provider-px_2ytDm.js → theme.provider-DIHPjRt6.js} +1827 -1716
  172. package/dist/chunks/theme.provider-DIHPjRt6.js.map +1 -0
  173. package/dist/chunks/{timePicker.component-BDngkTzk.js → timePicker.component-DOuFbuYn.js} +2 -2
  174. package/dist/chunks/timePicker.component-DOuFbuYn.js.map +1 -0
  175. package/dist/chunks/{timePicker.component-Co16Tl6i.js → timePicker.component-DzmwMnG3.js} +19 -20
  176. package/dist/chunks/timePicker.component-DzmwMnG3.js.map +1 -0
  177. package/dist/chunks/{timeRange.component-CXZA_5f5.js → timeRange.component-BEJvno5T.js} +2 -2
  178. package/dist/chunks/{timeRange.component-CXZA_5f5.js.map → timeRange.component-BEJvno5T.js.map} +1 -1
  179. package/dist/chunks/{timeRange.component-CFgHqQ-a.js → timeRange.component-C6zB9wnu.js} +2 -2
  180. package/dist/chunks/{timeRange.component-CFgHqQ-a.js.map → timeRange.component-C6zB9wnu.js.map} +1 -1
  181. package/dist/chunks/{timestamp.component-D1c35p1O.js → timestamp.component-3r-E7s-6.js} +2 -2
  182. package/dist/chunks/{timestamp.component-D1c35p1O.js.map → timestamp.component-3r-E7s-6.js.map} +1 -1
  183. package/dist/chunks/{timestamp.component-xIXZ1QOP.js → timestamp.component-CexMdlZm.js} +2 -2
  184. package/dist/chunks/{timestamp.component-xIXZ1QOP.js.map → timestamp.component-CexMdlZm.js.map} +1 -1
  185. package/dist/chunks/{toaster.records-Dp_v1E5T.js → toaster.records-CcwOeMM7.js} +21 -22
  186. package/dist/chunks/{toaster.records-Dp_v1E5T.js.map → toaster.records-CcwOeMM7.js.map} +1 -1
  187. package/dist/chunks/toaster.records-zJfplz5w.js +2 -0
  188. package/dist/chunks/{toaster.records-BJo0j1IZ.js.map → toaster.records-zJfplz5w.js.map} +1 -1
  189. package/dist/chunks/{typography.records-C6G_65b4.js → typography.records-CSy2LmDd.js} +2 -2
  190. package/dist/chunks/{typography.records-C6G_65b4.js.map → typography.records-CSy2LmDd.js.map} +1 -1
  191. package/dist/chunks/{typography.records-BVjSfRuB.js → typography.records-H4aA5AOA.js} +2 -2
  192. package/dist/chunks/{typography.records-BVjSfRuB.js.map → typography.records-H4aA5AOA.js.map} +1 -1
  193. package/dist/chunks/{use-field-context--wBJQY1R.js → use-field-context-CArmgHPP.js} +2 -2
  194. package/dist/chunks/{use-field-context--wBJQY1R.js.map → use-field-context-CArmgHPP.js.map} +1 -1
  195. package/dist/chunks/{use-field-context-xndZXNT4.js → use-field-context-Cm3grEyV.js} +2 -2
  196. package/dist/chunks/{use-field-context-xndZXNT4.js.map → use-field-context-Cm3grEyV.js.map} +1 -1
  197. package/dist/chunks/{use-locale-context-KeBTTMq9.js → use-locale-context-BiiNTYMT.js} +29 -29
  198. package/dist/chunks/{use-locale-context-KeBTTMq9.js.map → use-locale-context-BiiNTYMT.js.map} +1 -1
  199. package/dist/chunks/{use-locale-context-BdqHZ8L8.js → use-locale-context-D0LByRu9.js} +2 -2
  200. package/dist/chunks/{use-locale-context-BdqHZ8L8.js.map → use-locale-context-D0LByRu9.js.map} +1 -1
  201. package/dist/chunks/{withFormControl-BAEE7_5w.js → withFormControl-DyPM4V_t.js} +2 -2
  202. package/dist/chunks/{withFormControl-BAEE7_5w.js.map → withFormControl-DyPM4V_t.js.map} +1 -1
  203. package/dist/chunks/{withFormControl-C8abg91Q.js → withFormControl-yxJx_BJg.js} +49 -49
  204. package/dist/chunks/{withFormControl-C8abg91Q.js.map → withFormControl-yxJx_BJg.js.map} +1 -1
  205. package/dist/chunks/withTruncation-B-Hma82m.js +2 -0
  206. package/dist/chunks/withTruncation-B-Hma82m.js.map +1 -0
  207. package/dist/chunks/withTruncation-BRHPZgp1.js +581 -0
  208. package/dist/chunks/withTruncation-BRHPZgp1.js.map +1 -0
  209. package/dist/cjs/chakra/index.cjs +1 -1
  210. package/dist/cjs/components/Alert/index.cjs +1 -1
  211. package/dist/cjs/components/Avatar/index.cjs +1 -1
  212. package/dist/cjs/components/AvatarGroup/index.cjs +1 -1
  213. package/dist/cjs/components/ButtonGroup/index.cjs +1 -1
  214. package/dist/cjs/components/CharacterCounter/index.cjs +1 -1
  215. package/dist/cjs/components/Checkbox/index.cjs +1 -1
  216. package/dist/cjs/components/CheckboxGroup/index.cjs +1 -1
  217. package/dist/cjs/components/ConversationCard/index.cjs +1 -1
  218. package/dist/cjs/components/DatePicker/index.cjs +1 -1
  219. package/dist/cjs/components/Heading/index.cjs +1 -1
  220. package/dist/cjs/components/Menu/index.cjs +1 -1
  221. package/dist/cjs/components/Modal/index.cjs +1 -1
  222. package/dist/cjs/components/PinInput/index.cjs +1 -1
  223. package/dist/cjs/components/Popover/index.cjs +1 -1
  224. package/dist/cjs/components/RadioGroup/index.cjs +1 -1
  225. package/dist/cjs/components/RatingDots/index.cjs +1 -1
  226. package/dist/cjs/components/Select/index.cjs +1 -1
  227. package/dist/cjs/components/SortableList/index.cjs +1 -1
  228. package/dist/cjs/components/Spinner/index.cjs +1 -1
  229. package/dist/cjs/components/StyledAvatar/index.cjs +1 -1
  230. package/dist/cjs/components/Switch/index.cjs +1 -1
  231. package/dist/cjs/components/Tabs/index.cjs +1 -1
  232. package/dist/cjs/components/TagBlock/index.cjs +1 -1
  233. package/dist/cjs/components/Text/index.cjs +1 -1
  234. package/dist/cjs/components/TextInput/index.cjs +1 -1
  235. package/dist/cjs/components/Textarea/index.cjs +1 -1
  236. package/dist/cjs/components/TimePicker/index.cjs +1 -1
  237. package/dist/cjs/components/TimeRange/index.cjs +1 -1
  238. package/dist/cjs/components/Timestamp/index.cjs +1 -1
  239. package/dist/cjs/components/Toast/index.cjs +1 -1
  240. package/dist/cjs/components/Tooltip/index.cjs +1 -1
  241. package/dist/cjs/components/index.cjs +1 -1
  242. package/dist/cjs/index.cjs +1 -1
  243. package/dist/cjs/theme/index.cjs +1 -1
  244. package/dist/esm/chakra/index.js +8 -8
  245. package/dist/esm/components/Alert/index.js +1 -1
  246. package/dist/esm/components/Avatar/index.js +1 -1
  247. package/dist/esm/components/AvatarGroup/index.js +1 -1
  248. package/dist/esm/components/ButtonGroup/index.js +1 -1
  249. package/dist/esm/components/CharacterCounter/index.js +1 -1
  250. package/dist/esm/components/Checkbox/index.js +1 -1
  251. package/dist/esm/components/CheckboxGroup/index.js +1 -1
  252. package/dist/esm/components/ConversationCard/index.js +1 -1
  253. package/dist/esm/components/DatePicker/index.js +1 -1
  254. package/dist/esm/components/Heading/index.js +1 -1
  255. package/dist/esm/components/Menu/index.js +1 -1
  256. package/dist/esm/components/Modal/index.js +1 -1
  257. package/dist/esm/components/PinInput/index.js +1 -1
  258. package/dist/esm/components/Popover/index.js +1 -1
  259. package/dist/esm/components/RadioGroup/index.js +1 -1
  260. package/dist/esm/components/RatingDots/index.js +1 -1
  261. package/dist/esm/components/Select/index.js +1 -1
  262. package/dist/esm/components/SortableList/index.js +1 -1
  263. package/dist/esm/components/Spinner/index.js +1 -1
  264. package/dist/esm/components/StyledAvatar/index.js +1 -1
  265. package/dist/esm/components/Switch/index.js +1 -1
  266. package/dist/esm/components/Tabs/index.js +1 -1
  267. package/dist/esm/components/TagBlock/index.js +1 -1
  268. package/dist/esm/components/Text/index.js +1 -1
  269. package/dist/esm/components/TextInput/index.js +1 -1
  270. package/dist/esm/components/Textarea/index.js +1 -1
  271. package/dist/esm/components/TimePicker/index.js +1 -1
  272. package/dist/esm/components/TimeRange/index.js +1 -1
  273. package/dist/esm/components/Timestamp/index.js +1 -1
  274. package/dist/esm/components/Toast/index.js +1 -1
  275. package/dist/esm/components/Tooltip/index.js +1 -1
  276. package/dist/esm/components/index.js +29 -29
  277. package/dist/esm/index.js +30 -30
  278. package/dist/esm/theme/index.js +1 -1
  279. package/dist/types/components/Avatar/avatar.recipe.d.ts +1 -1
  280. package/dist/types/components/Button/button.recipe.d.ts +1 -1
  281. package/dist/types/components/Logo/logo.recipe.d.ts +1 -1
  282. package/dist/types/components/Menu/menu.recipe.d.ts +1 -1
  283. package/dist/types/components/Modal/modal.recipe.d.ts +1 -1
  284. package/dist/types/components/PinInput/pinInput.recipe.d.ts +1 -1
  285. package/dist/types/components/Popover/popover.recipe.d.ts +1 -1
  286. package/dist/types/components/Spinner/spinner.recipe.d.ts +1 -1
  287. package/dist/types/components/TimePicker/timePicker.recipe.d.ts +1 -1
  288. package/dist/types/components/Tooltip/tooltip.component.d.ts +4 -2
  289. package/dist/types/components/Tooltip/tooltip.recipe.d.ts +1 -1
  290. package/dist/types/theme/tokens/shadows/shadows.config.d.ts +3 -3
  291. package/dist/types/theme/tokens/sizes/sizes.config.d.ts +3 -3
  292. package/dist/types/theme/tokens/spacing/spacing.config.d.ts +3 -3
  293. package/dist/types/theme/tokens/transitions/transitions.config.d.ts +2 -2
  294. package/package.json +1 -1
  295. package/dist/chunks/checkbox.records-DQMCwuT0.js +0 -2
  296. package/dist/chunks/datePicker.component-BBOkyyla.js.map +0 -1
  297. package/dist/chunks/datePicker.component-C9lbmDiW.js.map +0 -1
  298. package/dist/chunks/index-BDnnTdaJ.js +0 -2
  299. package/dist/chunks/index-BGwwyukg.js +0 -2
  300. package/dist/chunks/index-BGwwyukg.js.map +0 -1
  301. package/dist/chunks/index-BIz6smcP.js +0 -322
  302. package/dist/chunks/index-BIz6smcP.js.map +0 -1
  303. package/dist/chunks/index-C4Skb3ZI.js +0 -2
  304. package/dist/chunks/index-CZ42b9rT.js +0 -3
  305. package/dist/chunks/index-CZ42b9rT.js.map +0 -1
  306. package/dist/chunks/index-CZz7hHWb.js +0 -2
  307. package/dist/chunks/index-Czx27hGN.js +0 -1018
  308. package/dist/chunks/index-Czx27hGN.js.map +0 -1
  309. package/dist/chunks/index-MlhL0PDC.js +0 -2
  310. package/dist/chunks/index-UWtj4ULm.js +0 -8
  311. package/dist/chunks/index-ZaGEDS_0.js +0 -2
  312. package/dist/chunks/popover.component-C6ERLtW7.js +0 -322
  313. package/dist/chunks/popover.component-C6ERLtW7.js.map +0 -1
  314. package/dist/chunks/popover.component-XsWmj-kz.js +0 -2
  315. package/dist/chunks/popover.component-XsWmj-kz.js.map +0 -1
  316. package/dist/chunks/popover.recipe-DLeyokHo.js +0 -2
  317. package/dist/chunks/popover.recipe-DLeyokHo.js.map +0 -1
  318. package/dist/chunks/popover.recipe-_90TbZhK.js +0 -479
  319. package/dist/chunks/popover.recipe-_90TbZhK.js.map +0 -1
  320. package/dist/chunks/radio.records-DyRupgeD.js +0 -2
  321. package/dist/chunks/theme.provider-Bar-AuPo.js +0 -26
  322. package/dist/chunks/theme.provider-Bar-AuPo.js.map +0 -1
  323. package/dist/chunks/theme.provider-px_2ytDm.js.map +0 -1
  324. package/dist/chunks/timePicker.component-BDngkTzk.js.map +0 -1
  325. package/dist/chunks/timePicker.component-Co16Tl6i.js.map +0 -1
  326. package/dist/chunks/toaster.records-BJo0j1IZ.js +0 -2
  327. package/dist/chunks/withTruncation-BAxxp5gA.js +0 -822
  328. package/dist/chunks/withTruncation-BAxxp5gA.js.map +0 -1
  329. package/dist/chunks/withTruncation-FFeS8Bf1.js +0 -2
  330. package/dist/chunks/withTruncation-FFeS8Bf1.js.map +0 -1
@@ -1,4 +1,4 @@
1
- "use strict";const le=require("./jsx-runtime-BjDatQAs.js"),w=require("./index-CZ42b9rT.js"),S=require("react"),ft=e=>e&&e.__esModule?e:{default:e},Be=ft(S);var ue={exports:{}},D={};/**
1
+ "use strict";const le=require("./jsx-runtime-BjDatQAs.js"),w=require("./index-CHIISuTq.js"),S=require("react"),ft=e=>e&&e.__esModule?e:{default:e},Be=ft(S);var ue={exports:{}},D={};/**
2
2
  * @license React
3
3
  * react-dom.production.js
4
4
  *
@@ -19,4 +19,4 @@
19
19
  2. You might be breaking the Rules of Hooks
20
20
  3. You might have more than one copy of React in the same app
21
21
  See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),a}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var f=Be.default,u={d:{f:e,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:e,C:e,L:e,m:e,X:e,S:e,M:e},p:0,findDOMNode:null},s=Symbol.for("react.portal"),g=f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),M.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=u,M.createPortal=function(a,i){var d=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11)throw Error("Target container is not a DOM element.");return r(a,i,null,d)},M.flushSync=function(a){var i=g.T,d=u.p;try{if(g.T=null,u.p=2,a)return a()}finally{g.T=i,u.p=d,u.d.f()&&console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.")}},M.preconnect=function(a,i){typeof a=="string"&&a?i!=null&&typeof i!="object"?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",c(i)):i!=null&&typeof i.crossOrigin!="string"&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",o(i.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",o(a)),typeof a=="string"&&(i?(i=i.crossOrigin,i=typeof i=="string"?i==="use-credentials"?i:"":void 0):i=null,u.d.C(a,i))},M.prefetchDNS=function(a){if(typeof a!="string"||!a)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",o(a));else if(1<arguments.length){var i=arguments[1];typeof i=="object"&&i.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",c(i)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",c(i))}typeof a=="string"&&u.d.D(a)},M.preinit=function(a,i){if(typeof a=="string"&&a?i==null||typeof i!="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",c(i)):i.as!=="style"&&i.as!=="script"&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',c(i.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",o(a)),typeof a=="string"&&i&&typeof i.as=="string"){var d=i.as,m=n(d,i.crossOrigin),p=typeof i.integrity=="string"?i.integrity:void 0,y=typeof i.fetchPriority=="string"?i.fetchPriority:void 0;d==="style"?u.d.S(a,typeof i.precedence=="string"?i.precedence:void 0,{crossOrigin:m,integrity:p,fetchPriority:y}):d==="script"&&u.d.X(a,{crossOrigin:m,integrity:p,fetchPriority:y,nonce:typeof i.nonce=="string"?i.nonce:void 0})}},M.preinitModule=function(a,i){var d="";if(typeof a=="string"&&a||(d+=" The `href` argument encountered was "+o(a)+"."),i!==void 0&&typeof i!="object"?d+=" The `options` argument encountered was "+o(i)+".":i&&"as"in i&&i.as!=="script"&&(d+=" The `as` option encountered was "+c(i.as)+"."),d)console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",d);else switch(d=i&&typeof i.as=="string"?i.as:"script",d){case"script":break;default:d=c(d),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',d,a)}typeof a=="string"&&(typeof i=="object"&&i!==null?(i.as==null||i.as==="script")&&(d=n(i.as,i.crossOrigin),u.d.M(a,{crossOrigin:d,integrity:typeof i.integrity=="string"?i.integrity:void 0,nonce:typeof i.nonce=="string"?i.nonce:void 0})):i==null&&u.d.M(a))},M.preload=function(a,i){var d="";if(typeof a=="string"&&a||(d+=" The `href` argument encountered was "+o(a)+"."),i==null||typeof i!="object"?d+=" The `options` argument encountered was "+o(i)+".":typeof i.as=="string"&&i.as||(d+=" The `as` option encountered was "+o(i.as)+"."),d&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',d),typeof a=="string"&&typeof i=="object"&&i!==null&&typeof i.as=="string"){d=i.as;var m=n(d,i.crossOrigin);u.d.L(a,d,{crossOrigin:m,integrity:typeof i.integrity=="string"?i.integrity:void 0,nonce:typeof i.nonce=="string"?i.nonce:void 0,type:typeof i.type=="string"?i.type:void 0,fetchPriority:typeof i.fetchPriority=="string"?i.fetchPriority:void 0,referrerPolicy:typeof i.referrerPolicy=="string"?i.referrerPolicy:void 0,imageSrcSet:typeof i.imageSrcSet=="string"?i.imageSrcSet:void 0,imageSizes:typeof i.imageSizes=="string"?i.imageSizes:void 0,media:typeof i.media=="string"?i.media:void 0})}},M.preloadModule=function(a,i){var d="";typeof a=="string"&&a||(d+=" The `href` argument encountered was "+o(a)+"."),i!==void 0&&typeof i!="object"?d+=" The `options` argument encountered was "+o(i)+".":i&&"as"in i&&typeof i.as!="string"&&(d+=" The `as` option encountered was "+o(i.as)+"."),d&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',d),typeof a=="string"&&(i?(d=n(i.as,i.crossOrigin),u.d.m(a,{as:typeof i.as=="string"&&i.as!=="script"?i.as:void 0,crossOrigin:d,integrity:typeof i.integrity=="string"?i.integrity:void 0})):u.d.m(a))},M.requestFormReset=function(a){u.d.r(a)},M.unstable_batchedUpdates=function(a,i){return a(i)},M.useFormState=function(a,i,d){return l().useFormState(a,i,d)},M.useFormStatus=function(){return l().useHostTransitionStatus()},M.version="19.1.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),M}var ke;function mt(){if(ke)return ue.exports;ke=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}}return process.env.NODE_ENV==="production"?(e(),ue.exports=dt()):ue.exports=gt(),ue.exports}var ce=mt();function pt(e,t){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`}function he(e={}){const{name:t,strict:r=!0,hookName:n="useContext",providerName:o="Provider",errorMessage:c,defaultValue:l}=e,f=S.createContext(l);f.displayName=t;function u(){const s=S.useContext(f);if(!s&&r){const g=new Error(c??pt(n,o));throw g.name="ContextError",Error.captureStackTrace?.(g,u),g}return s}return[f.Provider,u,f]}const[Bn,qe]=he({name:"EnvironmentContext",hookName:"useEnvironmentContext",providerName:"<EnvironmentProvider />",strict:!1,defaultValue:{getRootNode:()=>document,getDocument:()=>document,getWindow:()=>window}}),yt=e=>{const{children:t,disabled:r}=e,[n,o]=S.useState(e.container?.current),c=S.useSyncExternalStore(vt,()=>!1,()=>!0),{getRootNode:l}=qe();if(S.useEffect(()=>{o(()=>e.container?.current)},[e.container]),c||r)return le.jsxRuntimeExports.jsx(le.jsxRuntimeExports.Fragment,{children:t});const f=n??ht(l);return le.jsxRuntimeExports.jsx(le.jsxRuntimeExports.Fragment,{children:S.Children.map(t,u=>ce.createPortal(u,f))})},ht=e=>{const t=e?.(),r=t.getRootNode();return w.isShadowRoot(r)?r:w.getDocument(t).body},vt=()=>()=>{};function xt(e){return new Proxy({},{get(t,r){return r==="style"?n=>e({style:n}).style:e}})}var Ye=()=>e=>Array.from(new Set(e)),Ge=typeof globalThis.document<"u"?S.useLayoutEffect:S.useEffect;function ge(e){const t=e().value??e().defaultValue,r=e().isEqual??Object.is,[n]=S.useState(t),[o,c]=S.useState(n),l=e().value!==void 0,f=S.useRef(o);f.current=l?e().value:o;const u=S.useRef(f.current);Ge(()=>{u.current=f.current},[o,e().value]);const s=a=>{const i=u.current,d=w.isFunction(a)?a(i):a;e().debug&&console.log(`[bindable > ${e().debug}] setValue`,{next:d,prev:i}),l||c(d),r(d,i)||e().onChange?.(d,i)};function g(){return l?e().value:o}return{initial:n,ref:f,get:g,set(a){(e().sync?ce.flushSync:w.identity)(()=>s(a))},invoke(a,i){e().onChange?.(a,i)},hash(a){return e().hash?.(a)??String(a)}}}ge.cleanup=e=>{S.useEffect(()=>e,[])};ge.ref=e=>{const t=S.useRef(e);return{get:()=>t.current,set:r=>{t.current=r}}};function wt(e){const t=S.useRef(e);return{get(r){return t.current[r]},set(r,n){t.current[r]=n}}}var Ot=(e,t)=>{const r=S.useRef(!1),n=S.useRef(!1);S.useEffect(()=>{if(r.current&&n.current)return t();n.current=!0},[...(e??[]).map(o=>typeof o=="function"?o():o)]),S.useEffect(()=>(r.current=!0,()=>{r.current=!1}),[])};function Ke(e,t={}){const r=S.useMemo(()=>{const{id:h,ids:x,getRootNode:T}=t;return w.createScope({id:h,ids:x,getRootNode:T})},[t]),n=(...h)=>{e.debug&&console.log(...h)},o=e.props?.({props:w.compact(t),scope:r})??t,c=bt(o),l=e.context?.({prop:c,bindable:ge,scope:r,flush:Ve,getContext(){return u},getComputed(){return E},getRefs(){return p}}),f=Xe(l),u={get(h){return f.current?.[h].ref.current},set(h,x){f.current?.[h].set(x)},initial(h){return f.current?.[h].initial},hash(h){const x=f.current?.[h].get();return f.current?.[h].hash(x)}},s=S.useRef(new Map),g=S.useRef(null),a=S.useRef(null),i=S.useRef({type:""}),d=()=>({...i.current,current(){return i.current},previous(){return a.current}}),m=()=>({...P,matches(...h){return h.includes(P.ref.current)},hasTag(h){return!!e.states[P.ref.current]?.tags?.includes(h)}}),p=wt(e.refs?.({prop:c,context:u})??{}),y=()=>({state:m(),context:u,event:d(),prop:c,send:k,action:v,guard:O,track:Ot,refs:p,computed:E,flush:Ve,scope:r,choose:A}),v=h=>{const x=w.isFunction(h)?h(y()):h;if(!x)return;const T=x.map(R=>{const _=e.implementations?.actions?.[R];return _||w.warn(`[zag-js] No implementation found for action "${JSON.stringify(R)}"`),_});for(const R of T)R?.(y())},O=h=>w.isFunction(h)?h(y()):e.implementations?.guards?.[h](y()),b=h=>{const x=w.isFunction(h)?h(y()):h;if(!x)return;const T=x.map(_=>{const C=e.implementations?.effects?.[_];return C||w.warn(`[zag-js] No implementation found for effect "${JSON.stringify(_)}"`),C}),R=[];for(const _ of T){const C=_?.(y());C&&R.push(C)}return()=>R.forEach(_=>_?.())},A=h=>w.toArray(h).find(x=>{let T=!x.guard;return w.isString(x.guard)?T=!!O(x.guard):w.isFunction(x.guard)&&(T=x.guard(y())),T}),E=h=>{w.ensure(e.computed,()=>"[zag-js] No computed object found on machine");const x=e.computed[h];return x({context:u,event:d(),prop:c,refs:p,scope:r,computed:E})},P=ge(()=>({defaultValue:e.initialState({prop:c}),onChange(h,x){x&&(s.current.get(x)?.(),s.current.delete(x)),x&&v(e.states[x]?.exit),v(g.current?.actions);const T=b(e.states[h]?.effects);if(T&&s.current.set(h,T),x===w.INIT_STATE){v(e.entry);const R=b(e.effects);R&&s.current.set(w.INIT_STATE,R)}v(e.states[h]?.entry)}})),N=S.useRef(void 0),L=S.useRef(w.MachineStatus.NotStarted);Ge(()=>{queueMicrotask(()=>{const T=L.current===w.MachineStatus.Started;L.current=w.MachineStatus.Started,n(T?"rehydrating...":"initializing...");const R=N.current??P.initial;P.invoke(R,T?P.get():w.INIT_STATE)});const h=s.current,x=P.ref.current;return()=>{n("unmounting..."),N.current=x,L.current=w.MachineStatus.Stopped,h.forEach(T=>T?.()),s.current=new Map,g.current=null,queueMicrotask(()=>{v(e.exit)})}},[]);const z=()=>"ref"in P?P.ref.current:P.get(),k=h=>{queueMicrotask(()=>{if(L.current!==w.MachineStatus.Started)return;a.current=i.current,i.current=h,n("send",h);let x=z();const T=e.states[x].on?.[h.type]??e.on?.[h.type],R=A(T);if(!R)return;g.current=R;const _=R.target??x;n("transition",R);const C=_!==x;C?ce.flushSync(()=>P.set(_)):R.reenter&&!C?P.invoke(x,x):v(R.actions??[])})};return e.watch?.(y()),{state:m(),send:k,context:u,prop:c,scope:r,refs:p,computed:E,event:d(),getStatus:()=>L.current}}function Xe(e){const t=S.useRef(e);return t.current=e,t}function bt(e){const t=Xe(e);return function(n){return t.current[n]}}function Ve(e){queueMicrotask(()=>{ce.flushSync(()=>e())})}var St=xt(e=>e);function Je(...e){return t=>{const r=[];for(const n of e)if(typeof n=="function"){const o=n(t);typeof o=="function"&&r.push(o)}else n&&(n.current=t);if(r.length)return()=>{for(const n of r)n()}}}function Rt(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}const Oe=e=>{const t=S.memo(S.forwardRef((r,n)=>{const{asChild:o,children:c,...l}=r;if(!o)return S.createElement(e,{...l,ref:n},c);const f=S.Children.only(c);if(!S.isValidElement(f))return null;const u=Rt(f);return S.cloneElement(f,{...w.mergeProps(l,f.props),ref:n?Je(n,u):u})}));return t.displayName=e.displayName||e.name,t},Et=()=>{const e=new Map;return new Proxy(Oe,{apply(t,r,n){return Oe(n[0])},get(t,r){const n=r;return e.has(n)||e.set(n,Oe(n)),e.get(n)}})},At=Et(),[Tt,Pt]=he({name:"PresenceContext",hookName:"usePresenceContext",providerName:"<PresenceProvider />"}),Qe=()=>(e,t)=>t.reduce((r,n)=>{const[o,c]=r,l=n;return c[l]!==void 0&&(o[l]=c[l]),delete c[l],[o,c]},[{},{...e}]),_t=e=>Qe()(e,["immediate","lazyMount","onExitComplete","present","skipAnimationOnMount","unmountOnExit"]);function Nt(e,t){const{state:r,send:n,context:o}=e,c=r.matches("mounted","unmountSuspended");return{skip:!o.get("initial"),present:c,setNode(l){l&&n({type:"NODE.SET",node:l})},unmount(){n({type:"UNMOUNT"})}}}var Ct=w.createMachine({props({props:e}){return{...e,present:!!e.present}},initialState({prop:e}){return e("present")?"mounted":"unmounted"},refs(){return{node:null,styles:null}},context({bindable:e}){return{unmountAnimationName:e(()=>({defaultValue:null})),prevAnimationName:e(()=>({defaultValue:null})),present:e(()=>({defaultValue:!1})),initial:e(()=>({sync:!0,defaultValue:!1}))}},exit:["clearInitial","cleanupNode"],watch({track:e,action:t,prop:r}){e([()=>r("present")],()=>{t(["setInitial","syncPresence"])})},on:{"NODE.SET":{actions:["setNode","setStyles"]}},states:{mounted:{on:{UNMOUNT:{target:"unmounted",actions:["clearPrevAnimationName","invokeOnExitComplete"]},"UNMOUNT.SUSPEND":{target:"unmountSuspended"}}},unmountSuspended:{effects:["trackAnimationEvents"],on:{MOUNT:{target:"mounted",actions:["setPrevAnimationName"]},UNMOUNT:{target:"unmounted",actions:["clearPrevAnimationName","invokeOnExitComplete"]}}},unmounted:{on:{MOUNT:{target:"mounted",actions:["setPrevAnimationName"]}}}},implementations:{actions:{setInitial:({context:e})=>{e.get("initial")||queueMicrotask(()=>{e.set("initial",!0)})},clearInitial:({context:e})=>{e.set("initial",!1)},cleanupNode:({refs:e})=>{e.set("node",null),e.set("styles",null)},invokeOnExitComplete:({prop:e})=>{e("onExitComplete")?.()},setNode:({refs:e,event:t})=>{e.set("node",t.node)},setStyles:({refs:e,event:t})=>{e.set("styles",w.getComputedStyle(t.node))},syncPresence:({context:e,refs:t,send:r,prop:n})=>{const o=n("present");if(o)return r({type:"MOUNT",src:"presence.changed"});const c=t.get("node");if(!o&&c?.ownerDocument.visibilityState==="hidden")return r({type:"UNMOUNT",src:"visibilitychange"});w.raf(()=>{const l=fe(t.get("styles"));e.set("unmountAnimationName",l),l==="none"||l===e.get("prevAnimationName")||t.get("styles")?.display==="none"||t.get("styles")?.animationDuration==="0s"?r({type:"UNMOUNT",src:"presence.changed"}):r({type:"UNMOUNT.SUSPEND"})})},setPrevAnimationName:({context:e,refs:t})=>{w.raf(()=>{e.set("prevAnimationName",fe(t.get("styles")))})},clearPrevAnimationName:({context:e})=>{e.set("prevAnimationName",null)}},effects:{trackAnimationEvents:({context:e,refs:t,send:r})=>{const n=t.get("node");if(!n)return;const o=f=>{(f.composedPath?.()?.[0]??f.target)===n&&e.set("prevAnimationName",fe(t.get("styles")))},c=f=>{const u=fe(t.get("styles"));w.getEventTarget(f)===n&&u===e.get("unmountAnimationName")&&r({type:"UNMOUNT",src:"animationend"})};n.addEventListener("animationstart",o),n.addEventListener("animationcancel",c),n.addEventListener("animationend",c);const l=w.setStyle(n,{animationFillMode:"forwards"});return()=>{n.removeEventListener("animationstart",o),n.removeEventListener("animationcancel",c),n.removeEventListener("animationend",c),w.nextTick(()=>l())}}}}});function fe(e){return e?.animationName||"none"}Ye()(["onExitComplete","present","immediate"]);function Ze(e,t={}){const{sync:r=!1}=t,n=Dt(e);return S.useCallback((...o)=>r?queueMicrotask(()=>n.current?.(...o)):n.current?.(...o),[r,n])}function Dt(e){const t=S.useRef(e);return t.current=e,t}const Mt=(e={})=>{const{lazyMount:t,unmountOnExit:r,present:n,skipAnimationOnMount:o=!1,...c}=e,l=S.useRef(!1),f={...c,present:n,onExitComplete:Ze(e.onExitComplete)},u=Ke(Ct,f),s=Nt(u);s.present&&(l.current=!0);const g=!s.present&&!l.current&&t||r&&!s.present&&l.current,a=()=>({"data-state":s.skip&&o?void 0:n?"open":"closed",hidden:!s.present});return{ref:s.setNode,getPresenceProps:a,present:s.present,unmounted:g}},Lt=["top","right","bottom","left"],J=Math.min,V=Math.max,me=Math.round,de=Math.floor,W=e=>({x:e,y:e}),kt={left:"right",right:"left",bottom:"top",top:"bottom"},Vt={start:"end",end:"start"};function Se(e,t,r){return V(e,J(t,r))}function G(e,t){return typeof e=="function"?e(t):e}function K(e){return e.split("-")[0]}function ne(e){return e.split("-")[1]}function Ae(e){return e==="x"?"y":"x"}function Te(e){return e==="y"?"height":"width"}function j(e){return["top","bottom"].includes(K(e))?"y":"x"}function Pe(e){return Ae(j(e))}function Ht(e,t,r){r===void 0&&(r=!1);const n=ne(e),o=Pe(e),c=Te(o);let l=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[c]>t.floating[c]&&(l=pe(l)),[l,pe(l)]}function zt(e){const t=pe(e);return[Re(e),t,Re(t)]}function Re(e){return e.replace(/start|end/g,t=>Vt[t])}function Ft(e,t,r){const n=["left","right"],o=["right","left"],c=["top","bottom"],l=["bottom","top"];switch(e){case"top":case"bottom":return r?t?o:n:t?n:o;case"left":case"right":return t?c:l;default:return[]}}function Ut(e,t,r,n){const o=ne(e);let c=Ft(K(e),r==="start",n);return o&&(c=c.map(l=>l+"-"+o),t&&(c=c.concat(c.map(Re)))),c}function pe(e){return e.replace(/left|right|bottom|top/g,t=>kt[t])}function $t(e){return{top:0,right:0,bottom:0,left:0,...e}}function et(e){return typeof e!="number"?$t(e):{top:e,right:e,bottom:e,left:e}}function ye(e){const{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function He(e,t,r){let{reference:n,floating:o}=e;const c=j(t),l=Pe(t),f=Te(l),u=K(t),s=c==="y",g=n.x+n.width/2-o.width/2,a=n.y+n.height/2-o.height/2,i=n[f]/2-o[f]/2;let d;switch(u){case"top":d={x:g,y:n.y-o.height};break;case"bottom":d={x:g,y:n.y+n.height};break;case"right":d={x:n.x+n.width,y:a};break;case"left":d={x:n.x-o.width,y:a};break;default:d={x:n.x,y:n.y}}switch(ne(t)){case"start":d[l]-=i*(r&&s?-1:1);break;case"end":d[l]+=i*(r&&s?-1:1);break}return d}const It=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:c=[],platform:l}=r,f=c.filter(Boolean),u=await(l.isRTL==null?void 0:l.isRTL(t));let s=await l.getElementRects({reference:e,floating:t,strategy:o}),{x:g,y:a}=He(s,n,u),i=n,d={},m=0;for(let p=0;p<f.length;p++){const{name:y,fn:v}=f[p],{x:O,y:b,data:A,reset:E}=await v({x:g,y:a,initialPlacement:n,placement:i,strategy:o,middlewareData:d,rects:s,platform:l,elements:{reference:e,floating:t}});g=O??g,a=b??a,d={...d,[y]:{...d[y],...A}},E&&m<=50&&(m++,typeof E=="object"&&(E.placement&&(i=E.placement),E.rects&&(s=E.rects===!0?await l.getElementRects({reference:e,floating:t,strategy:o}):E.rects),{x:g,y:a}=He(s,i,u)),p=-1)}return{x:g,y:a,placement:i,strategy:o,middlewareData:d}};async function ie(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:c,rects:l,elements:f,strategy:u}=e,{boundary:s="clippingAncestors",rootBoundary:g="viewport",elementContext:a="floating",altBoundary:i=!1,padding:d=0}=G(t,e),m=et(d),y=f[i?a==="floating"?"reference":"floating":a],v=ye(await c.getClippingRect({element:(r=await(c.isElement==null?void 0:c.isElement(y)))==null||r?y:y.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(f.floating)),boundary:s,rootBoundary:g,strategy:u})),O=a==="floating"?{x:n,y:o,width:l.floating.width,height:l.floating.height}:l.reference,b=await(c.getOffsetParent==null?void 0:c.getOffsetParent(f.floating)),A=await(c.isElement==null?void 0:c.isElement(b))?await(c.getScale==null?void 0:c.getScale(b))||{x:1,y:1}:{x:1,y:1},E=ye(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({elements:f,rect:O,offsetParent:b,strategy:u}):O);return{top:(v.top-E.top+m.top)/A.y,bottom:(E.bottom-v.bottom+m.bottom)/A.y,left:(v.left-E.left+m.left)/A.x,right:(E.right-v.right+m.right)/A.x}}const jt=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:c,platform:l,elements:f,middlewareData:u}=t,{element:s,padding:g=0}=G(e,t)||{};if(s==null)return{};const a=et(g),i={x:r,y:n},d=Pe(o),m=Te(d),p=await l.getDimensions(s),y=d==="y",v=y?"top":"left",O=y?"bottom":"right",b=y?"clientHeight":"clientWidth",A=c.reference[m]+c.reference[d]-i[d]-c.floating[m],E=i[d]-c.reference[d],P=await(l.getOffsetParent==null?void 0:l.getOffsetParent(s));let N=P?P[b]:0;(!N||!await(l.isElement==null?void 0:l.isElement(P)))&&(N=f.floating[b]||c.floating[m]);const L=A/2-E/2,z=N/2-p[m]/2-1,k=J(a[v],z),h=J(a[O],z),x=k,T=N-p[m]-h,R=N/2-p[m]/2+L,_=Se(x,R,T),C=!u.arrow&&ne(o)!=null&&R!==_&&c.reference[m]/2-(R<x?k:h)-p[m]/2<0,F=C?R<x?R-x:R-T:0;return{[d]:i[d]+F,data:{[d]:_,centerOffset:R-_-F,...C&&{alignmentOffset:F}},reset:C}}}),Wt=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:c,rects:l,initialPlacement:f,platform:u,elements:s}=t,{mainAxis:g=!0,crossAxis:a=!0,fallbackPlacements:i,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:p=!0,...y}=G(e,t);if((r=c.arrow)!=null&&r.alignmentOffset)return{};const v=K(o),O=j(f),b=K(f)===f,A=await(u.isRTL==null?void 0:u.isRTL(s.floating)),E=i||(b||!p?[pe(f)]:zt(f)),P=m!=="none";!i&&P&&E.push(...Ut(f,p,m,A));const N=[f,...E],L=await ie(t,y),z=[];let k=((n=c.flip)==null?void 0:n.overflows)||[];if(g&&z.push(L[v]),a){const R=Ht(o,l,A);z.push(L[R[0]],L[R[1]])}if(k=[...k,{placement:o,overflows:z}],!z.every(R=>R<=0)){var h,x;const R=(((h=c.flip)==null?void 0:h.index)||0)+1,_=N[R];if(_&&(!(a==="alignment"?O!==j(_):!1)||k.every(U=>U.overflows[0]>0&&j(U.placement)===O)))return{data:{index:R,overflows:k},reset:{placement:_}};let C=(x=k.filter(F=>F.overflows[0]<=0).sort((F,U)=>F.overflows[1]-U.overflows[1])[0])==null?void 0:x.placement;if(!C)switch(d){case"bestFit":{var T;const F=(T=k.filter(U=>{if(P){const X=j(U.placement);return X===O||X==="y"}return!0}).map(U=>[U.placement,U.overflows.filter(X=>X>0).reduce((X,ut)=>X+ut,0)]).sort((U,X)=>U[1]-X[1])[0])==null?void 0:T[0];F&&(C=F);break}case"initialPlacement":C=f;break}if(o!==C)return{reset:{placement:C}}}return{}}}};function ze(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Fe(e){return Lt.some(t=>e[t]>=0)}const Bt=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:n="referenceHidden",...o}=G(e,t);switch(n){case"referenceHidden":{const c=await ie(t,{...o,elementContext:"reference"}),l=ze(c,r.reference);return{data:{referenceHiddenOffsets:l,referenceHidden:Fe(l)}}}case"escaped":{const c=await ie(t,{...o,altBoundary:!0}),l=ze(c,r.floating);return{data:{escapedOffsets:l,escaped:Fe(l)}}}default:return{}}}}};async function qt(e,t){const{placement:r,platform:n,elements:o}=e,c=await(n.isRTL==null?void 0:n.isRTL(o.floating)),l=K(r),f=ne(r),u=j(r)==="y",s=["left","top"].includes(l)?-1:1,g=c&&u?-1:1,a=G(t,e);let{mainAxis:i,crossAxis:d,alignmentAxis:m}=typeof a=="number"?{mainAxis:a,crossAxis:0,alignmentAxis:null}:{mainAxis:a.mainAxis||0,crossAxis:a.crossAxis||0,alignmentAxis:a.alignmentAxis};return f&&typeof m=="number"&&(d=f==="end"?m*-1:m),u?{x:d*g,y:i*s}:{x:i*s,y:d*g}}const Yt=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:c,placement:l,middlewareData:f}=t,u=await qt(t,e);return l===((r=f.offset)==null?void 0:r.placement)&&(n=f.arrow)!=null&&n.alignmentOffset?{}:{x:o+u.x,y:c+u.y,data:{...u,placement:l}}}}},Gt=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:c=!0,crossAxis:l=!1,limiter:f={fn:y=>{let{x:v,y:O}=y;return{x:v,y:O}}},...u}=G(e,t),s={x:r,y:n},g=await ie(t,u),a=j(K(o)),i=Ae(a);let d=s[i],m=s[a];if(c){const y=i==="y"?"top":"left",v=i==="y"?"bottom":"right",O=d+g[y],b=d-g[v];d=Se(O,d,b)}if(l){const y=a==="y"?"top":"left",v=a==="y"?"bottom":"right",O=m+g[y],b=m-g[v];m=Se(O,m,b)}const p=f.fn({...t,[i]:d,[a]:m});return{...p,data:{x:p.x-r,y:p.y-n,enabled:{[i]:c,[a]:l}}}}}},Kt=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:o,rects:c,middlewareData:l}=t,{offset:f=0,mainAxis:u=!0,crossAxis:s=!0}=G(e,t),g={x:r,y:n},a=j(o),i=Ae(a);let d=g[i],m=g[a];const p=G(f,t),y=typeof p=="number"?{mainAxis:p,crossAxis:0}:{mainAxis:0,crossAxis:0,...p};if(u){const b=i==="y"?"height":"width",A=c.reference[i]-c.floating[b]+y.mainAxis,E=c.reference[i]+c.reference[b]-y.mainAxis;d<A?d=A:d>E&&(d=E)}if(s){var v,O;const b=i==="y"?"width":"height",A=["top","left"].includes(K(o)),E=c.reference[a]-c.floating[b]+(A&&((v=l.offset)==null?void 0:v[a])||0)+(A?0:y.crossAxis),P=c.reference[a]+c.reference[b]+(A?0:((O=l.offset)==null?void 0:O[a])||0)-(A?y.crossAxis:0);m<E?m=E:m>P&&(m=P)}return{[i]:d,[a]:m}}}},Xt=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,n;const{placement:o,rects:c,platform:l,elements:f}=t,{apply:u=()=>{},...s}=G(e,t),g=await ie(t,s),a=K(o),i=ne(o),d=j(o)==="y",{width:m,height:p}=c.floating;let y,v;a==="top"||a==="bottom"?(y=a,v=i===(await(l.isRTL==null?void 0:l.isRTL(f.floating))?"start":"end")?"left":"right"):(v=a,y=i==="end"?"top":"bottom");const O=p-g.top-g.bottom,b=m-g.left-g.right,A=J(p-g[y],O),E=J(m-g[v],b),P=!t.middlewareData.shift;let N=A,L=E;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(L=b),(n=t.middlewareData.shift)!=null&&n.enabled.y&&(N=O),P&&!i){const k=V(g.left,0),h=V(g.right,0),x=V(g.top,0),T=V(g.bottom,0);d?L=m-2*(k!==0||h!==0?k+h:V(g.left,g.right)):N=p-2*(x!==0||T!==0?x+T:V(g.top,g.bottom))}await u({...t,availableWidth:L,availableHeight:N});const z=await l.getDimensions(f.floating);return m!==z.width||p!==z.height?{reset:{rects:!0}}:{}}}};function ve(){return typeof window<"u"}function re(e){return tt(e)?(e.nodeName||"").toLowerCase():"#document"}function H(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function q(e){var t;return(t=(tt(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function tt(e){return ve()?e instanceof Node||e instanceof H(e).Node:!1}function $(e){return ve()?e instanceof Element||e instanceof H(e).Element:!1}function B(e){return ve()?e instanceof HTMLElement||e instanceof H(e).HTMLElement:!1}function Ue(e){return!ve()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof H(e).ShadowRoot}function ae(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=I(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function Jt(e){return["table","td","th"].includes(re(e))}function xe(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function _e(e){const t=Ne(),r=$(e)?I(e):e;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))}function Qt(e){let t=Q(e);for(;B(t)&&!te(t);){if(_e(t))return t;if(xe(t))return null;t=Q(t)}return null}function Ne(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function te(e){return["html","body","#document"].includes(re(e))}function I(e){return H(e).getComputedStyle(e)}function we(e){return $(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Q(e){if(re(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ue(e)&&e.host||q(e);return Ue(t)?t.host:t}function nt(e){const t=Q(e);return te(t)?e.ownerDocument?e.ownerDocument.body:e.body:B(t)&&ae(t)?t:nt(t)}function se(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=nt(e),c=o===((n=e.ownerDocument)==null?void 0:n.body),l=H(o);if(c){const f=Ee(l);return t.concat(l,l.visualViewport||[],ae(o)?o:[],f&&r?se(f):[])}return t.concat(o,se(o,[],r))}function Ee(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function rt(e){const t=I(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=B(e),c=o?e.offsetWidth:r,l=o?e.offsetHeight:n,f=me(r)!==c||me(n)!==l;return f&&(r=c,n=l),{width:r,height:n,$:f}}function Ce(e){return $(e)?e:e.contextElement}function ee(e){const t=Ce(e);if(!B(t))return W(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:c}=rt(t);let l=(c?me(r.width):r.width)/n,f=(c?me(r.height):r.height)/o;return(!l||!Number.isFinite(l))&&(l=1),(!f||!Number.isFinite(f))&&(f=1),{x:l,y:f}}const Zt=W(0);function ot(e){const t=H(e);return!Ne()||!t.visualViewport?Zt:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function en(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==H(e)?!1:t}function Z(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const o=e.getBoundingClientRect(),c=Ce(e);let l=W(1);t&&(n?$(n)&&(l=ee(n)):l=ee(e));const f=en(c,r,n)?ot(c):W(0);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;if(c){const i=H(c),d=n&&$(n)?H(n):n;let m=i,p=Ee(m);for(;p&&n&&d!==m;){const y=ee(p),v=p.getBoundingClientRect(),O=I(p),b=v.left+(p.clientLeft+parseFloat(O.paddingLeft))*y.x,A=v.top+(p.clientTop+parseFloat(O.paddingTop))*y.y;u*=y.x,s*=y.y,g*=y.x,a*=y.y,u+=b,s+=A,m=H(p),p=Ee(m)}}return ye({width:g,height:a,x:u,y:s})}function De(e,t){const r=we(e).scrollLeft;return t?t.left+r:Z(q(e)).left+r}function it(e,t,r){r===void 0&&(r=!1);const n=e.getBoundingClientRect(),o=n.left+t.scrollLeft-(r?0:De(e,n)),c=n.top+t.scrollTop;return{x:o,y:c}}function tn(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const c=o==="fixed",l=q(n),f=t?xe(t.floating):!1;if(n===l||f&&c)return r;let u={scrollLeft:0,scrollTop:0},s=W(1);const g=W(0),a=B(n);if((a||!a&&!c)&&((re(n)!=="body"||ae(l))&&(u=we(n)),B(n))){const d=Z(n);s=ee(n),g.x=d.x+n.clientLeft,g.y=d.y+n.clientTop}const i=l&&!a&&!c?it(l,u,!0):W(0);return{width:r.width*s.x,height:r.height*s.y,x:r.x*s.x-u.scrollLeft*s.x+g.x+i.x,y:r.y*s.y-u.scrollTop*s.y+g.y+i.y}}function nn(e){return Array.from(e.getClientRects())}function rn(e){const t=q(e),r=we(e),n=e.ownerDocument.body,o=V(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),c=V(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let l=-r.scrollLeft+De(e);const f=-r.scrollTop;return I(n).direction==="rtl"&&(l+=V(t.clientWidth,n.clientWidth)-o),{width:o,height:c,x:l,y:f}}function on(e,t){const r=H(e),n=q(e),o=r.visualViewport;let c=n.clientWidth,l=n.clientHeight,f=0,u=0;if(o){c=o.width,l=o.height;const s=Ne();(!s||s&&t==="fixed")&&(f=o.offsetLeft,u=o.offsetTop)}return{width:c,height:l,x:f,y:u}}function sn(e,t){const r=Z(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,c=B(e)?ee(e):W(1),l=e.clientWidth*c.x,f=e.clientHeight*c.y,u=o*c.x,s=n*c.y;return{width:l,height:f,x:u,y:s}}function $e(e,t,r){let n;if(t==="viewport")n=on(e,r);else if(t==="document")n=rn(q(e));else if($(t))n=sn(t,r);else{const o=ot(e);n={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return ye(n)}function st(e,t){const r=Q(e);return r===t||!$(r)||te(r)?!1:I(r).position==="fixed"||st(r,t)}function cn(e,t){const r=t.get(e);if(r)return r;let n=se(e,[],!1).filter(f=>$(f)&&re(f)!=="body"),o=null;const c=I(e).position==="fixed";let l=c?Q(e):e;for(;$(l)&&!te(l);){const f=I(l),u=_e(l);!u&&f.position==="fixed"&&(o=null),(c?!u&&!o:!u&&f.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||ae(l)&&!u&&st(e,l))?n=n.filter(g=>g!==l):o=f,l=Q(l)}return t.set(e,n),n}function an(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const l=[...r==="clippingAncestors"?xe(t)?[]:cn(t,this._c):[].concat(r),n],f=l[0],u=l.reduce((s,g)=>{const a=$e(t,g,o);return s.top=V(a.top,s.top),s.right=J(a.right,s.right),s.bottom=J(a.bottom,s.bottom),s.left=V(a.left,s.left),s},$e(t,f,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function ln(e){const{width:t,height:r}=rt(e);return{width:t,height:r}}function un(e,t,r){const n=B(t),o=q(t),c=r==="fixed",l=Z(e,!0,c,t);let f={scrollLeft:0,scrollTop:0};const u=W(0);if(n||!n&&!c)if((re(t)!=="body"||ae(o))&&(f=we(t)),n){const i=Z(t,!0,c,t);u.x=i.x+t.clientLeft,u.y=i.y+t.clientTop}else o&&(u.x=De(o));const s=o&&!n&&!c?it(o,f):W(0),g=l.left+f.scrollLeft-u.x-s.x,a=l.top+f.scrollTop-u.y-s.y;return{x:g,y:a,width:l.width,height:l.height}}function be(e){return I(e).position==="static"}function Ie(e,t){if(!B(e)||I(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return q(e)===r&&(r=r.ownerDocument.body),r}function ct(e,t){const r=H(e);if(xe(e))return r;if(!B(e)){let o=Q(e);for(;o&&!te(o);){if($(o)&&!be(o))return o;o=Q(o)}return r}let n=Ie(e,t);for(;n&&Jt(n)&&be(n);)n=Ie(n,t);return n&&te(n)&&be(n)&&!_e(n)?r:n||Qt(e)||r}const fn=async function(e){const t=this.getOffsetParent||ct,r=this.getDimensions,n=await r(e.floating);return{reference:un(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function dn(e){return I(e).direction==="rtl"}const gn={convertOffsetParentRelativeRectToViewportRelativeRect:tn,getDocumentElement:q,getClippingRect:an,getOffsetParent:ct,getElementRects:fn,getClientRects:nn,getDimensions:ln,getScale:ee,isElement:$,isRTL:dn};function at(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function mn(e,t){let r=null,n;const o=q(e);function c(){var f;clearTimeout(n),(f=r)==null||f.disconnect(),r=null}function l(f,u){f===void 0&&(f=!1),u===void 0&&(u=1),c();const s=e.getBoundingClientRect(),{left:g,top:a,width:i,height:d}=s;if(f||t(),!i||!d)return;const m=de(a),p=de(o.clientWidth-(g+i)),y=de(o.clientHeight-(a+d)),v=de(g),b={rootMargin:-m+"px "+-p+"px "+-y+"px "+-v+"px",threshold:V(0,J(1,u))||1};let A=!0;function E(P){const N=P[0].intersectionRatio;if(N!==u){if(!A)return l();N?l(!1,N):n=setTimeout(()=>{l(!1,1e-7)},1e3)}N===1&&!at(s,e.getBoundingClientRect())&&l(),A=!1}try{r=new IntersectionObserver(E,{...b,root:o.ownerDocument})}catch{r=new IntersectionObserver(E,b)}r.observe(e)}return l(!0),c}function pn(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:c=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:f=typeof IntersectionObserver=="function",animationFrame:u=!1}=n,s=Ce(e),g=o||c?[...s?se(s):[],...se(t)]:[];g.forEach(v=>{o&&v.addEventListener("scroll",r,{passive:!0}),c&&v.addEventListener("resize",r)});const a=s&&f?mn(s,r):null;let i=-1,d=null;l&&(d=new ResizeObserver(v=>{let[O]=v;O&&O.target===s&&d&&(d.unobserve(t),cancelAnimationFrame(i),i=requestAnimationFrame(()=>{var b;(b=d)==null||b.observe(t)})),r()}),s&&!u&&d.observe(s),d.observe(t));let m,p=u?Z(e):null;u&&y();function y(){const v=Z(e);p&&!at(p,v)&&r(),p=v,m=requestAnimationFrame(y)}return r(),()=>{var v;g.forEach(O=>{o&&O.removeEventListener("scroll",r),c&&O.removeEventListener("resize",r)}),a?.(),(v=d)==null||v.disconnect(),d=null,u&&cancelAnimationFrame(m)}}const yn=Yt,hn=Gt,vn=Wt,xn=Xt,wn=Bt,On=jt,bn=Kt,Sn=(e,t,r)=>{const n=new Map,o={platform:gn,...r},c={...o.platform,_c:n};return It(e,t,{...o,platform:c})};function je(e=0,t=0,r=0,n=0){if(typeof DOMRect=="function")return new DOMRect(e,t,r,n);const o={x:e,y:t,width:r,height:n,top:t,right:e+r,bottom:t+n,left:e};return{...o,toJSON:()=>o}}function Rn(e){if(!e)return je();const{x:t,y:r,width:n,height:o}=e;return je(t,r,n,o)}function En(e,t){return{contextElement:w.isHTMLElement(e)?e:void 0,getBoundingClientRect:()=>{const r=e,n=t?.(r);return n||!r?Rn(n):r.getBoundingClientRect()}}}var oe=e=>({variable:e,reference:`var(${e})`}),Y={arrowSize:oe("--arrow-size"),arrowSizeHalf:oe("--arrow-size-half"),arrowBg:oe("--arrow-background"),transformOrigin:oe("--transform-origin"),arrowOffset:oe("--arrow-offset")},An=e=>({top:"bottom center","top-start":e?`${e.x}px bottom`:"left bottom","top-end":e?`${e.x}px bottom`:"right bottom",bottom:"top center","bottom-start":e?`${e.x}px top`:"top left","bottom-end":e?`${e.x}px top`:"top right",left:"right center","left-start":e?`right ${e.y}px`:"right top","left-end":e?`right ${e.y}px`:"right bottom",right:"left center","right-start":e?`left ${e.y}px`:"left top","right-end":e?`left ${e.y}px`:"left bottom"}),Tn={name:"transformOrigin",fn({placement:e,elements:t,middlewareData:r}){const{arrow:n}=r,o=An(n)[e],{floating:c}=t;return c.style.setProperty(Y.transformOrigin.variable,o),{data:{transformOrigin:o}}}},Pn={name:"rects",fn({rects:e}){return{data:e}}},_n=e=>{if(e)return{name:"shiftArrow",fn({placement:t,middlewareData:r}){if(!r.arrow)return{};const{x:n,y:o}=r.arrow,c=t.split("-")[0];return Object.assign(e.style,{left:n!=null?`${n}px`:"",top:o!=null?`${o}px`:"",[c]:`calc(100% + ${Y.arrowOffset.reference})`}),{}}}};function Nn(e){const[t,r]=e.split("-");return{side:t,align:r,hasAlign:r!=null}}function Cn(e){return e.split("-")[0]}var Dn={strategy:"absolute",placement:"bottom",listeners:!0,gutter:8,flip:!0,slide:!0,overlap:!1,sameWidth:!1,fitViewport:!1,overflowPadding:8,arrowPadding:4};function We(e,t){const r=e.devicePixelRatio||1;return Math.round(t*r)/r}function lt(e){return w.runIfFn(e.boundary)}function Mn(e,t){if(e)return On({element:e,padding:t.arrowPadding})}function Ln(e,t){if(!w.isNull(t.offset??t.gutter))return yn(({placement:r})=>{const n=(e?.clientHeight||0)/2,o=t.offset?.mainAxis??t.gutter,c=typeof o=="number"?o+n:o??n,{hasAlign:l}=Nn(r),f=l?void 0:t.shift,u=t.offset?.crossAxis??f;return w.compact({crossAxis:u,mainAxis:c,alignmentAxis:t.shift})})}function kn(e){if(e.flip)return vn({boundary:lt(e),padding:e.overflowPadding,fallbackPlacements:e.flip===!0?void 0:e.flip})}function Vn(e){if(!(!e.slide&&!e.overlap))return hn({boundary:lt(e),mainAxis:e.slide,crossAxis:e.overlap,padding:e.overflowPadding,limiter:bn()})}function Hn(e){return xn({padding:e.overflowPadding,apply({elements:t,rects:r,availableHeight:n,availableWidth:o}){const c=t.floating,l=Math.round(r.reference.width);o=Math.floor(o),n=Math.floor(n),c.style.setProperty("--reference-width",`${l}px`),c.style.setProperty("--available-width",`${o}px`),c.style.setProperty("--available-height",`${n}px`)}})}function zn(e){if(e.hideWhenDetached)return wn({strategy:"referenceHidden",boundary:e.boundary?.()??"clippingAncestors"})}function Fn(e){return e?e===!0?{ancestorResize:!0,ancestorScroll:!0,elementResize:!0,layoutShift:!0}:e:{}}function Un(e,t,r={}){const n=En(e,r.getAnchorRect);if(!t||!n)return;const o=Object.assign({},Dn,r),c=t.querySelector("[data-part=arrow]"),l=[Ln(c,o),kn(o),Vn(o),Mn(c,o),_n(c),Tn,Hn(o),zn(o),Pn],{placement:f,strategy:u,onComplete:s,onPositioned:g}=o,a=async()=>{if(!n||!t)return;const p=await Sn(n,t,{placement:f,middleware:l,strategy:u});s?.(p),g?.({placed:!0});const y=w.getWindow(t),v=We(y,p.x),O=We(y,p.y);t.style.setProperty("--x",`${v}px`),t.style.setProperty("--y",`${O}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")));const b=t.firstElementChild;if(b){const A=w.getComputedStyle(b);t.style.setProperty("--z-index",A.zIndex)}},i=async()=>{r.updatePosition?(await r.updatePosition({updatePosition:a}),g?.({placed:!0})):await a()},d=Fn(o.listeners),m=o.listeners?pn(n,t,i,d):w.noop;return i(),()=>{m?.(),g?.({placed:!1})}}function $n(e,t,r={}){const{defer:n,...o}=r,c=n?w.raf:f=>f(),l=[];return l.push(c(()=>{const f=typeof e=="function"?e():e,u=typeof t=="function"?t():t;l.push(Un(f,u,o))})),()=>{l.forEach(f=>f?.())}}var In={bottom:"rotate(45deg)",left:"rotate(135deg)",top:"rotate(225deg)",right:"rotate(315deg)"};function jn(e={}){const{placement:t,sameWidth:r,fitViewport:n,strategy:o="absolute"}=e;return{arrow:{position:"absolute",width:Y.arrowSize.reference,height:Y.arrowSize.reference,[Y.arrowSizeHalf.variable]:`calc(${Y.arrowSize.reference} / 2)`,[Y.arrowOffset.variable]:`calc(${Y.arrowSizeHalf.reference} * -1)`},arrowTip:{transform:t?In[t.split("-")[0]]:void 0,background:Y.arrowBg.reference,top:"0",left:"0",width:"100%",height:"100%",position:"absolute",zIndex:"inherit"},floating:{position:o,isolation:"isolate",minWidth:r?void 0:"max-content",width:r?"var(--reference-width)":void 0,maxWidth:n?"var(--available-width)":void 0,maxHeight:n?"var(--available-height)":void 0,pointerEvents:t?void 0:"none",top:"0px",left:"0px",transform:t?"translate3d(var(--x), var(--y), 0)":"translate3d(0, -100vh, 0)",zIndex:"var(--z-index)"}}}const[qn,Wn]=he({name:"LocaleContext",hookName:"useLocaleContext",providerName:"<LocaleProvider />",strict:!1,defaultValue:{dir:"ltr",locale:"en-US"}});exports.Portal=yt;exports.PresenceProvider=Tt;exports.ark=At;exports.composeRefs=Je;exports.createContext=he;exports.createProps=Ye;exports.createSplitProps=Qe;exports.getPlacement=$n;exports.getPlacementSide=Cn;exports.getPlacementStyles=jn;exports.normalizeProps=St;exports.reactDomExports=ce;exports.splitPresenceProps=_t;exports.useEnvironmentContext=qe;exports.useEvent=Ze;exports.useLocaleContext=Wn;exports.useMachine=Ke;exports.usePresence=Mt;exports.usePresenceContext=Pt;
22
- //# sourceMappingURL=use-locale-context-BdqHZ8L8.js.map
22
+ //# sourceMappingURL=use-locale-context-D0LByRu9.js.map