@adyen/bento-vue3 1.84.2 → 1.86.0

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 (471) hide show
  1. package/dist/@types/components.d.ts +6 -0
  2. package/dist/@types/index.d.ts +480 -268
  3. package/dist/accordion.js +1 -1
  4. package/dist/action-bar.js +1 -1
  5. package/dist/ai-tag.js +5 -0
  6. package/dist/ai-tag.js.map +1 -0
  7. package/dist/alert.js +1 -1
  8. package/dist/anchor-scroller.js +5 -0
  9. package/dist/anchor-scroller.js.map +1 -0
  10. package/dist/assets/accordion-item.css +1 -1
  11. package/dist/assets/action-bar.css +1 -1
  12. package/dist/assets/ai-tag.css +1 -0
  13. package/dist/assets/anchor-scroller.css +1 -0
  14. package/dist/assets/base-modal.css +1 -1
  15. package/dist/assets/button-actions.css +1 -1
  16. package/dist/assets/card.css +1 -1
  17. package/dist/assets/checkbox.css +1 -1
  18. package/dist/assets/data-grid.css +1 -1
  19. package/dist/assets/date-picker.css +1 -1
  20. package/dist/assets/date-range-picker.css +1 -1
  21. package/dist/assets/dialog-page.css +1 -1
  22. package/dist/assets/draggable-handle.css +1 -0
  23. package/dist/assets/dropdown-default-textbox.css +1 -1
  24. package/dist/assets/dropdown.css +1 -1
  25. package/dist/assets/error-message.css +1 -0
  26. package/dist/assets/file-uploader.css +1 -1
  27. package/dist/assets/filter-bar.css +1 -1
  28. package/dist/assets/fixed-scroller.css +1 -1
  29. package/dist/assets/form-layout-title.css +1 -1
  30. package/dist/assets/inspector.css +1 -1
  31. package/dist/assets/layout-row.css +1 -1
  32. package/dist/assets/modal-fullscreen.css +1 -1
  33. package/dist/assets/radio-group.css +1 -1
  34. package/dist/assets/secondary-nav.css +1 -1
  35. package/dist/assets/sidepanel.css +1 -1
  36. package/dist/assets/use-cached-selected-values.css +1 -1
  37. package/dist/avatar.js +1 -1
  38. package/dist/button.js +3 -3
  39. package/dist/card.js +1 -1
  40. package/dist/checkbox.js +6 -6
  41. package/dist/chip.js +1 -1
  42. package/dist/chunks/1-generic-use.CZhwP2Yc.js.map +1 -1
  43. package/dist/chunks/1-generic-use.R6x8PEGA.js.map +1 -1
  44. package/dist/chunks/2-generic-use.CNKjB4B7.js.map +1 -1
  45. package/dist/chunks/2-generic-use.w0fUhovx.js.map +1 -1
  46. package/dist/chunks/3-generic-use.BLEzR04g.js.map +1 -1
  47. package/dist/chunks/3-generic-use.D3NFHgI4.js.map +1 -1
  48. package/dist/chunks/4-generic-use.CULEpvgj.js.map +1 -1
  49. package/dist/chunks/4-generic-use.D82y3n39.js.map +1 -1
  50. package/dist/chunks/{accordion-item.yRlQj4VF.js → accordion-item.QQ06tTjt.js} +8 -8
  51. package/dist/chunks/{accordion-item.yRlQj4VF.js.map → accordion-item.QQ06tTjt.js.map} +1 -1
  52. package/dist/chunks/action-bar.g7rM3wUc.js +209 -0
  53. package/dist/chunks/action-bar.g7rM3wUc.js.map +1 -0
  54. package/dist/chunks/adding-payment-methods.BJZLPxtM.js.map +1 -1
  55. package/dist/chunks/adding-payment-methods.Dle8zt43.js.map +1 -1
  56. package/dist/chunks/adyen-giving.Ffw_DlJK.js.map +1 -1
  57. package/dist/chunks/adyen-giving.LiKHj_jY.js.map +1 -1
  58. package/dist/chunks/ai-button.XfeGC4-Q.js +57 -0
  59. package/dist/chunks/ai-button.XfeGC4-Q.js.map +1 -0
  60. package/dist/chunks/ai-tag.UlRkq54l.js +139 -0
  61. package/dist/chunks/ai-tag.UlRkq54l.js.map +1 -0
  62. package/dist/chunks/{alert.BYcw-u3b.js → alert.CDWtu0Hu.js} +11 -11
  63. package/dist/chunks/{alert.BYcw-u3b.js.map → alert.CDWtu0Hu.js.map} +1 -1
  64. package/dist/chunks/anchor-scroller.CKIQu3NK.js +215 -0
  65. package/dist/chunks/anchor-scroller.CKIQu3NK.js.map +1 -0
  66. package/dist/chunks/aria-label.CaUURpnB.js.map +1 -1
  67. package/dist/chunks/arrow-left.C6UiqO-c.js +29 -0
  68. package/dist/chunks/arrow-left.C6UiqO-c.js.map +1 -0
  69. package/dist/chunks/arrow-right.fSdLV_ho.js +29 -0
  70. package/dist/chunks/arrow-right.fSdLV_ho.js.map +1 -0
  71. package/dist/chunks/artificial-intelligence-ai-filled.AhDHffzT.js +44 -0
  72. package/dist/chunks/artificial-intelligence-ai-filled.AhDHffzT.js.map +1 -0
  73. package/dist/chunks/{avatar.CNGMjwg3.js → avatar.Caeba-pw.js} +3 -3
  74. package/dist/chunks/{avatar.CNGMjwg3.js.map → avatar.Caeba-pw.js.map} +1 -1
  75. package/dist/chunks/{base-button.CUd03aA2.js → base-button.CRYAiuzn.js} +9 -9
  76. package/dist/chunks/{base-button.CUd03aA2.js.map → base-button.CRYAiuzn.js.map} +1 -1
  77. package/dist/chunks/{base-modal.D3GyeCFT.js → base-modal.D5HrjwL1.js} +23 -23
  78. package/dist/chunks/{base-modal.D3GyeCFT.js.map → base-modal.D5HrjwL1.js.map} +1 -1
  79. package/dist/chunks/{bin.DuHlEQBO.js → bin.Cude0fiB.js} +4 -4
  80. package/dist/chunks/{bin.DuHlEQBO.js.map → bin.Cude0fiB.js.map} +1 -1
  81. package/dist/chunks/{button-actions-with-menu.B8xFgt-p.js → button-actions-with-menu.DBqA3Ws5.js} +7 -7
  82. package/dist/chunks/{button-actions-with-menu.B8xFgt-p.js.map → button-actions-with-menu.DBqA3Ws5.js.map} +1 -1
  83. package/dist/chunks/{button-actions.Crj4QFAd.js → button-actions.BH-J7dux.js} +17 -17
  84. package/dist/chunks/{button-actions.Crj4QFAd.js.map → button-actions.BH-J7dux.js.map} +1 -1
  85. package/dist/chunks/button-actions.types.BptAXjD8.js.map +1 -1
  86. package/dist/chunks/{button.CSp48LJt.js → button.C6t9_lzm.js} +12 -12
  87. package/dist/chunks/{button.CSp48LJt.js.map → button.C6t9_lzm.js.map} +1 -1
  88. package/dist/chunks/{calendar.DKPx_cQU.js → calendar.DzeJoNc2.js} +113 -107
  89. package/dist/chunks/{calendar.DKPx_cQU.js.map → calendar.DzeJoNc2.js.map} +1 -1
  90. package/dist/chunks/{card.C_03IYJe.js → card.DcXXdxWL.js} +7 -7
  91. package/dist/chunks/{card.C_03IYJe.js.map → card.DcXXdxWL.js.map} +1 -1
  92. package/dist/chunks/{checkbox-group.DZrhxIHp.js → checkbox-group.Bh_aqKoA.js} +11 -11
  93. package/dist/chunks/{checkbox-group.DZrhxIHp.js.map → checkbox-group.Bh_aqKoA.js.map} +1 -1
  94. package/dist/chunks/{checkbox-input.Dk9iFQQe.js → checkbox-input.BZjSoCQW.js} +4 -4
  95. package/dist/chunks/{checkbox-input.Dk9iFQQe.js.map → checkbox-input.BZjSoCQW.js.map} +1 -1
  96. package/dist/chunks/{checkbox.BWgWtiLJ.js → checkbox.7kpOXm-b.js} +22 -22
  97. package/dist/chunks/{checkbox.BWgWtiLJ.js.map → checkbox.7kpOXm-b.js.map} +1 -1
  98. package/dist/chunks/{checkmark-circle-fill._6-d40ru.js → checkmark-circle-fill.DugX5fbG.js} +4 -4
  99. package/dist/chunks/{checkmark-circle-fill._6-d40ru.js.map → checkmark-circle-fill.DugX5fbG.js.map} +1 -1
  100. package/dist/chunks/{checkmark-small.x-gmK2Dt.js → checkmark-small.CRuZauJc.js} +5 -5
  101. package/dist/chunks/{checkmark-small.x-gmK2Dt.js.map → checkmark-small.CRuZauJc.js.map} +1 -1
  102. package/dist/chunks/{chevron-down.DCQ6ZLaq.js → chevron-down.XeE-LBV_.js} +5 -5
  103. package/dist/chunks/{chevron-down.DCQ6ZLaq.js.map → chevron-down.XeE-LBV_.js.map} +1 -1
  104. package/dist/chunks/{chevron-left.Cfn1uGLH.js → chevron-left.C_vPW7OR.js} +8 -8
  105. package/dist/chunks/{chevron-left.Cfn1uGLH.js.map → chevron-left.C_vPW7OR.js.map} +1 -1
  106. package/dist/chunks/{chevron-up.kfuLRpZb.js → chevron-up.Cmgl2a3x.js} +5 -5
  107. package/dist/chunks/{chevron-up.kfuLRpZb.js.map → chevron-up.Cmgl2a3x.js.map} +1 -1
  108. package/dist/chunks/{chip.eefnwpgE.js → chip.CyW1V8RU.js} +7 -7
  109. package/dist/chunks/{chip.eefnwpgE.js.map → chip.CyW1V8RU.js.map} +1 -1
  110. package/dist/chunks/{click-outside.C1Ud8AA2.js → click-outside.CDz_x8mN.js} +2 -2
  111. package/dist/chunks/{click-outside.C1Ud8AA2.js.map → click-outside.CDz_x8mN.js.map} +1 -1
  112. package/dist/chunks/{code-snippet.BX3Yeo0x.js → code-snippet.UIqVTv4U.js} +15 -15
  113. package/dist/chunks/{code-snippet.BX3Yeo0x.js.map → code-snippet.UIqVTv4U.js.map} +1 -1
  114. package/dist/chunks/{codemirror.Cy7iSLbd.js → codemirror.D2BAltnu.js} +3688 -3673
  115. package/dist/chunks/codemirror.D2BAltnu.js.map +1 -0
  116. package/dist/chunks/constructNow.B8T1ljs6.js +8 -0
  117. package/dist/chunks/{constructNow.DuaJst0D.js.map → constructNow.B8T1ljs6.js.map} +1 -1
  118. package/dist/chunks/{controls-group.DpFv8c4E.js → controls-group.Dip3WAKV.js} +10 -10
  119. package/dist/chunks/{controls-group.DpFv8c4E.js.map → controls-group.Dip3WAKV.js.map} +1 -1
  120. package/dist/chunks/{copy.xg9ElNxd.js → copy.ByyQlckP.js} +6 -6
  121. package/dist/chunks/{copy.xg9ElNxd.js.map → copy.ByyQlckP.js.map} +1 -1
  122. package/dist/chunks/{country.vSfTQW51.js → country.DJts6kCv.js} +5 -5
  123. package/dist/chunks/{country.vSfTQW51.js.map → country.DJts6kCv.js.map} +1 -1
  124. package/dist/chunks/{country.types.DaVCMxk-.js → country.types.BBQbWkTY.js} +3 -3
  125. package/dist/chunks/{country.types.DaVCMxk-.js.map → country.types.BBQbWkTY.js.map} +1 -1
  126. package/dist/chunks/{cross-circle-fill-small.Dv5-PxwF.js → cross-circle-fill-small.H1wH-vcZ.js} +5 -5
  127. package/dist/chunks/{cross-circle-fill-small.Dv5-PxwF.js.map → cross-circle-fill-small.H1wH-vcZ.js.map} +1 -1
  128. package/dist/chunks/{cross-circle-fill.CYLL7jfC.js → cross-circle-fill.BWCKKn0E.js} +4 -4
  129. package/dist/chunks/{cross-circle-fill.CYLL7jfC.js.map → cross-circle-fill.BWCKKn0E.js.map} +1 -1
  130. package/dist/chunks/{cross-small.n1UO5wNB.js → cross-small.Bjq2Gqvh.js} +5 -5
  131. package/dist/chunks/{cross-small.n1UO5wNB.js.map → cross-small.Bjq2Gqvh.js.map} +1 -1
  132. package/dist/chunks/{cross.B92GxFTY.js → cross.CCHdi6v3.js} +5 -5
  133. package/dist/chunks/{cross.B92GxFTY.js.map → cross.CCHdi6v3.js.map} +1 -1
  134. package/dist/chunks/{currency.DijmAkAB.js → currency.Afx8MVdY.js} +4 -4
  135. package/dist/chunks/{currency.DijmAkAB.js.map → currency.Afx8MVdY.js.map} +1 -1
  136. package/dist/chunks/{dashboard-section.D_k3_Z2T.js → dashboard-section.CIHtXoeW.js} +8 -8
  137. package/dist/chunks/{dashboard-section.D_k3_Z2T.js.map → dashboard-section.CIHtXoeW.js.map} +1 -1
  138. package/dist/chunks/{dashed-underline.B0z2ZZh7.js → dashed-underline.CLwPU-C2.js} +14 -14
  139. package/dist/chunks/{dashed-underline.B0z2ZZh7.js.map → dashed-underline.CLwPU-C2.js.map} +1 -1
  140. package/dist/chunks/{data-grid-template.DdIrvOXp.js → data-grid-template.BTpSfkQt.js} +8 -8
  141. package/dist/chunks/{data-grid-template.DdIrvOXp.js.map → data-grid-template.BTpSfkQt.js.map} +1 -1
  142. package/dist/chunks/data-grid-template.keys.VezYtHtM.js.map +1 -1
  143. package/dist/chunks/{data-grid.CqtJp9rE.js → data-grid.CXDdiHz8.js} +1239 -1236
  144. package/dist/chunks/data-grid.CXDdiHz8.js.map +1 -0
  145. package/dist/chunks/date-input.XSJuuCHe.js +20 -0
  146. package/dist/chunks/date-input.XSJuuCHe.js.map +1 -0
  147. package/dist/chunks/{date-picker.DGIwFh6T.js → date-picker.CvTSZhMI.js} +82 -81
  148. package/dist/chunks/date-picker.CvTSZhMI.js.map +1 -0
  149. package/dist/chunks/date-picker.types.Ckt7zxGy.js.map +1 -1
  150. package/dist/chunks/date-range-picker.BPCt7cwj.js +1100 -0
  151. package/dist/chunks/date-range-picker.BPCt7cwj.js.map +1 -0
  152. package/dist/chunks/date-range-picker.types.Ckt7zxGy.js.map +1 -1
  153. package/dist/chunks/{date.CL55prL0.js → date.BtB1HyWQ.js} +4 -4
  154. package/dist/chunks/{date.CL55prL0.js.map → date.BtB1HyWQ.js.map} +1 -1
  155. package/dist/chunks/de.DvtL0g75.js.map +1 -1
  156. package/dist/chunks/debounce.DUTu11PS.js.map +1 -1
  157. package/dist/chunks/delight.CDBAFnwC.js.map +1 -1
  158. package/dist/chunks/delight.xKDCvvaS.js.map +1 -1
  159. package/dist/chunks/dialog-page.B3ptLXXP.js +162 -0
  160. package/dist/chunks/dialog-page.B3ptLXXP.js.map +1 -0
  161. package/dist/chunks/{differenceInMonths.DcFDl4eH.js → differenceInMonths.BR4Z2HIa.js} +2 -2
  162. package/dist/chunks/{differenceInMonths.DcFDl4eH.js.map → differenceInMonths.BR4Z2HIa.js.map} +1 -1
  163. package/dist/chunks/{directive.Cbdox5VL.js → directive.rXUeDb8p.js} +2 -2
  164. package/dist/chunks/{directive.Cbdox5VL.js.map → directive.rXUeDb8p.js.map} +1 -1
  165. package/dist/chunks/{divider.Dho4_hQ7.js → divider.BIY84UH7.js} +5 -5
  166. package/dist/chunks/{divider.Dho4_hQ7.js.map → divider.BIY84UH7.js.map} +1 -1
  167. package/dist/chunks/{dot.ob6N-5Um.js → dot.DBmwmOUN.js} +5 -5
  168. package/dist/chunks/{dot.ob6N-5Um.js.map → dot.DBmwmOUN.js.map} +1 -1
  169. package/dist/chunks/{dropdown-default-textbox.DFtFMu5G.js → dropdown-default-textbox.B-_dTUVX.js} +107 -117
  170. package/dist/chunks/dropdown-default-textbox.B-_dTUVX.js.map +1 -0
  171. package/dist/chunks/{dropdown-tag.Bf6TiNZw.js → dropdown-tag.DDNOZhEG.js} +20 -20
  172. package/dist/chunks/{dropdown-tag.Bf6TiNZw.js.map → dropdown-tag.DDNOZhEG.js.map} +1 -1
  173. package/dist/chunks/dropdown.CU6nfq3V.js +836 -0
  174. package/dist/chunks/dropdown.CU6nfq3V.js.map +1 -0
  175. package/dist/chunks/{empty-state.D_ifpeU-.js → empty-state.DqdPzU-g.js} +15 -15
  176. package/dist/chunks/{empty-state.D_ifpeU-.js.map → empty-state.DqdPzU-g.js.map} +1 -1
  177. package/dist/chunks/en-GB.DCGuCmAv.js.map +1 -1
  178. package/dist/chunks/en-US.BZii9jNW.js.map +1 -1
  179. package/dist/chunks/{field-label.D7vU2Icm.js → error-message.BYA2_fPV.js} +67 -67
  180. package/dist/chunks/error-message.BYA2_fPV.js.map +1 -0
  181. package/dist/chunks/es.bz0mzkMq.js.map +1 -1
  182. package/dist/chunks/es6.C1DXQV6f.js.map +1 -1
  183. package/dist/chunks/events.BQOQSSb7.js.map +1 -1
  184. package/dist/chunks/{expand.C9IAqYYL.js → expand.BrywY9jl.js} +4 -4
  185. package/dist/chunks/{expand.C9IAqYYL.js.map → expand.BrywY9jl.js.map} +1 -1
  186. package/dist/chunks/{file-uploader.BmBKLzIx.js → file-uploader.Q2ufNRTY.js} +80 -80
  187. package/dist/chunks/file-uploader.Q2ufNRTY.js.map +1 -0
  188. package/dist/chunks/filter-bar.BVj9YVv-.js +4125 -0
  189. package/dist/chunks/filter-bar.BVj9YVv-.js.map +1 -0
  190. package/dist/chunks/fixed-scroller.i1tmEmst.js +161 -0
  191. package/dist/chunks/{fixed-scroller.e56yJp7Q.js.map → fixed-scroller.i1tmEmst.js.map} +1 -1
  192. package/dist/chunks/{focus-trap.BaHvK7aT.js → focus-trap.CBvh2H_m.js} +294 -277
  193. package/dist/chunks/focus-trap.CBvh2H_m.js.map +1 -0
  194. package/dist/chunks/{footer-actions.BqNvwVk7.js → footer-actions.DLzMOB7j.js} +8 -8
  195. package/dist/chunks/{footer-actions.BqNvwVk7.js.map → footer-actions.DLzMOB7j.js.map} +1 -1
  196. package/dist/chunks/form-field.D_2g7vaP.js.map +1 -1
  197. package/dist/chunks/{form-layout-title.CPsEzRzS.js → form-layout-title.DYmTc6M7.js} +7 -7
  198. package/dist/chunks/{form-layout-title.CPsEzRzS.js.map → form-layout-title.DYmTc6M7.js.map} +1 -1
  199. package/dist/chunks/form-layout.types.bZW9iR6_.js.map +1 -1
  200. package/dist/chunks/fr-CA.B1aPU8fp.js.map +1 -1
  201. package/dist/chunks/fr.Dj7wEToe.js.map +1 -1
  202. package/dist/chunks/generate-uid.NJ8tVoha.js.map +1 -1
  203. package/dist/chunks/getRoundingMethod.C3eaeGLR.js.map +1 -1
  204. package/dist/chunks/{getTimezoneOffsetInMilliseconds.C-aIpRfB.js → getTimezoneOffsetInMilliseconds.Tu2wlbTR.js} +3 -3
  205. package/dist/chunks/{getTimezoneOffsetInMilliseconds.C-aIpRfB.js.map → getTimezoneOffsetInMilliseconds.Tu2wlbTR.js.map} +1 -1
  206. package/dist/chunks/grab.DJYL4kBq.js +26 -0
  207. package/dist/chunks/grab.DJYL4kBq.js.map +1 -0
  208. package/dist/chunks/{grid-layout.DDaRNz4-.js → grid-layout.Vhv1_zFs.js} +21 -21
  209. package/dist/chunks/{grid-layout.DDaRNz4-.js.map → grid-layout.Vhv1_zFs.js.map} +1 -1
  210. package/dist/chunks/{header-meta.PysBmkSU.js → header-meta.Bw8ZGwJW.js} +15 -15
  211. package/dist/chunks/{header-meta.PysBmkSU.js.map → header-meta.Bw8ZGwJW.js.map} +1 -1
  212. package/dist/chunks/{header-with-views.XzJCg2Ln.js → header-with-views.CJDoE4hw.js} +617 -635
  213. package/dist/chunks/header-with-views.CJDoE4hw.js.map +1 -0
  214. package/dist/chunks/{header.yMTOq8MR.js → header.BeH8KH_l.js} +14 -14
  215. package/dist/chunks/{header.yMTOq8MR.js.map → header.BeH8KH_l.js.map} +1 -1
  216. package/dist/chunks/{image.vue_vue_type_script_setup_true_lang.DQT2oNEF.js → image.vue_vue_type_script_setup_true_lang.BMoSMeM-.js} +3 -3
  217. package/dist/chunks/{image.vue_vue_type_script_setup_true_lang.DQT2oNEF.js.map → image.vue_vue_type_script_setup_true_lang.BMoSMeM-.js.map} +1 -1
  218. package/dist/chunks/{index.pdBj0KQU.js → index.B875RXHM.js} +3 -3
  219. package/dist/chunks/{index.pdBj0KQU.js.map → index.B875RXHM.js.map} +1 -1
  220. package/dist/chunks/index.CbxHJr39.js +691 -0
  221. package/dist/chunks/{index.E60QniEu.js.map → index.CbxHJr39.js.map} +1 -1
  222. package/dist/chunks/{info-icon.BQDGteil.js → info-icon.BLtyJvY4.js} +9 -9
  223. package/dist/chunks/{info-icon.BQDGteil.js.map → info-icon.BLtyJvY4.js.map} +1 -1
  224. package/dist/chunks/{info.BKwey1HA.js → info.6Z6NxUst.js} +4 -4
  225. package/dist/chunks/{info.BKwey1HA.js.map → info.6Z6NxUst.js.map} +1 -1
  226. package/dist/chunks/{input-field-password.Drp3Gn3x.js → input-field-password.KeKQPIZv.js} +21 -21
  227. package/dist/chunks/{input-field-password.Drp3Gn3x.js.map → input-field-password.KeKQPIZv.js.map} +1 -1
  228. package/dist/chunks/{input-field-phone-number.CcCrGAZb.js → input-field-phone-number.eaU9p15A.js} +10 -10
  229. package/dist/chunks/{input-field-phone-number.CcCrGAZb.js.map → input-field-phone-number.eaU9p15A.js.map} +1 -1
  230. package/dist/chunks/{input-field.CBegTqdQ.js → input-field.CNdqlGw6.js} +9 -9
  231. package/dist/chunks/{input-field.CBegTqdQ.js.map → input-field.CNdqlGw6.js.map} +1 -1
  232. package/dist/chunks/{inspector.Dox76eqN.js → inspector.Bnf0g7QE.js} +16 -16
  233. package/dist/chunks/{inspector.Dox76eqN.js.map → inspector.Bnf0g7QE.js.map} +1 -1
  234. package/dist/chunks/inspector.types.DyHwE18g.js.map +1 -1
  235. package/dist/chunks/internal-error.BLZodVBE.js.map +1 -1
  236. package/dist/chunks/internal-error.BmrwJFpR.js.map +1 -1
  237. package/dist/chunks/isSameWeek.DjeUtLwI.js +14 -0
  238. package/dist/chunks/{isSameWeek.CUD7czUN.js.map → isSameWeek.DjeUtLwI.js.map} +1 -1
  239. package/dist/chunks/{it.Oaj6BklL.js → it.DIafuXtH.js} +2 -2
  240. package/dist/chunks/{it.Oaj6BklL.js.map → it.DIafuXtH.js.map} +1 -1
  241. package/dist/chunks/ja.Cm9tJMi2.js.map +1 -1
  242. package/dist/chunks/keyboard-navigation.DWmhelVv.js.map +1 -1
  243. package/dist/chunks/ko.Ceaof6EP.js.map +1 -1
  244. package/dist/chunks/{layout-row.CX8kV_w0.js → layout-row.Bz-mRqAq.js} +5 -5
  245. package/dist/chunks/layout-row.Bz-mRqAq.js.map +1 -0
  246. package/dist/chunks/{link.BLCQlEZU.js → link.DTCn2EtX.js} +11 -11
  247. package/dist/chunks/{link.BLCQlEZU.js.map → link.DTCn2EtX.js.map} +1 -1
  248. package/dist/chunks/{listbox-option-tag.BQZJF00q.js → listbox-option-tag.C3ihNg6_.js} +9 -9
  249. package/dist/chunks/{listbox-option-tag.BQZJF00q.js.map → listbox-option-tag.C3ihNg6_.js.map} +1 -1
  250. package/dist/chunks/{loading-indicator.Db794TT5.js → loading-indicator.BPol9I84.js} +3 -3
  251. package/dist/chunks/{loading-indicator.Db794TT5.js.map → loading-indicator.BPol9I84.js.map} +1 -1
  252. package/dist/chunks/match.CMBZxEs9.js.map +1 -1
  253. package/dist/chunks/{minus-small.DYIyF5XW.js → minus-small.CnYLTuSv.js} +5 -5
  254. package/dist/chunks/{minus-small.DYIyF5XW.js.map → minus-small.CnYLTuSv.js.map} +1 -1
  255. package/dist/chunks/{modal-fullscreen.BXjxVsAq.js → modal-fullscreen.B3AGUJgl.js} +100 -96
  256. package/dist/chunks/modal-fullscreen.B3AGUJgl.js.map +1 -0
  257. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.CRovU08l.js → modal.vue_vue_type_script_setup_true_lang.BAwez0nB.js} +13 -13
  258. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.CRovU08l.js.map → modal.vue_vue_type_script_setup_true_lang.BAwez0nB.js.map} +1 -1
  259. package/dist/chunks/nl.B6vCf2B9.js.map +1 -1
  260. package/dist/chunks/no-results-found.Bg_ZcEid.js.map +1 -1
  261. package/dist/chunks/no-results-found.BqvYsBR6.js.map +1 -1
  262. package/dist/chunks/notifications-cleared.BMZk37uf.js.map +1 -1
  263. package/dist/chunks/notifications-cleared.C7W9ZXY7.js.map +1 -1
  264. package/dist/chunks/on-click-outside.BW4rkhzG.js +91 -0
  265. package/dist/chunks/on-click-outside.BW4rkhzG.js.map +1 -0
  266. package/dist/chunks/page-not-found.COJLPVaU.js.map +1 -1
  267. package/dist/chunks/page-not-found.DWW6W-PZ.js.map +1 -1
  268. package/dist/chunks/{pagination.BofKoYTB.js → pagination.lu9nx8j8.js} +10 -10
  269. package/dist/chunks/{pagination.BofKoYTB.js.map → pagination.lu9nx8j8.js.map} +1 -1
  270. package/dist/chunks/{payment-method.BGEBaa4w.js → payment-method.AeKHZlAO.js} +3 -3
  271. package/dist/chunks/{payment-method.BGEBaa4w.js.map → payment-method.AeKHZlAO.js.map} +1 -1
  272. package/dist/chunks/payment-method.types.BqtH7RM2.js.map +1 -1
  273. package/dist/chunks/planned-maintenance.C61sWB9h.js.map +1 -1
  274. package/dist/chunks/planned-maintenance.jmWYTdet.js.map +1 -1
  275. package/dist/chunks/popover.types.C_Z2JeVK.js +6 -0
  276. package/dist/chunks/{popover.types.DgfeurkF.js.map → popover.types.C_Z2JeVK.js.map} +1 -1
  277. package/dist/chunks/popper-container.BefZxTzP.js +1432 -0
  278. package/dist/chunks/popper-container.BefZxTzP.js.map +1 -0
  279. package/dist/chunks/{promo-banner.BIRH5sVX.js → promo-banner.BLie64oS.js} +11 -11
  280. package/dist/chunks/{promo-banner.BIRH5sVX.js.map → promo-banner.BLie64oS.js.map} +1 -1
  281. package/dist/chunks/pt-BR.CiGdfP45.js.map +1 -1
  282. package/dist/chunks/{radio-group.BqsQRDjs.js → radio-group.C6nQRQDB.js} +20 -20
  283. package/dist/chunks/{radio-group.BqsQRDjs.js.map → radio-group.C6nQRQDB.js.map} +1 -1
  284. package/dist/chunks/{radio-input.CBNE-AkM.js → radio-input.DektLjN4.js} +3 -3
  285. package/dist/chunks/{radio-input.CBNE-AkM.js.map → radio-input.DektLjN4.js.map} +1 -1
  286. package/dist/chunks/referrals.BvtT-kQS.js.map +1 -1
  287. package/dist/chunks/referrals.aX8WZigH.js.map +1 -1
  288. package/dist/chunks/{refresh.BB4ouvz_.js → refresh.C31KClfx.js} +5 -5
  289. package/dist/chunks/{refresh.BB4ouvz_.js.map → refresh.C31KClfx.js.map} +1 -1
  290. package/dist/chunks/resize.Bqks3WUm.js.map +1 -1
  291. package/dist/chunks/{rich-text-editor.Bafyvjc3.js → rich-text-editor.C39NKgl0.js} +11 -15
  292. package/dist/chunks/rich-text-editor.C39NKgl0.js.map +1 -0
  293. package/dist/chunks/{search-bar.DrkPxPDP.js → search-bar.CbTrg2Sk.js} +10 -10
  294. package/dist/chunks/{search-bar.DrkPxPDP.js.map → search-bar.CbTrg2Sk.js.map} +1 -1
  295. package/dist/chunks/{search.PczW-onY.js → search.ClLmZAgC.js} +4 -4
  296. package/dist/chunks/{search.PczW-onY.js.map → search.ClLmZAgC.js.map} +1 -1
  297. package/dist/chunks/{secondary-nav.C0_VfFa9.js → secondary-nav.DTOZQewf.js} +25 -25
  298. package/dist/chunks/secondary-nav.DTOZQewf.js.map +1 -0
  299. package/dist/chunks/{segmented-control.CFlHfj3N.js → segmented-control.D9rHBysM.js} +9 -9
  300. package/dist/chunks/{segmented-control.CFlHfj3N.js.map → segmented-control.D9rHBysM.js.map} +1 -1
  301. package/dist/chunks/segmented-control.types.BHRLV8KU.js.map +1 -1
  302. package/dist/chunks/{selection-card-group.DNPlEqEq.js → selection-card-group.KEsG0D5V.js} +9 -9
  303. package/dist/chunks/{selection-card-group.DNPlEqEq.js.map → selection-card-group.KEsG0D5V.js.map} +1 -1
  304. package/dist/chunks/{show.CT4Augxb.js → show.BreRPkgL.js} +6 -6
  305. package/dist/chunks/{show.CT4Augxb.js.map → show.BreRPkgL.js.map} +1 -1
  306. package/dist/chunks/{sidepanel.RJihFo_R.js → sidepanel.DJCagqzl.js} +73 -69
  307. package/dist/chunks/sidepanel.DJCagqzl.js.map +1 -0
  308. package/dist/chunks/{startOfWeek.Dxw2MhGp.js → startOfWeek.D8Yh4c0G.js} +3 -3
  309. package/dist/chunks/{startOfWeek.Dxw2MhGp.js.map → startOfWeek.D8Yh4c0G.js.map} +1 -1
  310. package/dist/chunks/{status.types.ChOI6XGU.js → status.types.D3v3k-Q8.js} +6 -6
  311. package/dist/chunks/{status.types.ChOI6XGU.js.map → status.types.D3v3k-Q8.js.map} +1 -1
  312. package/dist/chunks/{step.DpgnDx29.js → step.BV7MsrRF.js} +9 -9
  313. package/dist/chunks/{step.DpgnDx29.js.map → step.BV7MsrRF.js.map} +1 -1
  314. package/dist/chunks/{structured-list-item.B-hdp7rW.js → structured-list-item.f1tmHSEN.js} +9 -9
  315. package/dist/chunks/{structured-list-item.B-hdp7rW.js.map → structured-list-item.f1tmHSEN.js.map} +1 -1
  316. package/dist/chunks/success.DhioLvPD.js.map +1 -1
  317. package/dist/chunks/success.nNwxJRBS.js.map +1 -1
  318. package/dist/chunks/summary-grid.keys.Xx-W5a2w.js.map +1 -1
  319. package/dist/chunks/{summary-grid.types.BVLRSBAF.js → summary-grid.types.COcV-sOB.js} +13 -13
  320. package/dist/chunks/{summary-grid.types.BVLRSBAF.js.map → summary-grid.types.COcV-sOB.js.map} +1 -1
  321. package/dist/chunks/sv.f8EfZjMZ.js.map +1 -1
  322. package/dist/chunks/{tab.JPngc9oS.js → tab.DRrnMCxe.js} +6 -6
  323. package/dist/chunks/{tab.JPngc9oS.js.map → tab.DRrnMCxe.js.map} +1 -1
  324. package/dist/chunks/tabs.keys.B4qGhjp2.js.map +1 -1
  325. package/dist/chunks/{tag.DFJIvNLs.js → tag.Dr7MKe9q.js} +9 -9
  326. package/dist/chunks/{tag.DFJIvNLs.js.map → tag.Dr7MKe9q.js.map} +1 -1
  327. package/dist/chunks/{textarea.CEDkF8BB.js → textarea.CtgbUCjH.js} +7 -7
  328. package/dist/chunks/{textarea.CEDkF8BB.js.map → textarea.CtgbUCjH.js.map} +1 -1
  329. package/dist/chunks/{timeline-item.BxGaSGLf.js → timeline-item.D9nmCe6u.js} +41 -41
  330. package/dist/chunks/{timeline-item.BxGaSGLf.js.map → timeline-item.D9nmCe6u.js.map} +1 -1
  331. package/dist/chunks/{toast.DiIIrX7h.js → toast.Bbtq3Icj.js} +22 -22
  332. package/dist/chunks/{toast.DiIIrX7h.js.map → toast.Bbtq3Icj.js.map} +1 -1
  333. package/dist/chunks/{toggle.vl0ZwLhN.js → toggle.BupEBkIG.js} +6 -6
  334. package/dist/chunks/{toggle.vl0ZwLhN.js.map → toggle.BupEBkIG.js.map} +1 -1
  335. package/dist/chunks/{tooltip.Nn3o8_vO.js → tooltip.DYpJZ-99.js} +60 -60
  336. package/dist/chunks/tooltip.DYpJZ-99.js.map +1 -0
  337. package/dist/chunks/truncate.BfIl_-71.js.map +1 -1
  338. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.CEfCLTsD.js → tutorial.vue_vue_type_script_setup_true_lang.B5hWgNSd.js} +32 -32
  339. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.CEfCLTsD.js.map → tutorial.vue_vue_type_script_setup_true_lang.B5hWgNSd.js.map} +1 -1
  340. package/dist/chunks/{typography.6Oo5TOMP.js → typography.B3J6_tYk.js} +5 -5
  341. package/dist/chunks/{typography.6Oo5TOMP.js.map → typography.B3J6_tYk.js.map} +1 -1
  342. package/dist/chunks/upload-files.5wQwbfkp.js.map +1 -1
  343. package/dist/chunks/upload-files.jTQY6y2X.js.map +1 -1
  344. package/dist/chunks/{use-bento-toast-controller.V61h7XzI.js → use-bento-toast-controller.BFctDoMg.js} +2 -2
  345. package/dist/chunks/{use-bento-toast-controller.V61h7XzI.js.map → use-bento-toast-controller.BFctDoMg.js.map} +1 -1
  346. package/dist/chunks/{use-cached-selected-values.BZIa5TRx.js → use-cached-selected-values.BiSuG1eX.js} +28 -28
  347. package/dist/chunks/use-cached-selected-values.BiSuG1eX.js.map +1 -0
  348. package/dist/chunks/{use-country-items.JZCYNoW7.js → use-country-items.BTzByPdQ.js} +9 -9
  349. package/dist/chunks/{use-country-items.JZCYNoW7.js.map → use-country-items.BTzByPdQ.js.map} +1 -1
  350. package/dist/chunks/use-country-phon-code.Bui3zD6W.js.map +1 -1
  351. package/dist/chunks/use-default-slot-validator.O02rzsob.js.map +1 -1
  352. package/dist/chunks/use-expandable-content-height.GkjjbmPy.js.map +1 -1
  353. package/dist/chunks/use-form-layout-loading.CWbjZiwP.js.map +1 -1
  354. package/dist/chunks/use-has-slot.B7eQSabc.js.map +1 -1
  355. package/dist/chunks/utils.BzUwtTXc.js +21 -0
  356. package/dist/chunks/utils.BzUwtTXc.js.map +1 -0
  357. package/dist/chunks/{warning-filled.BMGD0G-_.js → warning-filled.BzyK_mMj.js} +5 -5
  358. package/dist/chunks/{warning-filled.BMGD0G-_.js.map → warning-filled.BzyK_mMj.js.map} +1 -1
  359. package/dist/chunks/wrong-environment.BOsyKdRI.js.map +1 -1
  360. package/dist/chunks/wrong-environment.BiHTPtbJ.js.map +1 -1
  361. package/dist/chunks/{zh-CN.BzH0fIXr.js → zh-CN.Bw_6j9Cd.js} +2 -2
  362. package/dist/chunks/{zh-CN.BzH0fIXr.js.map → zh-CN.Bw_6j9Cd.js.map} +1 -1
  363. package/dist/click-outside.js +1 -1
  364. package/dist/code-snippet.js +1 -1
  365. package/dist/country.js +2 -2
  366. package/dist/currency.js +1 -1
  367. package/dist/dashboard-template.js +1 -1
  368. package/dist/dashed-underline.js +1 -1
  369. package/dist/data-grid-template.js +1 -1
  370. package/dist/data-grid.js +6 -5
  371. package/dist/date-picker.js +2 -2
  372. package/dist/date-range-picker.js +2 -2
  373. package/dist/date.js +1 -1
  374. package/dist/divider.js +1 -1
  375. package/dist/draggable-handle.js +179 -0
  376. package/dist/draggable-handle.js.map +1 -0
  377. package/dist/dropdown.js +4 -4
  378. package/dist/empty-state.js +1 -1
  379. package/dist/file-uploader.js +1 -1
  380. package/dist/filter-bar.js +1 -1
  381. package/dist/focus-trap.js +1 -1
  382. package/dist/form-layout.js +1 -1
  383. package/dist/header-with-views.js +1 -1
  384. package/dist/header.js +1 -1
  385. package/dist/image.js +1 -1
  386. package/dist/index.js +341 -335
  387. package/dist/index.js.map +1 -1
  388. package/dist/info-icon.js +1 -1
  389. package/dist/input-field-password.js +1 -1
  390. package/dist/input-field-phone-number.js +1 -1
  391. package/dist/input-field.js +1 -1
  392. package/dist/inspector.js +1 -1
  393. package/dist/internal.js +42 -42
  394. package/dist/layout.js +1 -1
  395. package/dist/link.js +1 -1
  396. package/dist/loading-indicator.js +1 -1
  397. package/dist/menu.js +1 -1
  398. package/dist/modal-fullscreen.js +1 -1
  399. package/dist/modal.js +2 -2
  400. package/dist/pagination.js +1 -1
  401. package/dist/payment-method.js +1 -1
  402. package/dist/popover.js +2 -2
  403. package/dist/popper-container.js +1 -1
  404. package/dist/promo-banner.js +1 -1
  405. package/dist/radio-group.js +2 -2
  406. package/dist/rich-text-editor.js +1 -1
  407. package/dist/search-bar.js +2 -2
  408. package/dist/secondary-nav.js +1 -1
  409. package/dist/segmented-control.js +1 -1
  410. package/dist/selection-card.js +1 -1
  411. package/dist/sidepanel.js +1 -1
  412. package/dist/status.js +1 -1
  413. package/dist/stepper.js +1 -1
  414. package/dist/structured-list.js +1 -1
  415. package/dist/styles/bento-dark.css +5 -0
  416. package/dist/styles/bento-light.css +5 -0
  417. package/dist/styles/bento.css +5 -0
  418. package/dist/styles/legacy.css +5 -0
  419. package/dist/styles/styleguide.css +5 -0
  420. package/dist/summary-grid.js +1 -1
  421. package/dist/tabs.js +1 -1
  422. package/dist/tag.js +1 -1
  423. package/dist/textarea.js +1 -1
  424. package/dist/timeline.js +1 -1
  425. package/dist/toast.js +1 -1
  426. package/dist/toggle.js +1 -1
  427. package/dist/tutorial.js +1 -1
  428. package/dist/typography.js +1 -1
  429. package/dist/use-form-v4.js +756 -7787
  430. package/dist/use-form-v4.js.map +1 -1
  431. package/dist/web-types.json +1 -1
  432. package/package.json +6 -7
  433. package/dist/assets/field-label.css +0 -1
  434. package/dist/chunks/action-bar.CriH15oF.js +0 -204
  435. package/dist/chunks/action-bar.CriH15oF.js.map +0 -1
  436. package/dist/chunks/ai-button.CDRPf7IY.js +0 -93
  437. package/dist/chunks/ai-button.CDRPf7IY.js.map +0 -1
  438. package/dist/chunks/codemirror.Cy7iSLbd.js.map +0 -1
  439. package/dist/chunks/constructNow.DuaJst0D.js +0 -8
  440. package/dist/chunks/data-grid.CqtJp9rE.js.map +0 -1
  441. package/dist/chunks/date-input.BbZqj10S.js +0 -15
  442. package/dist/chunks/date-input.BbZqj10S.js.map +0 -1
  443. package/dist/chunks/date-picker.DGIwFh6T.js.map +0 -1
  444. package/dist/chunks/date-range-picker.Df9XyFMH.js +0 -1896
  445. package/dist/chunks/date-range-picker.Df9XyFMH.js.map +0 -1
  446. package/dist/chunks/dialog-page.DaZSlMzY.js +0 -181
  447. package/dist/chunks/dialog-page.DaZSlMzY.js.map +0 -1
  448. package/dist/chunks/dropdown-default-textbox.DFtFMu5G.js.map +0 -1
  449. package/dist/chunks/dropdown.Dct8gr_q.js +0 -837
  450. package/dist/chunks/dropdown.Dct8gr_q.js.map +0 -1
  451. package/dist/chunks/field-label.D7vU2Icm.js.map +0 -1
  452. package/dist/chunks/file-uploader.BmBKLzIx.js.map +0 -1
  453. package/dist/chunks/filter-bar.DHRuvmx9.js +0 -3363
  454. package/dist/chunks/filter-bar.DHRuvmx9.js.map +0 -1
  455. package/dist/chunks/fixed-scroller.e56yJp7Q.js +0 -155
  456. package/dist/chunks/focus-trap.BaHvK7aT.js.map +0 -1
  457. package/dist/chunks/header-with-views.XzJCg2Ln.js.map +0 -1
  458. package/dist/chunks/index.E60QniEu.js +0 -592
  459. package/dist/chunks/isSameWeek.CUD7czUN.js +0 -14
  460. package/dist/chunks/layout-row.CX8kV_w0.js.map +0 -1
  461. package/dist/chunks/modal-fullscreen.BXjxVsAq.js.map +0 -1
  462. package/dist/chunks/on-click-outside.D9aY9g8G.js +0 -101
  463. package/dist/chunks/on-click-outside.D9aY9g8G.js.map +0 -1
  464. package/dist/chunks/popover.types.DgfeurkF.js +0 -6
  465. package/dist/chunks/popper-container.I9gzp1NR.js +0 -1413
  466. package/dist/chunks/popper-container.I9gzp1NR.js.map +0 -1
  467. package/dist/chunks/rich-text-editor.Bafyvjc3.js.map +0 -1
  468. package/dist/chunks/secondary-nav.C0_VfFa9.js.map +0 -1
  469. package/dist/chunks/sidepanel.RJihFo_R.js.map +0 -1
  470. package/dist/chunks/tooltip.Nn3o8_vO.js.map +0 -1
  471. package/dist/chunks/use-cached-selected-values.BZIa5TRx.js.map +0 -1
@@ -1,10 +1,10 @@
1
- import { ref as z, onUnmounted as De, isRef as nt, watch as Re, computed as U, onMounted as at, onBeforeUnmount as it, defineComponent as ot, useSlots as ut, toRef as ct, createElementBlock as st, createCommentVNode as lt, unref as R, openBlock as ft, mergeProps as dt, toHandlers as vt, withKeys as bt, renderSlot as mt } from "vue";
2
- import { u as pt } from "./use-has-slot.B7eQSabc.js";
3
- import { h as ht, i as yt, j as gt } from "./index.E60QniEu.js";
4
- import { _ as wt } from "./_plugin-vue_export-helper.CHgC5LLL.js";
1
+ import { ref as X, onUnmounted as Re, isRef as at, watch as Le, computed as U, onMounted as it, onBeforeUnmount as ot, defineComponent as ut, useSlots as ct, toRef as st, unref as R, openBlock as lt, createElementBlock as ft, mergeProps as dt, toHandlers as vt, withKeys as bt, renderSlot as pt, createCommentVNode as mt } from "vue";
2
+ import { u as ht } from "./use-has-slot.B7eQSabc.js";
3
+ import { k as yt, l as gt, m as wt } from "./index.CbxHJr39.js";
4
+ import { _ as Nt } from "./_plugin-vue_export-helper.CHgC5LLL.js";
5
5
  import "../assets/focus-trap.css";
6
- const Nt = (t) => {
7
- const e = z(null), { stop: r } = ht(
6
+ const Et = (t) => {
7
+ const e = X(null), { stop: r } = yt(
8
8
  t,
9
9
  (i) => {
10
10
  let u = !1;
@@ -36,59 +36,61 @@ const Nt = (t) => {
36
36
  for (const l of i.composedPath()) {
37
37
  if (!(l instanceof HTMLElement))
38
38
  return;
39
- const d = l, p = d.tagName, v = d.getAttribute("role"), b = p === "DIALOG", w = u.includes(v), g = a.includes(v), F = s.includes(p), I = nt(t) ? t.value === d : t === d;
40
- if (b || I)
39
+ const d = l, b = d.tagName, v = d.getAttribute("role"), p = b === "DIALOG", w = u.includes(v), g = a.includes(v), F = s.includes(b), S = at(t) ? t.value === d : t === d;
40
+ if (p || S)
41
41
  return;
42
- if (g && e.value || (w || F) || !b && v === "dialog") {
42
+ if (g && e.value || (w || F) || !p && v === "dialog") {
43
43
  i.stopPropagation(), i.preventDefault();
44
44
  return;
45
45
  }
46
46
  }
47
47
  };
48
- return De(() => {
48
+ return Re(() => {
49
49
  r();
50
50
  }), { handleKeydownEscape: n };
51
51
  };
52
52
  /*!
53
- * tabbable 6.2.0
53
+ * tabbable 6.4.0
54
54
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
55
55
  */
56
- var Le = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], G = /* @__PURE__ */ Le.join(","), Be = typeof Element > "u", C = Be ? function() {
57
- } : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, H = !Be && Element.prototype.getRootNode ? function(t) {
56
+ var Be = ["input:not([inert]):not([inert] *)", "select:not([inert]):not([inert] *)", "textarea:not([inert]):not([inert] *)", "a[href]:not([inert]):not([inert] *)", "button:not([inert]):not([inert] *)", "[tabindex]:not(slot):not([inert]):not([inert] *)", "audio[controls]:not([inert]):not([inert] *)", "video[controls]:not([inert]):not([inert] *)", '[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)', "details>summary:first-of-type:not([inert]):not([inert] *)", "details:not([inert]):not([inert] *)"], G = /* @__PURE__ */ Be.join(","), _e = typeof Element > "u", C = _e ? function() {
57
+ } : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, H = !_e && Element.prototype.getRootNode ? function(t) {
58
58
  var e;
59
59
  return t == null || (e = t.getRootNode) === null || e === void 0 ? void 0 : e.call(t);
60
60
  } : function(t) {
61
61
  return t == null ? void 0 : t.ownerDocument;
62
- }, q = function t(e, r) {
62
+ }, q = function(e, r) {
63
63
  var n;
64
64
  r === void 0 && (r = !0);
65
- var i = e == null || (n = e.getAttribute) === null || n === void 0 ? void 0 : n.call(e, "inert"), u = i === "" || i === "true", a = u || r && e && t(e.parentNode);
65
+ var i = e == null || (n = e.getAttribute) === null || n === void 0 ? void 0 : n.call(e, "inert"), u = i === "" || i === "true", a = u || r && e && // closest does not exist on shadow roots, so we fall back to a manual
66
+ // lookup upward, in case it is not defined.
67
+ (typeof e.closest == "function" ? e.closest("[inert]") : q(e.parentNode));
66
68
  return a;
67
- }, Et = function(e) {
69
+ }, Tt = function(e) {
68
70
  var r, n = e == null || (r = e.getAttribute) === null || r === void 0 ? void 0 : r.call(e, "contenteditable");
69
71
  return n === "" || n === "true";
70
- }, _e = function(e, r, n) {
72
+ }, Me = function(e, r, n) {
71
73
  if (q(e))
72
74
  return [];
73
75
  var i = Array.prototype.slice.apply(e.querySelectorAll(G));
74
76
  return r && C.call(e, G) && i.unshift(e), i = i.filter(n), i;
75
- }, Me = function t(e, r, n) {
77
+ }, $ = function(e, r, n) {
76
78
  for (var i = [], u = Array.from(e); u.length; ) {
77
79
  var a = u.shift();
78
80
  if (!q(a, !1))
79
81
  if (a.tagName === "SLOT") {
80
- var s = a.assignedElements(), l = s.length ? s : a.children, d = t(l, !0, n);
82
+ var s = a.assignedElements(), l = s.length ? s : a.children, d = $(l, !0, n);
81
83
  n.flatten ? i.push.apply(i, d) : i.push({
82
84
  scopeParent: a,
83
85
  candidates: d
84
86
  });
85
87
  } else {
86
- var p = C.call(a, G);
87
- p && n.filter(a) && (r || !e.includes(a)) && i.push(a);
88
+ var b = C.call(a, G);
89
+ b && n.filter(a) && (r || !e.includes(a)) && i.push(a);
88
90
  var v = a.shadowRoot || // check for an undisclosed shadow
89
- typeof n.getShadowRoot == "function" && n.getShadowRoot(a), b = !q(v, !1) && (!n.shadowRootFilter || n.shadowRootFilter(a));
90
- if (v && b) {
91
- var w = t(v === !0 ? a.children : v.children, !0, n);
91
+ typeof n.getShadowRoot == "function" && n.getShadowRoot(a), p = !q(v, !1) && (!n.shadowRootFilter || n.shadowRootFilter(a));
92
+ if (v && p) {
93
+ var w = $(v === !0 ? a.children : v.children, !0, n);
92
94
  n.flatten ? i.push.apply(i, w) : i.push({
93
95
  scopeParent: a,
94
96
  candidates: w
@@ -103,17 +105,17 @@ var Le = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
103
105
  }, P = function(e) {
104
106
  if (!e)
105
107
  throw new Error("No node provided");
106
- return e.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName) || Et(e)) && !Ke(e) ? 0 : e.tabIndex;
107
- }, Tt = function(e, r) {
108
+ return e.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName) || Tt(e)) && !Ke(e) ? 0 : e.tabIndex;
109
+ }, Ot = function(e, r) {
108
110
  var n = P(e);
109
111
  return n < 0 && r && !Ke(e) ? 0 : n;
110
- }, Ot = function(e, r) {
112
+ }, Ft = function(e, r) {
111
113
  return e.tabIndex === r.tabIndex ? e.documentOrder - r.documentOrder : e.tabIndex - r.tabIndex;
112
114
  }, Ue = function(e) {
113
115
  return e.tagName === "INPUT";
114
- }, Ft = function(e) {
115
- return Ue(e) && e.type === "hidden";
116
116
  }, At = function(e) {
117
+ return Ue(e) && e.type === "hidden";
118
+ }, St = function(e) {
117
119
  var r = e.tagName === "DETAILS" && Array.prototype.slice.apply(e.children).some(function(n) {
118
120
  return n.tagName === "SUMMARY";
119
121
  });
@@ -122,7 +124,7 @@ var Le = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
122
124
  for (var n = 0; n < e.length; n++)
123
125
  if (e[n].checked && e[n].form === r)
124
126
  return e[n];
125
- }, St = function(e) {
127
+ }, kt = function(e) {
126
128
  if (!e.name)
127
129
  return !0;
128
130
  var r = e.form || H(e), n = function(s) {
@@ -140,46 +142,64 @@ var Le = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
140
142
  return !u || u === e;
141
143
  }, xt = function(e) {
142
144
  return Ue(e) && e.type === "radio";
143
- }, kt = function(e) {
144
- return xt(e) && !St(e);
145
145
  }, Pt = function(e) {
146
+ return xt(e) && !kt(e);
147
+ }, Ct = function(e) {
146
148
  var r, n = e && H(e), i = (r = n) === null || r === void 0 ? void 0 : r.host, u = !1;
147
149
  if (n && n !== e) {
148
150
  var a, s, l;
149
151
  for (u = !!((a = i) !== null && a !== void 0 && (s = a.ownerDocument) !== null && s !== void 0 && s.contains(i) || e != null && (l = e.ownerDocument) !== null && l !== void 0 && l.contains(e)); !u && i; ) {
150
- var d, p, v;
151
- n = H(i), i = (d = n) === null || d === void 0 ? void 0 : d.host, u = !!((p = i) !== null && p !== void 0 && (v = p.ownerDocument) !== null && v !== void 0 && v.contains(i));
152
+ var d, b, v;
153
+ n = H(i), i = (d = n) === null || d === void 0 ? void 0 : d.host, u = !!((b = i) !== null && b !== void 0 && (v = b.ownerDocument) !== null && v !== void 0 && v.contains(i));
152
154
  }
153
155
  }
154
156
  return u;
155
- }, Te = function(e) {
157
+ }, Oe = function(e) {
156
158
  var r = e.getBoundingClientRect(), n = r.width, i = r.height;
157
159
  return n === 0 && i === 0;
158
- }, Ct = function(e, r) {
160
+ }, Dt = function(e, r) {
159
161
  var n = r.displayCheck, i = r.getShadowRoot;
162
+ if (n === "full-native" && "checkVisibility" in e) {
163
+ var u = e.checkVisibility({
164
+ // Checking opacity might be desirable for some use cases, but natively,
165
+ // opacity zero elements _are_ focusable and tabbable.
166
+ checkOpacity: !1,
167
+ opacityProperty: !1,
168
+ contentVisibilityAuto: !0,
169
+ visibilityProperty: !0,
170
+ // This is an alias for `visibilityProperty`. Contemporary browsers
171
+ // support both. However, this alias has wider browser support (Chrome
172
+ // >= 105 and Firefox >= 106, vs. Chrome >= 121 and Firefox >= 122), so
173
+ // we include it anyway.
174
+ checkVisibilityCSS: !0
175
+ });
176
+ return !u;
177
+ }
160
178
  if (getComputedStyle(e).visibility === "hidden")
161
179
  return !0;
162
- var u = C.call(e, "details>summary:first-of-type"), a = u ? e.parentElement : e;
163
- if (C.call(a, "details:not([open]) *"))
180
+ var a = C.call(e, "details>summary:first-of-type"), s = a ? e.parentElement : e;
181
+ if (C.call(s, "details:not([open]) *"))
164
182
  return !0;
165
- if (!n || n === "full" || n === "legacy-full") {
183
+ if (!n || n === "full" || // full-native can run this branch when it falls through in case
184
+ // Element#checkVisibility is unsupported
185
+ n === "full-native" || n === "legacy-full") {
166
186
  if (typeof i == "function") {
167
- for (var s = e; e; ) {
168
- var l = e.parentElement, d = H(e);
169
- if (l && !l.shadowRoot && i(l) === !0)
170
- return Te(e);
171
- e.assignedSlot ? e = e.assignedSlot : !l && d !== e.ownerDocument ? e = d.host : e = l;
187
+ for (var l = e; e; ) {
188
+ var d = e.parentElement, b = H(e);
189
+ if (d && !d.shadowRoot && i(d) === !0)
190
+ return Oe(e);
191
+ e.assignedSlot ? e = e.assignedSlot : !d && b !== e.ownerDocument ? e = b.host : e = d;
172
192
  }
173
- e = s;
193
+ e = l;
174
194
  }
175
- if (Pt(e))
195
+ if (Ct(e))
176
196
  return !e.getClientRects().length;
177
197
  if (n !== "legacy-full")
178
198
  return !0;
179
199
  } else if (n === "non-zero-area")
180
- return Te(e);
200
+ return Oe(e);
181
201
  return !1;
182
- }, Dt = function(e) {
202
+ }, Rt = function(e) {
183
203
  if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))
184
204
  for (var r = e.parentElement; r; ) {
185
205
  if (r.tagName === "FIELDSET" && r.disabled) {
@@ -193,21 +213,18 @@ var Le = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
193
213
  r = r.parentElement;
194
214
  }
195
215
  return !1;
196
- }, $ = function(e, r) {
197
- return !(r.disabled || // we must do an inert look up to filter out any elements inside an inert ancestor
198
- // because we're limited in the type of selectors we can use in JSDom (see related
199
- // note related to `candidateSelectors`)
200
- q(r) || Ft(r) || Ct(r, e) || // For a details element with a summary, the summary element gets the focus
201
- At(r) || Dt(r));
202
- }, ae = function(e, r) {
203
- return !(kt(r) || P(r) < 0 || !$(e, r));
204
- }, Rt = function(e) {
216
+ }, Y = function(e, r) {
217
+ return !(r.disabled || At(r) || Dt(r, e) || // For a details element with a summary, the summary element gets the focus
218
+ St(r) || Rt(r));
219
+ }, ie = function(e, r) {
220
+ return !(Pt(r) || P(r) < 0 || !Y(e, r));
221
+ }, Lt = function(e) {
205
222
  var r = parseInt(e.getAttribute("tabindex"), 10);
206
223
  return !!(isNaN(r) || r >= 0);
207
- }, Lt = function t(e) {
224
+ }, je = function(e) {
208
225
  var r = [], n = [];
209
226
  return e.forEach(function(i, u) {
210
- var a = !!i.scopeParent, s = a ? i.scopeParent : i, l = Tt(s, a), d = a ? t(i.candidates) : s;
227
+ var a = !!i.scopeParent, s = a ? i.scopeParent : i, l = Ot(s, a), d = a ? je(i.candidates) : s;
211
228
  l === 0 ? a ? r.push.apply(r, d) : r.push(s) : n.push({
212
229
  documentOrder: u,
213
230
  tabIndex: l,
@@ -215,46 +232,46 @@ var Le = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
215
232
  isScope: a,
216
233
  content: d
217
234
  });
218
- }), n.sort(Ot).reduce(function(i, u) {
235
+ }), n.sort(Ft).reduce(function(i, u) {
219
236
  return u.isScope ? i.push.apply(i, u.content) : i.push(u.content), i;
220
237
  }, []).concat(r);
221
238
  }, Bt = function(e, r) {
222
239
  r = r || {};
223
240
  var n;
224
- return r.getShadowRoot ? n = Me([e], r.includeContainer, {
225
- filter: ae.bind(null, r),
241
+ return r.getShadowRoot ? n = $([e], r.includeContainer, {
242
+ filter: ie.bind(null, r),
226
243
  flatten: !1,
227
244
  getShadowRoot: r.getShadowRoot,
228
- shadowRootFilter: Rt
229
- }) : n = _e(e, r.includeContainer, ae.bind(null, r)), Lt(n);
245
+ shadowRootFilter: Lt
246
+ }) : n = Me(e, r.includeContainer, ie.bind(null, r)), je(n);
230
247
  }, _t = function(e, r) {
231
248
  r = r || {};
232
249
  var n;
233
- return r.getShadowRoot ? n = Me([e], r.includeContainer, {
234
- filter: $.bind(null, r),
250
+ return r.getShadowRoot ? n = $([e], r.includeContainer, {
251
+ filter: Y.bind(null, r),
235
252
  flatten: !0,
236
253
  getShadowRoot: r.getShadowRoot
237
- }) : n = _e(e, r.includeContainer, $.bind(null, r)), n;
254
+ }) : n = Me(e, r.includeContainer, Y.bind(null, r)), n;
238
255
  }, L = function(e, r) {
239
256
  if (r = r || {}, !e)
240
257
  throw new Error("No node provided");
241
- return C.call(e, G) === !1 ? !1 : ae(r, e);
242
- }, Mt = /* @__PURE__ */ Le.concat("iframe").join(","), ee = function(e, r) {
258
+ return C.call(e, G) === !1 ? !1 : ie(r, e);
259
+ }, Mt = /* @__PURE__ */ Be.concat("iframe:not([inert]):not([inert] *)").join(","), te = function(e, r) {
243
260
  if (r = r || {}, !e)
244
261
  throw new Error("No node provided");
245
- return C.call(e, Mt) === !1 ? !1 : $(r, e);
262
+ return C.call(e, Mt) === !1 ? !1 : Y(r, e);
246
263
  };
247
264
  /*!
248
265
  * focus-trap 7.6.4
249
266
  * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
250
267
  */
251
- function ie(t, e) {
268
+ function oe(t, e) {
252
269
  (e == null || e > t.length) && (e = t.length);
253
270
  for (var r = 0, n = Array(e); r < e; r++) n[r] = t[r];
254
271
  return n;
255
272
  }
256
273
  function Kt(t) {
257
- if (Array.isArray(t)) return ie(t);
274
+ if (Array.isArray(t)) return oe(t);
258
275
  }
259
276
  function Ut(t, e, r) {
260
277
  return (e = Ht(e)) in t ? Object.defineProperty(t, e, {
@@ -271,7 +288,7 @@ function Vt() {
271
288
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
272
289
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
273
290
  }
274
- function Oe(t, e) {
291
+ function Fe(t, e) {
275
292
  var r = Object.keys(t);
276
293
  if (Object.getOwnPropertySymbols) {
277
294
  var n = Object.getOwnPropertySymbols(t);
@@ -281,12 +298,12 @@ function Oe(t, e) {
281
298
  }
282
299
  return r;
283
300
  }
284
- function Fe(t) {
301
+ function Ae(t) {
285
302
  for (var e = 1; e < arguments.length; e++) {
286
303
  var r = arguments[e] != null ? arguments[e] : {};
287
- e % 2 ? Oe(Object(r), !0).forEach(function(n) {
304
+ e % 2 ? Fe(Object(r), !0).forEach(function(n) {
288
305
  Ut(t, n, r[n]);
289
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(r)) : Oe(Object(r)).forEach(function(n) {
306
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(r)) : Fe(Object(r)).forEach(function(n) {
290
307
  Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(r, n));
291
308
  });
292
309
  }
@@ -311,12 +328,12 @@ function Ht(t) {
311
328
  }
312
329
  function qt(t, e) {
313
330
  if (t) {
314
- if (typeof t == "string") return ie(t, e);
331
+ if (typeof t == "string") return oe(t, e);
315
332
  var r = {}.toString.call(t).slice(8, -1);
316
- return r === "Object" && t.constructor && (r = t.constructor.name), r === "Map" || r === "Set" ? Array.from(t) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? ie(t, e) : void 0;
333
+ return r === "Object" && t.constructor && (r = t.constructor.name), r === "Map" || r === "Set" ? Array.from(t) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? oe(t, e) : void 0;
317
334
  }
318
335
  }
319
- var Ae = {
336
+ var Se = {
320
337
  activateTrap: function(e, r) {
321
338
  if (e.length > 0) {
322
339
  var n = e[e.length - 1];
@@ -348,7 +365,7 @@ var Ae = {
348
365
  }, W = function(e) {
349
366
  return e.target.shadowRoot && typeof e.composedPath == "function" ? e.composedPath()[0] : e.target;
350
367
  }, Xt = [], Jt = function(e, r) {
351
- var n = (r == null ? void 0 : r.document) || document, i = (r == null ? void 0 : r.trapStack) || Xt, u = Fe({
368
+ var n = (r == null ? void 0 : r.document) || document, i = (r == null ? void 0 : r.trapStack) || Xt, u = Ae({
352
369
  returnFocusOnDeactivate: !0,
353
370
  escapeDeactivates: !0,
354
371
  delayInitialFocus: !0,
@@ -405,7 +422,7 @@ var Ae = {
405
422
  return m === o;
406
423
  });
407
424
  });
408
- }, p = function(o) {
425
+ }, b = function(o) {
409
426
  var c = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, f = c.hasFallback, h = f === void 0 ? !1 : f, y = c.params, E = y === void 0 ? [] : y, m = u[o];
410
427
  if (typeof m == "function" && (m = m.apply(void 0, Wt(E))), m === !0 && (m = void 0), !m) {
411
428
  if (m === void 0 || m === !1)
@@ -424,23 +441,23 @@ var Ae = {
424
441
  }
425
442
  return T;
426
443
  }, v = function() {
427
- var o = p("initialFocus", {
444
+ var o = b("initialFocus", {
428
445
  hasFallback: !0
429
446
  });
430
447
  if (o === !1)
431
448
  return !1;
432
- if (o === void 0 || o && !ee(o, u.tabbableOptions))
449
+ if (o === void 0 || o && !te(o, u.tabbableOptions))
433
450
  if (d(n.activeElement) >= 0)
434
451
  o = n.activeElement;
435
452
  else {
436
453
  var c = a.tabbableGroups[0], f = c && c.firstTabbableNode;
437
- o = f || p("fallbackFocus");
454
+ o = f || b("fallbackFocus");
438
455
  }
439
- else o === null && (o = p("fallbackFocus"));
456
+ else o === null && (o = b("fallbackFocus"));
440
457
  if (!o)
441
458
  throw new Error("Your focus-trap needs to have at least one focusable element");
442
459
  return o;
443
- }, b = function() {
460
+ }, p = function() {
444
461
  if (a.containerGroups = a.containers.map(function(o) {
445
462
  var c = Bt(o, u.tabbableOptions), f = _t(o, u.tabbableOptions), h = c.length > 0 ? c[0] : void 0, y = c.length > 0 ? c[c.length - 1] : void 0, E = f.find(function(O) {
446
463
  return L(O);
@@ -478,18 +495,18 @@ var Ae = {
478
495
  * in reverse.
479
496
  * @returns {HTMLElement|undefined} The next tabbable node, if any.
480
497
  */
481
- nextTabbableNode: function(k) {
482
- var _ = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, x = c.indexOf(k);
483
- return x < 0 ? _ ? f.slice(f.indexOf(k) + 1).find(function(M) {
498
+ nextTabbableNode: function(x) {
499
+ var _ = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, k = c.indexOf(x);
500
+ return k < 0 ? _ ? f.slice(f.indexOf(x) + 1).find(function(M) {
484
501
  return L(M);
485
- }) : f.slice(0, f.indexOf(k)).reverse().find(function(M) {
502
+ }) : f.slice(0, f.indexOf(x)).reverse().find(function(M) {
486
503
  return L(M);
487
- }) : c[x + (_ ? 1 : -1)];
504
+ }) : c[k + (_ ? 1 : -1)];
488
505
  }
489
506
  };
490
507
  }), a.tabbableGroups = a.containerGroups.filter(function(o) {
491
508
  return o.tabbableNodes.length > 0;
492
- }), a.tabbableGroups.length <= 0 && !p("fallbackFocus"))
509
+ }), a.tabbableGroups.length <= 0 && !b("fallbackFocus"))
493
510
  throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");
494
511
  if (a.containerGroups.find(function(o) {
495
512
  return o.posTabIndexesFound;
@@ -510,41 +527,41 @@ var Ae = {
510
527
  }), a.mostRecentlyFocusedNode = o, $t(o) && o.select();
511
528
  }
512
529
  }, F = function(o) {
513
- var c = p("setReturnFocus", {
530
+ var c = b("setReturnFocus", {
514
531
  params: [o]
515
532
  });
516
533
  return c || (c === !1 ? !1 : o);
517
- }, I = function(o) {
534
+ }, S = function(o) {
518
535
  var c = o.target, f = o.event, h = o.isBackward, y = h === void 0 ? !1 : h;
519
- c = c || W(f), b();
536
+ c = c || W(f), p();
520
537
  var E = null;
521
538
  if (a.tabbableGroups.length > 0) {
522
539
  var m = d(c, f), T = m >= 0 ? a.containerGroups[m] : void 0;
523
540
  if (m < 0)
524
541
  y ? E = a.tabbableGroups[a.tabbableGroups.length - 1].lastTabbableNode : E = a.tabbableGroups[0].firstTabbableNode;
525
542
  else if (y) {
526
- var O = a.tabbableGroups.findIndex(function(J) {
527
- var Q = J.firstTabbableNode;
528
- return c === Q;
543
+ var O = a.tabbableGroups.findIndex(function(Q) {
544
+ var ee = Q.firstTabbableNode;
545
+ return c === ee;
529
546
  });
530
- if (O < 0 && (T.container === c || ee(c, u.tabbableOptions) && !L(c, u.tabbableOptions) && !T.nextTabbableNode(c, !1)) && (O = m), O >= 0) {
531
- var k = O === 0 ? a.tabbableGroups.length - 1 : O - 1, _ = a.tabbableGroups[k];
547
+ if (O < 0 && (T.container === c || te(c, u.tabbableOptions) && !L(c, u.tabbableOptions) && !T.nextTabbableNode(c, !1)) && (O = m), O >= 0) {
548
+ var x = O === 0 ? a.tabbableGroups.length - 1 : O - 1, _ = a.tabbableGroups[x];
532
549
  E = P(c) >= 0 ? _.lastTabbableNode : _.lastDomTabbableNode;
533
550
  } else j(f) || (E = T.nextTabbableNode(c, !1));
534
551
  } else {
535
- var x = a.tabbableGroups.findIndex(function(J) {
536
- var Q = J.lastTabbableNode;
537
- return c === Q;
552
+ var k = a.tabbableGroups.findIndex(function(Q) {
553
+ var ee = Q.lastTabbableNode;
554
+ return c === ee;
538
555
  });
539
- if (x < 0 && (T.container === c || ee(c, u.tabbableOptions) && !L(c, u.tabbableOptions) && !T.nextTabbableNode(c)) && (x = m), x >= 0) {
540
- var M = x === a.tabbableGroups.length - 1 ? 0 : x + 1, Ee = a.tabbableGroups[M];
541
- E = P(c) >= 0 ? Ee.firstTabbableNode : Ee.firstDomTabbableNode;
556
+ if (k < 0 && (T.container === c || te(c, u.tabbableOptions) && !L(c, u.tabbableOptions) && !T.nextTabbableNode(c)) && (k = m), k >= 0) {
557
+ var M = k === a.tabbableGroups.length - 1 ? 0 : k + 1, Te = a.tabbableGroups[M];
558
+ E = P(c) >= 0 ? Te.firstTabbableNode : Te.firstDomTabbableNode;
542
559
  } else j(f) || (E = T.nextTabbableNode(c));
543
560
  }
544
561
  } else
545
- E = p("fallbackFocus");
562
+ E = b("fallbackFocus");
546
563
  return E;
547
- }, S = function(o) {
564
+ }, I = function(o) {
548
565
  var c = W(o);
549
566
  if (!(d(c, o) >= 0)) {
550
567
  if (K(u.clickOutsideDeactivates, o)) {
@@ -579,13 +596,13 @@ var Ae = {
579
596
  }
580
597
  } else
581
598
  a.containerGroups.some(function(O) {
582
- return O.tabbableNodes.some(function(k) {
583
- return P(k) > 0;
599
+ return O.tabbableNodes.some(function(x) {
600
+ return P(x) > 0;
584
601
  });
585
602
  }) || (y = !1);
586
603
  else
587
604
  y = !1;
588
- y && (h = I({
605
+ y && (h = S({
589
606
  // move FROM the MRU node, not event-related node (which will be the node that is
590
607
  // outside the trap causing the focus escape we're trying to fix)
591
608
  target: a.mostRecentlyFocusedNode,
@@ -593,42 +610,42 @@ var Ae = {
593
610
  })), g(h || a.mostRecentlyFocusedNode || v());
594
611
  }
595
612
  a.recentNavEvent = void 0;
596
- }, pe = function(o) {
613
+ }, he = function(o) {
597
614
  var c = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
598
615
  a.recentNavEvent = o;
599
- var f = I({
616
+ var f = S({
600
617
  event: o,
601
618
  isBackward: c
602
619
  });
603
620
  f && (j(o) && o.preventDefault(), g(f));
604
- }, he = function(o) {
605
- (u.isKeyForward(o) || u.isKeyBackward(o)) && pe(o, u.isKeyBackward(o));
606
621
  }, ye = function(o) {
607
- Yt(o) && K(u.escapeDeactivates, o) !== !1 && (o.preventDefault(), s.deactivate());
622
+ (u.isKeyForward(o) || u.isKeyBackward(o)) && he(o, u.isKeyBackward(o));
608
623
  }, ge = function(o) {
624
+ Yt(o) && K(u.escapeDeactivates, o) !== !1 && (o.preventDefault(), s.deactivate());
625
+ }, we = function(o) {
609
626
  var c = W(o);
610
627
  d(c, o) >= 0 || K(u.clickOutsideDeactivates, o) || K(u.allowOutsideClick, o) || (o.preventDefault(), o.stopImmediatePropagation());
611
- }, we = function() {
628
+ }, Ne = function() {
612
629
  if (a.active)
613
- return Ae.activateTrap(i, s), a.delayInitialFocusTimer = u.delayInitialFocus ? Ie(function() {
630
+ return Se.activateTrap(i, s), a.delayInitialFocusTimer = u.delayInitialFocus ? Ie(function() {
614
631
  g(v());
615
- }) : g(v()), n.addEventListener("focusin", D, !0), n.addEventListener("mousedown", S, {
632
+ }) : g(v()), n.addEventListener("focusin", D, !0), n.addEventListener("mousedown", I, {
616
633
  capture: !0,
617
634
  passive: !1
618
- }), n.addEventListener("touchstart", S, {
635
+ }), n.addEventListener("touchstart", I, {
619
636
  capture: !0,
620
637
  passive: !1
621
- }), n.addEventListener("click", ge, {
638
+ }), n.addEventListener("click", we, {
622
639
  capture: !0,
623
640
  passive: !1
624
- }), n.addEventListener("keydown", he, {
641
+ }), n.addEventListener("keydown", ye, {
625
642
  capture: !0,
626
643
  passive: !1
627
- }), n.addEventListener("keydown", ye), s;
628
- }, Ne = function() {
644
+ }), n.addEventListener("keydown", ge), s;
645
+ }, Ee = function() {
629
646
  if (a.active)
630
- return n.removeEventListener("focusin", D, !0), n.removeEventListener("mousedown", S, !0), n.removeEventListener("touchstart", S, !0), n.removeEventListener("click", ge, !0), n.removeEventListener("keydown", he, !0), n.removeEventListener("keydown", ye), s;
631
- }, rt = function(o) {
647
+ return n.removeEventListener("focusin", D, !0), n.removeEventListener("mousedown", I, !0), n.removeEventListener("touchstart", I, !0), n.removeEventListener("click", we, !0), n.removeEventListener("keydown", ye, !0), n.removeEventListener("keydown", ge), s;
648
+ }, nt = function(o) {
632
649
  var c = o.some(function(f) {
633
650
  var h = Array.from(f.removedNodes);
634
651
  return h.some(function(y) {
@@ -636,9 +653,9 @@ var Ae = {
636
653
  });
637
654
  });
638
655
  c && g(v());
639
- }, X = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(rt) : void 0, B = function() {
640
- X && (X.disconnect(), a.active && !a.paused && a.containers.map(function(o) {
641
- X.observe(o, {
656
+ }, J = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(nt) : void 0, B = function() {
657
+ J && (J.disconnect(), a.active && !a.paused && a.containers.map(function(o) {
658
+ J.observe(o, {
642
659
  subtree: !0,
643
660
  childList: !0
644
661
  });
@@ -655,21 +672,21 @@ var Ae = {
655
672
  if (a.active)
656
673
  return this;
657
674
  var c = l(o, "onActivate"), f = l(o, "onPostActivate"), h = l(o, "checkCanFocusTrap");
658
- h || b(), a.active = !0, a.paused = !1, a.nodeFocusedBeforeActivation = n.activeElement, c == null || c();
675
+ h || p(), a.active = !0, a.paused = !1, a.nodeFocusedBeforeActivation = n.activeElement, c == null || c();
659
676
  var y = function() {
660
- h && b(), we(), B(), f == null || f();
677
+ h && p(), Ne(), B(), f == null || f();
661
678
  };
662
679
  return h ? (h(a.containers.concat()).then(y, y), this) : (y(), this);
663
680
  },
664
681
  deactivate: function(o) {
665
682
  if (!a.active)
666
683
  return this;
667
- var c = Fe({
684
+ var c = Ae({
668
685
  onDeactivate: u.onDeactivate,
669
686
  onPostDeactivate: u.onPostDeactivate,
670
687
  checkCanReturnFocus: u.checkCanReturnFocus
671
688
  }, o);
672
- clearTimeout(a.delayInitialFocusTimer), a.delayInitialFocusTimer = void 0, Ne(), a.active = !1, a.paused = !1, B(), Ae.deactivateTrap(i, s);
689
+ clearTimeout(a.delayInitialFocusTimer), a.delayInitialFocusTimer = void 0, Ee(), a.active = !1, a.paused = !1, B(), Se.deactivateTrap(i, s);
673
690
  var f = l(c, "onDeactivate"), h = l(c, "onPostDeactivate"), y = l(c, "checkCanReturnFocus"), E = l(c, "returnFocus", "returnFocusOnDeactivate");
674
691
  f == null || f();
675
692
  var m = function() {
@@ -689,7 +706,7 @@ var Ae = {
689
706
  var c = [].concat(o).filter(Boolean);
690
707
  return a.containers = c.map(function(f) {
691
708
  return typeof f == "string" ? n.querySelector(f) : f;
692
- }), a.active && b(), B(), this;
709
+ }), a.active && p(), B(), this;
693
710
  }
694
711
  }, Object.defineProperties(s, {
695
712
  _isManuallyPaused: {
@@ -703,10 +720,10 @@ var Ae = {
703
720
  return this;
704
721
  if (a.paused = o, o) {
705
722
  var f = l(c, "onPause"), h = l(c, "onPostPause");
706
- f == null || f(), Ne(), B(), h == null || h();
723
+ f == null || f(), Ee(), B(), h == null || h();
707
724
  } else {
708
725
  var y = l(c, "onUnpause"), E = l(c, "onPostUnpause");
709
- y == null || y(), b(), we(), B(), E == null || E();
726
+ y == null || y(), p(), Ne(), B(), E == null || E();
710
727
  }
711
728
  return this;
712
729
  }
@@ -714,77 +731,77 @@ var Ae = {
714
731
  }), s.updateContainerElements(e), s;
715
732
  };
716
733
  const Qt = (t, e, r) => {
717
- const n = z(null), i = yt(t);
718
- Re(
719
- [() => gt(t), () => e.value, i, r],
734
+ const n = X(null), i = gt(t);
735
+ Le(
736
+ [() => wt(t), () => e.value, i, r],
720
737
  ([u, a, s, l]) => {
721
738
  if (!u || !a || !s)
722
739
  return;
723
- const { additionalContainers: d, ...p } = l ?? {}, v = [u, ...d ?? []];
740
+ const { additionalContainers: d, ...b } = l ?? {}, v = [u, ...d ?? []];
724
741
  n.value ? (n.value.updateContainerElements(v), n.value.active || n.value.activate()) : (n.value = Jt(v, {
725
742
  delayInitialFocus: !1,
726
743
  fallbackFocus: u,
727
- ...p
744
+ ...b
728
745
  }), n.value.activate());
729
746
  },
730
747
  { flush: "post" }
731
- ), De(() => {
748
+ ), Re(() => {
732
749
  var u;
733
750
  e.value && ((u = n.value) == null || u.deactivate());
734
751
  });
735
752
  };
736
- var Se = "data-focus-lock", er = "data-focus-lock-disabled", tr = "data-no-focus-lock", rr = "data-autofocus-inside", nr = "data-no-autofocus", A = function(t) {
753
+ var ke = "data-focus-lock", er = "data-focus-lock-disabled", tr = "data-no-focus-lock", rr = "data-autofocus-inside", nr = "data-no-autofocus", A = function(t) {
737
754
  for (var e = Array(t.length), r = 0; r < t.length; ++r)
738
755
  e[r] = t[r];
739
756
  return e;
740
- }, oe = function(t) {
757
+ }, ue = function(t) {
741
758
  return Array.isArray(t) ? t : [t];
742
759
  }, ar = function(t) {
743
760
  if (t.nodeType !== Node.ELEMENT_NODE)
744
761
  return !1;
745
762
  var e = window.getComputedStyle(t, null);
746
763
  return !e || !e.getPropertyValue ? !1 : e.getPropertyValue("display") === "none" || e.getPropertyValue("visibility") === "hidden";
747
- }, je = function(t) {
764
+ }, Ve = function(t) {
748
765
  return t.parentNode && t.parentNode.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? (
749
766
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
750
767
  t.parentNode.host
751
768
  ) : t.parentNode;
752
- }, Ve = function(t) {
769
+ }, We = function(t) {
753
770
  return t === document || t && t.nodeType === Node.DOCUMENT_NODE;
754
771
  }, ir = function(t, e) {
755
- return !t || Ve(t) || !ar(t) && e(je(t));
756
- }, We = function(t, e) {
772
+ return !t || We(t) || !ar(t) && e(Ve(t));
773
+ }, Ge = function(t, e) {
757
774
  var r = t.get(e);
758
775
  if (r !== void 0)
759
776
  return r;
760
- var n = ir(e, We.bind(void 0, t));
777
+ var n = ir(e, Ge.bind(void 0, t));
761
778
  return t.set(e, n), n;
762
779
  }, or = function(t, e) {
763
- return t && !Ve(t) ? sr(t) ? e(je(t)) : !1 : !0;
764
- }, Ge = function(t, e) {
780
+ return t && !We(t) ? sr(t) ? e(Ve(t)) : !1 : !0;
781
+ }, He = function(t, e) {
765
782
  var r = t.get(e);
766
783
  if (r !== void 0)
767
784
  return r;
768
- var n = or(e, Ge.bind(void 0, t));
785
+ var n = or(e, He.bind(void 0, t));
769
786
  return t.set(e, n), n;
770
- }, He = function(t) {
787
+ }, qe = function(t) {
771
788
  return t.dataset;
772
789
  }, ur = function(t) {
773
790
  return t.tagName === "BUTTON";
774
- }, qe = function(t) {
775
- return t.tagName === "INPUT";
776
791
  }, $e = function(t) {
777
- return qe(t) && t.type === "radio";
792
+ return t.tagName === "INPUT";
793
+ }, Ye = function(t) {
794
+ return $e(t) && t.type === "radio";
778
795
  }, cr = function(t) {
779
- return !((qe(t) || ur(t)) && (t.type === "hidden" || t.disabled));
796
+ return !(($e(t) || ur(t)) && (t.type === "hidden" || t.disabled));
780
797
  }, sr = function(t) {
781
798
  var e = t.getAttribute(nr);
782
799
  return ![!0, "true", ""].includes(e);
783
- }, se = function(t) {
800
+ }, le = function(t) {
784
801
  var e;
785
- return !!(t && (!((e = He(t)) === null || e === void 0) && e.focusGuard));
786
- }, Y = function(t) {
787
- return !se(t);
802
+ return !!(t && (!((e = qe(t)) === null || e === void 0) && e.focusGuard));
803
+ }, Z = function(t) {
804
+ return !le(t);
788
805
  }, lr = function(t) {
789
806
  return !!t;
790
807
  }, fr = function(t, e) {
@@ -796,7 +813,7 @@ var Se = "data-focus-lock", er = "data-focus-lock-disabled", tr = "data-no-focus
796
813
  return -1;
797
814
  }
798
815
  return r || n;
799
- }, Ye = function(t, e, r) {
816
+ }, Ze = function(t, e, r) {
800
817
  return A(t).map(function(n, i) {
801
818
  return {
802
819
  node: n,
@@ -824,18 +841,18 @@ var Se = "data-focus-lock", er = "data-focus-lock-disabled", tr = "data-no-focus
824
841
  "[tabindex]",
825
842
  "[contenteditable]",
826
843
  "[autofocus]"
827
- ], le = dr.join(","), vr = "".concat(le, ", [data-focus-guard]"), Ze = function(t, e) {
844
+ ], fe = dr.join(","), vr = "".concat(fe, ", [data-focus-guard]"), ze = function(t, e) {
828
845
  var r;
829
846
  return A(((r = t.shadowRoot) === null || r === void 0 ? void 0 : r.children) || t.children).reduce(function(n, i) {
830
- return n.concat(i.matches(e ? vr : le) ? [i] : [], Ze(i));
847
+ return n.concat(i.matches(e ? vr : fe) ? [i] : [], ze(i));
831
848
  }, []);
832
- }, fe = function(t, e) {
849
+ }, de = function(t, e) {
833
850
  return t.reduce(function(r, n) {
834
851
  return r.concat(
835
852
  // add all tabbables inside and within shadow DOMs in DOM order
836
- Ze(n, e),
853
+ ze(n, e),
837
854
  // add if node is tabbable itself
838
- n.parentNode ? A(n.parentNode.querySelectorAll(le)).filter(function(i) {
855
+ n.parentNode ? A(n.parentNode.querySelectorAll(fe)).filter(function(i) {
839
856
  return i === n;
840
857
  }) : []
841
858
  );
@@ -843,31 +860,31 @@ var Se = "data-focus-lock", er = "data-focus-lock-disabled", tr = "data-no-focus
843
860
  }, br = function(t) {
844
861
  var e = t.querySelectorAll("[".concat(rr, "]"));
845
862
  return A(e).map(function(r) {
846
- return fe([r]);
863
+ return de([r]);
847
864
  }).reduce(function(r, n) {
848
865
  return r.concat(n);
849
866
  }, []);
850
- }, de = function(t, e) {
867
+ }, ve = function(t, e) {
851
868
  return A(t).filter(function(r) {
852
- return We(e, r);
869
+ return Ge(e, r);
853
870
  }).filter(function(r) {
854
871
  return cr(r);
855
872
  });
856
873
  }, xe = function(t, e) {
857
874
  return e === void 0 && (e = /* @__PURE__ */ new Map()), A(t).filter(function(r) {
858
- return Ge(e, r);
875
+ return He(e, r);
859
876
  });
860
- }, ue = function(t, e, r) {
861
- return Ye(de(fe(t, r), e), !0, r);
862
- }, ke = function(t, e) {
863
- return Ye(de(fe(t), e), !1);
864
- }, mr = function(t, e) {
865
- return de(br(t), e);
877
+ }, ce = function(t, e, r) {
878
+ return Ze(ve(de(t, r), e), !0, r);
879
+ }, Pe = function(t, e) {
880
+ return Ze(ve(de(t), e), !1);
881
+ }, pr = function(t, e) {
882
+ return ve(br(t), e);
866
883
  }, V = function(t, e) {
867
884
  return (t.shadowRoot ? V(t.shadowRoot, e) : t.contains(e)) || Array.from(t.children).some(function(r) {
868
885
  return V(r, e);
869
886
  });
870
- }, pr = function(t) {
887
+ }, mr = function(t) {
871
888
  for (var e = /* @__PURE__ */ new Set(), r = t.length, n = 0; n < r; n += 1)
872
889
  for (var i = n + 1; i < r; i += 1) {
873
890
  var u = t[n].compareDocumentPosition(t[i]);
@@ -876,18 +893,18 @@ var Se = "data-focus-lock", er = "data-focus-lock-disabled", tr = "data-no-focus
876
893
  return t.filter(function(a, s) {
877
894
  return !e.has(s);
878
895
  });
879
- }, ze = function(t) {
880
- return t.parentNode ? ze(t.parentNode) : t;
881
- }, ve = function(t) {
882
- var e = oe(t);
896
+ }, Xe = function(t) {
897
+ return t.parentNode ? Xe(t.parentNode) : t;
898
+ }, be = function(t) {
899
+ var e = ue(t);
883
900
  return e.filter(Boolean).reduce(function(r, n) {
884
- var i = n.getAttribute(Se);
885
- return r.push.apply(r, i ? pr(A(ze(n).querySelectorAll("[".concat(Se, '="').concat(i, '"]:not([').concat(er, '="disabled"])')))) : [n]), r;
901
+ var i = n.getAttribute(ke);
902
+ return r.push.apply(r, i ? mr(A(Xe(n).querySelectorAll("[".concat(ke, '="').concat(i, '"]:not([').concat(er, '="disabled"])')))) : [n]), r;
886
903
  }, []);
887
- }, Xe = function(t) {
888
- return t.activeElement ? t.activeElement.shadowRoot ? Xe(t.activeElement.shadowRoot) : t.activeElement : void 0;
889
- }, be = function() {
890
- return document.activeElement ? document.activeElement.shadowRoot ? Xe(document.activeElement.shadowRoot) : document.activeElement : void 0;
904
+ }, Je = function(t) {
905
+ return t.activeElement ? t.activeElement.shadowRoot ? Je(t.activeElement.shadowRoot) : t.activeElement : void 0;
906
+ }, pe = function() {
907
+ return document.activeElement ? document.activeElement.shadowRoot ? Je(document.activeElement.shadowRoot) : document.activeElement : void 0;
891
908
  }, hr = function(t) {
892
909
  return t === document.activeElement;
893
910
  }, yr = function(t) {
@@ -895,23 +912,23 @@ var Se = "data-focus-lock", er = "data-focus-lock-disabled", tr = "data-no-focus
895
912
  return hr(e);
896
913
  });
897
914
  }, gr = function(t) {
898
- var e = document && be();
899
- return !e || e.dataset && e.dataset.focusGuard ? !1 : ve(t).some(function(r) {
915
+ var e = document && pe();
916
+ return !e || e.dataset && e.dataset.focusGuard ? !1 : be(t).some(function(r) {
900
917
  return V(r, e) || yr(r);
901
918
  });
902
919
  }, wr = function() {
903
- var t = document && be();
920
+ var t = document && pe();
904
921
  return t ? A(document.querySelectorAll("[".concat(tr, "]"))).some(function(e) {
905
922
  return V(e, t);
906
923
  }) : !1;
907
924
  }, Nr = function(t, e) {
908
- return e.filter($e).filter(function(r) {
925
+ return e.filter(Ye).filter(function(r) {
909
926
  return r.name === t.name;
910
927
  }).filter(function(r) {
911
928
  return r.checked;
912
929
  })[0] || t;
913
930
  }, me = function(t, e) {
914
- return $e(t) && t.name ? Nr(t, e) : t;
931
+ return Ye(t) && t.name ? Nr(t, e) : t;
915
932
  }, Er = function(t) {
916
933
  var e = /* @__PURE__ */ new Set();
917
934
  return t.forEach(function(r) {
@@ -919,56 +936,56 @@ var Se = "data-focus-lock", er = "data-focus-lock-disabled", tr = "data-no-focus
919
936
  }), t.filter(function(r) {
920
937
  return e.has(r);
921
938
  });
922
- }, Pe = function(t) {
939
+ }, Ce = function(t) {
923
940
  return t[0] && t.length > 1 ? me(t[0], t) : t[0];
924
- }, Ce = function(t, e) {
941
+ }, De = function(t, e) {
925
942
  return t.length > 1 ? t.indexOf(me(t[e], t)) : e;
926
- }, Je = "NEW_FOCUS", Tr = function(t, e, r, n) {
927
- var i = t.length, u = t[0], a = t[i - 1], s = se(r);
943
+ }, Qe = "NEW_FOCUS", Tr = function(t, e, r, n) {
944
+ var i = t.length, u = t[0], a = t[i - 1], s = le(r);
928
945
  if (!(r && t.indexOf(r) >= 0)) {
929
- var l = r !== void 0 ? e.indexOf(r) : -1, d = n ? e.indexOf(n) : l, p = n ? t.indexOf(n) : -1, v = l - d, b = e.indexOf(u), w = e.indexOf(a), g = Er(e), F = r !== void 0 ? g.indexOf(r) : -1, I = F - (n ? g.indexOf(n) : l), S = Ce(t, 0), D = Ce(t, i - 1);
930
- if (l === -1 || p === -1)
931
- return Je;
932
- if (!v && p >= 0)
933
- return p;
934
- if (l <= b && s && Math.abs(v) > 1)
946
+ var l = r !== void 0 ? e.indexOf(r) : -1, d = n ? e.indexOf(n) : l, b = n ? t.indexOf(n) : -1, v = l - d, p = e.indexOf(u), w = e.indexOf(a), g = Er(e), F = r !== void 0 ? g.indexOf(r) : -1, S = F - (n ? g.indexOf(n) : l), I = De(t, 0), D = De(t, i - 1);
947
+ if (l === -1 || b === -1)
948
+ return Qe;
949
+ if (!v && b >= 0)
950
+ return b;
951
+ if (l <= p && s && Math.abs(v) > 1)
935
952
  return D;
936
953
  if (l >= w && s && Math.abs(v) > 1)
937
- return S;
938
- if (v && Math.abs(I) > 1)
939
- return p;
940
- if (l <= b)
954
+ return I;
955
+ if (v && Math.abs(S) > 1)
956
+ return b;
957
+ if (l <= p)
941
958
  return D;
942
959
  if (l > w)
943
- return S;
960
+ return I;
944
961
  if (v)
945
- return Math.abs(v) > 1 ? p : (i + p + v) % i;
962
+ return Math.abs(v) > 1 ? b : (i + b + v) % i;
946
963
  }
947
- }, ce = function(t, e) {
948
- return e === void 0 && (e = []), e.push(t), t.parentNode && ce(t.parentNode.host || t.parentNode, e), e;
949
- }, te = function(t, e) {
950
- for (var r = ce(t), n = ce(e), i = 0; i < r.length; i += 1) {
964
+ }, se = function(t, e) {
965
+ return e === void 0 && (e = []), e.push(t), t.parentNode && se(t.parentNode.host || t.parentNode, e), e;
966
+ }, re = function(t, e) {
967
+ for (var r = se(t), n = se(e), i = 0; i < r.length; i += 1) {
951
968
  var u = r[i];
952
969
  if (n.indexOf(u) >= 0)
953
970
  return u;
954
971
  }
955
972
  return !1;
956
- }, Qe = function(t, e, r) {
957
- var n = oe(t), i = oe(e), u = n[0], a = !1;
973
+ }, et = function(t, e, r) {
974
+ var n = ue(t), i = ue(e), u = n[0], a = !1;
958
975
  return i.filter(Boolean).forEach(function(s) {
959
- a = te(a || s, s) || a, r.filter(Boolean).forEach(function(l) {
960
- var d = te(u, l);
961
- d && (!a || V(d, a) ? a = d : a = te(d, a));
976
+ a = re(a || s, s) || a, r.filter(Boolean).forEach(function(l) {
977
+ var d = re(u, l);
978
+ d && (!a || V(d, a) ? a = d : a = re(d, a));
962
979
  });
963
980
  }), a;
964
981
  }, Or = function(t, e) {
965
982
  return t.reduce(function(r, n) {
966
- return r.concat(mr(n, e));
983
+ return r.concat(pr(n, e));
967
984
  }, []);
968
985
  }, Fr = function(t) {
969
986
  return function(e) {
970
987
  var r;
971
- return e.autofocus || !!(!((r = He(e)) === null || r === void 0) && r.autofocus) || t.indexOf(e) >= 0;
988
+ return e.autofocus || !!(!((r = qe(e)) === null || r === void 0) && r.autofocus) || t.indexOf(e) >= 0;
972
989
  };
973
990
  }, Ar = function(t, e) {
974
991
  var r = /* @__PURE__ */ new Map();
@@ -977,34 +994,34 @@ var Se = "data-focus-lock", er = "data-focus-lock-disabled", tr = "data-no-focus
977
994
  }), t.map(function(n) {
978
995
  return r.get(n);
979
996
  }).filter(lr);
980
- }, Ir = function(t, e) {
981
- var r = document && be(), n = ve(t).filter(Y), i = Qe(r || t, t, n), u = /* @__PURE__ */ new Map(), a = ke(n, u), s = ue(n, u).filter(function(w) {
997
+ }, Sr = function(t, e) {
998
+ var r = document && pe(), n = be(t).filter(Z), i = et(r || t, t, n), u = /* @__PURE__ */ new Map(), a = Pe(n, u), s = ce(n, u).filter(function(w) {
982
999
  var g = w.node;
983
- return Y(g);
1000
+ return Z(g);
984
1001
  });
985
1002
  if (!(!s[0] && (s = a, !s[0]))) {
986
- var l = ke([i], u).map(function(w) {
1003
+ var l = Pe([i], u).map(function(w) {
987
1004
  var g = w.node;
988
1005
  return g;
989
- }), d = Ar(l, s), p = d.map(function(w) {
1006
+ }), d = Ar(l, s), b = d.map(function(w) {
990
1007
  var g = w.node;
991
1008
  return g;
992
- }), v = Tr(p, l, r, e);
993
- if (v === Je) {
994
- var b = xe(a.map(function(w) {
1009
+ }), v = Tr(b, l, r, e);
1010
+ if (v === Qe) {
1011
+ var p = xe(a.map(function(w) {
995
1012
  var g = w.node;
996
1013
  return g;
997
1014
  })).filter(Fr(Or(n, u)));
998
1015
  return {
999
- node: b && b.length ? Pe(b) : Pe(xe(p))
1016
+ node: p && p.length ? Ce(p) : Ce(xe(b))
1000
1017
  };
1001
1018
  }
1002
1019
  return v === void 0 ? v : d[v];
1003
1020
  }
1004
- }, Sr = function(t) {
1005
- var e = ve(t).filter(Y), r = Qe(t, t, e), n = /* @__PURE__ */ new Map(), i = ue([r], n, !0), u = ue(e, n).filter(function(a) {
1021
+ }, Ir = function(t) {
1022
+ var e = be(t).filter(Z), r = et(t, t, e), n = /* @__PURE__ */ new Map(), i = ce([r], n, !0), u = ce(e, n).filter(function(a) {
1006
1023
  var s = a.node;
1007
- return Y(s);
1024
+ return Z(s);
1008
1025
  }).map(function(a) {
1009
1026
  var s = a.node;
1010
1027
  return s;
@@ -1015,22 +1032,22 @@ var Se = "data-focus-lock", er = "data-focus-lock-disabled", tr = "data-no-focus
1015
1032
  node: s,
1016
1033
  index: l,
1017
1034
  lockItem: u.indexOf(s) >= 0,
1018
- guard: se(s)
1035
+ guard: le(s)
1019
1036
  };
1020
1037
  });
1021
- }, xr = Sr, kr = function(t, e) {
1038
+ }, kr = Ir, xr = function(t, e) {
1022
1039
  "focus" in t && t.focus(e), "contentWindow" in t && t.contentWindow && t.contentWindow.focus();
1023
- }, re = 0, ne = !1, Pr = function(t, e, r) {
1040
+ }, ne = 0, ae = !1, Pr = function(t, e, r) {
1024
1041
  r === void 0 && (r = {});
1025
- var n = Ir(t, e);
1026
- if (!ne && n) {
1027
- if (re > 2) {
1028
- console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"), ne = !0, setTimeout(function() {
1029
- ne = !1;
1042
+ var n = Sr(t, e);
1043
+ if (!ae && n) {
1044
+ if (ne > 2) {
1045
+ console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"), ae = !0, setTimeout(function() {
1046
+ ae = !1;
1030
1047
  }, 1);
1031
1048
  return;
1032
1049
  }
1033
- re++, kr(n.node, r.focusOptions), re--;
1050
+ ne++, xr(n.node, r.focusOptions), ne--;
1034
1051
  }
1035
1052
  };
1036
1053
  const Cr = (t) => requestAnimationFrame(t), Dr = (t, e) => {
@@ -1038,7 +1055,7 @@ const Cr = (t) => requestAnimationFrame(t), Dr = (t, e) => {
1038
1055
  return r === -1 ? 0 : r;
1039
1056
  }, Rr = (t, e) => {
1040
1057
  var u;
1041
- const r = document.activeElement, n = xr(e), i = Dr(r, n) + t;
1058
+ const r = document.activeElement, n = kr(e), i = Dr(r, n) + t;
1042
1059
  return ((u = n[i]) == null ? void 0 : u.node) || r;
1043
1060
  }, Lr = (t, e) => {
1044
1061
  const r = t.key.toLowerCase();
@@ -1051,50 +1068,50 @@ const Cr = (t) => requestAnimationFrame(t), Dr = (t, e) => {
1051
1068
  block: "center",
1052
1069
  inline: "center"
1053
1070
  };
1054
- var Z = /* @__PURE__ */ ((t) => (t.VERTICAL = "vertical", t.HORIZONTAL = "horizontal", t))(Z || {}), et = /* @__PURE__ */ ((t) => (t.ARROW_UP = "arrowup", t.ARROW_DOWN = "arrowdown", t))(et || {}), tt = /* @__PURE__ */ ((t) => (t.ARROW_LEFT = "arrowleft", t.ARROW_RIGHT = "arrowright", t))(tt || {});
1071
+ var z = /* @__PURE__ */ ((t) => (t.VERTICAL = "vertical", t.HORIZONTAL = "horizontal", t))(z || {}), tt = /* @__PURE__ */ ((t) => (t.ARROW_UP = "arrowup", t.ARROW_DOWN = "arrowdown", t))(tt || {}), rt = /* @__PURE__ */ ((t) => (t.ARROW_LEFT = "arrowleft", t.ARROW_RIGHT = "arrowright", t))(rt || {});
1055
1072
  const _r = (t, e, r) => {
1056
- const n = z(null), i = U(
1057
- () => r === Z.HORIZONTAL
1073
+ const n = X(null), i = U(
1074
+ () => r === z.HORIZONTAL
1058
1075
  ), u = U(
1059
- () => r === Z.VERTICAL
1076
+ () => r === z.VERTICAL
1060
1077
  ), a = U(
1061
- () => u.value ? Object.values(et) : Object.values(tt)
1078
+ () => u.value ? Object.values(tt) : Object.values(rt)
1062
1079
  ), s = () => {
1063
1080
  (document.activeElement === document.body || wr() || !n.value) && (t.value && !gr(t.value) && Pr(t.value, n.value, {
1064
1081
  focusOptions: { preventScroll: !0 }
1065
1082
  }), n.value = document.activeElement);
1066
1083
  }, l = () => {
1067
1084
  var w;
1068
- const b = n.value || ((w = t.value) == null ? void 0 : w.parentNode) || document.body;
1069
- b && b.focus();
1085
+ const p = n.value || ((w = t.value) == null ? void 0 : w.parentNode) || document.body;
1086
+ p && p.focus();
1070
1087
  }, d = () => {
1071
1088
  e.value && Cr(s);
1072
- }, p = () => {
1089
+ }, b = () => {
1073
1090
  var g;
1074
1091
  if (!u.value && !i.value)
1075
1092
  return !1;
1076
- const b = (g = document.activeElement) == null ? void 0 : g.tagName.toLowerCase(), w = u.value ? ["textarea", "select"] : ["input", "textarea"];
1077
- return b ? w.includes(b) : !1;
1078
- }, v = (b) => {
1079
- if (!e.value || document.activeElement.isContentEditable || p())
1093
+ const p = (g = document.activeElement) == null ? void 0 : g.tagName.toLowerCase(), w = u.value ? ["textarea", "select"] : ["input", "textarea"];
1094
+ return p ? w.includes(p) : !1;
1095
+ }, v = (p) => {
1096
+ if (!e.value || document.activeElement.isContentEditable || b())
1080
1097
  return;
1081
- const { isArrowNext: w, isArrowPrev: g } = Lr(b, a.value);
1082
- if ((g || w) && (b.preventDefault(), b.stopPropagation(), t.value)) {
1098
+ const { isArrowNext: w, isArrowPrev: g } = Lr(p, a.value);
1099
+ if ((g || w) && (p.preventDefault(), p.stopPropagation(), t.value)) {
1083
1100
  const F = Rr(g ? 1 : -1, t.value);
1084
1101
  if (F.focus(), "scrollIntoView" in F) {
1085
- const I = "scrollBehavior" in document.documentElement.style ? Br : !1;
1086
- F.scrollIntoView(I);
1102
+ const S = "scrollBehavior" in document.documentElement.style ? Br : !1;
1103
+ F.scrollIntoView(S);
1087
1104
  }
1088
1105
  }
1089
1106
  };
1090
- return Re(
1107
+ return Le(
1091
1108
  () => e.value,
1092
- (b) => {
1093
- b ? s() : l();
1109
+ (p) => {
1110
+ p ? s() : l();
1094
1111
  }
1095
- ), at(() => {
1112
+ ), it(() => {
1096
1113
  e.value && s();
1097
- }), it(() => {
1114
+ }), ot(() => {
1098
1115
  e.value && l();
1099
1116
  }), {
1100
1117
  onKeyDown: v,
@@ -1102,7 +1119,7 @@ const _r = (t, e, r) => {
1102
1119
  };
1103
1120
  }, Mr = {
1104
1121
  name: "bento-focus-trap"
1105
- }, Kr = /* @__PURE__ */ ot({
1122
+ }, Kr = /* @__PURE__ */ ut({
1106
1123
  ...Mr,
1107
1124
  props: {
1108
1125
  /**
@@ -1112,7 +1129,7 @@ const _r = (t, e, r) => {
1112
1129
  arrowNavigation: {
1113
1130
  type: String,
1114
1131
  default: void 0,
1115
- validator: (t) => Object.values(Z).includes(t)
1132
+ validator: (t) => Object.values(z).includes(t)
1116
1133
  },
1117
1134
  /**
1118
1135
  * Enables / disables the focus trap.
@@ -1137,10 +1154,10 @@ const _r = (t, e, r) => {
1137
1154
  }
1138
1155
  },
1139
1156
  setup(t) {
1140
- const e = t, r = z(null), n = ut(), i = pt(n), u = U(() => e.trapAll && !e.disabled && !e.arrowNavigation), a = U(() => !e.disabled && !e.trapAll);
1141
- Qt(r, u, ct(e, "trapAllOptions"));
1142
- const { handleKeydownEscape: s } = Nt(r), { onKeyDown: l, onBlur: d } = _r(r, a, e.arrowNavigation);
1143
- return (p, v) => R(i)("default") ? (ft(), st("div", dt({
1157
+ const e = t, r = X(null), n = ct(), i = ht(n), u = U(() => e.trapAll && !e.disabled && !e.arrowNavigation), a = U(() => !e.disabled && !e.trapAll);
1158
+ Qt(r, u, st(e, "trapAllOptions"));
1159
+ const { handleKeydownEscape: s } = Et(r), { onKeyDown: l, onBlur: d } = _r(r, a, e.arrowNavigation);
1160
+ return (b, v) => R(i)("default") ? (lt(), ft("div", dt({
1144
1161
  key: 0,
1145
1162
  ref_key: "root",
1146
1163
  ref: r,
@@ -1149,23 +1166,23 @@ const _r = (t, e, r) => {
1149
1166
  tabindex: "-1"
1150
1167
  }, vt(t.arrowNavigation ? { keydown: R(l) } : {}, !0), {
1151
1168
  onFocusout: v[0] || (v[0] = //@ts-ignore
1152
- (...b) => R(d) && R(d)(...b)),
1169
+ (...p) => R(d) && R(d)(...p)),
1153
1170
  onKeydown: v[1] || (v[1] = bt(
1154
1171
  //@ts-ignore
1155
- (...b) => R(s) && R(s)(...b),
1172
+ (...p) => R(s) && R(s)(...p),
1156
1173
  ["esc"]
1157
1174
  ))
1158
1175
  }), [
1159
- mt(p.$slots, "default", {}, void 0, !0)
1160
- ], 16)) : lt("", !0);
1176
+ pt(b.$slots, "default", {}, void 0, !0)
1177
+ ], 16)) : mt("", !0);
1161
1178
  }
1162
- }), Gr = /* @__PURE__ */ wt(Kr, [["__scopeId", "data-v-702f14c9"]]);
1179
+ }), Gr = /* @__PURE__ */ Nt(Kr, [["__scopeId", "data-v-702f14c9"]]);
1163
1180
  export {
1164
1181
  Gr as B,
1165
- be as a,
1166
- xr as b,
1182
+ pe as a,
1183
+ kr as b,
1167
1184
  gr as f,
1168
1185
  Rr as g,
1169
1186
  Pr as s
1170
1187
  };
1171
- //# sourceMappingURL=focus-trap.BaHvK7aT.js.map
1188
+ //# sourceMappingURL=focus-trap.CBvh2H_m.js.map