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