@televet/kibble-ui 4.0.0-beta.66 → 4.0.0-beta.67

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 (367) hide show
  1. package/dist/chunks/{alert.types-DYf5xFEG.js → alert.types-B7BlPX2-.js} +10 -11
  2. package/dist/chunks/{alert.types-DYf5xFEG.js.map → alert.types-B7BlPX2-.js.map} +1 -1
  3. package/dist/chunks/alert.types-BsvcbTZD.js +2 -0
  4. package/dist/chunks/{alert.types-DbqCOYr5.js.map → alert.types-BsvcbTZD.js.map} +1 -1
  5. package/dist/chunks/{avatar.component-Bk8VVA0l.js → avatar.component-CB5m8zha.js} +22 -22
  6. package/dist/chunks/{avatar.component-Bk8VVA0l.js.map → avatar.component-CB5m8zha.js.map} +1 -1
  7. package/dist/chunks/avatar.component-RKtP3MZt.js +2 -0
  8. package/dist/chunks/{avatar.component-TAfT1LM1.js.map → avatar.component-RKtP3MZt.js.map} +1 -1
  9. package/dist/chunks/{avatarGroup.component-CZnhQOWy.js → avatarGroup.component-CKFjjo2R.js} +2 -2
  10. package/dist/chunks/{avatarGroup.component-CZnhQOWy.js.map → avatarGroup.component-CKFjjo2R.js.map} +1 -1
  11. package/dist/chunks/{avatarGroup.component-BGF4gl5d.js → avatarGroup.component-CjBeAxHZ.js} +2 -2
  12. package/dist/chunks/{avatarGroup.component-BGF4gl5d.js.map → avatarGroup.component-CjBeAxHZ.js.map} +1 -1
  13. package/dist/chunks/{button.component-Dd9AfGox.js → button.component-BQA_MGYQ.js} +2 -2
  14. package/dist/chunks/{button.component-Dd9AfGox.js.map → button.component-BQA_MGYQ.js.map} +1 -1
  15. package/dist/chunks/{button.component-BpF3MzbZ.js → button.component-DahLrK9h.js} +3 -3
  16. package/dist/chunks/{button.component-BpF3MzbZ.js.map → button.component-DahLrK9h.js.map} +1 -1
  17. package/dist/chunks/{buttonGroup.component-CGxtwaQg.js → buttonGroup.component-BI44nuxH.js} +2 -2
  18. package/dist/chunks/{buttonGroup.component-CGxtwaQg.js.map → buttonGroup.component-BI44nuxH.js.map} +1 -1
  19. package/dist/chunks/{buttonGroup.component-IGM-yn-V.js → buttonGroup.component-UKmJh2zn.js} +5 -5
  20. package/dist/chunks/{buttonGroup.component-IGM-yn-V.js.map → buttonGroup.component-UKmJh2zn.js.map} +1 -1
  21. package/dist/chunks/characterCounter.component-B8efVNy4.js +2 -0
  22. package/dist/chunks/{characterCounter.component-WOgGxKRq.js.map → characterCounter.component-B8efVNy4.js.map} +1 -1
  23. package/dist/chunks/{characterCounter.component-CWDjnYNU.js → characterCounter.component-xgc8P1mp.js} +3 -3
  24. package/dist/chunks/{characterCounter.component-CWDjnYNU.js.map → characterCounter.component-xgc8P1mp.js.map} +1 -1
  25. package/dist/chunks/{checkbox.component-B6-MOy86.js → checkbox.component-5GtlYTnJ.js} +13 -13
  26. package/dist/chunks/{checkbox.component-B6-MOy86.js.map → checkbox.component-5GtlYTnJ.js.map} +1 -1
  27. package/dist/chunks/checkbox.component-DO9NDbmM.js +2 -0
  28. package/dist/chunks/{checkbox.component-nkydue0g.js.map → checkbox.component-DO9NDbmM.js.map} +1 -1
  29. package/dist/chunks/{checkbox.records-BtLBaHBy.js → checkbox.records-69wNHjsY.js} +16 -16
  30. package/dist/chunks/{checkbox.records-BtLBaHBy.js.map → checkbox.records-69wNHjsY.js.map} +1 -1
  31. package/dist/chunks/{checkbox.records-wbkLltak.js → checkbox.records-D7NUtCRR.js} +2 -2
  32. package/dist/chunks/{checkbox.records-wbkLltak.js.map → checkbox.records-D7NUtCRR.js.map} +1 -1
  33. package/dist/chunks/{checkboxGroup.component-B1HL2vbn.js → checkboxGroup.component-C1sPgVro.js} +2 -2
  34. package/dist/chunks/{checkboxGroup.component-B1HL2vbn.js.map → checkboxGroup.component-C1sPgVro.js.map} +1 -1
  35. package/dist/chunks/{checkboxGroup.component-DCg4fRL0.js → checkboxGroup.component-Dq3jCGDU.js} +3 -3
  36. package/dist/chunks/{checkboxGroup.component-DCg4fRL0.js.map → checkboxGroup.component-Dq3jCGDU.js.map} +1 -1
  37. package/dist/chunks/{config-B1FINd7s.js → config-DlTdf-Yt.js} +3 -3
  38. package/dist/chunks/{config-B1FINd7s.js.map → config-DlTdf-Yt.js.map} +1 -1
  39. package/dist/chunks/{conversationCard.component-Uv0-JSnX.js → conversationCard.component-LpR5eSru.js} +13 -14
  40. package/dist/chunks/{conversationCard.component-Uv0-JSnX.js.map → conversationCard.component-LpR5eSru.js.map} +1 -1
  41. package/dist/chunks/conversationCard.component-qWYvoxVn.js +2 -0
  42. package/dist/chunks/{conversationCard.component-2jO70XtY.js.map → conversationCard.component-qWYvoxVn.js.map} +1 -1
  43. package/dist/chunks/datePicker.component-CLR0tErm.js +15 -0
  44. package/dist/chunks/{datePicker.component-CM8TIMiW.js.map → datePicker.component-CLR0tErm.js.map} +1 -1
  45. package/dist/chunks/{datePicker.component-DeOquWMk.js → datePicker.component-DVR8Ech4.js} +85 -87
  46. package/dist/chunks/{datePicker.component-DeOquWMk.js.map → datePicker.component-DVR8Ech4.js.map} +1 -1
  47. package/dist/chunks/{dialog-trigger-D2uDgMJr.js → dialog-trigger-C6rpz6Do.js} +5 -5
  48. package/dist/chunks/{dialog-trigger-D2uDgMJr.js.map → dialog-trigger-C6rpz6Do.js.map} +1 -1
  49. package/dist/chunks/{dialog-trigger-BCeZGpGO.js → dialog-trigger-JNnMRY13.js} +2 -2
  50. package/dist/chunks/{dialog-trigger-BCeZGpGO.js.map → dialog-trigger-JNnMRY13.js.map} +1 -1
  51. package/dist/chunks/{group-DPCVolOl.js → group-DKypflCt.js} +2 -2
  52. package/dist/chunks/{group-DPCVolOl.js.map → group-DKypflCt.js.map} +1 -1
  53. package/dist/chunks/group-Dv1hO5IW.js +2 -0
  54. package/dist/chunks/{group-Cv7AQw1b.js.map → group-Dv1hO5IW.js.map} +1 -1
  55. package/dist/chunks/heading.component-DkT5GYvU.js +2 -0
  56. package/dist/chunks/heading.component-DkT5GYvU.js.map +1 -0
  57. package/dist/chunks/heading.component-d5jKnwm5.js +976 -0
  58. package/dist/chunks/heading.component-d5jKnwm5.js.map +1 -0
  59. package/dist/chunks/icon-button-BTDZq0Tr.js +121 -0
  60. package/dist/chunks/icon-button-BTDZq0Tr.js.map +1 -0
  61. package/dist/chunks/icon-button-khcu437F.js +2 -0
  62. package/dist/chunks/icon-button-khcu437F.js.map +1 -0
  63. package/dist/chunks/{typography-Cqrokog3.js → icon.component-D84o075X.js} +43 -6
  64. package/dist/chunks/icon.component-D84o075X.js.map +1 -0
  65. package/dist/chunks/icon.component-DjiNNeqF.js +2 -0
  66. package/dist/chunks/icon.component-DjiNNeqF.js.map +1 -0
  67. package/dist/chunks/{index-CZPHIn6T.js → index-B9cDqm2a.js} +3 -3
  68. package/dist/chunks/{index-CZPHIn6T.js.map → index-B9cDqm2a.js.map} +1 -1
  69. package/dist/chunks/{index-BmcSWiFh.js → index-BDCLWoQU.js} +2 -2
  70. package/dist/chunks/{index-BmcSWiFh.js.map → index-BDCLWoQU.js.map} +1 -1
  71. package/dist/chunks/{index-WyVSig7F.js → index-BIjZoyJk.js} +4 -4
  72. package/dist/chunks/{index-WyVSig7F.js.map → index-BIjZoyJk.js.map} +1 -1
  73. package/dist/chunks/{index-D5Dscg8T.js → index-BL1VW2oK.js} +11 -11
  74. package/dist/chunks/{index-D5Dscg8T.js.map → index-BL1VW2oK.js.map} +1 -1
  75. package/dist/chunks/{index-CEYJbpt4.js → index-BiyIeWSg.js} +2 -2
  76. package/dist/chunks/{index-CEYJbpt4.js.map → index-BiyIeWSg.js.map} +1 -1
  77. package/dist/chunks/{index-Dx94WMw1.js → index-Bn03tQNC.js} +31 -31
  78. package/dist/chunks/{index-Dx94WMw1.js.map → index-Bn03tQNC.js.map} +1 -1
  79. package/dist/chunks/{index-hGlTuPbK.js → index-BpKhRg2I.js} +2 -2
  80. package/dist/chunks/{index-hGlTuPbK.js.map → index-BpKhRg2I.js.map} +1 -1
  81. package/dist/chunks/{index-C323eOJV.js → index-Cb49D-ky.js} +122 -122
  82. package/dist/chunks/{index-C323eOJV.js.map → index-Cb49D-ky.js.map} +1 -1
  83. package/dist/chunks/{index-DMSZTX7A.js → index-Ciu8P7c-.js} +11 -11
  84. package/dist/chunks/{index-DMSZTX7A.js.map → index-Ciu8P7c-.js.map} +1 -1
  85. package/dist/chunks/{index-5cRW642o.js → index-CmVbgcH8.js} +2 -2
  86. package/dist/chunks/{index-5cRW642o.js.map → index-CmVbgcH8.js.map} +1 -1
  87. package/dist/chunks/{index-Cuu1x05z.js → index-CxHMu1In.js} +14 -15
  88. package/dist/chunks/{index-Cuu1x05z.js.map → index-CxHMu1In.js.map} +1 -1
  89. package/dist/chunks/index-CzzrUbmu.js +2 -0
  90. package/dist/chunks/{index-CFnNmQf0.js.map → index-CzzrUbmu.js.map} +1 -1
  91. package/dist/chunks/{index-CedYIQt5.js → index-DFbSzgk8.js} +2 -2
  92. package/dist/chunks/{index-CedYIQt5.js.map → index-DFbSzgk8.js.map} +1 -1
  93. package/dist/chunks/{index-Cqwkg1hU.js → index-DRABh-Lp.js} +3 -3
  94. package/dist/chunks/{index-Cqwkg1hU.js.map → index-DRABh-Lp.js.map} +1 -1
  95. package/dist/chunks/{index-BfD9Ne2e.js → index-DeprNCOL.js} +2 -2
  96. package/dist/chunks/{index-BfD9Ne2e.js.map → index-DeprNCOL.js.map} +1 -1
  97. package/dist/chunks/{index-Dq91nN6-.js → index-YfA5zlSf.js} +5 -5
  98. package/dist/chunks/{index-Dq91nN6-.js.map → index-YfA5zlSf.js.map} +1 -1
  99. package/dist/chunks/{link.component-CCFg-LIe.js → link.component-BQJI6gPi.js} +2 -2
  100. package/dist/chunks/{link.component-CCFg-LIe.js.map → link.component-BQJI6gPi.js.map} +1 -1
  101. package/dist/chunks/{link.component-DprieyUG.js → link.component-Cs05IsXP.js} +2 -2
  102. package/dist/chunks/{link.component-DprieyUG.js.map → link.component-Cs05IsXP.js.map} +1 -1
  103. package/dist/chunks/{logo.types-CXQsathd.js → logo.types-By8TqyNf.js} +2 -2
  104. package/dist/chunks/{logo.types-CXQsathd.js.map → logo.types-By8TqyNf.js.map} +1 -1
  105. package/dist/chunks/menu.component-BgAx3SsR.js +2 -0
  106. package/dist/chunks/{menu.component-DllVICUa.js.map → menu.component-BgAx3SsR.js.map} +1 -1
  107. package/dist/chunks/{menu.component-BKY1dybr.js → menu.component-CAr2xdZY.js} +10 -10
  108. package/dist/chunks/{menu.component-BKY1dybr.js.map → menu.component-CAr2xdZY.js.map} +1 -1
  109. package/dist/chunks/{modal.types-CRH5aJ0U.js → modal.types-B7PDc2GJ.js} +5 -5
  110. package/dist/chunks/{modal.types-CRH5aJ0U.js.map → modal.types-B7PDc2GJ.js.map} +1 -1
  111. package/dist/chunks/{modal.types-Bsq-uLZ0.js → modal.types-CtHJAyfq.js} +2 -2
  112. package/dist/chunks/{modal.types-Bsq-uLZ0.js.map → modal.types-CtHJAyfq.js.map} +1 -1
  113. package/dist/chunks/{notificationCounter.component-DMr4Mlm9.js → notificationCounter.component-Bei8mHSZ.js} +2 -2
  114. package/dist/chunks/{notificationCounter.component-DMr4Mlm9.js.map → notificationCounter.component-Bei8mHSZ.js.map} +1 -1
  115. package/dist/chunks/{pinInput.types-B-BknmcG.js → pinInput.types-TfkrphC7.js} +15 -15
  116. package/dist/chunks/{pinInput.types-B-BknmcG.js.map → pinInput.types-TfkrphC7.js.map} +1 -1
  117. package/dist/chunks/{pinInput.types-tJTQQJxe.js → pinInput.types-a0_2OLBO.js} +2 -2
  118. package/dist/chunks/{pinInput.types-tJTQQJxe.js.map → pinInput.types-a0_2OLBO.js.map} +1 -1
  119. package/dist/chunks/portal-CtkZ5xTm.js +3087 -0
  120. package/dist/chunks/portal-CtkZ5xTm.js.map +1 -0
  121. package/dist/chunks/portal-kmAjRmaV.js +22 -0
  122. package/dist/chunks/portal-kmAjRmaV.js.map +1 -0
  123. package/dist/chunks/{radio.records-CzNYznSb.js → radio.records-DBS_lqNe.js} +15 -15
  124. package/dist/chunks/{radio.records-CzNYznSb.js.map → radio.records-DBS_lqNe.js.map} +1 -1
  125. package/dist/chunks/{radio.records-CEgwvLIL.js → radio.records-zKzNxtns.js} +2 -2
  126. package/dist/chunks/{radio.records-CEgwvLIL.js.map → radio.records-zKzNxtns.js.map} +1 -1
  127. package/dist/chunks/{radioGroup.component-DEPDXEhQ.js → radioGroup.component-DBLLIgCZ.js} +13 -13
  128. package/dist/chunks/{radioGroup.component-DEPDXEhQ.js.map → radioGroup.component-DBLLIgCZ.js.map} +1 -1
  129. package/dist/chunks/radioGroup.component-fpo_KMOY.js +2 -0
  130. package/dist/chunks/{radioGroup.component-DAGmgDZ2.js.map → radioGroup.component-fpo_KMOY.js.map} +1 -1
  131. package/dist/chunks/{ratingDots.component-C32gNAmO.js → ratingDots.component-DG2nCpxT.js} +6 -6
  132. package/dist/chunks/{ratingDots.component-C32gNAmO.js.map → ratingDots.component-DG2nCpxT.js.map} +1 -1
  133. package/dist/chunks/ratingDots.component-DJEDUD_9.js +2 -0
  134. package/dist/chunks/{ratingDots.component-BB7vPYdN.js.map → ratingDots.component-DJEDUD_9.js.map} +1 -1
  135. package/dist/chunks/{render-strategy-CdSSbgPU.js → render-strategy-C80bGq2n.js} +2 -2
  136. package/dist/chunks/{render-strategy-CdSSbgPU.js.map → render-strategy-C80bGq2n.js.map} +1 -1
  137. package/dist/chunks/{render-strategy-ql9Qx5Cz.js → render-strategy-DN75XQJB.js} +2 -2
  138. package/dist/chunks/{render-strategy-ql9Qx5Cz.js.map → render-strategy-DN75XQJB.js.map} +1 -1
  139. package/dist/chunks/select.component-Bmop2_tX.js +2 -0
  140. package/dist/chunks/{select.component-BtBJUTF2.js.map → select.component-Bmop2_tX.js.map} +1 -1
  141. package/dist/chunks/{select.component-DfkLDyYt.js → select.component-DyXwbDeO.js} +11 -11
  142. package/dist/chunks/{select.component-DfkLDyYt.js.map → select.component-DyXwbDeO.js.map} +1 -1
  143. package/dist/chunks/{sortableList.component-B88NRcwx.js → sortableList.component-CbZAQrKl.js} +4 -4
  144. package/dist/chunks/{sortableList.component-B88NRcwx.js.map → sortableList.component-CbZAQrKl.js.map} +1 -1
  145. package/dist/chunks/{sortableList.component-B0lnVMXW.js → sortableList.component-b2t_K7ho.js} +3 -3
  146. package/dist/chunks/{sortableList.component-B0lnVMXW.js.map → sortableList.component-b2t_K7ho.js.map} +1 -1
  147. package/dist/chunks/{spinner.component-DWh3YuBJ.js → spinner.component-B1vU-FCd.js} +5 -5
  148. package/dist/chunks/{spinner.component-DWh3YuBJ.js.map → spinner.component-B1vU-FCd.js.map} +1 -1
  149. package/dist/chunks/spinner.component-CjQb7JjK.js +2 -0
  150. package/dist/chunks/{spinner.component-DVjwuOVs.js.map → spinner.component-CjQb7JjK.js.map} +1 -1
  151. package/dist/chunks/{styledAvatar.types-ClVT0QDd.js → styledAvatar.types-D8VWyELN.js} +2 -2
  152. package/dist/chunks/{styledAvatar.types-ClVT0QDd.js.map → styledAvatar.types-D8VWyELN.js.map} +1 -1
  153. package/dist/chunks/{styledAvatar.types-DamSY23W.js → styledAvatar.types-DstfmllC.js} +2 -2
  154. package/dist/chunks/{styledAvatar.types-DamSY23W.js.map → styledAvatar.types-DstfmllC.js.map} +1 -1
  155. package/dist/chunks/{swatch.types-B8OSJZ-a.js → swatch.types-DbgA3RWc.js} +2 -2
  156. package/dist/chunks/{swatch.types-B8OSJZ-a.js.map → swatch.types-DbgA3RWc.js.map} +1 -1
  157. package/dist/chunks/switch.component-ARZzuYrq.js +2 -0
  158. package/dist/chunks/{switch.component-DjbXfvMa.js.map → switch.component-ARZzuYrq.js.map} +1 -1
  159. package/dist/chunks/{switch.component-BEkYEUKY.js → switch.component-DO9fxk_-.js} +17 -17
  160. package/dist/chunks/{switch.component-BEkYEUKY.js.map → switch.component-DO9fxk_-.js.map} +1 -1
  161. package/dist/chunks/{tabs.component-Bmg0kB-p.js → tabs.component-BWTDtLWN.js} +36 -36
  162. package/dist/chunks/{tabs.component-Bmg0kB-p.js.map → tabs.component-BWTDtLWN.js.map} +1 -1
  163. package/dist/chunks/{tabs.component-Bn_7bf0X.js → tabs.component-DRpNF8p-.js} +2 -2
  164. package/dist/chunks/{tabs.component-Bn_7bf0X.js.map → tabs.component-DRpNF8p-.js.map} +1 -1
  165. package/dist/chunks/tagBlock.component-Bahf1v33.js +2 -0
  166. package/dist/chunks/{tagBlock.component-x3oh7uht.js.map → tagBlock.component-Bahf1v33.js.map} +1 -1
  167. package/dist/chunks/{tagBlock.component-3ypfB6tz.js → tagBlock.component-C3BrjwNJ.js} +16 -17
  168. package/dist/chunks/{tagBlock.component-3ypfB6tz.js.map → tagBlock.component-C3BrjwNJ.js.map} +1 -1
  169. package/dist/chunks/{textInput.component-B1--78Mp.js → textInput.component-DDo9eUvp.js} +2 -2
  170. package/dist/chunks/{textInput.component-B1--78Mp.js.map → textInput.component-DDo9eUvp.js.map} +1 -1
  171. package/dist/chunks/{textInput.component-D9Dl8cP3.js → textInput.component-LPGbDHwZ.js} +8 -8
  172. package/dist/chunks/{textInput.component-D9Dl8cP3.js.map → textInput.component-LPGbDHwZ.js.map} +1 -1
  173. package/dist/chunks/{textarea.component-BxC5lB4t.js → textarea.component-5Ou5g_MJ.js} +2 -2
  174. package/dist/chunks/{textarea.component-BxC5lB4t.js.map → textarea.component-5Ou5g_MJ.js.map} +1 -1
  175. package/dist/chunks/{textarea.component-DZXDIbZg.js → textarea.component-ClYqhTJX.js} +13 -13
  176. package/dist/chunks/{textarea.component-DZXDIbZg.js.map → textarea.component-ClYqhTJX.js.map} +1 -1
  177. package/dist/chunks/theme.provider-DWJTtjw5.js +26 -0
  178. package/dist/chunks/{theme.provider-CpxxMiXd.js.map → theme.provider-DWJTtjw5.js.map} +1 -1
  179. package/dist/chunks/{theme.provider-DmGvaymX.js → theme.provider-vZgSb-q5.js} +268 -271
  180. package/dist/chunks/{theme.provider-DmGvaymX.js.map → theme.provider-vZgSb-q5.js.map} +1 -1
  181. package/dist/chunks/{timePicker.component-DnFPWIcy.js → timePicker.component-AgnrqtFu.js} +5 -5
  182. package/dist/chunks/{timePicker.component-DnFPWIcy.js.map → timePicker.component-AgnrqtFu.js.map} +1 -1
  183. package/dist/chunks/{timePicker.component-F9o8MNWu.js → timePicker.component-Bx0fHgrN.js} +2 -2
  184. package/dist/chunks/{timePicker.component-F9o8MNWu.js.map → timePicker.component-Bx0fHgrN.js.map} +1 -1
  185. package/dist/chunks/{timeRange.component-Bj-9ynHS.js → timeRange.component-B3Nv-nLB.js} +2 -2
  186. package/dist/chunks/{timeRange.component-Bj-9ynHS.js.map → timeRange.component-B3Nv-nLB.js.map} +1 -1
  187. package/dist/chunks/{timeRange.component-Bh2FiRi8.js → timeRange.component-C14RiUcS.js} +2 -2
  188. package/dist/chunks/{timeRange.component-Bh2FiRi8.js.map → timeRange.component-C14RiUcS.js.map} +1 -1
  189. package/dist/chunks/timestamp.component-DEx0cUkA.js +2 -0
  190. package/dist/chunks/{timestamp.component-CfjeVkJs.js.map → timestamp.component-DEx0cUkA.js.map} +1 -1
  191. package/dist/chunks/{timestamp.component-BKr4dkxB.js → timestamp.component-Kxi_bKp1.js} +2 -2
  192. package/dist/chunks/{timestamp.component-BKr4dkxB.js.map → timestamp.component-Kxi_bKp1.js.map} +1 -1
  193. package/dist/chunks/{toaster.records-Cf8bpHo8.js → toaster.records-CKeu_PyD.js} +2 -2
  194. package/dist/chunks/{toaster.records-Cf8bpHo8.js.map → toaster.records-CKeu_PyD.js.map} +1 -1
  195. package/dist/chunks/{typography.records-Xg59taw9.js → typography.records-XkUlmiSk.js} +2 -2
  196. package/dist/chunks/{typography.records-Xg59taw9.js.map → typography.records-XkUlmiSk.js.map} +1 -1
  197. package/dist/chunks/{use-field-context-C4IwmN39.js → use-field-context-1gfMkjvo.js} +2 -2
  198. package/dist/chunks/{use-field-context-C4IwmN39.js.map → use-field-context-1gfMkjvo.js.map} +1 -1
  199. package/dist/chunks/{use-field-context-xBX4EpFz.js → use-field-context-DnTe9gdc.js} +2 -2
  200. package/dist/chunks/{use-field-context-xBX4EpFz.js.map → use-field-context-DnTe9gdc.js.map} +1 -1
  201. package/dist/chunks/{withFormControl-KA9fAHrR.js → withFormControl-DfqMqkSU.js} +42 -42
  202. package/dist/chunks/{withFormControl-KA9fAHrR.js.map → withFormControl-DfqMqkSU.js.map} +1 -1
  203. package/dist/chunks/withFormControl-kyGjRFza.js +2 -0
  204. package/dist/chunks/{withFormControl-BHjeRAfg.js.map → withFormControl-kyGjRFza.js.map} +1 -1
  205. package/dist/chunks/{wrap-CYgSj8wY.js → wrap-B8tBNeBY.js} +2 -2
  206. package/dist/chunks/{wrap-CYgSj8wY.js.map → wrap-B8tBNeBY.js.map} +1 -1
  207. package/dist/cjs/chakra/index.cjs +1 -1
  208. package/dist/cjs/chakra/index.cjs.map +1 -1
  209. package/dist/cjs/components/Alert/index.cjs +1 -1
  210. package/dist/cjs/components/Avatar/index.cjs +1 -1
  211. package/dist/cjs/components/AvatarGroup/index.cjs +1 -1
  212. package/dist/cjs/components/Button/index.cjs +1 -1
  213. package/dist/cjs/components/ButtonGroup/index.cjs +1 -1
  214. package/dist/cjs/components/CharacterCounter/index.cjs +1 -1
  215. package/dist/cjs/components/Checkbox/index.cjs +1 -1
  216. package/dist/cjs/components/CheckboxGroup/index.cjs +1 -1
  217. package/dist/cjs/components/ConversationCard/index.cjs +1 -1
  218. package/dist/cjs/components/DatePicker/index.cjs +1 -1
  219. package/dist/cjs/components/Heading/index.cjs +1 -1
  220. package/dist/cjs/components/Icon/index.cjs +1 -1
  221. package/dist/cjs/components/Link/index.cjs +1 -1
  222. package/dist/cjs/components/Menu/index.cjs +1 -1
  223. package/dist/cjs/components/Modal/index.cjs +1 -1
  224. package/dist/cjs/components/PinInput/index.cjs +1 -1
  225. package/dist/cjs/components/Popover/index.cjs +1 -1
  226. package/dist/cjs/components/RadioGroup/index.cjs +1 -1
  227. package/dist/cjs/components/RatingDots/index.cjs +1 -1
  228. package/dist/cjs/components/Select/index.cjs +1 -1
  229. package/dist/cjs/components/SortableList/index.cjs +1 -1
  230. package/dist/cjs/components/Spinner/index.cjs +1 -1
  231. package/dist/cjs/components/StyledAvatar/index.cjs +1 -1
  232. package/dist/cjs/components/Switch/index.cjs +1 -1
  233. package/dist/cjs/components/Tabs/index.cjs +1 -1
  234. package/dist/cjs/components/TagBlock/index.cjs +1 -1
  235. package/dist/cjs/components/Text/index.cjs +1 -1
  236. package/dist/cjs/components/TextInput/index.cjs +1 -1
  237. package/dist/cjs/components/Textarea/index.cjs +1 -1
  238. package/dist/cjs/components/TimePicker/index.cjs +1 -1
  239. package/dist/cjs/components/TimeRange/index.cjs +1 -1
  240. package/dist/cjs/components/Timestamp/index.cjs +1 -1
  241. package/dist/cjs/components/Tooltip/index.cjs +1 -1
  242. package/dist/cjs/components/index.cjs +1 -1
  243. package/dist/cjs/index.cjs +1 -1
  244. package/dist/cjs/theme/index.cjs +1 -1
  245. package/dist/esm/chakra/index.js +196 -197
  246. package/dist/esm/chakra/index.js.map +1 -1
  247. package/dist/esm/components/Alert/index.js +1 -1
  248. package/dist/esm/components/Avatar/index.js +1 -1
  249. package/dist/esm/components/AvatarGroup/index.js +1 -1
  250. package/dist/esm/components/Button/index.js +1 -1
  251. package/dist/esm/components/ButtonGroup/index.js +1 -1
  252. package/dist/esm/components/CharacterCounter/index.js +1 -1
  253. package/dist/esm/components/Checkbox/index.js +1 -1
  254. package/dist/esm/components/CheckboxGroup/index.js +1 -1
  255. package/dist/esm/components/ConversationCard/index.js +1 -1
  256. package/dist/esm/components/DatePicker/index.js +1 -1
  257. package/dist/esm/components/Heading/index.js +1 -1
  258. package/dist/esm/components/Icon/index.js +1 -1
  259. package/dist/esm/components/Link/index.js +1 -1
  260. package/dist/esm/components/Logo/index.js +1 -1
  261. package/dist/esm/components/Menu/index.js +1 -1
  262. package/dist/esm/components/Modal/index.js +1 -1
  263. package/dist/esm/components/NotificationCounter/index.js +1 -1
  264. package/dist/esm/components/PinInput/index.js +1 -1
  265. package/dist/esm/components/Popover/index.js +1 -1
  266. package/dist/esm/components/RadioGroup/index.js +1 -1
  267. package/dist/esm/components/RatingDots/index.js +1 -1
  268. package/dist/esm/components/Select/index.js +1 -1
  269. package/dist/esm/components/SortableList/index.js +1 -1
  270. package/dist/esm/components/Spinner/index.js +1 -1
  271. package/dist/esm/components/StyledAvatar/index.js +1 -1
  272. package/dist/esm/components/Swatch/index.js +1 -1
  273. package/dist/esm/components/Switch/index.js +1 -1
  274. package/dist/esm/components/Tabs/index.js +1 -1
  275. package/dist/esm/components/TagBlock/index.js +1 -1
  276. package/dist/esm/components/Text/index.js +2 -2
  277. package/dist/esm/components/TextInput/index.js +1 -1
  278. package/dist/esm/components/Textarea/index.js +1 -1
  279. package/dist/esm/components/TimePicker/index.js +1 -1
  280. package/dist/esm/components/TimeRange/index.js +1 -1
  281. package/dist/esm/components/Timestamp/index.js +1 -1
  282. package/dist/esm/components/Toast/index.js +1 -1
  283. package/dist/esm/components/Tooltip/index.js +1 -1
  284. package/dist/esm/components/index.js +89 -91
  285. package/dist/esm/components/index.js.map +1 -1
  286. package/dist/esm/index.js +111 -113
  287. package/dist/esm/index.js.map +1 -1
  288. package/dist/esm/theme/index.js +1 -1
  289. package/dist/types/components/Modal/modal.recipe.d.ts +1 -1
  290. package/dist/types/components/Tooltip/tooltip.component.d.ts +1 -1
  291. package/dist/types/theme/tokens/shadows/shadows.config.d.ts +6 -6
  292. package/dist/types/theme/tokens/sizes/sizes.config.d.ts +2 -2
  293. package/dist/types/theme/tokens/zIndices/zIndices.config.d.ts +6 -6
  294. package/package.json +1 -1
  295. package/dist/chunks/alert.types-DbqCOYr5.js +0 -2
  296. package/dist/chunks/attr-BMs6szZx.js +0 -2
  297. package/dist/chunks/attr-BMs6szZx.js.map +0 -1
  298. package/dist/chunks/attr-sm10PXOd.js +0 -5
  299. package/dist/chunks/attr-sm10PXOd.js.map +0 -1
  300. package/dist/chunks/avatar.component-TAfT1LM1.js +0 -2
  301. package/dist/chunks/characterCounter.component-WOgGxKRq.js +0 -2
  302. package/dist/chunks/checkbox.component-nkydue0g.js +0 -2
  303. package/dist/chunks/conversationCard.component-2jO70XtY.js +0 -2
  304. package/dist/chunks/datePicker.component-CM8TIMiW.js +0 -15
  305. package/dist/chunks/group-Cv7AQw1b.js +0 -2
  306. package/dist/chunks/heading.component-Bu1JbEVn.js +0 -12
  307. package/dist/chunks/heading.component-Bu1JbEVn.js.map +0 -1
  308. package/dist/chunks/heading.component-wD7BkQLG.js +0 -2
  309. package/dist/chunks/heading.component-wD7BkQLG.js.map +0 -1
  310. package/dist/chunks/icon-button-DTZOklQ9.js +0 -119
  311. package/dist/chunks/icon-button-DTZOklQ9.js.map +0 -1
  312. package/dist/chunks/icon-button-DtjZ-SdQ.js +0 -2
  313. package/dist/chunks/icon-button-DtjZ-SdQ.js.map +0 -1
  314. package/dist/chunks/icon.component-C0e0UGBw.js +0 -2
  315. package/dist/chunks/icon.component-C0e0UGBw.js.map +0 -1
  316. package/dist/chunks/icon.component-DGNCL1Yc.js +0 -42
  317. package/dist/chunks/icon.component-DGNCL1Yc.js.map +0 -1
  318. package/dist/chunks/index-B4fjIWcA.js +0 -2
  319. package/dist/chunks/index-B4fjIWcA.js.map +0 -1
  320. package/dist/chunks/index-CBh9RZVL.js +0 -375
  321. package/dist/chunks/index-CBh9RZVL.js.map +0 -1
  322. package/dist/chunks/index-CFnNmQf0.js +0 -2
  323. package/dist/chunks/index-DZGYG5M4.js +0 -2
  324. package/dist/chunks/index-DZGYG5M4.js.map +0 -1
  325. package/dist/chunks/index-f4Ba8Pq7.js +0 -389
  326. package/dist/chunks/index-f4Ba8Pq7.js.map +0 -1
  327. package/dist/chunks/menu.component-DllVICUa.js +0 -2
  328. package/dist/chunks/popover-D0QoPsrG.js +0 -110
  329. package/dist/chunks/popover-D0QoPsrG.js.map +0 -1
  330. package/dist/chunks/popover-DPEovmxh.js +0 -2
  331. package/dist/chunks/popover-DPEovmxh.js.map +0 -1
  332. package/dist/chunks/popover-root-provider-BYJE5I-P.js +0 -2
  333. package/dist/chunks/popover-root-provider-BYJE5I-P.js.map +0 -1
  334. package/dist/chunks/popover-root-provider-Dt02njg5.js +0 -43
  335. package/dist/chunks/popover-root-provider-Dt02njg5.js.map +0 -1
  336. package/dist/chunks/popover.component-CLMQkEDo.js +0 -2
  337. package/dist/chunks/popover.component-CLMQkEDo.js.map +0 -1
  338. package/dist/chunks/popover.component-MbM0Ajnr.js +0 -264
  339. package/dist/chunks/popover.component-MbM0Ajnr.js.map +0 -1
  340. package/dist/chunks/popover.recipe-BLsWPsAa.js +0 -124
  341. package/dist/chunks/popover.recipe-BLsWPsAa.js.map +0 -1
  342. package/dist/chunks/popover.recipe-av5Jdn1r.js +0 -2
  343. package/dist/chunks/popover.recipe-av5Jdn1r.js.map +0 -1
  344. package/dist/chunks/portal-D2KZrSzZ.js +0 -2301
  345. package/dist/chunks/portal-D2KZrSzZ.js.map +0 -1
  346. package/dist/chunks/portal-TWtD47zg.js +0 -22
  347. package/dist/chunks/portal-TWtD47zg.js.map +0 -1
  348. package/dist/chunks/radioGroup.component-DAGmgDZ2.js +0 -2
  349. package/dist/chunks/ratingDots.component-BB7vPYdN.js +0 -2
  350. package/dist/chunks/select.component-BtBJUTF2.js +0 -2
  351. package/dist/chunks/spinner-BWqSIW6m.js +0 -8
  352. package/dist/chunks/spinner-BWqSIW6m.js.map +0 -1
  353. package/dist/chunks/spinner-BnpL14kK.js +0 -2
  354. package/dist/chunks/spinner-BnpL14kK.js.map +0 -1
  355. package/dist/chunks/spinner.component-DVjwuOVs.js +0 -2
  356. package/dist/chunks/switch.component-DjbXfvMa.js +0 -2
  357. package/dist/chunks/tagBlock.component-x3oh7uht.js +0 -2
  358. package/dist/chunks/theme.provider-CpxxMiXd.js +0 -26
  359. package/dist/chunks/timestamp.component-CfjeVkJs.js +0 -2
  360. package/dist/chunks/typography-Cqrokog3.js.map +0 -1
  361. package/dist/chunks/typography-CtiaGoJG.js +0 -2
  362. package/dist/chunks/typography-CtiaGoJG.js.map +0 -1
  363. package/dist/chunks/withFormControl-BHjeRAfg.js +0 -2
  364. package/dist/chunks/withTruncation-CQUQzrTa.js +0 -561
  365. package/dist/chunks/withTruncation-CQUQzrTa.js.map +0 -1
  366. package/dist/chunks/withTruncation-DguVvIAI.js +0 -2
  367. package/dist/chunks/withTruncation-DguVvIAI.js.map +0 -1
@@ -1,2301 +0,0 @@
1
- import { b2 as mt, a6 as Je, T as pt, b3 as re, b4 as Oe, b5 as yt, b6 as ie, aF as He, b7 as ht, K as vt, a1 as xt, c as wt, al as bt, an as Ot, r as Re, e as Qe, E as St, b8 as Et, l as Rt, b9 as At, a7 as Tt, F as _t, ba as Pt, G as Nt } from "./index-C323eOJV.js";
2
- import Ze, { useMemo as Ct, useRef as L, useLayoutEffect as Dt, useEffect as se, useState as Ae, memo as Mt, forwardRef as Lt, createElement as kt, Children as et, isValidElement as $t, cloneElement as Vt, createContext as Ht, useContext as zt, useCallback as Ut, useSyncExternalStore as Ft } from "react";
3
- import { j as ue } from "./jsx-runtime-C5mzlN2N.js";
4
- var fe = { exports: {} }, N = {};
5
- /**
6
- * @license React
7
- * react-dom.production.js
8
- *
9
- * Copyright (c) Meta Platforms, Inc. and affiliates.
10
- *
11
- * This source code is licensed under the MIT license found in the
12
- * LICENSE file in the root directory of this source tree.
13
- */
14
- var ze;
15
- function It() {
16
- if (ze) return N;
17
- ze = 1;
18
- var e = Ze;
19
- function t(u) {
20
- var s = "https://react.dev/errors/" + u;
21
- if (1 < arguments.length) {
22
- s += "?args[]=" + encodeURIComponent(arguments[1]);
23
- for (var g = 2; g < arguments.length; g++)
24
- s += "&args[]=" + encodeURIComponent(arguments[g]);
25
- }
26
- return "Minified React error #" + u + "; visit " + s + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
27
- }
28
- function r() {
29
- }
30
- var n = {
31
- d: {
32
- f: r,
33
- r: function() {
34
- throw Error(t(522));
35
- },
36
- D: r,
37
- C: r,
38
- L: r,
39
- m: r,
40
- X: r,
41
- S: r,
42
- M: r
43
- },
44
- p: 0,
45
- findDOMNode: null
46
- }, o = Symbol.for("react.portal");
47
- function c(u, s, g) {
48
- var a = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
49
- return {
50
- $$typeof: o,
51
- key: a == null ? null : "" + a,
52
- children: u,
53
- containerInfo: s,
54
- implementation: g
55
- };
56
- }
57
- var l = e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
58
- function f(u, s) {
59
- if (u === "font") return "";
60
- if (typeof s == "string")
61
- return s === "use-credentials" ? s : "";
62
- }
63
- return N.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = n, N.createPortal = function(u, s) {
64
- var g = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
65
- if (!s || s.nodeType !== 1 && s.nodeType !== 9 && s.nodeType !== 11)
66
- throw Error(t(299));
67
- return c(u, s, null, g);
68
- }, N.flushSync = function(u) {
69
- var s = l.T, g = n.p;
70
- try {
71
- if (l.T = null, n.p = 2, u) return u();
72
- } finally {
73
- l.T = s, n.p = g, n.d.f();
74
- }
75
- }, N.preconnect = function(u, s) {
76
- typeof u == "string" && (s ? (s = s.crossOrigin, s = typeof s == "string" ? s === "use-credentials" ? s : "" : void 0) : s = null, n.d.C(u, s));
77
- }, N.prefetchDNS = function(u) {
78
- typeof u == "string" && n.d.D(u);
79
- }, N.preinit = function(u, s) {
80
- if (typeof u == "string" && s && typeof s.as == "string") {
81
- var g = s.as, a = f(g, s.crossOrigin), i = typeof s.integrity == "string" ? s.integrity : void 0, d = typeof s.fetchPriority == "string" ? s.fetchPriority : void 0;
82
- g === "style" ? n.d.S(
83
- u,
84
- typeof s.precedence == "string" ? s.precedence : void 0,
85
- {
86
- crossOrigin: a,
87
- integrity: i,
88
- fetchPriority: d
89
- }
90
- ) : g === "script" && n.d.X(u, {
91
- crossOrigin: a,
92
- integrity: i,
93
- fetchPriority: d,
94
- nonce: typeof s.nonce == "string" ? s.nonce : void 0
95
- });
96
- }
97
- }, N.preinitModule = function(u, s) {
98
- if (typeof u == "string")
99
- if (typeof s == "object" && s !== null) {
100
- if (s.as == null || s.as === "script") {
101
- var g = f(
102
- s.as,
103
- s.crossOrigin
104
- );
105
- n.d.M(u, {
106
- crossOrigin: g,
107
- integrity: typeof s.integrity == "string" ? s.integrity : void 0,
108
- nonce: typeof s.nonce == "string" ? s.nonce : void 0
109
- });
110
- }
111
- } else s == null && n.d.M(u);
112
- }, N.preload = function(u, s) {
113
- if (typeof u == "string" && typeof s == "object" && s !== null && typeof s.as == "string") {
114
- var g = s.as, a = f(g, s.crossOrigin);
115
- n.d.L(u, g, {
116
- crossOrigin: a,
117
- integrity: typeof s.integrity == "string" ? s.integrity : void 0,
118
- nonce: typeof s.nonce == "string" ? s.nonce : void 0,
119
- type: typeof s.type == "string" ? s.type : void 0,
120
- fetchPriority: typeof s.fetchPriority == "string" ? s.fetchPriority : void 0,
121
- referrerPolicy: typeof s.referrerPolicy == "string" ? s.referrerPolicy : void 0,
122
- imageSrcSet: typeof s.imageSrcSet == "string" ? s.imageSrcSet : void 0,
123
- imageSizes: typeof s.imageSizes == "string" ? s.imageSizes : void 0,
124
- media: typeof s.media == "string" ? s.media : void 0
125
- });
126
- }
127
- }, N.preloadModule = function(u, s) {
128
- if (typeof u == "string")
129
- if (s) {
130
- var g = f(s.as, s.crossOrigin);
131
- n.d.m(u, {
132
- as: typeof s.as == "string" && s.as !== "script" ? s.as : void 0,
133
- crossOrigin: g,
134
- integrity: typeof s.integrity == "string" ? s.integrity : void 0
135
- });
136
- } else n.d.m(u);
137
- }, N.requestFormReset = function(u) {
138
- n.d.r(u);
139
- }, N.unstable_batchedUpdates = function(u, s) {
140
- return u(s);
141
- }, N.useFormState = function(u, s, g) {
142
- return l.H.useFormState(u, s, g);
143
- }, N.useFormStatus = function() {
144
- return l.H.useHostTransitionStatus();
145
- }, N.version = "19.1.0", N;
146
- }
147
- var C = {};
148
- /**
149
- * @license React
150
- * react-dom.development.js
151
- *
152
- * Copyright (c) Meta Platforms, Inc. and affiliates.
153
- *
154
- * This source code is licensed under the MIT license found in the
155
- * LICENSE file in the root directory of this source tree.
156
- */
157
- var Ue;
158
- function Wt() {
159
- return Ue || (Ue = 1, process.env.NODE_ENV !== "production" && function() {
160
- function e() {
161
- }
162
- function t(a) {
163
- return "" + a;
164
- }
165
- function r(a, i, d) {
166
- var m = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
167
- try {
168
- t(m);
169
- var p = !1;
170
- } catch {
171
- p = !0;
172
- }
173
- return p && (console.error(
174
- "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
175
- typeof Symbol == "function" && Symbol.toStringTag && m[Symbol.toStringTag] || m.constructor.name || "Object"
176
- ), t(m)), {
177
- $$typeof: s,
178
- key: m == null ? null : "" + m,
179
- children: a,
180
- containerInfo: i,
181
- implementation: d
182
- };
183
- }
184
- function n(a, i) {
185
- if (a === "font") return "";
186
- if (typeof i == "string")
187
- return i === "use-credentials" ? i : "";
188
- }
189
- function o(a) {
190
- return a === null ? "`null`" : a === void 0 ? "`undefined`" : a === "" ? "an empty string" : 'something with type "' + typeof a + '"';
191
- }
192
- function c(a) {
193
- return a === null ? "`null`" : a === void 0 ? "`undefined`" : a === "" ? "an empty string" : typeof a == "string" ? JSON.stringify(a) : typeof a == "number" ? "`" + a + "`" : 'something with type "' + typeof a + '"';
194
- }
195
- function l() {
196
- var a = g.H;
197
- return a === null && console.error(
198
- `Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
199
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
200
- 2. You might be breaking the Rules of Hooks
201
- 3. You might have more than one copy of React in the same app
202
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`
203
- ), a;
204
- }
205
- typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
206
- var f = Ze, u = {
207
- d: {
208
- f: e,
209
- r: function() {
210
- throw Error(
211
- "Invalid form element. requestFormReset must be passed a form that was rendered by React."
212
- );
213
- },
214
- D: e,
215
- C: e,
216
- L: e,
217
- m: e,
218
- X: e,
219
- S: e,
220
- M: e
221
- },
222
- p: 0,
223
- findDOMNode: null
224
- }, s = Symbol.for("react.portal"), g = f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
225
- typeof Map == "function" && Map.prototype != null && typeof Map.prototype.forEach == "function" && typeof Set == "function" && Set.prototype != null && typeof Set.prototype.clear == "function" && typeof Set.prototype.forEach == "function" || console.error(
226
- "React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"
227
- ), C.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = u, C.createPortal = function(a, i) {
228
- var d = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
229
- if (!i || i.nodeType !== 1 && i.nodeType !== 9 && i.nodeType !== 11)
230
- throw Error("Target container is not a DOM element.");
231
- return r(a, i, null, d);
232
- }, C.flushSync = function(a) {
233
- var i = g.T, d = u.p;
234
- try {
235
- if (g.T = null, u.p = 2, a)
236
- return a();
237
- } finally {
238
- g.T = i, u.p = d, u.d.f() && console.error(
239
- "flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."
240
- );
241
- }
242
- }, C.preconnect = function(a, i) {
243
- typeof a == "string" && a ? i != null && typeof i != "object" ? console.error(
244
- "ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",
245
- c(i)
246
- ) : i != null && typeof i.crossOrigin != "string" && console.error(
247
- "ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",
248
- o(i.crossOrigin)
249
- ) : console.error(
250
- "ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
251
- o(a)
252
- ), typeof a == "string" && (i ? (i = i.crossOrigin, i = typeof i == "string" ? i === "use-credentials" ? i : "" : void 0) : i = null, u.d.C(a, i));
253
- }, C.prefetchDNS = function(a) {
254
- if (typeof a != "string" || !a)
255
- console.error(
256
- "ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
257
- o(a)
258
- );
259
- else if (1 < arguments.length) {
260
- var i = arguments[1];
261
- typeof i == "object" && i.hasOwnProperty("crossOrigin") ? console.error(
262
- "ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",
263
- c(i)
264
- ) : console.error(
265
- "ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",
266
- c(i)
267
- );
268
- }
269
- typeof a == "string" && u.d.D(a);
270
- }, C.preinit = function(a, i) {
271
- if (typeof a == "string" && a ? i == null || typeof i != "object" ? console.error(
272
- "ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",
273
- c(i)
274
- ) : i.as !== "style" && i.as !== "script" && console.error(
275
- 'ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',
276
- c(i.as)
277
- ) : console.error(
278
- "ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
279
- o(a)
280
- ), typeof a == "string" && i && typeof i.as == "string") {
281
- var d = i.as, m = n(d, i.crossOrigin), p = typeof i.integrity == "string" ? i.integrity : void 0, y = typeof i.fetchPriority == "string" ? i.fetchPriority : void 0;
282
- d === "style" ? u.d.S(
283
- a,
284
- typeof i.precedence == "string" ? i.precedence : void 0,
285
- {
286
- crossOrigin: m,
287
- integrity: p,
288
- fetchPriority: y
289
- }
290
- ) : d === "script" && u.d.X(a, {
291
- crossOrigin: m,
292
- integrity: p,
293
- fetchPriority: y,
294
- nonce: typeof i.nonce == "string" ? i.nonce : void 0
295
- });
296
- }
297
- }, C.preinitModule = function(a, i) {
298
- var d = "";
299
- if (typeof a == "string" && a || (d += " The `href` argument encountered was " + o(a) + "."), i !== void 0 && typeof i != "object" ? d += " The `options` argument encountered was " + o(i) + "." : i && "as" in i && i.as !== "script" && (d += " The `as` option encountered was " + c(i.as) + "."), d)
300
- console.error(
301
- "ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",
302
- d
303
- );
304
- else
305
- switch (d = i && typeof i.as == "string" ? i.as : "script", d) {
306
- case "script":
307
- break;
308
- default:
309
- d = c(d), console.error(
310
- 'ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',
311
- d,
312
- a
313
- );
314
- }
315
- typeof a == "string" && (typeof i == "object" && i !== null ? (i.as == null || i.as === "script") && (d = n(
316
- i.as,
317
- i.crossOrigin
318
- ), u.d.M(a, {
319
- crossOrigin: d,
320
- integrity: typeof i.integrity == "string" ? i.integrity : void 0,
321
- nonce: typeof i.nonce == "string" ? i.nonce : void 0
322
- })) : i == null && u.d.M(a));
323
- }, C.preload = function(a, i) {
324
- var d = "";
325
- if (typeof a == "string" && a || (d += " The `href` argument encountered was " + o(a) + "."), i == null || typeof i != "object" ? d += " The `options` argument encountered was " + o(i) + "." : typeof i.as == "string" && i.as || (d += " The `as` option encountered was " + o(i.as) + "."), d && console.error(
326
- 'ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',
327
- d
328
- ), typeof a == "string" && typeof i == "object" && i !== null && typeof i.as == "string") {
329
- d = i.as;
330
- var m = n(
331
- d,
332
- i.crossOrigin
333
- );
334
- u.d.L(a, d, {
335
- crossOrigin: m,
336
- integrity: typeof i.integrity == "string" ? i.integrity : void 0,
337
- nonce: typeof i.nonce == "string" ? i.nonce : void 0,
338
- type: typeof i.type == "string" ? i.type : void 0,
339
- fetchPriority: typeof i.fetchPriority == "string" ? i.fetchPriority : void 0,
340
- referrerPolicy: typeof i.referrerPolicy == "string" ? i.referrerPolicy : void 0,
341
- imageSrcSet: typeof i.imageSrcSet == "string" ? i.imageSrcSet : void 0,
342
- imageSizes: typeof i.imageSizes == "string" ? i.imageSizes : void 0,
343
- media: typeof i.media == "string" ? i.media : void 0
344
- });
345
- }
346
- }, C.preloadModule = function(a, i) {
347
- var d = "";
348
- typeof a == "string" && a || (d += " The `href` argument encountered was " + o(a) + "."), i !== void 0 && typeof i != "object" ? d += " The `options` argument encountered was " + o(i) + "." : i && "as" in i && typeof i.as != "string" && (d += " The `as` option encountered was " + o(i.as) + "."), d && console.error(
349
- 'ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',
350
- d
351
- ), typeof a == "string" && (i ? (d = n(
352
- i.as,
353
- i.crossOrigin
354
- ), u.d.m(a, {
355
- as: typeof i.as == "string" && i.as !== "script" ? i.as : void 0,
356
- crossOrigin: d,
357
- integrity: typeof i.integrity == "string" ? i.integrity : void 0
358
- })) : u.d.m(a));
359
- }, C.requestFormReset = function(a) {
360
- u.d.r(a);
361
- }, C.unstable_batchedUpdates = function(a, i) {
362
- return a(i);
363
- }, C.useFormState = function(a, i, d) {
364
- return l().useFormState(a, i, d);
365
- }, C.useFormStatus = function() {
366
- return l().useHostTransitionStatus();
367
- }, C.version = "19.1.0", typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
368
- }()), C;
369
- }
370
- var Fe;
371
- function jt() {
372
- if (Fe) return fe.exports;
373
- Fe = 1;
374
- function e() {
375
- if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) {
376
- if (process.env.NODE_ENV !== "production")
377
- throw new Error("^_^");
378
- try {
379
- __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e);
380
- } catch (t) {
381
- console.error(t);
382
- }
383
- }
384
- }
385
- return process.env.NODE_ENV === "production" ? (e(), fe.exports = It()) : fe.exports = Wt(), fe.exports;
386
- }
387
- var ve = jt();
388
- function Bt(e) {
389
- return new Proxy({}, {
390
- get(t, r) {
391
- return r === "style" ? (n) => e({ style: n }).style : e;
392
- }
393
- });
394
- }
395
- var qt = () => (e) => Array.from(new Set(e)), tt = typeof globalThis.document < "u" ? Dt : se;
396
- function me(e) {
397
- const t = e().value ?? e().defaultValue, r = e().isEqual ?? Object.is, [n] = Ae(t), [o, c] = Ae(n), l = e().value !== void 0, f = L(o);
398
- f.current = l ? e().value : o;
399
- const u = L(f.current);
400
- tt(() => {
401
- u.current = f.current;
402
- }, [o, e().value]);
403
- const s = (a) => {
404
- const i = u.current, d = ie(a) ? a(i) : a;
405
- e().debug && console.log(`[bindable > ${e().debug}] setValue`, { next: d, prev: i }), l || c(d), r(d, i) || e().onChange?.(d, i);
406
- };
407
- function g() {
408
- return l ? e().value : o;
409
- }
410
- return {
411
- initial: n,
412
- ref: f,
413
- get: g,
414
- set(a) {
415
- (e().sync ? ve.flushSync : yt)(() => s(a));
416
- },
417
- invoke(a, i) {
418
- e().onChange?.(a, i);
419
- },
420
- hash(a) {
421
- return e().hash?.(a) ?? String(a);
422
- }
423
- };
424
- }
425
- me.cleanup = (e) => {
426
- se(() => e, []);
427
- };
428
- me.ref = (e) => {
429
- const t = L(e);
430
- return {
431
- get: () => t.current,
432
- set: (r) => {
433
- t.current = r;
434
- }
435
- };
436
- };
437
- function Yt(e) {
438
- const t = L(e);
439
- return {
440
- get(r) {
441
- return t.current[r];
442
- },
443
- set(r, n) {
444
- t.current[r] = n;
445
- }
446
- };
447
- }
448
- var Gt = (e, t) => {
449
- const r = L(!1), n = L(!1);
450
- se(() => {
451
- if (r.current && n.current) return t();
452
- n.current = !0;
453
- }, [...(e ?? []).map((o) => typeof o == "function" ? o() : o)]), se(() => (r.current = !0, () => {
454
- r.current = !1;
455
- }), []);
456
- };
457
- function Kt(e, t = {}) {
458
- const r = Ct(() => {
459
- const { id: h, ids: x, getRootNode: R } = t;
460
- return mt({ id: h, ids: x, getRootNode: R });
461
- }, [t]), n = (...h) => {
462
- e.debug && console.log(...h);
463
- }, o = e.props?.({ props: Je(t), scope: r }) ?? t, c = Xt(o), l = e.context?.({
464
- prop: c,
465
- bindable: me,
466
- scope: r,
467
- flush: Ie,
468
- getContext() {
469
- return u;
470
- },
471
- getComputed() {
472
- return S;
473
- },
474
- getRefs() {
475
- return p;
476
- }
477
- }), f = nt(l), u = {
478
- get(h) {
479
- return f.current?.[h].ref.current;
480
- },
481
- set(h, x) {
482
- f.current?.[h].set(x);
483
- },
484
- initial(h) {
485
- return f.current?.[h].initial;
486
- },
487
- hash(h) {
488
- const x = f.current?.[h].get();
489
- return f.current?.[h].hash(x);
490
- }
491
- }, s = L(/* @__PURE__ */ new Map()), g = L(null), a = L(null), i = L({ type: "" }), d = () => ({
492
- ...i.current,
493
- current() {
494
- return i.current;
495
- },
496
- previous() {
497
- return a.current;
498
- }
499
- }), m = () => ({
500
- ...A,
501
- matches(...h) {
502
- return h.includes(A.ref.current);
503
- },
504
- hasTag(h) {
505
- return !!e.states[A.ref.current]?.tags?.includes(h);
506
- }
507
- }), p = Yt(e.refs?.({ prop: c, context: u }) ?? {}), y = () => ({
508
- state: m(),
509
- context: u,
510
- event: d(),
511
- prop: c,
512
- send: M,
513
- action: v,
514
- guard: w,
515
- track: Gt,
516
- refs: p,
517
- computed: S,
518
- flush: Ie,
519
- scope: r,
520
- choose: E
521
- }), v = (h) => {
522
- const x = ie(h) ? h(y()) : h;
523
- if (!x) return;
524
- const R = x.map((O) => {
525
- const T = e.implementations?.actions?.[O];
526
- return T || He(`[zag-js] No implementation found for action "${JSON.stringify(O)}"`), T;
527
- });
528
- for (const O of R)
529
- O?.(y());
530
- }, w = (h) => ie(h) ? h(y()) : e.implementations?.guards?.[h](y()), b = (h) => {
531
- const x = ie(h) ? h(y()) : h;
532
- if (!x) return;
533
- const R = x.map((T) => {
534
- const P = e.implementations?.effects?.[T];
535
- return P || He(`[zag-js] No implementation found for effect "${JSON.stringify(T)}"`), P;
536
- }), O = [];
537
- for (const T of R) {
538
- const P = T?.(y());
539
- P && O.push(P);
540
- }
541
- return () => O.forEach((T) => T?.());
542
- }, E = (h) => ht(h).find((x) => {
543
- let R = !x.guard;
544
- return vt(x.guard) ? R = !!w(x.guard) : ie(x.guard) && (R = x.guard(y())), R;
545
- }), S = (h) => {
546
- pt(e.computed, () => "[zag-js] No computed object found on machine");
547
- const x = e.computed[h];
548
- return x({
549
- context: u,
550
- event: d(),
551
- prop: c,
552
- refs: p,
553
- scope: r,
554
- computed: S
555
- });
556
- }, A = me(() => ({
557
- defaultValue: e.initialState({ prop: c }),
558
- onChange(h, x) {
559
- x && (s.current.get(x)?.(), s.current.delete(x)), x && v(e.states[x]?.exit), v(g.current?.actions);
560
- const R = b(e.states[h]?.effects);
561
- if (R && s.current.set(h, R), x === Oe) {
562
- v(e.entry);
563
- const O = b(e.effects);
564
- O && s.current.set(Oe, O);
565
- }
566
- v(e.states[h]?.entry);
567
- }
568
- })), _ = L(void 0), D = L(re.NotStarted);
569
- tt(() => {
570
- queueMicrotask(() => {
571
- const R = D.current === re.Started;
572
- D.current = re.Started, n(R ? "rehydrating..." : "initializing...");
573
- const O = _.current ?? A.initial;
574
- A.invoke(O, R ? A.get() : Oe);
575
- });
576
- const h = s.current, x = A.ref.current;
577
- return () => {
578
- n("unmounting..."), _.current = x, D.current = re.Stopped, h.forEach((R) => R?.()), s.current = /* @__PURE__ */ new Map(), g.current = null, queueMicrotask(() => {
579
- v(e.exit);
580
- });
581
- };
582
- }, []);
583
- const V = () => "ref" in A ? A.ref.current : A.get(), M = (h) => {
584
- queueMicrotask(() => {
585
- if (D.current !== re.Started) return;
586
- a.current = i.current, i.current = h, n("send", h);
587
- let x = V();
588
- const R = (
589
- // @ts-ignore
590
- e.states[x].on?.[h.type] ?? // @ts-ignore
591
- e.on?.[h.type]
592
- ), O = E(R);
593
- if (!O) return;
594
- g.current = O;
595
- const T = O.target ?? x;
596
- n("transition", O);
597
- const P = T !== x;
598
- P ? ve.flushSync(() => A.set(T)) : O.reenter && !P ? A.invoke(x, x) : v(O.actions ?? []);
599
- });
600
- };
601
- return e.watch?.(y()), {
602
- state: m(),
603
- send: M,
604
- context: u,
605
- prop: c,
606
- scope: r,
607
- refs: p,
608
- computed: S,
609
- event: d(),
610
- getStatus: () => D.current
611
- };
612
- }
613
- function nt(e) {
614
- const t = L(e);
615
- return t.current = e, t;
616
- }
617
- function Xt(e) {
618
- const t = nt(e);
619
- return function(n) {
620
- return t.current[n];
621
- };
622
- }
623
- function Ie(e) {
624
- queueMicrotask(() => {
625
- ve.flushSync(() => e());
626
- });
627
- }
628
- var xr = Bt((e) => e);
629
- function Jt(...e) {
630
- return (t) => {
631
- const r = [];
632
- for (const n of e)
633
- if (typeof n == "function") {
634
- const o = n(t);
635
- typeof o == "function" && r.push(o);
636
- } else n && (n.current = t);
637
- if (r.length)
638
- return () => {
639
- for (const n of r)
640
- n();
641
- };
642
- };
643
- }
644
- function Qt(e) {
645
- let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning;
646
- return r ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
647
- }
648
- const Se = (e) => {
649
- const t = Mt(
650
- Lt((r, n) => {
651
- const { asChild: o, children: c, ...l } = r;
652
- if (!o)
653
- return kt(e, { ...l, ref: n }, c);
654
- const f = et.only(c);
655
- if (!$t(f))
656
- return null;
657
- const u = Qt(f);
658
- return Vt(f, {
659
- ...xt(l, f.props),
660
- ref: n ? Jt(n, u) : u
661
- });
662
- })
663
- );
664
- return t.displayName = e.displayName || e.name, t;
665
- }, Zt = () => {
666
- const e = /* @__PURE__ */ new Map();
667
- return new Proxy(Se, {
668
- apply(t, r, n) {
669
- return Se(n[0]);
670
- },
671
- get(t, r) {
672
- const n = r;
673
- return e.has(n) || e.set(n, Se(n)), e.get(n);
674
- }
675
- });
676
- }, wr = Zt();
677
- function en(e, t) {
678
- return `${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`;
679
- }
680
- function Ne(e = {}) {
681
- const {
682
- name: t,
683
- strict: r = !0,
684
- hookName: n = "useContext",
685
- providerName: o = "Provider",
686
- errorMessage: c,
687
- defaultValue: l
688
- } = e, f = Ht(l);
689
- f.displayName = t;
690
- function u() {
691
- const s = zt(f);
692
- if (!s && r) {
693
- const g = new Error(c ?? en(n, o));
694
- throw g.name = "ContextError", Error.captureStackTrace?.(g, u), g;
695
- }
696
- return s;
697
- }
698
- return [f.Provider, u, f];
699
- }
700
- const [br, Or] = Ne({
701
- name: "PresenceContext",
702
- hookName: "usePresenceContext",
703
- providerName: "<PresenceProvider />"
704
- }), tn = () => (e, t) => t.reduce(
705
- (r, n) => {
706
- const [o, c] = r, l = n;
707
- return c[l] !== void 0 && (o[l] = c[l]), delete c[l], [o, c];
708
- },
709
- [{}, { ...e }]
710
- ), Sr = (e) => tn()(e, [
711
- "immediate",
712
- "lazyMount",
713
- "onExitComplete",
714
- "present",
715
- "skipAnimationOnMount",
716
- "unmountOnExit"
717
- ]);
718
- function nn(e, t) {
719
- const { state: r, send: n, context: o } = e, c = r.matches("mounted", "unmountSuspended");
720
- return {
721
- skip: !o.get("initial"),
722
- present: c,
723
- setNode(l) {
724
- l && n({ type: "NODE.SET", node: l });
725
- },
726
- unmount() {
727
- n({ type: "UNMOUNT" });
728
- }
729
- };
730
- }
731
- var rn = wt({
732
- props({ props: e }) {
733
- return { ...e, present: !!e.present };
734
- },
735
- initialState({ prop: e }) {
736
- return e("present") ? "mounted" : "unmounted";
737
- },
738
- refs() {
739
- return {
740
- node: null,
741
- styles: null
742
- };
743
- },
744
- context({ bindable: e }) {
745
- return {
746
- unmountAnimationName: e(() => ({ defaultValue: null })),
747
- prevAnimationName: e(() => ({ defaultValue: null })),
748
- present: e(() => ({ defaultValue: !1 })),
749
- initial: e(() => ({
750
- sync: !0,
751
- defaultValue: !1
752
- }))
753
- };
754
- },
755
- exit: ["clearInitial", "cleanupNode"],
756
- watch({ track: e, action: t, prop: r }) {
757
- e([() => r("present")], () => {
758
- t(["setInitial", "syncPresence"]);
759
- });
760
- },
761
- on: {
762
- "NODE.SET": {
763
- actions: ["setNode", "setStyles"]
764
- }
765
- },
766
- states: {
767
- mounted: {
768
- on: {
769
- UNMOUNT: {
770
- target: "unmounted",
771
- actions: ["clearPrevAnimationName", "invokeOnExitComplete"]
772
- },
773
- "UNMOUNT.SUSPEND": {
774
- target: "unmountSuspended"
775
- }
776
- }
777
- },
778
- unmountSuspended: {
779
- effects: ["trackAnimationEvents"],
780
- on: {
781
- MOUNT: {
782
- target: "mounted",
783
- actions: ["setPrevAnimationName"]
784
- },
785
- UNMOUNT: {
786
- target: "unmounted",
787
- actions: ["clearPrevAnimationName", "invokeOnExitComplete"]
788
- }
789
- }
790
- },
791
- unmounted: {
792
- on: {
793
- MOUNT: {
794
- target: "mounted",
795
- actions: ["setPrevAnimationName"]
796
- }
797
- }
798
- }
799
- },
800
- implementations: {
801
- actions: {
802
- setInitial: ({ context: e }) => {
803
- e.get("initial") || queueMicrotask(() => {
804
- e.set("initial", !0);
805
- });
806
- },
807
- clearInitial: ({ context: e }) => {
808
- e.set("initial", !1);
809
- },
810
- cleanupNode: ({ refs: e }) => {
811
- e.set("node", null), e.set("styles", null);
812
- },
813
- invokeOnExitComplete: ({ prop: e }) => {
814
- e("onExitComplete")?.();
815
- },
816
- setNode: ({ refs: e, event: t }) => {
817
- e.set("node", t.node);
818
- },
819
- setStyles: ({ refs: e, event: t }) => {
820
- e.set("styles", Qe(t.node));
821
- },
822
- syncPresence: ({ context: e, refs: t, send: r, prop: n }) => {
823
- const o = n("present");
824
- if (o)
825
- return r({ type: "MOUNT", src: "presence.changed" });
826
- const c = t.get("node");
827
- if (!o && c?.ownerDocument.visibilityState === "hidden")
828
- return r({ type: "UNMOUNT", src: "visibilitychange" });
829
- Re(() => {
830
- const l = de(t.get("styles"));
831
- e.set("unmountAnimationName", l), l === "none" || l === e.get("prevAnimationName") || t.get("styles")?.display === "none" || t.get("styles")?.animationDuration === "0s" ? r({ type: "UNMOUNT", src: "presence.changed" }) : r({ type: "UNMOUNT.SUSPEND" });
832
- });
833
- },
834
- setPrevAnimationName: ({ context: e, refs: t }) => {
835
- Re(() => {
836
- e.set("prevAnimationName", de(t.get("styles")));
837
- });
838
- },
839
- clearPrevAnimationName: ({ context: e }) => {
840
- e.set("prevAnimationName", null);
841
- }
842
- },
843
- effects: {
844
- trackAnimationEvents: ({ context: e, refs: t, send: r }) => {
845
- const n = t.get("node");
846
- if (!n) return;
847
- const o = (f) => {
848
- (f.composedPath?.()?.[0] ?? f.target) === n && e.set("prevAnimationName", de(t.get("styles")));
849
- }, c = (f) => {
850
- const u = de(t.get("styles"));
851
- St(f) === n && u === e.get("unmountAnimationName") && r({ type: "UNMOUNT", src: "animationend" });
852
- };
853
- n.addEventListener("animationstart", o), n.addEventListener("animationcancel", c), n.addEventListener("animationend", c);
854
- const l = bt(n, { animationFillMode: "forwards" });
855
- return () => {
856
- n.removeEventListener("animationstart", o), n.removeEventListener("animationcancel", c), n.removeEventListener("animationend", c), Ot(() => l());
857
- };
858
- }
859
- }
860
- }
861
- });
862
- function de(e) {
863
- return e?.animationName || "none";
864
- }
865
- qt()(["onExitComplete", "present", "immediate"]);
866
- function on(e, t = {}) {
867
- const { sync: r = !1 } = t, n = sn(e);
868
- return Ut(
869
- // biome-ignore lint/suspicious/noExplicitAny: <explanation>
870
- (...o) => r ? queueMicrotask(() => n.current?.(...o)) : n.current?.(...o),
871
- [r, n]
872
- );
873
- }
874
- function sn(e) {
875
- const t = L(e);
876
- return t.current = e, t;
877
- }
878
- const Er = (e = {}) => {
879
- const { lazyMount: t, unmountOnExit: r, present: n, skipAnimationOnMount: o = !1, ...c } = e, l = L(!1), f = {
880
- ...c,
881
- present: n,
882
- onExitComplete: on(e.onExitComplete)
883
- }, u = Kt(rn, f), s = nn(u);
884
- s.present && (l.current = !0);
885
- const g = !s.present && !l.current && t || r && !s.present && l.current, a = () => ({
886
- "data-state": s.skip && o ? void 0 : n ? "open" : "closed",
887
- hidden: !s.present
888
- });
889
- return {
890
- ref: s.setNode,
891
- getPresenceProps: a,
892
- present: s.present,
893
- unmounted: g
894
- };
895
- }, cn = ["top", "right", "bottom", "left"], X = Math.min, k = Math.max, pe = Math.round, ge = Math.floor, W = (e) => ({
896
- x: e,
897
- y: e
898
- }), an = {
899
- left: "right",
900
- right: "left",
901
- bottom: "top",
902
- top: "bottom"
903
- }, ln = {
904
- start: "end",
905
- end: "start"
906
- };
907
- function Te(e, t, r) {
908
- return k(e, X(t, r));
909
- }
910
- function Y(e, t) {
911
- return typeof e == "function" ? e(t) : e;
912
- }
913
- function G(e) {
914
- return e.split("-")[0];
915
- }
916
- function te(e) {
917
- return e.split("-")[1];
918
- }
919
- function Ce(e) {
920
- return e === "x" ? "y" : "x";
921
- }
922
- function De(e) {
923
- return e === "y" ? "height" : "width";
924
- }
925
- function I(e) {
926
- return ["top", "bottom"].includes(G(e)) ? "y" : "x";
927
- }
928
- function Me(e) {
929
- return Ce(I(e));
930
- }
931
- function un(e, t, r) {
932
- r === void 0 && (r = !1);
933
- const n = te(e), o = Me(e), c = De(o);
934
- let l = o === "x" ? n === (r ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
935
- return t.reference[c] > t.floating[c] && (l = ye(l)), [l, ye(l)];
936
- }
937
- function fn(e) {
938
- const t = ye(e);
939
- return [_e(e), t, _e(t)];
940
- }
941
- function _e(e) {
942
- return e.replace(/start|end/g, (t) => ln[t]);
943
- }
944
- function dn(e, t, r) {
945
- const n = ["left", "right"], o = ["right", "left"], c = ["top", "bottom"], l = ["bottom", "top"];
946
- switch (e) {
947
- case "top":
948
- case "bottom":
949
- return r ? t ? o : n : t ? n : o;
950
- case "left":
951
- case "right":
952
- return t ? c : l;
953
- default:
954
- return [];
955
- }
956
- }
957
- function gn(e, t, r, n) {
958
- const o = te(e);
959
- let c = dn(G(e), r === "start", n);
960
- return o && (c = c.map((l) => l + "-" + o), t && (c = c.concat(c.map(_e)))), c;
961
- }
962
- function ye(e) {
963
- return e.replace(/left|right|bottom|top/g, (t) => an[t]);
964
- }
965
- function mn(e) {
966
- return {
967
- top: 0,
968
- right: 0,
969
- bottom: 0,
970
- left: 0,
971
- ...e
972
- };
973
- }
974
- function rt(e) {
975
- return typeof e != "number" ? mn(e) : {
976
- top: e,
977
- right: e,
978
- bottom: e,
979
- left: e
980
- };
981
- }
982
- function he(e) {
983
- const {
984
- x: t,
985
- y: r,
986
- width: n,
987
- height: o
988
- } = e;
989
- return {
990
- width: n,
991
- height: o,
992
- top: r,
993
- left: t,
994
- right: t + n,
995
- bottom: r + o,
996
- x: t,
997
- y: r
998
- };
999
- }
1000
- function We(e, t, r) {
1001
- let {
1002
- reference: n,
1003
- floating: o
1004
- } = e;
1005
- const c = I(t), l = Me(t), f = De(l), u = G(t), s = c === "y", g = n.x + n.width / 2 - o.width / 2, a = n.y + n.height / 2 - o.height / 2, i = n[f] / 2 - o[f] / 2;
1006
- let d;
1007
- switch (u) {
1008
- case "top":
1009
- d = {
1010
- x: g,
1011
- y: n.y - o.height
1012
- };
1013
- break;
1014
- case "bottom":
1015
- d = {
1016
- x: g,
1017
- y: n.y + n.height
1018
- };
1019
- break;
1020
- case "right":
1021
- d = {
1022
- x: n.x + n.width,
1023
- y: a
1024
- };
1025
- break;
1026
- case "left":
1027
- d = {
1028
- x: n.x - o.width,
1029
- y: a
1030
- };
1031
- break;
1032
- default:
1033
- d = {
1034
- x: n.x,
1035
- y: n.y
1036
- };
1037
- }
1038
- switch (te(t)) {
1039
- case "start":
1040
- d[l] -= i * (r && s ? -1 : 1);
1041
- break;
1042
- case "end":
1043
- d[l] += i * (r && s ? -1 : 1);
1044
- break;
1045
- }
1046
- return d;
1047
- }
1048
- const pn = async (e, t, r) => {
1049
- const {
1050
- placement: n = "bottom",
1051
- strategy: o = "absolute",
1052
- middleware: c = [],
1053
- platform: l
1054
- } = r, f = c.filter(Boolean), u = await (l.isRTL == null ? void 0 : l.isRTL(t));
1055
- let s = await l.getElementRects({
1056
- reference: e,
1057
- floating: t,
1058
- strategy: o
1059
- }), {
1060
- x: g,
1061
- y: a
1062
- } = We(s, n, u), i = n, d = {}, m = 0;
1063
- for (let p = 0; p < f.length; p++) {
1064
- const {
1065
- name: y,
1066
- fn: v
1067
- } = f[p], {
1068
- x: w,
1069
- y: b,
1070
- data: E,
1071
- reset: S
1072
- } = await v({
1073
- x: g,
1074
- y: a,
1075
- initialPlacement: n,
1076
- placement: i,
1077
- strategy: o,
1078
- middlewareData: d,
1079
- rects: s,
1080
- platform: l,
1081
- elements: {
1082
- reference: e,
1083
- floating: t
1084
- }
1085
- });
1086
- g = w ?? g, a = b ?? a, d = {
1087
- ...d,
1088
- [y]: {
1089
- ...d[y],
1090
- ...E
1091
- }
1092
- }, S && m <= 50 && (m++, typeof S == "object" && (S.placement && (i = S.placement), S.rects && (s = S.rects === !0 ? await l.getElementRects({
1093
- reference: e,
1094
- floating: t,
1095
- strategy: o
1096
- }) : S.rects), {
1097
- x: g,
1098
- y: a
1099
- } = We(s, i, u)), p = -1);
1100
- }
1101
- return {
1102
- x: g,
1103
- y: a,
1104
- placement: i,
1105
- strategy: o,
1106
- middlewareData: d
1107
- };
1108
- };
1109
- async function ce(e, t) {
1110
- var r;
1111
- t === void 0 && (t = {});
1112
- const {
1113
- x: n,
1114
- y: o,
1115
- platform: c,
1116
- rects: l,
1117
- elements: f,
1118
- strategy: u
1119
- } = e, {
1120
- boundary: s = "clippingAncestors",
1121
- rootBoundary: g = "viewport",
1122
- elementContext: a = "floating",
1123
- altBoundary: i = !1,
1124
- padding: d = 0
1125
- } = Y(t, e), m = rt(d), y = f[i ? a === "floating" ? "reference" : "floating" : a], v = he(await c.getClippingRect({
1126
- element: (r = await (c.isElement == null ? void 0 : c.isElement(y))) == null || r ? y : y.contextElement || await (c.getDocumentElement == null ? void 0 : c.getDocumentElement(f.floating)),
1127
- boundary: s,
1128
- rootBoundary: g,
1129
- strategy: u
1130
- })), w = a === "floating" ? {
1131
- x: n,
1132
- y: o,
1133
- width: l.floating.width,
1134
- height: l.floating.height
1135
- } : l.reference, b = await (c.getOffsetParent == null ? void 0 : c.getOffsetParent(f.floating)), E = await (c.isElement == null ? void 0 : c.isElement(b)) ? await (c.getScale == null ? void 0 : c.getScale(b)) || {
1136
- x: 1,
1137
- y: 1
1138
- } : {
1139
- x: 1,
1140
- y: 1
1141
- }, S = he(c.convertOffsetParentRelativeRectToViewportRelativeRect ? await c.convertOffsetParentRelativeRectToViewportRelativeRect({
1142
- elements: f,
1143
- rect: w,
1144
- offsetParent: b,
1145
- strategy: u
1146
- }) : w);
1147
- return {
1148
- top: (v.top - S.top + m.top) / E.y,
1149
- bottom: (S.bottom - v.bottom + m.bottom) / E.y,
1150
- left: (v.left - S.left + m.left) / E.x,
1151
- right: (S.right - v.right + m.right) / E.x
1152
- };
1153
- }
1154
- const yn = (e) => ({
1155
- name: "arrow",
1156
- options: e,
1157
- async fn(t) {
1158
- const {
1159
- x: r,
1160
- y: n,
1161
- placement: o,
1162
- rects: c,
1163
- platform: l,
1164
- elements: f,
1165
- middlewareData: u
1166
- } = t, {
1167
- element: s,
1168
- padding: g = 0
1169
- } = Y(e, t) || {};
1170
- if (s == null)
1171
- return {};
1172
- const a = rt(g), i = {
1173
- x: r,
1174
- y: n
1175
- }, d = Me(o), m = De(d), p = await l.getDimensions(s), y = d === "y", v = y ? "top" : "left", w = y ? "bottom" : "right", b = y ? "clientHeight" : "clientWidth", E = c.reference[m] + c.reference[d] - i[d] - c.floating[m], S = i[d] - c.reference[d], A = await (l.getOffsetParent == null ? void 0 : l.getOffsetParent(s));
1176
- let _ = A ? A[b] : 0;
1177
- (!_ || !await (l.isElement == null ? void 0 : l.isElement(A))) && (_ = f.floating[b] || c.floating[m]);
1178
- const D = E / 2 - S / 2, V = _ / 2 - p[m] / 2 - 1, M = X(a[v], V), h = X(a[w], V), x = M, R = _ - p[m] - h, O = _ / 2 - p[m] / 2 + D, T = Te(x, O, R), P = !u.arrow && te(o) != null && O !== T && c.reference[m] / 2 - (O < x ? M : h) - p[m] / 2 < 0, H = P ? O < x ? O - x : O - R : 0;
1179
- return {
1180
- [d]: i[d] + H,
1181
- data: {
1182
- [d]: T,
1183
- centerOffset: O - T - H,
1184
- ...P && {
1185
- alignmentOffset: H
1186
- }
1187
- },
1188
- reset: P
1189
- };
1190
- }
1191
- }), hn = function(e) {
1192
- return e === void 0 && (e = {}), {
1193
- name: "flip",
1194
- options: e,
1195
- async fn(t) {
1196
- var r, n;
1197
- const {
1198
- placement: o,
1199
- middlewareData: c,
1200
- rects: l,
1201
- initialPlacement: f,
1202
- platform: u,
1203
- elements: s
1204
- } = t, {
1205
- mainAxis: g = !0,
1206
- crossAxis: a = !0,
1207
- fallbackPlacements: i,
1208
- fallbackStrategy: d = "bestFit",
1209
- fallbackAxisSideDirection: m = "none",
1210
- flipAlignment: p = !0,
1211
- ...y
1212
- } = Y(e, t);
1213
- if ((r = c.arrow) != null && r.alignmentOffset)
1214
- return {};
1215
- const v = G(o), w = I(f), b = G(f) === f, E = await (u.isRTL == null ? void 0 : u.isRTL(s.floating)), S = i || (b || !p ? [ye(f)] : fn(f)), A = m !== "none";
1216
- !i && A && S.push(...gn(f, p, m, E));
1217
- const _ = [f, ...S], D = await ce(t, y), V = [];
1218
- let M = ((n = c.flip) == null ? void 0 : n.overflows) || [];
1219
- if (g && V.push(D[v]), a) {
1220
- const O = un(o, l, E);
1221
- V.push(D[O[0]], D[O[1]]);
1222
- }
1223
- if (M = [...M, {
1224
- placement: o,
1225
- overflows: V
1226
- }], !V.every((O) => O <= 0)) {
1227
- var h, x;
1228
- const O = (((h = c.flip) == null ? void 0 : h.index) || 0) + 1, T = _[O];
1229
- if (T && (!(a === "alignment" ? w !== I(T) : !1) || // We leave the current main axis only if every placement on that axis
1230
- // overflows the main axis.
1231
- M.every((z) => z.overflows[0] > 0 && I(z.placement) === w)))
1232
- return {
1233
- data: {
1234
- index: O,
1235
- overflows: M
1236
- },
1237
- reset: {
1238
- placement: T
1239
- }
1240
- };
1241
- let P = (x = M.filter((H) => H.overflows[0] <= 0).sort((H, z) => H.overflows[1] - z.overflows[1])[0]) == null ? void 0 : x.placement;
1242
- if (!P)
1243
- switch (d) {
1244
- case "bestFit": {
1245
- var R;
1246
- const H = (R = M.filter((z) => {
1247
- if (A) {
1248
- const K = I(z.placement);
1249
- return K === w || // Create a bias to the `y` side axis due to horizontal
1250
- // reading directions favoring greater width.
1251
- K === "y";
1252
- }
1253
- return !0;
1254
- }).map((z) => [z.placement, z.overflows.filter((K) => K > 0).reduce((K, gt) => K + gt, 0)]).sort((z, K) => z[1] - K[1])[0]) == null ? void 0 : R[0];
1255
- H && (P = H);
1256
- break;
1257
- }
1258
- case "initialPlacement":
1259
- P = f;
1260
- break;
1261
- }
1262
- if (o !== P)
1263
- return {
1264
- reset: {
1265
- placement: P
1266
- }
1267
- };
1268
- }
1269
- return {};
1270
- }
1271
- };
1272
- };
1273
- function je(e, t) {
1274
- return {
1275
- top: e.top - t.height,
1276
- right: e.right - t.width,
1277
- bottom: e.bottom - t.height,
1278
- left: e.left - t.width
1279
- };
1280
- }
1281
- function Be(e) {
1282
- return cn.some((t) => e[t] >= 0);
1283
- }
1284
- const vn = function(e) {
1285
- return e === void 0 && (e = {}), {
1286
- name: "hide",
1287
- options: e,
1288
- async fn(t) {
1289
- const {
1290
- rects: r
1291
- } = t, {
1292
- strategy: n = "referenceHidden",
1293
- ...o
1294
- } = Y(e, t);
1295
- switch (n) {
1296
- case "referenceHidden": {
1297
- const c = await ce(t, {
1298
- ...o,
1299
- elementContext: "reference"
1300
- }), l = je(c, r.reference);
1301
- return {
1302
- data: {
1303
- referenceHiddenOffsets: l,
1304
- referenceHidden: Be(l)
1305
- }
1306
- };
1307
- }
1308
- case "escaped": {
1309
- const c = await ce(t, {
1310
- ...o,
1311
- altBoundary: !0
1312
- }), l = je(c, r.floating);
1313
- return {
1314
- data: {
1315
- escapedOffsets: l,
1316
- escaped: Be(l)
1317
- }
1318
- };
1319
- }
1320
- default:
1321
- return {};
1322
- }
1323
- }
1324
- };
1325
- };
1326
- async function xn(e, t) {
1327
- const {
1328
- placement: r,
1329
- platform: n,
1330
- elements: o
1331
- } = e, c = await (n.isRTL == null ? void 0 : n.isRTL(o.floating)), l = G(r), f = te(r), u = I(r) === "y", s = ["left", "top"].includes(l) ? -1 : 1, g = c && u ? -1 : 1, a = Y(t, e);
1332
- let {
1333
- mainAxis: i,
1334
- crossAxis: d,
1335
- alignmentAxis: m
1336
- } = typeof a == "number" ? {
1337
- mainAxis: a,
1338
- crossAxis: 0,
1339
- alignmentAxis: null
1340
- } : {
1341
- mainAxis: a.mainAxis || 0,
1342
- crossAxis: a.crossAxis || 0,
1343
- alignmentAxis: a.alignmentAxis
1344
- };
1345
- return f && typeof m == "number" && (d = f === "end" ? m * -1 : m), u ? {
1346
- x: d * g,
1347
- y: i * s
1348
- } : {
1349
- x: i * s,
1350
- y: d * g
1351
- };
1352
- }
1353
- const wn = function(e) {
1354
- return e === void 0 && (e = 0), {
1355
- name: "offset",
1356
- options: e,
1357
- async fn(t) {
1358
- var r, n;
1359
- const {
1360
- x: o,
1361
- y: c,
1362
- placement: l,
1363
- middlewareData: f
1364
- } = t, u = await xn(t, e);
1365
- return l === ((r = f.offset) == null ? void 0 : r.placement) && (n = f.arrow) != null && n.alignmentOffset ? {} : {
1366
- x: o + u.x,
1367
- y: c + u.y,
1368
- data: {
1369
- ...u,
1370
- placement: l
1371
- }
1372
- };
1373
- }
1374
- };
1375
- }, bn = function(e) {
1376
- return e === void 0 && (e = {}), {
1377
- name: "shift",
1378
- options: e,
1379
- async fn(t) {
1380
- const {
1381
- x: r,
1382
- y: n,
1383
- placement: o
1384
- } = t, {
1385
- mainAxis: c = !0,
1386
- crossAxis: l = !1,
1387
- limiter: f = {
1388
- fn: (y) => {
1389
- let {
1390
- x: v,
1391
- y: w
1392
- } = y;
1393
- return {
1394
- x: v,
1395
- y: w
1396
- };
1397
- }
1398
- },
1399
- ...u
1400
- } = Y(e, t), s = {
1401
- x: r,
1402
- y: n
1403
- }, g = await ce(t, u), a = I(G(o)), i = Ce(a);
1404
- let d = s[i], m = s[a];
1405
- if (c) {
1406
- const y = i === "y" ? "top" : "left", v = i === "y" ? "bottom" : "right", w = d + g[y], b = d - g[v];
1407
- d = Te(w, d, b);
1408
- }
1409
- if (l) {
1410
- const y = a === "y" ? "top" : "left", v = a === "y" ? "bottom" : "right", w = m + g[y], b = m - g[v];
1411
- m = Te(w, m, b);
1412
- }
1413
- const p = f.fn({
1414
- ...t,
1415
- [i]: d,
1416
- [a]: m
1417
- });
1418
- return {
1419
- ...p,
1420
- data: {
1421
- x: p.x - r,
1422
- y: p.y - n,
1423
- enabled: {
1424
- [i]: c,
1425
- [a]: l
1426
- }
1427
- }
1428
- };
1429
- }
1430
- };
1431
- }, On = function(e) {
1432
- return e === void 0 && (e = {}), {
1433
- options: e,
1434
- fn(t) {
1435
- const {
1436
- x: r,
1437
- y: n,
1438
- placement: o,
1439
- rects: c,
1440
- middlewareData: l
1441
- } = t, {
1442
- offset: f = 0,
1443
- mainAxis: u = !0,
1444
- crossAxis: s = !0
1445
- } = Y(e, t), g = {
1446
- x: r,
1447
- y: n
1448
- }, a = I(o), i = Ce(a);
1449
- let d = g[i], m = g[a];
1450
- const p = Y(f, t), y = typeof p == "number" ? {
1451
- mainAxis: p,
1452
- crossAxis: 0
1453
- } : {
1454
- mainAxis: 0,
1455
- crossAxis: 0,
1456
- ...p
1457
- };
1458
- if (u) {
1459
- const b = i === "y" ? "height" : "width", E = c.reference[i] - c.floating[b] + y.mainAxis, S = c.reference[i] + c.reference[b] - y.mainAxis;
1460
- d < E ? d = E : d > S && (d = S);
1461
- }
1462
- if (s) {
1463
- var v, w;
1464
- const b = i === "y" ? "width" : "height", E = ["top", "left"].includes(G(o)), S = c.reference[a] - c.floating[b] + (E && ((v = l.offset) == null ? void 0 : v[a]) || 0) + (E ? 0 : y.crossAxis), A = c.reference[a] + c.reference[b] + (E ? 0 : ((w = l.offset) == null ? void 0 : w[a]) || 0) - (E ? y.crossAxis : 0);
1465
- m < S ? m = S : m > A && (m = A);
1466
- }
1467
- return {
1468
- [i]: d,
1469
- [a]: m
1470
- };
1471
- }
1472
- };
1473
- }, Sn = function(e) {
1474
- return e === void 0 && (e = {}), {
1475
- name: "size",
1476
- options: e,
1477
- async fn(t) {
1478
- var r, n;
1479
- const {
1480
- placement: o,
1481
- rects: c,
1482
- platform: l,
1483
- elements: f
1484
- } = t, {
1485
- apply: u = () => {
1486
- },
1487
- ...s
1488
- } = Y(e, t), g = await ce(t, s), a = G(o), i = te(o), d = I(o) === "y", {
1489
- width: m,
1490
- height: p
1491
- } = c.floating;
1492
- let y, v;
1493
- a === "top" || a === "bottom" ? (y = a, v = i === (await (l.isRTL == null ? void 0 : l.isRTL(f.floating)) ? "start" : "end") ? "left" : "right") : (v = a, y = i === "end" ? "top" : "bottom");
1494
- const w = p - g.top - g.bottom, b = m - g.left - g.right, E = X(p - g[y], w), S = X(m - g[v], b), A = !t.middlewareData.shift;
1495
- let _ = E, D = S;
1496
- if ((r = t.middlewareData.shift) != null && r.enabled.x && (D = b), (n = t.middlewareData.shift) != null && n.enabled.y && (_ = w), A && !i) {
1497
- const M = k(g.left, 0), h = k(g.right, 0), x = k(g.top, 0), R = k(g.bottom, 0);
1498
- d ? D = m - 2 * (M !== 0 || h !== 0 ? M + h : k(g.left, g.right)) : _ = p - 2 * (x !== 0 || R !== 0 ? x + R : k(g.top, g.bottom));
1499
- }
1500
- await u({
1501
- ...t,
1502
- availableWidth: D,
1503
- availableHeight: _
1504
- });
1505
- const V = await l.getDimensions(f.floating);
1506
- return m !== V.width || p !== V.height ? {
1507
- reset: {
1508
- rects: !0
1509
- }
1510
- } : {};
1511
- }
1512
- };
1513
- };
1514
- function xe() {
1515
- return typeof window < "u";
1516
- }
1517
- function ne(e) {
1518
- return ot(e) ? (e.nodeName || "").toLowerCase() : "#document";
1519
- }
1520
- function $(e) {
1521
- var t;
1522
- return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
1523
- }
1524
- function B(e) {
1525
- var t;
1526
- return (t = (ot(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
1527
- }
1528
- function ot(e) {
1529
- return xe() ? e instanceof Node || e instanceof $(e).Node : !1;
1530
- }
1531
- function U(e) {
1532
- return xe() ? e instanceof Element || e instanceof $(e).Element : !1;
1533
- }
1534
- function j(e) {
1535
- return xe() ? e instanceof HTMLElement || e instanceof $(e).HTMLElement : !1;
1536
- }
1537
- function qe(e) {
1538
- return !xe() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof $(e).ShadowRoot;
1539
- }
1540
- function le(e) {
1541
- const {
1542
- overflow: t,
1543
- overflowX: r,
1544
- overflowY: n,
1545
- display: o
1546
- } = F(e);
1547
- return /auto|scroll|overlay|hidden|clip/.test(t + n + r) && !["inline", "contents"].includes(o);
1548
- }
1549
- function En(e) {
1550
- return ["table", "td", "th"].includes(ne(e));
1551
- }
1552
- function we(e) {
1553
- return [":popover-open", ":modal"].some((t) => {
1554
- try {
1555
- return e.matches(t);
1556
- } catch {
1557
- return !1;
1558
- }
1559
- });
1560
- }
1561
- function Le(e) {
1562
- const t = ke(), r = U(e) ? F(e) : e;
1563
- return ["transform", "translate", "scale", "rotate", "perspective"].some((n) => r[n] ? r[n] !== "none" : !1) || (r.containerType ? r.containerType !== "normal" : !1) || !t && (r.backdropFilter ? r.backdropFilter !== "none" : !1) || !t && (r.filter ? r.filter !== "none" : !1) || ["transform", "translate", "scale", "rotate", "perspective", "filter"].some((n) => (r.willChange || "").includes(n)) || ["paint", "layout", "strict", "content"].some((n) => (r.contain || "").includes(n));
1564
- }
1565
- function Rn(e) {
1566
- let t = J(e);
1567
- for (; j(t) && !ee(t); ) {
1568
- if (Le(t))
1569
- return t;
1570
- if (we(t))
1571
- return null;
1572
- t = J(t);
1573
- }
1574
- return null;
1575
- }
1576
- function ke() {
1577
- return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
1578
- }
1579
- function ee(e) {
1580
- return ["html", "body", "#document"].includes(ne(e));
1581
- }
1582
- function F(e) {
1583
- return $(e).getComputedStyle(e);
1584
- }
1585
- function be(e) {
1586
- return U(e) ? {
1587
- scrollLeft: e.scrollLeft,
1588
- scrollTop: e.scrollTop
1589
- } : {
1590
- scrollLeft: e.scrollX,
1591
- scrollTop: e.scrollY
1592
- };
1593
- }
1594
- function J(e) {
1595
- if (ne(e) === "html")
1596
- return e;
1597
- const t = (
1598
- // Step into the shadow DOM of the parent of a slotted node.
1599
- e.assignedSlot || // DOM Element detected.
1600
- e.parentNode || // ShadowRoot detected.
1601
- qe(e) && e.host || // Fallback.
1602
- B(e)
1603
- );
1604
- return qe(t) ? t.host : t;
1605
- }
1606
- function it(e) {
1607
- const t = J(e);
1608
- return ee(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : j(t) && le(t) ? t : it(t);
1609
- }
1610
- function ae(e, t, r) {
1611
- var n;
1612
- t === void 0 && (t = []), r === void 0 && (r = !0);
1613
- const o = it(e), c = o === ((n = e.ownerDocument) == null ? void 0 : n.body), l = $(o);
1614
- if (c) {
1615
- const f = Pe(l);
1616
- return t.concat(l, l.visualViewport || [], le(o) ? o : [], f && r ? ae(f) : []);
1617
- }
1618
- return t.concat(o, ae(o, [], r));
1619
- }
1620
- function Pe(e) {
1621
- return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
1622
- }
1623
- function st(e) {
1624
- const t = F(e);
1625
- let r = parseFloat(t.width) || 0, n = parseFloat(t.height) || 0;
1626
- const o = j(e), c = o ? e.offsetWidth : r, l = o ? e.offsetHeight : n, f = pe(r) !== c || pe(n) !== l;
1627
- return f && (r = c, n = l), {
1628
- width: r,
1629
- height: n,
1630
- $: f
1631
- };
1632
- }
1633
- function $e(e) {
1634
- return U(e) ? e : e.contextElement;
1635
- }
1636
- function Z(e) {
1637
- const t = $e(e);
1638
- if (!j(t))
1639
- return W(1);
1640
- const r = t.getBoundingClientRect(), {
1641
- width: n,
1642
- height: o,
1643
- $: c
1644
- } = st(t);
1645
- let l = (c ? pe(r.width) : r.width) / n, f = (c ? pe(r.height) : r.height) / o;
1646
- return (!l || !Number.isFinite(l)) && (l = 1), (!f || !Number.isFinite(f)) && (f = 1), {
1647
- x: l,
1648
- y: f
1649
- };
1650
- }
1651
- const An = /* @__PURE__ */ W(0);
1652
- function ct(e) {
1653
- const t = $(e);
1654
- return !ke() || !t.visualViewport ? An : {
1655
- x: t.visualViewport.offsetLeft,
1656
- y: t.visualViewport.offsetTop
1657
- };
1658
- }
1659
- function Tn(e, t, r) {
1660
- return t === void 0 && (t = !1), !r || t && r !== $(e) ? !1 : t;
1661
- }
1662
- function Q(e, t, r, n) {
1663
- t === void 0 && (t = !1), r === void 0 && (r = !1);
1664
- const o = e.getBoundingClientRect(), c = $e(e);
1665
- let l = W(1);
1666
- t && (n ? U(n) && (l = Z(n)) : l = Z(e));
1667
- const f = Tn(c, r, n) ? ct(c) : W(0);
1668
- let u = (o.left + f.x) / l.x, s = (o.top + f.y) / l.y, g = o.width / l.x, a = o.height / l.y;
1669
- if (c) {
1670
- const i = $(c), d = n && U(n) ? $(n) : n;
1671
- let m = i, p = Pe(m);
1672
- for (; p && n && d !== m; ) {
1673
- const y = Z(p), v = p.getBoundingClientRect(), w = F(p), b = v.left + (p.clientLeft + parseFloat(w.paddingLeft)) * y.x, E = v.top + (p.clientTop + parseFloat(w.paddingTop)) * y.y;
1674
- u *= y.x, s *= y.y, g *= y.x, a *= y.y, u += b, s += E, m = $(p), p = Pe(m);
1675
- }
1676
- }
1677
- return he({
1678
- width: g,
1679
- height: a,
1680
- x: u,
1681
- y: s
1682
- });
1683
- }
1684
- function Ve(e, t) {
1685
- const r = be(e).scrollLeft;
1686
- return t ? t.left + r : Q(B(e)).left + r;
1687
- }
1688
- function at(e, t, r) {
1689
- r === void 0 && (r = !1);
1690
- const n = e.getBoundingClientRect(), o = n.left + t.scrollLeft - (r ? 0 : (
1691
- // RTL <body> scrollbar.
1692
- Ve(e, n)
1693
- )), c = n.top + t.scrollTop;
1694
- return {
1695
- x: o,
1696
- y: c
1697
- };
1698
- }
1699
- function _n(e) {
1700
- let {
1701
- elements: t,
1702
- rect: r,
1703
- offsetParent: n,
1704
- strategy: o
1705
- } = e;
1706
- const c = o === "fixed", l = B(n), f = t ? we(t.floating) : !1;
1707
- if (n === l || f && c)
1708
- return r;
1709
- let u = {
1710
- scrollLeft: 0,
1711
- scrollTop: 0
1712
- }, s = W(1);
1713
- const g = W(0), a = j(n);
1714
- if ((a || !a && !c) && ((ne(n) !== "body" || le(l)) && (u = be(n)), j(n))) {
1715
- const d = Q(n);
1716
- s = Z(n), g.x = d.x + n.clientLeft, g.y = d.y + n.clientTop;
1717
- }
1718
- const i = l && !a && !c ? at(l, u, !0) : W(0);
1719
- return {
1720
- width: r.width * s.x,
1721
- height: r.height * s.y,
1722
- x: r.x * s.x - u.scrollLeft * s.x + g.x + i.x,
1723
- y: r.y * s.y - u.scrollTop * s.y + g.y + i.y
1724
- };
1725
- }
1726
- function Pn(e) {
1727
- return Array.from(e.getClientRects());
1728
- }
1729
- function Nn(e) {
1730
- const t = B(e), r = be(e), n = e.ownerDocument.body, o = k(t.scrollWidth, t.clientWidth, n.scrollWidth, n.clientWidth), c = k(t.scrollHeight, t.clientHeight, n.scrollHeight, n.clientHeight);
1731
- let l = -r.scrollLeft + Ve(e);
1732
- const f = -r.scrollTop;
1733
- return F(n).direction === "rtl" && (l += k(t.clientWidth, n.clientWidth) - o), {
1734
- width: o,
1735
- height: c,
1736
- x: l,
1737
- y: f
1738
- };
1739
- }
1740
- function Cn(e, t) {
1741
- const r = $(e), n = B(e), o = r.visualViewport;
1742
- let c = n.clientWidth, l = n.clientHeight, f = 0, u = 0;
1743
- if (o) {
1744
- c = o.width, l = o.height;
1745
- const s = ke();
1746
- (!s || s && t === "fixed") && (f = o.offsetLeft, u = o.offsetTop);
1747
- }
1748
- return {
1749
- width: c,
1750
- height: l,
1751
- x: f,
1752
- y: u
1753
- };
1754
- }
1755
- function Dn(e, t) {
1756
- const r = Q(e, !0, t === "fixed"), n = r.top + e.clientTop, o = r.left + e.clientLeft, c = j(e) ? Z(e) : W(1), l = e.clientWidth * c.x, f = e.clientHeight * c.y, u = o * c.x, s = n * c.y;
1757
- return {
1758
- width: l,
1759
- height: f,
1760
- x: u,
1761
- y: s
1762
- };
1763
- }
1764
- function Ye(e, t, r) {
1765
- let n;
1766
- if (t === "viewport")
1767
- n = Cn(e, r);
1768
- else if (t === "document")
1769
- n = Nn(B(e));
1770
- else if (U(t))
1771
- n = Dn(t, r);
1772
- else {
1773
- const o = ct(e);
1774
- n = {
1775
- x: t.x - o.x,
1776
- y: t.y - o.y,
1777
- width: t.width,
1778
- height: t.height
1779
- };
1780
- }
1781
- return he(n);
1782
- }
1783
- function lt(e, t) {
1784
- const r = J(e);
1785
- return r === t || !U(r) || ee(r) ? !1 : F(r).position === "fixed" || lt(r, t);
1786
- }
1787
- function Mn(e, t) {
1788
- const r = t.get(e);
1789
- if (r)
1790
- return r;
1791
- let n = ae(e, [], !1).filter((f) => U(f) && ne(f) !== "body"), o = null;
1792
- const c = F(e).position === "fixed";
1793
- let l = c ? J(e) : e;
1794
- for (; U(l) && !ee(l); ) {
1795
- const f = F(l), u = Le(l);
1796
- !u && f.position === "fixed" && (o = null), (c ? !u && !o : !u && f.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) || le(l) && !u && lt(e, l)) ? n = n.filter((g) => g !== l) : o = f, l = J(l);
1797
- }
1798
- return t.set(e, n), n;
1799
- }
1800
- function Ln(e) {
1801
- let {
1802
- element: t,
1803
- boundary: r,
1804
- rootBoundary: n,
1805
- strategy: o
1806
- } = e;
1807
- const l = [...r === "clippingAncestors" ? we(t) ? [] : Mn(t, this._c) : [].concat(r), n], f = l[0], u = l.reduce((s, g) => {
1808
- const a = Ye(t, g, o);
1809
- return s.top = k(a.top, s.top), s.right = X(a.right, s.right), s.bottom = X(a.bottom, s.bottom), s.left = k(a.left, s.left), s;
1810
- }, Ye(t, f, o));
1811
- return {
1812
- width: u.right - u.left,
1813
- height: u.bottom - u.top,
1814
- x: u.left,
1815
- y: u.top
1816
- };
1817
- }
1818
- function kn(e) {
1819
- const {
1820
- width: t,
1821
- height: r
1822
- } = st(e);
1823
- return {
1824
- width: t,
1825
- height: r
1826
- };
1827
- }
1828
- function $n(e, t, r) {
1829
- const n = j(t), o = B(t), c = r === "fixed", l = Q(e, !0, c, t);
1830
- let f = {
1831
- scrollLeft: 0,
1832
- scrollTop: 0
1833
- };
1834
- const u = W(0);
1835
- if (n || !n && !c)
1836
- if ((ne(t) !== "body" || le(o)) && (f = be(t)), n) {
1837
- const i = Q(t, !0, c, t);
1838
- u.x = i.x + t.clientLeft, u.y = i.y + t.clientTop;
1839
- } else o && (u.x = Ve(o));
1840
- const s = o && !n && !c ? at(o, f) : W(0), g = l.left + f.scrollLeft - u.x - s.x, a = l.top + f.scrollTop - u.y - s.y;
1841
- return {
1842
- x: g,
1843
- y: a,
1844
- width: l.width,
1845
- height: l.height
1846
- };
1847
- }
1848
- function Ee(e) {
1849
- return F(e).position === "static";
1850
- }
1851
- function Ge(e, t) {
1852
- if (!j(e) || F(e).position === "fixed")
1853
- return null;
1854
- if (t)
1855
- return t(e);
1856
- let r = e.offsetParent;
1857
- return B(e) === r && (r = r.ownerDocument.body), r;
1858
- }
1859
- function ut(e, t) {
1860
- const r = $(e);
1861
- if (we(e))
1862
- return r;
1863
- if (!j(e)) {
1864
- let o = J(e);
1865
- for (; o && !ee(o); ) {
1866
- if (U(o) && !Ee(o))
1867
- return o;
1868
- o = J(o);
1869
- }
1870
- return r;
1871
- }
1872
- let n = Ge(e, t);
1873
- for (; n && En(n) && Ee(n); )
1874
- n = Ge(n, t);
1875
- return n && ee(n) && Ee(n) && !Le(n) ? r : n || Rn(e) || r;
1876
- }
1877
- const Vn = async function(e) {
1878
- const t = this.getOffsetParent || ut, r = this.getDimensions, n = await r(e.floating);
1879
- return {
1880
- reference: $n(e.reference, await t(e.floating), e.strategy),
1881
- floating: {
1882
- x: 0,
1883
- y: 0,
1884
- width: n.width,
1885
- height: n.height
1886
- }
1887
- };
1888
- };
1889
- function Hn(e) {
1890
- return F(e).direction === "rtl";
1891
- }
1892
- const zn = {
1893
- convertOffsetParentRelativeRectToViewportRelativeRect: _n,
1894
- getDocumentElement: B,
1895
- getClippingRect: Ln,
1896
- getOffsetParent: ut,
1897
- getElementRects: Vn,
1898
- getClientRects: Pn,
1899
- getDimensions: kn,
1900
- getScale: Z,
1901
- isElement: U,
1902
- isRTL: Hn
1903
- };
1904
- function ft(e, t) {
1905
- return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
1906
- }
1907
- function Un(e, t) {
1908
- let r = null, n;
1909
- const o = B(e);
1910
- function c() {
1911
- var f;
1912
- clearTimeout(n), (f = r) == null || f.disconnect(), r = null;
1913
- }
1914
- function l(f, u) {
1915
- f === void 0 && (f = !1), u === void 0 && (u = 1), c();
1916
- const s = e.getBoundingClientRect(), {
1917
- left: g,
1918
- top: a,
1919
- width: i,
1920
- height: d
1921
- } = s;
1922
- if (f || t(), !i || !d)
1923
- return;
1924
- const m = ge(a), p = ge(o.clientWidth - (g + i)), y = ge(o.clientHeight - (a + d)), v = ge(g), b = {
1925
- rootMargin: -m + "px " + -p + "px " + -y + "px " + -v + "px",
1926
- threshold: k(0, X(1, u)) || 1
1927
- };
1928
- let E = !0;
1929
- function S(A) {
1930
- const _ = A[0].intersectionRatio;
1931
- if (_ !== u) {
1932
- if (!E)
1933
- return l();
1934
- _ ? l(!1, _) : n = setTimeout(() => {
1935
- l(!1, 1e-7);
1936
- }, 1e3);
1937
- }
1938
- _ === 1 && !ft(s, e.getBoundingClientRect()) && l(), E = !1;
1939
- }
1940
- try {
1941
- r = new IntersectionObserver(S, {
1942
- ...b,
1943
- // Handle <iframe>s
1944
- root: o.ownerDocument
1945
- });
1946
- } catch {
1947
- r = new IntersectionObserver(S, b);
1948
- }
1949
- r.observe(e);
1950
- }
1951
- return l(!0), c;
1952
- }
1953
- function Fn(e, t, r, n) {
1954
- n === void 0 && (n = {});
1955
- const {
1956
- ancestorScroll: o = !0,
1957
- ancestorResize: c = !0,
1958
- elementResize: l = typeof ResizeObserver == "function",
1959
- layoutShift: f = typeof IntersectionObserver == "function",
1960
- animationFrame: u = !1
1961
- } = n, s = $e(e), g = o || c ? [...s ? ae(s) : [], ...ae(t)] : [];
1962
- g.forEach((v) => {
1963
- o && v.addEventListener("scroll", r, {
1964
- passive: !0
1965
- }), c && v.addEventListener("resize", r);
1966
- });
1967
- const a = s && f ? Un(s, r) : null;
1968
- let i = -1, d = null;
1969
- l && (d = new ResizeObserver((v) => {
1970
- let [w] = v;
1971
- w && w.target === s && d && (d.unobserve(t), cancelAnimationFrame(i), i = requestAnimationFrame(() => {
1972
- var b;
1973
- (b = d) == null || b.observe(t);
1974
- })), r();
1975
- }), s && !u && d.observe(s), d.observe(t));
1976
- let m, p = u ? Q(e) : null;
1977
- u && y();
1978
- function y() {
1979
- const v = Q(e);
1980
- p && !ft(p, v) && r(), p = v, m = requestAnimationFrame(y);
1981
- }
1982
- return r(), () => {
1983
- var v;
1984
- g.forEach((w) => {
1985
- o && w.removeEventListener("scroll", r), c && w.removeEventListener("resize", r);
1986
- }), a?.(), (v = d) == null || v.disconnect(), d = null, u && cancelAnimationFrame(m);
1987
- };
1988
- }
1989
- const In = wn, Wn = bn, jn = hn, Bn = Sn, qn = vn, Yn = yn, Gn = On, Kn = (e, t, r) => {
1990
- const n = /* @__PURE__ */ new Map(), o = {
1991
- platform: zn,
1992
- ...r
1993
- }, c = {
1994
- ...o.platform,
1995
- _c: n
1996
- };
1997
- return pn(e, t, {
1998
- ...o,
1999
- platform: c
2000
- });
2001
- };
2002
- function Ke(e = 0, t = 0, r = 0, n = 0) {
2003
- if (typeof DOMRect == "function")
2004
- return new DOMRect(e, t, r, n);
2005
- const o = {
2006
- x: e,
2007
- y: t,
2008
- width: r,
2009
- height: n,
2010
- top: t,
2011
- right: e + r,
2012
- bottom: t + n,
2013
- left: e
2014
- };
2015
- return { ...o, toJSON: () => o };
2016
- }
2017
- function Xn(e) {
2018
- if (!e) return Ke();
2019
- const { x: t, y: r, width: n, height: o } = e;
2020
- return Ke(t, r, n, o);
2021
- }
2022
- function Jn(e, t) {
2023
- return {
2024
- contextElement: Rt(e) ? e : void 0,
2025
- getBoundingClientRect: () => {
2026
- const r = e, n = t?.(r);
2027
- return n || !r ? Xn(n) : r.getBoundingClientRect();
2028
- }
2029
- };
2030
- }
2031
- var oe = (e) => ({ variable: e, reference: `var(${e})` }), q = {
2032
- arrowSize: oe("--arrow-size"),
2033
- arrowSizeHalf: oe("--arrow-size-half"),
2034
- arrowBg: oe("--arrow-background"),
2035
- transformOrigin: oe("--transform-origin"),
2036
- arrowOffset: oe("--arrow-offset")
2037
- }, Qn = (e) => ({
2038
- top: "bottom center",
2039
- "top-start": e ? `${e.x}px bottom` : "left bottom",
2040
- "top-end": e ? `${e.x}px bottom` : "right bottom",
2041
- bottom: "top center",
2042
- "bottom-start": e ? `${e.x}px top` : "top left",
2043
- "bottom-end": e ? `${e.x}px top` : "top right",
2044
- left: "right center",
2045
- "left-start": e ? `right ${e.y}px` : "right top",
2046
- "left-end": e ? `right ${e.y}px` : "right bottom",
2047
- right: "left center",
2048
- "right-start": e ? `left ${e.y}px` : "left top",
2049
- "right-end": e ? `left ${e.y}px` : "left bottom"
2050
- }), Zn = {
2051
- name: "transformOrigin",
2052
- fn({ placement: e, elements: t, middlewareData: r }) {
2053
- const { arrow: n } = r, o = Qn(n)[e], { floating: c } = t;
2054
- return c.style.setProperty(q.transformOrigin.variable, o), {
2055
- data: { transformOrigin: o }
2056
- };
2057
- }
2058
- }, er = {
2059
- name: "rects",
2060
- fn({ rects: e }) {
2061
- return {
2062
- data: e
2063
- };
2064
- }
2065
- }, tr = (e) => {
2066
- if (e)
2067
- return {
2068
- name: "shiftArrow",
2069
- fn({ placement: t, middlewareData: r }) {
2070
- if (!r.arrow) return {};
2071
- const { x: n, y: o } = r.arrow, c = t.split("-")[0];
2072
- return Object.assign(e.style, {
2073
- left: n != null ? `${n}px` : "",
2074
- top: o != null ? `${o}px` : "",
2075
- [c]: `calc(100% + ${q.arrowOffset.reference})`
2076
- }), {};
2077
- }
2078
- };
2079
- };
2080
- function nr(e) {
2081
- const [t, r] = e.split("-");
2082
- return { side: t, align: r, hasAlign: r != null };
2083
- }
2084
- function Rr(e) {
2085
- return e.split("-")[0];
2086
- }
2087
- var rr = {
2088
- strategy: "absolute",
2089
- placement: "bottom",
2090
- listeners: !0,
2091
- gutter: 8,
2092
- flip: !0,
2093
- slide: !0,
2094
- overlap: !1,
2095
- sameWidth: !1,
2096
- fitViewport: !1,
2097
- overflowPadding: 8,
2098
- arrowPadding: 4
2099
- };
2100
- function Xe(e, t) {
2101
- const r = e.devicePixelRatio || 1;
2102
- return Math.round(t * r) / r;
2103
- }
2104
- function dt(e) {
2105
- return Tt(e.boundary);
2106
- }
2107
- function or(e, t) {
2108
- if (e)
2109
- return Yn({
2110
- element: e,
2111
- padding: t.arrowPadding
2112
- });
2113
- }
2114
- function ir(e, t) {
2115
- if (!At(t.offset ?? t.gutter))
2116
- return In(({ placement: r }) => {
2117
- const n = (e?.clientHeight || 0) / 2, o = t.offset?.mainAxis ?? t.gutter, c = typeof o == "number" ? o + n : o ?? n, { hasAlign: l } = nr(r), f = l ? void 0 : t.shift, u = t.offset?.crossAxis ?? f;
2118
- return Je({
2119
- crossAxis: u,
2120
- mainAxis: c,
2121
- alignmentAxis: t.shift
2122
- });
2123
- });
2124
- }
2125
- function sr(e) {
2126
- if (e.flip)
2127
- return jn({
2128
- boundary: dt(e),
2129
- padding: e.overflowPadding,
2130
- fallbackPlacements: e.flip === !0 ? void 0 : e.flip
2131
- });
2132
- }
2133
- function cr(e) {
2134
- if (!(!e.slide && !e.overlap))
2135
- return Wn({
2136
- boundary: dt(e),
2137
- mainAxis: e.slide,
2138
- crossAxis: e.overlap,
2139
- padding: e.overflowPadding,
2140
- limiter: Gn()
2141
- });
2142
- }
2143
- function ar(e) {
2144
- return Bn({
2145
- padding: e.overflowPadding,
2146
- apply({ elements: t, rects: r, availableHeight: n, availableWidth: o }) {
2147
- const c = t.floating, l = Math.round(r.reference.width);
2148
- o = Math.floor(o), n = Math.floor(n), c.style.setProperty("--reference-width", `${l}px`), c.style.setProperty("--available-width", `${o}px`), c.style.setProperty("--available-height", `${n}px`);
2149
- }
2150
- });
2151
- }
2152
- function lr(e) {
2153
- if (e.hideWhenDetached)
2154
- return qn({ strategy: "referenceHidden", boundary: e.boundary?.() ?? "clippingAncestors" });
2155
- }
2156
- function ur(e) {
2157
- return e ? e === !0 ? { ancestorResize: !0, ancestorScroll: !0, elementResize: !0, layoutShift: !0 } : e : {};
2158
- }
2159
- function fr(e, t, r = {}) {
2160
- const n = Jn(e, r.getAnchorRect);
2161
- if (!t || !n) return;
2162
- const o = Object.assign({}, rr, r), c = t.querySelector("[data-part=arrow]"), l = [
2163
- ir(c, o),
2164
- sr(o),
2165
- cr(o),
2166
- or(c, o),
2167
- tr(c),
2168
- Zn,
2169
- ar(o),
2170
- lr(o),
2171
- er
2172
- ], { placement: f, strategy: u, onComplete: s, onPositioned: g } = o, a = async () => {
2173
- if (!n || !t) return;
2174
- const p = await Kn(n, t, {
2175
- placement: f,
2176
- middleware: l,
2177
- strategy: u
2178
- });
2179
- s?.(p), g?.({ placed: !0 });
2180
- const y = _t(t), v = Xe(y, p.x), w = Xe(y, p.y);
2181
- t.style.setProperty("--x", `${v}px`), t.style.setProperty("--y", `${w}px`), o.hideWhenDetached && (p.middlewareData.hide?.referenceHidden ? (t.style.setProperty("visibility", "hidden"), t.style.setProperty("pointer-events", "none")) : (t.style.removeProperty("visibility"), t.style.removeProperty("pointer-events")));
2182
- const b = t.firstElementChild;
2183
- if (b) {
2184
- const E = Qe(b);
2185
- t.style.setProperty("--z-index", E.zIndex);
2186
- }
2187
- }, i = async () => {
2188
- r.updatePosition ? (await r.updatePosition({ updatePosition: a }), g?.({ placed: !0 })) : await a();
2189
- }, d = ur(o.listeners), m = o.listeners ? Fn(n, t, i, d) : Et;
2190
- return i(), () => {
2191
- m?.(), g?.({ placed: !1 });
2192
- };
2193
- }
2194
- function Ar(e, t, r = {}) {
2195
- const { defer: n, ...o } = r, c = n ? Re : (f) => f(), l = [];
2196
- return l.push(
2197
- c(() => {
2198
- const f = typeof e == "function" ? e() : e, u = typeof t == "function" ? t() : t;
2199
- l.push(fr(f, u, o));
2200
- })
2201
- ), () => {
2202
- l.forEach((f) => f?.());
2203
- };
2204
- }
2205
- var dr = {
2206
- bottom: "rotate(45deg)",
2207
- left: "rotate(135deg)",
2208
- top: "rotate(225deg)",
2209
- right: "rotate(315deg)"
2210
- };
2211
- function Tr(e = {}) {
2212
- const { placement: t, sameWidth: r, fitViewport: n, strategy: o = "absolute" } = e;
2213
- return {
2214
- arrow: {
2215
- position: "absolute",
2216
- width: q.arrowSize.reference,
2217
- height: q.arrowSize.reference,
2218
- [q.arrowSizeHalf.variable]: `calc(${q.arrowSize.reference} / 2)`,
2219
- [q.arrowOffset.variable]: `calc(${q.arrowSizeHalf.reference} * -1)`
2220
- },
2221
- arrowTip: {
2222
- // @ts-expect-error - Fix this
2223
- transform: t ? dr[t.split("-")[0]] : void 0,
2224
- background: q.arrowBg.reference,
2225
- top: "0",
2226
- left: "0",
2227
- width: "100%",
2228
- height: "100%",
2229
- position: "absolute",
2230
- zIndex: "inherit"
2231
- },
2232
- floating: {
2233
- position: o,
2234
- isolation: "isolate",
2235
- minWidth: r ? void 0 : "max-content",
2236
- width: r ? "var(--reference-width)" : void 0,
2237
- maxWidth: n ? "var(--available-width)" : void 0,
2238
- maxHeight: n ? "var(--available-height)" : void 0,
2239
- pointerEvents: t ? void 0 : "none",
2240
- top: "0px",
2241
- left: "0px",
2242
- // move off-screen if placement is not defined
2243
- transform: t ? "translate3d(var(--x), var(--y), 0)" : "translate3d(0, -100vh, 0)",
2244
- zIndex: "var(--z-index)"
2245
- }
2246
- };
2247
- }
2248
- const [_r, gr] = Ne({
2249
- name: "EnvironmentContext",
2250
- hookName: "useEnvironmentContext",
2251
- providerName: "<EnvironmentProvider />",
2252
- strict: !1,
2253
- defaultValue: {
2254
- getRootNode: () => document,
2255
- getDocument: () => document,
2256
- getWindow: () => window
2257
- }
2258
- }), [Pr, Nr] = Ne({
2259
- name: "LocaleContext",
2260
- hookName: "useLocaleContext",
2261
- providerName: "<LocaleProvider />",
2262
- strict: !1,
2263
- defaultValue: { dir: "ltr", locale: "en-US" }
2264
- }), Cr = (e) => {
2265
- const { children: t, disabled: r } = e, [n, o] = Ae(e.container?.current), c = Ft(
2266
- pr,
2267
- () => !1,
2268
- () => !0
2269
- ), { getRootNode: l } = gr();
2270
- if (se(() => {
2271
- o(() => e.container?.current);
2272
- }, [e.container]), c || r) return /* @__PURE__ */ ue.jsx(ue.Fragment, { children: t });
2273
- const f = n ?? mr(l);
2274
- return /* @__PURE__ */ ue.jsx(ue.Fragment, { children: et.map(t, (u) => ve.createPortal(u, f)) });
2275
- }, mr = (e) => {
2276
- const t = e?.(), r = t.getRootNode();
2277
- return Pt(r) ? r : Nt(t).body;
2278
- }, pr = () => () => {
2279
- };
2280
- export {
2281
- Cr as P,
2282
- tn as a,
2283
- qt as b,
2284
- Ne as c,
2285
- Tr as d,
2286
- Rr as e,
2287
- wr as f,
2288
- Ar as g,
2289
- Jt as h,
2290
- gr as i,
2291
- Nr as j,
2292
- Kt as k,
2293
- Er as l,
2294
- br as m,
2295
- xr as n,
2296
- on as o,
2297
- ve as r,
2298
- Sr as s,
2299
- Or as u
2300
- };
2301
- //# sourceMappingURL=portal-D2KZrSzZ.js.map