@adyen/bento-vue2 1.81.0 → 1.82.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 (580) hide show
  1. package/README.md +1 -1
  2. package/dist/@types/components.d.ts +196 -0
  3. package/dist/@types/index.d.ts +17585 -0
  4. package/dist/@types/use-form-v4.d.ts +86 -0
  5. package/dist/accordion.js +6 -0
  6. package/dist/accordion.js.map +1 -0
  7. package/dist/action-bar.js +5 -0
  8. package/dist/action-bar.js.map +1 -0
  9. package/dist/alert.js +8 -0
  10. package/dist/alert.js.map +1 -0
  11. package/dist/assets/accordion-item.css +1 -0
  12. package/dist/assets/action-bar.css +1 -0
  13. package/dist/assets/ai-button.css +1 -0
  14. package/dist/assets/alert.css +1 -0
  15. package/dist/assets/avatar.css +1 -0
  16. package/dist/assets/base-button.css +1 -0
  17. package/dist/assets/base-modal.css +1 -0
  18. package/dist/assets/button-actions-with-menu.css +1 -0
  19. package/dist/assets/button-actions.css +1 -0
  20. package/dist/assets/button.css +1 -0
  21. package/dist/assets/calendar.css +1 -0
  22. package/dist/assets/card.css +1 -0
  23. package/dist/assets/checkbox-group.css +1 -0
  24. package/dist/assets/checkbox-input.css +1 -0
  25. package/dist/assets/checkbox.css +1 -0
  26. package/dist/assets/chip.css +1 -0
  27. package/dist/assets/code-snippet.css +1 -0
  28. package/dist/assets/controls-group.css +1 -0
  29. package/dist/assets/copy.css +1 -0
  30. package/dist/assets/country.css +1 -0
  31. package/dist/assets/currency.css +1 -0
  32. package/dist/assets/dashboard-section.css +1 -0
  33. package/dist/assets/dashed-underline.css +1 -0
  34. package/dist/assets/data-grid-template.css +1 -0
  35. package/dist/assets/data-grid.css +1 -0
  36. package/dist/assets/date-picker.css +1 -0
  37. package/dist/assets/date-range-picker.css +1 -0
  38. package/dist/assets/date.css +1 -0
  39. package/dist/assets/dialog-page.css +1 -0
  40. package/dist/assets/divider.css +1 -0
  41. package/dist/assets/dropdown-default-textbox.css +1 -0
  42. package/dist/assets/dropdown-tag.css +1 -0
  43. package/dist/assets/dropdown.css +1 -0
  44. package/dist/assets/empty-state.css +1 -0
  45. package/dist/assets/field-label.css +1 -0
  46. package/dist/assets/file-uploader.css +1 -0
  47. package/dist/assets/filter-bar.css +1 -0
  48. package/dist/assets/fixed-scroller.css +1 -0
  49. package/dist/assets/focus-trap.css +1 -0
  50. package/dist/assets/footer-actions.css +1 -0
  51. package/dist/assets/form-layout-title.css +1 -0
  52. package/dist/assets/grid-layout.css +1 -0
  53. package/dist/assets/header-meta.css +1 -0
  54. package/dist/assets/header-with-views.css +1 -0
  55. package/dist/assets/header.css +1 -0
  56. package/dist/assets/index.css +1 -0
  57. package/dist/assets/info-icon.css +1 -0
  58. package/dist/assets/input-field-password.css +1 -0
  59. package/dist/assets/input-field-phone-number.css +1 -0
  60. package/dist/assets/input-field.css +1 -0
  61. package/dist/assets/inspector.css +1 -0
  62. package/dist/assets/layout-row.css +1 -0
  63. package/dist/assets/link.css +1 -0
  64. package/dist/assets/listbox-option-tag.css +1 -0
  65. package/dist/assets/loading-indicator.css +1 -0
  66. package/dist/assets/main.css +1 -0
  67. package/dist/assets/modal-fullscreen.css +1 -0
  68. package/dist/assets/pagination.css +1 -0
  69. package/dist/assets/payment-method.css +1 -0
  70. package/dist/assets/popper-container.css +1 -0
  71. package/dist/assets/promo-banner.css +1 -0
  72. package/dist/assets/radio-group.css +1 -0
  73. package/dist/assets/radio-input.css +1 -0
  74. package/dist/assets/rich-text-editor.css +1 -0
  75. package/dist/assets/search-bar.css +1 -0
  76. package/dist/assets/secondary-nav.css +1 -0
  77. package/dist/assets/segmented-control.css +1 -0
  78. package/dist/assets/selection-card-group.css +1 -0
  79. package/dist/assets/sidepanel.css +1 -0
  80. package/dist/assets/status.css +1 -0
  81. package/dist/assets/step.css +1 -0
  82. package/dist/assets/structured-list-item.css +1 -0
  83. package/dist/assets/summary-grid.css +1 -0
  84. package/dist/assets/tab.css +1 -0
  85. package/dist/assets/tag.css +1 -0
  86. package/dist/assets/textarea.css +1 -0
  87. package/dist/assets/timeline-item.css +1 -0
  88. package/dist/assets/toast.css +1 -0
  89. package/dist/assets/toggle.css +1 -0
  90. package/dist/assets/tooltip.css +1 -0
  91. package/dist/assets/tutorial.css +1 -0
  92. package/dist/assets/typography.css +1 -0
  93. package/dist/assets/use-cached-selected-values.css +1 -0
  94. package/dist/avatar.js +5 -0
  95. package/dist/avatar.js.map +1 -0
  96. package/dist/button.js +18 -0
  97. package/dist/button.js.map +1 -0
  98. package/dist/card.js +7 -0
  99. package/dist/card.js.map +1 -0
  100. package/dist/checkbox.js +11 -0
  101. package/dist/checkbox.js.map +1 -0
  102. package/dist/chip.js +5 -0
  103. package/dist/chip.js.map +1 -0
  104. package/dist/chunks/1-generic-use.CZhwP2Yc.js +5 -0
  105. package/dist/chunks/1-generic-use.CZhwP2Yc.js.map +1 -0
  106. package/dist/chunks/1-generic-use.R6x8PEGA.js +5 -0
  107. package/dist/chunks/1-generic-use.R6x8PEGA.js.map +1 -0
  108. package/dist/chunks/2-generic-use.CNKjB4B7.js +5 -0
  109. package/dist/chunks/2-generic-use.CNKjB4B7.js.map +1 -0
  110. package/dist/chunks/2-generic-use.w0fUhovx.js +5 -0
  111. package/dist/chunks/2-generic-use.w0fUhovx.js.map +1 -0
  112. package/dist/chunks/3-generic-use.BLEzR04g.js +5 -0
  113. package/dist/chunks/3-generic-use.BLEzR04g.js.map +1 -0
  114. package/dist/chunks/3-generic-use.D3NFHgI4.js +5 -0
  115. package/dist/chunks/3-generic-use.D3NFHgI4.js.map +1 -0
  116. package/dist/chunks/4-generic-use.CULEpvgj.js +5 -0
  117. package/dist/chunks/4-generic-use.CULEpvgj.js.map +1 -0
  118. package/dist/chunks/4-generic-use.D82y3n39.js +5 -0
  119. package/dist/chunks/4-generic-use.D82y3n39.js.map +1 -0
  120. package/dist/chunks/_plugin-vue2_normalizer.CeySl7Fu.js +11 -0
  121. package/dist/chunks/_plugin-vue2_normalizer.CeySl7Fu.js.map +1 -0
  122. package/dist/chunks/accordion-item.G1q4zgBG.js +117 -0
  123. package/dist/chunks/accordion-item.G1q4zgBG.js.map +1 -0
  124. package/dist/chunks/action-bar.Dhl3T4j-.js +160 -0
  125. package/dist/chunks/action-bar.Dhl3T4j-.js.map +1 -0
  126. package/dist/chunks/adding-payment-methods.BJZLPxtM.js +5 -0
  127. package/dist/chunks/adding-payment-methods.BJZLPxtM.js.map +1 -0
  128. package/dist/chunks/adding-payment-methods.Dle8zt43.js +5 -0
  129. package/dist/chunks/adding-payment-methods.Dle8zt43.js.map +1 -0
  130. package/dist/chunks/adyen-giving.Ffw_DlJK.js +5 -0
  131. package/dist/chunks/adyen-giving.Ffw_DlJK.js.map +1 -0
  132. package/dist/chunks/adyen-giving.LiKHj_jY.js +5 -0
  133. package/dist/chunks/adyen-giving.LiKHj_jY.js.map +1 -0
  134. package/dist/chunks/ai-button.DBwtNkyS.js +67 -0
  135. package/dist/chunks/ai-button.DBwtNkyS.js.map +1 -0
  136. package/dist/chunks/alert.SZPP58tl.js +103 -0
  137. package/dist/chunks/alert.SZPP58tl.js.map +1 -0
  138. package/dist/chunks/aria-label.CaUURpnB.js +13 -0
  139. package/dist/chunks/aria-label.CaUURpnB.js.map +1 -0
  140. package/dist/chunks/avatar.CeDqq2Z-.js +71 -0
  141. package/dist/chunks/avatar.CeDqq2Z-.js.map +1 -0
  142. package/dist/chunks/base-button.BdST9XT3.js +86 -0
  143. package/dist/chunks/base-button.BdST9XT3.js.map +1 -0
  144. package/dist/chunks/base-modal.C-UqIAY8.js +310 -0
  145. package/dist/chunks/base-modal.C-UqIAY8.js.map +1 -0
  146. package/dist/chunks/bin.Ddb69cr1.js +24 -0
  147. package/dist/chunks/bin.Ddb69cr1.js.map +1 -0
  148. package/dist/chunks/button-actions-with-menu.KKq9Cuk1.js +85 -0
  149. package/dist/chunks/button-actions-with-menu.KKq9Cuk1.js.map +1 -0
  150. package/dist/chunks/button-actions.N3D-Bb_x.js +1035 -0
  151. package/dist/chunks/button-actions.N3D-Bb_x.js.map +1 -0
  152. package/dist/chunks/button-actions.types.BptAXjD8.js +8 -0
  153. package/dist/chunks/button-actions.types.BptAXjD8.js.map +1 -0
  154. package/dist/chunks/button.CS_kdxYh.js +110 -0
  155. package/dist/chunks/button.CS_kdxYh.js.map +1 -0
  156. package/dist/chunks/calendar.Bhj58zR3.js +1832 -0
  157. package/dist/chunks/calendar.Bhj58zR3.js.map +1 -0
  158. package/dist/chunks/card.BYWF_Zvo.js +137 -0
  159. package/dist/chunks/card.BYWF_Zvo.js.map +1 -0
  160. package/dist/chunks/checkbox-group.CIIa-cYP.js +142 -0
  161. package/dist/chunks/checkbox-group.CIIa-cYP.js.map +1 -0
  162. package/dist/chunks/checkbox-input.B0NsfSNR.js +117 -0
  163. package/dist/chunks/checkbox-input.B0NsfSNR.js.map +1 -0
  164. package/dist/chunks/checkbox.CiWvdg8S.js +178 -0
  165. package/dist/chunks/checkbox.CiWvdg8S.js.map +1 -0
  166. package/dist/chunks/checkmark-circle-fill.BttTCjrM.js +24 -0
  167. package/dist/chunks/checkmark-circle-fill.BttTCjrM.js.map +1 -0
  168. package/dist/chunks/checkmark-small.DVDtD4HQ.js +24 -0
  169. package/dist/chunks/checkmark-small.DVDtD4HQ.js.map +1 -0
  170. package/dist/chunks/chevron-down.eYtgv5ly.js +24 -0
  171. package/dist/chunks/chevron-down.eYtgv5ly.js.map +1 -0
  172. package/dist/chunks/chevron-left.BS24hEFa.js +43 -0
  173. package/dist/chunks/chevron-left.BS24hEFa.js.map +1 -0
  174. package/dist/chunks/chevron-up.d8cwIlA_.js +24 -0
  175. package/dist/chunks/chevron-up.d8cwIlA_.js.map +1 -0
  176. package/dist/chunks/chip.B0DRDvaa.js +63 -0
  177. package/dist/chunks/chip.B0DRDvaa.js.map +1 -0
  178. package/dist/chunks/click-outside.C1Ud8AA2.js +23 -0
  179. package/dist/chunks/click-outside.C1Ud8AA2.js.map +1 -0
  180. package/dist/chunks/code-snippet.BMzhRl4c.js +268 -0
  181. package/dist/chunks/code-snippet.BMzhRl4c.js.map +1 -0
  182. package/dist/chunks/codemirror.Cy7iSLbd.js +14628 -0
  183. package/dist/chunks/codemirror.Cy7iSLbd.js.map +1 -0
  184. package/dist/chunks/constructNow.BhymNmy5.js +8 -0
  185. package/dist/chunks/constructNow.BhymNmy5.js.map +1 -0
  186. package/dist/chunks/controls-group.GchVWe7h.js +84 -0
  187. package/dist/chunks/controls-group.GchVWe7h.js.map +1 -0
  188. package/dist/chunks/copy.DauzzgJV.js +96 -0
  189. package/dist/chunks/copy.DauzzgJV.js.map +1 -0
  190. package/dist/chunks/country.B3z3-QRY.js +69 -0
  191. package/dist/chunks/country.B3z3-QRY.js.map +1 -0
  192. package/dist/chunks/country.types.C0Q_hhgJ.js +269 -0
  193. package/dist/chunks/country.types.C0Q_hhgJ.js.map +1 -0
  194. package/dist/chunks/cross-circle-fill-small.DfxDedRr.js +24 -0
  195. package/dist/chunks/cross-circle-fill-small.DfxDedRr.js.map +1 -0
  196. package/dist/chunks/cross-circle-fill.DTDtgLMf.js +24 -0
  197. package/dist/chunks/cross-circle-fill.DTDtgLMf.js.map +1 -0
  198. package/dist/chunks/cross-small.CoQUe8SS.js +24 -0
  199. package/dist/chunks/cross-small.CoQUe8SS.js.map +1 -0
  200. package/dist/chunks/cross.CC_B-vG-.js +24 -0
  201. package/dist/chunks/cross.CC_B-vG-.js.map +1 -0
  202. package/dist/chunks/currency.Cwhzzxw2.js +114 -0
  203. package/dist/chunks/currency.Cwhzzxw2.js.map +1 -0
  204. package/dist/chunks/dashboard-section.CgAfEay4.js +102 -0
  205. package/dist/chunks/dashboard-section.CgAfEay4.js.map +1 -0
  206. package/dist/chunks/dashed-underline.CMdNukpN.js +77 -0
  207. package/dist/chunks/dashed-underline.CMdNukpN.js.map +1 -0
  208. package/dist/chunks/data-grid-template.keys.VezYtHtM.js +5 -0
  209. package/dist/chunks/data-grid-template.keys.VezYtHtM.js.map +1 -0
  210. package/dist/chunks/data-grid-template.m4hsFMe2.js +111 -0
  211. package/dist/chunks/data-grid-template.m4hsFMe2.js.map +1 -0
  212. package/dist/chunks/data-grid.rAVOFiTv.js +3294 -0
  213. package/dist/chunks/data-grid.rAVOFiTv.js.map +1 -0
  214. package/dist/chunks/date-format.B8RU7D42.js +17 -0
  215. package/dist/chunks/date-format.B8RU7D42.js.map +1 -0
  216. package/dist/chunks/date-picker.nLuHJgOC.js +169 -0
  217. package/dist/chunks/date-picker.nLuHJgOC.js.map +1 -0
  218. package/dist/chunks/date-picker.types.Ckt7zxGy.js +5 -0
  219. package/dist/chunks/date-picker.types.Ckt7zxGy.js.map +1 -0
  220. package/dist/chunks/date-range-picker.D2MKhVMf.js +906 -0
  221. package/dist/chunks/date-range-picker.D2MKhVMf.js.map +1 -0
  222. package/dist/chunks/date-range-picker.types.Ckt7zxGy.js +5 -0
  223. package/dist/chunks/date-range-picker.types.Ckt7zxGy.js.map +1 -0
  224. package/dist/chunks/date.C1z2TXzM.js +160 -0
  225. package/dist/chunks/date.C1z2TXzM.js.map +1 -0
  226. package/dist/chunks/debounce.DUTu11PS.js +10 -0
  227. package/dist/chunks/debounce.DUTu11PS.js.map +1 -0
  228. package/dist/chunks/delight.CDBAFnwC.js +5 -0
  229. package/dist/chunks/delight.CDBAFnwC.js.map +1 -0
  230. package/dist/chunks/delight.xKDCvvaS.js +5 -0
  231. package/dist/chunks/delight.xKDCvvaS.js.map +1 -0
  232. package/dist/chunks/dialog-page.krM2wQpm.js +131 -0
  233. package/dist/chunks/dialog-page.krM2wQpm.js.map +1 -0
  234. package/dist/chunks/differenceInMonths.Cab3nOsb.js +1590 -0
  235. package/dist/chunks/differenceInMonths.Cab3nOsb.js.map +1 -0
  236. package/dist/chunks/directive.Cbdox5VL.js +23 -0
  237. package/dist/chunks/directive.Cbdox5VL.js.map +1 -0
  238. package/dist/chunks/divider.DX5gwN7p.js +35 -0
  239. package/dist/chunks/divider.DX5gwN7p.js.map +1 -0
  240. package/dist/chunks/dot.BW9SneIk.js +24 -0
  241. package/dist/chunks/dot.BW9SneIk.js.map +1 -0
  242. package/dist/chunks/dropdown-default-textbox.uWZMxeI7.js +350 -0
  243. package/dist/chunks/dropdown-default-textbox.uWZMxeI7.js.map +1 -0
  244. package/dist/chunks/dropdown-tag.BnqOBdMp.js +294 -0
  245. package/dist/chunks/dropdown-tag.BnqOBdMp.js.map +1 -0
  246. package/dist/chunks/dropdown.BijF56Y7.js +714 -0
  247. package/dist/chunks/dropdown.BijF56Y7.js.map +1 -0
  248. package/dist/chunks/empty-state.BsdRxzS2.js +106 -0
  249. package/dist/chunks/empty-state.BsdRxzS2.js.map +1 -0
  250. package/dist/chunks/es6.MoTTyETW.js +12 -0
  251. package/dist/chunks/es6.MoTTyETW.js.map +1 -0
  252. package/dist/chunks/events.BQOQSSb7.js +44 -0
  253. package/dist/chunks/events.BQOQSSb7.js.map +1 -0
  254. package/dist/chunks/expand.Bbielaja.js +24 -0
  255. package/dist/chunks/expand.Bbielaja.js.map +1 -0
  256. package/dist/chunks/field-label.DHGAa4cq.js +121 -0
  257. package/dist/chunks/field-label.DHGAa4cq.js.map +1 -0
  258. package/dist/chunks/file-uploader.D2s5qccE.js +1917 -0
  259. package/dist/chunks/file-uploader.D2s5qccE.js.map +1 -0
  260. package/dist/chunks/filter-bar.DISI1jAU.js +2472 -0
  261. package/dist/chunks/filter-bar.DISI1jAU.js.map +1 -0
  262. package/dist/chunks/fixed-scroller.CgVOf5VE.js +106 -0
  263. package/dist/chunks/fixed-scroller.CgVOf5VE.js.map +1 -0
  264. package/dist/chunks/focus-trap.CNIU5jOz.js +1168 -0
  265. package/dist/chunks/focus-trap.CNIU5jOz.js.map +1 -0
  266. package/dist/chunks/footer-actions.CFZwikg0.js +96 -0
  267. package/dist/chunks/footer-actions.CFZwikg0.js.map +1 -0
  268. package/dist/chunks/form-field.D_2g7vaP.js +10 -0
  269. package/dist/chunks/form-field.D_2g7vaP.js.map +1 -0
  270. package/dist/chunks/form-layout-title.B_oVSX5b.js +197 -0
  271. package/dist/chunks/form-layout-title.B_oVSX5b.js.map +1 -0
  272. package/dist/chunks/form-layout.types.bZW9iR6_.js +5 -0
  273. package/dist/chunks/form-layout.types.bZW9iR6_.js.map +1 -0
  274. package/dist/chunks/generate-uid.NJ8tVoha.js +32 -0
  275. package/dist/chunks/generate-uid.NJ8tVoha.js.map +1 -0
  276. package/dist/chunks/get-slot-text.Bjb9dTSV.js +12 -0
  277. package/dist/chunks/get-slot-text.Bjb9dTSV.js.map +1 -0
  278. package/dist/chunks/getRoundingMethod.C3eaeGLR.js +10 -0
  279. package/dist/chunks/getRoundingMethod.C3eaeGLR.js.map +1 -0
  280. package/dist/chunks/getTimezoneOffsetInMilliseconds.B7sxiukN.js +484 -0
  281. package/dist/chunks/getTimezoneOffsetInMilliseconds.B7sxiukN.js.map +1 -0
  282. package/dist/chunks/grid-layout.1aIiz2N_.js +76 -0
  283. package/dist/chunks/grid-layout.1aIiz2N_.js.map +1 -0
  284. package/dist/chunks/header-meta.D0UdrdVf.js +170 -0
  285. package/dist/chunks/header-meta.D0UdrdVf.js.map +1 -0
  286. package/dist/chunks/header-with-views.BjZkBSI0.js +1591 -0
  287. package/dist/chunks/header-with-views.BjZkBSI0.js.map +1 -0
  288. package/dist/chunks/header.QYvN86kI.js +103 -0
  289. package/dist/chunks/header.QYvN86kI.js.map +1 -0
  290. package/dist/chunks/image.C2D2hKat.js +56 -0
  291. package/dist/chunks/image.C2D2hKat.js.map +1 -0
  292. package/dist/chunks/index.B6WW_F-J.js +31 -0
  293. package/dist/chunks/index.B6WW_F-J.js.map +1 -0
  294. package/dist/chunks/index.BDK4hwK_.js +593 -0
  295. package/dist/chunks/index.BDK4hwK_.js.map +1 -0
  296. package/dist/chunks/index.Cl4_42j5.js +8 -0
  297. package/dist/chunks/index.Cl4_42j5.js.map +1 -0
  298. package/dist/chunks/info-icon.iKLaNff6.js +37 -0
  299. package/dist/chunks/info-icon.iKLaNff6.js.map +1 -0
  300. package/dist/chunks/info.CcMZ4aGg.js +24 -0
  301. package/dist/chunks/info.CcMZ4aGg.js.map +1 -0
  302. package/dist/chunks/input-field-password.BeRjHhu6.js +270 -0
  303. package/dist/chunks/input-field-password.BeRjHhu6.js.map +1 -0
  304. package/dist/chunks/input-field-phone-number.DLOUy8_E.js +3324 -0
  305. package/dist/chunks/input-field-phone-number.DLOUy8_E.js.map +1 -0
  306. package/dist/chunks/input-field.B1Q1-zLo.js +171 -0
  307. package/dist/chunks/input-field.B1Q1-zLo.js.map +1 -0
  308. package/dist/chunks/inspector.C6bbjQC0.js +117 -0
  309. package/dist/chunks/inspector.C6bbjQC0.js.map +1 -0
  310. package/dist/chunks/inspector.types.DyHwE18g.js +5 -0
  311. package/dist/chunks/inspector.types.DyHwE18g.js.map +1 -0
  312. package/dist/chunks/internal-error.BLZodVBE.js +5 -0
  313. package/dist/chunks/internal-error.BLZodVBE.js.map +1 -0
  314. package/dist/chunks/internal-error.BmrwJFpR.js +5 -0
  315. package/dist/chunks/internal-error.BmrwJFpR.js.map +1 -0
  316. package/dist/chunks/keyboard-navigation.DWmhelVv.js +66 -0
  317. package/dist/chunks/keyboard-navigation.DWmhelVv.js.map +1 -0
  318. package/dist/chunks/layout-row.DwdZbpVG.js +87 -0
  319. package/dist/chunks/layout-row.DwdZbpVG.js.map +1 -0
  320. package/dist/chunks/link.D8qpqg3W.js +95 -0
  321. package/dist/chunks/link.D8qpqg3W.js.map +1 -0
  322. package/dist/chunks/listbox-option-tag.CK628fjn.js +44 -0
  323. package/dist/chunks/listbox-option-tag.CK628fjn.js.map +1 -0
  324. package/dist/chunks/loading-indicator.PxbRzshH.js +42 -0
  325. package/dist/chunks/loading-indicator.PxbRzshH.js.map +1 -0
  326. package/dist/chunks/minus-small.DJacLGTw.js +27 -0
  327. package/dist/chunks/minus-small.DJacLGTw.js.map +1 -0
  328. package/dist/chunks/modal-fullscreen.UqZgbaDw.js +221 -0
  329. package/dist/chunks/modal-fullscreen.UqZgbaDw.js.map +1 -0
  330. package/dist/chunks/modal.DCgB0pA2.js +445 -0
  331. package/dist/chunks/modal.DCgB0pA2.js.map +1 -0
  332. package/dist/chunks/no-results-found.Bg_ZcEid.js +5 -0
  333. package/dist/chunks/no-results-found.Bg_ZcEid.js.map +1 -0
  334. package/dist/chunks/no-results-found.BqvYsBR6.js +5 -0
  335. package/dist/chunks/no-results-found.BqvYsBR6.js.map +1 -0
  336. package/dist/chunks/notifications-cleared.BMZk37uf.js +5 -0
  337. package/dist/chunks/notifications-cleared.BMZk37uf.js.map +1 -0
  338. package/dist/chunks/notifications-cleared.C7W9ZXY7.js +5 -0
  339. package/dist/chunks/notifications-cleared.C7W9ZXY7.js.map +1 -0
  340. package/dist/chunks/on-click-outside.D9aY9g8G.js +101 -0
  341. package/dist/chunks/on-click-outside.D9aY9g8G.js.map +1 -0
  342. package/dist/chunks/page-not-found.COJLPVaU.js +5 -0
  343. package/dist/chunks/page-not-found.COJLPVaU.js.map +1 -0
  344. package/dist/chunks/page-not-found.DWW6W-PZ.js +5 -0
  345. package/dist/chunks/page-not-found.DWW6W-PZ.js.map +1 -0
  346. package/dist/chunks/pagination.CylAnOyc.js +338 -0
  347. package/dist/chunks/pagination.CylAnOyc.js.map +1 -0
  348. package/dist/chunks/payment-method.C8Ie97qE.js +76 -0
  349. package/dist/chunks/payment-method.C8Ie97qE.js.map +1 -0
  350. package/dist/chunks/payment-method.types.BqtH7RM2.js +5 -0
  351. package/dist/chunks/payment-method.types.BqtH7RM2.js.map +1 -0
  352. package/dist/chunks/planned-maintenance.C61sWB9h.js +5 -0
  353. package/dist/chunks/planned-maintenance.C61sWB9h.js.map +1 -0
  354. package/dist/chunks/planned-maintenance.jmWYTdet.js +5 -0
  355. package/dist/chunks/planned-maintenance.jmWYTdet.js.map +1 -0
  356. package/dist/chunks/popover.types.WDh5ggr3.js +6 -0
  357. package/dist/chunks/popover.types.WDh5ggr3.js.map +1 -0
  358. package/dist/chunks/popper-container.Cdokz_NE.js +1404 -0
  359. package/dist/chunks/popper-container.Cdokz_NE.js.map +1 -0
  360. package/dist/chunks/promo-banner.DikQcQU2.js +70 -0
  361. package/dist/chunks/promo-banner.DikQcQU2.js.map +1 -0
  362. package/dist/chunks/radio-group.Cr7UcYij.js +178 -0
  363. package/dist/chunks/radio-group.Cr7UcYij.js.map +1 -0
  364. package/dist/chunks/radio-input.kzb4gxLW.js +90 -0
  365. package/dist/chunks/radio-input.kzb4gxLW.js.map +1 -0
  366. package/dist/chunks/referrals.BvtT-kQS.js +5 -0
  367. package/dist/chunks/referrals.BvtT-kQS.js.map +1 -0
  368. package/dist/chunks/referrals.aX8WZigH.js +5 -0
  369. package/dist/chunks/referrals.aX8WZigH.js.map +1 -0
  370. package/dist/chunks/refresh.arF7jP-l.js +24 -0
  371. package/dist/chunks/refresh.arF7jP-l.js.map +1 -0
  372. package/dist/chunks/resize.Bqks3WUm.js +15 -0
  373. package/dist/chunks/resize.Bqks3WUm.js.map +1 -0
  374. package/dist/chunks/rich-text-editor.NKPFP8Ss.js +6203 -0
  375. package/dist/chunks/rich-text-editor.NKPFP8Ss.js.map +1 -0
  376. package/dist/chunks/search-bar.VctrP6lp.js +98 -0
  377. package/dist/chunks/search-bar.VctrP6lp.js.map +1 -0
  378. package/dist/chunks/search.D53Ia3rC.js +24 -0
  379. package/dist/chunks/search.D53Ia3rC.js.map +1 -0
  380. package/dist/chunks/secondary-nav.jpMeWSZj.js +112 -0
  381. package/dist/chunks/secondary-nav.jpMeWSZj.js.map +1 -0
  382. package/dist/chunks/segmented-control._CuB62pG.js +113 -0
  383. package/dist/chunks/segmented-control._CuB62pG.js.map +1 -0
  384. package/dist/chunks/segmented-control.types.BHRLV8KU.js +5 -0
  385. package/dist/chunks/segmented-control.types.BHRLV8KU.js.map +1 -0
  386. package/dist/chunks/selection-card-group.jykyd9iE.js +240 -0
  387. package/dist/chunks/selection-card-group.jykyd9iE.js.map +1 -0
  388. package/dist/chunks/show.B_mKPF6I.js +43 -0
  389. package/dist/chunks/show.B_mKPF6I.js.map +1 -0
  390. package/dist/chunks/sidepanel.CP-b8Zcg.js +210 -0
  391. package/dist/chunks/sidepanel.CP-b8Zcg.js.map +1 -0
  392. package/dist/chunks/status.types.BpMK-6IT.js +36 -0
  393. package/dist/chunks/status.types.BpMK-6IT.js.map +1 -0
  394. package/dist/chunks/step.4hMAy8v_.js +217 -0
  395. package/dist/chunks/step.4hMAy8v_.js.map +1 -0
  396. package/dist/chunks/structured-list-item.BLJabJwA.js +90 -0
  397. package/dist/chunks/structured-list-item.BLJabJwA.js.map +1 -0
  398. package/dist/chunks/success.DhioLvPD.js +5 -0
  399. package/dist/chunks/success.DhioLvPD.js.map +1 -0
  400. package/dist/chunks/success.nNwxJRBS.js +5 -0
  401. package/dist/chunks/success.nNwxJRBS.js.map +1 -0
  402. package/dist/chunks/summary-grid.keys.Xx-W5a2w.js +6 -0
  403. package/dist/chunks/summary-grid.keys.Xx-W5a2w.js.map +1 -0
  404. package/dist/chunks/summary-grid.types.B0w2S_9r.js +337 -0
  405. package/dist/chunks/summary-grid.types.B0w2S_9r.js.map +1 -0
  406. package/dist/chunks/tab.DXE68qVf.js +192 -0
  407. package/dist/chunks/tab.DXE68qVf.js.map +1 -0
  408. package/dist/chunks/tabs.keys.B4qGhjp2.js +7 -0
  409. package/dist/chunks/tabs.keys.B4qGhjp2.js.map +1 -0
  410. package/dist/chunks/tag.7fp_M9Au.js +44 -0
  411. package/dist/chunks/tag.7fp_M9Au.js.map +1 -0
  412. package/dist/chunks/textarea.Ci9sKDFy.js +173 -0
  413. package/dist/chunks/textarea.Ci9sKDFy.js.map +1 -0
  414. package/dist/chunks/timeline-item.DcIQ-Q1T.js +255 -0
  415. package/dist/chunks/timeline-item.DcIQ-Q1T.js.map +1 -0
  416. package/dist/chunks/toast.DGvNp4ZM.js +171 -0
  417. package/dist/chunks/toast.DGvNp4ZM.js.map +1 -0
  418. package/dist/chunks/toggle.D2wmNu7m.js +108 -0
  419. package/dist/chunks/toggle.D2wmNu7m.js.map +1 -0
  420. package/dist/chunks/tooltip.BcQ24pKP.js +189 -0
  421. package/dist/chunks/tooltip.BcQ24pKP.js.map +1 -0
  422. package/dist/chunks/truncate.BfIl_-71.js +8 -0
  423. package/dist/chunks/truncate.BfIl_-71.js.map +1 -0
  424. package/dist/chunks/tutorial.Co2F7l0B.js +347 -0
  425. package/dist/chunks/tutorial.Co2F7l0B.js.map +1 -0
  426. package/dist/chunks/typography.hlOAxsEn.js +87 -0
  427. package/dist/chunks/typography.hlOAxsEn.js.map +1 -0
  428. package/dist/chunks/upload-files.5wQwbfkp.js +5 -0
  429. package/dist/chunks/upload-files.5wQwbfkp.js.map +1 -0
  430. package/dist/chunks/upload-files.jTQY6y2X.js +5 -0
  431. package/dist/chunks/upload-files.jTQY6y2X.js.map +1 -0
  432. package/dist/chunks/use-bento-toast-controller.BhtohoS1.js +52 -0
  433. package/dist/chunks/use-bento-toast-controller.BhtohoS1.js.map +1 -0
  434. package/dist/chunks/use-cached-selected-values.BYiLNRRi.js +1343 -0
  435. package/dist/chunks/use-cached-selected-values.BYiLNRRi.js.map +1 -0
  436. package/dist/chunks/use-country-items.B3Cd3Tdo.js +30 -0
  437. package/dist/chunks/use-country-items.B3Cd3Tdo.js.map +1 -0
  438. package/dist/chunks/use-country-phon-code.Bui3zD6W.js +5621 -0
  439. package/dist/chunks/use-country-phon-code.Bui3zD6W.js.map +1 -0
  440. package/dist/chunks/use-default-slot-validator.BDn0wkYP.js +13 -0
  441. package/dist/chunks/use-default-slot-validator.BDn0wkYP.js.map +1 -0
  442. package/dist/chunks/use-expandable-content-height.GkjjbmPy.js +17 -0
  443. package/dist/chunks/use-expandable-content-height.GkjjbmPy.js.map +1 -0
  444. package/dist/chunks/use-form-layout-loading.CWbjZiwP.js +12 -0
  445. package/dist/chunks/use-form-layout-loading.CWbjZiwP.js.map +1 -0
  446. package/dist/chunks/use-has-slot.C9lQZ6nz.js +6 -0
  447. package/dist/chunks/use-has-slot.C9lQZ6nz.js.map +1 -0
  448. package/dist/chunks/warning-filled.CbJ1pcB2.js +24 -0
  449. package/dist/chunks/warning-filled.CbJ1pcB2.js.map +1 -0
  450. package/dist/chunks/wrong-environment.BOsyKdRI.js +5 -0
  451. package/dist/chunks/wrong-environment.BOsyKdRI.js.map +1 -0
  452. package/dist/chunks/wrong-environment.BiHTPtbJ.js +5 -0
  453. package/dist/chunks/wrong-environment.BiHTPtbJ.js.map +1 -0
  454. package/dist/click-outside.js +5 -0
  455. package/dist/click-outside.js.map +1 -0
  456. package/dist/code-snippet.js +8 -0
  457. package/dist/code-snippet.js.map +1 -0
  458. package/dist/country.js +12 -0
  459. package/dist/country.js.map +1 -0
  460. package/dist/currency.js +6 -0
  461. package/dist/currency.js.map +1 -0
  462. package/dist/dashboard-template.js +6 -0
  463. package/dist/dashboard-template.js.map +1 -0
  464. package/dist/dashed-underline.js +5 -0
  465. package/dist/dashed-underline.js.map +1 -0
  466. package/dist/data-grid-template.js +5 -0
  467. package/dist/data-grid-template.js.map +1 -0
  468. package/dist/data-grid.js +13 -0
  469. package/dist/data-grid.js.map +1 -0
  470. package/dist/date-picker.js +10 -0
  471. package/dist/date-picker.js.map +1 -0
  472. package/dist/date-range-picker.js +10 -0
  473. package/dist/date-range-picker.js.map +1 -0
  474. package/dist/date.js +6 -0
  475. package/dist/date.js.map +1 -0
  476. package/dist/divider.js +5 -0
  477. package/dist/divider.js.map +1 -0
  478. package/dist/dropdown.js +16 -0
  479. package/dist/dropdown.js.map +1 -0
  480. package/dist/empty-state.js +8 -0
  481. package/dist/empty-state.js.map +1 -0
  482. package/dist/file-uploader.js +5 -0
  483. package/dist/file-uploader.js.map +1 -0
  484. package/dist/filter-bar.js +9 -0
  485. package/dist/filter-bar.js.map +1 -0
  486. package/dist/focus-trap.js +5 -0
  487. package/dist/focus-trap.js.map +1 -0
  488. package/dist/fonts/fonts.css +2 -0
  489. package/dist/form-layout.js +8 -0
  490. package/dist/form-layout.js.map +1 -0
  491. package/dist/header-with-views.js +5 -0
  492. package/dist/header-with-views.js.map +1 -0
  493. package/dist/header.js +5 -0
  494. package/dist/header.js.map +1 -0
  495. package/dist/image.js +7 -0
  496. package/dist/image.js.map +1 -0
  497. package/dist/index.js +442 -0
  498. package/dist/index.js.map +1 -0
  499. package/dist/info-icon.js +5 -0
  500. package/dist/info-icon.js.map +1 -0
  501. package/dist/input-field-password.js +10 -0
  502. package/dist/input-field-password.js.map +1 -0
  503. package/dist/input-field-phone-number.js +6 -0
  504. package/dist/input-field-phone-number.js.map +1 -0
  505. package/dist/input-field.js +10 -0
  506. package/dist/input-field.js.map +1 -0
  507. package/dist/inspector.js +7 -0
  508. package/dist/inspector.js.map +1 -0
  509. package/dist/internal.js +45 -0
  510. package/dist/internal.js.map +1 -0
  511. package/dist/layout.js +6 -0
  512. package/dist/layout.js.map +1 -0
  513. package/dist/link.js +6 -0
  514. package/dist/link.js.map +1 -0
  515. package/dist/loading-indicator.js +6 -0
  516. package/dist/loading-indicator.js.map +1 -0
  517. package/dist/menu.js +6 -0
  518. package/dist/menu.js.map +1 -0
  519. package/dist/modal-fullscreen.js +6 -0
  520. package/dist/modal-fullscreen.js.map +1 -0
  521. package/dist/modal.js +14 -0
  522. package/dist/modal.js.map +1 -0
  523. package/dist/pagination.js +5 -0
  524. package/dist/pagination.js.map +1 -0
  525. package/dist/payment-method.js +7 -0
  526. package/dist/payment-method.js.map +1 -0
  527. package/dist/popover.js +7 -0
  528. package/dist/popover.js.map +1 -0
  529. package/dist/popper-container.js +9 -0
  530. package/dist/popper-container.js.map +1 -0
  531. package/dist/promo-banner.js +7 -0
  532. package/dist/promo-banner.js.map +1 -0
  533. package/dist/radio-group.js +9 -0
  534. package/dist/radio-group.js.map +1 -0
  535. package/dist/rich-text-editor.js +5 -0
  536. package/dist/rich-text-editor.js.map +1 -0
  537. package/dist/search-bar.js +9 -0
  538. package/dist/search-bar.js.map +1 -0
  539. package/dist/secondary-nav.js +5 -0
  540. package/dist/secondary-nav.js.map +1 -0
  541. package/dist/segmented-control.js +7 -0
  542. package/dist/segmented-control.js.map +1 -0
  543. package/dist/selection-card.js +7 -0
  544. package/dist/selection-card.js.map +1 -0
  545. package/dist/sidepanel.js +7 -0
  546. package/dist/sidepanel.js.map +1 -0
  547. package/dist/status.js +6 -0
  548. package/dist/status.js.map +1 -0
  549. package/dist/stepper.js +8 -0
  550. package/dist/stepper.js.map +1 -0
  551. package/dist/structured-list.js +6 -0
  552. package/dist/structured-list.js.map +1 -0
  553. package/dist/styles/bento-dark.css +2133 -0
  554. package/dist/styles/bento-light.css +2132 -0
  555. package/dist/styles/bento.css +2132 -0
  556. package/dist/styles/legacy.css +2132 -0
  557. package/dist/styles/styleguide.css +2187 -0
  558. package/dist/styles/utility.css +1002 -0
  559. package/dist/summary-grid.js +12 -0
  560. package/dist/summary-grid.js.map +1 -0
  561. package/dist/tabs.js +6 -0
  562. package/dist/tabs.js.map +1 -0
  563. package/dist/tag.js +6 -0
  564. package/dist/tag.js.map +1 -0
  565. package/dist/textarea.js +5 -0
  566. package/dist/textarea.js.map +1 -0
  567. package/dist/timeline.js +10 -0
  568. package/dist/timeline.js.map +1 -0
  569. package/dist/toast.js +5 -0
  570. package/dist/toast.js.map +1 -0
  571. package/dist/toggle.js +7 -0
  572. package/dist/toggle.js.map +1 -0
  573. package/dist/tutorial.js +5 -0
  574. package/dist/tutorial.js.map +1 -0
  575. package/dist/typography.js +8 -0
  576. package/dist/typography.js.map +1 -0
  577. package/dist/use-form-v4.js +8300 -0
  578. package/dist/use-form-v4.js.map +1 -0
  579. package/dist/web-types.json +17262 -0
  580. package/package.json +27 -24
@@ -0,0 +1,1404 @@
1
+ import { computed as R, unref as tt, ref as z, shallowRef as Zt, watch as it, getCurrentScope as te, onScopeDispose as ee, shallowReadonly as Z, defineComponent as ne, toRefs as oe } from "vue";
2
+ import "./index.Cl4_42j5.js";
3
+ import { B as ie } from "./focus-trap.CNIU5jOz.js";
4
+ import { n as re } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
5
+ import "../assets/popper-container.css";
6
+ const Ht = ["top", "right", "bottom", "left"], _t = ["start", "end"], Et = /* @__PURE__ */ Ht.reduce((t, e) => t.concat(e, e + "-" + _t[0], e + "-" + _t[1]), []), nt = Math.min, G = Math.max, at = Math.round, ct = Math.floor, M = (t) => ({
7
+ x: t,
8
+ y: t
9
+ }), se = {
10
+ left: "right",
11
+ right: "left",
12
+ bottom: "top",
13
+ top: "bottom"
14
+ }, le = {
15
+ start: "end",
16
+ end: "start"
17
+ };
18
+ function wt(t, e, n) {
19
+ return G(t, nt(e, n));
20
+ }
21
+ function J(t, e) {
22
+ return typeof t == "function" ? t(e) : t;
23
+ }
24
+ function V(t) {
25
+ return t.split("-")[0];
26
+ }
27
+ function B(t) {
28
+ return t.split("-")[1];
29
+ }
30
+ function Nt(t) {
31
+ return t === "x" ? "y" : "x";
32
+ }
33
+ function xt(t) {
34
+ return t === "y" ? "height" : "width";
35
+ }
36
+ function X(t) {
37
+ return ["top", "bottom"].includes(V(t)) ? "y" : "x";
38
+ }
39
+ function bt(t) {
40
+ return Nt(X(t));
41
+ }
42
+ function Wt(t, e, n) {
43
+ n === void 0 && (n = !1);
44
+ const o = B(t), i = bt(t), s = xt(i);
45
+ let r = i === "x" ? o === (n ? "end" : "start") ? "right" : "left" : o === "start" ? "bottom" : "top";
46
+ return e.reference[s] > e.floating[s] && (r = ut(r)), [r, ut(r)];
47
+ }
48
+ function ce(t) {
49
+ const e = ut(t);
50
+ return [ft(t), e, ft(e)];
51
+ }
52
+ function ft(t) {
53
+ return t.replace(/start|end/g, (e) => le[e]);
54
+ }
55
+ function ae(t, e, n) {
56
+ const o = ["left", "right"], i = ["right", "left"], s = ["top", "bottom"], r = ["bottom", "top"];
57
+ switch (t) {
58
+ case "top":
59
+ case "bottom":
60
+ return n ? e ? i : o : e ? o : i;
61
+ case "left":
62
+ case "right":
63
+ return e ? s : r;
64
+ default:
65
+ return [];
66
+ }
67
+ }
68
+ function fe(t, e, n, o) {
69
+ const i = B(t);
70
+ let s = ae(V(t), n === "start", o);
71
+ return i && (s = s.map((r) => r + "-" + i), e && (s = s.concat(s.map(ft)))), s;
72
+ }
73
+ function ut(t) {
74
+ return t.replace(/left|right|bottom|top/g, (e) => se[e]);
75
+ }
76
+ function ue(t) {
77
+ return {
78
+ top: 0,
79
+ right: 0,
80
+ bottom: 0,
81
+ left: 0,
82
+ ...t
83
+ };
84
+ }
85
+ function Vt(t) {
86
+ return typeof t != "number" ? ue(t) : {
87
+ top: t,
88
+ right: t,
89
+ bottom: t,
90
+ left: t
91
+ };
92
+ }
93
+ function dt(t) {
94
+ const {
95
+ x: e,
96
+ y: n,
97
+ width: o,
98
+ height: i
99
+ } = t;
100
+ return {
101
+ width: o,
102
+ height: i,
103
+ top: n,
104
+ left: e,
105
+ right: e + o,
106
+ bottom: n + i,
107
+ x: e,
108
+ y: n
109
+ };
110
+ }
111
+ function Dt(t, e, n) {
112
+ let {
113
+ reference: o,
114
+ floating: i
115
+ } = t;
116
+ const s = X(e), r = bt(e), l = xt(r), a = V(e), c = s === "y", d = o.x + o.width / 2 - i.width / 2, u = o.y + o.height / 2 - i.height / 2, m = o[l] / 2 - i[l] / 2;
117
+ let f;
118
+ switch (a) {
119
+ case "top":
120
+ f = {
121
+ x: d,
122
+ y: o.y - i.height
123
+ };
124
+ break;
125
+ case "bottom":
126
+ f = {
127
+ x: d,
128
+ y: o.y + o.height
129
+ };
130
+ break;
131
+ case "right":
132
+ f = {
133
+ x: o.x + o.width,
134
+ y: u
135
+ };
136
+ break;
137
+ case "left":
138
+ f = {
139
+ x: o.x - i.width,
140
+ y: u
141
+ };
142
+ break;
143
+ default:
144
+ f = {
145
+ x: o.x,
146
+ y: o.y
147
+ };
148
+ }
149
+ switch (B(e)) {
150
+ case "start":
151
+ f[r] -= m * (n && c ? -1 : 1);
152
+ break;
153
+ case "end":
154
+ f[r] += m * (n && c ? -1 : 1);
155
+ break;
156
+ }
157
+ return f;
158
+ }
159
+ const de = async (t, e, n) => {
160
+ const {
161
+ placement: o = "bottom",
162
+ strategy: i = "absolute",
163
+ middleware: s = [],
164
+ platform: r
165
+ } = n, l = s.filter(Boolean), a = await (r.isRTL == null ? void 0 : r.isRTL(e));
166
+ let c = await r.getElementRects({
167
+ reference: t,
168
+ floating: e,
169
+ strategy: i
170
+ }), {
171
+ x: d,
172
+ y: u
173
+ } = Dt(c, o, a), m = o, f = {}, p = 0;
174
+ for (let g = 0; g < l.length; g++) {
175
+ const {
176
+ name: w,
177
+ fn: h
178
+ } = l[g], {
179
+ x: v,
180
+ y,
181
+ data: O,
182
+ reset: b
183
+ } = await h({
184
+ x: d,
185
+ y: u,
186
+ initialPlacement: o,
187
+ placement: m,
188
+ strategy: i,
189
+ middlewareData: f,
190
+ rects: c,
191
+ platform: r,
192
+ elements: {
193
+ reference: t,
194
+ floating: e
195
+ }
196
+ });
197
+ d = v ?? d, u = y ?? u, f = {
198
+ ...f,
199
+ [w]: {
200
+ ...f[w],
201
+ ...O
202
+ }
203
+ }, b && p <= 50 && (p++, typeof b == "object" && (b.placement && (m = b.placement), b.rects && (c = b.rects === !0 ? await r.getElementRects({
204
+ reference: t,
205
+ floating: e,
206
+ strategy: i
207
+ }) : b.rects), {
208
+ x: d,
209
+ y: u
210
+ } = Dt(c, m, a)), g = -1);
211
+ }
212
+ return {
213
+ x: d,
214
+ y: u,
215
+ placement: m,
216
+ strategy: i,
217
+ middlewareData: f
218
+ };
219
+ };
220
+ async function rt(t, e) {
221
+ var n;
222
+ e === void 0 && (e = {});
223
+ const {
224
+ x: o,
225
+ y: i,
226
+ platform: s,
227
+ rects: r,
228
+ elements: l,
229
+ strategy: a
230
+ } = t, {
231
+ boundary: c = "clippingAncestors",
232
+ rootBoundary: d = "viewport",
233
+ elementContext: u = "floating",
234
+ altBoundary: m = !1,
235
+ padding: f = 0
236
+ } = J(e, t), p = Vt(f), w = l[m ? u === "floating" ? "reference" : "floating" : u], h = dt(await s.getClippingRect({
237
+ element: (n = await (s.isElement == null ? void 0 : s.isElement(w))) == null || n ? w : w.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(l.floating)),
238
+ boundary: c,
239
+ rootBoundary: d,
240
+ strategy: a
241
+ })), v = u === "floating" ? {
242
+ x: o,
243
+ y: i,
244
+ width: r.floating.width,
245
+ height: r.floating.height
246
+ } : r.reference, y = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(l.floating)), O = await (s.isElement == null ? void 0 : s.isElement(y)) ? await (s.getScale == null ? void 0 : s.getScale(y)) || {
247
+ x: 1,
248
+ y: 1
249
+ } : {
250
+ x: 1,
251
+ y: 1
252
+ }, b = dt(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
253
+ elements: l,
254
+ rect: v,
255
+ offsetParent: y,
256
+ strategy: a
257
+ }) : v);
258
+ return {
259
+ top: (h.top - b.top + p.top) / O.y,
260
+ bottom: (b.bottom - h.bottom + p.bottom) / O.y,
261
+ left: (h.left - b.left + p.left) / O.x,
262
+ right: (b.right - h.right + p.right) / O.x
263
+ };
264
+ }
265
+ const me = (t) => ({
266
+ name: "arrow",
267
+ options: t,
268
+ async fn(e) {
269
+ const {
270
+ x: n,
271
+ y: o,
272
+ placement: i,
273
+ rects: s,
274
+ platform: r,
275
+ elements: l,
276
+ middlewareData: a
277
+ } = e, {
278
+ element: c,
279
+ padding: d = 0
280
+ } = J(t, e) || {};
281
+ if (c == null)
282
+ return {};
283
+ const u = Vt(d), m = {
284
+ x: n,
285
+ y: o
286
+ }, f = bt(i), p = xt(f), g = await r.getDimensions(c), w = f === "y", h = w ? "top" : "left", v = w ? "bottom" : "right", y = w ? "clientHeight" : "clientWidth", O = s.reference[p] + s.reference[f] - m[f] - s.floating[p], b = m[f] - s.reference[f], T = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(c));
287
+ let x = T ? T[y] : 0;
288
+ (!x || !await (r.isElement == null ? void 0 : r.isElement(T))) && (x = l.floating[y] || s.floating[p]);
289
+ const H = O / 2 - b / 2, S = x / 2 - g[p] / 2 - 1, A = nt(u[h], S), E = nt(u[v], S), N = A, Y = x - g[p] - E, P = x / 2 - g[p] / 2 + H, D = wt(N, P, Y), q = !a.arrow && B(i) != null && P !== D && s.reference[p] / 2 - (P < N ? A : E) - g[p] / 2 < 0, W = q ? P < N ? P - N : P - Y : 0;
290
+ return {
291
+ [f]: m[f] + W,
292
+ data: {
293
+ [f]: D,
294
+ centerOffset: P - D - W,
295
+ ...q && {
296
+ alignmentOffset: W
297
+ }
298
+ },
299
+ reset: q
300
+ };
301
+ }
302
+ });
303
+ function pe(t, e, n) {
304
+ return (t ? [...n.filter((i) => B(i) === t), ...n.filter((i) => B(i) !== t)] : n.filter((i) => V(i) === i)).filter((i) => t ? B(i) === t || (e ? ft(i) !== i : !1) : !0);
305
+ }
306
+ const ge = function(t) {
307
+ return t === void 0 && (t = {}), {
308
+ name: "autoPlacement",
309
+ options: t,
310
+ async fn(e) {
311
+ var n, o, i;
312
+ const {
313
+ rects: s,
314
+ middlewareData: r,
315
+ placement: l,
316
+ platform: a,
317
+ elements: c
318
+ } = e, {
319
+ crossAxis: d = !1,
320
+ alignment: u,
321
+ allowedPlacements: m = Et,
322
+ autoAlignment: f = !0,
323
+ ...p
324
+ } = J(t, e), g = u !== void 0 || m === Et ? pe(u || null, f, m) : m, w = await rt(e, p), h = ((n = r.autoPlacement) == null ? void 0 : n.index) || 0, v = g[h];
325
+ if (v == null)
326
+ return {};
327
+ const y = Wt(v, s, await (a.isRTL == null ? void 0 : a.isRTL(c.floating)));
328
+ if (l !== v)
329
+ return {
330
+ reset: {
331
+ placement: g[0]
332
+ }
333
+ };
334
+ const O = [w[V(v)], w[y[0]], w[y[1]]], b = [...((o = r.autoPlacement) == null ? void 0 : o.overflows) || [], {
335
+ placement: v,
336
+ overflows: O
337
+ }], T = g[h + 1];
338
+ if (T)
339
+ return {
340
+ data: {
341
+ index: h + 1,
342
+ overflows: b
343
+ },
344
+ reset: {
345
+ placement: T
346
+ }
347
+ };
348
+ const x = b.map((A) => {
349
+ const E = B(A.placement);
350
+ return [A.placement, E && d ? (
351
+ // Check along the mainAxis and main crossAxis side.
352
+ A.overflows.slice(0, 2).reduce((N, Y) => N + Y, 0)
353
+ ) : (
354
+ // Check only the mainAxis.
355
+ A.overflows[0]
356
+ ), A.overflows];
357
+ }).sort((A, E) => A[1] - E[1]), S = ((i = x.filter((A) => A[2].slice(
358
+ 0,
359
+ // Aligned placements should not check their opposite crossAxis
360
+ // side.
361
+ B(A[0]) ? 2 : 3
362
+ ).every((E) => E <= 0))[0]) == null ? void 0 : i[0]) || x[0][0];
363
+ return S !== l ? {
364
+ data: {
365
+ index: h + 1,
366
+ overflows: b
367
+ },
368
+ reset: {
369
+ placement: S
370
+ }
371
+ } : {};
372
+ }
373
+ };
374
+ }, he = function(t) {
375
+ return t === void 0 && (t = {}), {
376
+ name: "flip",
377
+ options: t,
378
+ async fn(e) {
379
+ var n, o;
380
+ const {
381
+ placement: i,
382
+ middlewareData: s,
383
+ rects: r,
384
+ initialPlacement: l,
385
+ platform: a,
386
+ elements: c
387
+ } = e, {
388
+ mainAxis: d = !0,
389
+ crossAxis: u = !0,
390
+ fallbackPlacements: m,
391
+ fallbackStrategy: f = "bestFit",
392
+ fallbackAxisSideDirection: p = "none",
393
+ flipAlignment: g = !0,
394
+ ...w
395
+ } = J(t, e);
396
+ if ((n = s.arrow) != null && n.alignmentOffset)
397
+ return {};
398
+ const h = V(i), v = X(l), y = V(l) === l, O = await (a.isRTL == null ? void 0 : a.isRTL(c.floating)), b = m || (y || !g ? [ut(l)] : ce(l)), T = p !== "none";
399
+ !m && T && b.push(...fe(l, g, p, O));
400
+ const x = [l, ...b], H = await rt(e, w), S = [];
401
+ let A = ((o = s.flip) == null ? void 0 : o.overflows) || [];
402
+ if (d && S.push(H[h]), u) {
403
+ const D = Wt(i, r, O);
404
+ S.push(H[D[0]], H[D[1]]);
405
+ }
406
+ if (A = [...A, {
407
+ placement: i,
408
+ overflows: S
409
+ }], !S.every((D) => D <= 0)) {
410
+ var E, N;
411
+ const D = (((E = s.flip) == null ? void 0 : E.index) || 0) + 1, q = x[D];
412
+ if (q) {
413
+ var Y;
414
+ const I = u === "alignment" ? v !== X(q) : !1, F = ((Y = A[0]) == null ? void 0 : Y.overflows[0]) > 0;
415
+ if (!I || F)
416
+ return {
417
+ data: {
418
+ index: D,
419
+ overflows: A
420
+ },
421
+ reset: {
422
+ placement: q
423
+ }
424
+ };
425
+ }
426
+ let W = (N = A.filter((I) => I.overflows[0] <= 0).sort((I, F) => I.overflows[1] - F.overflows[1])[0]) == null ? void 0 : N.placement;
427
+ if (!W)
428
+ switch (f) {
429
+ case "bestFit": {
430
+ var P;
431
+ const I = (P = A.filter((F) => {
432
+ if (T) {
433
+ const j = X(F.placement);
434
+ return j === v || // Create a bias to the `y` side axis due to horizontal
435
+ // reading directions favoring greater width.
436
+ j === "y";
437
+ }
438
+ return !0;
439
+ }).map((F) => [F.placement, F.overflows.filter((j) => j > 0).reduce((j, Qt) => j + Qt, 0)]).sort((F, j) => F[1] - j[1])[0]) == null ? void 0 : P[0];
440
+ I && (W = I);
441
+ break;
442
+ }
443
+ case "initialPlacement":
444
+ W = l;
445
+ break;
446
+ }
447
+ if (i !== W)
448
+ return {
449
+ reset: {
450
+ placement: W
451
+ }
452
+ };
453
+ }
454
+ return {};
455
+ }
456
+ };
457
+ };
458
+ function Lt(t, e) {
459
+ return {
460
+ top: t.top - e.height,
461
+ right: t.right - e.width,
462
+ bottom: t.bottom - e.height,
463
+ left: t.left - e.width
464
+ };
465
+ }
466
+ function Ct(t) {
467
+ return Ht.some((e) => t[e] >= 0);
468
+ }
469
+ const we = function(t) {
470
+ return t === void 0 && (t = {}), {
471
+ name: "hide",
472
+ options: t,
473
+ async fn(e) {
474
+ const {
475
+ rects: n
476
+ } = e, {
477
+ strategy: o = "referenceHidden",
478
+ ...i
479
+ } = J(t, e);
480
+ switch (o) {
481
+ case "referenceHidden": {
482
+ const s = await rt(e, {
483
+ ...i,
484
+ elementContext: "reference"
485
+ }), r = Lt(s, n.reference);
486
+ return {
487
+ data: {
488
+ referenceHiddenOffsets: r,
489
+ referenceHidden: Ct(r)
490
+ }
491
+ };
492
+ }
493
+ case "escaped": {
494
+ const s = await rt(e, {
495
+ ...i,
496
+ altBoundary: !0
497
+ }), r = Lt(s, n.floating);
498
+ return {
499
+ data: {
500
+ escapedOffsets: r,
501
+ escaped: Ct(r)
502
+ }
503
+ };
504
+ }
505
+ default:
506
+ return {};
507
+ }
508
+ }
509
+ };
510
+ };
511
+ async function ve(t, e) {
512
+ const {
513
+ placement: n,
514
+ platform: o,
515
+ elements: i
516
+ } = t, s = await (o.isRTL == null ? void 0 : o.isRTL(i.floating)), r = V(n), l = B(n), a = X(n) === "y", c = ["left", "top"].includes(r) ? -1 : 1, d = s && a ? -1 : 1, u = J(e, t);
517
+ let {
518
+ mainAxis: m,
519
+ crossAxis: f,
520
+ alignmentAxis: p
521
+ } = typeof u == "number" ? {
522
+ mainAxis: u,
523
+ crossAxis: 0,
524
+ alignmentAxis: null
525
+ } : {
526
+ mainAxis: u.mainAxis || 0,
527
+ crossAxis: u.crossAxis || 0,
528
+ alignmentAxis: u.alignmentAxis
529
+ };
530
+ return l && typeof p == "number" && (f = l === "end" ? p * -1 : p), a ? {
531
+ x: f * d,
532
+ y: m * c
533
+ } : {
534
+ x: m * c,
535
+ y: f * d
536
+ };
537
+ }
538
+ const ye = function(t) {
539
+ return t === void 0 && (t = 0), {
540
+ name: "offset",
541
+ options: t,
542
+ async fn(e) {
543
+ var n, o;
544
+ const {
545
+ x: i,
546
+ y: s,
547
+ placement: r,
548
+ middlewareData: l
549
+ } = e, a = await ve(e, t);
550
+ return r === ((n = l.offset) == null ? void 0 : n.placement) && (o = l.arrow) != null && o.alignmentOffset ? {} : {
551
+ x: i + a.x,
552
+ y: s + a.y,
553
+ data: {
554
+ ...a,
555
+ placement: r
556
+ }
557
+ };
558
+ }
559
+ };
560
+ }, xe = function(t) {
561
+ return t === void 0 && (t = {}), {
562
+ name: "shift",
563
+ options: t,
564
+ async fn(e) {
565
+ const {
566
+ x: n,
567
+ y: o,
568
+ placement: i
569
+ } = e, {
570
+ mainAxis: s = !0,
571
+ crossAxis: r = !1,
572
+ limiter: l = {
573
+ fn: (w) => {
574
+ let {
575
+ x: h,
576
+ y: v
577
+ } = w;
578
+ return {
579
+ x: h,
580
+ y: v
581
+ };
582
+ }
583
+ },
584
+ ...a
585
+ } = J(t, e), c = {
586
+ x: n,
587
+ y: o
588
+ }, d = await rt(e, a), u = X(V(i)), m = Nt(u);
589
+ let f = c[m], p = c[u];
590
+ if (s) {
591
+ const w = m === "y" ? "top" : "left", h = m === "y" ? "bottom" : "right", v = f + d[w], y = f - d[h];
592
+ f = wt(v, f, y);
593
+ }
594
+ if (r) {
595
+ const w = u === "y" ? "top" : "left", h = u === "y" ? "bottom" : "right", v = p + d[w], y = p - d[h];
596
+ p = wt(v, p, y);
597
+ }
598
+ const g = l.fn({
599
+ ...e,
600
+ [m]: f,
601
+ [u]: p
602
+ });
603
+ return {
604
+ ...g,
605
+ data: {
606
+ x: g.x - n,
607
+ y: g.y - o,
608
+ enabled: {
609
+ [m]: s,
610
+ [u]: r
611
+ }
612
+ }
613
+ };
614
+ }
615
+ };
616
+ };
617
+ function mt() {
618
+ return typeof window < "u";
619
+ }
620
+ function Q(t) {
621
+ return Ot(t) ? (t.nodeName || "").toLowerCase() : "#document";
622
+ }
623
+ function _(t) {
624
+ var e;
625
+ return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
626
+ }
627
+ function $(t) {
628
+ var e;
629
+ return (e = (Ot(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
630
+ }
631
+ function Ot(t) {
632
+ return mt() ? t instanceof Node || t instanceof _(t).Node : !1;
633
+ }
634
+ function L(t) {
635
+ return mt() ? t instanceof Element || t instanceof _(t).Element : !1;
636
+ }
637
+ function k(t) {
638
+ return mt() ? t instanceof HTMLElement || t instanceof _(t).HTMLElement : !1;
639
+ }
640
+ function Pt(t) {
641
+ return !mt() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof _(t).ShadowRoot;
642
+ }
643
+ function lt(t) {
644
+ const {
645
+ overflow: e,
646
+ overflowX: n,
647
+ overflowY: o,
648
+ display: i
649
+ } = C(t);
650
+ return /auto|scroll|overlay|hidden|clip/.test(e + o + n) && !["inline", "contents"].includes(i);
651
+ }
652
+ function be(t) {
653
+ return ["table", "td", "th"].includes(Q(t));
654
+ }
655
+ function pt(t) {
656
+ return [":popover-open", ":modal"].some((e) => {
657
+ try {
658
+ return t.matches(e);
659
+ } catch {
660
+ return !1;
661
+ }
662
+ });
663
+ }
664
+ function At(t) {
665
+ const e = Tt(), n = L(t) ? C(t) : t;
666
+ return ["transform", "translate", "scale", "rotate", "perspective"].some((o) => n[o] ? n[o] !== "none" : !1) || (n.containerType ? n.containerType !== "normal" : !1) || !e && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !e && (n.filter ? n.filter !== "none" : !1) || ["transform", "translate", "scale", "rotate", "perspective", "filter"].some((o) => (n.willChange || "").includes(o)) || ["paint", "layout", "strict", "content"].some((o) => (n.contain || "").includes(o));
667
+ }
668
+ function Oe(t) {
669
+ let e = U(t);
670
+ for (; k(e) && !ot(e); ) {
671
+ if (At(e))
672
+ return e;
673
+ if (pt(e))
674
+ return null;
675
+ e = U(e);
676
+ }
677
+ return null;
678
+ }
679
+ function Tt() {
680
+ return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
681
+ }
682
+ function ot(t) {
683
+ return ["html", "body", "#document"].includes(Q(t));
684
+ }
685
+ function C(t) {
686
+ return _(t).getComputedStyle(t);
687
+ }
688
+ function gt(t) {
689
+ return L(t) ? {
690
+ scrollLeft: t.scrollLeft,
691
+ scrollTop: t.scrollTop
692
+ } : {
693
+ scrollLeft: t.scrollX,
694
+ scrollTop: t.scrollY
695
+ };
696
+ }
697
+ function U(t) {
698
+ if (Q(t) === "html")
699
+ return t;
700
+ const e = (
701
+ // Step into the shadow DOM of the parent of a slotted node.
702
+ t.assignedSlot || // DOM Element detected.
703
+ t.parentNode || // ShadowRoot detected.
704
+ Pt(t) && t.host || // Fallback.
705
+ $(t)
706
+ );
707
+ return Pt(e) ? e.host : e;
708
+ }
709
+ function It(t) {
710
+ const e = U(t);
711
+ return ot(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : k(e) && lt(e) ? e : It(e);
712
+ }
713
+ function st(t, e, n) {
714
+ var o;
715
+ e === void 0 && (e = []), n === void 0 && (n = !0);
716
+ const i = It(t), s = i === ((o = t.ownerDocument) == null ? void 0 : o.body), r = _(i);
717
+ if (s) {
718
+ const l = vt(r);
719
+ return e.concat(r, r.visualViewport || [], lt(i) ? i : [], l && n ? st(l) : []);
720
+ }
721
+ return e.concat(i, st(i, [], n));
722
+ }
723
+ function vt(t) {
724
+ return t.parent && Object.getPrototypeOf(t.parent) ? t.frameElement : null;
725
+ }
726
+ function jt(t) {
727
+ const e = C(t);
728
+ let n = parseFloat(e.width) || 0, o = parseFloat(e.height) || 0;
729
+ const i = k(t), s = i ? t.offsetWidth : n, r = i ? t.offsetHeight : o, l = at(n) !== s || at(o) !== r;
730
+ return l && (n = s, o = r), {
731
+ width: n,
732
+ height: o,
733
+ $: l
734
+ };
735
+ }
736
+ function Rt(t) {
737
+ return L(t) ? t : t.contextElement;
738
+ }
739
+ function et(t) {
740
+ const e = Rt(t);
741
+ if (!k(e))
742
+ return M(1);
743
+ const n = e.getBoundingClientRect(), {
744
+ width: o,
745
+ height: i,
746
+ $: s
747
+ } = jt(e);
748
+ let r = (s ? at(n.width) : n.width) / o, l = (s ? at(n.height) : n.height) / i;
749
+ return (!r || !Number.isFinite(r)) && (r = 1), (!l || !Number.isFinite(l)) && (l = 1), {
750
+ x: r,
751
+ y: l
752
+ };
753
+ }
754
+ const Ae = /* @__PURE__ */ M(0);
755
+ function zt(t) {
756
+ const e = _(t);
757
+ return !Tt() || !e.visualViewport ? Ae : {
758
+ x: e.visualViewport.offsetLeft,
759
+ y: e.visualViewport.offsetTop
760
+ };
761
+ }
762
+ function Te(t, e, n) {
763
+ return e === void 0 && (e = !1), !n || e && n !== _(t) ? !1 : e;
764
+ }
765
+ function K(t, e, n, o) {
766
+ e === void 0 && (e = !1), n === void 0 && (n = !1);
767
+ const i = t.getBoundingClientRect(), s = Rt(t);
768
+ let r = M(1);
769
+ e && (o ? L(o) && (r = et(o)) : r = et(t));
770
+ const l = Te(s, n, o) ? zt(s) : M(0);
771
+ let a = (i.left + l.x) / r.x, c = (i.top + l.y) / r.y, d = i.width / r.x, u = i.height / r.y;
772
+ if (s) {
773
+ const m = _(s), f = o && L(o) ? _(o) : o;
774
+ let p = m, g = vt(p);
775
+ for (; g && o && f !== p; ) {
776
+ const w = et(g), h = g.getBoundingClientRect(), v = C(g), y = h.left + (g.clientLeft + parseFloat(v.paddingLeft)) * w.x, O = h.top + (g.clientTop + parseFloat(v.paddingTop)) * w.y;
777
+ a *= w.x, c *= w.y, d *= w.x, u *= w.y, a += y, c += O, p = _(g), g = vt(p);
778
+ }
779
+ }
780
+ return dt({
781
+ width: d,
782
+ height: u,
783
+ x: a,
784
+ y: c
785
+ });
786
+ }
787
+ function St(t, e) {
788
+ const n = gt(t).scrollLeft;
789
+ return e ? e.left + n : K($(t)).left + n;
790
+ }
791
+ function Ut(t, e, n) {
792
+ n === void 0 && (n = !1);
793
+ const o = t.getBoundingClientRect(), i = o.left + e.scrollLeft - (n ? 0 : (
794
+ // RTL <body> scrollbar.
795
+ St(t, o)
796
+ )), s = o.top + e.scrollTop;
797
+ return {
798
+ x: i,
799
+ y: s
800
+ };
801
+ }
802
+ function Re(t) {
803
+ let {
804
+ elements: e,
805
+ rect: n,
806
+ offsetParent: o,
807
+ strategy: i
808
+ } = t;
809
+ const s = i === "fixed", r = $(o), l = e ? pt(e.floating) : !1;
810
+ if (o === r || l && s)
811
+ return n;
812
+ let a = {
813
+ scrollLeft: 0,
814
+ scrollTop: 0
815
+ }, c = M(1);
816
+ const d = M(0), u = k(o);
817
+ if ((u || !u && !s) && ((Q(o) !== "body" || lt(r)) && (a = gt(o)), k(o))) {
818
+ const f = K(o);
819
+ c = et(o), d.x = f.x + o.clientLeft, d.y = f.y + o.clientTop;
820
+ }
821
+ const m = r && !u && !s ? Ut(r, a, !0) : M(0);
822
+ return {
823
+ width: n.width * c.x,
824
+ height: n.height * c.y,
825
+ x: n.x * c.x - a.scrollLeft * c.x + d.x + m.x,
826
+ y: n.y * c.y - a.scrollTop * c.y + d.y + m.y
827
+ };
828
+ }
829
+ function Se(t) {
830
+ return Array.from(t.getClientRects());
831
+ }
832
+ function _e(t) {
833
+ const e = $(t), n = gt(t), o = t.ownerDocument.body, i = G(e.scrollWidth, e.clientWidth, o.scrollWidth, o.clientWidth), s = G(e.scrollHeight, e.clientHeight, o.scrollHeight, o.clientHeight);
834
+ let r = -n.scrollLeft + St(t);
835
+ const l = -n.scrollTop;
836
+ return C(o).direction === "rtl" && (r += G(e.clientWidth, o.clientWidth) - i), {
837
+ width: i,
838
+ height: s,
839
+ x: r,
840
+ y: l
841
+ };
842
+ }
843
+ function Ee(t, e) {
844
+ const n = _(t), o = $(t), i = n.visualViewport;
845
+ let s = o.clientWidth, r = o.clientHeight, l = 0, a = 0;
846
+ if (i) {
847
+ s = i.width, r = i.height;
848
+ const c = Tt();
849
+ (!c || c && e === "fixed") && (l = i.offsetLeft, a = i.offsetTop);
850
+ }
851
+ return {
852
+ width: s,
853
+ height: r,
854
+ x: l,
855
+ y: a
856
+ };
857
+ }
858
+ function De(t, e) {
859
+ const n = K(t, !0, e === "fixed"), o = n.top + t.clientTop, i = n.left + t.clientLeft, s = k(t) ? et(t) : M(1), r = t.clientWidth * s.x, l = t.clientHeight * s.y, a = i * s.x, c = o * s.y;
860
+ return {
861
+ width: r,
862
+ height: l,
863
+ x: a,
864
+ y: c
865
+ };
866
+ }
867
+ function Ft(t, e, n) {
868
+ let o;
869
+ if (e === "viewport")
870
+ o = Ee(t, n);
871
+ else if (e === "document")
872
+ o = _e($(t));
873
+ else if (L(e))
874
+ o = De(e, n);
875
+ else {
876
+ const i = zt(t);
877
+ o = {
878
+ x: e.x - i.x,
879
+ y: e.y - i.y,
880
+ width: e.width,
881
+ height: e.height
882
+ };
883
+ }
884
+ return dt(o);
885
+ }
886
+ function Yt(t, e) {
887
+ const n = U(t);
888
+ return n === e || !L(n) || ot(n) ? !1 : C(n).position === "fixed" || Yt(n, e);
889
+ }
890
+ function Le(t, e) {
891
+ const n = e.get(t);
892
+ if (n)
893
+ return n;
894
+ let o = st(t, [], !1).filter((l) => L(l) && Q(l) !== "body"), i = null;
895
+ const s = C(t).position === "fixed";
896
+ let r = s ? U(t) : t;
897
+ for (; L(r) && !ot(r); ) {
898
+ const l = C(r), a = At(r);
899
+ !a && l.position === "fixed" && (i = null), (s ? !a && !i : !a && l.position === "static" && !!i && ["absolute", "fixed"].includes(i.position) || lt(r) && !a && Yt(t, r)) ? o = o.filter((d) => d !== r) : i = l, r = U(r);
900
+ }
901
+ return e.set(t, o), o;
902
+ }
903
+ function Ce(t) {
904
+ let {
905
+ element: e,
906
+ boundary: n,
907
+ rootBoundary: o,
908
+ strategy: i
909
+ } = t;
910
+ const r = [...n === "clippingAncestors" ? pt(e) ? [] : Le(e, this._c) : [].concat(n), o], l = r[0], a = r.reduce((c, d) => {
911
+ const u = Ft(e, d, i);
912
+ return c.top = G(u.top, c.top), c.right = nt(u.right, c.right), c.bottom = nt(u.bottom, c.bottom), c.left = G(u.left, c.left), c;
913
+ }, Ft(e, l, i));
914
+ return {
915
+ width: a.right - a.left,
916
+ height: a.bottom - a.top,
917
+ x: a.left,
918
+ y: a.top
919
+ };
920
+ }
921
+ function Pe(t) {
922
+ const {
923
+ width: e,
924
+ height: n
925
+ } = jt(t);
926
+ return {
927
+ width: e,
928
+ height: n
929
+ };
930
+ }
931
+ function Fe(t, e, n) {
932
+ const o = k(e), i = $(e), s = n === "fixed", r = K(t, !0, s, e);
933
+ let l = {
934
+ scrollLeft: 0,
935
+ scrollTop: 0
936
+ };
937
+ const a = M(0);
938
+ if (o || !o && !s)
939
+ if ((Q(e) !== "body" || lt(i)) && (l = gt(e)), o) {
940
+ const m = K(e, !0, s, e);
941
+ a.x = m.x + e.clientLeft, a.y = m.y + e.clientTop;
942
+ } else i && (a.x = St(i));
943
+ const c = i && !o && !s ? Ut(i, l) : M(0), d = r.left + l.scrollLeft - a.x - c.x, u = r.top + l.scrollTop - a.y - c.y;
944
+ return {
945
+ x: d,
946
+ y: u,
947
+ width: r.width,
948
+ height: r.height
949
+ };
950
+ }
951
+ function ht(t) {
952
+ return C(t).position === "static";
953
+ }
954
+ function Mt(t, e) {
955
+ if (!k(t) || C(t).position === "fixed")
956
+ return null;
957
+ if (e)
958
+ return e(t);
959
+ let n = t.offsetParent;
960
+ return $(t) === n && (n = n.ownerDocument.body), n;
961
+ }
962
+ function qt(t, e) {
963
+ const n = _(t);
964
+ if (pt(t))
965
+ return n;
966
+ if (!k(t)) {
967
+ let i = U(t);
968
+ for (; i && !ot(i); ) {
969
+ if (L(i) && !ht(i))
970
+ return i;
971
+ i = U(i);
972
+ }
973
+ return n;
974
+ }
975
+ let o = Mt(t, e);
976
+ for (; o && be(o) && ht(o); )
977
+ o = Mt(o, e);
978
+ return o && ot(o) && ht(o) && !At(o) ? n : o || Oe(t) || n;
979
+ }
980
+ const Me = async function(t) {
981
+ const e = this.getOffsetParent || qt, n = this.getDimensions, o = await n(t.floating);
982
+ return {
983
+ reference: Fe(t.reference, await e(t.floating), t.strategy),
984
+ floating: {
985
+ x: 0,
986
+ y: 0,
987
+ width: o.width,
988
+ height: o.height
989
+ }
990
+ };
991
+ };
992
+ function Be(t) {
993
+ return C(t).direction === "rtl";
994
+ }
995
+ const ke = {
996
+ convertOffsetParentRelativeRectToViewportRelativeRect: Re,
997
+ getDocumentElement: $,
998
+ getClippingRect: Ce,
999
+ getOffsetParent: qt,
1000
+ getElementRects: Me,
1001
+ getClientRects: Se,
1002
+ getDimensions: Pe,
1003
+ getScale: et,
1004
+ isElement: L,
1005
+ isRTL: Be
1006
+ };
1007
+ function $e(t, e) {
1008
+ let n = null, o;
1009
+ const i = $(t);
1010
+ function s() {
1011
+ var l;
1012
+ clearTimeout(o), (l = n) == null || l.disconnect(), n = null;
1013
+ }
1014
+ function r(l, a) {
1015
+ l === void 0 && (l = !1), a === void 0 && (a = 1), s();
1016
+ const {
1017
+ left: c,
1018
+ top: d,
1019
+ width: u,
1020
+ height: m
1021
+ } = t.getBoundingClientRect();
1022
+ if (l || e(), !u || !m)
1023
+ return;
1024
+ const f = ct(d), p = ct(i.clientWidth - (c + u)), g = ct(i.clientHeight - (d + m)), w = ct(c), v = {
1025
+ rootMargin: -f + "px " + -p + "px " + -g + "px " + -w + "px",
1026
+ threshold: G(0, nt(1, a)) || 1
1027
+ };
1028
+ let y = !0;
1029
+ function O(b) {
1030
+ const T = b[0].intersectionRatio;
1031
+ if (T !== a) {
1032
+ if (!y)
1033
+ return r();
1034
+ T ? r(!1, T) : o = setTimeout(() => {
1035
+ r(!1, 1e-7);
1036
+ }, 1e3);
1037
+ }
1038
+ y = !1;
1039
+ }
1040
+ try {
1041
+ n = new IntersectionObserver(O, {
1042
+ ...v,
1043
+ // Handle <iframe>s
1044
+ root: i.ownerDocument
1045
+ });
1046
+ } catch {
1047
+ n = new IntersectionObserver(O, v);
1048
+ }
1049
+ n.observe(t);
1050
+ }
1051
+ return r(!0), s;
1052
+ }
1053
+ function Bt(t, e, n, o) {
1054
+ o === void 0 && (o = {});
1055
+ const {
1056
+ ancestorScroll: i = !0,
1057
+ ancestorResize: s = !0,
1058
+ elementResize: r = typeof ResizeObserver == "function",
1059
+ layoutShift: l = typeof IntersectionObserver == "function",
1060
+ animationFrame: a = !1
1061
+ } = o, c = Rt(t), d = i || s ? [...c ? st(c) : [], ...st(e)] : [];
1062
+ d.forEach((h) => {
1063
+ i && h.addEventListener("scroll", n, {
1064
+ passive: !0
1065
+ }), s && h.addEventListener("resize", n);
1066
+ });
1067
+ const u = c && l ? $e(c, n) : null;
1068
+ let m = -1, f = null;
1069
+ r && (f = new ResizeObserver((h) => {
1070
+ let [v] = h;
1071
+ v && v.target === c && f && (f.unobserve(e), cancelAnimationFrame(m), m = requestAnimationFrame(() => {
1072
+ var y;
1073
+ (y = f) == null || y.observe(e);
1074
+ })), n();
1075
+ }), c && !a && f.observe(c), f.observe(e));
1076
+ let p, g = a ? K(t) : null;
1077
+ a && w();
1078
+ function w() {
1079
+ const h = K(t);
1080
+ g && (h.x !== g.x || h.y !== g.y || h.width !== g.width || h.height !== g.height) && n(), g = h, p = requestAnimationFrame(w);
1081
+ }
1082
+ return n(), () => {
1083
+ var h;
1084
+ d.forEach((v) => {
1085
+ i && v.removeEventListener("scroll", n), s && v.removeEventListener("resize", n);
1086
+ }), u == null || u(), (h = f) == null || h.disconnect(), f = null, a && cancelAnimationFrame(p);
1087
+ };
1088
+ }
1089
+ const He = ye, Ne = ge, We = xe, Ve = he, sn = we, Ie = me, je = (t, e, n) => {
1090
+ const o = /* @__PURE__ */ new Map(), i = {
1091
+ platform: ke,
1092
+ ...n
1093
+ }, s = {
1094
+ ...i.platform,
1095
+ _c: o
1096
+ };
1097
+ return de(t, e, {
1098
+ ...i,
1099
+ platform: s
1100
+ });
1101
+ };
1102
+ function ze(t) {
1103
+ return t != null && typeof t == "object" && "$el" in t;
1104
+ }
1105
+ function yt(t) {
1106
+ if (ze(t)) {
1107
+ const e = t.$el;
1108
+ return Ot(e) && Q(e) === "#comment" ? null : e;
1109
+ }
1110
+ return t;
1111
+ }
1112
+ function Ue(t) {
1113
+ return {
1114
+ name: "arrow",
1115
+ options: t,
1116
+ fn(e) {
1117
+ const n = yt(tt(t.element));
1118
+ return n == null ? {} : Ie({
1119
+ element: n,
1120
+ padding: t.padding
1121
+ }).fn(e);
1122
+ }
1123
+ };
1124
+ }
1125
+ function Gt(t) {
1126
+ return typeof window > "u" ? 1 : (t.ownerDocument.defaultView || window).devicePixelRatio || 1;
1127
+ }
1128
+ function kt(t, e) {
1129
+ const n = Gt(t);
1130
+ return Math.round(e * n) / n;
1131
+ }
1132
+ function Ye(t, e, n) {
1133
+ n === void 0 && (n = {});
1134
+ const o = n.whileElementsMounted, i = R(() => {
1135
+ var x;
1136
+ return (x = tt(n.open)) != null ? x : !0;
1137
+ }), s = R(() => tt(n.middleware)), r = R(() => {
1138
+ var x;
1139
+ return (x = tt(n.placement)) != null ? x : "bottom";
1140
+ }), l = R(() => {
1141
+ var x;
1142
+ return (x = tt(n.strategy)) != null ? x : "absolute";
1143
+ }), a = R(() => {
1144
+ var x;
1145
+ return (x = tt(n.transform)) != null ? x : !0;
1146
+ }), c = R(() => yt(t.value)), d = R(() => yt(e.value)), u = z(0), m = z(0), f = z(l.value), p = z(r.value), g = Zt({}), w = z(!1), h = R(() => {
1147
+ const x = {
1148
+ position: f.value,
1149
+ left: "0",
1150
+ top: "0"
1151
+ };
1152
+ if (!d.value)
1153
+ return x;
1154
+ const H = kt(d.value, u.value), S = kt(d.value, m.value);
1155
+ return a.value ? {
1156
+ ...x,
1157
+ transform: "translate(" + H + "px, " + S + "px)",
1158
+ ...Gt(d.value) >= 1.5 && {
1159
+ willChange: "transform"
1160
+ }
1161
+ } : {
1162
+ position: f.value,
1163
+ left: H + "px",
1164
+ top: S + "px"
1165
+ };
1166
+ });
1167
+ let v;
1168
+ function y() {
1169
+ c.value == null || d.value == null || je(c.value, d.value, {
1170
+ middleware: s.value,
1171
+ placement: r.value,
1172
+ strategy: l.value
1173
+ }).then((x) => {
1174
+ u.value = x.x, m.value = x.y, f.value = x.strategy, p.value = x.placement, g.value = x.middlewareData, w.value = !0;
1175
+ });
1176
+ }
1177
+ function O() {
1178
+ typeof v == "function" && (v(), v = void 0);
1179
+ }
1180
+ function b() {
1181
+ if (O(), o === void 0) {
1182
+ y();
1183
+ return;
1184
+ }
1185
+ if (c.value != null && d.value != null) {
1186
+ v = o(c.value, d.value, y);
1187
+ return;
1188
+ }
1189
+ }
1190
+ function T() {
1191
+ i.value || (w.value = !1);
1192
+ }
1193
+ return it([s, r, l], y, {
1194
+ flush: "sync"
1195
+ }), it([c, d], b, {
1196
+ flush: "sync"
1197
+ }), it(i, T, {
1198
+ flush: "sync"
1199
+ }), te() && ee(O), {
1200
+ x: Z(u),
1201
+ y: Z(m),
1202
+ strategy: Z(f),
1203
+ placement: Z(p),
1204
+ middlewareData: Z(g),
1205
+ isPositioned: Z(w),
1206
+ floatingStyles: h,
1207
+ update: y
1208
+ };
1209
+ }
1210
+ var Xt = /* @__PURE__ */ ((t) => (t.TOP = "top", t.RIGHT = "right", t.BOTTOM = "bottom", t.LEFT = "left", t))(Xt || {}), Kt = /* @__PURE__ */ ((t) => (t.AUTO = "auto", t.AUTO_START = "auto-start", t.AUTO_END = "auto-end", t.TOP_START = "top-start", t.TOP_END = "top-end", t.RIGHT_START = "right-start", t.RIGHT_END = "right-end", t.BOTTOM_START = "bottom-start", t.BOTTOM_END = "bottom-end", t.LEFT_START = "left-start", t.LEFT_END = "left-end", t))(Kt || {}), Jt = /* @__PURE__ */ ((t) => (t.TOOLTIP = "tooltip", t.POPOVER = "dialog", t))(Jt || {});
1211
+ const $t = { ...Xt, ...Kt }, qe = (t, e) => t ? e[1] + 7 : e[1], Ge = (t) => {
1212
+ let e = Array.isArray(t) ? t : [t];
1213
+ return e = e.filter((n) => n !== "auto" && n !== "auto-start" && n !== "auto-end").map((n) => n), {
1214
+ fallbackPlacements: e
1215
+ };
1216
+ }, Xe = {
1217
+ name: "sameWidth",
1218
+ fn: ({ elements: t }) => (t.floating.style.width = `${t.reference.offsetWidth}px`, {})
1219
+ }, Ke = {}, Je = /* @__PURE__ */ ne({
1220
+ ...Ke,
1221
+ __name: "popper-container",
1222
+ props: {
1223
+ /**
1224
+ * The aria role assigned to the container. Defaults to null, which means it's not set if nothing is passed.
1225
+ */
1226
+ ariaRole: {
1227
+ type: String,
1228
+ default: null,
1229
+ validator: (t) => Object.values(Jt).includes(t)
1230
+ },
1231
+ /**
1232
+ * Indicates if container should have additional arrow, pointing at target element
1233
+ * Can be just a boolean flag, or an object with additional configuration:
1234
+ * @property {Array<string>} arrow.classes – apply any additional classes to the arrow element.
1235
+ * @property {string} arrow.padding – useful when content has rounded corners, @see {@link https://floating-ui.com/docs/arrow#padding}
1236
+ */
1237
+ arrow: { type: Object, default: void 0 },
1238
+ /**
1239
+ * Disables wrapping focus-trap component.
1240
+ * Mostly useful for the storybook demo.
1241
+ */
1242
+ disabledFocusTrap: { type: Boolean, default: !1 },
1243
+ /**
1244
+ * Allows to configure to fallback position to the one specified, it could be 'auto' or ['right', 'top', ...].
1245
+ * Useful when not using auto as starting placement.
1246
+ * @see {@link https://floating-ui.com/docs/flip#fallbackplacements}
1247
+ */
1248
+ fallbackPosition: {
1249
+ type: [Array, String],
1250
+ default: null
1251
+ },
1252
+ /**
1253
+ * Instructs popover to be visible outside of the containing container.
1254
+ * Useful when component would be used in limited containers like Modal, Side panel, etc.
1255
+ * @see {@link https://floating-ui.com/docs/usefloating#strategy}
1256
+ */
1257
+ fixedPositioning: { type: Boolean, default: !1 },
1258
+ /**
1259
+ * The id to be set on the component. Use it for accessibility purposes.
1260
+ */
1261
+ id: { type: String, default: null },
1262
+ /**
1263
+ * If hiding / showing popper element then use this property to tell the popper when to update it's position.
1264
+ * This will drastically help improve performance, as we will not need to track hidden elements.
1265
+ */
1266
+ isHidden: { type: Boolean, default: null },
1267
+ /**
1268
+ * Instructs popper container to have the same width as target element.
1269
+ */
1270
+ matchWidth: { type: Boolean, default: !1 },
1271
+ /**
1272
+ * Custom set of middleware. Useful for low-level control over Popper behavior in some really complex use cases.
1273
+ * @see {@link https://floating-ui.com/docs/middleware}
1274
+ */
1275
+ middleware: { type: Array, default: null },
1276
+ /**
1277
+ * Allows to displace a popper container from its target element.
1278
+ * @see {@link https://floating-ui.com/docs/offset#options}
1279
+ */
1280
+ offset: {
1281
+ type: Array,
1282
+ default: () => [0, 0],
1283
+ validator: (t) => (t == null ? void 0 : t.length) === 2
1284
+ },
1285
+ /**
1286
+ * Position relative to the target element
1287
+ * @see {@link https://floating-ui.com/docs/computeposition#placement}
1288
+ */
1289
+ position: {
1290
+ type: String,
1291
+ default: $t.AUTO,
1292
+ validator: (t) => Object.values($t).includes(t)
1293
+ },
1294
+ /**
1295
+ * Reference to the DOM element or Vue component for positioning
1296
+ */
1297
+ targetElement: { type: [Element, Object], required: !0 },
1298
+ /**
1299
+ * Activates focus trap for both arrow and tab keys.
1300
+ */
1301
+ trapAll: { type: Boolean, default: !1 },
1302
+ /**
1303
+ * Configurations for the focus-trap when trap-all is active.
1304
+ */
1305
+ trapAllOptions: {
1306
+ type: Object,
1307
+ default: void 0
1308
+ }
1309
+ },
1310
+ emits: ["placement"],
1311
+ setup(t, { emit: e }) {
1312
+ var y;
1313
+ const n = t, { position: o } = oe(n), i = z(), s = z(null), r = z(n.position), l = R(
1314
+ () => n.targetElement.$el ? n.targetElement.$el : n.targetElement
1315
+ ), a = R(
1316
+ () => i.value.$el ? i.value.$el : i.value
1317
+ ), c = R(() => (n == null ? void 0 : n.position) !== "auto" && (n == null ? void 0 : n.fallbackPosition) !== "auto"), d = R(() => {
1318
+ switch (n.position) {
1319
+ case "auto-start":
1320
+ return { alignment: "start", crossAxis: !0 };
1321
+ case "auto-end":
1322
+ return { alignment: "end", crossAxis: !0 };
1323
+ default:
1324
+ return;
1325
+ }
1326
+ }), u = R(() => n.fixedPositioning ? "fixed" : "absolute"), { floatingStyles: m, middlewareData: f, placement: p, update: g } = Ye(l, i, {
1327
+ placement: o,
1328
+ middleware: [
1329
+ // Adds flip modifier if fallbackPosition is not set to auto
1330
+ ...c.value ? [
1331
+ Ve({
1332
+ fallbackPlacements: Ge(n.fallbackPosition).fallbackPlacements
1333
+ })
1334
+ ] : [],
1335
+ // Adds autoposition middlelare if position is set to any auto variants
1336
+ ...c.value ? [] : [Ne(d.value)],
1337
+ // Add shifting middle in case popper is still not fully visible in view port
1338
+ We(),
1339
+ // Adds offset middlelare if offset property is set
1340
+ ...n.offset ? [He(qe(n.arrow, n.offset))] : [],
1341
+ // Adds arrow middlelare if arrow property is set, can set additional padding property
1342
+ ...n.arrow ? [Ue({ element: s, padding: n.arrow.padding || 0 })] : [],
1343
+ // Adds same width middleware to keep popper width same as referenced element's width
1344
+ ...n.matchWidth ? [Xe] : [],
1345
+ // If there is additional custom middleware to add via the property then add it
1346
+ ...((y = n.middleware) == null ? void 0 : y.length) > 0 ? n.middleware : []
1347
+ ],
1348
+ strategy: u,
1349
+ // If we're mounting the element with a `v-if` then we need to auto update it while it's mounted
1350
+ ...n.isHidden === null ? { whileElementsMounted: Bt } : []
1351
+ });
1352
+ let w;
1353
+ it(
1354
+ () => n.isHidden,
1355
+ () => {
1356
+ n.isHidden !== null && !n.isHidden ? w = Bt(l == null ? void 0 : l.value, a == null ? void 0 : a.value, g) : n.isHidden !== null && n.isHidden && typeof w == "function" && w();
1357
+ }
1358
+ ), it(
1359
+ () => p.value,
1360
+ () => {
1361
+ r.value !== p.value && (r.value = p.value, e("placement", r.value));
1362
+ }
1363
+ );
1364
+ const h = R(() => {
1365
+ var O, b;
1366
+ return {
1367
+ position: "absolute",
1368
+ left: ((O = f.value.arrow) == null ? void 0 : O.x) != null ? `${f.value.arrow.x}px` : "",
1369
+ top: ((b = f.value.arrow) == null ? void 0 : b.y) != null ? `${f.value.arrow.y}px` : ""
1370
+ };
1371
+ }), v = R(() => {
1372
+ var O;
1373
+ return {
1374
+ class: n.arrow.classes,
1375
+ style: h.value,
1376
+ // Applies a data-hide attribute to arrow element depending on center offset.
1377
+ ...((O = f.value.arrow) == null ? void 0 : O.centerOffset) !== 0 ? { "data-hide": "" } : {}
1378
+ };
1379
+ });
1380
+ return { __sfc: !0, props: n, emit: e, position: o, popperContainerRef: i, floatingArrow: s, emittedPosition: r, targetElement: l, popperContainerElement: a, isFlipMiddleware: c, getAutoPlacementProps: d, strategy: u, floatingStyles: m, middlewareData: f, placement: p, update: g, cleanupAutoUpdate: w, arrowStyles: h, arrowAttributes: v, BentoFocusTrap: ie };
1381
+ }
1382
+ });
1383
+ var Qe = function() {
1384
+ var e = this, n = e._self._c, o = e._self._setupProxy;
1385
+ return n(o.BentoFocusTrap, e._b({ ref: "popperContainerRef", staticClass: "b-popper-container", style: o.floatingStyles, attrs: { id: e.id, "data-popper-placement": o.placement, disabled: e.disabledFocusTrap, role: e.ariaRole, "trap-all": e.trapAll, "trap-all-options": e.trapAllOptions } }, "bento-focus-trap", e.$attrs, !1), [e._t("default"), o.props.arrow ? n("span", e._b({ ref: "floatingArrow", staticClass: "b-popper-container__arrow", attrs: { "data-testid": "arrow" } }, "span", o.arrowAttributes, !1)) : e._e()], 2);
1386
+ }, Ze = [], tn = /* @__PURE__ */ re(
1387
+ Je,
1388
+ Qe,
1389
+ Ze,
1390
+ !1,
1391
+ null,
1392
+ "13de0429"
1393
+ );
1394
+ const ln = tn.exports;
1395
+ export {
1396
+ ln as P,
1397
+ Xt as a,
1398
+ Kt as b,
1399
+ Jt as c,
1400
+ $t as d,
1401
+ sn as h,
1402
+ He as o
1403
+ };
1404
+ //# sourceMappingURL=popper-container.Cdokz_NE.js.map