@televet/kibble-ui 4.0.0-beta.64 → 4.0.0-beta.65

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 (376) hide show
  1. package/dist/chunks/{alert.types-C1GVh2D6.js → alert.types-BvnpOwve.js} +2 -2
  2. package/dist/chunks/{alert.types-C1GVh2D6.js.map → alert.types-BvnpOwve.js.map} +1 -1
  3. package/dist/chunks/{alert.types-BdMaGbwu.js → alert.types-Dth5h5qO.js} +3 -3
  4. package/dist/chunks/{alert.types-BdMaGbwu.js.map → alert.types-Dth5h5qO.js.map} +1 -1
  5. package/dist/chunks/{avatar.component-BKp_pbGA.js → avatar.component-BPCJZRyT.js} +14 -14
  6. package/dist/chunks/{avatar.component-BKp_pbGA.js.map → avatar.component-BPCJZRyT.js.map} +1 -1
  7. package/dist/chunks/avatar.component-y7gTa1dV.js +2 -0
  8. package/dist/chunks/{avatar.component-BRjxOsjQ.js.map → avatar.component-y7gTa1dV.js.map} +1 -1
  9. package/dist/chunks/{avatarGroup.component-DIfCXmiw.js → avatarGroup.component-BnRXVOIV.js} +2 -2
  10. package/dist/chunks/{avatarGroup.component-DIfCXmiw.js.map → avatarGroup.component-BnRXVOIV.js.map} +1 -1
  11. package/dist/chunks/{avatarGroup.component-B3cA6J2Z.js → avatarGroup.component-Mfl8jvgp.js} +2 -2
  12. package/dist/chunks/{avatarGroup.component-B3cA6J2Z.js.map → avatarGroup.component-Mfl8jvgp.js.map} +1 -1
  13. package/dist/chunks/{buttonGroup.component-DuNSCwga.js → buttonGroup.component-6ZBOJbfR.js} +2 -2
  14. package/dist/chunks/{buttonGroup.component-DuNSCwga.js.map → buttonGroup.component-6ZBOJbfR.js.map} +1 -1
  15. package/dist/chunks/{buttonGroup.component-CLTkO5BF.js → buttonGroup.component-DQfB4Nj3.js} +2 -2
  16. package/dist/chunks/{buttonGroup.component-CLTkO5BF.js.map → buttonGroup.component-DQfB4Nj3.js.map} +1 -1
  17. package/dist/chunks/{characterCounter.component-C2e2l-WJ.js → characterCounter.component-4T8NHb11.js} +2 -2
  18. package/dist/chunks/{characterCounter.component-C2e2l-WJ.js.map → characterCounter.component-4T8NHb11.js.map} +1 -1
  19. package/dist/chunks/{characterCounter.component-BEg4MItI.js → characterCounter.component-Cs0y0DOj.js} +3 -3
  20. package/dist/chunks/{characterCounter.component-BEg4MItI.js.map → characterCounter.component-Cs0y0DOj.js.map} +1 -1
  21. package/dist/chunks/checkbox.component-CFuJaYmY.js +2 -0
  22. package/dist/chunks/{checkbox.component-CYpG_LI3.js.map → checkbox.component-CFuJaYmY.js.map} +1 -1
  23. package/dist/chunks/{checkbox.component-Dxvk8exv.js → checkbox.component-DqlWmIyY.js} +10 -10
  24. package/dist/chunks/{checkbox.component-Dxvk8exv.js.map → checkbox.component-DqlWmIyY.js.map} +1 -1
  25. package/dist/chunks/{checkbox.records-BtLBaHBy.js → checkbox.records-08YIiUZO.js} +12 -12
  26. package/dist/chunks/{checkbox.records-BtLBaHBy.js.map → checkbox.records-08YIiUZO.js.map} +1 -1
  27. package/dist/chunks/checkbox.records-B7refmmT.js +2 -0
  28. package/dist/chunks/{checkbox.records-wbkLltak.js.map → checkbox.records-B7refmmT.js.map} +1 -1
  29. package/dist/chunks/{checkboxGroup.component-CCY-tnlz.js → checkboxGroup.component-DBqDJvPC.js} +3 -3
  30. package/dist/chunks/{checkboxGroup.component-CCY-tnlz.js.map → checkboxGroup.component-DBqDJvPC.js.map} +1 -1
  31. package/dist/chunks/{checkboxGroup.component-DXuYKyDD.js → checkboxGroup.component-DaxmsqdZ.js} +2 -2
  32. package/dist/chunks/{checkboxGroup.component-DXuYKyDD.js.map → checkboxGroup.component-DaxmsqdZ.js.map} +1 -1
  33. package/dist/chunks/{config-B1FINd7s.js → config-DlTdf-Yt.js} +3 -3
  34. package/dist/chunks/{config-B1FINd7s.js.map → config-DlTdf-Yt.js.map} +1 -1
  35. package/dist/chunks/{conversationCard.component-DvUZFdws.js → conversationCard.component-Bg1Q9FdN.js} +18 -17
  36. package/dist/chunks/{conversationCard.component-DvUZFdws.js.map → conversationCard.component-Bg1Q9FdN.js.map} +1 -1
  37. package/dist/chunks/conversationCard.component-CBrw3VnT.js +2 -0
  38. package/dist/chunks/{conversationCard.component-BbV9kzvn.js.map → conversationCard.component-CBrw3VnT.js.map} +1 -1
  39. package/dist/chunks/{datePicker.component-CfULnyaz.js → datePicker.component-DfQNebKg.js} +8 -8
  40. package/dist/chunks/{datePicker.component-CfULnyaz.js.map → datePicker.component-DfQNebKg.js.map} +1 -1
  41. package/dist/chunks/datePicker.component-u52NQcza.js +15 -0
  42. package/dist/chunks/{datePicker.component-CaX-nDYU.js.map → datePicker.component-u52NQcza.js.map} +1 -1
  43. package/dist/chunks/dialog-trigger-B5NK0lr-.js +2 -0
  44. package/dist/chunks/{dialog-trigger-BCeZGpGO.js.map → dialog-trigger-B5NK0lr-.js.map} +1 -1
  45. package/dist/chunks/{dialog-trigger-D2uDgMJr.js → dialog-trigger-BPlPzPU-.js} +9 -9
  46. package/dist/chunks/{dialog-trigger-D2uDgMJr.js.map → dialog-trigger-BPlPzPU-.js.map} +1 -1
  47. package/dist/chunks/{heading.component-CUa8MRJt.js → heading.component-BXcyhAEU.js} +2 -2
  48. package/dist/chunks/{heading.component-CUa8MRJt.js.map → heading.component-BXcyhAEU.js.map} +1 -1
  49. package/dist/chunks/{heading.component-Cuqs0DsG.js → heading.component-ZD_UVarx.js} +2 -2
  50. package/dist/chunks/{heading.component-Cuqs0DsG.js.map → heading.component-ZD_UVarx.js.map} +1 -1
  51. package/dist/chunks/{index-DZGYG5M4.js → index-BBZxmcrY.js} +2 -2
  52. package/dist/chunks/{index-DZGYG5M4.js.map → index-BBZxmcrY.js.map} +1 -1
  53. package/dist/chunks/index-BDnnTdaJ.js +2 -0
  54. package/dist/chunks/{index-CEYJbpt4.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-CBh9RZVL.js → index-BNYygzo-.js} +18 -17
  58. package/dist/chunks/{index-CBh9RZVL.js.map → index-BNYygzo-.js.map} +1 -1
  59. package/dist/chunks/index-BYf7SZUC.js +2 -0
  60. package/dist/chunks/{index-BfD9Ne2e.js.map → index-BYf7SZUC.js.map} +1 -1
  61. package/dist/chunks/{index-Cuu1x05z.js → index-C2kxTsiE.js} +17 -16
  62. package/dist/chunks/{index-Cuu1x05z.js.map → index-C2kxTsiE.js.map} +1 -1
  63. package/dist/chunks/index-COoMV9Mh.js +2 -0
  64. package/dist/chunks/{index-hGlTuPbK.js.map → index-COoMV9Mh.js.map} +1 -1
  65. package/dist/chunks/index-CYk-7wwG.js +1018 -0
  66. package/dist/chunks/index-CYk-7wwG.js.map +1 -0
  67. package/dist/chunks/index-CZ42b9rT.js +3 -0
  68. package/dist/chunks/index-CZ42b9rT.js.map +1 -0
  69. package/dist/chunks/index-CZz7hHWb.js +2 -0
  70. package/dist/chunks/{index-B4fjIWcA.js.map → index-CZz7hHWb.js.map} +1 -1
  71. package/dist/chunks/{index-Cqwkg1hU.js → index-CjNAJEk5.js} +106 -105
  72. package/dist/chunks/{index-Cqwkg1hU.js.map → index-CjNAJEk5.js.map} +1 -1
  73. package/dist/chunks/{index-CZPHIn6T.js → index-Co91SHhW.js} +3 -3
  74. package/dist/chunks/{index-CZPHIn6T.js.map → index-Co91SHhW.js.map} +1 -1
  75. package/dist/chunks/{index-D5Dscg8T.js → index-D9DU-5GF.js} +49 -48
  76. package/dist/chunks/{index-D5Dscg8T.js.map → index-D9DU-5GF.js.map} +1 -1
  77. package/dist/chunks/{index-f4Ba8Pq7.js → index-DUHFrLMI.js} +15 -15
  78. package/dist/chunks/{index-f4Ba8Pq7.js.map → index-DUHFrLMI.js.map} +1 -1
  79. package/dist/chunks/{index-Dx94WMw1.js → index-DcJZ8q0f.js} +44 -43
  80. package/dist/chunks/{index-Dx94WMw1.js.map → index-DcJZ8q0f.js.map} +1 -1
  81. package/dist/chunks/index-Dyxhds_1.js +2 -0
  82. package/dist/chunks/{index-5cRW642o.js.map → index-Dyxhds_1.js.map} +1 -1
  83. package/dist/chunks/{index-DMSZTX7A.js → index-MDMqrELk.js} +9 -9
  84. package/dist/chunks/{index-DMSZTX7A.js.map → index-MDMqrELk.js.map} +1 -1
  85. package/dist/chunks/index-MlhL0PDC.js +2 -0
  86. package/dist/chunks/{index-CFnNmQf0.js.map → index-MlhL0PDC.js.map} +1 -1
  87. package/dist/chunks/{index-Dq91nN6-.js → index-S1uNQPZj.js} +3 -3
  88. package/dist/chunks/{index-Dq91nN6-.js.map → index-S1uNQPZj.js.map} +1 -1
  89. package/dist/chunks/index-UWtj4ULm.js +8 -0
  90. package/dist/chunks/{index-CedYIQt5.js.map → index-UWtj4ULm.js.map} +1 -1
  91. package/dist/chunks/index-ZaGEDS_0.js +2 -0
  92. package/dist/chunks/{index-BmcSWiFh.js.map → index-ZaGEDS_0.js.map} +1 -1
  93. package/dist/chunks/index-j7W9Hyzx.js +322 -0
  94. package/dist/chunks/index-j7W9Hyzx.js.map +1 -0
  95. package/dist/chunks/{logo.types-CXQsathd.js → logo.types-By8TqyNf.js} +2 -2
  96. package/dist/chunks/{logo.types-CXQsathd.js.map → logo.types-By8TqyNf.js.map} +1 -1
  97. package/dist/chunks/menu.component-CiZzHc2D.js +2 -0
  98. package/dist/chunks/{menu.component-DzEdcGnQ.js.map → menu.component-CiZzHc2D.js.map} +1 -1
  99. package/dist/chunks/{menu.component-DuEKWjJe.js → menu.component-D4gknsq1.js} +26 -26
  100. package/dist/chunks/{menu.component-DuEKWjJe.js.map → menu.component-D4gknsq1.js.map} +1 -1
  101. package/dist/chunks/modal.types-9-Bz6ybC.js +2 -0
  102. package/dist/chunks/{modal.types-SzYLypgs.js.map → modal.types-9-Bz6ybC.js.map} +1 -1
  103. package/dist/chunks/{modal.types-Cg8WeIe5.js → modal.types-BV8Eand2.js} +5 -5
  104. package/dist/chunks/{modal.types-Cg8WeIe5.js.map → modal.types-BV8Eand2.js.map} +1 -1
  105. package/dist/chunks/{notificationCounter.component-DMr4Mlm9.js → notificationCounter.component-Bei8mHSZ.js} +2 -2
  106. package/dist/chunks/{notificationCounter.component-DMr4Mlm9.js.map → notificationCounter.component-Bei8mHSZ.js.map} +1 -1
  107. package/dist/chunks/pinInput.types-B-RchRm_.js +2 -0
  108. package/dist/chunks/{pinInput.types-D73AXb6j.js.map → pinInput.types-B-RchRm_.js.map} +1 -1
  109. package/dist/chunks/{pinInput.types-DzJ8G-cv.js → pinInput.types-U7Tfj5It.js} +8 -8
  110. package/dist/chunks/{pinInput.types-DzJ8G-cv.js.map → pinInput.types-U7Tfj5It.js.map} +1 -1
  111. package/dist/chunks/popover-80QH8HEJ.js +2 -0
  112. package/dist/chunks/{popover-DPEovmxh.js.map → popover-80QH8HEJ.js.map} +1 -1
  113. package/dist/chunks/{popover-D0QoPsrG.js → popover-B9rNOU0g.js} +26 -26
  114. package/dist/chunks/{popover-D0QoPsrG.js.map → popover-B9rNOU0g.js.map} +1 -1
  115. package/dist/chunks/{popover-root-provider-Dt02njg5.js → popover-root-provider-CeLLpesI.js} +8 -8
  116. package/dist/chunks/{popover-root-provider-Dt02njg5.js.map → popover-root-provider-CeLLpesI.js.map} +1 -1
  117. package/dist/chunks/popover-root-provider-DAMDDAHQ.js +2 -0
  118. package/dist/chunks/{popover-root-provider-BYJE5I-P.js.map → popover-root-provider-DAMDDAHQ.js.map} +1 -1
  119. package/dist/chunks/popover.component-A8In7d2B.js +2 -0
  120. package/dist/chunks/popover.component-A8In7d2B.js.map +1 -0
  121. package/dist/chunks/popover.component-BR8W3Jb8.js +322 -0
  122. package/dist/chunks/popover.component-BR8W3Jb8.js.map +1 -0
  123. package/dist/chunks/popover.recipe--gMRcQTS.js +479 -0
  124. package/dist/chunks/popover.recipe--gMRcQTS.js.map +1 -0
  125. package/dist/chunks/popover.recipe-DLeyokHo.js +2 -0
  126. package/dist/chunks/popover.recipe-DLeyokHo.js.map +1 -0
  127. package/dist/chunks/{radio.records-CzNYznSb.js → radio.records-D7VFHW-s.js} +16 -16
  128. package/dist/chunks/{radio.records-CzNYznSb.js.map → radio.records-D7VFHW-s.js.map} +1 -1
  129. package/dist/chunks/radio.records-DLffZyeq.js +2 -0
  130. package/dist/chunks/{radio.records-CEgwvLIL.js.map → radio.records-DLffZyeq.js.map} +1 -1
  131. package/dist/chunks/radioGroup.component-CZwrCppd.js +2 -0
  132. package/dist/chunks/{radioGroup.component-6Sb4sfkk.js.map → radioGroup.component-CZwrCppd.js.map} +1 -1
  133. package/dist/chunks/{radioGroup.component-Dy-hsu8-.js → radioGroup.component-DVsMiHFI.js} +11 -11
  134. package/dist/chunks/{radioGroup.component-Dy-hsu8-.js.map → radioGroup.component-DVsMiHFI.js.map} +1 -1
  135. package/dist/chunks/{ratingDots.component-k9LJL9Eu.js → ratingDots.component-1U-hoEpC.js} +4 -4
  136. package/dist/chunks/{ratingDots.component-k9LJL9Eu.js.map → ratingDots.component-1U-hoEpC.js.map} +1 -1
  137. package/dist/chunks/{ratingDots.component-DMe19wON.js → ratingDots.component-qbroWQhZ.js} +2 -2
  138. package/dist/chunks/{ratingDots.component-DMe19wON.js.map → ratingDots.component-qbroWQhZ.js.map} +1 -1
  139. package/dist/chunks/render-strategy-BmWbSgqh.js +2 -0
  140. package/dist/chunks/{render-strategy-CdSSbgPU.js.map → render-strategy-BmWbSgqh.js.map} +1 -1
  141. package/dist/chunks/{render-strategy-ql9Qx5Cz.js → render-strategy-C8hwN3bm.js} +2 -2
  142. package/dist/chunks/{render-strategy-ql9Qx5Cz.js.map → render-strategy-C8hwN3bm.js.map} +1 -1
  143. package/dist/chunks/{select.component-InxmAsNH.js → select.component-5vAzdrZa.js} +44 -44
  144. package/dist/chunks/{select.component-InxmAsNH.js.map → select.component-5vAzdrZa.js.map} +1 -1
  145. package/dist/chunks/select.component-C_Fs6Xeq.js +2 -0
  146. package/dist/chunks/{select.component-CuiKCzV4.js.map → select.component-C_Fs6Xeq.js.map} +1 -1
  147. package/dist/chunks/{sortableList.component-B9CPjKG7.js → sortableList.component-BX3EvpRM.js} +3 -3
  148. package/dist/chunks/{sortableList.component-B9CPjKG7.js.map → sortableList.component-BX3EvpRM.js.map} +1 -1
  149. package/dist/chunks/{sortableList.component-CaPRUdXt.js → sortableList.component-B_O-YB3I.js} +3 -3
  150. package/dist/chunks/{sortableList.component-CaPRUdXt.js.map → sortableList.component-B_O-YB3I.js.map} +1 -1
  151. package/dist/chunks/{spinner.component-CWdZsQ1n.js → spinner.component-CzhcJOwX.js} +2 -2
  152. package/dist/chunks/{spinner.component-CWdZsQ1n.js.map → spinner.component-CzhcJOwX.js.map} +1 -1
  153. package/dist/chunks/{spinner.component-DWZ_4aTj.js → spinner.component-lHj69hIF.js} +3 -3
  154. package/dist/chunks/{spinner.component-DWZ_4aTj.js.map → spinner.component-lHj69hIF.js.map} +1 -1
  155. package/dist/chunks/{styledAvatar.types-D4XrEFve.js → styledAvatar.types-B9SHiNfg.js} +2 -2
  156. package/dist/chunks/{styledAvatar.types-D4XrEFve.js.map → styledAvatar.types-B9SHiNfg.js.map} +1 -1
  157. package/dist/chunks/{styledAvatar.types-BXftd-Wf.js → styledAvatar.types-BvHm6hKS.js} +2 -2
  158. package/dist/chunks/{styledAvatar.types-BXftd-Wf.js.map → styledAvatar.types-BvHm6hKS.js.map} +1 -1
  159. package/dist/chunks/{swatch.types-B8OSJZ-a.js → swatch.types-DbgA3RWc.js} +2 -2
  160. package/dist/chunks/{swatch.types-B8OSJZ-a.js.map → swatch.types-DbgA3RWc.js.map} +1 -1
  161. package/dist/chunks/switch.component-B3Gfgft9.js +2 -0
  162. package/dist/chunks/{switch.component-Ct8hEoT2.js.map → switch.component-B3Gfgft9.js.map} +1 -1
  163. package/dist/chunks/{switch.component-vDh8eC0O.js → switch.component-DjOGsCIQ.js} +11 -11
  164. package/dist/chunks/{switch.component-vDh8eC0O.js.map → switch.component-DjOGsCIQ.js.map} +1 -1
  165. package/dist/chunks/{tabs.component-CuCzoee6.js → tabs.component-Ca9jVGv0.js} +48 -48
  166. package/dist/chunks/{tabs.component-CuCzoee6.js.map → tabs.component-Ca9jVGv0.js.map} +1 -1
  167. package/dist/chunks/tabs.component-pl0kO5_M.js +2 -0
  168. package/dist/chunks/{tabs.component-DDmnq9Yj.js.map → tabs.component-pl0kO5_M.js.map} +1 -1
  169. package/dist/chunks/{tagBlock.component-Cvlqt0tt.js → tagBlock.component-C2DAQrQE.js} +2 -2
  170. package/dist/chunks/{tagBlock.component-Cvlqt0tt.js.map → tagBlock.component-C2DAQrQE.js.map} +1 -1
  171. package/dist/chunks/{tagBlock.component-LJYc9GiQ.js → tagBlock.component-CnPbyaGH.js} +5 -5
  172. package/dist/chunks/{tagBlock.component-LJYc9GiQ.js.map → tagBlock.component-CnPbyaGH.js.map} +1 -1
  173. package/dist/chunks/text.component-CnnBhB3c.js +2 -0
  174. package/dist/chunks/text.component-CnnBhB3c.js.map +1 -0
  175. package/dist/chunks/text.component-Cpruo7MB.js +12 -0
  176. package/dist/chunks/text.component-Cpruo7MB.js.map +1 -0
  177. package/dist/chunks/textInput.component-D-galjwy.js +2 -0
  178. package/dist/chunks/{textInput.component-HHNykQ9Q.js.map → textInput.component-D-galjwy.js.map} +1 -1
  179. package/dist/chunks/{textInput.component--WvGHJxt.js → textInput.component-DXtEgbkr.js} +12 -12
  180. package/dist/chunks/{textInput.component--WvGHJxt.js.map → textInput.component-DXtEgbkr.js.map} +1 -1
  181. package/dist/chunks/textarea.component-DmxMuMCU.js +2 -0
  182. package/dist/chunks/{textarea.component-FFs6Uln9.js.map → textarea.component-DmxMuMCU.js.map} +1 -1
  183. package/dist/chunks/{textarea.component--AjIMSc1.js → textarea.component-Do0zHf-1.js} +7 -7
  184. package/dist/chunks/{textarea.component--AjIMSc1.js.map → textarea.component-Do0zHf-1.js.map} +1 -1
  185. package/dist/chunks/theme.provider-CIJGn9Kh.js +26 -0
  186. package/dist/chunks/theme.provider-CIJGn9Kh.js.map +1 -0
  187. package/dist/chunks/{theme.provider-C5Ltz2zj.js → theme.provider-Dj4pZ815.js} +1699 -1830
  188. package/dist/chunks/theme.provider-Dj4pZ815.js.map +1 -0
  189. package/dist/chunks/{timePicker.component-BxmUXWNg.js → timePicker.component-CophNE3d.js} +2 -2
  190. package/dist/chunks/{timePicker.component-BxmUXWNg.js.map → timePicker.component-CophNE3d.js.map} +1 -1
  191. package/dist/chunks/{timePicker.component-Bah1y2Pc.js → timePicker.component-DTs3MjOx.js} +4 -4
  192. package/dist/chunks/{timePicker.component-Bah1y2Pc.js.map → timePicker.component-DTs3MjOx.js.map} +1 -1
  193. package/dist/chunks/{timeRange.component-C0ZHjvEa.js → timeRange.component-C5dt8sZn.js} +2 -2
  194. package/dist/chunks/{timeRange.component-C0ZHjvEa.js.map → timeRange.component-C5dt8sZn.js.map} +1 -1
  195. package/dist/chunks/{timeRange.component-BhdUqy0y.js → timeRange.component-C5wSyUiZ.js} +2 -2
  196. package/dist/chunks/{timeRange.component-BhdUqy0y.js.map → timeRange.component-C5wSyUiZ.js.map} +1 -1
  197. package/dist/chunks/timestamp.component-BPU8bf7p.js +54 -0
  198. package/dist/chunks/{timestamp.component-BOksAchA.js.map → timestamp.component-BPU8bf7p.js.map} +1 -1
  199. package/dist/chunks/timestamp.component-rTLrzBPA.js +2 -0
  200. package/dist/chunks/{timestamp.component-DLh53lam.js.map → timestamp.component-rTLrzBPA.js.map} +1 -1
  201. package/dist/chunks/{toaster.records-Cf8bpHo8.js → toaster.records-BGfpUOVt.js} +22 -21
  202. package/dist/chunks/{toaster.records-Cf8bpHo8.js.map → toaster.records-BGfpUOVt.js.map} +1 -1
  203. package/dist/chunks/toaster.records-BJo0j1IZ.js +2 -0
  204. package/dist/chunks/{toaster.records-CGym-iT-.js.map → toaster.records-BJo0j1IZ.js.map} +1 -1
  205. package/dist/chunks/tooltip.component-CwrXAVEq.js +2 -0
  206. package/dist/chunks/tooltip.component-CwrXAVEq.js.map +1 -0
  207. package/dist/chunks/tooltip.component-DgOzrNG3.js +758 -0
  208. package/dist/chunks/tooltip.component-DgOzrNG3.js.map +1 -0
  209. package/dist/chunks/{typography.records-BeoK0Uyj.js → typography.records-C6G_65b4.js} +2 -2
  210. package/dist/chunks/{typography.records-BeoK0Uyj.js.map → typography.records-C6G_65b4.js.map} +1 -1
  211. package/dist/chunks/{typography.records-Xg59taw9.js → typography.records-jnjWfTLS.js} +2 -2
  212. package/dist/chunks/{typography.records-Xg59taw9.js.map → typography.records-jnjWfTLS.js.map} +1 -1
  213. package/dist/chunks/use-field-context--wBJQY1R.js +2 -0
  214. package/dist/chunks/{use-field-context-xBX4EpFz.js.map → use-field-context--wBJQY1R.js.map} +1 -1
  215. package/dist/chunks/{use-field-context-C4IwmN39.js → use-field-context-B_G7Yziz.js} +2 -2
  216. package/dist/chunks/{use-field-context-C4IwmN39.js.map → use-field-context-B_G7Yziz.js.map} +1 -1
  217. package/dist/chunks/use-locale-context-BdqHZ8L8.js +22 -0
  218. package/dist/chunks/use-locale-context-BdqHZ8L8.js.map +1 -0
  219. package/dist/chunks/{portal-D2KZrSzZ.js → use-locale-context-D-agiW5E.js} +242 -242
  220. package/dist/chunks/use-locale-context-D-agiW5E.js.map +1 -0
  221. package/dist/chunks/{withFormControl-3s6IRbl0.js → withFormControl-BDuV97Vb.js} +49 -49
  222. package/dist/chunks/{withFormControl-3s6IRbl0.js.map → withFormControl-BDuV97Vb.js.map} +1 -1
  223. package/dist/chunks/withFormControl-DpytztWF.js +2 -0
  224. package/dist/chunks/{withFormControl-DhWavZor.js.map → withFormControl-DpytztWF.js.map} +1 -1
  225. package/dist/chunks/withTruncation-DPbMF-jg.js +2 -0
  226. package/dist/chunks/withTruncation-DPbMF-jg.js.map +1 -0
  227. package/dist/chunks/withTruncation-DoQriKuH.js +67 -0
  228. package/dist/chunks/withTruncation-DoQriKuH.js.map +1 -0
  229. package/dist/chunks/{wrap-CYgSj8wY.js → wrap-B8tBNeBY.js} +2 -2
  230. package/dist/chunks/{wrap-CYgSj8wY.js.map → wrap-B8tBNeBY.js.map} +1 -1
  231. package/dist/cjs/chakra/index.cjs +1 -1
  232. package/dist/cjs/chakra/index.cjs.map +1 -1
  233. package/dist/cjs/components/Alert/index.cjs +1 -1
  234. package/dist/cjs/components/Avatar/index.cjs +1 -1
  235. package/dist/cjs/components/AvatarGroup/index.cjs +1 -1
  236. package/dist/cjs/components/ButtonGroup/index.cjs +1 -1
  237. package/dist/cjs/components/CharacterCounter/index.cjs +1 -1
  238. package/dist/cjs/components/Checkbox/index.cjs +1 -1
  239. package/dist/cjs/components/CheckboxGroup/index.cjs +1 -1
  240. package/dist/cjs/components/ConversationCard/index.cjs +1 -1
  241. package/dist/cjs/components/DatePicker/index.cjs +1 -1
  242. package/dist/cjs/components/Heading/index.cjs +1 -1
  243. package/dist/cjs/components/Menu/index.cjs +1 -1
  244. package/dist/cjs/components/Modal/index.cjs +1 -1
  245. package/dist/cjs/components/PinInput/index.cjs +1 -1
  246. package/dist/cjs/components/Popover/index.cjs +1 -1
  247. package/dist/cjs/components/RadioGroup/index.cjs +1 -1
  248. package/dist/cjs/components/RatingDots/index.cjs +1 -1
  249. package/dist/cjs/components/Select/index.cjs +1 -1
  250. package/dist/cjs/components/SortableList/index.cjs +1 -1
  251. package/dist/cjs/components/Spinner/index.cjs +1 -1
  252. package/dist/cjs/components/StyledAvatar/index.cjs +1 -1
  253. package/dist/cjs/components/Switch/index.cjs +1 -1
  254. package/dist/cjs/components/Tabs/index.cjs +1 -1
  255. package/dist/cjs/components/TagBlock/index.cjs +1 -1
  256. package/dist/cjs/components/Text/index.cjs +1 -1
  257. package/dist/cjs/components/TextInput/index.cjs +1 -1
  258. package/dist/cjs/components/Textarea/index.cjs +1 -1
  259. package/dist/cjs/components/TimePicker/index.cjs +1 -1
  260. package/dist/cjs/components/TimeRange/index.cjs +1 -1
  261. package/dist/cjs/components/Timestamp/index.cjs +1 -1
  262. package/dist/cjs/components/Toast/index.cjs +1 -1
  263. package/dist/cjs/components/Tooltip/index.cjs +1 -1
  264. package/dist/cjs/components/index.cjs +1 -1
  265. package/dist/cjs/index.cjs +1 -1
  266. package/dist/cjs/theme/index.cjs +1 -1
  267. package/dist/esm/chakra/index.js +69 -69
  268. package/dist/esm/components/Alert/index.js +1 -1
  269. package/dist/esm/components/Avatar/index.js +1 -1
  270. package/dist/esm/components/AvatarGroup/index.js +1 -1
  271. package/dist/esm/components/ButtonGroup/index.js +1 -1
  272. package/dist/esm/components/CharacterCounter/index.js +1 -1
  273. package/dist/esm/components/Checkbox/index.js +1 -1
  274. package/dist/esm/components/CheckboxGroup/index.js +1 -1
  275. package/dist/esm/components/ConversationCard/index.js +1 -1
  276. package/dist/esm/components/DatePicker/index.js +1 -1
  277. package/dist/esm/components/Heading/index.js +1 -1
  278. package/dist/esm/components/Logo/index.js +1 -1
  279. package/dist/esm/components/Menu/index.js +1 -1
  280. package/dist/esm/components/Modal/index.js +1 -1
  281. package/dist/esm/components/NotificationCounter/index.js +1 -1
  282. package/dist/esm/components/PinInput/index.js +1 -1
  283. package/dist/esm/components/Popover/index.js +1 -1
  284. package/dist/esm/components/RadioGroup/index.js +1 -1
  285. package/dist/esm/components/RatingDots/index.js +1 -1
  286. package/dist/esm/components/Select/index.js +1 -1
  287. package/dist/esm/components/SortableList/index.js +1 -1
  288. package/dist/esm/components/Spinner/index.js +1 -1
  289. package/dist/esm/components/StyledAvatar/index.js +1 -1
  290. package/dist/esm/components/Swatch/index.js +1 -1
  291. package/dist/esm/components/Switch/index.js +1 -1
  292. package/dist/esm/components/Tabs/index.js +1 -1
  293. package/dist/esm/components/TagBlock/index.js +1 -1
  294. package/dist/esm/components/Text/index.js +1 -1
  295. package/dist/esm/components/TextInput/index.js +1 -1
  296. package/dist/esm/components/Textarea/index.js +1 -1
  297. package/dist/esm/components/TimePicker/index.js +1 -1
  298. package/dist/esm/components/TimeRange/index.js +1 -1
  299. package/dist/esm/components/Timestamp/index.js +1 -1
  300. package/dist/esm/components/Toast/index.js +1 -1
  301. package/dist/esm/components/Tooltip/index.js +1 -1
  302. package/dist/esm/components/index.js +42 -41
  303. package/dist/esm/components/index.js.map +1 -1
  304. package/dist/esm/index.js +61 -60
  305. package/dist/esm/index.js.map +1 -1
  306. package/dist/esm/theme/index.js +1 -1
  307. package/dist/types/components/Menu/menu.recipe.d.ts +1 -1
  308. package/dist/types/components/Modal/modal.recipe.d.ts +1 -1
  309. package/dist/types/components/TimePicker/timePicker.recipe.d.ts +1 -1
  310. package/dist/types/components/Tooltip/tooltip.component.d.ts +6 -5
  311. package/dist/types/theme/tokens/shadows/shadows.config.d.ts +3 -3
  312. package/dist/types/theme/tokens/sizes/sizes.config.d.ts +3 -3
  313. package/dist/types/theme/tokens/zIndices/zIndices.config.d.ts +10 -10
  314. package/package.json +1 -1
  315. package/dist/chunks/avatar.component-BRjxOsjQ.js +0 -2
  316. package/dist/chunks/checkbox.component-CYpG_LI3.js +0 -2
  317. package/dist/chunks/checkbox.records-wbkLltak.js +0 -2
  318. package/dist/chunks/conversationCard.component-BbV9kzvn.js +0 -2
  319. package/dist/chunks/datePicker.component-CaX-nDYU.js +0 -15
  320. package/dist/chunks/dialog-trigger-BCeZGpGO.js +0 -2
  321. package/dist/chunks/index-5cRW642o.js +0 -2
  322. package/dist/chunks/index-B4fjIWcA.js +0 -2
  323. package/dist/chunks/index-BfD9Ne2e.js +0 -2
  324. package/dist/chunks/index-BlGAWSIX.js +0 -3
  325. package/dist/chunks/index-BlGAWSIX.js.map +0 -1
  326. package/dist/chunks/index-BmcSWiFh.js +0 -2
  327. package/dist/chunks/index-C323eOJV.js +0 -1328
  328. package/dist/chunks/index-C323eOJV.js.map +0 -1
  329. package/dist/chunks/index-CEYJbpt4.js +0 -2
  330. package/dist/chunks/index-CFnNmQf0.js +0 -2
  331. package/dist/chunks/index-CedYIQt5.js +0 -8
  332. package/dist/chunks/index-Fztcdoo_.js +0 -2
  333. package/dist/chunks/index-Fztcdoo_.js.map +0 -1
  334. package/dist/chunks/index-WyVSig7F.js +0 -70
  335. package/dist/chunks/index-WyVSig7F.js.map +0 -1
  336. package/dist/chunks/index-hGlTuPbK.js +0 -2
  337. package/dist/chunks/menu.component-DzEdcGnQ.js +0 -2
  338. package/dist/chunks/modal.context-DSKLfsJK.js +0 -12
  339. package/dist/chunks/modal.context-DSKLfsJK.js.map +0 -1
  340. package/dist/chunks/modal.context-EJ67QNzq.js +0 -2
  341. package/dist/chunks/modal.context-EJ67QNzq.js.map +0 -1
  342. package/dist/chunks/modal.types-SzYLypgs.js +0 -2
  343. package/dist/chunks/pinInput.types-D73AXb6j.js +0 -2
  344. package/dist/chunks/popover-DPEovmxh.js +0 -2
  345. package/dist/chunks/popover-root-provider-BYJE5I-P.js +0 -2
  346. package/dist/chunks/popover.component-BNH2Qyh6.js +0 -264
  347. package/dist/chunks/popover.component-BNH2Qyh6.js.map +0 -1
  348. package/dist/chunks/popover.component-DXcu1TE5.js +0 -2
  349. package/dist/chunks/popover.component-DXcu1TE5.js.map +0 -1
  350. package/dist/chunks/popover.recipe-BLsWPsAa.js +0 -124
  351. package/dist/chunks/popover.recipe-BLsWPsAa.js.map +0 -1
  352. package/dist/chunks/popover.recipe-av5Jdn1r.js +0 -2
  353. package/dist/chunks/popover.recipe-av5Jdn1r.js.map +0 -1
  354. package/dist/chunks/portal-D2KZrSzZ.js.map +0 -1
  355. package/dist/chunks/portal-TWtD47zg.js +0 -22
  356. package/dist/chunks/portal-TWtD47zg.js.map +0 -1
  357. package/dist/chunks/radio.records-CEgwvLIL.js +0 -2
  358. package/dist/chunks/radioGroup.component-6Sb4sfkk.js +0 -2
  359. package/dist/chunks/render-strategy-CdSSbgPU.js +0 -2
  360. package/dist/chunks/select.component-CuiKCzV4.js +0 -2
  361. package/dist/chunks/switch.component-Ct8hEoT2.js +0 -2
  362. package/dist/chunks/tabs.component-DDmnq9Yj.js +0 -2
  363. package/dist/chunks/textInput.component-HHNykQ9Q.js +0 -2
  364. package/dist/chunks/textarea.component-FFs6Uln9.js +0 -2
  365. package/dist/chunks/theme.provider-BEb3gD55.js +0 -26
  366. package/dist/chunks/theme.provider-BEb3gD55.js.map +0 -1
  367. package/dist/chunks/theme.provider-C5Ltz2zj.js.map +0 -1
  368. package/dist/chunks/timestamp.component-BOksAchA.js +0 -53
  369. package/dist/chunks/timestamp.component-DLh53lam.js +0 -2
  370. package/dist/chunks/toaster.records-CGym-iT-.js +0 -2
  371. package/dist/chunks/use-field-context-xBX4EpFz.js +0 -2
  372. package/dist/chunks/withFormControl-DhWavZor.js +0 -2
  373. package/dist/chunks/withTruncation-D8W737TN.js +0 -562
  374. package/dist/chunks/withTruncation-D8W737TN.js.map +0 -1
  375. package/dist/chunks/withTruncation-nuzHzFsq.js +0 -2
  376. package/dist/chunks/withTruncation-nuzHzFsq.js.map +0 -1
@@ -1,1328 +0,0 @@
1
- function On(e) {
2
- return e ? Array.isArray(e) ? e : [e] : [];
3
- }
4
- var Mn = (e) => Array.from(Array(e).keys()), Cn = (e) => e[0], Vn = (e) => e[e.length - 1], je = (e, t) => e.indexOf(t) !== -1, $e = (e, ...t) => e.concat(t), qe = (e, ...t) => e.filter((n) => !t.includes(n)), Bn = (e, t) => je(e, t) ? qe(e, t) : $e(e, t);
5
- function ke(e, t, n = {}) {
6
- const { step: r = 1, loop: o = !0 } = n, s = t + r, i = e.length, a = i - 1;
7
- return t === -1 ? r > 0 ? 0 : a : s < 0 ? o ? a : 0 : s >= i ? o ? 0 : t > i ? i : t : s;
8
- }
9
- function Rn(e, t, n = {}) {
10
- return e[ke(e, t, n)];
11
- }
12
- function _e(e, t, n = {}) {
13
- const { step: r = 1, loop: o = !0 } = n;
14
- return ke(e, t, { step: -r, loop: o });
15
- }
16
- function Kn(e, t, n = {}) {
17
- return e[_e(e, t, n)];
18
- }
19
- function We(e) {
20
- return e.reduce((t, n) => Array.isArray(n) ? t.concat(We(n)) : t.concat(n), []);
21
- }
22
- var le = (e) => e?.constructor.name === "Array", Ue = (e, t) => {
23
- if (e.length !== t.length) return !1;
24
- for (let n = 0; n < e.length; n++)
25
- if (!ne(e[n], t[n])) return !1;
26
- return !0;
27
- }, ne = (e, t) => {
28
- if (Object.is(e, t)) return !0;
29
- if (e == null && t != null || e != null && t == null) return !1;
30
- if (typeof e?.isEqual == "function" && typeof t?.isEqual == "function")
31
- return e.isEqual(t);
32
- if (typeof e == "function" && typeof t == "function")
33
- return e.toString() === t.toString();
34
- if (le(e) && le(t))
35
- return Ue(Array.from(e), Array.from(t));
36
- if (typeof e != "object" || typeof t != "object") return !1;
37
- const n = Object.keys(t ?? /* @__PURE__ */ Object.create(null)), r = n.length;
38
- for (let o = 0; o < r; o++)
39
- if (!Reflect.has(e, n[o])) return !1;
40
- for (let o = 0; o < r; o++) {
41
- const s = n[o];
42
- if (!ne(e[s], t[s])) return !1;
43
- }
44
- return !0;
45
- }, ze = (e) => Array.isArray(e), He = (e) => e != null && typeof e == "object", Fn = (e) => He(e) && !ze(e), jn = (e) => typeof e == "number" && !Number.isNaN(e), X = (e) => typeof e == "string", xe = (e) => typeof e == "function", $n = (e) => e == null, qn = (e, t) => Object.prototype.hasOwnProperty.call(e, t), Xe = Function.prototype.toString;
46
- Xe.call(Object);
47
- var _n = (e, ...t) => (typeof e == "function" ? e(...t) : e) ?? void 0, Wn = (e) => e(), Un = () => {
48
- }, J = (...e) => (...t) => {
49
- e.forEach(function(n) {
50
- n?.(...t);
51
- });
52
- }, zn = /* @__PURE__ */ (() => {
53
- let e = 0;
54
- return () => (e++, e.toString(36));
55
- })(), Ye = (e, t) => {
56
- try {
57
- return e();
58
- } catch (n) {
59
- return n instanceof Error && Error.captureStackTrace?.(n, Ye), t?.();
60
- }
61
- }, { floor: Q, abs: q, round: _, min: Ge, max: Ze, pow: Je, sign: Qe } = Math, R = (e) => Number.isNaN(e), I = (e) => R(e) ? 0 : e, Hn = (e, t) => (e % t + t) % t, Xn = (e, t) => (e % t + t) % t, et = (e, t, n) => e === 0 ? n : t[e - 1], tt = (e, t, n) => e === t.length - 1 ? n : t[e + 1], Yn = (e, t) => I(e) >= t, Gn = (e, t) => I(e) <= t, Zn = (e, t, n) => I(e) >= t && I(e) <= n, nt = (e, t, n) => _((I(e) - t) / n) * n + t, rt = (e, t, n) => Ge(Ze(I(e), t), n), Jn = (e, t, n) => (I(e) - t) / (n - t), Qn = (e, t, n, r) => rt(nt(e * (n - t) + t, t, r), t, n), j = (e, t) => {
62
- let n = e, r = t.toString(), o = r.indexOf("."), s = o >= 0 ? r.length - o : 0;
63
- if (s > 0) {
64
- let i = Je(10, s);
65
- n = _(n * i) / i;
66
- }
67
- return n;
68
- }, er = (e, t) => typeof t == "number" ? Q(e * t + 0.5) / t : _(e), ot = (e, t, n, r) => {
69
- t = Number(t), n = Number(n);
70
- let o = (e - (R(t) ? 0 : t)) % r, s = j(
71
- q(o) * 2 >= r ? e + Qe(o) * (r - q(o)) : e - o,
72
- r
73
- );
74
- return R(t) ? !R(n) && s > n && (s = t + Q(j((n - t) / r, r)) * r) : s < t ? s = t : !R(n) && s > n && (s = t + Q(j((n - t) / r, r)) * r), j(s, r);
75
- }, st = (e, t, n) => e[t] === n ? e : [...e.slice(0, t), n, ...e.slice(t + 1)];
76
- function Pe(e, t) {
77
- const n = et(e, t.values, t.min), r = tt(e, t.values, t.max);
78
- let o = t.values.slice();
79
- return function(i) {
80
- let a = ot(i, n, r, t.step);
81
- return o = st(o, e, i), o[e] = a, o;
82
- };
83
- }
84
- function tr(e, t) {
85
- const n = t.values[e] + t.step;
86
- return Pe(e, t)(n);
87
- }
88
- function nr(e, t) {
89
- const n = t.values[e] - t.step;
90
- return Pe(e, t)(n);
91
- }
92
- var rr = (e, t) => {
93
- let n = e.findIndex((s) => t - s < 0);
94
- if (n === 0) return n;
95
- if (n === -1) return e.length - 1;
96
- let r = e[n - 1], o = e[n];
97
- return q(r - t) < q(o - t) ? n - 1 : n;
98
- }, or = (e, t, n, r) => e.map((o, s) => ({
99
- min: s === 0 ? t : e[s - 1] + r,
100
- max: s === e.length - 1 ? n : e[s + 1] - r,
101
- value: o
102
- })), sr = (e, t) => {
103
- const [n, r] = e, [o, s] = t;
104
- return (i) => n === r || o === s ? o : o + (s - o) / (r - n) * (i - n);
105
- }, ir = (e, t = 0, n = 10) => {
106
- const r = Math.pow(n, t);
107
- return _(e * r) / r;
108
- }, fe = (e) => {
109
- if (!Number.isFinite(e)) return 0;
110
- let t = 1, n = 0;
111
- for (; Math.round(e * t) / t !== e; )
112
- t *= 10, n += 1;
113
- return n;
114
- }, Te = (e, t, n) => {
115
- let r = t === "+" ? e + n : e - n;
116
- if (e % 1 !== 0 || n % 1 !== 0) {
117
- const o = 10 ** Math.max(fe(e), fe(n));
118
- e = Math.round(e * o), n = Math.round(n * o), r = t === "+" ? e + n : e - n, r /= o;
119
- }
120
- return r;
121
- }, ar = (e, t) => Te(I(e), "+", t), cr = (e, t) => Te(I(e), "-", t), ur = (e) => e != null ? `${e}px` : void 0;
122
- function it(e) {
123
- if (!at(e) || e === void 0) return e;
124
- const t = Reflect.ownKeys(e).filter((r) => typeof r == "string"), n = {};
125
- for (const r of t) {
126
- const o = e[r];
127
- o !== void 0 && (n[r] = it(o));
128
- }
129
- return n;
130
- }
131
- var at = (e) => e && typeof e == "object" && e.constructor === Object;
132
- function lr(e, t) {
133
- const n = {};
134
- for (const r of t) {
135
- const o = e[r];
136
- o !== void 0 && (n[r] = o);
137
- }
138
- return n;
139
- }
140
- function fr(e, t) {
141
- const n = performance.now();
142
- let r;
143
- function o(s) {
144
- r = requestAnimationFrame(o), s - n >= t && e();
145
- }
146
- return r = requestAnimationFrame(o), () => cancelAnimationFrame(r);
147
- }
148
- function Le(...e) {
149
- const t = e.length === 1 ? e[0] : e[1];
150
- (e.length === 2 ? e[0] : !0) && process.env.NODE_ENV !== "production" && console.warn(t);
151
- }
152
- function dr(...e) {
153
- const t = e.length === 1 ? e[0] : e[1];
154
- if ((e.length === 2 ? e[0] : !0) && process.env.NODE_ENV !== "production")
155
- throw new Error(t);
156
- }
157
- function hr(e, t) {
158
- if (e == null) throw new Error(t());
159
- }
160
- function pr(e, t, n) {
161
- let r = [];
162
- for (const o of t)
163
- e[o] == null && r.push(o);
164
- if (r.length > 0)
165
- throw new Error(`[zag-js${` > ${n}`}] missing required props: ${r.join(", ")}`);
166
- }
167
- var de = (e) => Math.max(0, Math.min(1, e)), ct = (e, t) => e.map((n, r) => e[(Math.max(t, 0) + r) % e.length]), Y = (...e) => (t) => e.reduce((n, r) => r(n), t), M = () => {
168
- }, W = (e) => typeof e == "object" && e !== null, yr = 2147483647, mr = (e) => e ? "" : void 0, gr = (e) => e ? "true" : void 0, ut = 1, lt = 9, ft = 11, b = (e) => W(e) && e.nodeType === ut && typeof e.nodeName == "string", Se = (e) => W(e) && e.nodeType === lt, dt = (e) => W(e) && e === e.window, Ie = (e) => b(e) ? e.localName || "" : "#document";
169
- function ht(e) {
170
- return ["html", "body", "#document"].includes(Ie(e));
171
- }
172
- var pt = (e) => W(e) && e.nodeType !== void 0, K = (e) => pt(e) && e.nodeType === ft && "host" in e, yt = (e) => b(e) && e.localName === "input", br = (e) => !!e?.matches("a[href]"), mt = (e) => b(e) ? e.offsetWidth > 0 || e.offsetHeight > 0 || e.getClientRects().length > 0 : !1, gt = /(textarea|select)/;
173
- function bt(e) {
174
- if (e == null || !b(e)) return !1;
175
- try {
176
- return yt(e) && e.selectionStart != null || gt.test(e.localName) || e.isContentEditable || e.getAttribute("contenteditable") === "true" || e.getAttribute("contenteditable") === "";
177
- } catch {
178
- return !1;
179
- }
180
- }
181
- function V(e, t) {
182
- if (!e || !t || !b(e) || !b(t)) return !1;
183
- const n = t.getRootNode?.();
184
- if (e === t || e.contains(t)) return !0;
185
- if (n && K(n)) {
186
- let r = t;
187
- for (; r; ) {
188
- if (e === r) return !0;
189
- r = r.parentNode || r.host;
190
- }
191
- }
192
- return !1;
193
- }
194
- function D(e) {
195
- return Se(e) ? e : dt(e) ? e.document : e?.ownerDocument ?? document;
196
- }
197
- function vt(e) {
198
- return D(e).documentElement;
199
- }
200
- function A(e) {
201
- return K(e) ? A(e.host) : Se(e) ? e.defaultView ?? window : b(e) ? e.ownerDocument?.defaultView ?? window : window;
202
- }
203
- function Et(e) {
204
- let t = e.activeElement;
205
- for (; t?.shadowRoot; ) {
206
- const n = t.shadowRoot.activeElement;
207
- if (n === t) break;
208
- t = n;
209
- }
210
- return t;
211
- }
212
- function wt(e) {
213
- if (Ie(e) === "html") return e;
214
- const t = e.assignedSlot || e.parentNode || K(e) && e.host || vt(e);
215
- return K(t) ? t.host : t;
216
- }
217
- var G = /* @__PURE__ */ new WeakMap();
218
- function vr(e) {
219
- return G.has(e) || G.set(e, A(e).getComputedStyle(e)), G.get(e);
220
- }
221
- function Er(e, t) {
222
- const { type: n, quality: r = 0.92, background: o } = t;
223
- if (!e) throw new Error("[zag-js > getDataUrl]: Could not find the svg element");
224
- const s = A(e), i = s.document, a = e.getBoundingClientRect(), u = e.cloneNode(!0);
225
- u.hasAttribute("viewBox") || u.setAttribute("viewBox", `0 0 ${a.width} ${a.height}`);
226
- const p = `<?xml version="1.0" standalone="no"?>\r
227
- ` + new s.XMLSerializer().serializeToString(u), y = "data:image/svg+xml;charset=utf-8," + encodeURIComponent(p);
228
- if (n === "image/svg+xml")
229
- return Promise.resolve(y).then((k) => (u.remove(), k));
230
- const f = s.devicePixelRatio || 1, c = i.createElement("canvas"), d = new s.Image();
231
- d.src = y, c.width = a.width * f, c.height = a.height * f;
232
- const v = c.getContext("2d");
233
- return (n === "image/jpeg" || o) && (v.fillStyle = o || "white", v.fillRect(0, 0, c.width, c.height)), new Promise((k) => {
234
- d.onload = () => {
235
- v?.drawImage(d, 0, 0, c.width, c.height), k(c.toDataURL(n, r)), u.remove();
236
- };
237
- });
238
- }
239
- var U = () => typeof document < "u";
240
- function At() {
241
- return navigator.userAgentData?.platform ?? navigator.platform;
242
- }
243
- function kt() {
244
- const e = navigator.userAgentData;
245
- return e && Array.isArray(e.brands) ? e.brands.map(({ brand: t, version: n }) => `${t}/${n}`).join(" ") : navigator.userAgent;
246
- }
247
- var re = (e) => U() && e.test(At()), Ne = (e) => U() && e.test(kt()), xt = (e) => U() && e.test(navigator.vendor), he = () => U() && !!navigator.maxTouchPoints, Pt = () => re(/^iPhone/i), Tt = () => re(/^iPad/i) || se() && navigator.maxTouchPoints > 1, oe = () => Pt() || Tt(), De = () => se() || oe(), se = () => re(/^Mac/i), wr = () => De() && xt(/apple/i), Lt = () => Ne(/Firefox/i), St = () => Ne(/Android/i);
248
- function Ar(e) {
249
- const { selectionStart: t, selectionEnd: n, value: r } = e.currentTarget;
250
- return r.slice(0, t) + e.data + r.slice(n);
251
- }
252
- function It(e) {
253
- return e.composedPath?.() ?? e.nativeEvent?.composedPath?.();
254
- }
255
- function B(e) {
256
- return It(e)?.[0] ?? e.target;
257
- }
258
- var kr = (e) => V(e.currentTarget, B(e));
259
- function xr(e) {
260
- const t = e.currentTarget;
261
- if (!t) return !1;
262
- const n = De();
263
- if (n && !e.metaKey || !n && !e.ctrlKey) return !1;
264
- const r = t.localName;
265
- return r === "a" || r === "button" && t.type === "submit" || r === "input" && t.type === "submit";
266
- }
267
- function Pr(e) {
268
- const t = e.currentTarget;
269
- if (!t) return !1;
270
- const n = t.localName;
271
- return e.altKey ? n === "a" || n === "button" && t.type === "submit" || n === "input" && t.type === "submit" : !1;
272
- }
273
- function Tr(e) {
274
- return Mt(e).isComposing || e.keyCode === 229;
275
- }
276
- function Lr(e) {
277
- return e.key.length === 1 && !e.ctrlKey && !e.metaKey;
278
- }
279
- function Sr(e) {
280
- return e.mozInputSource === 0 && e.isTrusted ? !0 : St() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
281
- }
282
- var Ir = (e) => e.button === 0, Nt = (e) => e.button === 2 || se() && e.ctrlKey && e.button === 0, Nr = (e) => e.ctrlKey || e.altKey || e.metaKey, Dt = (e) => "touches" in e && e.touches.length > 0, Ot = {
283
- Up: "ArrowUp",
284
- Down: "ArrowDown",
285
- Esc: "Escape",
286
- " ": "Space",
287
- ",": "Comma",
288
- Left: "ArrowLeft",
289
- Right: "ArrowRight"
290
- }, pe = {
291
- ArrowLeft: "ArrowRight",
292
- ArrowRight: "ArrowLeft"
293
- };
294
- function Dr(e, t = {}) {
295
- const { dir: n = "ltr", orientation: r = "horizontal" } = t;
296
- let o = e.key;
297
- return o = Ot[o] ?? o, n === "rtl" && r === "horizontal" && o in pe && (o = pe[o]), o;
298
- }
299
- function Mt(e) {
300
- return e.nativeEvent ?? e;
301
- }
302
- var Ct = /* @__PURE__ */ new Set(["PageUp", "PageDown"]), Vt = /* @__PURE__ */ new Set(["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"]);
303
- function Or(e) {
304
- return e.ctrlKey || e.metaKey ? 0.1 : Ct.has(e.key) || e.shiftKey && Vt.has(e.key) ? 10 : 1;
305
- }
306
- function Oe(e, t = "client") {
307
- const n = Dt(e) ? e.touches[0] || e.changedTouches[0] : e;
308
- return { x: n[`${t}X`], y: n[`${t}Y`] };
309
- }
310
- var g = (e, t, n, r) => {
311
- const o = typeof e == "function" ? e() : e;
312
- return o?.addEventListener(t, n, r), () => {
313
- o?.removeEventListener(t, n, r);
314
- };
315
- };
316
- function Me(e, t) {
317
- const { type: n = "HTMLInputElement", property: r = "value" } = t, o = A(e)[n].prototype;
318
- return Object.getOwnPropertyDescriptor(o, r) ?? {};
319
- }
320
- function Bt(e) {
321
- if (e.localName === "input") return "HTMLInputElement";
322
- if (e.localName === "textarea") return "HTMLTextAreaElement";
323
- if (e.localName === "select") return "HTMLSelectElement";
324
- }
325
- function Rt(e, t, n = "value") {
326
- if (!e) return;
327
- const r = Bt(e);
328
- r && Me(e, { type: r, property: n }).set?.call(e, t), e.setAttribute(n, t);
329
- }
330
- function Kt(e, t) {
331
- if (!e) return;
332
- Me(e, { type: "HTMLInputElement", property: "checked" }).set?.call(e, t), t ? e.setAttribute("checked", "") : e.removeAttribute("checked");
333
- }
334
- function Mr(e, t) {
335
- const { value: n, bubbles: r = !0 } = t;
336
- if (!e) return;
337
- const o = A(e);
338
- e instanceof o.HTMLInputElement && (Rt(e, `${n}`), e.dispatchEvent(new o.Event("input", { bubbles: r })));
339
- }
340
- function Cr(e, t) {
341
- const { checked: n, bubbles: r = !0 } = t;
342
- if (!e) return;
343
- const o = A(e);
344
- e instanceof o.HTMLInputElement && (Kt(e, n), e.dispatchEvent(new o.Event("click", { bubbles: r })));
345
- }
346
- function Ft(e) {
347
- return jt(e) ? e.form : e.closest("form");
348
- }
349
- function jt(e) {
350
- return e.matches("textarea, input, select, button");
351
- }
352
- function $t(e, t) {
353
- if (!e) return;
354
- const n = Ft(e), r = (o) => {
355
- o.defaultPrevented || t();
356
- };
357
- return n?.addEventListener("reset", r, { passive: !0 }), () => n?.removeEventListener("reset", r);
358
- }
359
- function qt(e, t) {
360
- const n = e?.closest("fieldset");
361
- if (!n) return;
362
- t(n.disabled);
363
- const r = A(n), o = new r.MutationObserver(() => t(n.disabled));
364
- return o.observe(n, {
365
- attributes: !0,
366
- attributeFilter: ["disabled"]
367
- }), () => o.disconnect();
368
- }
369
- function Vr(e, t) {
370
- if (!e) return;
371
- const { onFieldsetDisabledChange: n, onFormReset: r } = t, o = [$t(e, r), qt(e, n)];
372
- return () => o.forEach((s) => s?.());
373
- }
374
- var Ce = (e) => b(e) && e.tagName === "IFRAME", _t = (e) => !Number.isNaN(parseInt(e.getAttribute("tabindex") || "0", 10)), Wt = (e) => parseInt(e.getAttribute("tabindex") || "0", 10) < 0, ie = "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", Ut = (e, t = !1) => {
375
- if (!e) return [];
376
- const n = Array.from(e.querySelectorAll(ie));
377
- (t == !0 || t == "if-empty" && n.length === 0) && b(e) && F(e) && n.unshift(e);
378
- const o = n.filter(F);
379
- return o.forEach((s, i) => {
380
- if (Ce(s) && s.contentDocument) {
381
- const a = s.contentDocument.body;
382
- o.splice(i, 1, ...Ut(a));
383
- }
384
- }), o;
385
- };
386
- function F(e) {
387
- return !e || e.closest("[inert]") ? !1 : e.matches(ie) && mt(e);
388
- }
389
- function z(e, t) {
390
- if (!e) return [];
391
- const n = Array.from(e.querySelectorAll(ie)), r = n.filter(ye);
392
- return t && ye(e) && r.unshift(e), r.forEach((o, s) => {
393
- if (Ce(o) && o.contentDocument) {
394
- const i = o.contentDocument.body, a = z(i);
395
- r.splice(s, 1, ...a);
396
- }
397
- }), !r.length && t ? n : r;
398
- }
399
- function ye(e) {
400
- return e != null && e.tabIndex > 0 ? !0 : F(e) && !Wt(e);
401
- }
402
- function Ve(e, t) {
403
- const n = z(e, t), r = n[0] || null, o = n[n.length - 1] || null;
404
- return [r, o];
405
- }
406
- function zt(e, t) {
407
- const n = z(e), r = e?.ownerDocument || document, o = t ?? r.activeElement;
408
- if (!o) return null;
409
- const s = n.indexOf(o);
410
- return n[s + 1] || null;
411
- }
412
- function Br(e) {
413
- return e.tabIndex < 0 && (/^(audio|video|details)$/.test(e.localName) || bt(e)) && !_t(e) ? 0 : e.tabIndex;
414
- }
415
- function Rr(e) {
416
- const { root: t, getInitialEl: n, filter: r, enabled: o = !0 } = e;
417
- if (!o) return;
418
- let s = null;
419
- if (s || (s = typeof n == "function" ? n() : n), s || (s = t?.querySelector("[data-autofocus],[autofocus]")), !s) {
420
- const i = z(t);
421
- s = r ? i.filter(r)[0] : i[0];
422
- }
423
- return s || t || void 0;
424
- }
425
- function Kr(e) {
426
- const t = e.currentTarget;
427
- if (!t) return !1;
428
- const [n, r] = Ve(t), o = t.ownerDocument || document;
429
- return !(o.activeElement === n && e.shiftKey || o.activeElement === r && !e.shiftKey || !n && !r);
430
- }
431
- function Ht(e) {
432
- const t = /* @__PURE__ */ new Set();
433
- function n(r) {
434
- const o = globalThis.requestAnimationFrame(r);
435
- t.add(() => globalThis.cancelAnimationFrame(o));
436
- }
437
- return n(() => n(e)), function() {
438
- t.forEach((o) => o());
439
- };
440
- }
441
- function T(e) {
442
- let t;
443
- const n = globalThis.requestAnimationFrame(() => {
444
- t = e();
445
- });
446
- return () => {
447
- globalThis.cancelAnimationFrame(n), t?.();
448
- };
449
- }
450
- function Xt(e, t, n) {
451
- const r = T(() => {
452
- e.removeEventListener(t, o, !0), n();
453
- }), o = () => {
454
- r(), n();
455
- };
456
- return e.addEventListener(t, o, { once: !0, capture: !0 }), r;
457
- }
458
- function Yt(e, t) {
459
- if (!e) return;
460
- const { attributes: n, callback: r } = t, o = e.ownerDocument.defaultView || window, s = new o.MutationObserver((i) => {
461
- for (const a of i)
462
- a.type === "attributes" && a.attributeName && n.includes(a.attributeName) && r(a);
463
- });
464
- return s.observe(e, { attributes: !0, attributeFilter: n }), () => s.disconnect();
465
- }
466
- function Fr(e, t) {
467
- const { defer: n } = t, r = n ? T : (s) => s(), o = [];
468
- return o.push(
469
- r(() => {
470
- const s = typeof e == "function" ? e() : e;
471
- o.push(Yt(s, t));
472
- })
473
- ), () => {
474
- o.forEach((s) => s?.());
475
- };
476
- }
477
- function Gt(e, t) {
478
- const { callback: n } = t;
479
- if (!e) return;
480
- const r = e.ownerDocument.defaultView || window, o = new r.MutationObserver(n);
481
- return o.observe(e, { childList: !0, subtree: !0 }), () => o.disconnect();
482
- }
483
- function jr(e, t) {
484
- const { defer: n } = t, r = n ? T : (s) => s(), o = [];
485
- return o.push(
486
- r(() => {
487
- const s = typeof e == "function" ? e() : e;
488
- o.push(Gt(s, t));
489
- })
490
- ), () => {
491
- o.forEach((s) => s?.());
492
- };
493
- }
494
- function $r(e) {
495
- const t = () => e.click();
496
- Lt() ? Xt(e, "keyup", t) : queueMicrotask(t);
497
- }
498
- function ee(e) {
499
- const t = wt(e);
500
- return ht(t) ? D(t).body : b(t) && Be(t) ? t : ee(t);
501
- }
502
- var Zt = /auto|scroll|overlay|hidden|clip/;
503
- function Be(e) {
504
- const t = A(e), { overflow: n, overflowX: r, overflowY: o, display: s } = t.getComputedStyle(e);
505
- return Zt.test(n + o + r) && !["inline", "contents"].includes(s);
506
- }
507
- function Jt(e) {
508
- return e.scrollHeight > e.clientHeight || e.scrollWidth > e.clientWidth;
509
- }
510
- function qr(e, t) {
511
- const { rootEl: n, ...r } = t || {};
512
- !e || !n || !Be(n) || !Jt(n) || e.scrollIntoView(r);
513
- }
514
- function _r(e, t) {
515
- const { left: n, top: r, width: o, height: s } = t.getBoundingClientRect(), i = { x: e.x - n, y: e.y - r }, a = { x: de(i.x / o), y: de(i.y / s) };
516
- function u(l = {}) {
517
- const { dir: p = "ltr", orientation: y = "horizontal", inverted: f } = l, c = typeof f == "object" ? f.x : f, d = typeof f == "object" ? f.y : f;
518
- return y === "horizontal" ? p === "rtl" || c ? 1 - a.x : a.x : d ? 1 - a.y : a.y;
519
- }
520
- return { offset: i, percent: a, getPercentValue: u };
521
- }
522
- function Wr(e, t) {
523
- const n = e.body, r = "pointerLockElement" in e || "mozPointerLockElement" in e, o = () => !!e.pointerLockElement;
524
- function s() {
525
- }
526
- function i(u) {
527
- o(), console.error("PointerLock error occurred:", u), e.exitPointerLock();
528
- }
529
- if (!r) return;
530
- try {
531
- n.requestPointerLock();
532
- } catch {
533
- }
534
- const a = [
535
- g(e, "pointerlockchange", s, !1),
536
- g(e, "pointerlockerror", i, !1)
537
- ];
538
- return () => {
539
- a.forEach((u) => u()), e.exitPointerLock();
540
- };
541
- }
542
- var C = "default", te = "", $ = /* @__PURE__ */ new WeakMap();
543
- function Qt(e = {}) {
544
- const { target: t, doc: n } = e, r = n ?? document, o = r.documentElement;
545
- return oe() ? (C === "default" && (te = o.style.webkitUserSelect, o.style.webkitUserSelect = "none"), C = "disabled") : t && ($.set(t, t.style.userSelect), t.style.userSelect = "none"), () => en({ target: t, doc: r });
546
- }
547
- function en(e = {}) {
548
- const { target: t, doc: n } = e, o = (n ?? document).documentElement;
549
- if (oe()) {
550
- if (C !== "disabled") return;
551
- C = "restoring", setTimeout(() => {
552
- Ht(() => {
553
- C === "restoring" && (o.style.webkitUserSelect === "none" && (o.style.webkitUserSelect = te || ""), te = "", C = "default");
554
- });
555
- }, 300);
556
- } else if (t && $.has(t)) {
557
- const s = $.get(t);
558
- t.style.userSelect === "none" && (t.style.userSelect = s ?? ""), t.getAttribute("style") === "" && t.removeAttribute("style"), $.delete(t);
559
- }
560
- }
561
- function tn(e = {}) {
562
- const { defer: t, target: n, ...r } = e, o = t ? T : (i) => i(), s = [];
563
- return s.push(
564
- o(() => {
565
- const i = typeof n == "function" ? n() : n;
566
- s.push(Qt({ ...r, target: i }));
567
- })
568
- ), () => {
569
- s.forEach((i) => i?.());
570
- };
571
- }
572
- function Ur(e, t) {
573
- const { onPointerMove: n, onPointerUp: r } = t, s = [
574
- g(e, "pointermove", (i) => {
575
- const a = Oe(i), u = Math.sqrt(a.x ** 2 + a.y ** 2), l = i.pointerType === "touch" ? 10 : 5;
576
- if (!(u < l)) {
577
- if (i.pointerType === "mouse" && i.button === 0) {
578
- r();
579
- return;
580
- }
581
- n({ point: a, event: i });
582
- }
583
- }, !1),
584
- g(e, "pointerup", r, !1),
585
- g(e, "pointercancel", r, !1),
586
- g(e, "contextmenu", r, !1),
587
- tn({ doc: e })
588
- ];
589
- return () => {
590
- s.forEach((i) => i());
591
- };
592
- }
593
- function zr(e) {
594
- const {
595
- pointerNode: t,
596
- keyboardNode: n = t,
597
- onPress: r,
598
- onPressStart: o,
599
- onPressEnd: s,
600
- isValidKey: i = (h) => h.key === "Enter"
601
- } = e;
602
- if (!t) return M;
603
- const a = A(t), u = D(t);
604
- let l = M, p = M, y = M;
605
- const f = (h) => ({
606
- point: Oe(h),
607
- event: h
608
- });
609
- function c(h) {
610
- o?.(f(h));
611
- }
612
- function d(h) {
613
- s?.(f(h));
614
- }
615
- const k = g(t, "pointerdown", (h) => {
616
- p();
617
- const S = g(a, "pointerup", (P) => {
618
- const N = B(P);
619
- V(t, N) ? r?.(f(P)) : s?.(f(P));
620
- }, { passive: !r, once: !0 }), x = g(a, "pointercancel", d, {
621
- passive: !s,
622
- once: !0
623
- });
624
- p = Y(S, x), u.activeElement === n && h.pointerType === "mouse" && h.preventDefault(), c(h);
625
- }, { passive: !o }), L = g(n, "focus", m);
626
- l = Y(k, L);
627
- function m() {
628
- const h = (P) => {
629
- if (!i(P)) return;
630
- const N = (Ke) => {
631
- if (!i(Ke)) return;
632
- const Fe = new a.PointerEvent("pointerup"), ue = f(Fe);
633
- r?.(ue), s?.(ue);
634
- };
635
- p(), p = g(n, "keyup", N);
636
- const H = new a.PointerEvent("pointerdown");
637
- c(H);
638
- }, E = () => {
639
- const P = new a.PointerEvent("pointercancel");
640
- d(P);
641
- }, S = g(n, "keydown", h), x = g(n, "blur", E);
642
- y = Y(S, x);
643
- }
644
- return () => {
645
- l(), p(), y();
646
- };
647
- }
648
- function nn(e, t = {}) {
649
- const { triggerElement: n, onFocus: r, onFocusEnter: o } = t, s = e?.ownerDocument || document, i = s.body;
650
- function a(u) {
651
- if (u.key !== "Tab") return;
652
- let l = null;
653
- const [p, y] = Ve(e, !0), f = zt(i, n), c = !p && !y;
654
- 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());
655
- }
656
- return g(s, "keydown", a, !0);
657
- }
658
- function Hr(e, t) {
659
- const { defer: n, triggerElement: r, ...o } = t, s = n ? T : (a) => a(), i = [];
660
- return i.push(
661
- s(() => {
662
- const a = typeof e == "function" ? e() : e, u = typeof r == "function" ? r() : r;
663
- i.push(nn(a, { triggerElement: u, ...o }));
664
- })
665
- ), () => {
666
- i.forEach((a) => a?.());
667
- };
668
- }
669
- function Xr(e, t) {
670
- return Array.from(e?.querySelectorAll(t) ?? []);
671
- }
672
- function Yr(e, t) {
673
- return e?.querySelector(t) ?? null;
674
- }
675
- var ae = (e) => e.id;
676
- function rn(e, t, n = ae) {
677
- return e.find((r) => n(r) === t);
678
- }
679
- function ce(e, t, n = ae) {
680
- const r = rn(e, t, n);
681
- return r ? e.indexOf(r) : -1;
682
- }
683
- function Gr(e, t, n = !0) {
684
- let r = ce(e, t);
685
- return r = n ? (r + 1) % e.length : Math.min(r + 1, e.length - 1), e[r];
686
- }
687
- function Zr(e, t, n = !0) {
688
- let r = ce(e, t);
689
- return r === -1 ? n ? e[e.length - 1] : null : (r = n ? (r - 1 + e.length) % e.length : Math.max(0, r - 1), e[r]);
690
- }
691
- function Jr(e, t) {
692
- const { onEntry: n, measure: r, box: o = "border-box" } = t, s = (Array.isArray(e) ? e : [e]).filter(b), i = A(s[0]), a = (l) => {
693
- const p = s.map((y) => r(y));
694
- n({ rects: p, entries: l });
695
- };
696
- a([]);
697
- const u = new i.ResizeObserver(a);
698
- return s.forEach((l) => u.observe(l, { box: o })), () => u.disconnect();
699
- }
700
- var on = (e) => e.split("").map((t) => {
701
- const n = t.charCodeAt(0);
702
- return n > 0 && n < 128 ? t : n >= 128 && n <= 255 ? `/x${n.toString(16)}`.replace("/", "\\") : "";
703
- }).join("").trim(), sn = (e) => on(e.dataset?.valuetext ?? e.textContent ?? ""), an = (e, t) => e.trim().toLowerCase().startsWith(t.toLowerCase());
704
- function cn(e, t, n, r = ae) {
705
- const o = n ? ce(e, n, r) : -1;
706
- let s = n ? ct(e, o) : e;
707
- return t.length === 1 && (s = s.filter((a) => r(a) !== n)), s.find((a) => an(sn(a), t));
708
- }
709
- function un(e, t) {
710
- if (!e) return M;
711
- const n = Object.keys(t).reduce((r, o) => (r[o] = e.style.getPropertyValue(o), r), {});
712
- return Object.assign(e.style, t), () => {
713
- Object.assign(e.style, n), e.style.length === 0 && e.removeAttribute("style");
714
- };
715
- }
716
- function Qr(e, t, n) {
717
- if (!e) return M;
718
- const r = e.style.getPropertyValue(t);
719
- return e.style.setProperty(t, n), () => {
720
- e.style.setProperty(t, r), e.style.length === 0 && e.removeAttribute("style");
721
- };
722
- }
723
- function ln(e, t) {
724
- 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;
725
- let p = e.slice();
726
- const y = cn(p, l, r, i);
727
- function f() {
728
- clearTimeout(n.timer), n.timer = -1;
729
- }
730
- function c(d) {
731
- n.keysSoFar = d, f(), d !== "" && (n.timer = +setTimeout(() => {
732
- c(""), f();
733
- }, s));
734
- }
735
- return c(a), y;
736
- }
737
- var eo = /* @__PURE__ */ Object.assign(ln, {
738
- defaultOptions: { keysSoFar: "", timer: -1 },
739
- isValidEvent: fn
740
- });
741
- function fn(e) {
742
- return e.key.length === 1 && !e.ctrlKey && !e.metaKey;
743
- }
744
- var to = {
745
- border: "0",
746
- clip: "rect(0 0 0 0)",
747
- height: "1px",
748
- margin: "-1px",
749
- overflow: "hidden",
750
- padding: "0",
751
- position: "absolute",
752
- width: "1px",
753
- whiteSpace: "nowrap",
754
- wordWrap: "normal"
755
- }, dn = 1e3 / 60;
756
- function hn(e, t) {
757
- const n = e();
758
- if (b(n) && n.isConnected)
759
- return t(n), () => {
760
- };
761
- {
762
- const r = setInterval(() => {
763
- const o = e();
764
- b(o) && o.isConnected && (t(o), clearInterval(r));
765
- }, dn);
766
- return () => clearInterval(r);
767
- }
768
- }
769
- function pn(e, t) {
770
- const n = [];
771
- return e?.forEach((r) => {
772
- const o = hn(r, t);
773
- n.push(o);
774
- }), () => {
775
- n.forEach((r) => r());
776
- };
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 (X(e)) {
786
- if (X(t)) return `${e};${t}`;
787
- e = me(e);
788
- } else X(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] = J(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) => !ne(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 = () => Et(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 = ee(E);
973
- if (ve(m, x)) return !1;
974
- }
975
- const S = ee(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 && !he() ? 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 = J(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: Nt(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 = J(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 he() || (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 = pn(t, (s) => {
1123
- r.push(un(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
- Le("[@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 = xe(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 = xe(e) ? e() : e;
1184
- if (!s) {
1185
- Le("[@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
- Nt as $,
1198
- Cr as A,
1199
- Kt as B,
1200
- Vr as C,
1201
- zr as D,
1202
- B as E,
1203
- A as F,
1204
- D as G,
1205
- Sr as H,
1206
- se as I,
1207
- Jr as J,
1208
- X as K,
1209
- Fn as L,
1210
- qn as M,
1211
- Bn as N,
1212
- eo as O,
1213
- qr as P,
1214
- kr as Q,
1215
- Kr as R,
1216
- bt as S,
1217
- hr as T,
1218
- Vn as U,
1219
- Cn as V,
1220
- g as W,
1221
- $r as X,
1222
- Pr as Y,
1223
- xr as Z,
1224
- Lr as _,
1225
- jr as a,
1226
- ur as a$,
1227
- Oe as a0,
1228
- no as a1,
1229
- Kn as a2,
1230
- Rn as a3,
1231
- br as a4,
1232
- V as a5,
1233
- it as a6,
1234
- _n as a7,
1235
- zn as a8,
1236
- uo as a9,
1237
- Or as aA,
1238
- Ir as aB,
1239
- Yr as aC,
1240
- Rt as aD,
1241
- _r as aE,
1242
- Le as aF,
1243
- $e as aG,
1244
- qe as aH,
1245
- Ln as aI,
1246
- De as aJ,
1247
- J as aK,
1248
- We as aL,
1249
- ro as aM,
1250
- Yn as aN,
1251
- Gn as aO,
1252
- cr as aP,
1253
- ar as aQ,
1254
- Wr as aR,
1255
- Zn as aS,
1256
- er as aT,
1257
- Xn as aU,
1258
- jn as aV,
1259
- Er as aW,
1260
- or as aX,
1261
- tr as aY,
1262
- nr as aZ,
1263
- rr as a_,
1264
- yr as aa,
1265
- fr as ab,
1266
- pr as ac,
1267
- z as ad,
1268
- Ut as ae,
1269
- ye as af,
1270
- Br as ag,
1271
- Se as ah,
1272
- F as ai,
1273
- Et as aj,
1274
- Qr as ak,
1275
- un as al,
1276
- oe as am,
1277
- Ht as an,
1278
- Zr as ao,
1279
- Gr as ap,
1280
- rn as aq,
1281
- rt as ar,
1282
- ir as as,
1283
- Hn as at,
1284
- Jn as au,
1285
- ot as av,
1286
- Qn as aw,
1287
- Ye as ax,
1288
- tn as ay,
1289
- Ur as az,
1290
- Z as b,
1291
- sr as b0,
1292
- lr as b1,
1293
- ao as b2,
1294
- vn as b3,
1295
- io as b4,
1296
- Wn as b5,
1297
- xe as b6,
1298
- On as b7,
1299
- Un as b8,
1300
- $n as b9,
1301
- K as ba,
1302
- Mn as bb,
1303
- oo as c,
1304
- mr as d,
1305
- vr as e,
1306
- st as f,
1307
- Rr as g,
1308
- Mr as h,
1309
- wr as i,
1310
- ne as j,
1311
- gr as k,
1312
- b as l,
1313
- Tr as m,
1314
- Nr as n,
1315
- Fr as o,
1316
- Hr as p,
1317
- Dr as q,
1318
- T as r,
1319
- so as s,
1320
- co as t,
1321
- Mt as u,
1322
- Ar as v,
1323
- to as w,
1324
- dr as x,
1325
- Xr as y,
1326
- bn as z
1327
- };
1328
- //# sourceMappingURL=index-C323eOJV.js.map