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

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 (335) hide show
  1. package/dist/chunks/{alert.types-Bxrz2UAB.js → alert.types-PdqwnPFk.js} +3 -3
  2. package/dist/chunks/{alert.types-Bxrz2UAB.js.map → alert.types-PdqwnPFk.js.map} +1 -1
  3. package/dist/chunks/{alert.types-Dl6ivTll.js → alert.types-nvUPBs5x.js} +2 -2
  4. package/dist/chunks/{alert.types-Dl6ivTll.js.map → alert.types-nvUPBs5x.js.map} +1 -1
  5. package/dist/chunks/avatar.component-CBN_huX5.js +2 -0
  6. package/dist/chunks/{avatar.component-BdkTgslj.js.map → avatar.component-CBN_huX5.js.map} +1 -1
  7. package/dist/chunks/{avatar.component-DPu-22kf.js → avatar.component-ChgtiH34.js} +13 -13
  8. package/dist/chunks/{avatar.component-DPu-22kf.js.map → avatar.component-ChgtiH34.js.map} +1 -1
  9. package/dist/chunks/{avatarGroup.component-BW26RkqL.js → avatarGroup.component-BdS6rqSd.js} +2 -2
  10. package/dist/chunks/{avatarGroup.component-BW26RkqL.js.map → avatarGroup.component-BdS6rqSd.js.map} +1 -1
  11. package/dist/chunks/{avatarGroup.component-DHhW8fL3.js → avatarGroup.component-DqY1U0nn.js} +2 -2
  12. package/dist/chunks/{avatarGroup.component-DHhW8fL3.js.map → avatarGroup.component-DqY1U0nn.js.map} +1 -1
  13. package/dist/chunks/{buttonGroup.component-B3nqpiRU.js → buttonGroup.component-B0YaQeld.js} +2 -2
  14. package/dist/chunks/{buttonGroup.component-B3nqpiRU.js.map → buttonGroup.component-B0YaQeld.js.map} +1 -1
  15. package/dist/chunks/{buttonGroup.component-Q7Ul0yrS.js → buttonGroup.component-Dw1eWco8.js} +2 -2
  16. package/dist/chunks/{buttonGroup.component-Q7Ul0yrS.js.map → buttonGroup.component-Dw1eWco8.js.map} +1 -1
  17. package/dist/chunks/{characterCounter.component-D1qCNVkb.js → characterCounter.component-D2yESqaY.js} +2 -2
  18. package/dist/chunks/{characterCounter.component-D1qCNVkb.js.map → characterCounter.component-D2yESqaY.js.map} +1 -1
  19. package/dist/chunks/{characterCounter.component-CNo6Xau3.js → characterCounter.component-DL4T3MCU.js} +2 -2
  20. package/dist/chunks/{characterCounter.component-CNo6Xau3.js.map → characterCounter.component-DL4T3MCU.js.map} +1 -1
  21. package/dist/chunks/{checkbox.component-CxnOW6Sj.js → checkbox.component-C9K_0aVs.js} +2 -2
  22. package/dist/chunks/{checkbox.component-CxnOW6Sj.js.map → checkbox.component-C9K_0aVs.js.map} +1 -1
  23. package/dist/chunks/{checkbox.component-GElI75y2.js → checkbox.component-Ctl_OMbe.js} +10 -10
  24. package/dist/chunks/{checkbox.component-GElI75y2.js.map → checkbox.component-Ctl_OMbe.js.map} +1 -1
  25. package/dist/chunks/{checkbox.records-4j704fMI.js → checkbox.records-CSpdkmTY.js} +12 -12
  26. package/dist/chunks/{checkbox.records-4j704fMI.js.map → checkbox.records-CSpdkmTY.js.map} +1 -1
  27. package/dist/chunks/checkbox.records-DQMCwuT0.js +2 -0
  28. package/dist/chunks/{checkbox.records-DI3mqSNf.js.map → checkbox.records-DQMCwuT0.js.map} +1 -1
  29. package/dist/chunks/{checkboxGroup.component-CvEAkFlp.js → checkboxGroup.component-BXOO72eO.js} +3 -3
  30. package/dist/chunks/{checkboxGroup.component-CvEAkFlp.js.map → checkboxGroup.component-BXOO72eO.js.map} +1 -1
  31. package/dist/chunks/{checkboxGroup.component-Dc39GJV4.js → checkboxGroup.component-Bskd5dH5.js} +2 -2
  32. package/dist/chunks/{checkboxGroup.component-Dc39GJV4.js.map → checkboxGroup.component-Bskd5dH5.js.map} +1 -1
  33. package/dist/chunks/{conversationCard.component-DnIpQo_a.js → conversationCard.component-C-FkaUmK.js} +15 -16
  34. package/dist/chunks/{conversationCard.component-DnIpQo_a.js.map → conversationCard.component-C-FkaUmK.js.map} +1 -1
  35. package/dist/chunks/conversationCard.component-DzWJ5HQW.js +2 -0
  36. package/dist/chunks/{conversationCard.component-CHm8X5MK.js.map → conversationCard.component-DzWJ5HQW.js.map} +1 -1
  37. package/dist/chunks/{datePicker.component-27W5L9DI.js → datePicker.component-BBOkyyla.js} +8 -7
  38. package/dist/chunks/datePicker.component-BBOkyyla.js.map +1 -0
  39. package/dist/chunks/{datePicker.component-C7pwPHzo.js → datePicker.component-C9lbmDiW.js} +3 -3
  40. package/dist/chunks/datePicker.component-C9lbmDiW.js.map +1 -0
  41. package/dist/chunks/{dialog-trigger-MkOQUjzu.js → dialog-trigger-B5NK0lr-.js} +2 -2
  42. package/dist/chunks/{dialog-trigger-MkOQUjzu.js.map → dialog-trigger-B5NK0lr-.js.map} +1 -1
  43. package/dist/chunks/{dialog-trigger-eqGXDXGQ.js → dialog-trigger-Qc_jF1sR.js} +9 -9
  44. package/dist/chunks/{dialog-trigger-eqGXDXGQ.js.map → dialog-trigger-Qc_jF1sR.js.map} +1 -1
  45. package/dist/chunks/{heading.component-C7W_ipcL.js → heading.component-BzNpnXHK.js} +2 -2
  46. package/dist/chunks/{heading.component-C7W_ipcL.js.map → heading.component-BzNpnXHK.js.map} +1 -1
  47. package/dist/chunks/{heading.component-dGH5sXSB.js → heading.component-D84GW8Ex.js} +2 -2
  48. package/dist/chunks/{heading.component-dGH5sXSB.js.map → heading.component-D84GW8Ex.js.map} +1 -1
  49. package/dist/chunks/{index-Cbkb_94C.js → index-B2pGzKof.js} +49 -48
  50. package/dist/chunks/{index-Cbkb_94C.js.map → index-B2pGzKof.js.map} +1 -1
  51. package/dist/chunks/{index-CtXUprYH.js → index-BBZxmcrY.js} +2 -2
  52. package/dist/chunks/{index-CtXUprYH.js.map → index-BBZxmcrY.js.map} +1 -1
  53. package/dist/chunks/index-BDnnTdaJ.js +2 -0
  54. package/dist/chunks/{index-CS8X6LiC.js.map → index-BDnnTdaJ.js.map} +1 -1
  55. package/dist/chunks/index-BGwwyukg.js +2 -0
  56. package/dist/chunks/index-BGwwyukg.js.map +1 -0
  57. package/dist/chunks/index-BIz6smcP.js +322 -0
  58. package/dist/chunks/index-BIz6smcP.js.map +1 -0
  59. package/dist/chunks/{index-C_AXAeNS.js → index-BRCoaB60.js} +17 -16
  60. package/dist/chunks/{index-C_AXAeNS.js.map → index-BRCoaB60.js.map} +1 -1
  61. package/dist/chunks/{index-DOXzraja.js → index-BYf7SZUC.js} +2 -2
  62. package/dist/chunks/{index-DOXzraja.js.map → index-BYf7SZUC.js.map} +1 -1
  63. package/dist/chunks/{index-OpolRlgD.js → index-BwIBc5Vr.js} +3 -3
  64. package/dist/chunks/{index-OpolRlgD.js.map → index-BwIBc5Vr.js.map} +1 -1
  65. package/dist/chunks/index-C4Skb3ZI.js +2 -0
  66. package/dist/chunks/{index-DBk0LkcO.js.map → index-C4Skb3ZI.js.map} +1 -1
  67. package/dist/chunks/{index-Bff1r_rH.js → index-C6cNrRSG.js} +15 -15
  68. package/dist/chunks/{index-Bff1r_rH.js.map → index-C6cNrRSG.js.map} +1 -1
  69. package/dist/chunks/{index-DowO8Ued.js → index-COoMV9Mh.js} +2 -2
  70. package/dist/chunks/{index-DowO8Ued.js.map → index-COoMV9Mh.js.map} +1 -1
  71. package/dist/chunks/index-CZ42b9rT.js +3 -0
  72. package/dist/chunks/index-CZ42b9rT.js.map +1 -0
  73. package/dist/chunks/index-CZz7hHWb.js +2 -0
  74. package/dist/chunks/{index-QTIBH1Or.js.map → index-CZz7hHWb.js.map} +1 -1
  75. package/dist/chunks/index-Czx27hGN.js +1018 -0
  76. package/dist/chunks/index-Czx27hGN.js.map +1 -0
  77. package/dist/chunks/{index-cSjUS7Xj.js → index-DwxB1_tE.js} +44 -43
  78. package/dist/chunks/{index-cSjUS7Xj.js.map → index-DwxB1_tE.js.map} +1 -1
  79. package/dist/chunks/{index-CJLttzPM.js → index-Im8BYbf9.js} +3 -3
  80. package/dist/chunks/{index-CJLttzPM.js.map → index-Im8BYbf9.js.map} +1 -1
  81. package/dist/chunks/{index-DUY19L6M.js → index-KOHUWYh0.js} +106 -105
  82. package/dist/chunks/{index-DUY19L6M.js.map → index-KOHUWYh0.js.map} +1 -1
  83. package/dist/chunks/index-MlhL0PDC.js +2 -0
  84. package/dist/chunks/{index-BR7peqZO.js.map → index-MlhL0PDC.js.map} +1 -1
  85. package/dist/chunks/{index-L197Dry5.js → index-Ootk-hWL.js} +18 -17
  86. package/dist/chunks/{index-L197Dry5.js.map → index-Ootk-hWL.js.map} +1 -1
  87. package/dist/chunks/index-UWtj4ULm.js +8 -0
  88. package/dist/chunks/{index-iaug4k6v.js.map → index-UWtj4ULm.js.map} +1 -1
  89. package/dist/chunks/index-ZaGEDS_0.js +2 -0
  90. package/dist/chunks/{index-DSedXH1s.js.map → index-ZaGEDS_0.js.map} +1 -1
  91. package/dist/chunks/{index-DVNjUEDJ.js → index-ftlwWpKA.js} +9 -9
  92. package/dist/chunks/{index-DVNjUEDJ.js.map → index-ftlwWpKA.js.map} +1 -1
  93. package/dist/chunks/{menu.component-CFYFhp7-.js → menu.component-C6JbDroI.js} +26 -26
  94. package/dist/chunks/{menu.component-CFYFhp7-.js.map → menu.component-C6JbDroI.js.map} +1 -1
  95. package/dist/chunks/{menu.component-BGGElaYy.js → menu.component-DHh_2Eme.js} +2 -2
  96. package/dist/chunks/{menu.component-BGGElaYy.js.map → menu.component-DHh_2Eme.js.map} +1 -1
  97. package/dist/chunks/{modal.types-Bpoq1pcb.js → modal.types-CmgKqsZR.js} +2 -2
  98. package/dist/chunks/{modal.types-Bpoq1pcb.js.map → modal.types-CmgKqsZR.js.map} +1 -1
  99. package/dist/chunks/{modal.types-CUUJVRPN.js → modal.types-nOPrSEJd.js} +4 -4
  100. package/dist/chunks/{modal.types-CUUJVRPN.js.map → modal.types-nOPrSEJd.js.map} +1 -1
  101. package/dist/chunks/{pinInput.types-OnwTDVZV.js → pinInput.types-CtFQbT8o.js} +2 -2
  102. package/dist/chunks/{pinInput.types-OnwTDVZV.js.map → pinInput.types-CtFQbT8o.js.map} +1 -1
  103. package/dist/chunks/{pinInput.types-DX8ognpo.js → pinInput.types-W39JHqF7.js} +8 -8
  104. package/dist/chunks/{pinInput.types-DX8ognpo.js.map → pinInput.types-W39JHqF7.js.map} +1 -1
  105. package/dist/chunks/{popover-BSBYgvs4.js → popover-80QH8HEJ.js} +2 -2
  106. package/dist/chunks/{popover-BSBYgvs4.js.map → popover-80QH8HEJ.js.map} +1 -1
  107. package/dist/chunks/{popover-DNKVYG-J.js → popover-BpMSsJKD.js} +26 -26
  108. package/dist/chunks/{popover-DNKVYG-J.js.map → popover-BpMSsJKD.js.map} +1 -1
  109. package/dist/chunks/{popover-root-provider-C2iwUZJn.js → popover-root-provider-DAMDDAHQ.js} +2 -2
  110. package/dist/chunks/{popover-root-provider-C2iwUZJn.js.map → popover-root-provider-DAMDDAHQ.js.map} +1 -1
  111. package/dist/chunks/{popover-root-provider-BErev2-N.js → popover-root-provider-rmv9U0xr.js} +8 -8
  112. package/dist/chunks/{popover-root-provider-BErev2-N.js.map → popover-root-provider-rmv9U0xr.js.map} +1 -1
  113. package/dist/chunks/popover.component-C6ERLtW7.js +322 -0
  114. package/dist/chunks/popover.component-C6ERLtW7.js.map +1 -0
  115. package/dist/chunks/popover.component-XsWmj-kz.js +2 -0
  116. package/dist/chunks/popover.component-XsWmj-kz.js.map +1 -0
  117. package/dist/chunks/popover.recipe-DLeyokHo.js +2 -0
  118. package/dist/chunks/popover.recipe-DLeyokHo.js.map +1 -0
  119. package/dist/chunks/{tooltip.component-BdlSO_v_.js → popover.recipe-_90TbZhK.js} +157 -169
  120. package/dist/chunks/popover.recipe-_90TbZhK.js.map +1 -0
  121. package/dist/chunks/{radio.records-4ih1q8nO.js → radio.records-DE0E27Oo.js} +16 -16
  122. package/dist/chunks/{radio.records-4ih1q8nO.js.map → radio.records-DE0E27Oo.js.map} +1 -1
  123. package/dist/chunks/radio.records-DyRupgeD.js +2 -0
  124. package/dist/chunks/{radio.records-j0JOqaJ4.js.map → radio.records-DyRupgeD.js.map} +1 -1
  125. package/dist/chunks/{radioGroup.component-C8_NKfl7.js → radioGroup.component-C9G5TnKb.js} +2 -2
  126. package/dist/chunks/{radioGroup.component-C8_NKfl7.js.map → radioGroup.component-C9G5TnKb.js.map} +1 -1
  127. package/dist/chunks/{radioGroup.component-yIs1Q3VP.js → radioGroup.component-CprwLxl1.js} +11 -11
  128. package/dist/chunks/{radioGroup.component-yIs1Q3VP.js.map → radioGroup.component-CprwLxl1.js.map} +1 -1
  129. package/dist/chunks/{ratingDots.component-CnCN-czr.js → ratingDots.component-DOB0-Fyl.js} +3 -3
  130. package/dist/chunks/{ratingDots.component-CnCN-czr.js.map → ratingDots.component-DOB0-Fyl.js.map} +1 -1
  131. package/dist/chunks/{ratingDots.component-Dr2p3X9o.js → ratingDots.component-DbxCjCy6.js} +2 -2
  132. package/dist/chunks/{ratingDots.component-Dr2p3X9o.js.map → ratingDots.component-DbxCjCy6.js.map} +1 -1
  133. package/dist/chunks/{render-strategy-C_zp9LNQ.js → render-strategy-BmWbSgqh.js} +2 -2
  134. package/dist/chunks/{render-strategy-C_zp9LNQ.js.map → render-strategy-BmWbSgqh.js.map} +1 -1
  135. package/dist/chunks/{render-strategy-CHp7lb6C.js → render-strategy-m3gtiO9A.js} +2 -2
  136. package/dist/chunks/{render-strategy-CHp7lb6C.js.map → render-strategy-m3gtiO9A.js.map} +1 -1
  137. package/dist/chunks/{select.component-DtvSUpfM.js → select.component-D_UomQ_K.js} +43 -43
  138. package/dist/chunks/{select.component-DtvSUpfM.js.map → select.component-D_UomQ_K.js.map} +1 -1
  139. package/dist/chunks/{select.component-l3N_dfXw.js → select.component-ZLlCuJkB.js} +2 -2
  140. package/dist/chunks/{select.component-l3N_dfXw.js.map → select.component-ZLlCuJkB.js.map} +1 -1
  141. package/dist/chunks/{sortableList.component-fhJaRd25.js → sortableList.component-BcP0nTpP.js} +3 -3
  142. package/dist/chunks/{sortableList.component-fhJaRd25.js.map → sortableList.component-BcP0nTpP.js.map} +1 -1
  143. package/dist/chunks/{sortableList.component-CNysbmV6.js → sortableList.component-Du0lV3PZ.js} +3 -3
  144. package/dist/chunks/{sortableList.component-CNysbmV6.js.map → sortableList.component-Du0lV3PZ.js.map} +1 -1
  145. package/dist/chunks/{spinner.component-oz9gjaVV.js → spinner.component-DQgAPRaP.js} +2 -2
  146. package/dist/chunks/{spinner.component-oz9gjaVV.js.map → spinner.component-DQgAPRaP.js.map} +1 -1
  147. package/dist/chunks/{spinner.component-BJ6rOgt8.js → spinner.component-DRjoEc9z.js} +2 -2
  148. package/dist/chunks/{spinner.component-BJ6rOgt8.js.map → spinner.component-DRjoEc9z.js.map} +1 -1
  149. package/dist/chunks/{styledAvatar.types-SAw52UC4.js → styledAvatar.types-BgSRTKhc.js} +2 -2
  150. package/dist/chunks/{styledAvatar.types-SAw52UC4.js.map → styledAvatar.types-BgSRTKhc.js.map} +1 -1
  151. package/dist/chunks/{styledAvatar.types-BvW6YJrl.js → styledAvatar.types-Qai9NHfQ.js} +2 -2
  152. package/dist/chunks/{styledAvatar.types-BvW6YJrl.js.map → styledAvatar.types-Qai9NHfQ.js.map} +1 -1
  153. package/dist/chunks/{switch.component-DFQ_b2At.js → switch.component-C_YkOZVM.js} +2 -2
  154. package/dist/chunks/{switch.component-DFQ_b2At.js.map → switch.component-C_YkOZVM.js.map} +1 -1
  155. package/dist/chunks/{switch.component-C1hrMzRm.js → switch.component-Dg54t6kn.js} +11 -11
  156. package/dist/chunks/{switch.component-C1hrMzRm.js.map → switch.component-Dg54t6kn.js.map} +1 -1
  157. package/dist/chunks/{tabs.component-CI6YyzcT.js → tabs.component-4zh8jiEy.js} +2 -2
  158. package/dist/chunks/{tabs.component-CI6YyzcT.js.map → tabs.component-4zh8jiEy.js.map} +1 -1
  159. package/dist/chunks/{tabs.component-CmBdxZ28.js → tabs.component-U9KpRJQV.js} +47 -47
  160. package/dist/chunks/{tabs.component-CmBdxZ28.js.map → tabs.component-U9KpRJQV.js.map} +1 -1
  161. package/dist/chunks/{tagBlock.component-33yx8LBM.js → tagBlock.component-BZG468o5.js} +5 -5
  162. package/dist/chunks/{tagBlock.component-33yx8LBM.js.map → tagBlock.component-BZG468o5.js.map} +1 -1
  163. package/dist/chunks/{tagBlock.component-p44L1Jc9.js → tagBlock.component-V_JWEe9n.js} +2 -2
  164. package/dist/chunks/{tagBlock.component-p44L1Jc9.js.map → tagBlock.component-V_JWEe9n.js.map} +1 -1
  165. package/dist/chunks/{textInput.component-Cla6KfBZ.js → textInput.component-BLK32hA7.js} +2 -2
  166. package/dist/chunks/{textInput.component-Cla6KfBZ.js.map → textInput.component-BLK32hA7.js.map} +1 -1
  167. package/dist/chunks/{textInput.component-CUKklyGx.js → textInput.component-CcyrHWXa.js} +12 -12
  168. package/dist/chunks/{textInput.component-CUKklyGx.js.map → textInput.component-CcyrHWXa.js.map} +1 -1
  169. package/dist/chunks/{textarea.component-BcL2jK0X.js → textarea.component-B_KAENP6.js} +7 -7
  170. package/dist/chunks/{textarea.component-BcL2jK0X.js.map → textarea.component-B_KAENP6.js.map} +1 -1
  171. package/dist/chunks/{textarea.component-XYJZDZmM.js → textarea.component-D3el9l9H.js} +2 -2
  172. package/dist/chunks/{textarea.component-XYJZDZmM.js.map → textarea.component-D3el9l9H.js.map} +1 -1
  173. package/dist/chunks/theme.provider-Bar-AuPo.js +26 -0
  174. package/dist/chunks/theme.provider-Bar-AuPo.js.map +1 -0
  175. package/dist/chunks/{theme.provider-FIFC-_Wf.js → theme.provider-px_2ytDm.js} +1716 -1828
  176. package/dist/chunks/theme.provider-px_2ytDm.js.map +1 -0
  177. package/dist/chunks/{timePicker.component-ClmXeH3U.js → timePicker.component-BDngkTzk.js} +2 -2
  178. package/dist/chunks/timePicker.component-BDngkTzk.js.map +1 -0
  179. package/dist/chunks/{timePicker.component-CMouXVow.js → timePicker.component-Co16Tl6i.js} +20 -19
  180. package/dist/chunks/timePicker.component-Co16Tl6i.js.map +1 -0
  181. package/dist/chunks/{timeRange.component-nrPWV1NY.js → timeRange.component-CFgHqQ-a.js} +2 -2
  182. package/dist/chunks/{timeRange.component-nrPWV1NY.js.map → timeRange.component-CFgHqQ-a.js.map} +1 -1
  183. package/dist/chunks/{timeRange.component-DKkwvibd.js → timeRange.component-CXZA_5f5.js} +2 -2
  184. package/dist/chunks/{timeRange.component-DKkwvibd.js.map → timeRange.component-CXZA_5f5.js.map} +1 -1
  185. package/dist/chunks/timestamp.component-D1c35p1O.js +53 -0
  186. package/dist/chunks/{timestamp.component-Dtn5KtVA.js.map → timestamp.component-D1c35p1O.js.map} +1 -1
  187. package/dist/chunks/timestamp.component-xIXZ1QOP.js +2 -0
  188. package/dist/chunks/{timestamp.component-CNzJfora.js.map → timestamp.component-xIXZ1QOP.js.map} +1 -1
  189. package/dist/chunks/toaster.records-BJo0j1IZ.js +2 -0
  190. package/dist/chunks/{toaster.records-zJfplz5w.js.map → toaster.records-BJo0j1IZ.js.map} +1 -1
  191. package/dist/chunks/{toaster.records-CcwOeMM7.js → toaster.records-Dp_v1E5T.js} +22 -21
  192. package/dist/chunks/{toaster.records-CcwOeMM7.js.map → toaster.records-Dp_v1E5T.js.map} +1 -1
  193. package/dist/chunks/{typography.records-H4aA5AOA.js → typography.records-BVjSfRuB.js} +2 -2
  194. package/dist/chunks/{typography.records-H4aA5AOA.js.map → typography.records-BVjSfRuB.js.map} +1 -1
  195. package/dist/chunks/{typography.records-CSy2LmDd.js → typography.records-C6G_65b4.js} +2 -2
  196. package/dist/chunks/{typography.records-CSy2LmDd.js.map → typography.records-C6G_65b4.js.map} +1 -1
  197. package/dist/chunks/{use-field-context-CArmgHPP.js → use-field-context--wBJQY1R.js} +2 -2
  198. package/dist/chunks/{use-field-context-CArmgHPP.js.map → use-field-context--wBJQY1R.js.map} +1 -1
  199. package/dist/chunks/{use-field-context-Cm3grEyV.js → use-field-context-xndZXNT4.js} +2 -2
  200. package/dist/chunks/{use-field-context-Cm3grEyV.js.map → use-field-context-xndZXNT4.js.map} +1 -1
  201. package/dist/chunks/{use-locale-context-D0LByRu9.js → use-locale-context-BdqHZ8L8.js} +2 -2
  202. package/dist/chunks/{use-locale-context-D0LByRu9.js.map → use-locale-context-BdqHZ8L8.js.map} +1 -1
  203. package/dist/chunks/{use-locale-context-BiiNTYMT.js → use-locale-context-KeBTTMq9.js} +29 -29
  204. package/dist/chunks/{use-locale-context-BiiNTYMT.js.map → use-locale-context-KeBTTMq9.js.map} +1 -1
  205. package/dist/chunks/{withFormControl-C8knrDok.js → withFormControl-BAEE7_5w.js} +2 -2
  206. package/dist/chunks/{withFormControl-C8knrDok.js.map → withFormControl-BAEE7_5w.js.map} +1 -1
  207. package/dist/chunks/{withFormControl-CwPfUb2g.js → withFormControl-C8abg91Q.js} +49 -49
  208. package/dist/chunks/{withFormControl-CwPfUb2g.js.map → withFormControl-C8abg91Q.js.map} +1 -1
  209. package/dist/chunks/withTruncation-BAxxp5gA.js +822 -0
  210. package/dist/chunks/withTruncation-BAxxp5gA.js.map +1 -0
  211. package/dist/chunks/withTruncation-FFeS8Bf1.js +2 -0
  212. package/dist/chunks/withTruncation-FFeS8Bf1.js.map +1 -0
  213. package/dist/cjs/chakra/index.cjs +1 -1
  214. package/dist/cjs/components/Alert/index.cjs +1 -1
  215. package/dist/cjs/components/Avatar/index.cjs +1 -1
  216. package/dist/cjs/components/AvatarGroup/index.cjs +1 -1
  217. package/dist/cjs/components/ButtonGroup/index.cjs +1 -1
  218. package/dist/cjs/components/CharacterCounter/index.cjs +1 -1
  219. package/dist/cjs/components/Checkbox/index.cjs +1 -1
  220. package/dist/cjs/components/CheckboxGroup/index.cjs +1 -1
  221. package/dist/cjs/components/ConversationCard/index.cjs +1 -1
  222. package/dist/cjs/components/DatePicker/index.cjs +1 -1
  223. package/dist/cjs/components/Heading/index.cjs +1 -1
  224. package/dist/cjs/components/Menu/index.cjs +1 -1
  225. package/dist/cjs/components/Modal/index.cjs +1 -1
  226. package/dist/cjs/components/PinInput/index.cjs +1 -1
  227. package/dist/cjs/components/Popover/index.cjs +1 -1
  228. package/dist/cjs/components/RadioGroup/index.cjs +1 -1
  229. package/dist/cjs/components/RatingDots/index.cjs +1 -1
  230. package/dist/cjs/components/Select/index.cjs +1 -1
  231. package/dist/cjs/components/SortableList/index.cjs +1 -1
  232. package/dist/cjs/components/Spinner/index.cjs +1 -1
  233. package/dist/cjs/components/StyledAvatar/index.cjs +1 -1
  234. package/dist/cjs/components/Switch/index.cjs +1 -1
  235. package/dist/cjs/components/Tabs/index.cjs +1 -1
  236. package/dist/cjs/components/TagBlock/index.cjs +1 -1
  237. package/dist/cjs/components/Text/index.cjs +1 -1
  238. package/dist/cjs/components/TextInput/index.cjs +1 -1
  239. package/dist/cjs/components/Textarea/index.cjs +1 -1
  240. package/dist/cjs/components/TimePicker/index.cjs +1 -1
  241. package/dist/cjs/components/TimeRange/index.cjs +1 -1
  242. package/dist/cjs/components/Timestamp/index.cjs +1 -1
  243. package/dist/cjs/components/Toast/index.cjs +1 -1
  244. package/dist/cjs/components/Tooltip/index.cjs +1 -1
  245. package/dist/cjs/components/index.cjs +1 -1
  246. package/dist/cjs/index.cjs +1 -1
  247. package/dist/cjs/theme/index.cjs +1 -1
  248. package/dist/esm/chakra/index.js +8 -8
  249. package/dist/esm/components/Alert/index.js +1 -1
  250. package/dist/esm/components/Avatar/index.js +1 -1
  251. package/dist/esm/components/AvatarGroup/index.js +1 -1
  252. package/dist/esm/components/ButtonGroup/index.js +1 -1
  253. package/dist/esm/components/CharacterCounter/index.js +1 -1
  254. package/dist/esm/components/Checkbox/index.js +1 -1
  255. package/dist/esm/components/CheckboxGroup/index.js +1 -1
  256. package/dist/esm/components/ConversationCard/index.js +1 -1
  257. package/dist/esm/components/DatePicker/index.js +1 -1
  258. package/dist/esm/components/Heading/index.js +1 -1
  259. package/dist/esm/components/Menu/index.js +1 -1
  260. package/dist/esm/components/Modal/index.js +1 -1
  261. package/dist/esm/components/PinInput/index.js +1 -1
  262. package/dist/esm/components/Popover/index.js +1 -1
  263. package/dist/esm/components/RadioGroup/index.js +1 -1
  264. package/dist/esm/components/RatingDots/index.js +1 -1
  265. package/dist/esm/components/Select/index.js +1 -1
  266. package/dist/esm/components/SortableList/index.js +1 -1
  267. package/dist/esm/components/Spinner/index.js +1 -1
  268. package/dist/esm/components/StyledAvatar/index.js +1 -1
  269. package/dist/esm/components/Switch/index.js +1 -1
  270. package/dist/esm/components/Tabs/index.js +1 -1
  271. package/dist/esm/components/TagBlock/index.js +1 -1
  272. package/dist/esm/components/Text/index.js +1 -1
  273. package/dist/esm/components/TextInput/index.js +1 -1
  274. package/dist/esm/components/Textarea/index.js +1 -1
  275. package/dist/esm/components/TimePicker/index.js +1 -1
  276. package/dist/esm/components/TimeRange/index.js +1 -1
  277. package/dist/esm/components/Timestamp/index.js +1 -1
  278. package/dist/esm/components/Toast/index.js +1 -1
  279. package/dist/esm/components/Tooltip/index.js +1 -1
  280. package/dist/esm/components/index.js +38 -39
  281. package/dist/esm/components/index.js.map +1 -1
  282. package/dist/esm/index.js +57 -58
  283. package/dist/esm/index.js.map +1 -1
  284. package/dist/esm/theme/index.js +1 -1
  285. package/dist/types/components/Menu/menu.recipe.d.ts +1 -1
  286. package/dist/types/components/Modal/modal.recipe.d.ts +1 -1
  287. package/dist/types/components/Popover/popover.recipe.d.ts +1 -1
  288. package/dist/types/components/TimePicker/timePicker.recipe.d.ts +1 -1
  289. package/dist/types/components/Tooltip/tooltip.component.d.ts +2 -4
  290. package/dist/types/components/Tooltip/tooltip.recipe.d.ts +1 -1
  291. package/dist/types/theme/tokens/zIndices/zIndices.config.d.ts +3 -3
  292. package/package.json +1 -1
  293. package/dist/chunks/avatar.component-BdkTgslj.js +0 -2
  294. package/dist/chunks/checkbox.records-DI3mqSNf.js +0 -2
  295. package/dist/chunks/conversationCard.component-CHm8X5MK.js +0 -2
  296. package/dist/chunks/datePicker.component-27W5L9DI.js.map +0 -1
  297. package/dist/chunks/datePicker.component-C7pwPHzo.js.map +0 -1
  298. package/dist/chunks/index-BR7peqZO.js +0 -2
  299. package/dist/chunks/index-Bz8HDeWA.js +0 -70
  300. package/dist/chunks/index-Bz8HDeWA.js.map +0 -1
  301. package/dist/chunks/index-CHIISuTq.js +0 -3
  302. package/dist/chunks/index-CHIISuTq.js.map +0 -1
  303. package/dist/chunks/index-CS8X6LiC.js +0 -2
  304. package/dist/chunks/index-DBk0LkcO.js +0 -2
  305. package/dist/chunks/index-DSedXH1s.js +0 -2
  306. package/dist/chunks/index-DbTEJc-K.js +0 -2
  307. package/dist/chunks/index-DbTEJc-K.js.map +0 -1
  308. package/dist/chunks/index-QTIBH1Or.js +0 -2
  309. package/dist/chunks/index-YtNA0Ueo.js +0 -1328
  310. package/dist/chunks/index-YtNA0Ueo.js.map +0 -1
  311. package/dist/chunks/index-iaug4k6v.js +0 -8
  312. package/dist/chunks/popover.component-B1TLfpqD.js +0 -2
  313. package/dist/chunks/popover.component-B1TLfpqD.js.map +0 -1
  314. package/dist/chunks/popover.component-CDGsZ6d_.js +0 -387
  315. package/dist/chunks/popover.component-CDGsZ6d_.js.map +0 -1
  316. package/dist/chunks/radio.records-j0JOqaJ4.js +0 -2
  317. package/dist/chunks/text.component-Ck6rZy2v.js +0 -12
  318. package/dist/chunks/text.component-Ck6rZy2v.js.map +0 -1
  319. package/dist/chunks/text.component-H5f43IC6.js +0 -2
  320. package/dist/chunks/text.component-H5f43IC6.js.map +0 -1
  321. package/dist/chunks/theme.provider-FIFC-_Wf.js.map +0 -1
  322. package/dist/chunks/theme.provider-oCz4Rrwj.js +0 -26
  323. package/dist/chunks/theme.provider-oCz4Rrwj.js.map +0 -1
  324. package/dist/chunks/timePicker.component-CMouXVow.js.map +0 -1
  325. package/dist/chunks/timePicker.component-ClmXeH3U.js.map +0 -1
  326. package/dist/chunks/timestamp.component-CNzJfora.js +0 -2
  327. package/dist/chunks/timestamp.component-Dtn5KtVA.js +0 -54
  328. package/dist/chunks/toaster.records-zJfplz5w.js +0 -2
  329. package/dist/chunks/tooltip.component-BdlSO_v_.js.map +0 -1
  330. package/dist/chunks/tooltip.component-Dq7F5JIs.js +0 -2
  331. package/dist/chunks/tooltip.component-Dq7F5JIs.js.map +0 -1
  332. package/dist/chunks/withTruncation-C_btJ8Nx.js +0 -2
  333. package/dist/chunks/withTruncation-C_btJ8Nx.js.map +0 -1
  334. package/dist/chunks/withTruncation-D6letsku.js +0 -67
  335. package/dist/chunks/withTruncation-D6letsku.js.map +0 -1
@@ -1,1328 +0,0 @@
1
- var le = (e) => Math.max(0, Math.min(1, e)), je = (e, t) => e.map((n, r) => e[(Math.max(t, 0) + r) % e.length]), X = (...e) => (t) => e.reduce((n, r) => r(n), t), M = () => {
2
- }, _ = (e) => typeof e == "object" && e !== null, On = 2147483647, Mn = (e) => e ? "" : void 0, Cn = (e) => e ? "true" : void 0, $e = 1, qe = 9, _e = 11, b = (e) => _(e) && e.nodeType === $e && typeof e.nodeName == "string", ke = (e) => _(e) && e.nodeType === qe, We = (e) => _(e) && e === e.window, xe = (e) => b(e) ? e.localName || "" : "#document";
3
- function Ue(e) {
4
- return ["html", "body", "#document"].includes(xe(e));
5
- }
6
- var ze = (e) => _(e) && e.nodeType !== void 0, K = (e) => ze(e) && e.nodeType === _e && "host" in e, He = (e) => b(e) && e.localName === "input", Vn = (e) => !!e?.matches("a[href]"), Xe = (e) => b(e) ? e.offsetWidth > 0 || e.offsetHeight > 0 || e.getClientRects().length > 0 : !1, Ye = /(textarea|select)/;
7
- function Ge(e) {
8
- if (e == null || !b(e)) return !1;
9
- try {
10
- return He(e) && e.selectionStart != null || Ye.test(e.localName) || e.isContentEditable || e.getAttribute("contenteditable") === "true" || e.getAttribute("contenteditable") === "";
11
- } catch {
12
- return !1;
13
- }
14
- }
15
- function V(e, t) {
16
- if (!e || !t || !b(e) || !b(t)) return !1;
17
- const n = t.getRootNode?.();
18
- if (e === t || e.contains(t)) return !0;
19
- if (n && K(n)) {
20
- let r = t;
21
- for (; r; ) {
22
- if (e === r) return !0;
23
- r = r.parentNode || r.host;
24
- }
25
- }
26
- return !1;
27
- }
28
- function D(e) {
29
- return ke(e) ? e : We(e) ? e.document : e?.ownerDocument ?? document;
30
- }
31
- function Ze(e) {
32
- return D(e).documentElement;
33
- }
34
- function A(e) {
35
- return K(e) ? A(e.host) : ke(e) ? e.defaultView ?? window : b(e) ? e.ownerDocument?.defaultView ?? window : window;
36
- }
37
- function Je(e) {
38
- let t = e.activeElement;
39
- for (; t?.shadowRoot; ) {
40
- const n = t.shadowRoot.activeElement;
41
- if (n === t) break;
42
- t = n;
43
- }
44
- return t;
45
- }
46
- function Qe(e) {
47
- if (xe(e) === "html") return e;
48
- const t = e.assignedSlot || e.parentNode || K(e) && e.host || Ze(e);
49
- return K(t) ? t.host : t;
50
- }
51
- var Y = /* @__PURE__ */ new WeakMap();
52
- function Bn(e) {
53
- return Y.has(e) || Y.set(e, A(e).getComputedStyle(e)), Y.get(e);
54
- }
55
- function Rn(e, t) {
56
- const { type: n, quality: r = 0.92, background: o } = t;
57
- if (!e) throw new Error("[zag-js > getDataUrl]: Could not find the svg element");
58
- const s = A(e), i = s.document, a = e.getBoundingClientRect(), u = e.cloneNode(!0);
59
- u.hasAttribute("viewBox") || u.setAttribute("viewBox", `0 0 ${a.width} ${a.height}`);
60
- const p = `<?xml version="1.0" standalone="no"?>\r
61
- ` + new s.XMLSerializer().serializeToString(u), y = "data:image/svg+xml;charset=utf-8," + encodeURIComponent(p);
62
- if (n === "image/svg+xml")
63
- return Promise.resolve(y).then((k) => (u.remove(), k));
64
- const f = s.devicePixelRatio || 1, c = i.createElement("canvas"), d = new s.Image();
65
- d.src = y, c.width = a.width * f, c.height = a.height * f;
66
- const v = c.getContext("2d");
67
- return (n === "image/jpeg" || o) && (v.fillStyle = o || "white", v.fillRect(0, 0, c.width, c.height)), new Promise((k) => {
68
- d.onload = () => {
69
- v?.drawImage(d, 0, 0, c.width, c.height), k(c.toDataURL(n, r)), u.remove();
70
- };
71
- });
72
- }
73
- var W = () => typeof document < "u";
74
- function et() {
75
- return navigator.userAgentData?.platform ?? navigator.platform;
76
- }
77
- function tt() {
78
- const e = navigator.userAgentData;
79
- return e && Array.isArray(e.brands) ? e.brands.map(({ brand: t, version: n }) => `${t}/${n}`).join(" ") : navigator.userAgent;
80
- }
81
- var ne = (e) => W() && e.test(et()), Pe = (e) => W() && e.test(tt()), nt = (e) => W() && e.test(navigator.vendor), fe = () => W() && !!navigator.maxTouchPoints, rt = () => ne(/^iPhone/i), ot = () => ne(/^iPad/i) || oe() && navigator.maxTouchPoints > 1, re = () => rt() || ot(), Te = () => oe() || re(), oe = () => ne(/^Mac/i), Kn = () => Te() && nt(/apple/i), st = () => Pe(/Firefox/i), it = () => Pe(/Android/i);
82
- function Fn(e) {
83
- const { selectionStart: t, selectionEnd: n, value: r } = e.currentTarget;
84
- return r.slice(0, t) + e.data + r.slice(n);
85
- }
86
- function at(e) {
87
- return e.composedPath?.() ?? e.nativeEvent?.composedPath?.();
88
- }
89
- function B(e) {
90
- return at(e)?.[0] ?? e.target;
91
- }
92
- var jn = (e) => V(e.currentTarget, B(e));
93
- function $n(e) {
94
- const t = e.currentTarget;
95
- if (!t) return !1;
96
- const n = Te();
97
- if (n && !e.metaKey || !n && !e.ctrlKey) return !1;
98
- const r = t.localName;
99
- return r === "a" || r === "button" && t.type === "submit" || r === "input" && t.type === "submit";
100
- }
101
- function qn(e) {
102
- const t = e.currentTarget;
103
- if (!t) return !1;
104
- const n = t.localName;
105
- return e.altKey ? n === "a" || n === "button" && t.type === "submit" || n === "input" && t.type === "submit" : !1;
106
- }
107
- function _n(e) {
108
- return ft(e).isComposing || e.keyCode === 229;
109
- }
110
- function Wn(e) {
111
- return e.key.length === 1 && !e.ctrlKey && !e.metaKey;
112
- }
113
- function Un(e) {
114
- return e.mozInputSource === 0 && e.isTrusted ? !0 : it() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
115
- }
116
- var zn = (e) => e.button === 0, ct = (e) => e.button === 2 || oe() && e.ctrlKey && e.button === 0, Hn = (e) => e.ctrlKey || e.altKey || e.metaKey, ut = (e) => "touches" in e && e.touches.length > 0, lt = {
117
- Up: "ArrowUp",
118
- Down: "ArrowDown",
119
- Esc: "Escape",
120
- " ": "Space",
121
- ",": "Comma",
122
- Left: "ArrowLeft",
123
- Right: "ArrowRight"
124
- }, de = {
125
- ArrowLeft: "ArrowRight",
126
- ArrowRight: "ArrowLeft"
127
- };
128
- function Xn(e, t = {}) {
129
- const { dir: n = "ltr", orientation: r = "horizontal" } = t;
130
- let o = e.key;
131
- return o = lt[o] ?? o, n === "rtl" && r === "horizontal" && o in de && (o = de[o]), o;
132
- }
133
- function ft(e) {
134
- return e.nativeEvent ?? e;
135
- }
136
- var dt = /* @__PURE__ */ new Set(["PageUp", "PageDown"]), ht = /* @__PURE__ */ new Set(["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"]);
137
- function Yn(e) {
138
- return e.ctrlKey || e.metaKey ? 0.1 : dt.has(e.key) || e.shiftKey && ht.has(e.key) ? 10 : 1;
139
- }
140
- function Le(e, t = "client") {
141
- const n = ut(e) ? e.touches[0] || e.changedTouches[0] : e;
142
- return { x: n[`${t}X`], y: n[`${t}Y`] };
143
- }
144
- var g = (e, t, n, r) => {
145
- const o = typeof e == "function" ? e() : e;
146
- return o?.addEventListener(t, n, r), () => {
147
- o?.removeEventListener(t, n, r);
148
- };
149
- };
150
- function Se(e, t) {
151
- const { type: n = "HTMLInputElement", property: r = "value" } = t, o = A(e)[n].prototype;
152
- return Object.getOwnPropertyDescriptor(o, r) ?? {};
153
- }
154
- function pt(e) {
155
- if (e.localName === "input") return "HTMLInputElement";
156
- if (e.localName === "textarea") return "HTMLTextAreaElement";
157
- if (e.localName === "select") return "HTMLSelectElement";
158
- }
159
- function yt(e, t, n = "value") {
160
- if (!e) return;
161
- const r = pt(e);
162
- r && Se(e, { type: r, property: n }).set?.call(e, t), e.setAttribute(n, t);
163
- }
164
- function mt(e, t) {
165
- if (!e) return;
166
- Se(e, { type: "HTMLInputElement", property: "checked" }).set?.call(e, t), t ? e.setAttribute("checked", "") : e.removeAttribute("checked");
167
- }
168
- function Gn(e, t) {
169
- const { value: n, bubbles: r = !0 } = t;
170
- if (!e) return;
171
- const o = A(e);
172
- e instanceof o.HTMLInputElement && (yt(e, `${n}`), e.dispatchEvent(new o.Event("input", { bubbles: r })));
173
- }
174
- function Zn(e, t) {
175
- const { checked: n, bubbles: r = !0 } = t;
176
- if (!e) return;
177
- const o = A(e);
178
- e instanceof o.HTMLInputElement && (mt(e, n), e.dispatchEvent(new o.Event("click", { bubbles: r })));
179
- }
180
- function gt(e) {
181
- return bt(e) ? e.form : e.closest("form");
182
- }
183
- function bt(e) {
184
- return e.matches("textarea, input, select, button");
185
- }
186
- function vt(e, t) {
187
- if (!e) return;
188
- const n = gt(e), r = (o) => {
189
- o.defaultPrevented || t();
190
- };
191
- return n?.addEventListener("reset", r, { passive: !0 }), () => n?.removeEventListener("reset", r);
192
- }
193
- function Et(e, t) {
194
- const n = e?.closest("fieldset");
195
- if (!n) return;
196
- t(n.disabled);
197
- const r = A(n), o = new r.MutationObserver(() => t(n.disabled));
198
- return o.observe(n, {
199
- attributes: !0,
200
- attributeFilter: ["disabled"]
201
- }), () => o.disconnect();
202
- }
203
- function Jn(e, t) {
204
- if (!e) return;
205
- const { onFieldsetDisabledChange: n, onFormReset: r } = t, o = [vt(e, r), Et(e, n)];
206
- return () => o.forEach((s) => s?.());
207
- }
208
- var Ie = (e) => b(e) && e.tagName === "IFRAME", wt = (e) => !Number.isNaN(parseInt(e.getAttribute("tabindex") || "0", 10)), At = (e) => parseInt(e.getAttribute("tabindex") || "0", 10) < 0, se = "input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false']), details > summary:first-of-type", kt = (e, t = !1) => {
209
- if (!e) return [];
210
- const n = Array.from(e.querySelectorAll(se));
211
- (t == !0 || t == "if-empty" && n.length === 0) && b(e) && F(e) && n.unshift(e);
212
- const o = n.filter(F);
213
- return o.forEach((s, i) => {
214
- if (Ie(s) && s.contentDocument) {
215
- const a = s.contentDocument.body;
216
- o.splice(i, 1, ...kt(a));
217
- }
218
- }), o;
219
- };
220
- function F(e) {
221
- return !e || e.closest("[inert]") ? !1 : e.matches(se) && Xe(e);
222
- }
223
- function U(e, t) {
224
- if (!e) return [];
225
- const n = Array.from(e.querySelectorAll(se)), r = n.filter(he);
226
- return t && he(e) && r.unshift(e), r.forEach((o, s) => {
227
- if (Ie(o) && o.contentDocument) {
228
- const i = o.contentDocument.body, a = U(i);
229
- r.splice(s, 1, ...a);
230
- }
231
- }), !r.length && t ? n : r;
232
- }
233
- function he(e) {
234
- return e != null && e.tabIndex > 0 ? !0 : F(e) && !At(e);
235
- }
236
- function Ne(e, t) {
237
- const n = U(e, t), r = n[0] || null, o = n[n.length - 1] || null;
238
- return [r, o];
239
- }
240
- function xt(e, t) {
241
- const n = U(e), r = e?.ownerDocument || document, o = t ?? r.activeElement;
242
- if (!o) return null;
243
- const s = n.indexOf(o);
244
- return n[s + 1] || null;
245
- }
246
- function Qn(e) {
247
- return e.tabIndex < 0 && (/^(audio|video|details)$/.test(e.localName) || Ge(e)) && !wt(e) ? 0 : e.tabIndex;
248
- }
249
- function er(e) {
250
- const { root: t, getInitialEl: n, filter: r, enabled: o = !0 } = e;
251
- if (!o) return;
252
- let s = null;
253
- if (s || (s = typeof n == "function" ? n() : n), s || (s = t?.querySelector("[data-autofocus],[autofocus]")), !s) {
254
- const i = U(t);
255
- s = r ? i.filter(r)[0] : i[0];
256
- }
257
- return s || t || void 0;
258
- }
259
- function tr(e) {
260
- const t = e.currentTarget;
261
- if (!t) return !1;
262
- const [n, r] = Ne(t), o = t.ownerDocument || document;
263
- return !(o.activeElement === n && e.shiftKey || o.activeElement === r && !e.shiftKey || !n && !r);
264
- }
265
- function Pt(e) {
266
- const t = /* @__PURE__ */ new Set();
267
- function n(r) {
268
- const o = globalThis.requestAnimationFrame(r);
269
- t.add(() => globalThis.cancelAnimationFrame(o));
270
- }
271
- return n(() => n(e)), function() {
272
- t.forEach((o) => o());
273
- };
274
- }
275
- function T(e) {
276
- let t;
277
- const n = globalThis.requestAnimationFrame(() => {
278
- t = e();
279
- });
280
- return () => {
281
- globalThis.cancelAnimationFrame(n), t?.();
282
- };
283
- }
284
- function Tt(e, t, n) {
285
- const r = T(() => {
286
- e.removeEventListener(t, o, !0), n();
287
- }), o = () => {
288
- r(), n();
289
- };
290
- return e.addEventListener(t, o, { once: !0, capture: !0 }), r;
291
- }
292
- function Lt(e, t) {
293
- if (!e) return;
294
- const { attributes: n, callback: r } = t, o = e.ownerDocument.defaultView || window, s = new o.MutationObserver((i) => {
295
- for (const a of i)
296
- a.type === "attributes" && a.attributeName && n.includes(a.attributeName) && r(a);
297
- });
298
- return s.observe(e, { attributes: !0, attributeFilter: n }), () => s.disconnect();
299
- }
300
- function nr(e, t) {
301
- const { defer: n } = t, r = n ? T : (s) => s(), o = [];
302
- return o.push(
303
- r(() => {
304
- const s = typeof e == "function" ? e() : e;
305
- o.push(Lt(s, t));
306
- })
307
- ), () => {
308
- o.forEach((s) => s?.());
309
- };
310
- }
311
- function St(e, t) {
312
- const { callback: n } = t;
313
- if (!e) return;
314
- const r = e.ownerDocument.defaultView || window, o = new r.MutationObserver(n);
315
- return o.observe(e, { childList: !0, subtree: !0 }), () => o.disconnect();
316
- }
317
- function rr(e, t) {
318
- const { defer: n } = t, r = n ? T : (s) => s(), o = [];
319
- return o.push(
320
- r(() => {
321
- const s = typeof e == "function" ? e() : e;
322
- o.push(St(s, t));
323
- })
324
- ), () => {
325
- o.forEach((s) => s?.());
326
- };
327
- }
328
- function or(e) {
329
- const t = () => e.click();
330
- st() ? Tt(e, "keyup", t) : queueMicrotask(t);
331
- }
332
- function J(e) {
333
- const t = Qe(e);
334
- return Ue(t) ? D(t).body : b(t) && De(t) ? t : J(t);
335
- }
336
- var It = /auto|scroll|overlay|hidden|clip/;
337
- function De(e) {
338
- const t = A(e), { overflow: n, overflowX: r, overflowY: o, display: s } = t.getComputedStyle(e);
339
- return It.test(n + o + r) && !["inline", "contents"].includes(s);
340
- }
341
- function Nt(e) {
342
- return e.scrollHeight > e.clientHeight || e.scrollWidth > e.clientWidth;
343
- }
344
- function sr(e, t) {
345
- const { rootEl: n, ...r } = t || {};
346
- !e || !n || !De(n) || !Nt(n) || e.scrollIntoView(r);
347
- }
348
- function ir(e, t) {
349
- const { left: n, top: r, width: o, height: s } = t.getBoundingClientRect(), i = { x: e.x - n, y: e.y - r }, a = { x: le(i.x / o), y: le(i.y / s) };
350
- function u(l = {}) {
351
- const { dir: p = "ltr", orientation: y = "horizontal", inverted: f } = l, c = typeof f == "object" ? f.x : f, d = typeof f == "object" ? f.y : f;
352
- return y === "horizontal" ? p === "rtl" || c ? 1 - a.x : a.x : d ? 1 - a.y : a.y;
353
- }
354
- return { offset: i, percent: a, getPercentValue: u };
355
- }
356
- function ar(e, t) {
357
- const n = e.body, r = "pointerLockElement" in e || "mozPointerLockElement" in e, o = () => !!e.pointerLockElement;
358
- function s() {
359
- }
360
- function i(u) {
361
- o(), console.error("PointerLock error occurred:", u), e.exitPointerLock();
362
- }
363
- if (!r) return;
364
- try {
365
- n.requestPointerLock();
366
- } catch {
367
- }
368
- const a = [
369
- g(e, "pointerlockchange", s, !1),
370
- g(e, "pointerlockerror", i, !1)
371
- ];
372
- return () => {
373
- a.forEach((u) => u()), e.exitPointerLock();
374
- };
375
- }
376
- var C = "default", Q = "", $ = /* @__PURE__ */ new WeakMap();
377
- function Dt(e = {}) {
378
- const { target: t, doc: n } = e, r = n ?? document, o = r.documentElement;
379
- return re() ? (C === "default" && (Q = o.style.webkitUserSelect, o.style.webkitUserSelect = "none"), C = "disabled") : t && ($.set(t, t.style.userSelect), t.style.userSelect = "none"), () => Ot({ target: t, doc: r });
380
- }
381
- function Ot(e = {}) {
382
- const { target: t, doc: n } = e, o = (n ?? document).documentElement;
383
- if (re()) {
384
- if (C !== "disabled") return;
385
- C = "restoring", setTimeout(() => {
386
- Pt(() => {
387
- C === "restoring" && (o.style.webkitUserSelect === "none" && (o.style.webkitUserSelect = Q || ""), Q = "", C = "default");
388
- });
389
- }, 300);
390
- } else if (t && $.has(t)) {
391
- const s = $.get(t);
392
- t.style.userSelect === "none" && (t.style.userSelect = s ?? ""), t.getAttribute("style") === "" && t.removeAttribute("style"), $.delete(t);
393
- }
394
- }
395
- function Mt(e = {}) {
396
- const { defer: t, target: n, ...r } = e, o = t ? T : (i) => i(), s = [];
397
- return s.push(
398
- o(() => {
399
- const i = typeof n == "function" ? n() : n;
400
- s.push(Dt({ ...r, target: i }));
401
- })
402
- ), () => {
403
- s.forEach((i) => i?.());
404
- };
405
- }
406
- function cr(e, t) {
407
- const { onPointerMove: n, onPointerUp: r } = t, s = [
408
- g(e, "pointermove", (i) => {
409
- const a = Le(i), u = Math.sqrt(a.x ** 2 + a.y ** 2), l = i.pointerType === "touch" ? 10 : 5;
410
- if (!(u < l)) {
411
- if (i.pointerType === "mouse" && i.button === 0) {
412
- r();
413
- return;
414
- }
415
- n({ point: a, event: i });
416
- }
417
- }, !1),
418
- g(e, "pointerup", r, !1),
419
- g(e, "pointercancel", r, !1),
420
- g(e, "contextmenu", r, !1),
421
- Mt({ doc: e })
422
- ];
423
- return () => {
424
- s.forEach((i) => i());
425
- };
426
- }
427
- function ur(e) {
428
- const {
429
- pointerNode: t,
430
- keyboardNode: n = t,
431
- onPress: r,
432
- onPressStart: o,
433
- onPressEnd: s,
434
- isValidKey: i = (h) => h.key === "Enter"
435
- } = e;
436
- if (!t) return M;
437
- const a = A(t), u = D(t);
438
- let l = M, p = M, y = M;
439
- const f = (h) => ({
440
- point: Le(h),
441
- event: h
442
- });
443
- function c(h) {
444
- o?.(f(h));
445
- }
446
- function d(h) {
447
- s?.(f(h));
448
- }
449
- const k = g(t, "pointerdown", (h) => {
450
- p();
451
- const S = g(a, "pointerup", (P) => {
452
- const N = B(P);
453
- V(t, N) ? r?.(f(P)) : s?.(f(P));
454
- }, { passive: !r, once: !0 }), x = g(a, "pointercancel", d, {
455
- passive: !s,
456
- once: !0
457
- });
458
- p = X(S, x), u.activeElement === n && h.pointerType === "mouse" && h.preventDefault(), c(h);
459
- }, { passive: !o }), L = g(n, "focus", m);
460
- l = X(k, L);
461
- function m() {
462
- const h = (P) => {
463
- if (!i(P)) return;
464
- const N = (Ke) => {
465
- if (!i(Ke)) return;
466
- const Fe = new a.PointerEvent("pointerup"), ue = f(Fe);
467
- r?.(ue), s?.(ue);
468
- };
469
- p(), p = g(n, "keyup", N);
470
- const H = new a.PointerEvent("pointerdown");
471
- c(H);
472
- }, E = () => {
473
- const P = new a.PointerEvent("pointercancel");
474
- d(P);
475
- }, S = g(n, "keydown", h), x = g(n, "blur", E);
476
- y = X(S, x);
477
- }
478
- return () => {
479
- l(), p(), y();
480
- };
481
- }
482
- function Ct(e, t = {}) {
483
- const { triggerElement: n, onFocus: r, onFocusEnter: o } = t, s = e?.ownerDocument || document, i = s.body;
484
- function a(u) {
485
- if (u.key !== "Tab") return;
486
- let l = null;
487
- const [p, y] = Ne(e, !0), f = xt(i, n), c = !p && !y;
488
- u.shiftKey && f === s.activeElement ? (o?.(), l = y) : u.shiftKey && (s.activeElement === p || c) ? l = n : !u.shiftKey && s.activeElement === n ? (o?.(), l = p) : !u.shiftKey && (s.activeElement === y || c) && (l = f), l && (u.preventDefault(), typeof r == "function" ? r(l) : l.focus());
489
- }
490
- return g(s, "keydown", a, !0);
491
- }
492
- function lr(e, t) {
493
- const { defer: n, triggerElement: r, ...o } = t, s = n ? T : (a) => a(), i = [];
494
- return i.push(
495
- s(() => {
496
- const a = typeof e == "function" ? e() : e, u = typeof r == "function" ? r() : r;
497
- i.push(Ct(a, { triggerElement: u, ...o }));
498
- })
499
- ), () => {
500
- i.forEach((a) => a?.());
501
- };
502
- }
503
- function fr(e, t) {
504
- return Array.from(e?.querySelectorAll(t) ?? []);
505
- }
506
- function dr(e, t) {
507
- return e?.querySelector(t) ?? null;
508
- }
509
- var ie = (e) => e.id;
510
- function Vt(e, t, n = ie) {
511
- return e.find((r) => n(r) === t);
512
- }
513
- function ae(e, t, n = ie) {
514
- const r = Vt(e, t, n);
515
- return r ? e.indexOf(r) : -1;
516
- }
517
- function hr(e, t, n = !0) {
518
- let r = ae(e, t);
519
- return r = n ? (r + 1) % e.length : Math.min(r + 1, e.length - 1), e[r];
520
- }
521
- function pr(e, t, n = !0) {
522
- let r = ae(e, t);
523
- return r === -1 ? n ? e[e.length - 1] : null : (r = n ? (r - 1 + e.length) % e.length : Math.max(0, r - 1), e[r]);
524
- }
525
- function yr(e, t) {
526
- const { onEntry: n, measure: r, box: o = "border-box" } = t, s = (Array.isArray(e) ? e : [e]).filter(b), i = A(s[0]), a = (l) => {
527
- const p = s.map((y) => r(y));
528
- n({ rects: p, entries: l });
529
- };
530
- a([]);
531
- const u = new i.ResizeObserver(a);
532
- return s.forEach((l) => u.observe(l, { box: o })), () => u.disconnect();
533
- }
534
- var Bt = (e) => e.split("").map((t) => {
535
- const n = t.charCodeAt(0);
536
- return n > 0 && n < 128 ? t : n >= 128 && n <= 255 ? `/x${n.toString(16)}`.replace("/", "\\") : "";
537
- }).join("").trim(), Rt = (e) => Bt(e.dataset?.valuetext ?? e.textContent ?? ""), Kt = (e, t) => e.trim().toLowerCase().startsWith(t.toLowerCase());
538
- function Ft(e, t, n, r = ie) {
539
- const o = n ? ae(e, n, r) : -1;
540
- let s = n ? je(e, o) : e;
541
- return t.length === 1 && (s = s.filter((a) => r(a) !== n)), s.find((a) => Kt(Rt(a), t));
542
- }
543
- function jt(e, t) {
544
- if (!e) return M;
545
- const n = Object.keys(t).reduce((r, o) => (r[o] = e.style.getPropertyValue(o), r), {});
546
- return Object.assign(e.style, t), () => {
547
- Object.assign(e.style, n), e.style.length === 0 && e.removeAttribute("style");
548
- };
549
- }
550
- function mr(e, t, n) {
551
- if (!e) return M;
552
- const r = e.style.getPropertyValue(t);
553
- return e.style.setProperty(t, n), () => {
554
- e.style.setProperty(t, r), e.style.length === 0 && e.removeAttribute("style");
555
- };
556
- }
557
- function $t(e, t) {
558
- const { state: n, activeId: r, key: o, timeout: s = 350, itemToId: i } = t, a = n.keysSoFar + o, l = a.length > 1 && Array.from(a).every((d) => d === a[0]) ? a[0] : a;
559
- let p = e.slice();
560
- const y = Ft(p, l, r, i);
561
- function f() {
562
- clearTimeout(n.timer), n.timer = -1;
563
- }
564
- function c(d) {
565
- n.keysSoFar = d, f(), d !== "" && (n.timer = +setTimeout(() => {
566
- c(""), f();
567
- }, s));
568
- }
569
- return c(a), y;
570
- }
571
- var gr = /* @__PURE__ */ Object.assign($t, {
572
- defaultOptions: { keysSoFar: "", timer: -1 },
573
- isValidEvent: qt
574
- });
575
- function qt(e) {
576
- return e.key.length === 1 && !e.ctrlKey && !e.metaKey;
577
- }
578
- var br = {
579
- border: "0",
580
- clip: "rect(0 0 0 0)",
581
- height: "1px",
582
- margin: "-1px",
583
- overflow: "hidden",
584
- padding: "0",
585
- position: "absolute",
586
- width: "1px",
587
- whiteSpace: "nowrap",
588
- wordWrap: "normal"
589
- }, _t = 1e3 / 60;
590
- function Wt(e, t) {
591
- const n = e();
592
- if (b(n) && n.isConnected)
593
- return t(n), () => {
594
- };
595
- {
596
- const r = setInterval(() => {
597
- const o = e();
598
- b(o) && o.isConnected && (t(o), clearInterval(r));
599
- }, _t);
600
- return () => clearInterval(r);
601
- }
602
- }
603
- function Ut(e, t) {
604
- const n = [];
605
- return e?.forEach((r) => {
606
- const o = Wt(r, t);
607
- n.push(o);
608
- }), () => {
609
- n.forEach((r) => r());
610
- };
611
- }
612
- function vr(e) {
613
- return e ? Array.isArray(e) ? e : [e] : [];
614
- }
615
- var Er = (e) => Array.from(Array(e).keys()), wr = (e) => e[0], Ar = (e) => e[e.length - 1], zt = (e, t) => e.indexOf(t) !== -1, Ht = (e, ...t) => e.concat(t), Xt = (e, ...t) => e.filter((n) => !t.includes(n)), kr = (e, t) => zt(e, t) ? Xt(e, t) : Ht(e, t);
616
- function Oe(e, t, n = {}) {
617
- const { step: r = 1, loop: o = !0 } = n, s = t + r, i = e.length, a = i - 1;
618
- return t === -1 ? r > 0 ? 0 : a : s < 0 ? o ? a : 0 : s >= i ? o ? 0 : t > i ? i : t : s;
619
- }
620
- function xr(e, t, n = {}) {
621
- return e[Oe(e, t, n)];
622
- }
623
- function Yt(e, t, n = {}) {
624
- const { step: r = 1, loop: o = !0 } = n;
625
- return Oe(e, t, { step: -r, loop: o });
626
- }
627
- function Pr(e, t, n = {}) {
628
- return e[Yt(e, t, n)];
629
- }
630
- function Gt(e) {
631
- return e.reduce((t, n) => Array.isArray(n) ? t.concat(Gt(n)) : t.concat(n), []);
632
- }
633
- var pe = (e) => e?.constructor.name === "Array", Zt = (e, t) => {
634
- if (e.length !== t.length) return !1;
635
- for (let n = 0; n < e.length; n++)
636
- if (!ce(e[n], t[n])) return !1;
637
- return !0;
638
- }, ce = (e, t) => {
639
- if (Object.is(e, t)) return !0;
640
- if (e == null && t != null || e != null && t == null) return !1;
641
- if (typeof e?.isEqual == "function" && typeof t?.isEqual == "function")
642
- return e.isEqual(t);
643
- if (typeof e == "function" && typeof t == "function")
644
- return e.toString() === t.toString();
645
- if (pe(e) && pe(t))
646
- return Zt(Array.from(e), Array.from(t));
647
- if (typeof e != "object" || typeof t != "object") return !1;
648
- const n = Object.keys(t ?? /* @__PURE__ */ Object.create(null)), r = n.length;
649
- for (let o = 0; o < r; o++)
650
- if (!Reflect.has(e, n[o])) return !1;
651
- for (let o = 0; o < r; o++) {
652
- const s = n[o];
653
- if (!ce(e[s], t[s])) return !1;
654
- }
655
- return !0;
656
- }, Jt = (e) => Array.isArray(e), Qt = (e) => e != null && typeof e == "object", Tr = (e) => Qt(e) && !Jt(e), Lr = (e) => typeof e == "number" && !Number.isNaN(e), G = (e) => typeof e == "string", Me = (e) => typeof e == "function", Sr = (e) => e == null, Ir = (e, t) => Object.prototype.hasOwnProperty.call(e, t), en = Function.prototype.toString;
657
- en.call(Object);
658
- var Nr = (e, ...t) => (typeof e == "function" ? e(...t) : e) ?? void 0, Dr = (e) => e(), Or = () => {
659
- }, ee = (...e) => (...t) => {
660
- e.forEach(function(n) {
661
- n?.(...t);
662
- });
663
- }, Mr = /* @__PURE__ */ (() => {
664
- let e = 0;
665
- return () => (e++, e.toString(36));
666
- })(), tn = (e, t) => {
667
- try {
668
- return e();
669
- } catch (n) {
670
- return n instanceof Error && Error.captureStackTrace?.(n, tn), t?.();
671
- }
672
- }, { floor: te, abs: q, round: z, min: nn, max: rn, pow: on, sign: sn } = Math, R = (e) => Number.isNaN(e), I = (e) => R(e) ? 0 : e, Cr = (e, t) => (e % t + t) % t, Vr = (e, t) => (e % t + t) % t, an = (e, t, n) => e === 0 ? n : t[e - 1], cn = (e, t, n) => e === t.length - 1 ? n : t[e + 1], Br = (e, t) => I(e) >= t, Rr = (e, t) => I(e) <= t, Kr = (e, t, n) => I(e) >= t && I(e) <= n, un = (e, t, n) => z((I(e) - t) / n) * n + t, ln = (e, t, n) => nn(rn(I(e), t), n), Fr = (e, t, n) => (I(e) - t) / (n - t), jr = (e, t, n, r) => ln(un(e * (n - t) + t, t, r), t, n), j = (e, t) => {
673
- let n = e, r = t.toString(), o = r.indexOf("."), s = o >= 0 ? r.length - o : 0;
674
- if (s > 0) {
675
- let i = on(10, s);
676
- n = z(n * i) / i;
677
- }
678
- return n;
679
- }, $r = (e, t) => typeof t == "number" ? te(e * t + 0.5) / t : z(e), fn = (e, t, n, r) => {
680
- t = Number(t), n = Number(n);
681
- let o = (e - (R(t) ? 0 : t)) % r, s = j(
682
- q(o) * 2 >= r ? e + sn(o) * (r - q(o)) : e - o,
683
- r
684
- );
685
- return R(t) ? !R(n) && s > n && (s = t + te(j((n - t) / r, r)) * r) : s < t ? s = t : !R(n) && s > n && (s = t + te(j((n - t) / r, r)) * r), j(s, r);
686
- }, dn = (e, t, n) => e[t] === n ? e : [...e.slice(0, t), n, ...e.slice(t + 1)];
687
- function Ce(e, t) {
688
- const n = an(e, t.values, t.min), r = cn(e, t.values, t.max);
689
- let o = t.values.slice();
690
- return function(i) {
691
- let a = fn(i, n, r, t.step);
692
- return o = dn(o, e, i), o[e] = a, o;
693
- };
694
- }
695
- function qr(e, t) {
696
- const n = t.values[e] + t.step;
697
- return Ce(e, t)(n);
698
- }
699
- function _r(e, t) {
700
- const n = t.values[e] - t.step;
701
- return Ce(e, t)(n);
702
- }
703
- var Wr = (e, t) => {
704
- let n = e.findIndex((s) => t - s < 0);
705
- if (n === 0) return n;
706
- if (n === -1) return e.length - 1;
707
- let r = e[n - 1], o = e[n];
708
- return q(r - t) < q(o - t) ? n - 1 : n;
709
- }, Ur = (e, t, n, r) => e.map((o, s) => ({
710
- min: s === 0 ? t : e[s - 1] + r,
711
- max: s === e.length - 1 ? n : e[s + 1] - r,
712
- value: o
713
- })), zr = (e, t) => {
714
- const [n, r] = e, [o, s] = t;
715
- return (i) => n === r || o === s ? o : o + (s - o) / (r - n) * (i - n);
716
- }, Hr = (e, t = 0, n = 10) => {
717
- const r = Math.pow(n, t);
718
- return z(e * r) / r;
719
- }, ye = (e) => {
720
- if (!Number.isFinite(e)) return 0;
721
- let t = 1, n = 0;
722
- for (; Math.round(e * t) / t !== e; )
723
- t *= 10, n += 1;
724
- return n;
725
- }, Ve = (e, t, n) => {
726
- let r = t === "+" ? e + n : e - n;
727
- if (e % 1 !== 0 || n % 1 !== 0) {
728
- const o = 10 ** Math.max(ye(e), ye(n));
729
- e = Math.round(e * o), n = Math.round(n * o), r = t === "+" ? e + n : e - n, r /= o;
730
- }
731
- return r;
732
- }, Xr = (e, t) => Ve(I(e), "+", t), Yr = (e, t) => Ve(I(e), "-", t), Gr = (e) => e != null ? `${e}px` : void 0;
733
- function hn(e) {
734
- if (!pn(e) || e === void 0) return e;
735
- const t = Reflect.ownKeys(e).filter((r) => typeof r == "string"), n = {};
736
- for (const r of t) {
737
- const o = e[r];
738
- o !== void 0 && (n[r] = hn(o));
739
- }
740
- return n;
741
- }
742
- var pn = (e) => e && typeof e == "object" && e.constructor === Object;
743
- function Zr(e, t) {
744
- const n = {};
745
- for (const r of t) {
746
- const o = e[r];
747
- o !== void 0 && (n[r] = o);
748
- }
749
- return n;
750
- }
751
- function Jr(e, t) {
752
- const n = performance.now();
753
- let r;
754
- function o(s) {
755
- r = requestAnimationFrame(o), s - n >= t && e();
756
- }
757
- return r = requestAnimationFrame(o), () => cancelAnimationFrame(r);
758
- }
759
- function Be(...e) {
760
- const t = e.length === 1 ? e[0] : e[1];
761
- (e.length === 2 ? e[0] : !0) && process.env.NODE_ENV !== "production" && console.warn(t);
762
- }
763
- function Qr(...e) {
764
- const t = e.length === 1 ? e[0] : e[1];
765
- if ((e.length === 2 ? e[0] : !0) && process.env.NODE_ENV !== "production")
766
- throw new Error(t);
767
- }
768
- function eo(e, t) {
769
- if (e == null) throw new Error(t());
770
- }
771
- function to(e, t, n) {
772
- let r = [];
773
- for (const o of t)
774
- e[o] == null && r.push(o);
775
- if (r.length > 0)
776
- throw new Error(`[zag-js${` > ${n}`}] missing required props: ${r.join(", ")}`);
777
- }
778
- var yn = (...e) => e.map((t) => t?.trim?.()).filter(Boolean).join(" "), mn = /((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g, me = (e) => {
779
- const t = {};
780
- let n;
781
- for (; n = mn.exec(e); )
782
- t[n[1]] = n[2];
783
- return t;
784
- }, gn = (e, t) => {
785
- if (G(e)) {
786
- if (G(t)) return `${e};${t}`;
787
- e = me(e);
788
- } else G(t) && (t = me(t));
789
- return Object.assign({}, e ?? {}, t ?? {});
790
- };
791
- function no(...e) {
792
- let t = {};
793
- for (let n of e) {
794
- for (let r in t) {
795
- if (r.startsWith("on") && typeof t[r] == "function" && typeof n[r] == "function") {
796
- t[r] = ee(n[r], t[r]);
797
- continue;
798
- }
799
- if (r === "className" || r === "class") {
800
- t[r] = yn(t[r], n[r]);
801
- continue;
802
- }
803
- if (r === "style") {
804
- t[r] = gn(t[r], n[r]);
805
- continue;
806
- }
807
- t[r] = n[r] !== void 0 ? n[r] : t[r];
808
- }
809
- for (let r in n)
810
- t[r] === void 0 && (t[r] = n[r]);
811
- }
812
- return t;
813
- }
814
- function ro(e, t, n) {
815
- let r = [], o;
816
- return (s) => {
817
- const i = e(s);
818
- return (i.length !== r.length || i.some((u, l) => !ce(r[l], u))) && (r = i, o = t(...i)), o;
819
- };
820
- }
821
- function bn() {
822
- return {
823
- and: (...e) => function(n) {
824
- return e.every((r) => n.guard(r));
825
- },
826
- or: (...e) => function(n) {
827
- return e.some((r) => n.guard(r));
828
- },
829
- not: (e) => function(n) {
830
- return !n.guard(e);
831
- }
832
- };
833
- }
834
- function oo(e) {
835
- return e;
836
- }
837
- function so() {
838
- return {
839
- guards: bn(),
840
- createMachine: (e) => e,
841
- choose: (e) => function({ choose: n }) {
842
- return n(e)?.actions;
843
- }
844
- };
845
- }
846
- var vn = /* @__PURE__ */ ((e) => (e.NotStarted = "Not Started", e.Started = "Started", e.Stopped = "Stopped", e))(vn || {}), io = "__init__";
847
- function ao(e) {
848
- const t = () => e.getRootNode?.() ?? document, n = () => D(t()), r = () => n().defaultView ?? window, o = () => Je(t());
849
- return {
850
- ...e,
851
- getRootNode: t,
852
- getDoc: n,
853
- getWin: r,
854
- getActiveElement: o,
855
- isActiveElement: (a) => a === o(),
856
- getById: (a) => t().getElementById(a)
857
- };
858
- }
859
- var Z = (e, t = []) => ({
860
- parts: (...n) => {
861
- if (En(t))
862
- return Z(e, n);
863
- throw new Error("createAnatomy().parts(...) should only be called once. Did you mean to use .extendWith(...) ?");
864
- },
865
- extendWith: (...n) => Z(e, [...t, ...n]),
866
- rename: (n) => Z(n, t),
867
- keys: () => t,
868
- build: () => [...new Set(t)].reduce(
869
- (n, r) => Object.assign(n, {
870
- [r]: {
871
- selector: [
872
- `&[data-scope="${O(e)}"][data-part="${O(r)}"]`,
873
- `& [data-scope="${O(e)}"][data-part="${O(r)}"]`
874
- ].join(", "),
875
- attrs: { "data-scope": O(e), "data-part": O(r) }
876
- }
877
- }),
878
- {}
879
- )
880
- }), O = (e) => e.replace(/([A-Z])([A-Z])/g, "$1-$2").replace(/([a-z])([A-Z])/g, "$1-$2").replace(/[\s_]+/g, "-").toLowerCase(), En = (e) => e.length === 0;
881
- function wn(e) {
882
- const t = {
883
- each(n) {
884
- for (let r = 0; r < e.frames?.length; r += 1) {
885
- const o = e.frames[r];
886
- o && n(o);
887
- }
888
- },
889
- addEventListener(n, r, o) {
890
- return t.each((s) => {
891
- try {
892
- s.document.addEventListener(n, r, o);
893
- } catch {
894
- }
895
- }), () => {
896
- try {
897
- t.removeEventListener(n, r, o);
898
- } catch {
899
- }
900
- };
901
- },
902
- removeEventListener(n, r, o) {
903
- t.each((s) => {
904
- try {
905
- s.document.removeEventListener(n, r, o);
906
- } catch {
907
- }
908
- });
909
- }
910
- };
911
- return t;
912
- }
913
- function An(e) {
914
- const t = e.frameElement != null ? e.parent : null;
915
- return {
916
- addEventListener: (n, r, o) => {
917
- try {
918
- t?.addEventListener(n, r, o);
919
- } catch {
920
- }
921
- return () => {
922
- try {
923
- t?.removeEventListener(n, r, o);
924
- } catch {
925
- }
926
- };
927
- },
928
- removeEventListener: (n, r, o) => {
929
- try {
930
- t?.removeEventListener(n, r, o);
931
- } catch {
932
- }
933
- }
934
- };
935
- }
936
- var ge = "pointerdown.outside", be = "focus.outside";
937
- function kn(e) {
938
- for (const t of e)
939
- if (b(t) && F(t)) return !0;
940
- return !1;
941
- }
942
- var Re = (e) => "clientY" in e;
943
- function xn(e, t) {
944
- if (!Re(t) || !e) return !1;
945
- const n = e.getBoundingClientRect();
946
- return n.width === 0 || n.height === 0 ? !1 : n.top <= t.clientY && t.clientY <= n.top + n.height && n.left <= t.clientX && t.clientX <= n.left + n.width;
947
- }
948
- function Pn(e, t) {
949
- return e.y <= t.y && t.y <= e.y + e.height && e.x <= t.x && t.x <= e.x + e.width;
950
- }
951
- function ve(e, t) {
952
- if (!t || !Re(e)) return !1;
953
- const n = t.scrollHeight > t.clientHeight, r = n && e.clientX > t.offsetLeft + t.clientWidth, o = t.scrollWidth > t.clientWidth, s = o && e.clientY > t.offsetTop + t.clientHeight, i = {
954
- x: t.offsetLeft,
955
- y: t.offsetTop,
956
- width: t.clientWidth + (n ? 16 : 0),
957
- height: t.clientHeight + (o ? 16 : 0)
958
- }, a = {
959
- x: e.clientX,
960
- y: e.clientY
961
- };
962
- return Pn(i, a) ? r || s : !1;
963
- }
964
- function Tn(e, t) {
965
- const { exclude: n, onFocusOutside: r, onPointerDownOutside: o, onInteractOutside: s, defer: i } = t;
966
- if (!e) return;
967
- const a = D(e), u = A(e), l = wn(u), p = An(u);
968
- function y(m, h) {
969
- if (!b(h) || !h.isConnected || V(e, h) || xn(e, m)) return !1;
970
- const E = a.querySelector(`[aria-controls="${e.id}"]`);
971
- if (E) {
972
- const x = J(E);
973
- if (ve(m, x)) return !1;
974
- }
975
- const S = J(e);
976
- return ve(m, S) ? !1 : !n?.(h);
977
- }
978
- const f = /* @__PURE__ */ new Set(), c = K(e?.getRootNode());
979
- function d(m) {
980
- function h(E) {
981
- const S = i && !fe() ? T : (N) => N(), x = E ?? m, P = x?.composedPath?.() ?? [x?.target];
982
- S(() => {
983
- const N = c ? P[0] : B(m);
984
- if (!(!e || !y(m, N))) {
985
- if (o || s) {
986
- const H = ee(o, s);
987
- e.addEventListener(ge, H, { once: !0 });
988
- }
989
- Ee(e, ge, {
990
- bubbles: !1,
991
- cancelable: !0,
992
- detail: {
993
- originalEvent: x,
994
- contextmenu: ct(x),
995
- focusable: kn(P),
996
- target: N
997
- }
998
- });
999
- }
1000
- });
1001
- }
1002
- m.pointerType === "touch" ? (f.forEach((E) => E()), f.add(g(a, "click", h, { once: !0 })), f.add(p.addEventListener("click", h, { once: !0 })), f.add(l.addEventListener("click", h, { once: !0 }))) : h();
1003
- }
1004
- const v = /* @__PURE__ */ new Set(), k = setTimeout(() => {
1005
- v.add(g(a, "pointerdown", d, !0)), v.add(p.addEventListener("pointerdown", d, !0)), v.add(l.addEventListener("pointerdown", d, !0));
1006
- }, 0);
1007
- function L(m) {
1008
- (i ? T : (E) => E())(() => {
1009
- const E = B(m);
1010
- if (!(!e || !y(m, E))) {
1011
- if (r || s) {
1012
- const S = ee(r, s);
1013
- e.addEventListener(be, S, { once: !0 });
1014
- }
1015
- Ee(e, be, {
1016
- bubbles: !1,
1017
- cancelable: !0,
1018
- detail: {
1019
- originalEvent: m,
1020
- contextmenu: !1,
1021
- focusable: F(E),
1022
- target: E
1023
- }
1024
- });
1025
- }
1026
- });
1027
- }
1028
- return fe() || (v.add(g(a, "focusin", L, !0)), v.add(p.addEventListener("focusin", L, !0)), v.add(l.addEventListener("focusin", L, !0))), () => {
1029
- clearTimeout(k), f.forEach((m) => m()), v.forEach((m) => m());
1030
- };
1031
- }
1032
- function Ln(e, t) {
1033
- const { defer: n } = t, r = n ? T : (s) => s(), o = [];
1034
- return o.push(
1035
- r(() => {
1036
- const s = typeof e == "function" ? e() : e;
1037
- o.push(Tn(s, t));
1038
- })
1039
- ), () => {
1040
- o.forEach((s) => s?.());
1041
- };
1042
- }
1043
- function Ee(e, t, n) {
1044
- const r = e.ownerDocument.defaultView || window, o = new r.CustomEvent(t, n);
1045
- return e.dispatchEvent(o);
1046
- }
1047
- function Sn(e, t) {
1048
- const n = (r) => {
1049
- r.key === "Escape" && (r.isComposing || t?.(r));
1050
- };
1051
- return g(D(e), "keydown", n, { capture: !0 });
1052
- }
1053
- var w = {
1054
- layers: [],
1055
- branches: [],
1056
- count() {
1057
- return this.layers.length;
1058
- },
1059
- pointerBlockingLayers() {
1060
- return this.layers.filter((e) => e.pointerBlocking);
1061
- },
1062
- topMostPointerBlockingLayer() {
1063
- return [...this.pointerBlockingLayers()].slice(-1)[0];
1064
- },
1065
- hasPointerBlockingLayer() {
1066
- return this.pointerBlockingLayers().length > 0;
1067
- },
1068
- isBelowPointerBlockingLayer(e) {
1069
- const t = this.indexOf(e), n = this.topMostPointerBlockingLayer() ? this.indexOf(this.topMostPointerBlockingLayer()?.node) : -1;
1070
- return t < n;
1071
- },
1072
- isTopMost(e) {
1073
- return this.layers[this.count() - 1]?.node === e;
1074
- },
1075
- getNestedLayers(e) {
1076
- return Array.from(this.layers).slice(this.indexOf(e) + 1);
1077
- },
1078
- isInNestedLayer(e, t) {
1079
- return this.getNestedLayers(e).some((n) => V(n.node, t));
1080
- },
1081
- isInBranch(e) {
1082
- return Array.from(this.branches).some((t) => V(t, e));
1083
- },
1084
- add(e) {
1085
- const t = this.layers.push(e);
1086
- e.node.style.setProperty("--layer-index", `${t}`);
1087
- },
1088
- addBranch(e) {
1089
- this.branches.push(e);
1090
- },
1091
- remove(e) {
1092
- const t = this.indexOf(e);
1093
- t < 0 || (t < this.count() - 1 && this.getNestedLayers(e).forEach((r) => r.dismiss()), this.layers.splice(t, 1), e.style.removeProperty("--layer-index"));
1094
- },
1095
- removeBranch(e) {
1096
- const t = this.branches.indexOf(e);
1097
- t >= 0 && this.branches.splice(t, 1);
1098
- },
1099
- indexOf(e) {
1100
- return this.layers.findIndex((t) => t.node === e);
1101
- },
1102
- dismiss(e) {
1103
- this.layers[this.indexOf(e)]?.dismiss();
1104
- },
1105
- clear() {
1106
- this.remove(this.layers[0].node);
1107
- }
1108
- }, we;
1109
- function Ae() {
1110
- w.layers.forEach(({ node: e }) => {
1111
- e.style.pointerEvents = w.isBelowPointerBlockingLayer(e) ? "none" : "auto";
1112
- });
1113
- }
1114
- function In(e) {
1115
- e.style.pointerEvents = "";
1116
- }
1117
- function Nn(e, t) {
1118
- const n = D(e), r = [];
1119
- if (w.hasPointerBlockingLayer() && !n.body.hasAttribute("data-inert") && (we = document.body.style.pointerEvents, queueMicrotask(() => {
1120
- n.body.style.pointerEvents = "none", n.body.setAttribute("data-inert", "");
1121
- })), t) {
1122
- const o = Ut(t, (s) => {
1123
- r.push(jt(s, { pointerEvents: "auto" }));
1124
- });
1125
- r.push(o);
1126
- }
1127
- return () => {
1128
- w.hasPointerBlockingLayer() || (queueMicrotask(() => {
1129
- n.body.style.pointerEvents = we, n.body.removeAttribute("data-inert"), n.body.style.length === 0 && n.body.removeAttribute("style");
1130
- }), r.forEach((o) => o()));
1131
- };
1132
- }
1133
- function Dn(e, t) {
1134
- const { warnOnMissingNode: n = !0 } = t;
1135
- if (n && !e) {
1136
- Be("[@zag-js/dismissable] node is `null` or `undefined`");
1137
- return;
1138
- }
1139
- if (!e)
1140
- return;
1141
- const { onDismiss: r, pointerBlocking: o, exclude: s, debug: i } = t, a = { dismiss: r, node: e, pointerBlocking: o };
1142
- w.add(a), Ae();
1143
- function u(c) {
1144
- const d = B(c.detail.originalEvent);
1145
- w.isBelowPointerBlockingLayer(e) || w.isInBranch(d) || (t.onPointerDownOutside?.(c), t.onInteractOutside?.(c), !c.defaultPrevented && (i && console.log("onPointerDownOutside:", c.detail.originalEvent), r?.()));
1146
- }
1147
- function l(c) {
1148
- const d = B(c.detail.originalEvent);
1149
- w.isInBranch(d) || (t.onFocusOutside?.(c), t.onInteractOutside?.(c), !c.defaultPrevented && (i && console.log("onFocusOutside:", c.detail.originalEvent), r?.()));
1150
- }
1151
- function p(c) {
1152
- w.isTopMost(e) && (t.onEscapeKeyDown?.(c), !c.defaultPrevented && r && (c.preventDefault(), r()));
1153
- }
1154
- function y(c) {
1155
- if (!e) return !1;
1156
- const d = typeof s == "function" ? s() : s, v = Array.isArray(d) ? d : [d], k = t.persistentElements?.map((L) => L()).filter(b);
1157
- return k && v.push(...k), v.some((L) => V(L, c)) || w.isInNestedLayer(e, c);
1158
- }
1159
- const f = [
1160
- o ? Nn(e, t.persistentElements) : void 0,
1161
- Sn(e, p),
1162
- Ln(e, { exclude: y, onFocusOutside: l, onPointerDownOutside: u, defer: t.defer })
1163
- ];
1164
- return () => {
1165
- w.remove(e), Ae(), In(e), f.forEach((c) => c?.());
1166
- };
1167
- }
1168
- function co(e, t) {
1169
- const { defer: n } = t, r = n ? T : (s) => s(), o = [];
1170
- return o.push(
1171
- r(() => {
1172
- const s = Me(e) ? e() : e;
1173
- o.push(Dn(s, t));
1174
- })
1175
- ), () => {
1176
- o.forEach((s) => s?.());
1177
- };
1178
- }
1179
- function uo(e, t = {}) {
1180
- const { defer: n } = t, r = n ? T : (s) => s(), o = [];
1181
- return o.push(
1182
- r(() => {
1183
- const s = Me(e) ? e() : e;
1184
- if (!s) {
1185
- Be("[@zag-js/dismissable] branch node is `null` or `undefined`");
1186
- return;
1187
- }
1188
- w.addBranch(s), o.push(() => {
1189
- w.removeBranch(s);
1190
- });
1191
- })
1192
- ), () => {
1193
- o.forEach((s) => s?.());
1194
- };
1195
- }
1196
- export {
1197
- ct as $,
1198
- Zn as A,
1199
- mt as B,
1200
- Jn as C,
1201
- ur as D,
1202
- B as E,
1203
- A as F,
1204
- D as G,
1205
- Un as H,
1206
- oe as I,
1207
- yr as J,
1208
- G as K,
1209
- Tr as L,
1210
- Ir as M,
1211
- kr as N,
1212
- gr as O,
1213
- sr as P,
1214
- jn as Q,
1215
- tr as R,
1216
- Ge as S,
1217
- eo as T,
1218
- Ar as U,
1219
- wr as V,
1220
- g as W,
1221
- or as X,
1222
- qn as Y,
1223
- $n as Z,
1224
- Wn as _,
1225
- rr as a,
1226
- Gr as a$,
1227
- Le as a0,
1228
- no as a1,
1229
- Pr as a2,
1230
- xr as a3,
1231
- Vn as a4,
1232
- V as a5,
1233
- hn as a6,
1234
- Nr as a7,
1235
- Mr as a8,
1236
- uo as a9,
1237
- Yn as aA,
1238
- zn as aB,
1239
- dr as aC,
1240
- yt as aD,
1241
- ir as aE,
1242
- Be as aF,
1243
- Ht as aG,
1244
- Xt as aH,
1245
- Ln as aI,
1246
- Te as aJ,
1247
- ee as aK,
1248
- Gt as aL,
1249
- ro as aM,
1250
- Br as aN,
1251
- Rr as aO,
1252
- Yr as aP,
1253
- Xr as aQ,
1254
- ar as aR,
1255
- Kr as aS,
1256
- $r as aT,
1257
- Vr as aU,
1258
- Lr as aV,
1259
- Rn as aW,
1260
- Ur as aX,
1261
- qr as aY,
1262
- _r as aZ,
1263
- Wr as a_,
1264
- On as aa,
1265
- Jr as ab,
1266
- to as ac,
1267
- U as ad,
1268
- kt as ae,
1269
- he as af,
1270
- Qn as ag,
1271
- ke as ah,
1272
- F as ai,
1273
- Je as aj,
1274
- mr as ak,
1275
- jt as al,
1276
- re as am,
1277
- Pt as an,
1278
- pr as ao,
1279
- hr as ap,
1280
- Vt as aq,
1281
- ln as ar,
1282
- Hr as as,
1283
- Cr as at,
1284
- Fr as au,
1285
- fn as av,
1286
- jr as aw,
1287
- tn as ax,
1288
- Mt as ay,
1289
- cr as az,
1290
- Z as b,
1291
- zr as b0,
1292
- Zr as b1,
1293
- K as b2,
1294
- ao as b3,
1295
- vn as b4,
1296
- io as b5,
1297
- Dr as b6,
1298
- Me as b7,
1299
- vr as b8,
1300
- Or as b9,
1301
- Sr as ba,
1302
- Er as bb,
1303
- oo as c,
1304
- Mn as d,
1305
- Bn as e,
1306
- dn as f,
1307
- er as g,
1308
- Gn as h,
1309
- Kn as i,
1310
- ce as j,
1311
- Cn as k,
1312
- b as l,
1313
- _n as m,
1314
- Hn as n,
1315
- nr as o,
1316
- lr as p,
1317
- Xn as q,
1318
- T as r,
1319
- so as s,
1320
- co as t,
1321
- ft as u,
1322
- Fn as v,
1323
- br as w,
1324
- Qr as x,
1325
- fr as y,
1326
- bn as z
1327
- };
1328
- //# sourceMappingURL=index-YtNA0Ueo.js.map