@maggioli-design-system/magma 2.2.0 → 2.3.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 (1389) hide show
  1. package/AGENTS.md +25 -10
  2. package/CHANGELOG.md +475 -0
  3. package/README.md +5 -2
  4. package/agents/assets.md +231 -28
  5. package/agents/color.md +5 -3
  6. package/agents/components.md +3 -3
  7. package/agents/install.md +8 -4
  8. package/agents/reporting.md +11 -2
  9. package/agents/theming.md +15 -0
  10. package/dist/cjs/_commonjsHelpers-CFO10eej.js +7 -0
  11. package/dist/cjs/{floating-controller-uOCBLTk2.js → floating-controller-D7Ekjocg.js} +18 -4
  12. package/dist/cjs/{floating-ui.dom-DflSHZIo.js → floating-ui.dom-EMHL7uyZ.js} +146 -94
  13. package/dist/cjs/icon-MMHcqbgv.js +20 -0
  14. package/dist/cjs/index-UmmmCMIG.js +40 -40
  15. package/dist/cjs/loader.cjs.js +1 -1
  16. package/dist/cjs/magma-components.cjs.js +1 -1
  17. package/dist/cjs/mds-accordion-item.cjs.entry.js +1 -1
  18. package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +1 -1
  19. package/dist/cjs/mds-accordion-timer.cjs.entry.js +1 -1
  20. package/dist/cjs/mds-accordion.cjs.entry.js +1 -1
  21. package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +1 -1
  22. package/dist/cjs/mds-avatar-stack.cjs.entry.js +1 -1
  23. package/dist/cjs/mds-avatar.cjs.entry.js +2 -2
  24. package/dist/cjs/mds-badge.cjs.entry.js +1 -1
  25. package/dist/cjs/mds-banner_3.cjs.entry.js +6 -6
  26. package/dist/cjs/mds-bibliography.cjs.entry.js +1 -1
  27. package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +1 -1
  28. package/dist/cjs/mds-breadcrumb.cjs.entry.js +1 -1
  29. package/dist/cjs/mds-button-dropdown.cjs.entry.js +30 -2
  30. package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
  31. package/dist/cjs/mds-button_3.cjs.entry.js +55 -40
  32. package/dist/cjs/mds-calendar_2.cjs.entry.js +60 -7
  33. package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
  34. package/dist/cjs/mds-card-footer.cjs.entry.js +1 -1
  35. package/dist/cjs/mds-card-header.cjs.entry.js +1 -1
  36. package/dist/cjs/mds-card-media.cjs.entry.js +2 -2
  37. package/dist/cjs/mds-card.cjs.entry.js +2 -2
  38. package/dist/cjs/mds-details.cjs.entry.js +2 -2
  39. package/dist/cjs/mds-dropdown.cjs.entry.js +5 -5
  40. package/dist/cjs/mds-emoji.cjs.entry.js +2 -2
  41. package/dist/cjs/mds-entity.cjs.entry.js +2 -2
  42. package/dist/cjs/mds-file-preview.cjs.entry.js +3 -3
  43. package/dist/cjs/mds-file.cjs.entry.js +29 -7520
  44. package/dist/cjs/mds-filter-item.cjs.entry.js +89 -3
  45. package/dist/cjs/mds-filter.cjs.entry.js +113 -19
  46. package/dist/cjs/mds-header-bar.cjs.entry.js +29 -2
  47. package/dist/cjs/mds-header.cjs.entry.js +2 -2
  48. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +38 -2
  49. package/dist/cjs/mds-hr.cjs.entry.js +2 -2
  50. package/dist/cjs/mds-img.cjs.entry.js +1 -1
  51. package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +2 -2
  52. package/dist/cjs/mds-input-date-range.cjs.entry.js +16 -2
  53. package/dist/cjs/mds-input-date.cjs.entry.js +36 -4
  54. package/dist/cjs/mds-input-field.cjs.entry.js +2 -2
  55. package/dist/cjs/mds-input-otp.cjs.entry.js +1 -1
  56. package/dist/cjs/mds-input-range.cjs.entry.js +2 -2
  57. package/dist/cjs/mds-input-select.cjs.entry.js +32 -5
  58. package/dist/cjs/mds-input-switch_2.cjs.entry.js +21 -8
  59. package/dist/cjs/mds-input-tip_2.cjs.entry.js +5 -5
  60. package/dist/cjs/mds-input-upload.cjs.entry.js +6 -6
  61. package/dist/cjs/mds-input.cjs.entry.js +12 -3
  62. package/dist/cjs/mds-keyboard-key.cjs.entry.js +2 -2
  63. package/dist/cjs/mds-keyboard.cjs.entry.js +2 -2
  64. package/dist/cjs/mds-kpi-item.cjs.entry.js +2 -2
  65. package/dist/cjs/mds-kpi.cjs.entry.js +1 -1
  66. package/dist/cjs/mds-label.cjs.entry.js +1 -1
  67. package/dist/cjs/mds-list-item.cjs.entry.js +2 -3
  68. package/dist/cjs/mds-list.cjs.entry.js +1 -1
  69. package/dist/cjs/mds-mention.cjs.entry.js +2 -2
  70. package/dist/cjs/mds-modal.cjs.entry.js +32 -5
  71. package/dist/cjs/mds-note.cjs.entry.js +2 -2
  72. package/dist/cjs/mds-notification.cjs.entry.js +3 -3
  73. package/dist/cjs/mds-paginator-item.cjs.entry.js +2 -2
  74. package/dist/cjs/mds-paginator.cjs.entry.js +2 -2
  75. package/dist/cjs/mds-policy-ai.cjs.entry.js +2 -2
  76. package/dist/cjs/mds-pref-animation.cjs.entry.js +2 -2
  77. package/dist/cjs/mds-pref-consumption.cjs.entry.js +2 -2
  78. package/dist/cjs/mds-pref-contrast.cjs.entry.js +2 -2
  79. package/dist/cjs/mds-pref-language-item.cjs.entry.js +1 -1
  80. package/dist/cjs/mds-pref-language.cjs.entry.js +2 -2
  81. package/dist/cjs/mds-pref-mode.cjs.entry.js +3 -3
  82. package/dist/cjs/mds-pref-theme-item.cjs.entry.js +4 -3
  83. package/dist/cjs/mds-pref-theme.cjs.entry.js +29 -2
  84. package/dist/cjs/mds-pref.cjs.entry.js +24 -53
  85. package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +2 -2
  86. package/dist/cjs/mds-price-table-features-row.cjs.entry.js +2 -2
  87. package/dist/cjs/mds-price-table-features.cjs.entry.js +2 -2
  88. package/dist/cjs/mds-price-table-header.cjs.entry.js +1 -1
  89. package/dist/cjs/mds-price-table-list-item.cjs.entry.js +2 -2
  90. package/dist/cjs/mds-price-table-list.cjs.entry.js +2 -2
  91. package/dist/cjs/mds-price-table.cjs.entry.js +1 -1
  92. package/dist/cjs/mds-progress_2.cjs.entry.js +4 -4
  93. package/dist/cjs/mds-push-notification-item.cjs.entry.js +4 -4
  94. package/dist/cjs/mds-push-notification.cjs.entry.js +2 -2
  95. package/dist/cjs/mds-quote.cjs.entry.js +2 -2
  96. package/dist/cjs/mds-radial-menu-item.cjs.entry.js +2 -2
  97. package/dist/cjs/mds-radial-menu.cjs.entry.js +40 -4
  98. package/dist/cjs/mds-separator.cjs.entry.js +2 -2
  99. package/dist/cjs/mds-status-bar.cjs.entry.js +2 -2
  100. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +2 -2
  101. package/dist/cjs/mds-stepper-bar.cjs.entry.js +2 -2
  102. package/dist/cjs/mds-tab-bar-item.cjs.entry.js +2 -2
  103. package/dist/cjs/mds-tab-bar.cjs.entry.js +2 -2
  104. package/dist/cjs/mds-tab_2.cjs.entry.js +20 -7
  105. package/dist/cjs/mds-table-body.cjs.entry.js +2 -2
  106. package/dist/cjs/mds-table-footer.cjs.entry.js +2 -2
  107. package/dist/cjs/mds-table-header-cell.cjs.entry.js +116 -77
  108. package/dist/cjs/mds-table-header.cjs.entry.js +2 -2
  109. package/dist/cjs/mds-table-row.cjs.entry.js +3 -3
  110. package/dist/cjs/mds-table.cjs.entry.js +9 -2
  111. package/dist/cjs/mds-text.cjs.entry.js +37 -27
  112. package/dist/cjs/mds-toast.cjs.entry.js +2 -2
  113. package/dist/cjs/mds-tooltip.cjs.entry.js +17 -4
  114. package/dist/cjs/mds-tree-item.cjs.entry.js +2 -2
  115. package/dist/cjs/mds-tree.cjs.entry.js +2 -2
  116. package/dist/cjs/mds-url-view.cjs.entry.js +2 -2
  117. package/dist/cjs/mds-usage.cjs.entry.js +23 -4
  118. package/dist/cjs/mds-video-wall.cjs.entry.js +2 -2
  119. package/dist/cjs/mds-zero.cjs.entry.js +2 -2
  120. package/dist/cjs/string-RoXIuD3q.js +7 -0
  121. package/dist/collection/common/floating-controller.js +17 -3
  122. package/dist/collection/common/hash.js +15 -0
  123. package/dist/collection/common/string.js +3 -1
  124. package/dist/collection/common/yugop/random-text.js +5 -0
  125. package/dist/collection/components/mds-accordion/AGENTS.md +1 -1
  126. package/dist/collection/components/mds-accordion/documentation.json +1 -1
  127. package/dist/collection/components/mds-accordion/mds-accordion.css +5 -5
  128. package/dist/collection/components/mds-accordion-item/AGENTS.md +1 -1
  129. package/dist/collection/components/mds-accordion-item/documentation.json +1 -1
  130. package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +11 -11
  131. package/dist/collection/components/mds-accordion-timer/AGENTS.md +1 -1
  132. package/dist/collection/components/mds-accordion-timer/documentation.json +1 -1
  133. package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.css +2 -2
  134. package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +1 -1
  135. package/dist/collection/components/mds-accordion-timer-item/documentation.json +1 -1
  136. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +6 -6
  137. package/dist/collection/components/mds-author/AGENTS.md +1 -1
  138. package/dist/collection/components/mds-author/documentation.json +2 -2
  139. package/dist/collection/components/mds-author/mds-author.css +2 -1
  140. package/dist/collection/components/mds-avatar/AGENTS.md +1 -1
  141. package/dist/collection/components/mds-avatar/documentation.json +2 -2
  142. package/dist/collection/components/mds-avatar/mds-avatar.css +18 -17
  143. package/dist/collection/components/mds-avatar-stack/AGENTS.md +1 -1
  144. package/dist/collection/components/mds-avatar-stack/documentation.json +1 -1
  145. package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.css +3 -3
  146. package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
  147. package/dist/collection/components/mds-avatar-stack-item/documentation.json +1 -1
  148. package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.css +6 -6
  149. package/dist/collection/components/mds-badge/AGENTS.md +1 -1
  150. package/dist/collection/components/mds-badge/documentation.json +1 -1
  151. package/dist/collection/components/mds-badge/mds-badge.css +13 -13
  152. package/dist/collection/components/mds-banner/AGENTS.md +1 -1
  153. package/dist/collection/components/mds-banner/documentation.json +1 -1
  154. package/dist/collection/components/mds-banner/mds-banner.css +56 -56
  155. package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
  156. package/dist/collection/components/mds-benchmark-bar/documentation.json +1 -1
  157. package/dist/collection/components/mds-bibliography/AGENTS.md +1 -1
  158. package/dist/collection/components/mds-bibliography/documentation.json +2 -2
  159. package/dist/collection/components/mds-bibliography/mds-bibliography.css +8 -6
  160. package/dist/collection/components/mds-breadcrumb/AGENTS.md +1 -1
  161. package/dist/collection/components/mds-breadcrumb/documentation.json +1 -1
  162. package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.css +6 -6
  163. package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +1 -1
  164. package/dist/collection/components/mds-breadcrumb-item/documentation.json +1 -1
  165. package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.css +14 -13
  166. package/dist/collection/components/mds-button/AGENTS.md +2 -2
  167. package/dist/collection/components/mds-button/antipattern.md +1 -1
  168. package/dist/collection/components/mds-button/documentation.json +4 -4
  169. package/dist/collection/components/mds-button/mds-button.css +226 -417
  170. package/dist/collection/components/mds-button/mds-button.js +47 -18
  171. package/dist/collection/components/mds-button/pattern.md +7 -0
  172. package/dist/collection/components/mds-button-dropdown/AGENTS.md +2 -2
  173. package/dist/collection/components/mds-button-dropdown/documentation.json +2 -2
  174. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.css +10 -10
  175. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +12 -1
  176. package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
  177. package/dist/collection/components/mds-button-group/documentation.json +1 -1
  178. package/dist/collection/components/mds-button-group/mds-button-group.js +1 -1
  179. package/dist/collection/components/mds-calendar/AGENTS.md +2 -2
  180. package/dist/collection/components/mds-calendar/documentation.json +2 -2
  181. package/dist/collection/components/mds-calendar/mds-calendar.css +5 -5
  182. package/dist/collection/components/mds-calendar/mds-calendar.js +17 -4
  183. package/dist/collection/components/mds-calendar-cell/AGENTS.md +1 -1
  184. package/dist/collection/components/mds-calendar-cell/documentation.json +1 -1
  185. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.css +58 -58
  186. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +1 -1
  187. package/dist/collection/components/mds-card/AGENTS.md +1 -1
  188. package/dist/collection/components/mds-card/documentation.json +1 -1
  189. package/dist/collection/components/mds-card/mds-card.css +2 -2
  190. package/dist/collection/components/mds-card/mds-card.js +1 -1
  191. package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
  192. package/dist/collection/components/mds-card-content/documentation.json +1 -1
  193. package/dist/collection/components/mds-card-content/mds-card-content.js +1 -1
  194. package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
  195. package/dist/collection/components/mds-card-footer/documentation.json +1 -1
  196. package/dist/collection/components/mds-card-footer/mds-card-footer.js +1 -1
  197. package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
  198. package/dist/collection/components/mds-card-header/documentation.json +1 -1
  199. package/dist/collection/components/mds-card-header/mds-card-header.js +1 -1
  200. package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
  201. package/dist/collection/components/mds-card-media/documentation.json +1 -1
  202. package/dist/collection/components/mds-card-media/mds-card-media.js +1 -1
  203. package/dist/collection/components/mds-chip/AGENTS.md +1 -1
  204. package/dist/collection/components/mds-chip/documentation.json +1 -1
  205. package/dist/collection/components/mds-chip/mds-chip.css +90 -90
  206. package/dist/collection/components/mds-chip/mds-chip.js +2 -2
  207. package/dist/collection/components/mds-details/AGENTS.md +1 -1
  208. package/dist/collection/components/mds-details/documentation.json +1 -1
  209. package/dist/collection/components/mds-details/mds-details.css +6 -6
  210. package/dist/collection/components/mds-details/mds-details.js +1 -1
  211. package/dist/collection/components/mds-dropdown/AGENTS.md +1 -1
  212. package/dist/collection/components/mds-dropdown/documentation.json +2 -2
  213. package/dist/collection/components/mds-dropdown/mds-dropdown.css +26 -26
  214. package/dist/collection/components/mds-dropdown/mds-dropdown.js +2 -2
  215. package/dist/collection/components/mds-emoji/AGENTS.md +2 -2
  216. package/dist/collection/components/mds-emoji/documentation.json +3 -3
  217. package/dist/collection/components/mds-emoji/mds-emoji.css +5 -5
  218. package/dist/collection/components/mds-emoji/mds-emoji.js +1 -1
  219. package/dist/collection/components/mds-entity/AGENTS.md +1 -1
  220. package/dist/collection/components/mds-entity/documentation.json +1 -1
  221. package/dist/collection/components/mds-entity/mds-entity.css +8 -8
  222. package/dist/collection/components/mds-entity/mds-entity.js +1 -1
  223. package/dist/collection/components/mds-file/AGENTS.md +2 -2
  224. package/dist/collection/components/mds-file/documentation.json +3 -3
  225. package/dist/collection/components/mds-file/mds-file.css +13 -13
  226. package/dist/collection/components/mds-file/mds-file.js +15 -9
  227. package/dist/collection/components/mds-file/pattern.md +1 -1
  228. package/dist/collection/components/mds-file-preview/AGENTS.md +1 -1
  229. package/dist/collection/components/mds-file-preview/documentation.json +1 -1
  230. package/dist/collection/components/mds-file-preview/mds-file-preview.css +21 -21
  231. package/dist/collection/components/mds-file-preview/mds-file-preview.js +2 -2
  232. package/dist/collection/components/mds-filter/AGENTS.md +5 -3
  233. package/dist/collection/components/mds-filter/documentation.json +3 -3
  234. package/dist/collection/components/mds-filter/mds-filter.css +16 -16
  235. package/dist/collection/components/mds-filter/mds-filter.js +97 -19
  236. package/dist/collection/components/mds-filter/pattern.md +34 -4
  237. package/dist/collection/components/mds-filter-item/AGENTS.md +9 -8
  238. package/dist/collection/components/mds-filter-item/documentation.json +4 -4
  239. package/dist/collection/components/mds-filter-item/mds-filter-item.css +27 -17
  240. package/dist/collection/components/mds-filter-item/mds-filter-item.js +65 -3
  241. package/dist/collection/components/mds-filter-item/pattern.md +5 -5
  242. package/dist/collection/components/mds-header/AGENTS.md +1 -1
  243. package/dist/collection/components/mds-header/documentation.json +1 -1
  244. package/dist/collection/components/mds-header/mds-header.css +21 -13
  245. package/dist/collection/components/mds-header/mds-header.js +1 -1
  246. package/dist/collection/components/mds-header-bar/AGENTS.md +2 -2
  247. package/dist/collection/components/mds-header-bar/documentation.json +2 -2
  248. package/dist/collection/components/mds-header-bar/mds-header-bar.css +5 -5
  249. package/dist/collection/components/mds-header-bar/mds-header-bar.js +12 -1
  250. package/dist/collection/components/mds-help/AGENTS.md +1 -1
  251. package/dist/collection/components/mds-help/documentation.json +2 -2
  252. package/dist/collection/components/mds-help/mds-help.css +1 -1
  253. package/dist/collection/components/mds-help/mds-help.js +1 -1
  254. package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +2 -2
  255. package/dist/collection/components/mds-horizontal-scroll/documentation.json +2 -2
  256. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.css +10 -10
  257. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +12 -1
  258. package/dist/collection/components/mds-hr/AGENTS.md +1 -1
  259. package/dist/collection/components/mds-hr/documentation.json +1 -1
  260. package/dist/collection/components/mds-hr/mds-hr.css +1 -1
  261. package/dist/collection/components/mds-hr/mds-hr.js +1 -1
  262. package/dist/collection/components/mds-icon/AGENTS.md +1 -1
  263. package/dist/collection/components/mds-icon/documentation.json +2 -2
  264. package/dist/collection/components/mds-icon/mds-icon.js +1 -1
  265. package/dist/collection/components/mds-img/AGENTS.md +1 -1
  266. package/dist/collection/components/mds-img/documentation.json +1 -1
  267. package/dist/collection/components/mds-img/mds-img.css +6 -6
  268. package/dist/collection/components/mds-input/AGENTS.md +3 -1
  269. package/dist/collection/components/mds-input/documentation.json +52 -4
  270. package/dist/collection/components/mds-input/mds-input.css +133 -62
  271. package/dist/collection/components/mds-input/mds-input.js +38 -2
  272. package/dist/collection/components/mds-input/pattern.md +15 -0
  273. package/dist/collection/components/mds-input-date/AGENTS.md +5 -2
  274. package/dist/collection/components/mds-input-date/documentation.json +50 -2
  275. package/dist/collection/components/mds-input-date/mds-input-date.css +52 -26
  276. package/dist/collection/components/mds-input-date/mds-input-date.js +46 -2
  277. package/dist/collection/components/mds-input-date-range/AGENTS.md +4 -2
  278. package/dist/collection/components/mds-input-date-range/documentation.json +50 -2
  279. package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +51 -25
  280. package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +34 -1
  281. package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +1 -1
  282. package/dist/collection/components/mds-input-date-range-preselection/documentation.json +1 -1
  283. package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.css +18 -18
  284. package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.js +1 -1
  285. package/dist/collection/components/mds-input-field/AGENTS.md +1 -1
  286. package/dist/collection/components/mds-input-field/documentation.json +1 -1
  287. package/dist/collection/components/mds-input-field/mds-input-field.css +7 -7
  288. package/dist/collection/components/mds-input-field/mds-input-field.js +1 -1
  289. package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
  290. package/dist/collection/components/mds-input-otp/documentation.json +1 -1
  291. package/dist/collection/components/mds-input-otp/mds-input-otp.js +1 -1
  292. package/dist/collection/components/mds-input-range/AGENTS.md +1 -1
  293. package/dist/collection/components/mds-input-range/documentation.json +1 -1
  294. package/dist/collection/components/mds-input-range/mds-input-range.css +13 -12
  295. package/dist/collection/components/mds-input-range/mds-input-range.js +1 -1
  296. package/dist/collection/components/mds-input-select/AGENTS.md +7 -4
  297. package/dist/collection/components/mds-input-select/documentation.json +58 -7
  298. package/dist/collection/components/mds-input-select/mds-input-select.css +103 -29
  299. package/dist/collection/components/mds-input-select/mds-input-select.js +61 -7
  300. package/dist/collection/components/mds-input-select/pattern.md +3 -3
  301. package/dist/collection/components/mds-input-switch/AGENTS.md +2 -2
  302. package/dist/collection/components/mds-input-switch/documentation.json +2 -2
  303. package/dist/collection/components/mds-input-switch/mds-input-switch.css +86 -65
  304. package/dist/collection/components/mds-input-switch/mds-input-switch.js +19 -6
  305. package/dist/collection/components/mds-input-tip/AGENTS.md +1 -1
  306. package/dist/collection/components/mds-input-tip/documentation.json +1 -1
  307. package/dist/collection/components/mds-input-tip/mds-input-tip.css +1 -1
  308. package/dist/collection/components/mds-input-tip/mds-input-tip.js +1 -1
  309. package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
  310. package/dist/collection/components/mds-input-tip-item/documentation.json +1 -1
  311. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.css +21 -20
  312. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +2 -2
  313. package/dist/collection/components/mds-input-upload/AGENTS.md +1 -1
  314. package/dist/collection/components/mds-input-upload/documentation.json +1 -1
  315. package/dist/collection/components/mds-input-upload/mds-input-upload.css +13 -12
  316. package/dist/collection/components/mds-input-upload/mds-input-upload.js +5 -5
  317. package/dist/collection/components/mds-keyboard/AGENTS.md +1 -1
  318. package/dist/collection/components/mds-keyboard/documentation.json +1 -1
  319. package/dist/collection/components/mds-keyboard/mds-keyboard.css +4 -3
  320. package/dist/collection/components/mds-keyboard/mds-keyboard.js +1 -1
  321. package/dist/collection/components/mds-keyboard-key/AGENTS.md +1 -1
  322. package/dist/collection/components/mds-keyboard-key/documentation.json +1 -1
  323. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.css +2 -1
  324. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -1
  325. package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
  326. package/dist/collection/components/mds-kpi/documentation.json +1 -1
  327. package/dist/collection/components/mds-kpi/mds-kpi.js +1 -1
  328. package/dist/collection/components/mds-kpi-item/AGENTS.md +1 -1
  329. package/dist/collection/components/mds-kpi-item/documentation.json +1 -1
  330. package/dist/collection/components/mds-kpi-item/mds-kpi-item.css +13 -13
  331. package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +1 -1
  332. package/dist/collection/components/mds-label/AGENTS.md +1 -1
  333. package/dist/collection/components/mds-label/documentation.json +1 -1
  334. package/dist/collection/components/mds-label/mds-label.css +12 -12
  335. package/dist/collection/components/mds-list/AGENTS.md +2 -2
  336. package/dist/collection/components/mds-list/documentation.json +2 -2
  337. package/dist/collection/components/mds-list/mds-list.js +1 -1
  338. package/dist/collection/components/mds-list-item/AGENTS.md +2 -1
  339. package/dist/collection/components/mds-list-item/documentation.json +3 -3
  340. package/dist/collection/components/mds-list-item/mds-list-item.css +0 -18
  341. package/dist/collection/components/mds-list-item/mds-list-item.js +1 -2
  342. package/dist/collection/components/mds-list-item/pattern.md +11 -0
  343. package/dist/collection/components/mds-mention/AGENTS.md +1 -1
  344. package/dist/collection/components/mds-mention/documentation.json +1 -1
  345. package/dist/collection/components/mds-mention/mds-mention.css +2 -2
  346. package/dist/collection/components/mds-mention/mds-mention.js +1 -1
  347. package/dist/collection/components/mds-modal/AGENTS.md +2 -2
  348. package/dist/collection/components/mds-modal/documentation.json +2 -2
  349. package/dist/collection/components/mds-modal/mds-modal.css +5 -5
  350. package/dist/collection/components/mds-modal/mds-modal.js +14 -3
  351. package/dist/collection/components/mds-note/AGENTS.md +1 -1
  352. package/dist/collection/components/mds-note/documentation.json +1 -1
  353. package/dist/collection/components/mds-note/mds-note.css +3 -3
  354. package/dist/collection/components/mds-note/mds-note.js +1 -1
  355. package/dist/collection/components/mds-notification/AGENTS.md +1 -1
  356. package/dist/collection/components/mds-notification/documentation.json +2 -2
  357. package/dist/collection/components/mds-notification/mds-notification.css +4 -4
  358. package/dist/collection/components/mds-notification/mds-notification.js +1 -1
  359. package/dist/collection/components/mds-paginator/AGENTS.md +1 -1
  360. package/dist/collection/components/mds-paginator/documentation.json +1 -1
  361. package/dist/collection/components/mds-paginator/mds-paginator.css +6 -6
  362. package/dist/collection/components/mds-paginator/mds-paginator.js +1 -1
  363. package/dist/collection/components/mds-paginator-item/AGENTS.md +1 -1
  364. package/dist/collection/components/mds-paginator-item/documentation.json +1 -1
  365. package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +31 -30
  366. package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +1 -1
  367. package/dist/collection/components/mds-policy-ai/AGENTS.md +1 -1
  368. package/dist/collection/components/mds-policy-ai/documentation.json +1 -1
  369. package/dist/collection/components/mds-policy-ai/mds-policy-ai.css +8 -8
  370. package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -1
  371. package/dist/collection/components/mds-pref/AGENTS.md +2 -2
  372. package/dist/collection/components/mds-pref/documentation.json +14 -3
  373. package/dist/collection/components/mds-pref/mds-pref.js +39 -53
  374. package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
  375. package/dist/collection/components/mds-pref-animation/documentation.json +1 -1
  376. package/dist/collection/components/mds-pref-animation/mds-pref-animation.css +7 -7
  377. package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +1 -1
  378. package/dist/collection/components/mds-pref-consumption/AGENTS.md +1 -1
  379. package/dist/collection/components/mds-pref-consumption/documentation.json +1 -1
  380. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.css +4 -4
  381. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +1 -1
  382. package/dist/collection/components/mds-pref-contrast/AGENTS.md +1 -1
  383. package/dist/collection/components/mds-pref-contrast/documentation.json +1 -1
  384. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.css +5 -5
  385. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +1 -1
  386. package/dist/collection/components/mds-pref-language/AGENTS.md +3 -3
  387. package/dist/collection/components/mds-pref-language/documentation.json +2 -2
  388. package/dist/collection/components/mds-pref-language/mds-pref-language.css +10 -2
  389. package/dist/collection/components/mds-pref-language/mds-pref-language.js +1 -1
  390. package/dist/collection/components/mds-pref-language-item/AGENTS.md +1 -1
  391. package/dist/collection/components/mds-pref-language-item/documentation.json +1 -1
  392. package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +1 -1
  393. package/dist/collection/components/mds-pref-mode/AGENTS.md +3 -3
  394. package/dist/collection/components/mds-pref-mode/documentation.json +2 -2
  395. package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +5 -5
  396. package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +2 -2
  397. package/dist/collection/components/mds-pref-theme/AGENTS.md +4 -3
  398. package/dist/collection/components/mds-pref-theme/documentation.json +2 -2
  399. package/dist/collection/components/mds-pref-theme/mds-pref-theme.css +10 -2
  400. package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +29 -2
  401. package/dist/collection/components/mds-pref-theme-item/AGENTS.md +1 -1
  402. package/dist/collection/components/mds-pref-theme-item/documentation.json +1 -1
  403. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.css +10 -9
  404. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +3 -2
  405. package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
  406. package/dist/collection/components/mds-price-table/documentation.json +1 -1
  407. package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
  408. package/dist/collection/components/mds-price-table-features/AGENTS.md +1 -1
  409. package/dist/collection/components/mds-price-table-features/documentation.json +1 -1
  410. package/dist/collection/components/mds-price-table-features/mds-price-table-features.css +2 -2
  411. package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
  412. package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +1 -1
  413. package/dist/collection/components/mds-price-table-features-cell/documentation.json +1 -1
  414. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.css +11 -11
  415. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +1 -1
  416. package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
  417. package/dist/collection/components/mds-price-table-features-row/documentation.json +1 -1
  418. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.css +12 -12
  419. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
  420. package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
  421. package/dist/collection/components/mds-price-table-header/documentation.json +1 -1
  422. package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
  423. package/dist/collection/components/mds-price-table-list/AGENTS.md +1 -1
  424. package/dist/collection/components/mds-price-table-list/documentation.json +1 -1
  425. package/dist/collection/components/mds-price-table-list/mds-price-table-list.css +8 -8
  426. package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +1 -1
  427. package/dist/collection/components/mds-price-table-list-item/AGENTS.md +1 -1
  428. package/dist/collection/components/mds-price-table-list-item/documentation.json +1 -1
  429. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.css +2 -2
  430. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
  431. package/dist/collection/components/mds-progress/AGENTS.md +1 -1
  432. package/dist/collection/components/mds-progress/documentation.json +1 -1
  433. package/dist/collection/components/mds-progress/mds-progress.css +20 -20
  434. package/dist/collection/components/mds-progress/mds-progress.js +1 -1
  435. package/dist/collection/components/mds-push-notification/AGENTS.md +1 -1
  436. package/dist/collection/components/mds-push-notification/documentation.json +1 -1
  437. package/dist/collection/components/mds-push-notification/mds-push-notification.js +1 -1
  438. package/dist/collection/components/mds-push-notification-item/AGENTS.md +1 -1
  439. package/dist/collection/components/mds-push-notification-item/documentation.json +1 -1
  440. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +16 -16
  441. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +2 -2
  442. package/dist/collection/components/mds-quote/AGENTS.md +1 -1
  443. package/dist/collection/components/mds-quote/documentation.json +1 -1
  444. package/dist/collection/components/mds-quote/mds-quote.css +6 -4
  445. package/dist/collection/components/mds-quote/mds-quote.js +1 -1
  446. package/dist/collection/components/mds-radial-menu/AGENTS.md +2 -2
  447. package/dist/collection/components/mds-radial-menu/documentation.json +2 -2
  448. package/dist/collection/components/mds-radial-menu/mds-radial-menu.css +5 -3
  449. package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +12 -1
  450. package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
  451. package/dist/collection/components/mds-radial-menu-item/documentation.json +1 -1
  452. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
  453. package/dist/collection/components/mds-radial-progress/AGENTS.md +1 -1
  454. package/dist/collection/components/mds-radial-progress/documentation.json +1 -1
  455. package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +15 -15
  456. package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
  457. package/dist/collection/components/mds-separator/AGENTS.md +1 -1
  458. package/dist/collection/components/mds-separator/documentation.json +1 -1
  459. package/dist/collection/components/mds-separator/mds-separator.css +2 -2
  460. package/dist/collection/components/mds-separator/mds-separator.js +1 -1
  461. package/dist/collection/components/mds-spinner/AGENTS.md +1 -1
  462. package/dist/collection/components/mds-spinner/documentation.json +1 -1
  463. package/dist/collection/components/mds-spinner/mds-spinner.css +3 -3
  464. package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
  465. package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
  466. package/dist/collection/components/mds-status-bar/documentation.json +1 -1
  467. package/dist/collection/components/mds-status-bar/mds-status-bar.css +7 -6
  468. package/dist/collection/components/mds-status-bar/mds-status-bar.js +1 -1
  469. package/dist/collection/components/mds-stepper-bar/AGENTS.md +1 -1
  470. package/dist/collection/components/mds-stepper-bar/documentation.json +1 -1
  471. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.css +6 -6
  472. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +1 -1
  473. package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +1 -1
  474. package/dist/collection/components/mds-stepper-bar-item/documentation.json +1 -1
  475. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +15 -15
  476. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +1 -1
  477. package/dist/collection/components/mds-tab/AGENTS.md +2 -2
  478. package/dist/collection/components/mds-tab/documentation.json +2 -2
  479. package/dist/collection/components/mds-tab/mds-tab.css +51 -23
  480. package/dist/collection/components/mds-tab/mds-tab.js +18 -4
  481. package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
  482. package/dist/collection/components/mds-tab-bar/documentation.json +1 -1
  483. package/dist/collection/components/mds-tab-bar/mds-tab-bar.css +1 -1
  484. package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +1 -1
  485. package/dist/collection/components/mds-tab-bar-item/AGENTS.md +1 -1
  486. package/dist/collection/components/mds-tab-bar-item/documentation.json +1 -1
  487. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +14 -14
  488. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +1 -1
  489. package/dist/collection/components/mds-tab-item/AGENTS.md +1 -1
  490. package/dist/collection/components/mds-tab-item/documentation.json +1 -1
  491. package/dist/collection/components/mds-tab-item/mds-tab-item.css +2 -2
  492. package/dist/collection/components/mds-tab-item/mds-tab-item.js +1 -1
  493. package/dist/collection/components/mds-table/AGENTS.md +4 -2
  494. package/dist/collection/components/mds-table/documentation.json +48 -4
  495. package/dist/collection/components/mds-table/mds-table.css +33 -22
  496. package/dist/collection/components/mds-table/mds-table.js +35 -1
  497. package/dist/collection/components/mds-table/pattern.md +30 -0
  498. package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
  499. package/dist/collection/components/mds-table-body/documentation.json +1 -1
  500. package/dist/collection/components/mds-table-body/mds-table-body.css +8 -8
  501. package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
  502. package/dist/collection/components/mds-table-cell/AGENTS.md +1 -1
  503. package/dist/collection/components/mds-table-cell/documentation.json +1 -1
  504. package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
  505. package/dist/collection/components/mds-table-footer/AGENTS.md +1 -1
  506. package/dist/collection/components/mds-table-footer/documentation.json +1 -1
  507. package/dist/collection/components/mds-table-footer/mds-table-footer.js +1 -1
  508. package/dist/collection/components/mds-table-header/AGENTS.md +1 -1
  509. package/dist/collection/components/mds-table-header/documentation.json +1 -1
  510. package/dist/collection/components/mds-table-header/mds-table-header.js +1 -1
  511. package/dist/collection/components/mds-table-header-cell/AGENTS.md +14 -5
  512. package/dist/collection/components/mds-table-header-cell/antipattern.md +17 -10
  513. package/dist/collection/components/mds-table-header-cell/documentation.json +54 -6
  514. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +159 -82
  515. package/dist/collection/components/mds-table-header-cell/meta/event-detail.js +1 -0
  516. package/dist/collection/components/mds-table-header-cell/pattern.md +27 -6
  517. package/dist/collection/components/mds-table-row/AGENTS.md +1 -1
  518. package/dist/collection/components/mds-table-row/documentation.json +1 -1
  519. package/dist/collection/components/mds-table-row/mds-table-row.css +12 -12
  520. package/dist/collection/components/mds-table-row/mds-table-row.js +2 -2
  521. package/dist/collection/components/mds-text/AGENTS.md +3 -3
  522. package/dist/collection/components/mds-text/documentation.json +2 -2
  523. package/dist/collection/components/mds-text/mds-text.css +3 -3
  524. package/dist/collection/components/mds-text/mds-text.js +31 -26
  525. package/dist/collection/components/mds-toast/AGENTS.md +1 -1
  526. package/dist/collection/components/mds-toast/documentation.json +1 -1
  527. package/dist/collection/components/mds-toast/mds-toast.css +18 -18
  528. package/dist/collection/components/mds-toast/mds-toast.js +1 -1
  529. package/dist/collection/components/mds-tooltip/AGENTS.md +4 -2
  530. package/dist/collection/components/mds-tooltip/antipattern.md +14 -0
  531. package/dist/collection/components/mds-tooltip/documentation.json +46 -5
  532. package/dist/collection/components/mds-tooltip/mds-tooltip.css +10 -10
  533. package/dist/collection/components/mds-tooltip/mds-tooltip.js +41 -1
  534. package/dist/collection/components/mds-tooltip/pattern.md +9 -0
  535. package/dist/collection/components/mds-tree/AGENTS.md +1 -1
  536. package/dist/collection/components/mds-tree/documentation.json +1 -1
  537. package/dist/collection/components/mds-tree/mds-tree.css +13 -13
  538. package/dist/collection/components/mds-tree/mds-tree.js +1 -1
  539. package/dist/collection/components/mds-tree-item/AGENTS.md +1 -1
  540. package/dist/collection/components/mds-tree-item/documentation.json +1 -1
  541. package/dist/collection/components/mds-tree-item/mds-tree-item.js +1 -1
  542. package/dist/collection/components/mds-url-view/AGENTS.md +1 -1
  543. package/dist/collection/components/mds-url-view/documentation.json +1 -1
  544. package/dist/collection/components/mds-url-view/mds-url-view.css +7 -7
  545. package/dist/collection/components/mds-url-view/mds-url-view.js +1 -1
  546. package/dist/collection/components/mds-usage/AGENTS.md +5 -3
  547. package/dist/collection/components/mds-usage/antipattern.md +17 -1
  548. package/dist/collection/components/mds-usage/documentation.json +31 -5
  549. package/dist/collection/components/mds-usage/mds-usage.css +6 -6
  550. package/dist/collection/components/mds-usage/mds-usage.js +26 -4
  551. package/dist/collection/components/mds-usage/meta/variants.js +14 -18
  552. package/dist/collection/components/mds-usage/pattern.md +10 -0
  553. package/dist/collection/components/mds-video-wall/AGENTS.md +1 -1
  554. package/dist/collection/components/mds-video-wall/documentation.json +1 -1
  555. package/dist/collection/components/mds-video-wall/mds-video-wall.css +3 -3
  556. package/dist/collection/components/mds-video-wall/mds-video-wall.js +1 -1
  557. package/dist/collection/components/mds-zero/AGENTS.md +1 -1
  558. package/dist/collection/components/mds-zero/documentation.json +1 -1
  559. package/dist/collection/components/mds-zero/mds-zero.css +3 -3
  560. package/dist/collection/components/mds-zero/mds-zero.js +1 -1
  561. package/dist/collection/type/floating-ui.js +1 -0
  562. package/dist/collection/type/input.js +2 -0
  563. package/dist/components/index.js +1 -1
  564. package/dist/components/mds-accordion-item.js +1 -1
  565. package/dist/components/mds-accordion-timer-item.js +1 -1
  566. package/dist/components/mds-accordion-timer.js +1 -1
  567. package/dist/components/mds-accordion.js +1 -1
  568. package/dist/components/mds-avatar-stack-item.js +1 -1
  569. package/dist/components/mds-avatar-stack.js +1 -1
  570. package/dist/components/mds-avatar.js +1 -1
  571. package/dist/components/mds-badge.js +1 -1
  572. package/dist/components/mds-banner.js +1 -1
  573. package/dist/components/mds-benchmark-bar.js +1 -1
  574. package/dist/components/mds-bibliography.js +1 -1
  575. package/dist/components/mds-breadcrumb-item.js +1 -1
  576. package/dist/components/mds-breadcrumb.js +1 -1
  577. package/dist/components/mds-button-dropdown.js +1 -1
  578. package/dist/components/mds-button-group.js +1 -1
  579. package/dist/components/mds-button.js +1 -1
  580. package/dist/components/mds-calendar-cell.js +1 -1
  581. package/dist/components/mds-calendar.js +1 -1
  582. package/dist/components/mds-card-content.js +1 -1
  583. package/dist/components/mds-card-footer.js +1 -1
  584. package/dist/components/mds-card-header.js +1 -1
  585. package/dist/components/mds-card-media.js +1 -1
  586. package/dist/components/mds-card.js +1 -1
  587. package/dist/components/mds-chip.js +1 -1
  588. package/dist/components/mds-details.js +1 -1
  589. package/dist/components/mds-dropdown.js +1 -1
  590. package/dist/components/mds-emoji.js +2 -2
  591. package/dist/components/mds-entity.js +1 -1
  592. package/dist/components/mds-file-preview.js +1 -1
  593. package/dist/components/mds-file.js +1 -18
  594. package/dist/components/mds-filter-item.js +1 -1
  595. package/dist/components/mds-filter.js +1 -1
  596. package/dist/components/mds-header-bar.js +1 -1
  597. package/dist/components/mds-header.js +1 -1
  598. package/dist/components/mds-help.js +1 -1
  599. package/dist/components/mds-horizontal-scroll.js +1 -1
  600. package/dist/components/mds-hr.js +1 -1
  601. package/dist/components/mds-icon.js +1 -1
  602. package/dist/components/mds-img.js +1 -1
  603. package/dist/components/mds-input-date-range-preselection.js +1 -1
  604. package/dist/components/mds-input-date-range.js +1 -1
  605. package/dist/components/mds-input-date.js +1 -1
  606. package/dist/components/mds-input-field.js +1 -1
  607. package/dist/components/mds-input-otp.js +1 -1
  608. package/dist/components/mds-input-range.js +1 -1
  609. package/dist/components/mds-input-select.js +1 -1
  610. package/dist/components/mds-input-switch.js +1 -1
  611. package/dist/components/mds-input-tip-item.js +1 -1
  612. package/dist/components/mds-input-tip.js +1 -1
  613. package/dist/components/mds-input-upload.js +1 -1
  614. package/dist/components/mds-input.js +1 -1
  615. package/dist/components/mds-keyboard-key.js +1 -1
  616. package/dist/components/mds-keyboard.js +1 -1
  617. package/dist/components/mds-kpi-item.js +1 -1
  618. package/dist/components/mds-kpi.js +1 -1
  619. package/dist/components/mds-label.js +1 -1
  620. package/dist/components/mds-list-item.js +1 -1
  621. package/dist/components/mds-list.js +1 -1
  622. package/dist/components/mds-mention.js +1 -1
  623. package/dist/components/mds-modal.js +1 -1
  624. package/dist/components/mds-note.js +1 -1
  625. package/dist/components/mds-notification.js +1 -1
  626. package/dist/components/mds-paginator-item.js +1 -1
  627. package/dist/components/mds-paginator.js +1 -1
  628. package/dist/components/mds-policy-ai.js +1 -1
  629. package/dist/components/mds-pref-animation.js +1 -1
  630. package/dist/components/mds-pref-consumption.js +1 -1
  631. package/dist/components/mds-pref-contrast.js +1 -1
  632. package/dist/components/mds-pref-language-item.js +1 -1
  633. package/dist/components/mds-pref-language.js +1 -1
  634. package/dist/components/mds-pref-mode.js +1 -1
  635. package/dist/components/mds-pref-theme-item.js +1 -1
  636. package/dist/components/mds-pref-theme.js +1 -1
  637. package/dist/components/mds-pref.js +1 -1
  638. package/dist/components/mds-price-table-features-cell.js +1 -1
  639. package/dist/components/mds-price-table-features-row.js +1 -1
  640. package/dist/components/mds-price-table-features.js +1 -1
  641. package/dist/components/mds-price-table-header.js +1 -1
  642. package/dist/components/mds-price-table-list-item.js +1 -1
  643. package/dist/components/mds-price-table-list.js +1 -1
  644. package/dist/components/mds-price-table.js +1 -1
  645. package/dist/components/mds-progress.js +1 -1
  646. package/dist/components/mds-push-notification-item.js +1 -1
  647. package/dist/components/mds-push-notification.js +1 -1
  648. package/dist/components/mds-quote.js +1 -1
  649. package/dist/components/mds-radial-menu-item.js +1 -1
  650. package/dist/components/mds-radial-menu.js +1 -1
  651. package/dist/components/mds-radial-progress.js +1 -1
  652. package/dist/components/mds-separator.js +1 -1
  653. package/dist/components/mds-spinner.js +1 -1
  654. package/dist/components/mds-status-bar.js +1 -1
  655. package/dist/components/mds-stepper-bar-item.js +1 -1
  656. package/dist/components/mds-stepper-bar.js +1 -1
  657. package/dist/components/mds-tab-bar-item.js +1 -1
  658. package/dist/components/mds-tab-bar.js +1 -1
  659. package/dist/components/mds-tab-item.js +1 -1
  660. package/dist/components/mds-tab.js +1 -1
  661. package/dist/components/mds-table-body.js +1 -1
  662. package/dist/components/mds-table-cell.js +1 -1
  663. package/dist/components/mds-table-footer.js +1 -1
  664. package/dist/components/mds-table-header-cell.js +1 -1
  665. package/dist/components/mds-table-header.js +1 -1
  666. package/dist/components/mds-table-row.js +1 -1
  667. package/dist/components/mds-table.js +1 -1
  668. package/dist/components/mds-text.js +1 -1
  669. package/dist/components/mds-toast.js +1 -1
  670. package/dist/components/mds-tooltip.js +1 -1
  671. package/dist/components/mds-tree-item.js +1 -1
  672. package/dist/components/mds-tree.js +1 -1
  673. package/dist/components/mds-url-view.js +1 -1
  674. package/dist/components/mds-usage.js +1 -1
  675. package/dist/components/mds-video-wall.js +1 -1
  676. package/dist/components/mds-zero.js +1 -1
  677. package/dist/components/p--5KZXaZp.js +1 -0
  678. package/dist/components/p--OCrgFeE.js +1 -0
  679. package/dist/components/p-6LGfUDQ4.js +1 -0
  680. package/dist/components/p-6pgPWpGI.js +1 -0
  681. package/dist/components/p-B8BWxSho.js +1 -0
  682. package/dist/components/p-B9uIL9KO.js +1 -0
  683. package/dist/components/p-BBDliSai.js +1 -0
  684. package/dist/components/p-BCwcnHFh.js +1 -0
  685. package/dist/components/p-BRf-u585.js +1 -0
  686. package/dist/components/p-BSeokAdy.js +1 -0
  687. package/dist/components/p-BXUJgu8l.js +1 -0
  688. package/dist/components/p-BXYUyw7p.js +1 -0
  689. package/dist/components/{p-s2Gu6hY7.js → p-BcUY-9n7.js} +1 -1
  690. package/dist/components/p-BfgJ-hHQ.js +1 -0
  691. package/dist/components/p-CIfGjW_Z.js +1 -0
  692. package/dist/components/p-CMp9rP7L.js +1 -0
  693. package/dist/components/p-CUmJoPAI.js +1 -0
  694. package/dist/components/p-CZjHixVB.js +1 -0
  695. package/dist/components/p-Ck0q_n7I.js +1 -0
  696. package/dist/components/p-CrCa_6a1.js +8 -0
  697. package/dist/components/p-Cv7lqHIc.js +1 -0
  698. package/dist/components/p-Cw6_ooFx.js +1 -0
  699. package/dist/components/p-DGYRngAi.js +1 -0
  700. package/dist/components/p-DHu8X7zF.js +1 -0
  701. package/dist/components/{p-C7EyV0z3.js → p-DLCcW1Q5.js} +1 -1
  702. package/dist/components/p-DOzcuSrZ.js +1 -0
  703. package/dist/components/{p-BHJDW5JC.js → p-DZPHWQtD.js} +1 -1
  704. package/dist/components/p-DlRjt7nE.js +1 -0
  705. package/dist/components/{p-Bv2IVRzI.js → p-DmPLOktp.js} +1 -1
  706. package/dist/components/p-HSM_x8fD.js +1 -0
  707. package/dist/components/p-JMPfVnGv.js +1 -0
  708. package/dist/components/p-ay5NzZ_x.js +1 -0
  709. package/dist/components/p-lNY_3s6S.js +1 -0
  710. package/dist/components/p-qYRtWYC8.js +1 -0
  711. package/dist/documentation.json +460 -75
  712. package/dist/esm/_commonjsHelpers-B85MJLTf.js +5 -0
  713. package/dist/esm/{floating-controller-BTYkH_Ih.js → floating-controller-D5-8D9mH.js} +18 -4
  714. package/dist/esm/{floating-ui.dom-CHAGzQT-.js → floating-ui.dom-JMPfVnGv.js} +146 -94
  715. package/dist/esm/icon-pNJmnrhq.js +16 -0
  716. package/dist/esm/index-BxPbQB28.js +40 -40
  717. package/dist/esm/loader.js +1 -1
  718. package/dist/esm/magma-components.js +1 -1
  719. package/dist/esm/mds-accordion-item.entry.js +1 -1
  720. package/dist/esm/mds-accordion-timer-item.entry.js +1 -1
  721. package/dist/esm/mds-accordion-timer.entry.js +1 -1
  722. package/dist/esm/mds-accordion.entry.js +1 -1
  723. package/dist/esm/mds-avatar-stack-item.entry.js +1 -1
  724. package/dist/esm/mds-avatar-stack.entry.js +1 -1
  725. package/dist/esm/mds-avatar.entry.js +2 -2
  726. package/dist/esm/mds-badge.entry.js +1 -1
  727. package/dist/esm/mds-banner_3.entry.js +6 -6
  728. package/dist/esm/mds-bibliography.entry.js +1 -1
  729. package/dist/esm/mds-breadcrumb-item.entry.js +1 -1
  730. package/dist/esm/mds-breadcrumb.entry.js +1 -1
  731. package/dist/esm/mds-button-dropdown.entry.js +30 -2
  732. package/dist/esm/mds-button-group.entry.js +1 -1
  733. package/dist/esm/mds-button_3.entry.js +52 -37
  734. package/dist/esm/mds-calendar_2.entry.js +60 -7
  735. package/dist/esm/mds-card-content.entry.js +1 -1
  736. package/dist/esm/mds-card-footer.entry.js +1 -1
  737. package/dist/esm/mds-card-header.entry.js +1 -1
  738. package/dist/esm/mds-card-media.entry.js +2 -2
  739. package/dist/esm/mds-card.entry.js +2 -2
  740. package/dist/esm/mds-details.entry.js +2 -2
  741. package/dist/esm/mds-dropdown.entry.js +5 -5
  742. package/dist/esm/mds-emoji.entry.js +2 -2
  743. package/dist/esm/mds-entity.entry.js +2 -2
  744. package/dist/esm/mds-file-preview.entry.js +3 -3
  745. package/dist/esm/mds-file.entry.js +30 -7521
  746. package/dist/esm/mds-filter-item.entry.js +89 -3
  747. package/dist/esm/mds-filter.entry.js +114 -20
  748. package/dist/esm/mds-header-bar.entry.js +29 -2
  749. package/dist/esm/mds-header.entry.js +2 -2
  750. package/dist/esm/mds-horizontal-scroll.entry.js +38 -2
  751. package/dist/esm/mds-hr.entry.js +2 -2
  752. package/dist/esm/mds-img.entry.js +1 -1
  753. package/dist/esm/mds-input-date-range-preselection.entry.js +2 -2
  754. package/dist/esm/mds-input-date-range.entry.js +16 -2
  755. package/dist/esm/mds-input-date.entry.js +36 -4
  756. package/dist/esm/mds-input-field.entry.js +2 -2
  757. package/dist/esm/mds-input-otp.entry.js +1 -1
  758. package/dist/esm/mds-input-range.entry.js +2 -2
  759. package/dist/esm/mds-input-select.entry.js +32 -5
  760. package/dist/esm/mds-input-switch_2.entry.js +21 -8
  761. package/dist/esm/mds-input-tip_2.entry.js +5 -5
  762. package/dist/esm/mds-input-upload.entry.js +6 -6
  763. package/dist/esm/mds-input.entry.js +12 -3
  764. package/dist/esm/mds-keyboard-key.entry.js +2 -2
  765. package/dist/esm/mds-keyboard.entry.js +2 -2
  766. package/dist/esm/mds-kpi-item.entry.js +2 -2
  767. package/dist/esm/mds-kpi.entry.js +1 -1
  768. package/dist/esm/mds-label.entry.js +1 -1
  769. package/dist/esm/mds-list-item.entry.js +2 -3
  770. package/dist/esm/mds-list.entry.js +1 -1
  771. package/dist/esm/mds-mention.entry.js +2 -2
  772. package/dist/esm/mds-modal.entry.js +31 -4
  773. package/dist/esm/mds-note.entry.js +2 -2
  774. package/dist/esm/mds-notification.entry.js +3 -3
  775. package/dist/esm/mds-paginator-item.entry.js +2 -2
  776. package/dist/esm/mds-paginator.entry.js +2 -2
  777. package/dist/esm/mds-policy-ai.entry.js +2 -2
  778. package/dist/esm/mds-pref-animation.entry.js +2 -2
  779. package/dist/esm/mds-pref-consumption.entry.js +2 -2
  780. package/dist/esm/mds-pref-contrast.entry.js +2 -2
  781. package/dist/esm/mds-pref-language-item.entry.js +1 -1
  782. package/dist/esm/mds-pref-language.entry.js +2 -2
  783. package/dist/esm/mds-pref-mode.entry.js +3 -3
  784. package/dist/esm/mds-pref-theme-item.entry.js +4 -3
  785. package/dist/esm/mds-pref-theme.entry.js +30 -3
  786. package/dist/esm/mds-pref.entry.js +24 -53
  787. package/dist/esm/mds-price-table-features-cell.entry.js +2 -2
  788. package/dist/esm/mds-price-table-features-row.entry.js +2 -2
  789. package/dist/esm/mds-price-table-features.entry.js +2 -2
  790. package/dist/esm/mds-price-table-header.entry.js +1 -1
  791. package/dist/esm/mds-price-table-list-item.entry.js +2 -2
  792. package/dist/esm/mds-price-table-list.entry.js +2 -2
  793. package/dist/esm/mds-price-table.entry.js +1 -1
  794. package/dist/esm/mds-progress_2.entry.js +4 -4
  795. package/dist/esm/mds-push-notification-item.entry.js +4 -4
  796. package/dist/esm/mds-push-notification.entry.js +2 -2
  797. package/dist/esm/mds-quote.entry.js +2 -2
  798. package/dist/esm/mds-radial-menu-item.entry.js +2 -2
  799. package/dist/esm/mds-radial-menu.entry.js +40 -4
  800. package/dist/esm/mds-separator.entry.js +2 -2
  801. package/dist/esm/mds-status-bar.entry.js +2 -2
  802. package/dist/esm/mds-stepper-bar-item.entry.js +2 -2
  803. package/dist/esm/mds-stepper-bar.entry.js +2 -2
  804. package/dist/esm/mds-tab-bar-item.entry.js +2 -2
  805. package/dist/esm/mds-tab-bar.entry.js +2 -2
  806. package/dist/esm/mds-tab_2.entry.js +20 -7
  807. package/dist/esm/mds-table-body.entry.js +2 -2
  808. package/dist/esm/mds-table-footer.entry.js +2 -2
  809. package/dist/esm/mds-table-header-cell.entry.js +117 -78
  810. package/dist/esm/mds-table-header.entry.js +2 -2
  811. package/dist/esm/mds-table-row.entry.js +3 -3
  812. package/dist/esm/mds-table.entry.js +9 -2
  813. package/dist/esm/mds-text.entry.js +37 -27
  814. package/dist/esm/mds-toast.entry.js +2 -2
  815. package/dist/esm/mds-tooltip.entry.js +17 -4
  816. package/dist/esm/mds-tree-item.entry.js +2 -2
  817. package/dist/esm/mds-tree.entry.js +2 -2
  818. package/dist/esm/mds-url-view.entry.js +2 -2
  819. package/dist/esm/mds-usage.entry.js +23 -4
  820. package/dist/esm/mds-video-wall.entry.js +2 -2
  821. package/dist/esm/mds-zero.entry.js +2 -2
  822. package/dist/esm/string-6pgPWpGI.js +5 -0
  823. package/dist/esm-es5/_commonjsHelpers-B85MJLTf.js +1 -0
  824. package/dist/esm-es5/{floating-controller-BTYkH_Ih.js → floating-controller-D5-8D9mH.js} +11 -5
  825. package/dist/esm-es5/{floating-ui.dom-CHAGzQT-.js → floating-ui.dom-JMPfVnGv.js} +80 -48
  826. package/dist/esm-es5/icon-pNJmnrhq.js +1 -0
  827. package/dist/esm-es5/index-BxPbQB28.js +36 -36
  828. package/dist/esm-es5/loader.js +1 -1
  829. package/dist/esm-es5/magma-components.js +1 -1
  830. package/dist/esm-es5/mds-accordion-item.entry.js +1 -1
  831. package/dist/esm-es5/mds-accordion-timer-item.entry.js +2 -2
  832. package/dist/esm-es5/mds-accordion-timer.entry.js +2 -2
  833. package/dist/esm-es5/mds-accordion.entry.js +2 -2
  834. package/dist/esm-es5/mds-avatar-stack-item.entry.js +1 -1
  835. package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
  836. package/dist/esm-es5/mds-avatar.entry.js +2 -2
  837. package/dist/esm-es5/mds-badge.entry.js +1 -1
  838. package/dist/esm-es5/mds-banner_3.entry.js +5 -5
  839. package/dist/esm-es5/mds-bibliography.entry.js +2 -2
  840. package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
  841. package/dist/esm-es5/mds-breadcrumb.entry.js +2 -2
  842. package/dist/esm-es5/mds-button-dropdown.entry.js +3 -3
  843. package/dist/esm-es5/mds-button-group.entry.js +1 -1
  844. package/dist/esm-es5/mds-button_3.entry.js +30 -9
  845. package/dist/esm-es5/mds-calendar_2.entry.js +9 -7
  846. package/dist/esm-es5/mds-card-content.entry.js +1 -1
  847. package/dist/esm-es5/mds-card-footer.entry.js +1 -1
  848. package/dist/esm-es5/mds-card-header.entry.js +1 -1
  849. package/dist/esm-es5/mds-card-media.entry.js +1 -1
  850. package/dist/esm-es5/mds-card.entry.js +5 -5
  851. package/dist/esm-es5/mds-details.entry.js +2 -2
  852. package/dist/esm-es5/mds-dropdown.entry.js +16 -16
  853. package/dist/esm-es5/mds-emoji.entry.js +19 -19
  854. package/dist/esm-es5/mds-entity.entry.js +1 -1
  855. package/dist/esm-es5/mds-file-preview.entry.js +7 -7
  856. package/dist/esm-es5/mds-file.entry.js +15 -2835
  857. package/dist/esm-es5/mds-filter-item.entry.js +16 -1
  858. package/dist/esm-es5/mds-filter.entry.js +18 -2
  859. package/dist/esm-es5/mds-header-bar.entry.js +3 -3
  860. package/dist/esm-es5/mds-header.entry.js +7 -7
  861. package/dist/esm-es5/mds-horizontal-scroll.entry.js +13 -13
  862. package/dist/esm-es5/mds-hr.entry.js +1 -1
  863. package/dist/esm-es5/mds-img.entry.js +1 -1
  864. package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
  865. package/dist/esm-es5/mds-input-date-range.entry.js +7 -2
  866. package/dist/esm-es5/mds-input-date.entry.js +8 -3
  867. package/dist/esm-es5/mds-input-field.entry.js +2 -2
  868. package/dist/esm-es5/mds-input-otp.entry.js +1 -1
  869. package/dist/esm-es5/mds-input-range.entry.js +7 -7
  870. package/dist/esm-es5/mds-input-select.entry.js +14 -5
  871. package/dist/esm-es5/mds-input-switch_2.entry.js +17 -9
  872. package/dist/esm-es5/mds-input-tip_2.entry.js +3 -3
  873. package/dist/esm-es5/mds-input-upload.entry.js +2 -2
  874. package/dist/esm-es5/mds-input.entry.js +30 -25
  875. package/dist/esm-es5/mds-keyboard-key.entry.js +2 -2
  876. package/dist/esm-es5/mds-keyboard.entry.js +2 -2
  877. package/dist/esm-es5/mds-kpi-item.entry.js +2 -2
  878. package/dist/esm-es5/mds-kpi.entry.js +1 -1
  879. package/dist/esm-es5/mds-label.entry.js +2 -2
  880. package/dist/esm-es5/mds-list-item.entry.js +2 -2
  881. package/dist/esm-es5/mds-list.entry.js +1 -1
  882. package/dist/esm-es5/mds-mention.entry.js +2 -2
  883. package/dist/esm-es5/mds-modal.entry.js +5 -5
  884. package/dist/esm-es5/mds-note.entry.js +2 -2
  885. package/dist/esm-es5/mds-notification.entry.js +4 -4
  886. package/dist/esm-es5/mds-paginator-item.entry.js +1 -1
  887. package/dist/esm-es5/mds-paginator.entry.js +3 -3
  888. package/dist/esm-es5/mds-policy-ai.entry.js +2 -2
  889. package/dist/esm-es5/mds-pref-animation.entry.js +2 -2
  890. package/dist/esm-es5/mds-pref-consumption.entry.js +3 -3
  891. package/dist/esm-es5/mds-pref-contrast.entry.js +3 -3
  892. package/dist/esm-es5/mds-pref-language-item.entry.js +1 -1
  893. package/dist/esm-es5/mds-pref-language.entry.js +2 -2
  894. package/dist/esm-es5/mds-pref-mode.entry.js +2 -2
  895. package/dist/esm-es5/mds-pref-theme-item.entry.js +3 -3
  896. package/dist/esm-es5/mds-pref-theme.entry.js +15 -7
  897. package/dist/esm-es5/mds-pref.entry.js +14 -5
  898. package/dist/esm-es5/mds-price-table-features-cell.entry.js +2 -2
  899. package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
  900. package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
  901. package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
  902. package/dist/esm-es5/mds-price-table-list-item.entry.js +2 -2
  903. package/dist/esm-es5/mds-price-table-list.entry.js +1 -1
  904. package/dist/esm-es5/mds-price-table.entry.js +1 -1
  905. package/dist/esm-es5/mds-progress_2.entry.js +3 -3
  906. package/dist/esm-es5/mds-push-notification-item.entry.js +2 -2
  907. package/dist/esm-es5/mds-push-notification.entry.js +2 -2
  908. package/dist/esm-es5/mds-quote.entry.js +2 -2
  909. package/dist/esm-es5/mds-radial-menu-item.entry.js +2 -2
  910. package/dist/esm-es5/mds-radial-menu.entry.js +2 -2
  911. package/dist/esm-es5/mds-separator.entry.js +1 -1
  912. package/dist/esm-es5/mds-status-bar.entry.js +2 -2
  913. package/dist/esm-es5/mds-stepper-bar-item.entry.js +3 -3
  914. package/dist/esm-es5/mds-stepper-bar.entry.js +4 -4
  915. package/dist/esm-es5/mds-tab-bar-item.entry.js +3 -3
  916. package/dist/esm-es5/mds-tab-bar.entry.js +1 -1
  917. package/dist/esm-es5/mds-tab_2.entry.js +14 -4
  918. package/dist/esm-es5/mds-table-body.entry.js +1 -1
  919. package/dist/esm-es5/mds-table-footer.entry.js +1 -1
  920. package/dist/esm-es5/mds-table-header-cell.entry.js +22 -3
  921. package/dist/esm-es5/mds-table-header.entry.js +2 -2
  922. package/dist/esm-es5/mds-table-row.entry.js +6 -6
  923. package/dist/esm-es5/mds-table.entry.js +11 -5
  924. package/dist/esm-es5/mds-text.entry.js +25 -7
  925. package/dist/esm-es5/mds-toast.entry.js +2 -2
  926. package/dist/esm-es5/mds-tooltip.entry.js +8 -3
  927. package/dist/esm-es5/mds-tree-item.entry.js +2 -2
  928. package/dist/esm-es5/mds-tree.entry.js +3 -3
  929. package/dist/esm-es5/mds-url-view.entry.js +2 -2
  930. package/dist/esm-es5/mds-usage.entry.js +9 -3
  931. package/dist/esm-es5/mds-video-wall.entry.js +2 -2
  932. package/dist/esm-es5/mds-zero.entry.js +1 -1
  933. package/dist/esm-es5/string-6pgPWpGI.js +2 -0
  934. package/dist/hydrate/index.js +1450 -8261
  935. package/dist/hydrate/index.mjs +1450 -8261
  936. package/dist/magma-components/magma-components.esm.js +1 -1
  937. package/dist/magma-components/p-00ce5c81.entry.js +1 -0
  938. package/dist/magma-components/{p-2da2cdf3.system.entry.js → p-00ff586a.system.entry.js} +2 -2
  939. package/dist/magma-components/p-01f05a56.entry.js +1 -0
  940. package/dist/magma-components/p-0345cbd0.system.entry.js +83 -0
  941. package/dist/magma-components/p-03a6a8bd.system.entry.js +46 -0
  942. package/dist/magma-components/p-05de42e1.system.entry.js +1 -0
  943. package/dist/magma-components/p-063bccb3.entry.js +1 -0
  944. package/dist/magma-components/{p-f65e29e0.system.entry.js → p-0a38e4ce.system.entry.js} +1 -1
  945. package/dist/magma-components/p-0c89c485.entry.js +1 -0
  946. package/dist/magma-components/p-0d94a2b8.entry.js +8 -0
  947. package/dist/magma-components/{p-f8da21a1.system.entry.js → p-0d97e28d.system.entry.js} +2 -2
  948. package/dist/magma-components/p-108e31e6.entry.js +1 -0
  949. package/dist/magma-components/p-114f0bb7.system.entry.js +14 -0
  950. package/dist/magma-components/{p-dcf841d5.entry.js → p-121730d1.entry.js} +1 -1
  951. package/dist/magma-components/p-137116df.entry.js +1 -0
  952. package/dist/magma-components/p-13b0babc.system.entry.js +1 -0
  953. package/dist/magma-components/p-14a108e8.system.entry.js +8 -0
  954. package/dist/magma-components/p-14eadf95.system.entry.js +21 -0
  955. package/dist/magma-components/p-154aff83.entry.js +1 -0
  956. package/dist/magma-components/p-155f79f4.system.entry.js +47 -0
  957. package/dist/magma-components/p-17b62839.entry.js +1 -0
  958. package/dist/magma-components/{p-0d3c3de9.entry.js → p-1802d6a7.entry.js} +1 -1
  959. package/dist/magma-components/{p-91c4015f.system.entry.js → p-188d9770.system.entry.js} +1 -1
  960. package/dist/magma-components/p-18ba4766.entry.js +1 -0
  961. package/dist/magma-components/p-1c63801f.system.entry.js +11 -0
  962. package/dist/magma-components/p-1c6a507c.system.entry.js +17 -0
  963. package/dist/magma-components/p-1e2388be.entry.js +1 -0
  964. package/dist/magma-components/{p-a9e4efa3.entry.js → p-22e9a507.entry.js} +1 -1
  965. package/dist/magma-components/p-24a9871a.system.entry.js +1 -0
  966. package/dist/magma-components/p-26332bce.system.entry.js +1 -0
  967. package/dist/magma-components/p-26c85354.system.entry.js +1 -0
  968. package/dist/magma-components/p-2708561b.system.entry.js +10 -0
  969. package/dist/magma-components/{p-ad09a06b.entry.js → p-2710ddc4.entry.js} +1 -1
  970. package/dist/magma-components/{p-019e8a95.system.entry.js → p-2723caa7.system.entry.js} +2 -2
  971. package/dist/magma-components/p-294241fa.entry.js +1 -0
  972. package/dist/magma-components/p-2b2d0910.system.entry.js +1 -0
  973. package/dist/magma-components/p-2c940d19.entry.js +1 -0
  974. package/dist/magma-components/p-2de5f5fe.entry.js +1 -0
  975. package/dist/magma-components/p-2e74231d.system.entry.js +4 -0
  976. package/dist/magma-components/p-2e83f801.system.entry.js +1 -0
  977. package/dist/magma-components/{p-771720b7.entry.js → p-2f0815f3.entry.js} +1 -1
  978. package/dist/magma-components/p-30d36dfe.entry.js +1 -0
  979. package/dist/magma-components/p-323c7aa4.system.entry.js +25 -0
  980. package/dist/magma-components/{p-32361702.system.entry.js → p-32e077c0.system.entry.js} +2 -2
  981. package/dist/magma-components/p-334b305d.system.entry.js +16 -0
  982. package/dist/magma-components/{p-d93c9a11.system.entry.js → p-341994b3.system.entry.js} +2 -2
  983. package/dist/magma-components/p-35434d4b.system.entry.js +32 -0
  984. package/dist/magma-components/p-35ee2d77.entry.js +1 -0
  985. package/dist/magma-components/p-37495e03.entry.js +1 -0
  986. package/dist/magma-components/{p-7bea6c05.system.entry.js → p-38e0379a.system.entry.js} +2 -2
  987. package/dist/magma-components/p-3b91efd1.entry.js +1 -0
  988. package/dist/magma-components/p-3dc4db04.system.entry.js +16 -0
  989. package/dist/magma-components/p-3f0e82bc.entry.js +1 -0
  990. package/dist/magma-components/p-3fa6cf85.system.entry.js +1 -0
  991. package/dist/magma-components/p-40e97485.entry.js +1 -0
  992. package/dist/magma-components/p-4159c306.entry.js +1 -0
  993. package/dist/magma-components/p-42411854.system.entry.js +102 -0
  994. package/dist/magma-components/{p-fc8f8a0c.entry.js → p-42ebba8c.entry.js} +1 -1
  995. package/dist/magma-components/p-4356d96e.system.entry.js +21 -0
  996. package/dist/magma-components/{p-6cbd8a6d.system.entry.js → p-4577948d.system.entry.js} +3 -3
  997. package/dist/magma-components/p-4658a200.entry.js +1 -0
  998. package/dist/magma-components/{p-06d9af89.entry.js → p-4cfa925a.entry.js} +1 -1
  999. package/dist/magma-components/p-4dfeb655.system.entry.js +23 -0
  1000. package/dist/magma-components/p-4ef19542.entry.js +1 -0
  1001. package/dist/magma-components/{p-91451e37.system.entry.js → p-508e10b5.system.entry.js} +2 -2
  1002. package/dist/magma-components/p-514d0fcb.entry.js +1 -0
  1003. package/dist/magma-components/p-522fd3d0.system.entry.js +4 -0
  1004. package/dist/magma-components/p-528d913c.system.entry.js +17 -0
  1005. package/dist/magma-components/p-569cbe13.entry.js +1 -0
  1006. package/dist/magma-components/p-574c2c13.system.entry.js +222 -0
  1007. package/dist/magma-components/{p-876a5fb9.system.entry.js → p-584a4ee8.system.entry.js} +1 -1
  1008. package/dist/magma-components/{p-d7515aae.entry.js → p-595fde64.entry.js} +1 -1
  1009. package/dist/magma-components/p-5989cdf2.system.entry.js +16 -0
  1010. package/dist/magma-components/p-5c17a324.entry.js +1 -0
  1011. package/dist/magma-components/p-5df91427.system.entry.js +15 -0
  1012. package/dist/magma-components/{p-c5ad848f.entry.js → p-5f1132b8.entry.js} +1 -1
  1013. package/dist/magma-components/p-5fcc1455.entry.js +1 -0
  1014. package/dist/magma-components/p-61638aa3.entry.js +1 -0
  1015. package/dist/magma-components/p-634727e6.system.entry.js +22 -0
  1016. package/dist/magma-components/{p-289a874e.entry.js → p-6465c8f4.entry.js} +1 -1
  1017. package/dist/magma-components/{p-7c940015.system.entry.js → p-64f78149.system.entry.js} +1 -1
  1018. package/dist/magma-components/p-6764b13a.entry.js +1 -0
  1019. package/dist/magma-components/p-6812f01b.entry.js +1 -0
  1020. package/dist/magma-components/{p-cd5cf28b.system.entry.js → p-6901428b.system.entry.js} +1 -1
  1021. package/dist/magma-components/p-699a7926.entry.js +1 -0
  1022. package/dist/magma-components/p-69d6cc9e.system.entry.js +7 -0
  1023. package/dist/magma-components/p-6a798061.entry.js +1 -0
  1024. package/dist/magma-components/p-6d350c7c.entry.js +1 -0
  1025. package/dist/magma-components/p-6f5a1248.entry.js +1 -0
  1026. package/dist/magma-components/p-6fba5e6c.entry.js +1 -0
  1027. package/dist/magma-components/p-6fd9a2ae.entry.js +1 -0
  1028. package/dist/magma-components/{p-ff970859.system.entry.js → p-6ff8be3e.system.entry.js} +1 -1
  1029. package/dist/magma-components/p-6pgPWpGI.js +1 -0
  1030. package/dist/magma-components/p-70caf05b.system.entry.js +10 -0
  1031. package/dist/magma-components/{p-2d324edc.entry.js → p-70cc167f.entry.js} +1 -1
  1032. package/dist/magma-components/{p-cc1ee10a.system.entry.js → p-736c0e25.system.entry.js} +2 -2
  1033. package/dist/magma-components/p-73e593a2.system.entry.js +95 -0
  1034. package/dist/magma-components/p-7450a7a7.system.entry.js +49 -0
  1035. package/dist/magma-components/p-7535328a.entry.js +1 -0
  1036. package/dist/magma-components/{p-bd9324f3.system.entry.js → p-76f02296.system.entry.js} +1 -1
  1037. package/dist/magma-components/p-789c1b93.system.entry.js +1 -0
  1038. package/dist/magma-components/p-79bc2e81.entry.js +1 -0
  1039. package/dist/magma-components/p-79dc2243.entry.js +1 -0
  1040. package/dist/magma-components/p-7b1c6eb0.entry.js +1 -0
  1041. package/dist/magma-components/p-7b8b51c8.entry.js +1 -0
  1042. package/dist/magma-components/p-7bc0a6c4.entry.js +1 -0
  1043. package/dist/magma-components/p-7c8e79a7.system.entry.js +4 -0
  1044. package/dist/magma-components/p-7c90298a.entry.js +1 -0
  1045. package/dist/magma-components/p-7e02237b.entry.js +1 -0
  1046. package/dist/magma-components/{p-ef4cd904.system.entry.js → p-7f247e64.system.entry.js} +2 -2
  1047. package/dist/magma-components/p-808f6796.entry.js +1 -0
  1048. package/dist/magma-components/{p-a1b5bd58.entry.js → p-82480df5.entry.js} +1 -1
  1049. package/dist/magma-components/{p-61ff1d85.system.entry.js → p-837fbbf7.system.entry.js} +1 -1
  1050. package/dist/magma-components/p-842b1dfc.entry.js +1 -0
  1051. package/dist/magma-components/p-88c7be3d.system.entry.js +68 -0
  1052. package/dist/magma-components/p-89733d3a.system.entry.js +14 -0
  1053. package/dist/magma-components/p-8c75425d.entry.js +1 -0
  1054. package/dist/magma-components/{p-5ac9e2f4.entry.js → p-8c76410b.entry.js} +1 -1
  1055. package/dist/magma-components/p-8cdad12f.entry.js +1 -0
  1056. package/dist/magma-components/p-8d2a6896.entry.js +1 -0
  1057. package/dist/magma-components/p-8d7835e2.system.entry.js +10 -0
  1058. package/dist/magma-components/p-8f039ca0.system.entry.js +7 -0
  1059. package/dist/magma-components/p-8f54cf62.system.entry.js +4 -0
  1060. package/dist/magma-components/p-8f6bd147.entry.js +1 -0
  1061. package/dist/magma-components/p-9017022c.system.entry.js +15 -0
  1062. package/dist/magma-components/p-909f5b60.system.entry.js +55 -0
  1063. package/dist/magma-components/p-94e9f2be.system.entry.js +11 -0
  1064. package/dist/magma-components/p-976bb373.system.entry.js +90 -0
  1065. package/dist/magma-components/p-97d82884.system.entry.js +16 -0
  1066. package/dist/magma-components/p-97de86c6.system.entry.js +16 -0
  1067. package/dist/magma-components/p-97e9a197.system.entry.js +32 -0
  1068. package/dist/magma-components/p-9a936cae.system.entry.js +45 -0
  1069. package/dist/magma-components/p-9c6d184f.entry.js +1 -0
  1070. package/dist/magma-components/p-9db0a6e9.entry.js +1 -0
  1071. package/dist/magma-components/p-9e662528.entry.js +1 -0
  1072. package/dist/magma-components/{p-7ffda4f5.entry.js → p-9ff02a82.entry.js} +1 -1
  1073. package/dist/magma-components/p-B85MJLTf.js +1 -0
  1074. package/dist/magma-components/p-BJqUjYIG.system.js +1 -0
  1075. package/dist/magma-components/{p-Dg8nxRUX.system.js → p-BcYSdbK0.system.js} +85 -53
  1076. package/dist/magma-components/p-BeYLDgbf.js +1 -0
  1077. package/dist/magma-components/p-D6-Ny6z1.system.js +1 -0
  1078. package/dist/magma-components/{p-BPNsbMrg.system.js → p-DhhAXEdA.system.js} +11 -5
  1079. package/dist/magma-components/p-JMPfVnGv.js +1 -0
  1080. package/dist/magma-components/p-ZDRIVCAt.system.js +1 -1
  1081. package/dist/magma-components/p-a3e3a653.system.entry.js +81 -0
  1082. package/dist/magma-components/p-a41e52f7.entry.js +1 -0
  1083. package/dist/magma-components/{p-dc399372.entry.js → p-a462aadd.entry.js} +1 -1
  1084. package/dist/magma-components/p-a4c26b4d.system.entry.js +19 -0
  1085. package/dist/magma-components/{p-2e01e057.system.entry.js → p-a61c7ae9.system.entry.js} +2 -2
  1086. package/dist/magma-components/p-a653e096.entry.js +1 -0
  1087. package/dist/magma-components/p-a8bf46cb.system.entry.js +1 -0
  1088. package/dist/magma-components/p-a9736d68.system.entry.js +4 -0
  1089. package/dist/magma-components/p-ac4435e7.entry.js +1 -0
  1090. package/dist/magma-components/p-ac873ab4.entry.js +1 -0
  1091. package/dist/magma-components/p-acae292f.system.entry.js +28 -0
  1092. package/dist/magma-components/p-add1a8d0.system.entry.js +7 -0
  1093. package/dist/magma-components/p-b1a0e56e.system.entry.js +42 -0
  1094. package/dist/magma-components/p-b33a6f7e.system.entry.js +13 -0
  1095. package/dist/magma-components/p-b492dd4c.entry.js +1 -0
  1096. package/dist/magma-components/{p-d5e53364.system.entry.js → p-b626c69f.system.entry.js} +1 -1
  1097. package/dist/magma-components/p-b99cac43.entry.js +1 -0
  1098. package/dist/magma-components/p-baf0359b.entry.js +1 -0
  1099. package/dist/magma-components/p-bbd414dc.entry.js +1 -0
  1100. package/dist/magma-components/p-be1aad5f.entry.js +1 -0
  1101. package/dist/magma-components/p-bf05f9f3.entry.js +1 -0
  1102. package/dist/magma-components/p-bf8c6647.system.entry.js +11 -0
  1103. package/dist/magma-components/p-bfe19e4b.entry.js +1 -0
  1104. package/dist/magma-components/p-c1a7266a.entry.js +1 -0
  1105. package/dist/magma-components/{p-a0d9e01f.system.entry.js → p-c34d9e61.system.entry.js} +1 -1
  1106. package/dist/magma-components/p-c3585de7.system.entry.js +7 -0
  1107. package/dist/magma-components/p-c45d9a64.system.entry.js +32 -0
  1108. package/dist/magma-components/p-c4ceaef6.system.entry.js +10 -0
  1109. package/dist/magma-components/{p-c48e3460.entry.js → p-c575cb7b.entry.js} +1 -1
  1110. package/dist/magma-components/p-c644c5fc.system.entry.js +1 -0
  1111. package/dist/magma-components/{p-61bedbe7.system.entry.js → p-c69ec735.system.entry.js} +8 -3
  1112. package/dist/magma-components/p-c7d84d1c.system.entry.js +1 -0
  1113. package/dist/magma-components/p-cb8b45fd.entry.js +1 -0
  1114. package/dist/magma-components/p-cbfd8b10.system.entry.js +16 -0
  1115. package/dist/magma-components/{p-ed897f9f.entry.js → p-ce46191c.entry.js} +1 -1
  1116. package/dist/magma-components/p-cebe7b52.entry.js +1 -0
  1117. package/dist/magma-components/p-cefdc01f.system.entry.js +7 -0
  1118. package/dist/magma-components/{p-f0c67a70.system.entry.js → p-d025a34f.system.entry.js} +2 -2
  1119. package/dist/magma-components/p-d1c47baa.entry.js +1 -0
  1120. package/dist/magma-components/p-d269bfb0.entry.js +1 -0
  1121. package/dist/magma-components/p-d42f267b.system.entry.js +40 -0
  1122. package/dist/magma-components/p-d5bd6bef.entry.js +1 -0
  1123. package/dist/magma-components/p-d65d8a09.system.entry.js +1 -0
  1124. package/dist/magma-components/p-d6eca2ef.entry.js +1 -0
  1125. package/dist/magma-components/p-d716efe9.system.entry.js +1 -0
  1126. package/dist/magma-components/{p-d9fbbf3f.entry.js → p-da6ccc03.entry.js} +1 -1
  1127. package/dist/magma-components/p-dbaf5368.system.entry.js +7 -0
  1128. package/dist/magma-components/p-dc340618.entry.js +1 -0
  1129. package/dist/magma-components/p-dc752e9b.entry.js +1 -0
  1130. package/dist/magma-components/p-e238e2eb.entry.js +1 -0
  1131. package/dist/magma-components/p-e388f1f2.system.entry.js +19 -0
  1132. package/dist/magma-components/p-e50fdcee.entry.js +1 -0
  1133. package/dist/magma-components/p-e779a67f.system.entry.js +10 -0
  1134. package/dist/magma-components/p-e8ae4016.system.entry.js +1 -0
  1135. package/dist/magma-components/{p-9eb1e154.system.entry.js → p-e8d95868.system.entry.js} +2 -2
  1136. package/dist/magma-components/p-ed232c76.entry.js +1 -0
  1137. package/dist/magma-components/{p-f3dbebdd.system.entry.js → p-ed6e287d.system.entry.js} +25 -7
  1138. package/dist/magma-components/p-ed87425c.system.entry.js +13 -0
  1139. package/dist/magma-components/p-ed897125.entry.js +1 -0
  1140. package/dist/magma-components/p-ee876b20.system.entry.js +4 -0
  1141. package/dist/magma-components/p-efe0bb12.system.entry.js +7 -0
  1142. package/dist/magma-components/p-f2412853.system.entry.js +27 -0
  1143. package/dist/magma-components/p-f2743a2b.entry.js +1 -0
  1144. package/dist/magma-components/p-f2f2945b.entry.js +1 -0
  1145. package/dist/magma-components/p-f37f1343.entry.js +1 -0
  1146. package/dist/magma-components/p-f3dd135e.system.entry.js +32 -0
  1147. package/dist/magma-components/{p-3a1a6945.entry.js → p-f5bb8c0c.entry.js} +1 -1
  1148. package/dist/magma-components/p-f5ce24e8.entry.js +1 -0
  1149. package/dist/magma-components/p-f8a88f11.entry.js +1 -0
  1150. package/dist/magma-components/p-f900fe90.entry.js +1 -0
  1151. package/dist/magma-components/{p-eff38775.entry.js → p-faa1f22c.entry.js} +1 -1
  1152. package/dist/magma-components/p-pNJmnrhq.js +1 -0
  1153. package/dist/magma-components/p-pxyGaQ-P.system.js +2 -0
  1154. package/dist/stats.json +2971 -2223
  1155. package/dist/types/common/floating-controller.d.ts +8 -1
  1156. package/dist/types/common/hash.d.ts +8 -0
  1157. package/dist/types/common/string.d.ts +3 -1
  1158. package/dist/types/components/mds-button/mds-button.d.ts +10 -0
  1159. package/dist/types/components/mds-button-dropdown/mds-button-dropdown.d.ts +1 -0
  1160. package/dist/types/components/mds-calendar/mds-calendar.d.ts +1 -0
  1161. package/dist/types/components/mds-file/mds-file.d.ts +6 -1
  1162. package/dist/types/components/mds-filter/mds-filter.d.ts +15 -0
  1163. package/dist/types/components/mds-filter-item/mds-filter-item.d.ts +18 -1
  1164. package/dist/types/components/mds-header-bar/mds-header-bar.d.ts +1 -0
  1165. package/dist/types/components/mds-horizontal-scroll/mds-horizontal-scroll.d.ts +1 -0
  1166. package/dist/types/components/mds-input/mds-input.d.ts +8 -1
  1167. package/dist/types/components/mds-input-date/mds-input-date.d.ts +6 -0
  1168. package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +5 -0
  1169. package/dist/types/components/mds-input-select/mds-input-select.d.ts +15 -2
  1170. package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +8 -3
  1171. package/dist/types/components/mds-modal/mds-modal.d.ts +1 -0
  1172. package/dist/types/components/mds-pref/mds-pref.d.ts +5 -8
  1173. package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +8 -0
  1174. package/dist/types/components/mds-radial-menu/mds-radial-menu.d.ts +1 -0
  1175. package/dist/types/components/mds-tab/mds-tab.d.ts +8 -0
  1176. package/dist/types/components/mds-table/mds-table.d.ts +8 -1
  1177. package/dist/types/components/mds-table/meta/type.d.ts +1 -0
  1178. package/dist/types/components/mds-table-header-cell/mds-table-header-cell.d.ts +33 -14
  1179. package/dist/types/components/mds-table-header-cell/meta/event-detail.d.ts +6 -0
  1180. package/dist/types/components/mds-text/mds-text.d.ts +8 -4
  1181. package/dist/types/components/mds-tooltip/mds-tooltip.d.ts +8 -1
  1182. package/dist/types/components/mds-usage/mds-usage.d.ts +5 -1
  1183. package/dist/types/components/mds-usage/meta/variants.d.ts +7 -19
  1184. package/dist/types/components.d.ts +123 -18
  1185. package/dist/types/type/floating-ui.d.ts +2 -0
  1186. package/dist/types/type/input.d.ts +3 -0
  1187. package/package.json +15 -15
  1188. package/dist/cjs/_commonjsHelpers-B83fTs8d.js +0 -36
  1189. package/dist/collection/dictionary/icon.js +0 -10
  1190. package/dist/collection/type/icon.js +0 -1
  1191. package/dist/components/p-B3Z2Goa-.js +0 -1
  1192. package/dist/components/p-B3dWp2vS.js +0 -1
  1193. package/dist/components/p-B6FOPjps.js +0 -1
  1194. package/dist/components/p-B7CR1EtF.js +0 -1
  1195. package/dist/components/p-BBPQjm8h.js +0 -1
  1196. package/dist/components/p-BCiJ4PRD.js +0 -1
  1197. package/dist/components/p-BSs0SO-j.js +0 -1
  1198. package/dist/components/p-BTpjOy0A.js +0 -1
  1199. package/dist/components/p-BY6Qu1V4.js +0 -1
  1200. package/dist/components/p-BhmePCyA.js +0 -1
  1201. package/dist/components/p-BpGzrg1C.js +0 -1
  1202. package/dist/components/p-C-J9fW51.js +0 -1
  1203. package/dist/components/p-CAa2kI72.js +0 -1
  1204. package/dist/components/p-CBV19-8O.js +0 -1
  1205. package/dist/components/p-CCv9tBZK.js +0 -1
  1206. package/dist/components/p-CDf607TB.js +0 -1
  1207. package/dist/components/p-CEMAGNly.js +0 -1
  1208. package/dist/components/p-CGYDZBMv.js +0 -1
  1209. package/dist/components/p-CHAGzQT-.js +0 -1
  1210. package/dist/components/p-CHAvkoj3.js +0 -1
  1211. package/dist/components/p-CMFUEkte.js +0 -1
  1212. package/dist/components/p-CR2GGKXK.js +0 -1
  1213. package/dist/components/p-Cb5kuO7B.js +0 -1
  1214. package/dist/components/p-CiNNzAa3.js +0 -1
  1215. package/dist/components/p-DGDdPv_Y.js +0 -1
  1216. package/dist/components/p-D_wD-Pyk.js +0 -1
  1217. package/dist/components/p-E-ZsRS8r.js +0 -1
  1218. package/dist/components/p-HR2JwDjG.js +0 -1
  1219. package/dist/components/p-LE7qQIFR.js +0 -8
  1220. package/dist/components/p-vgIKH234.js +0 -1
  1221. package/dist/esm/_commonjsHelpers-E-ZsRS8r.js +0 -32
  1222. package/dist/esm-es5/_commonjsHelpers-E-ZsRS8r.js +0 -1
  1223. package/dist/magma-components/p-01dd1f55.entry.js +0 -1
  1224. package/dist/magma-components/p-02119624.system.entry.js +0 -40
  1225. package/dist/magma-components/p-02fc7592.entry.js +0 -1
  1226. package/dist/magma-components/p-03cd0069.system.entry.js +0 -1
  1227. package/dist/magma-components/p-05fbca60.system.entry.js +0 -37
  1228. package/dist/magma-components/p-07e4701d.entry.js +0 -1
  1229. package/dist/magma-components/p-081a19b1.system.entry.js +0 -45
  1230. package/dist/magma-components/p-09d0b6a8.entry.js +0 -1
  1231. package/dist/magma-components/p-0b300de7.entry.js +0 -1
  1232. package/dist/magma-components/p-1150ffb8.system.entry.js +0 -10
  1233. package/dist/magma-components/p-115a5e47.entry.js +0 -1
  1234. package/dist/magma-components/p-1314d80e.entry.js +0 -1
  1235. package/dist/magma-components/p-133a6ffd.system.entry.js +0 -49
  1236. package/dist/magma-components/p-13db55de.entry.js +0 -1
  1237. package/dist/magma-components/p-1a2731ec.system.entry.js +0 -10
  1238. package/dist/magma-components/p-1a602906.system.entry.js +0 -13
  1239. package/dist/magma-components/p-1c975156.entry.js +0 -1
  1240. package/dist/magma-components/p-1d154234.system.entry.js +0 -12
  1241. package/dist/magma-components/p-1d9d7666.entry.js +0 -1
  1242. package/dist/magma-components/p-1ddaaa6d.system.entry.js +0 -217
  1243. package/dist/magma-components/p-21aa0a74.entry.js +0 -1
  1244. package/dist/magma-components/p-21c46e74.system.entry.js +0 -4
  1245. package/dist/magma-components/p-2399b7e8.entry.js +0 -1
  1246. package/dist/magma-components/p-25407d89.entry.js +0 -1
  1247. package/dist/magma-components/p-27547a7a.system.entry.js +0 -7
  1248. package/dist/magma-components/p-2be3bd23.system.entry.js +0 -1
  1249. package/dist/magma-components/p-2c586431.entry.js +0 -1
  1250. package/dist/magma-components/p-2e9b80e8.entry.js +0 -1
  1251. package/dist/magma-components/p-30c3872d.entry.js +0 -1
  1252. package/dist/magma-components/p-3231a6a3.entry.js +0 -1
  1253. package/dist/magma-components/p-3448d0ce.entry.js +0 -1
  1254. package/dist/magma-components/p-367cee40.system.entry.js +0 -1
  1255. package/dist/magma-components/p-3a8870e4.system.entry.js +0 -47
  1256. package/dist/magma-components/p-3b68fbcd.system.entry.js +0 -22
  1257. package/dist/magma-components/p-3ecade3c.system.entry.js +0 -11
  1258. package/dist/magma-components/p-3f05ec8a.entry.js +0 -1
  1259. package/dist/magma-components/p-4073c5f2.system.entry.js +0 -90
  1260. package/dist/magma-components/p-40bd2e6d.entry.js +0 -1
  1261. package/dist/magma-components/p-423597db.system.entry.js +0 -4
  1262. package/dist/magma-components/p-443c2a29.system.entry.js +0 -10
  1263. package/dist/magma-components/p-45a91f1c.system.entry.js +0 -1
  1264. package/dist/magma-components/p-487af9d3.entry.js +0 -1
  1265. package/dist/magma-components/p-4909070e.entry.js +0 -1
  1266. package/dist/magma-components/p-4d966161.system.entry.js +0 -14
  1267. package/dist/magma-components/p-4ddf891e.system.entry.js +0 -69
  1268. package/dist/magma-components/p-4e15cde7.entry.js +0 -1
  1269. package/dist/magma-components/p-4f14a166.entry.js +0 -1
  1270. package/dist/magma-components/p-4ffec31a.system.entry.js +0 -1
  1271. package/dist/magma-components/p-50b266e9.system.entry.js +0 -4
  1272. package/dist/magma-components/p-5165b09f.system.entry.js +0 -4
  1273. package/dist/magma-components/p-544cc9c7.system.entry.js +0 -25
  1274. package/dist/magma-components/p-562bb482.system.entry.js +0 -16
  1275. package/dist/magma-components/p-5ae5ec95.entry.js +0 -1
  1276. package/dist/magma-components/p-5d2d8ffe.system.entry.js +0 -11
  1277. package/dist/magma-components/p-5e180f53.system.entry.js +0 -32
  1278. package/dist/magma-components/p-62b17608.system.entry.js +0 -102
  1279. package/dist/magma-components/p-63e7c98f.entry.js +0 -1
  1280. package/dist/magma-components/p-6474c850.entry.js +0 -8
  1281. package/dist/magma-components/p-660657ac.system.entry.js +0 -15
  1282. package/dist/magma-components/p-66237a64.entry.js +0 -1
  1283. package/dist/magma-components/p-6702e489.entry.js +0 -1
  1284. package/dist/magma-components/p-694ed534.entry.js +0 -1
  1285. package/dist/magma-components/p-6b446fd9.system.entry.js +0 -81
  1286. package/dist/magma-components/p-6c414bc2.system.entry.js +0 -19
  1287. package/dist/magma-components/p-6d0dc1fd.entry.js +0 -1
  1288. package/dist/magma-components/p-6ed05d99.entry.js +0 -1
  1289. package/dist/magma-components/p-6f2471b1.entry.js +0 -1
  1290. package/dist/magma-components/p-6fa03aab.system.entry.js +0 -7
  1291. package/dist/magma-components/p-70141ccd.entry.js +0 -1
  1292. package/dist/magma-components/p-707d8626.system.entry.js +0 -2838
  1293. package/dist/magma-components/p-71dafc3f.entry.js +0 -1
  1294. package/dist/magma-components/p-726209f4.system.entry.js +0 -1
  1295. package/dist/magma-components/p-745ee76b.system.entry.js +0 -32
  1296. package/dist/magma-components/p-761415b3.system.entry.js +0 -37
  1297. package/dist/magma-components/p-7a7c308b.entry.js +0 -1
  1298. package/dist/magma-components/p-7ca990d4.system.entry.js +0 -11
  1299. package/dist/magma-components/p-7d6ca97d.system.entry.js +0 -7
  1300. package/dist/magma-components/p-8097dfc8.system.entry.js +0 -7
  1301. package/dist/magma-components/p-809adece.system.entry.js +0 -17
  1302. package/dist/magma-components/p-843ab1b4.entry.js +0 -1
  1303. package/dist/magma-components/p-87026d34.entry.js +0 -1
  1304. package/dist/magma-components/p-8765dc11.entry.js +0 -1
  1305. package/dist/magma-components/p-87faaa8e.system.entry.js +0 -16
  1306. package/dist/magma-components/p-8a838a1a.entry.js +0 -1
  1307. package/dist/magma-components/p-8bcb2a5f.entry.js +0 -1
  1308. package/dist/magma-components/p-8c93550d.entry.js +0 -1
  1309. package/dist/magma-components/p-8ca1d30d.system.entry.js +0 -1
  1310. package/dist/magma-components/p-91c8960a.system.entry.js +0 -1
  1311. package/dist/magma-components/p-932620b6.entry.js +0 -1
  1312. package/dist/magma-components/p-939da879.system.entry.js +0 -8
  1313. package/dist/magma-components/p-97bde480.entry.js +0 -1
  1314. package/dist/magma-components/p-97d02403.entry.js +0 -1
  1315. package/dist/magma-components/p-983f3e40.entry.js +0 -1
  1316. package/dist/magma-components/p-99227c78.system.entry.js +0 -11
  1317. package/dist/magma-components/p-9a583f6b.system.entry.js +0 -1
  1318. package/dist/magma-components/p-9a86e0ce.system.entry.js +0 -1
  1319. package/dist/magma-components/p-9d1cdb42.system.entry.js +0 -15
  1320. package/dist/magma-components/p-9e5982b6.entry.js +0 -1
  1321. package/dist/magma-components/p-9eef2f79.entry.js +0 -1
  1322. package/dist/magma-components/p-9fe14430.system.entry.js +0 -7
  1323. package/dist/magma-components/p-9fe7035a.entry.js +0 -1
  1324. package/dist/magma-components/p-BpVYIPkx.js +0 -1
  1325. package/dist/magma-components/p-CHAGzQT-.js +0 -1
  1326. package/dist/magma-components/p-DIUTGDX_.system.js +0 -1
  1327. package/dist/magma-components/p-E-ZsRS8r.js +0 -1
  1328. package/dist/magma-components/p-a0972ec9.entry.js +0 -1
  1329. package/dist/magma-components/p-a1851e6f.entry.js +0 -1
  1330. package/dist/magma-components/p-a2d9549d.system.entry.js +0 -32
  1331. package/dist/magma-components/p-a5a13b20.entry.js +0 -1
  1332. package/dist/magma-components/p-a6a71c77.entry.js +0 -1
  1333. package/dist/magma-components/p-a96312c1.entry.js +0 -1
  1334. package/dist/magma-components/p-aa0bd826.entry.js +0 -1
  1335. package/dist/magma-components/p-aa74169f.system.entry.js +0 -1
  1336. package/dist/magma-components/p-ab4ffbd4.system.entry.js +0 -68
  1337. package/dist/magma-components/p-ad9cb1f5.entry.js +0 -1
  1338. package/dist/magma-components/p-aed8b119.entry.js +0 -1
  1339. package/dist/magma-components/p-afbef2fc.entry.js +0 -1
  1340. package/dist/magma-components/p-b183d698.system.entry.js +0 -16
  1341. package/dist/magma-components/p-b49196da.entry.js +0 -1
  1342. package/dist/magma-components/p-b77a2832.entry.js +0 -1
  1343. package/dist/magma-components/p-b925c109.system.entry.js +0 -14
  1344. package/dist/magma-components/p-b9e3281a.system.entry.js +0 -72
  1345. package/dist/magma-components/p-bb0538b6.entry.js +0 -1
  1346. package/dist/magma-components/p-bb055583.entry.js +0 -1
  1347. package/dist/magma-components/p-bc6a41a9.system.entry.js +0 -1
  1348. package/dist/magma-components/p-c4beed1b.entry.js +0 -1
  1349. package/dist/magma-components/p-c4ccb710.entry.js +0 -1
  1350. package/dist/magma-components/p-c4e4ba90.system.entry.js +0 -38
  1351. package/dist/magma-components/p-c573e136.entry.js +0 -1
  1352. package/dist/magma-components/p-c6841b21.entry.js +0 -1
  1353. package/dist/magma-components/p-c89a44b2.entry.js +0 -1
  1354. package/dist/magma-components/p-c94575de.entry.js +0 -1
  1355. package/dist/magma-components/p-cabe9133.system.entry.js +0 -4
  1356. package/dist/magma-components/p-cb2c5f1b.entry.js +0 -1
  1357. package/dist/magma-components/p-cb571b55.system.entry.js +0 -1
  1358. package/dist/magma-components/p-cbc0f01f.system.entry.js +0 -17
  1359. package/dist/magma-components/p-cd1dc29a.entry.js +0 -1
  1360. package/dist/magma-components/p-cd952369.entry.js +0 -1
  1361. package/dist/magma-components/p-d35aebe5.entry.js +0 -1
  1362. package/dist/magma-components/p-d74fa7af.entry.js +0 -1
  1363. package/dist/magma-components/p-d7a94afb.system.entry.js +0 -7
  1364. package/dist/magma-components/p-db492cf5.system.entry.js +0 -13
  1365. package/dist/magma-components/p-dc06b29e.entry.js +0 -1
  1366. package/dist/magma-components/p-dc7bada4.entry.js +0 -1
  1367. package/dist/magma-components/p-dfb4a965.system.entry.js +0 -28
  1368. package/dist/magma-components/p-e1a91e9e.system.entry.js +0 -1
  1369. package/dist/magma-components/p-e5438280.system.entry.js +0 -10
  1370. package/dist/magma-components/p-e8cd2b93.system.entry.js +0 -4
  1371. package/dist/magma-components/p-e95f2a48.entry.js +0 -1
  1372. package/dist/magma-components/p-eb113725.system.entry.js +0 -1
  1373. package/dist/magma-components/p-ec5eccbb.entry.js +0 -1
  1374. package/dist/magma-components/p-eca99a0a.system.entry.js +0 -1
  1375. package/dist/magma-components/p-eea815ca.system.entry.js +0 -16
  1376. package/dist/magma-components/p-eff1fd6c.system.entry.js +0 -15
  1377. package/dist/magma-components/p-f01874a8.entry.js +0 -1
  1378. package/dist/magma-components/p-f05d7005.entry.js +0 -1
  1379. package/dist/magma-components/p-f215496c.entry.js +0 -1
  1380. package/dist/magma-components/p-f28cfb33.system.entry.js +0 -4
  1381. package/dist/magma-components/p-f830793e.entry.js +0 -1
  1382. package/dist/magma-components/p-f835c307.system.entry.js +0 -7
  1383. package/dist/magma-components/p-f89c3a01.system.entry.js +0 -32
  1384. package/dist/magma-components/p-f8eb19b3.entry.js +0 -1
  1385. package/dist/magma-components/p-f8feee93.system.entry.js +0 -4
  1386. package/dist/magma-components/p-f97b4ff4.system.entry.js +0 -16
  1387. package/dist/magma-components/p-fcaa5967.entry.js +0 -18
  1388. package/dist/types/dictionary/icon.d.ts +0 -4
  1389. package/dist/types/type/icon.d.ts +0 -1
@@ -2,7 +2,7 @@ var __assign=this&&this.__assign||function(){__assign=Object.assign||function(r)
2
2
  /**
3
3
  * Custom positioning reference element.
4
4
  * @see https://floating-ui.com/docs/virtual-elements
5
- */var n=["top","right","bottom","left"];var e=["start","end"];var i=n.reduce((function(r,t){return r.concat(t,t+"-"+e[0],t+"-"+e[1])}),[]);var a=Math.min;var u=Math.max;var o=Math.round;var f=Math.floor;var c=function(r){return{x:r,y:r}};var s={left:"right",right:"left",bottom:"top",top:"bottom"};function v(r,t,n){return u(r,a(t,n))}function l(r,t){return typeof r==="function"?r(t):r}function d(r){return r.split("-")[0]}function h(r){return r.split("-")[1]}function _(r){return r==="x"?"y":"x"}function p(r){return r==="y"?"height":"width"}function y(r){var t=r[0];return t==="t"||t==="b"?"y":"x"}function g(r){return _(y(r))}function m(r,t,n){if(n===void 0){n=false}var e=h(r);var i=g(r);var a=p(i);var u=i==="x"?e===(n?"end":"start")?"right":"left":e==="start"?"bottom":"top";if(t.reference[a]>t.floating[a]){u=j(u)}return[u,j(u)]}function w(r){var t=j(r);return[b(r),t,b(t)]}function b(r){return r.includes("start")?r.replace("start","end"):r.replace("end","start")}var x=["left","right"];var A=["right","left"];var O=["top","bottom"];var k=["bottom","top"];function S(r,t,n){switch(r){case"top":case"bottom":if(n)return t?A:x;return t?x:A;case"left":case"right":return t?O:k;default:return[]}}function R(r,t,n,e){var i=h(r);var a=S(d(r),n==="start",e);if(i){a=a.map((function(r){return r+"-"+i}));if(t){a=a.concat(a.map(b))}}return a}function j(r){var t=d(r);return s[t]+r.slice(t.length)}function F(r){var t,n,e,i;return{top:(t=r.top)!=null?t:0,right:(n=r.right)!=null?n:0,bottom:(e=r.bottom)!=null?e:0,left:(i=r.left)!=null?i:0}}function T(r){return typeof r!=="number"?F(r):{top:r,right:r,bottom:r,left:r}}function P(r){var t=r.x,n=r.y,e=r.width,i=r.height;return{width:e,height:i,top:n,left:t,right:t+e,bottom:n+i,x:t,y:n}}function M(r,t,n){var e=r.reference,i=r.floating;var a=y(t);var u=g(t);var o=p(u);var f=d(t);var c=a==="y";var s=e.x+e.width/2-i.width/2;var v=e.y+e.height/2-i.height/2;var l=e[o]/2-i[o]/2;var _;switch(f){case"top":_={x:s,y:e.y-i.height};break;case"bottom":_={x:s,y:e.y+e.height};break;case"right":_={x:e.x+e.width,y:v};break;case"left":_={x:e.x-i.width,y:v};break;default:_={x:e.x,y:e.y}}var m=h(t);if(m){_[u]+=l*(m==="end"?1:-1)*(n&&c?-1:1)}return _}
5
+ */var n=["top","right","bottom","left"];var e=["start","end"];var i=n.reduce((function(r,t){return r.concat(t,t+"-"+e[0],t+"-"+e[1])}),[]);var a=Math.min;var u=Math.max;var o=Math.round;var f=Math.floor;var c=function(r){return{x:r,y:r}};var v={left:"right",right:"left",bottom:"top",top:"bottom"};function s(r,t,n){return u(r,a(t,n))}function l(r,t){return typeof r==="function"?r(t):r}function d(r){return r.split("-")[0]}function h(r){return r.split("-")[1]}function _(r){return r==="x"?"y":"x"}function p(r){return r==="y"?"height":"width"}function y(r){var t=r[0];return t==="t"||t==="b"?"y":"x"}function g(r){return _(y(r))}function m(r,t,n){if(n===void 0){n=false}var e=h(r);var i=g(r);var a=p(i);var u=i==="x"?e===(n?"end":"start")?"right":"left":e==="start"?"bottom":"top";if(t.reference[a]>t.floating[a]){u=R(u)}return[u,R(u)]}function w(r){var t=R(r);return[b(r),t,b(t)]}function b(r){return r.includes("start")?r.replace("start","end"):r.replace("end","start")}var x=["left","right"];var A=["right","left"];var S=["top","bottom"];var O=["bottom","top"];function k(r,t,n){switch(r){case"top":case"bottom":if(n)return t?A:x;return t?x:A;case"left":case"right":return t?S:O;default:return[]}}function F(r,t,n,e){var i=h(r);var a=k(d(r),n==="start",e);if(i){a=a.map((function(r){return r+"-"+i}));if(t){a=a.concat(a.map(b))}}return a}function R(r){var t=d(r);return v[t]+r.slice(t.length)}function j(r){var t,n,e,i;return{top:(t=r.top)!=null?t:0,right:(n=r.right)!=null?n:0,bottom:(e=r.bottom)!=null?e:0,left:(i=r.left)!=null?i:0}}function T(r){return typeof r!=="number"?j(r):{top:r,right:r,bottom:r,left:r}}function C(r){var t=r.x,n=r.y,e=r.width,i=r.height;return{width:e,height:i,top:n,left:t,right:t+e,bottom:n+i,x:t,y:n}}function P(r,t,n){var e=r.reference,i=r.floating;var a=y(t);var u=g(t);var o=p(u);var f=d(t);var c=a==="y";var v=e.x+e.width/2-i.width/2;var s=e.y+e.height/2-i.height/2;var l=e[o]/2-i[o]/2;var _;switch(f){case"top":_={x:v,y:e.y-i.height};break;case"bottom":_={x:v,y:e.y+e.height};break;case"right":_={x:e.x+e.width,y:s};break;case"left":_={x:e.x-i.width,y:s};break;default:_={x:e.x,y:e.y}}var m=h(t);if(m){_[u]+=l*(m==="end"?1:-1)*(n&&c?-1:1)}return _}
6
6
  /**
7
7
  * Resolves with an object of overflow side offsets that determine how much the
8
8
  * element is overflowing a given clipping boundary on each side.
@@ -10,73 +10,73 @@ var __assign=this&&this.__assign||function(){__assign=Object.assign||function(r)
10
10
  * - negative = how many pixels left before it will overflow
11
11
  * - 0 = lies flush with the boundary
12
12
  * @see https://floating-ui.com/docs/detectOverflow
13
- */function E(r,t){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,u,o,f,c,s,v,d,h,_,p,y,g,m,w,b,x,A,O,k,S,R,j,F,M,E,L,C,D,I,z;var N;return __generator(this,(function($){switch($.label){case 0:if(t===void 0){t={}}e=r.x,i=r.y,a=r.platform,u=r.rects,o=r.elements,f=r.strategy;c=l(t,r),s=c.boundary,v=s===void 0?"clippingAncestors":s,d=c.rootBoundary,h=d===void 0?"viewport":d,_=c.elementContext,p=_===void 0?"floating":_,y=c.altBoundary,g=y===void 0?false:y,m=c.padding,w=m===void 0?0:m;b=T(w);x=p==="floating"?"reference":"floating";A=o[g?x:p];k=P;R=(S=a).getClippingRect;N={};return[4/*yield*/,a.isElement==null?void 0:a.isElement(A)];case 1:if(!((n=$.sent())!=null?n:true))return[3/*break*/,2];j=A;return[3/*break*/,5];case 2:F=A.contextElement;if(F)return[3/*break*/,4];return[4/*yield*/,a.getDocumentElement==null?void 0:a.getDocumentElement(o.floating)];case 3:F=$.sent();$.label=4;case 4:j=F;$.label=5;case 5:return[4/*yield*/,R.apply(S,[(N.element=j,N.boundary=v,N.rootBoundary=h,N.strategy=f,N)])];case 6:O=k.apply(void 0,[$.sent()]);M=p==="floating"?{x:e,y:i,width:u.floating.width,height:u.floating.height}:u.reference;return[4/*yield*/,a.getOffsetParent==null?void 0:a.getOffsetParent(o.floating)];case 7:E=$.sent();return[4/*yield*/,a.isElement==null?void 0:a.isElement(E)];case 8:C=$.sent();if(!C)return[3/*break*/,10];return[4/*yield*/,a.getScale==null?void 0:a.getScale(E)];case 9:C=$.sent();$.label=10;case 10:L=C||{x:1,y:1};I=P;if(!a.convertOffsetParentRelativeRectToViewportRelativeRect)return[3/*break*/,12];return[4/*yield*/,a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:M,offsetParent:E,strategy:f})];case 11:z=$.sent();return[3/*break*/,13];case 12:z=M;$.label=13;case 13:D=I.apply(void 0,[z]);return[2/*return*/,{top:(O.top-D.top+b.top)/L.y,bottom:(D.bottom-O.bottom+b.bottom)/L.y,left:(O.left-D.left+b.left)/L.x,right:(D.right-O.right+b.right)/L.x}]}}))}))}
13
+ */function M(r,t){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,u,o,f,c,v,s,d,h,_,p,y,g,m,w,b,x,A,S,O,k,F,R,j,P,M,z,E,L,D,I;var N;return __generator(this,(function(V){switch(V.label){case 0:if(t===void 0){t={}}e=r.x,i=r.y,a=r.platform,u=r.rects,o=r.elements,f=r.strategy;c=l(t,r),v=c.boundary,s=v===void 0?"clippingAncestors":v,d=c.rootBoundary,h=d===void 0?"viewport":d,_=c.elementContext,p=_===void 0?"floating":_,y=c.altBoundary,g=y===void 0?false:y,m=c.padding,w=m===void 0?0:m;b=T(w);x=p==="floating"?"reference":"floating";A=o[g?x:p];O=C;F=(k=a).getClippingRect;N={};return[4/*yield*/,a.isElement==null?void 0:a.isElement(A)];case 1:if(!((n=V.sent())!=null?n:true))return[3/*break*/,2];R=A;return[3/*break*/,5];case 2:j=A.contextElement;if(j)return[3/*break*/,4];return[4/*yield*/,a.getDocumentElement==null?void 0:a.getDocumentElement(o.floating)];case 3:j=V.sent();V.label=4;case 4:R=j;V.label=5;case 5:return[4/*yield*/,F.apply(k,[(N.element=R,N.boundary=s,N.rootBoundary=h,N.strategy=f,N)])];case 6:S=O.apply(void 0,[V.sent()]);P=p==="floating"?{x:e,y:i,width:u.floating.width,height:u.floating.height}:u.reference;return[4/*yield*/,a.getOffsetParent==null?void 0:a.getOffsetParent(o.floating)];case 7:M=V.sent();return[4/*yield*/,a.isElement==null?void 0:a.isElement(M)];case 8:E=V.sent();if(!E)return[3/*break*/,10];return[4/*yield*/,a.getScale==null?void 0:a.getScale(M)];case 9:E=V.sent();V.label=10;case 10:z=E||{x:1,y:1};D=C;if(!a.convertOffsetParentRelativeRectToViewportRelativeRect)return[3/*break*/,12];return[4/*yield*/,a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:P,offsetParent:M,strategy:f})];case 11:I=V.sent();return[3/*break*/,13];case 12:I=P;V.label=13;case 13:L=D.apply(void 0,[I]);return[2/*return*/,{top:(S.top-L.top+b.top)/z.y,bottom:(L.bottom-S.bottom+b.bottom)/z.y,left:(S.left-L.left+b.left)/z.x,right:(L.right-S.right+b.right)/z.x}]}}))}))}
14
14
  // Maximum number of resets that can occur before bailing to avoid infinite reset loops.
15
- var L=50;
15
+ var z=50;
16
16
  /**
17
17
  * Computes the `x` and `y` coordinates that will place the floating element
18
18
  * next to a given reference element.
19
19
  *
20
20
  * This export does not have any `platform` interface logic. You will need to
21
21
  * write one for the platform you are using Floating UI with.
22
- */var C=function(r,n,e){return __awaiter(t,void 0,void 0,(function(){var t,i,a,u,o,f,c,s,v,l,d,h,_,p,y,g,m,w,b,x,A,O,k,S,R,j;var F;return __generator(this,(function(T){switch(T.label){case 0:t=e.placement,i=t===void 0?"bottom":t,a=e.strategy,u=a===void 0?"absolute":a,o=e.middleware,f=o===void 0?[]:o,c=e.platform;s=c.detectOverflow?c:__assign(__assign({},c),{detectOverflow:E});return[4/*yield*/,c.isRTL==null?void 0:c.isRTL(n)];case 1:v=T.sent();return[4/*yield*/,c.getElementRects({reference:r,floating:n,strategy:u})];case 2:l=T.sent();d=M(l,i,v),h=d.x,_=d.y;p=i;y=0;g={};m=0;T.label=3;case 3:if(!(m<f.length))return[3/*break*/,11];w=f[m];if(!w){return[3/*break*/,10]}b=w.name,x=w.fn;return[4/*yield*/,x({x:h,y:_,initialPlacement:i,placement:p,strategy:u,middlewareData:g,rects:l,platform:s,elements:{reference:r,floating:n}})];case 4:A=T.sent(),O=A.x,k=A.y,S=A.data,R=A.reset;h=O!=null?O:h;_=k!=null?k:_;g[b]=__assign(__assign({},g[b]),S);if(!(R&&y<L))return[3/*break*/,10];y++;if(!(typeof R==="object"))return[3/*break*/,9];if(R.placement){p=R.placement}if(!R.rects)return[3/*break*/,8];if(!(R.rects===true))return[3/*break*/,6];return[4/*yield*/,c.getElementRects({reference:r,floating:n,strategy:u})];case 5:j=T.sent();return[3/*break*/,7];case 6:j=R.rects;T.label=7;case 7:l=j;T.label=8;case 8:F=M(l,p,v),h=F.x,_=F.y;T.label=9;case 9:m=-1;T.label=10;case 10:m++;return[3/*break*/,3];case 11:return[2/*return*/,{x:h,y:_,placement:p,strategy:u,middlewareData:g}]}}))}))};
22
+ */var E=function(r,n,e){return __awaiter(t,void 0,void 0,(function(){var t,i,a,u,o,f,c,v,s,l,d,h,_,p,y,g,m,w,b,x,A,S,O,k,F,R;var j;return __generator(this,(function(T){switch(T.label){case 0:t=e.placement,i=t===void 0?"bottom":t,a=e.strategy,u=a===void 0?"absolute":a,o=e.middleware,f=o===void 0?[]:o,c=e.platform;v=c.detectOverflow?c:__assign(__assign({},c),{detectOverflow:M});return[4/*yield*/,c.isRTL==null?void 0:c.isRTL(n)];case 1:s=T.sent();return[4/*yield*/,c.getElementRects({reference:r,floating:n,strategy:u})];case 2:l=T.sent();d=P(l,i,s),h=d.x,_=d.y;p=i;y=0;g={};m=0;T.label=3;case 3:if(!(m<f.length))return[3/*break*/,11];w=f[m];if(!w){return[3/*break*/,10]}b=w.name,x=w.fn;return[4/*yield*/,x({x:h,y:_,initialPlacement:i,placement:p,strategy:u,middlewareData:g,rects:l,platform:v,elements:{reference:r,floating:n}})];case 4:A=T.sent(),S=A.x,O=A.y,k=A.data,F=A.reset;h=S!=null?S:h;_=O!=null?O:_;g[b]=__assign(__assign({},g[b]),k);if(!(F&&y<z))return[3/*break*/,10];y++;if(!(typeof F==="object"))return[3/*break*/,9];if(F.placement){p=F.placement}if(!F.rects)return[3/*break*/,8];if(!(F.rects===true))return[3/*break*/,6];return[4/*yield*/,c.getElementRects({reference:r,floating:n,strategy:u})];case 5:R=T.sent();return[3/*break*/,7];case 6:R=F.rects;T.label=7;case 7:l=R;T.label=8;case 8:j=P(l,p,s),h=j.x,_=j.y;T.label=9;case 9:m=-1;T.label=10;case 10:m++;return[3/*break*/,3];case 11:return[2/*return*/,{x:h,y:_,placement:p,strategy:u,middlewareData:g}]}}))}))};
23
23
  /**
24
24
  * Provides data to position an inner element of the floating element so that it
25
25
  * appears centered to the reference element.
26
26
  * @see https://floating-ui.com/docs/arrow
27
- */var D=function(r){return{name:"arrow",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,e,i,u,o,f,c,s,d,_,y,m,w,b,x,A,O,k,S,R,j,F,P,M,E,L,C,D,I,z,N,$,q,H;var G,V;return __generator(this,(function(W){switch(W.label){case 0:n=t.x,e=t.y,i=t.placement,u=t.rects,o=t.platform,f=t.elements,c=t.middlewareData;s=l(r,t)||{},d=s.element,_=s.padding,y=_===void 0?0:_;if(d==null){return[2/*return*/,{}]}m=T(y);w={x:n,y:e};b=g(i);x=p(b);return[4/*yield*/,o.getDimensions(d)];case 1:A=W.sent();O=b==="y";k=O?"top":"left";S=O?"bottom":"right";R=O?"clientHeight":"clientWidth";j=u.reference[x]+u.reference[b]-w[b]-u.floating[x];F=w[b]-u.reference[b];return[4/*yield*/,o.getOffsetParent==null?void 0:o.getOffsetParent(d)];case 2:P=W.sent();M=P?P[R]:0;E=!M;if(E)return[3/*break*/,4];return[4/*yield*/,o.isElement==null?void 0:o.isElement(P)];case 3:E=!W.sent();W.label=4;case 4:
27
+ */var L=function(r){return{name:"arrow",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,e,i,u,o,f,c,v,d,_,y,m,w,b,x,A,S,O,k,F,R,j,C,P,M,z,E,L,D,I,N,V,$,q;var H,G;return __generator(this,(function(W){switch(W.label){case 0:n=t.x,e=t.y,i=t.placement,u=t.rects,o=t.platform,f=t.elements,c=t.middlewareData;v=l(r,t)||{},d=v.element,_=v.padding,y=_===void 0?0:_;if(d==null){return[2/*return*/,{}]}m=T(y);w={x:n,y:e};b=g(i);x=p(b);return[4/*yield*/,o.getDimensions(d)];case 1:A=W.sent();S=b==="y";O=S?"top":"left";k=S?"bottom":"right";F=S?"clientHeight":"clientWidth";R=u.reference[x]+u.reference[b]-w[b]-u.floating[x];j=w[b]-u.reference[b];return[4/*yield*/,o.getOffsetParent==null?void 0:o.getOffsetParent(d)];case 2:C=W.sent();P=C?C[F]:0;M=!P;if(M)return[3/*break*/,4];return[4/*yield*/,o.isElement==null?void 0:o.isElement(C)];case 3:M=!W.sent();W.label=4;case 4:
28
28
  // DOM platform can return `window` as the `offsetParent`.
29
- if(E){M=f.floating[R]||u.floating[x]}L=j/2-F/2;C=M/2-A[x]/2-1;D=a(m[k],C);I=a(m[S],C);z=M-A[x]-I;N=M/2-A[x]/2+L;$=v(D,N,z);q=!c.arrow&&h(i)!=null&&N!==$&&u.reference[x]/2-(N<D?D:I)-A[x]/2<0;H=q?N<D?N-D:N-z:0;return[2/*return*/,(G={},G[b]=w[b]+H,G.data=__assign((V={},V[b]=$,V.centerOffset=N-$-H,V),q&&{alignmentOffset:H}),G.reset=q,G)]}}))}))}}};function I(r,t,n){var e=r?__spreadArray(__spreadArray([],n.filter((function(t){return h(t)===r})),true),n.filter((function(t){return h(t)!==r})),true):n.filter((function(r){return d(r)===r}));return e.filter((function(n){if(r){return h(n)===r||(t?b(n)!==n:false)}return true}))}
29
+ if(M){P=f.floating[F]||u.floating[x]}z=R/2-j/2;E=P/2-A[x]/2-1;L=a(m[O],E);D=a(m[k],E);I=P-A[x]-D;N=P/2-A[x]/2+z;V=s(L,N,I);$=!c.arrow&&h(i)!=null&&N!==V&&u.reference[x]/2-(N<L?L:D)-A[x]/2<0;q=$?N<L?N-L:N-I:0;return[2/*return*/,(H={},H[b]=w[b]+q,H.data=__assign((G={},G[b]=V,G.centerOffset=N-V-q,G),$&&{alignmentOffset:q}),H.reset=$,H)]}}))}))}}};function D(r,t,n){var e=r?__spreadArray(__spreadArray([],n.filter((function(t){return h(t)===r})),true),n.filter((function(t){return h(t)!==r})),true):n.filter((function(r){return d(r)===r}));return e.filter((function(n){if(r){return h(n)===r||(t?b(n)!==n:false)}return true}))}
30
30
  /**
31
31
  * Optimizes the visibility of the floating element by choosing the placement
32
32
  * that has the most space available automatically, without needing to specify a
33
33
  * preferred placement. Alternative to `flip`.
34
34
  * @see https://floating-ui.com/docs/autoPlacement
35
- */var z=function(r){if(r===void 0){r={}}return{name:"autoPlacement",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,e,a,u,o,f,c,s,v,_,p,y,g,w,b,x,A,O,k,S,R,j,F,T,P,M,E,L,C,D;return __generator(this,(function(z){switch(z.label){case 0:u=t.rects,o=t.middlewareData,f=t.placement,c=t.platform,s=t.elements;v=l(r,t),_=v.crossAxis,p=_===void 0?false:_,y=v.alignment,g=v.allowedPlacements,w=g===void 0?i:g,b=v.autoAlignment,x=b===void 0?true:b,A=__rest(v,["crossAxis","alignment","allowedPlacements","autoAlignment"]);O=y!==undefined||w===i?I(y||null,x,w):w;k=((n=o.autoPlacement)==null?void 0:n.index)||0;S=O[k];if(S==null){return[2/*return*/,{}]}
35
+ */var I=function(r){if(r===void 0){r={}}return{name:"autoPlacement",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,e,a,u,o,f,c,v,s,_,p,y,g,w,b,x,A,S,O,k,F,R,j,T,C,P,M,z,E,L;return __generator(this,(function(I){switch(I.label){case 0:u=t.rects,o=t.middlewareData,f=t.placement,c=t.platform,v=t.elements;s=l(r,t),_=s.crossAxis,p=_===void 0?false:_,y=s.alignment,g=s.allowedPlacements,w=g===void 0?i:g,b=s.autoAlignment,x=b===void 0?true:b,A=__rest(s,["crossAxis","alignment","allowedPlacements","autoAlignment"]);S=y!==undefined||w===i?D(y||null,x,w):w;O=((n=o.autoPlacement)==null?void 0:n.index)||0;k=S[O];if(k==null){return[2/*return*/,{}]}
36
36
  // Make `computeCoords` start from the right place.
37
- if(f!==S){return[2/*return*/,{reset:{placement:O[0]}}]}return[4/*yield*/,c.detectOverflow(t,A)];case 1:R=z.sent();F=m;T=[S,u];return[4/*yield*/,c.isRTL==null?void 0:c.isRTL(s.floating)];case 2:j=F.apply(void 0,T.concat([z.sent()]));P=[R[d(S)],R[j[0]],R[j[1]]];M=__spreadArray(__spreadArray([],((e=o.autoPlacement)==null?void 0:e.overflows)||[],true),[{placement:S,overflows:P}],false);E=O[k+1];
37
+ if(f!==k){return[2/*return*/,{reset:{placement:S[0]}}]}return[4/*yield*/,c.detectOverflow(t,A)];case 1:F=I.sent();j=m;T=[k,u];return[4/*yield*/,c.isRTL==null?void 0:c.isRTL(v.floating)];case 2:R=j.apply(void 0,T.concat([I.sent()]));C=[F[d(k)],F[R[0]],F[R[1]]];P=__spreadArray(__spreadArray([],((e=o.autoPlacement)==null?void 0:e.overflows)||[],true),[{placement:k,overflows:C}],false);M=S[O+1];
38
38
  // There are more placements to check.
39
- if(E){return[2/*return*/,{data:{index:k+1,overflows:M},reset:{placement:E}}]}L=M.map((function(r){var t=h(r.placement);return[r.placement,t&&p?
39
+ if(M){return[2/*return*/,{data:{index:O+1,overflows:P},reset:{placement:M}}]}z=P.map((function(r){var t=h(r.placement);return[r.placement,t&&p?
40
40
  // Check along the mainAxis and main crossAxis side.
41
41
  r.overflows.slice(0,2).reduce((function(r,t){return r+t}),0):
42
42
  // Check only the mainAxis.
43
- r.overflows[0],r.overflows]})).sort((function(r,t){return r[1]-t[1]}));C=L.filter((function(r){return r[2].slice(0,
43
+ r.overflows[0],r.overflows]})).sort((function(r,t){return r[1]-t[1]}));E=z.filter((function(r){return r[2].slice(0,
44
44
  // Aligned placements should not check their opposite crossAxis
45
45
  // side.
46
- h(r[0])?2:3).every((function(r){return r<=0}))}));D=((a=C[0])==null?void 0:a[0])||L[0][0];if(D!==f){return[2/*return*/,{data:{index:k+1,overflows:M},reset:{placement:D}}]}return[2/*return*/,{}]}}))}))}}};
46
+ h(r[0])?2:3).every((function(r){return r<=0}))}));L=((a=E[0])==null?void 0:a[0])||z[0][0];if(L!==f){return[2/*return*/,{data:{index:O+1,overflows:P},reset:{placement:L}}]}return[2/*return*/,{}]}}))}))}}};
47
47
  /**
48
48
  * Optimizes the visibility of the floating element by flipping the `placement`
49
49
  * in order to keep it in view when the preferred placement(s) will overflow the
50
50
  * clipping boundary. Alternative to `autoPlacement`.
51
51
  * @see https://floating-ui.com/docs/flip
52
- */var N=function(r){if(r===void 0){r={}}return{name:"flip",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,u,o,f,c,s,v,h,_,p,g,b,x,A,O,k,S,F,T,P,M,E,L,C,D,I,z,N,$,q,H,G,V,W,B,J,K;return __generator(this,(function(Q){switch(Q.label){case 0:i=t.placement,a=t.middlewareData,u=t.rects,o=t.initialPlacement,f=t.platform,c=t.elements;s=l(r,t),v=s.mainAxis,h=v===void 0?true:v,_=s.crossAxis,p=_===void 0?true:_,g=s.fallbackPlacements,b=s.fallbackStrategy,x=b===void 0?"bestFit":b,A=s.fallbackAxisSideDirection,O=A===void 0?"none":A,k=s.flipAlignment,S=k===void 0?true:k,F=__rest(s,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);
52
+ */var N=function(r){if(r===void 0){r={}}return{name:"flip",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,u,o,f,c,v,s,h,_,p,g,b,x,A,S,O,k,j,T,C,P,M,z,E,L,D,I,N,V,$,q,H,G,W,B,J,K;return __generator(this,(function(Q){switch(Q.label){case 0:i=t.placement,a=t.middlewareData,u=t.rects,o=t.initialPlacement,f=t.platform,c=t.elements;v=l(r,t),s=v.mainAxis,h=s===void 0?true:s,_=v.crossAxis,p=_===void 0?true:_,g=v.fallbackPlacements,b=v.fallbackStrategy,x=b===void 0?"bestFit":b,A=v.fallbackAxisSideDirection,S=A===void 0?"none":A,O=v.flipAlignment,k=O===void 0?true:O,j=__rest(v,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);
53
53
  // If a reset by the arrow was caused due to an alignment offset being
54
54
  // added, we should skip any logic now since `flip()` has already done its
55
55
  // work.
56
56
  // https://github.com/floating-ui/floating-ui/issues/2549#issuecomment-1719601643
57
- if((n=a.arrow)!=null&&n.alignmentOffset){return[2/*return*/,{}]}T=d(i);P=y(o);M=d(o)===o;return[4/*yield*/,f.isRTL==null?void 0:f.isRTL(c.floating)];case 1:E=Q.sent();L=g||(M||!S?[j(o)]:w(o));C=O!=="none";if(!g&&C){L.push.apply(L,R(o,S,O,E))}D=__spreadArray([o],L,true);return[4/*yield*/,f.detectOverflow(t,F)];case 2:I=Q.sent();z=[];N=((e=a.flip)==null?void 0:e.overflows)||[];if(h){z.push(I[T])}if(p){$=m(i,u,E);z.push(I[$[0]],I[$[1]])}N=__spreadArray(__spreadArray([],N,true),[{placement:i,overflows:z}],false);
57
+ if((n=a.arrow)!=null&&n.alignmentOffset){return[2/*return*/,{}]}T=d(i);C=y(o);P=d(o)===o;return[4/*yield*/,f.isRTL==null?void 0:f.isRTL(c.floating)];case 1:M=Q.sent();z=g||(P||!k?[R(o)]:w(o));E=S!=="none";if(!g&&E){z.push.apply(z,F(o,k,S,M))}L=__spreadArray([o],z,true);return[4/*yield*/,f.detectOverflow(t,j)];case 2:D=Q.sent();I=[];N=((e=a.flip)==null?void 0:e.overflows)||[];if(h){I.push(D[T])}if(p){V=m(i,u,M);I.push(D[V[0]],D[V[1]])}N=__spreadArray(__spreadArray([],N,true),[{placement:i,overflows:I}],false);
58
58
  // One or more sides is overflowing.
59
- if(!z.every((function(r){return r<=0}))){G=(((q=a.flip)==null?void 0:q.index)||0)+1;V=D[G];if(V){W=p==="alignment"?P!==y(V):false;if(!W||
59
+ if(!I.every((function(r){return r<=0}))){H=((($=a.flip)==null?void 0:$.index)||0)+1;G=L[H];if(G){W=p==="alignment"?C!==y(G):false;if(!W||
60
60
  // We leave the current main axis only if every placement on that axis
61
61
  // overflows the main axis.
62
- N.every((function(r){return y(r.placement)===P?r.overflows[0]>0:true}))){
62
+ N.every((function(r){return y(r.placement)===C?r.overflows[0]>0:true}))){
63
63
  // Try next placement and re-run the lifecycle.
64
- return[2/*return*/,{data:{index:G,overflows:N},reset:{placement:V}}]}}B=(H=N.filter((function(r){return r.overflows[0]<=0})).sort((function(r,t){return r.overflows[1]-t.overflows[1]}))[0])==null?void 0:H.placement;
64
+ return[2/*return*/,{data:{index:H,overflows:N},reset:{placement:G}}]}}B=(q=N.filter((function(r){return r.overflows[0]<=0})).sort((function(r,t){return r.overflows[1]-t.overflows[1]}))[0])==null?void 0:q.placement;
65
65
  // Otherwise fallback.
66
- if(!B){switch(x){case"bestFit":{K=(J=N.filter((function(r){if(C){var t=y(r.placement);return t===P||
66
+ if(!B){switch(x){case"bestFit":{K=(J=N.filter((function(r){if(E){var t=y(r.placement);return t===C||
67
67
  // Create a bias to the `y` side axis due to horizontal
68
68
  // reading directions favoring greater width.
69
- t==="y"}return true})).map((function(r){return[r.placement,r.overflows.filter((function(r){return r>0})).reduce((function(r,t){return r+t}),0)]})).sort((function(r,t){return r[1]-t[1]}))[0])==null?void 0:J[0];if(K){B=K}break}case"initialPlacement":B=o;break}}if(i!==B){return[2/*return*/,{reset:{placement:B}}]}}return[2/*return*/,{}]}}))}))}}};var $=new Set(["left","top"]);
69
+ t==="y"}return true})).map((function(r){return[r.placement,r.overflows.filter((function(r){return r>0})).reduce((function(r,t){return r+t}),0)]})).sort((function(r,t){return r[1]-t[1]}))[0])==null?void 0:J[0];if(K){B=K}break}case"initialPlacement":B=o;break}}if(i!==B){return[2/*return*/,{reset:{placement:B}}]}}return[2/*return*/,{}]}}))}))}}};var V=new Set(["left","top"]);
70
70
  // For type backwards-compatibility, the `OffsetOptions` type was also
71
71
  // Derivable.
72
- function q(r,t){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,u,o,f,c,s,v,_,p,g,m;return __generator(this,(function(w){switch(w.label){case 0:n=r.placement,e=r.platform,i=r.elements;return[4/*yield*/,e.isRTL==null?void 0:e.isRTL(i.floating)];case 1:a=w.sent();u=d(n);o=h(n);f=y(n)==="y";c=$.has(u)?-1:1;s=a&&f?-1:1;v=l(t,r);_=typeof v==="number"?{mainAxis:v,crossAxis:0,alignmentAxis:null}:{mainAxis:v.mainAxis||0,crossAxis:v.crossAxis||0,alignmentAxis:v.alignmentAxis},p=_.mainAxis,g=_.crossAxis,m=_.alignmentAxis;if(o&&typeof m==="number"){g=o==="end"?m*-1:m}return[2/*return*/,f?{x:g*s,y:p*c}:{x:p*c,y:g*s}]}}))}))}
72
+ function $(r,t){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,u,o,f,c,v,s,_,p,g,m;return __generator(this,(function(w){switch(w.label){case 0:n=r.placement,e=r.platform,i=r.elements;return[4/*yield*/,e.isRTL==null?void 0:e.isRTL(i.floating)];case 1:a=w.sent();u=d(n);o=h(n);f=y(n)==="y";c=V.has(u)?-1:1;v=a&&f?-1:1;s=l(t,r);_=typeof s==="number"?{mainAxis:s,crossAxis:0,alignmentAxis:null}:{mainAxis:s.mainAxis||0,crossAxis:s.crossAxis||0,alignmentAxis:s.alignmentAxis},p=_.mainAxis,g=_.crossAxis,m=_.alignmentAxis;if(o&&typeof m==="number"){g=o==="end"?m*-1:m}return[2/*return*/,f?{x:g*v,y:p*c}:{x:p*c,y:g*v}]}}))}))}
73
73
  /**
74
74
  * Modifies the placement by translating the floating element along the
75
75
  * specified axes.
76
76
  * A number (shorthand for `mainAxis` or distance), or an axes configuration
77
77
  * object may be passed.
78
78
  * @see https://floating-ui.com/docs/offset
79
- */var H=function(r){if(r===void 0){r=0}return{name:"offset",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,u,o,f;return __generator(this,(function(c){switch(c.label){case 0:i=t.x,a=t.y,u=t.placement,o=t.middlewareData;return[4/*yield*/,q(t,r)];case 1:f=c.sent();
79
+ */var q=function(r){if(r===void 0){r=0}return{name:"offset",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,u,o,f;return __generator(this,(function(c){switch(c.label){case 0:i=t.x,a=t.y,u=t.placement,o=t.middlewareData;return[4/*yield*/,$(t,r)];case 1:f=c.sent();
80
80
  // If the placement is the same and the arrow caused an alignment offset
81
81
  // then we don't need to change the positioning coordinates.
82
82
  if(u===((n=o.offset)==null?void 0:n.placement)&&(e=o.arrow)!=null&&e.alignmentOffset){return[2/*return*/,{}]}return[2/*return*/,{x:i+f.x,y:a+f.y,data:__assign(__assign({},f),{placement:u})}]}}))}))}}};
@@ -84,16 +84,16 @@ if(u===((n=o.offset)==null?void 0:n.placement)&&(e=o.arrow)!=null&&e.alignmentOf
84
84
  * Optimizes the visibility of the floating element by shifting it in order to
85
85
  * keep it in view when it will overflow the clipping boundary.
86
86
  * @see https://floating-ui.com/docs/shift
87
- */var G=function(r){if(r===void 0){r={}}return{name:"shift",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,u,o,f,c,s,d,h,p,g,m,w,b,x,A,O,k;var S,R;return __generator(this,(function(j){switch(j.label){case 0:n=t.x,e=t.y,i=t.placement,a=t.platform;u=l(r,t),o=u.mainAxis,f=o===void 0?true:o,c=u.crossAxis,s=c===void 0?false:c,d=u.limiter,h=d===void 0?{fn:function(r){var t=r.x,n=r.y;return{x:t,y:n}}}:d,p=__rest(u,["mainAxis","crossAxis","limiter"]);g={x:n,y:e};return[4/*yield*/,a.detectOverflow(t,p)];case 1:m=j.sent();w=y(i);b=_(w);x=g[b];A=g[w];O=function(r,t){return v(t+m[r==="y"?"top":"left"],t,t-m[r==="y"?"bottom":"right"])};if(f){x=O(b,x)}if(s){A=O(w,A)}k=h.fn(__assign(__assign({},t),(S={},S[b]=x,S[w]=A,S)));return[2/*return*/,__assign(__assign({},k),{data:{x:k.x-n,y:k.y-e,enabled:(R={},R[b]=f,R[w]=s,R)}})]}}))}))}}};function V(){return typeof window!=="undefined"}function W(r){if(K(r)){return(r.nodeName||"").toLowerCase()}
87
+ */var H=function(r){if(r===void 0){r={}}return{name:"shift",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,u,o,f,c,v,d,h,p,g,m,w,b,x,A,S,O;var k,F;return __generator(this,(function(R){switch(R.label){case 0:n=t.x,e=t.y,i=t.placement,a=t.platform;u=l(r,t),o=u.mainAxis,f=o===void 0?true:o,c=u.crossAxis,v=c===void 0?false:c,d=u.limiter,h=d===void 0?{fn:function(r){var t=r.x,n=r.y;return{x:t,y:n}}}:d,p=__rest(u,["mainAxis","crossAxis","limiter"]);g={x:n,y:e};return[4/*yield*/,a.detectOverflow(t,p)];case 1:m=R.sent();w=y(i);b=_(w);x=g[b];A=g[w];S=function(r,t){return s(t+m[r==="y"?"top":"left"],t,t-m[r==="y"?"bottom":"right"])};if(f){x=S(b,x)}if(v){A=S(w,A)}O=h.fn(__assign(__assign({},t),(k={},k[b]=x,k[w]=A,k)));return[2/*return*/,__assign(__assign({},O),{data:{x:O.x-n,y:O.y-e,enabled:(F={},F[b]=f,F[w]=v,F)}})]}}))}))}}};function G(){return typeof window!=="undefined"}function W(r){if(K(r)){return(r.nodeName||"").toLowerCase()}
88
88
  // Mocked nodes in testing environments may not be instances of Node. By
89
89
  // returning `#document` an infinite loop won't occur.
90
90
  // https://github.com/floating-ui/floating-ui/issues/2317
91
- return"#document"}function B(r){var t;return(r==null||(t=r.ownerDocument)==null?void 0:t.defaultView)||window}function J(r){var t;return(t=(K(r)?r.ownerDocument:r.document)||window.document)==null?void 0:t.documentElement}function K(r){if(!V()){return false}return r instanceof Node||r instanceof B(r).Node}function Q(r){if(!V()){return false}return r instanceof Element||r instanceof B(r).Element}function U(r){if(!V()){return false}return r instanceof HTMLElement||r instanceof B(r).HTMLElement}function X(r){if(!V()||typeof ShadowRoot==="undefined"){return false}return r instanceof ShadowRoot||r instanceof B(r).ShadowRoot}function Y(r){var t=cr(r),n=t.overflow,e=t.overflowX,i=t.overflowY,a=t.display;return/auto|scroll|overlay|hidden|clip/.test(n+i+e)&&a!=="inline"&&a!=="contents"}function Z(r){return/^(table|td|th)$/.test(W(r))}function rr(r){try{if(r.matches(":popover-open")){return true}}catch(r){
91
+ return"#document"}function B(r){var t;return(r==null||(t=r.ownerDocument)==null?void 0:t.defaultView)||window}function J(r){var t;return(t=(K(r)?r.ownerDocument:r.document)||window.document)==null?void 0:t.documentElement}function K(r){if(!G()){return false}return r instanceof Node||r instanceof B(r).Node}function Q(r){if(!G()){return false}return r instanceof Element||r instanceof B(r).Element}function U(r){if(!G()){return false}return r instanceof HTMLElement||r instanceof B(r).HTMLElement}function X(r){if(!G()||typeof ShadowRoot==="undefined"){return false}return r instanceof ShadowRoot||r instanceof B(r).ShadowRoot}function Y(r){var t=cr(r),n=t.overflow,e=t.overflowX,i=t.overflowY,a=t.display;return/auto|scroll|overlay|hidden|clip/.test(n+i+e)&&a!=="inline"&&a!=="contents"}function Z(r){return/^(table|td|th)$/.test(W(r))}function rr(r){try{if(r.matches(":popover-open")){return true}}catch(r){
92
92
  // no-op
93
93
  }try{return r.matches(":modal")}catch(r){return false}}var tr=/transform|translate|scale|rotate|perspective|filter/;var nr=/paint|layout|strict|content/;var er=function(r){return!!r&&r!=="none"};var ir;function ar(r){var t=Q(r)?cr(r):r;
94
94
  // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
95
95
  // https://drafts.csswg.org/css-transforms-2/#individual-transforms
96
- return er(t.transform)||er(t.translate)||er(t.scale)||er(t.rotate)||er(t.perspective)||!or()&&(er(t.backdropFilter)||er(t.filter))||tr.test(t.willChange||"")||nr.test(t.contain||"")}function ur(r){var t=vr(r);while(U(t)&&!fr(t)){if(ar(t)){return t}else if(rr(t)){return null}t=vr(t)}return null}function or(){if(ir==null){ir=typeof CSS!=="undefined"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}return ir}function fr(r){return/^(html|body|#document)$/.test(W(r))}function cr(r){return B(r).getComputedStyle(r)}function sr(r){if(Q(r)){return{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}}return{scrollLeft:r.scrollX,scrollTop:r.scrollY}}function vr(r){if(W(r)==="html"){return r}var t=
96
+ return er(t.transform)||er(t.translate)||er(t.scale)||er(t.rotate)||er(t.perspective)||!or()&&(er(t.backdropFilter)||er(t.filter))||tr.test(t.willChange||"")||nr.test(t.contain||"")}function ur(r){var t=sr(r);while(U(t)&&!fr(t)){if(ar(t)){return t}else if(rr(t)){return null}t=sr(t)}return null}function or(){if(ir==null){ir=typeof CSS!=="undefined"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}return ir}function fr(r){return/^(html|body|#document)$/.test(W(r))}function cr(r){return B(r).getComputedStyle(r)}function vr(r){if(Q(r)){return{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}}return{scrollLeft:r.scrollX,scrollTop:r.scrollY}}function sr(r){if(W(r)==="html"){return r}var t=
97
97
  // Step into the shadow DOM of the parent of a slotted node.
98
98
  r.assignedSlot||
99
99
  // DOM Element detected.
@@ -101,38 +101,59 @@ r.parentNode||
101
101
  // ShadowRoot detected.
102
102
  X(r)&&r.host||
103
103
  // Fallback.
104
- J(r);return X(t)?t.host:t}function lr(r){var t=vr(r);if(fr(t)){return(r.ownerDocument||r).body}if(U(t)&&Y(t)){return t}return lr(t)}function dr(r,t,n){var e;if(t===void 0){t=[]}if(n===void 0){n=true}var i=lr(r);var a=i===((e=r.ownerDocument)==null?void 0:e.body);var u=B(i);if(a){var o=hr(u);return t.concat(u,u.visualViewport||[],Y(i)?i:[],o&&n?dr(o):[])}else{return t.concat(i,dr(i,[],n))}}function hr(r){return r.parent&&Object.getPrototypeOf(r.parent)?r.frameElement:null}function _r(r){var t=cr(r);
104
+ J(r);return X(t)?t.host:t}function lr(r){var t=sr(r);if(fr(t)){return(r.ownerDocument||r).body}if(U(t)&&Y(t)){return t}return lr(t)}function dr(r,t,n){var e;if(t===void 0){t=[]}if(n===void 0){n=true}var i=lr(r);var a=i===((e=r.ownerDocument)==null?void 0:e.body);var u=B(i);if(a){var o=hr(u);return t.concat(u,u.visualViewport||[],Y(i)?i:[],o&&n?dr(o):[])}else{return t.concat(i,dr(i,[],n))}}function hr(r){return r.parent&&Object.getPrototypeOf(r.parent)?r.frameElement:null}function _r(r){var t=cr(r);
105
105
  // In testing environments, the `width` and `height` properties are empty
106
106
  // strings for SVG elements, returning NaN. Fallback to `0` in this case.
107
- var n=parseFloat(t.width)||0;var e=parseFloat(t.height)||0;var i=U(r);var a=i?r.offsetWidth:n;var u=i?r.offsetHeight:e;var f=o(n)!==a||o(e)!==u;if(f){n=a;e=u}return{width:n,height:e,$:f}}function pr(r){return!Q(r)?r.contextElement:r}function yr(r){var t=pr(r);if(!U(t)){return c(1)}var n=t.getBoundingClientRect();var e=_r(t),i=e.width,a=e.height,u=e.$;var f=(u?o(n.width):n.width)/i;var s=(u?o(n.height):n.height)/a;
107
+ var n=parseFloat(t.width)||0;var e=parseFloat(t.height)||0;var i=U(r);var a=i?r.offsetWidth:n;var u=i?r.offsetHeight:e;var f=o(n)!==a||o(e)!==u;if(f){n=a;e=u}return{width:n,height:e,$:f}}function pr(r){return!Q(r)?r.contextElement:r}function yr(r){var t=pr(r);if(!U(t)){return c(1)}var n=t.getBoundingClientRect();var e=_r(t),i=e.width,a=e.height,u=e.$;var f=(u?o(n.width):n.width)/i;var v=(u?o(n.height):n.height)/a;
108
108
  // 0, NaN, or Infinity should always fallback to 1.
109
- if(!f||!Number.isFinite(f)){f=1}if(!s||!Number.isFinite(s)){s=1}return{x:f,y:s}}var gr=c(0);function mr(r){var t=B(r);if(!or()||!t.visualViewport){return gr}return{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function wr(r,t,n){if(t===void 0){t=false}if(!n||t&&n!==B(r)){return false}return t}function br(r,t,n,e){if(t===void 0){t=false}if(n===void 0){n=false}var i=r.getBoundingClientRect();var a=pr(r);var u=c(1);if(t){if(e){if(Q(e)){u=yr(e)}}else{u=yr(r)}}var o=wr(a,n,e)?mr(a):c(0);var f=(i.left+o.x)/u.x;var s=(i.top+o.y)/u.y;var v=i.width/u.x;var l=i.height/u.y;if(a){var d=B(a);var h=e&&Q(e)?B(e):e;var _=d;var p=hr(_);while(p&&e&&h!==_){var y=yr(p);var g=p.getBoundingClientRect();var m=cr(p);var w=g.left+(p.clientLeft+parseFloat(m.paddingLeft))*y.x;var b=g.top+(p.clientTop+parseFloat(m.paddingTop))*y.y;f*=y.x;s*=y.y;v*=y.x;l*=y.y;f+=w;s+=b;_=B(p);p=hr(_)}}return P({width:v,height:l,x:f,y:s})}
109
+ if(!f||!Number.isFinite(f)){f=1}if(!v||!Number.isFinite(v)){v=1}return{x:f,y:v}}var gr=c(0);function mr(r){var t=B(r);if(!or()||!t.visualViewport){return gr}return{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function wr(r,t,n){if(t===void 0){t=false}return!!n&&t&&n===B(r)}function br(r,t,n,e){if(t===void 0){t=false}if(n===void 0){n=false}var i=r.getBoundingClientRect();var a=pr(r);var u=c(1);if(t){if(e){if(Q(e)){u=yr(e)}}else{u=yr(r)}}var o=wr(a,n,e)?mr(a):c(0);var f=(i.left+o.x)/u.x;var v=(i.top+o.y)/u.y;var s=i.width/u.x;var l=i.height/u.y;if(a&&e){var d=B(a);var h=Q(e)?B(e):e;var _=d;var p=hr(_);while(p&&h!==_){var y=yr(p);var g=p.getBoundingClientRect();var m=cr(p);var w=g.left+(p.clientLeft+parseFloat(m.paddingLeft))*y.x;var b=g.top+(p.clientTop+parseFloat(m.paddingTop))*y.y;f*=y.x;v*=y.y;s*=y.x;l*=y.y;f+=w;v+=b;_=B(p);p=hr(_)}}return C({width:s,height:l,x:f,y:v})}
110
110
  // If <html> has a CSS width greater than the viewport, then this will be
111
111
  // incorrect for RTL.
112
- function xr(r,t){var n=sr(r).scrollLeft;if(!t){return br(J(r)).left+n}return t.left+n}function Ar(r,t,n){if(n===void 0){n=false}var e=r.getBoundingClientRect();var i=e.left+t.scrollLeft-(n?0:
113
- // RTL <body> scrollbar.
114
- xr(r,e));var a=e.top+t.scrollTop;return{x:i,y:a}}function Or(r){var t=r.elements,n=r.rect,e=r.offsetParent,i=r.strategy;var a=i==="fixed";var u=J(e);var o=t?rr(t.floating):false;if(e===u||o&&a){return n}var f={scrollLeft:0,scrollTop:0};var s=c(1);var v=c(0);var l=U(e);if(l||!l&&!a){if(W(e)!=="body"||Y(u)){f=sr(e)}if(U(e)){var d=br(e);s=yr(e);v.x=d.x+e.clientLeft;v.y=d.y+e.clientTop}}var h=u&&!l&&!a?Ar(u,f,true):c(0);return{width:n.width*s.x,height:n.height*s.y,x:n.x*s.x-f.scrollLeft*s.x+v.x+h.x,y:n.y*s.y-f.scrollTop*s.y+v.y+h.y}}function kr(r){return Array.from(r.getClientRects())}
112
+ function xr(r,t){var n=vr(r).scrollLeft;if(!t){return br(J(r)).left+n}return t.left+n}function Ar(r,t){var n=r.getBoundingClientRect();var e=n.left+t.scrollLeft-xr(r,n);var i=n.top+t.scrollTop;return{x:e,y:i}}function Sr(r){var t=r.elements,n=r.rect,e=r.offsetParent,i=r.strategy;var a=i==="fixed";var u=J(e);var o=t?rr(t.floating):false;if(e===u||o&&a){return n}var f={scrollLeft:0,scrollTop:0};var v=c(1);var s=c(0);var l=U(e);if(l||!a){if(W(e)!=="body"||Y(u)){f=vr(e)}if(l){var d=br(e);v=yr(e);s.x=d.x+e.clientLeft;s.y=d.y+e.clientTop}}var h=u&&!l&&!a?Ar(u,f):c(0);return{width:n.width*v.x,height:n.height*v.y,x:n.x*v.x-f.scrollLeft*v.x+s.x+h.x,y:n.y*v.y-f.scrollTop*v.y+s.y+h.y}}function Or(r){return r.getClientRects?Array.from(r.getClientRects()):[]}
115
113
  // Gets the entire size of the scrollable document area, even extending outside
116
114
  // of the `<html>` and `<body>` rect bounds if horizontally scrollable.
117
- function Sr(r){var t=J(r);var n=sr(r);var e=r.ownerDocument.body;var i=u(t.scrollWidth,t.clientWidth,e.scrollWidth,e.clientWidth);var a=u(t.scrollHeight,t.clientHeight,e.scrollHeight,e.clientHeight);var o=-n.scrollLeft+xr(r);var f=-n.scrollTop;if(cr(e).direction==="rtl"){o+=u(t.clientWidth,e.clientWidth)-i}return{width:i,height:a,x:o,y:f}}function Rr(r,t){var n=B(r);var e=J(r);var i=n.visualViewport;var a=e.clientWidth;var u=e.clientHeight;var o=0;var f=0;if(i){a=i.width;u=i.height;var c=or();if(!c||c&&t==="fixed"){o=i.offsetLeft;f=i.offsetTop}}return{width:a,height:u,x:o,y:f}}
115
+ function kr(r){var t=vr(r);var n=r.ownerDocument.body;var e=u(r.scrollWidth,r.clientWidth,n.scrollWidth,n.clientWidth);var i=u(r.scrollHeight,r.clientHeight,n.scrollHeight,n.clientHeight);var a=-t.scrollLeft+xr(r);var o=-t.scrollTop;if(cr(n).direction==="rtl"){a+=u(r.clientWidth,n.clientWidth)-e}return{width:e,height:i,x:a,y:o}}
116
+ // Safety check: ensure the scrollbar space is reasonable in case this
117
+ // calculation is affected by unusual styles.
118
+ // Most scrollbars leave 15-18px of space.
119
+ var Fr=25;function Rr(r,t,n){if(n===void 0){n="viewport"}var e=n==="layoutViewport";var i=B(r);var a=J(r);var u=i.visualViewport;var o=a.clientWidth;var f=a.clientHeight;var c=0;var v=0;if(u){
120
+ // Client coordinates are relative to the layout viewport, except in
121
+ // WebKit with an `absolute` strategy, where they are relative to the
122
+ // visual viewport.
123
+ var s=!or()||t==="fixed";if(e){if(!s){c=-u.offsetLeft;v=-u.offsetTop}}else{o=u.width;f=u.height;if(s){c=u.offsetLeft;v=u.offsetTop}}}var l=xr(a);
124
+ // `scrollbar-gutter: stable` on the <html> reserves gutter space that shrinks
125
+ // the visual width but isn't reflected in `html.clientWidth`, so subtract it.
126
+ // Only the inline-end (right) gutter can hold the scrollbar; `both-edges` also
127
+ // reserves an empty inline-start gutter that clips nothing, so exclude just
128
+ // the one scrollbar-side gutter — halve the measured (two-gutter) total. A
129
+ // left-side scrollbar (`windowScrollbarX > 0`) is already handled by
130
+ // `getHTMLOffset`/`visualViewport.width`; skip it here.
131
+ if(l<=0){var d=a.ownerDocument;var h=d.body;var _=getComputedStyle(h);var p=d.compatMode==="CSS1Compat"?parseFloat(_.marginLeft)+parseFloat(_.marginRight)||0:0;var y=Math.abs(a.clientWidth-h.clientWidth-p);var g=getComputedStyle(a).scrollbarGutter==="stable both-edges"?y/2:y;if(g<=Fr){o-=g}}return{width:o,height:f,x:c,y:v}}
118
132
  // Returns the inner client rect, subtracting scrollbars if present.
119
- function jr(r,t){var n=br(r,true,t==="fixed");var e=n.top+r.clientTop;var i=n.left+r.clientLeft;var a=U(r)?yr(r):c(1);var u=r.clientWidth*a.x;var o=r.clientHeight*a.y;var f=i*a.x;var s=e*a.y;return{width:u,height:o,x:f,y:s}}function Fr(r,t,n){var e;if(t==="viewport"){e=Rr(r,n)}else if(t==="document"){e=Sr(J(r))}else if(Q(t)){e=jr(t,n)}else{var i=mr(r);e={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return P(e)}function Tr(r,t){var n=vr(r);if(n===t||!Q(n)||fr(n)){return false}return cr(n).position==="fixed"||Tr(n,t)}
133
+ function jr(r,t){var n=br(r,true,t==="fixed");var e=n.top+r.clientTop;var i=n.left+r.clientLeft;var a=yr(r);var u=r.clientWidth*a.x;var o=r.clientHeight*a.y;var f=i*a.x;var c=e*a.y;return{width:u,height:o,x:f,y:c}}function Tr(r,t,n){var e;if(t==="viewport"||t==="layoutViewport"){e=Rr(r,n,t)}else if(t==="document"){e=kr(J(r))}else if(Q(t)){e=jr(t,n)}else{var i=mr(r);e={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return C(e)}
120
134
  // A "clipping ancestor" is an `overflow` element with the characteristic of
121
135
  // clipping (or hiding) child elements. This returns all clipping ancestors
122
136
  // of the given element up the tree.
123
- function Pr(r,t){var n=t.get(r);if(n){return n}var e=dr(r,[],false).filter((function(r){return Q(r)&&W(r)!=="body"}));var i=null;var a=cr(r).position==="fixed";var u=a?vr(r):r;
137
+ function Cr(r,t){var n=t.get(r);if(n){return n}var e=dr(r,[],false).filter((function(r){return Q(r)&&W(r)!=="body"}));var i=null;var a=cr(r).position==="fixed";var u=a?sr(r):r;
124
138
  // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
125
- while(Q(u)&&!fr(u)){var o=cr(u);var f=ar(u);if(!f&&o.position==="fixed"){i=null}var c=a?!f&&!i:!f&&o.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Y(u)&&!f&&Tr(r,u);if(c){
139
+ while(Q(u)&&!fr(u)){var o=cr(u);var f=ar(u);
140
+ // Position of the containing block chain below the current node. A fixed
141
+ // element whose containing block hasn't been found yet is a fixed chain.
142
+ var c=i?i.position:a?"fixed":"";
143
+ // A non-containing ancestor does not clip the element when the chain
144
+ // below it escapes it: a fixed chain escapes all ancestors up to the
145
+ // next containing block, an absolute chain escapes static ancestors.
146
+ var v=!f&&(c==="fixed"||c==="absolute"&&o.position==="static");if(v){
126
147
  // Drop non-containing blocks.
127
148
  e=e.filter((function(r){return r!==u}))}else{
128
- // Record last containing block for next iteration.
129
- i=o}u=vr(u)}t.set(r,e);return e}
149
+ // The kept node carries the chain position for the next iteration.
150
+ i=o}u=sr(u)}t.set(r,e);return e}
130
151
  // Gets the maximum area that the element is visible in due to any number of
131
152
  // clipping ancestors.
132
- function Mr(r){var t=r.element,n=r.boundary,e=r.rootBoundary,i=r.strategy;var o=n==="clippingAncestors"?rr(t)?[]:Pr(t,this._c):[].concat(n);var f=__spreadArray(__spreadArray([],o,true),[e],false);var c=f[0];var s=f.reduce((function(r,n){var e=Fr(t,n,i);r.top=u(e.top,r.top);r.right=a(e.right,r.right);r.bottom=a(e.bottom,r.bottom);r.left=u(e.left,r.left);return r}),Fr(t,c,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function Er(r){var t=_r(r),n=t.width,e=t.height;return{width:n,height:e}}function Lr(r,t,n){var e=U(t);var i=J(t);var a=n==="fixed";var u=br(r,true,a,t);var o={scrollLeft:0,scrollTop:0};var f=c(0);if(e||!e&&!a){if(W(t)!=="body"||Y(i)){o=sr(t)}if(e){var s=br(t,true,a,t);f.x=s.x+t.clientLeft;f.y=s.y+t.clientTop}else if(i){
153
+ function Pr(r){var t=r.element,n=r.boundary,e=r.rootBoundary,i=r.strategy;var o=n==="clippingAncestors"?rr(t)?[]:Cr(t,this._c):[].concat(n);var f=__spreadArray(__spreadArray([],o,true),[e],false);var c=Tr(t,f[0],i);var v=c.top;var s=c.right;var l=c.bottom;var d=c.left;for(var h=1;h<f.length;h++){var _=Tr(t,f[h],i);v=u(_.top,v);s=a(_.right,s);l=a(_.bottom,l);d=u(_.left,d)}return{width:s-d,height:l-v,x:d,y:v}}function Mr(r){var t=_r(r),n=t.width,e=t.height;return{width:n,height:e}}function zr(r,t,n){var e=U(t);var i=J(t);var a=n==="fixed";var u=br(r,true,a,t);var o={scrollLeft:0,scrollTop:0};var f=c(0);if(e||!a){if(W(t)!=="body"||Y(i)){o=vr(t)}if(e){var v=br(t,true,a,t);f.x=v.x+t.clientLeft;f.y=v.y+t.clientTop}}
133
154
  // If the <body> scrollbar appears on the left (e.g. RTL systems). Use
134
155
  // Firefox with layout.scrollbar.side = 3 in about:config to test this.
135
- f.x=xr(i)}}var v=i&&!e&&!a?Ar(i,o):c(0);var l=u.left+o.scrollLeft-f.x-v.x;var d=u.top+o.scrollTop-f.y-v.y;return{x:l,y:d,width:u.width,height:u.height}}function Cr(r){return cr(r).position==="static"}function Dr(r,t){if(!U(r)||cr(r).position==="fixed"){return null}if(t){return t(r)}var n=r.offsetParent;
156
+ if(!e&&i){f.x=xr(i)}var s=i&&!e&&!a?Ar(i,o):c(0);var l=u.left+o.scrollLeft-f.x-s.x;var d=u.top+o.scrollTop-f.y-s.y;return{x:l,y:d,width:u.width,height:u.height}}function Er(r){return cr(r).position==="static"}function Lr(r,t){if(!U(r)||cr(r).position==="fixed"){return null}if(t){return t(r)}var n=r.offsetParent;
136
157
  // Firefox returns the <html> element as the offsetParent if it's non-static,
137
158
  // while Chrome and Safari return the <body> element. The <body> element must
138
159
  // be used to perform the correct calculations even if the <html> element is
@@ -140,17 +161,28 @@ f.x=xr(i)}}var v=i&&!e&&!a?Ar(i,o):c(0);var l=u.left+o.scrollLeft-f.x-v.x;var d=
140
161
  if(J(r)===n){n=n.ownerDocument.body}return n}
141
162
  // Gets the closest ancestor positioned element. Handles some edge cases,
142
163
  // such as table ancestors and cross browser bugs.
143
- function Ir(r,t){var n=B(r);if(rr(r)){return n}if(!U(r)){var e=vr(r);while(e&&!fr(e)){if(Q(e)&&!Cr(e)){return e}e=vr(e)}return n}var i=Dr(r,t);while(i&&Z(i)&&Cr(i)){i=Dr(i,t)}if(i&&fr(i)&&Cr(i)&&!ar(i)){return n}return i||ur(r)||n}var zr=function(r){return __awaiter(this,void 0,void 0,(function(){var t,n,e,i,a;var u;return __generator(this,(function(o){switch(o.label){case 0:t=this.getOffsetParent||Ir;n=this.getDimensions;return[4/*yield*/,n(r.floating)];case 1:e=o.sent();u={};i=Lr;a=[r.reference];return[4/*yield*/,t(r.floating)];case 2:return[2/*return*/,(u.reference=i.apply(void 0,a.concat([o.sent(),r.strategy])),u.floating={x:0,y:0,width:e.width,height:e.height},u)]}}))}))};function Nr(r){return cr(r).direction==="rtl"}var $r={convertOffsetParentRelativeRectToViewportRelativeRect:Or,getDocumentElement:J,getClippingRect:Mr,getOffsetParent:Ir,getElementRects:zr,getClientRects:kr,getDimensions:Er,getScale:yr,isElement:Q,isRTL:Nr};
164
+ function Dr(r,t){var n=B(r);if(rr(r)){return n}if(!U(r)){var e=sr(r);while(e&&!fr(e)){if(Q(e)&&!Er(e)){return e}e=sr(e)}return n}var i=Lr(r,t);while(i&&Z(i)&&Er(i)){i=Lr(i,t)}if(i&&fr(i)&&Er(i)&&!ar(i)){return n}return i||ur(r)||n}var Ir=function(r){return __awaiter(this,void 0,void 0,(function(){var t,n,e,i,a;var u;return __generator(this,(function(o){switch(o.label){case 0:t=this.getOffsetParent||Dr;n=this.getDimensions;return[4/*yield*/,n(r.floating)];case 1:e=o.sent();u={};i=zr;a=[r.reference];return[4/*yield*/,t(r.floating)];case 2:return[2/*return*/,(u.reference=i.apply(void 0,a.concat([o.sent(),r.strategy])),u.floating={x:0,y:0,width:e.width,height:e.height},u)]}}))}))};function Nr(r){return cr(r).direction==="rtl"}var Vr={convertOffsetParentRelativeRectToViewportRelativeRect:Sr,getDocumentElement:J,getClippingRect:Pr,getOffsetParent:Dr,getElementRects:Ir,getClientRects:Or,getDimensions:Mr,getScale:yr,isElement:Q,isRTL:Nr};function $r(r,t){return r.x===t.x&&r.y===t.y&&r.width===t.width&&r.height===t.height}
144
165
  // https://samthor.au/2021/observing-dom/
145
- function qr(r,t){var n=null;var e;var i=J(r);function o(){var r;clearTimeout(e);(r=n)==null||r.disconnect();n=null}function c(s,v){if(s===void 0){s=false}if(v===void 0){v=1}o();var l=r.getBoundingClientRect(),d=l.left,h=l.top,_=l.width,p=l.height;if(!s){t()}if(!_||!p){return}var y=f(h);var g=f(i.clientWidth-(d+_));var m=f(i.clientHeight-(h+p));var w=f(d);var b=-y+"px "+-g+"px "+-m+"px "+-w+"px";var x={rootMargin:b,threshold:u(0,a(1,v))||1};var A=true;function O(r){var t=r[0].intersectionRatio;if(t!==v){if(!A){return c()}if(!t){
146
- // If the reference is clipped, the ratio is 0. Throttle the refresh
147
- // to prevent an infinite loop of updates.
148
- e=setTimeout((function(){c(false,1e-7)}),1e3)}else{c(false,t)}}A=false}
166
+ function qr(r,t,n){var e=null;var i;var o=J(r);function c(){var r;clearTimeout(i);(r=e)==null||r.disconnect();e=null}function v(n,s){if(n===void 0){n=false}if(s===void 0){s=1}c();var l=r.getBoundingClientRect();var d=l.left,h=l.top,_=l.width,p=l.height;if(!n){t()}if(!_||!p){return}var y=f(h);var g=f(o.clientWidth-(d+_));var m=f(o.clientHeight-(h+p));var w=f(d);var b=-y+"px "+-g+"px "+-m+"px "+-w+"px";var x={rootMargin:b,threshold:u(0,a(1,s))||1};var A=true;function S(t){var n=t[0].intersectionRatio;
167
+ // The entry is a snapshot, so the reference may have moved since the
168
+ // intersection was computed (under performance constraints, or between
169
+ // consecutive frames of a multi-frame layout shift). The reported ratio
170
+ // and the observed area are stale in that case and cannot be trusted to
171
+ // detect subsequent movement, so refresh regardless of the ratio.
172
+ if(!$r(l,r.getBoundingClientRect())){return v()}if(n!==s){if(!A){return v()}if(!n){
173
+ // If the reference is clipped in place, the ratio is 0. Throttle
174
+ // the refresh to prevent an infinite loop of updates.
175
+ i=setTimeout((function(){v(false,1e-7)}),1e3)}else{v(false,n)}}A=false}
149
176
  // Older browsers don't support a `document` as the root and will throw an
150
177
  // error.
151
- try{n=new IntersectionObserver(O,__assign(__assign({},x),{
178
+ try{e=new IntersectionObserver(S,__assign(__assign({},x),{
152
179
  // Handle <iframe>s
153
- root:i.ownerDocument}))}catch(r){n=new IntersectionObserver(O,x)}n.observe(r)}c(true);return o}
180
+ root:o.ownerDocument}))}catch(r){e=new IntersectionObserver(S,x)}e.observe(r)}var s=B(r);
181
+ // The window is a resize ancestor, so when `ancestorResize` is enabled its
182
+ // listener already runs the update on resize. Here we only need to rebuild
183
+ // the `IntersectionObserver` for the new root size, skipping a redundant
184
+ // update. When `ancestorResize` is disabled, this becomes the sole update.
185
+ var l=function(){return v(n)};s.addEventListener("resize",l);v(true);return function(){s.removeEventListener("resize",l);c()}}
154
186
  /**
155
187
  * Automatically updates the position of the floating element when necessary.
156
188
  * Should only be called when the floating element is mounted on the DOM or
@@ -158,44 +190,44 @@ root:i.ownerDocument}))}catch(r){n=new IntersectionObserver(O,x)}n.observe(r)}c(
158
190
  * @returns cleanup function that should be invoked when the floating element is
159
191
  * removed from the DOM or hidden from the screen.
160
192
  * @see https://floating-ui.com/docs/autoUpdate
161
- */function Hr(r,t,n,e){if(e===void 0){e={}}var i=e.ancestorScroll,a=i===void 0?true:i,u=e.ancestorResize,o=u===void 0?true:u,f=e.elementResize,c=f===void 0?typeof ResizeObserver==="function":f,s=e.layoutShift,v=s===void 0?typeof IntersectionObserver==="function":s,l=e.animationFrame,d=l===void 0?false:l;var h=pr(r);var _=a||o?__spreadArray(__spreadArray([],h?dr(h):[],true),dr(t),true):[];_.forEach((function(r){a&&r.addEventListener("scroll",n,{passive:true});o&&r.addEventListener("resize",n)}));var p=h&&v?qr(h,n):null;var y=-1;var g=null;if(c){g=new ResizeObserver((function(r){var e=r[0];if(e&&e.target===h&&g){
193
+ */function Hr(r,t,n,e){if(e===void 0){e={}}var i=e.ancestorScroll,a=i===void 0?true:i,u=e.ancestorResize,o=u===void 0?true:u,f=e.elementResize,c=f===void 0?typeof ResizeObserver==="function":f,v=e.layoutShift,s=v===void 0?typeof IntersectionObserver==="function":v,l=e.animationFrame,d=l===void 0?false:l;var h=pr(r);var _=a||o?__spreadArray(__spreadArray([],h?dr(h):[],true),t?dr(t):[],true):[];_.forEach((function(r){a&&r.addEventListener("scroll",n);o&&r.addEventListener("resize",n)}));var p=h&&s?qr(h,n,o):null;var y=-1;var g=null;if(c){g=new ResizeObserver((function(r){var e=r[0];if(e&&e.target===h&&g&&t){
162
194
  // Prevent update loops when using the `size` middleware.
163
195
  // https://github.com/floating-ui/floating-ui/issues/1740
164
- g.unobserve(t);cancelAnimationFrame(y);y=requestAnimationFrame((function(){var r;(r=g)==null||r.observe(t)}))}n()}));if(h&&!d){g.observe(h)}g.observe(t)}var m;var w=d?br(r):null;if(d){b()}function b(){var t=br(r);if(w&&(t.x!==w.x||t.y!==w.y||t.width!==w.width||t.height!==w.height)){n()}w=t;m=requestAnimationFrame(b)}n();return function(){var r;_.forEach((function(r){a&&r.removeEventListener("scroll",n);o&&r.removeEventListener("resize",n)}));p==null||p();(r=g)==null||r.disconnect();g=null;if(d){cancelAnimationFrame(m)}}}
196
+ g.unobserve(t);cancelAnimationFrame(y);y=requestAnimationFrame((function(){var r;(r=g)==null||r.observe(t)}))}n()}));if(h&&!d){g.observe(h)}if(t){g.observe(t)}}var m;var w=d?br(r):null;if(d){b()}function b(){var t=br(r);if(w&&!$r(w,t)){n()}w=t;m=requestAnimationFrame(b)}n();return function(){var r;_.forEach((function(r){a&&r.removeEventListener("scroll",n);o&&r.removeEventListener("resize",n)}));p==null||p();(r=g)==null||r.disconnect();g=null;if(d){cancelAnimationFrame(m)}}}
165
197
  /**
166
198
  * Modifies the placement by translating the floating element along the
167
199
  * specified axes.
168
200
  * A number (shorthand for `mainAxis` or distance), or an axes configuration
169
201
  * object may be passed.
170
202
  * @see https://floating-ui.com/docs/offset
171
- */var Gr=r("o",H);
203
+ */var Gr=r("o",q);
172
204
  /**
173
205
  * Optimizes the visibility of the floating element by choosing the placement
174
206
  * that has the most space available automatically, without needing to specify a
175
207
  * preferred placement. Alternative to `flip`.
176
208
  * @see https://floating-ui.com/docs/autoPlacement
177
- */var Vr=r("a",z);
209
+ */var Wr=r("a",I);
178
210
  /**
179
211
  * Optimizes the visibility of the floating element by shifting it in order to
180
212
  * keep it in view when it will overflow the clipping boundary.
181
213
  * @see https://floating-ui.com/docs/shift
182
- */var Wr=r("s",G);
214
+ */var Br=r("s",H);
183
215
  /**
184
216
  * Optimizes the visibility of the floating element by flipping the `placement`
185
217
  * in order to keep it in view when the preferred placement(s) will overflow the
186
218
  * clipping boundary. Alternative to `autoPlacement`.
187
219
  * @see https://floating-ui.com/docs/flip
188
- */var Br=r("f",N);
220
+ */var Jr=r("f",N);
189
221
  /**
190
222
  * Provides data to position an inner element of the floating element so that it
191
223
  * appears centered to the reference element.
192
224
  * @see https://floating-ui.com/docs/arrow
193
- */var Jr=r("b",D);
225
+ */var Kr=r("b",L);
194
226
  /**
195
227
  * Computes the `x` and `y` coordinates that will place the floating element
196
228
  * next to a given reference element.
197
- */var Kr=r("c",(function(r,t,n){
229
+ */var Qr=r("c",(function(r,t,n){
198
230
  // This caches the expensive `getClippingElementAncestors` function so that
199
231
  // multiple lifecycle resets re-use the same result. It only lives for a
200
232
  // single call. If other functions become expensive, we can add them as well.
201
- var e=new Map;var i=__assign({platform:$r},n);var a=__assign(__assign({},i.platform),{_c:e});return C(r,t,__assign(__assign({},i),{platform:a}))}))}}}));
233
+ var e=new Map;var i=n!=null?n:{};var a=__assign(__assign(__assign({},Vr),i.platform),{_c:e});return E(r,t,__assign(__assign({},i),{platform:a}))}))}}}));
@@ -0,0 +1 @@
1
+ import{a as t,o as i,f as s,s as e,b as r,c as h,d as o}from"./p-JMPfVnGv.js";import{c as a}from"./p-D8eZRaSQ.js";import{s as n,h as l}from"./p-CSCy6TMW.js";import{B as c}from"./p-BxPbQB28.js";const d=["dialog","grid","listbox","menu","tree"],m=["button","combobox","link","menuitem","tab","treeitem"],p=["A","BUTTON","INPUT","SELECT","SUMMARY","TEXTAREA"];class u{constructor(a,u,b="menu"){this._wired=!1,this._written=[],this._labelledByOurs=!1,this.unwireCaller=()=>{this._written.forEach((t=>this._caller.removeAttribute(t))),this._written=[],this._labelledByOurs&&(this._host.removeAttribute("aria-labelledby"),this._labelledByOurs=!1)},this.writeOnCaller=(t,i)=>{this._caller.hasAttribute(t)||(this._caller.setAttribute(t,i),this._written.push(t))},this.sameRoot=()=>this._caller.getRootNode()===this._host.getRootNode(),this.callerAcceptsWiring=()=>{const t=this._caller.getAttribute("role");return null!==t?m.includes(t):p.includes(this._caller.tagName)},this.wireCaller=async()=>{var t,i,s;const e=this._caller;if(c.isBrowser&&e.tagName.startsWith("MDS-")&&(await customElements.whenDefined(e.tagName.toLowerCase()),await(null===(i=(t=e).componentOnReady)||void 0===i?void 0:i.call(t))),e!==this._caller)return;if("tooltip"===this._role){if(this.sameRoot()){const t=n(this._host,"id",l("mds-tooltip"));this.writeOnCaller("label"===this._host.relation?"aria-labelledby":"aria-describedby",t)}return}if(!this.callerAcceptsWiring())return;if(this.sameRoot()){const t=n(this._host,"id",l("mds-dropdown")),i=n(e,"id",l("mds-dropdown-caller"));this.writeOnCaller("aria-controls",t),this._labelledByOurs=!this._host.hasAttribute("aria-labelledby"),n(this._host,"aria-labelledby",i)}const r=null!==(s=this._host.getAttribute("role"))&&void 0!==s?s:"";d.includes(r)&&this.writeOnCaller("aria-haspopup",r),e.hasAttribute("aria-expanded")||this._written.push("aria-expanded"),this._wired=!0,this.syncExpanded(this._host.visible)},this.arrowInset=(t,i)=>{const{arrow:s}=t,e={bottom:"",left:"",right:"",top:""};if(void 0===s)return{};switch(i){case"bottom":e.left=null!==s.x?`${s.x}px`:"",e.top="100%";break;case"left":e.right="100%",e.top=null!==s.y?`${s.y}px`:"";break;case"right":e.left="100%",e.top=null!==s.y?`${s.y}px`:"";break;case"top":e.left=null!==s.x?`${s.x}px`:"",e.top=""}return e},this.arrowTransform=t=>{let i=!this._host.hideArrow&&this._host.visible?"scale(1)":"scale(0)";switch(t){case"bottom":i=`rotate(180deg) ${i} translate(0, -100%)`;break;case"left":i=`rotate(-90deg) ${i} translate(50%, -50%)`;break;case"right":i=`rotate(90deg) ${i} translate(-50%, -50%)`;break;case"top":i=`rotate(0deg) ${i} translate(0, 0)`}return{transform:i}},this.arrowTransformOrigin=t=>{switch(t){case"bottom":default:return{transformOrigin:"center top"};case"left":return{transformOrigin:"right center"};case"right":return{transformOrigin:"left center"};case"top":return{transformOrigin:"center bottom"}}},this.arrowOrigin=(t,i)=>{const{arrow:s}=i;if(!this.arrowEl||this._host.hideArrow||void 0===s)return null;const e=t.split("-")[0];if(null!=s.x){const t=s.x+this.arrowEl.offsetWidth/2;if("bottom"===e)return`${t}px top`;if("top"===e)return`${t}px bottom`}if(null!=s.y){const t=s.y+this.arrowEl.offsetHeight/2;if("right"===e)return`left ${t}px`;if("left"===e)return`right ${t}px`}return null},this.convertToTransformOrigin=t=>({top:"center bottom",right:"left center",bottom:"center top",left:"right center","bottom-end":"top right","bottom-start":"top left","left-end":"right bottom","left-start":"right top","right-end":"left bottom","right-start":"left top","top-end":"bottom right","top-start":"bottom left"}[t]),this.calculatePosition=()=>{if(!this._caller)return;const o=new Array,a={};this._host.shiftPadding&&(a.padding=this._host.shiftPadding),this._host.disableAutoPlacement||o.push(t()),this._host.offset&&o.push(i(this._host.offset)),this._host.disableAutoPlacement&&this._host.flip&&o.push(s(a)),this._host.disableShift||o.push(e(a)),this.arrowEl&&!this._host.hideArrow&&o.push(r({element:this.arrowEl,padding:this._host.arrowPadding})),h(this._caller,this._host,{middleware:o,placement:this._host.placement,strategy:this._host.strategy}).then((({x:t,y:i,placement:s,middlewareData:e})=>{var r;const h=!this._host.hasAttribute("data-floating-placed");Object.assign(this._host.style,{left:`${t}px`,top:`${i}px`,transformOrigin:null!==(r=this.arrowOrigin(s,e))&&void 0!==r?r:this.convertToTransformOrigin(s),position:this._host.strategy}),h&&requestAnimationFrame((()=>this._host.setAttribute("data-floating-placed","")));const o={},a={top:"bottom",right:"left",bottom:"top",left:"right"}[s.split("-")[0]];a&&this.arrowEl&&(Object.assign(o,this.arrowTransform(a)),Object.assign(o,this.arrowInset(e,a)),Object.assign(o,this.arrowTransformOrigin(a)),Object.assign(this.arrowEl.style,o))}))},this.startWhenMeasurable=t=>{this._host.visible&&(0===this._host.offsetWidth&&t>0?requestAnimationFrame((()=>this.startWhenMeasurable(t-1))):this.cleanupAutoUpdate=o(this._caller,this._host,this.calculatePosition))},this._host=a,this.arrowEl=u,this._role=b}updateCaller(t){var i,s,e;const r=null!==(e=null===(s=null===(i=this._host.parentElement)||void 0===i?void 0:i.shadowRoot)||void 0===s?void 0:s.querySelector(t))&&void 0!==e?e:this._host.getRootNode().querySelector(t);return r?(this._caller&&this._caller!==r&&this.unwireCaller(),this._caller=r,this._wired=!1,n(this._host,"role",this._role),this.wireCaller(),r):(console.warn(`FloatingController: target not found: ${t}`),null)}rewire(){this._caller&&(this.unwireCaller(),this._wired=!1,this.wireCaller())}syncExpanded(t){this._wired&&this._caller.setAttribute("aria-expanded",`${t}`)}updatePosition(){this._host.visible&&(this.dismiss(),this.startWhenMeasurable(3))}dismiss(){this.cleanupAutoUpdate&&this.cleanupAutoUpdate()}}class b{constructor(t){this.defaultBackdropId="magma-backdrop",this.backdropBackgroundVisible="rgba(var(--magma-backdrop-color, 0 0 0) / var(--magma-backdrop-opacity, 0.1))",this.backdropBackgroundHidden="rgba(var(--magma-backdrop-color, 0 0 0) / 0)",this.backdropId=null!=t?t:this.defaultBackdropId,this.cssBackdropZIndex=`var(--${this.backdropId}-z-index, 4000)`,this.cssBackdropDuration=`var(--${this.backdropId}-animation-duration, 300ms)`}attachBackdrop(){this.backdropEl||(this.backdropEl=document.createElement("div"),this.backdropEl.className=this.backdropId,this.backdropEl.style.inset="0",this.backdropEl.style.pointerEvents="none",this.backdropEl.style.position="fixed",this.backdropEl.style.transition=`background-color ${this.cssBackdropDuration} ease-out`,this.backdropEl.style.zIndex=this.cssBackdropZIndex),this.backdropEl.style.backgroundColor=this.backdropBackgroundHidden,document.body.appendChild(this.backdropEl),clearTimeout(this.backdropTimer),this.backdropTimer=setTimeout((()=>{this.backdropEl.style.backgroundColor=this.backdropBackgroundVisible}),1)}detachBackdrop(){this.backdropEl&&(this.backdropEl.style.backgroundColor="transparent",clearTimeout(this.backdropTimer),this.backdropTimer=setTimeout((()=>{this.backdropEl.remove()}),a(this.cssBackdropDuration)))}}export{b as B,u as F}
@@ -0,0 +1 @@
1
+ System.register([],(function(t){"use strict";return{execute:function(){t("g",e);function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t["default"]:t}}}}));
@@ -1,4 +1,4 @@
1
- var __awaiter=this&&this.__awaiter||function(t,i,r,e){function n(t){return t instanceof r?t:new r((function(i){i(t)}))}return new(r||(r=Promise))((function(r,o){function a(t){try{u(e.next(t))}catch(t){o(t)}}function s(t){try{u(e["throw"](t))}catch(t){o(t)}}function u(t){t.done?r(t.value):n(t.value).then(a,s)}u((e=e.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},e,n,o,a=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return a.next=s(0),a["throw"]=s(1),a["return"]=s(2),typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(t){return function(i){return u([t,i])}}function u(s){if(e)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(r=0)),r)try{if(e=1,n&&(o=s[0]&2?n["return"]:s[0]?n["throw"]||((o=n["return"])&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;if(n=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;n=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(o=r.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){r.label=s[1];break}if(s[0]===6&&r.label<o[1]){r.label=o[1];o=s;break}if(o&&r.label<o[2]){r.label=o[2];r.ops.push(s);break}if(o[2])r.ops.pop();r.trys.pop();continue}s=i.call(t,r)}catch(t){s=[6,t];n=0}finally{e=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-Dg8nxRUX.system.js","./p-_X0N_X__.system.js","./p-CYRMc5KW.system.js","./p-DaONbL_w.system.js"],(function(t){"use strict";var i,r,e,n,o,a,s,u,f,c,h;return{setters:[function(t){i=t.a;r=t.o;e=t.f;n=t.s;o=t.b;a=t.c;s=t.d},function(t){u=t.c},function(t){f=t.s;c=t.h},function(t){h=t.B}],execute:function(){
1
+ var __awaiter=this&&this.__awaiter||function(t,i,r,e){function n(t){return t instanceof r?t:new r((function(i){i(t)}))}return new(r||(r=Promise))((function(r,o){function a(t){try{u(e.next(t))}catch(t){o(t)}}function s(t){try{u(e["throw"](t))}catch(t){o(t)}}function u(t){t.done?r(t.value):n(t.value).then(a,s)}u((e=e.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},e,n,o,a=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return a.next=s(0),a["throw"]=s(1),a["return"]=s(2),typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(t){return function(i){return u([t,i])}}function u(s){if(e)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(r=0)),r)try{if(e=1,n&&(o=s[0]&2?n["return"]:s[0]?n["throw"]||((o=n["return"])&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;if(n=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;n=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(o=r.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){r.label=s[1];break}if(s[0]===6&&r.label<o[1]){r.label=o[1];o=s;break}if(o&&r.label<o[2]){r.label=o[2];r.ops.push(s);break}if(o[2])r.ops.pop();r.trys.pop();continue}s=i.call(t,r)}catch(t){s=[6,t];n=0}finally{e=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-BcYSdbK0.system.js","./p-_X0N_X__.system.js","./p-CYRMc5KW.system.js","./p-DaONbL_w.system.js"],(function(t){"use strict";var i,r,e,n,o,a,s,u,f,c,h;return{setters:[function(t){i=t.a;r=t.o;e=t.f;n=t.s;o=t.b;a=t.c;s=t.d},function(t){u=t.c},function(t){f=t.s;c=t.h},function(t){h=t.B}],execute:function(){
2
2
  /** Roles of a popup that `aria-haspopup` knows how to name: a panel that calls itself a `group` has none */
3
3
  var l=["dialog","grid","listbox","menu","tree"];
4
4
  /**
@@ -26,12 +26,14 @@ var l=["dialog","grid","listbox","menu","tree"];
26
26
  * of the caller, which names no element at all, on both sides and towards the caller itself.
27
27
  * Our own callers are waited for first: an `mds-button` writes its `role="button"` in its own
28
28
  * `componentDidLoad`, and which of the two components loads first is not guaranteed.
29
- */this.wireCaller=function(){return __awaiter(p,void 0,void 0,(function(){var t,i,r,e,n,o,a,s;return __generator(this,(function(u){switch(u.label){case 0:e=this._caller;if(!(h.isBrowser&&e.tagName.startsWith("MDS-")))return[3/*break*/,3];return[4/*yield*/,customElements.whenDefined(e.tagName.toLowerCase())];case 1:u.sent();return[4/*yield*/,(i=(t=e).componentOnReady)===null||i===void 0?void 0:i.call(t)];case 2:u.sent();u.label=3;case 3:
29
+ */this.wireCaller=function(){return __awaiter(p,void 0,void 0,(function(){var t,i,r,e,n,o,a,s,u;return __generator(this,(function(d){switch(d.label){case 0:e=this._caller;if(!(h.isBrowser&&e.tagName.startsWith("MDS-")))return[3/*break*/,3];return[4/*yield*/,customElements.whenDefined(e.tagName.toLowerCase())];case 1:d.sent();return[4/*yield*/,(i=(t=e).componentOnReady)===null||i===void 0?void 0:i.call(t)];case 2:d.sent();d.label=3;case 3:
30
30
  // a target change while we waited has already wired another caller
31
31
  if(e!==this._caller)return[2/*return*/];
32
- // a tooltip is not a popup its caller controls: it only describes it, and a description
33
- // reaches a screen reader whatever role the caller has, generic included
34
- if(this._role==="tooltip"){if(this.sameRoot()){n=f(this._host,"id",c("mds-tooltip"));this.writeOnCaller("aria-describedby",n)}return[2/*return*/]}if(!this.callerAcceptsWiring())return[2/*return*/];if(this.sameRoot()){o=f(this._host,"id",c("mds-dropdown"));a=f(e,"id",c("mds-dropdown-caller"));this.writeOnCaller("aria-controls",o);this._labelledByOurs=!this._host.hasAttribute("aria-labelledby");f(this._host,"aria-labelledby",a)}s=(r=this._host.getAttribute("role"))!==null&&r!==void 0?r:"";if(l.includes(s)){this.writeOnCaller("aria-haspopup",s)}if(!e.hasAttribute("aria-expanded"))this._written.push("aria-expanded");this._wired=true;this.syncExpanded(this._host.visible);return[2/*return*/]}}))}))};this.arrowInset=function(t,i){var r=t.arrow;var e={bottom:"",left:"",right:"",top:""};if(r===undefined){return{}}switch(i){case"bottom":e.left=r.x!==null?"".concat(r.x,"px"):"";e.top="100%";break;case"left":e.right="100%";e.top=r.y!==null?"".concat(r.y,"px"):"";break;case"right":e.left="100%";e.top=r.y!==null?"".concat(r.y,"px"):"";break;case"top":e.left=r.x!==null?"".concat(r.x,"px"):"";e.top="";break}return e};this.arrowTransform=function(t){var i=!p._host.hideArrow&&p._host.visible?"scale(1)":"scale(0)";switch(t){case"bottom":i="rotate(180deg) ".concat(i," translate(0, -100%)");break;case"left":i="rotate(-90deg) ".concat(i," translate(50%, -50%)");break;case"right":i="rotate(90deg) ".concat(i," translate(-50%, -50%)");break;case"top":i="rotate(0deg) ".concat(i," translate(0, 0)");break}return{transform:i}};this.arrowTransformOrigin=function(t){switch(t){case"bottom":return{transformOrigin:"center top"};case"left":return{transformOrigin:"right center"};case"right":return{transformOrigin:"left center"};case"top":return{transformOrigin:"center bottom"};default:return{transformOrigin:"center top"}}};
32
+ // a tooltip is not a popup its caller controls: it describes it, a description reaching a
33
+ // screen reader whatever role the caller has, generic included, or it names it, when its text
34
+ // is the only visible name of an icon-only control. A caller that already has a name of its
35
+ // own keeps it, `writeOnCaller` leaving an `aria-labelledby` that is there alone.
36
+ if(this._role==="tooltip"){if(this.sameRoot()){n=f(this._host,"id",c("mds-tooltip"));o=this._host.relation==="label"?"aria-labelledby":"aria-describedby";this.writeOnCaller(o,n)}return[2/*return*/]}if(!this.callerAcceptsWiring())return[2/*return*/];if(this.sameRoot()){a=f(this._host,"id",c("mds-dropdown"));s=f(e,"id",c("mds-dropdown-caller"));this.writeOnCaller("aria-controls",a);this._labelledByOurs=!this._host.hasAttribute("aria-labelledby");f(this._host,"aria-labelledby",s)}u=(r=this._host.getAttribute("role"))!==null&&r!==void 0?r:"";if(l.includes(u)){this.writeOnCaller("aria-haspopup",u)}if(!e.hasAttribute("aria-expanded"))this._written.push("aria-expanded");this._wired=true;this.syncExpanded(this._host.visible);return[2/*return*/]}}))}))};this.arrowInset=function(t,i){var r=t.arrow;var e={bottom:"",left:"",right:"",top:""};if(r===undefined){return{}}switch(i){case"bottom":e.left=r.x!==null?"".concat(r.x,"px"):"";e.top="100%";break;case"left":e.right="100%";e.top=r.y!==null?"".concat(r.y,"px"):"";break;case"right":e.left="100%";e.top=r.y!==null?"".concat(r.y,"px"):"";break;case"top":e.left=r.x!==null?"".concat(r.x,"px"):"";e.top="";break}return e};this.arrowTransform=function(t){var i=!p._host.hideArrow&&p._host.visible?"scale(1)":"scale(0)";switch(t){case"bottom":i="rotate(180deg) ".concat(i," translate(0, -100%)");break;case"left":i="rotate(-90deg) ".concat(i," translate(50%, -50%)");break;case"right":i="rotate(90deg) ".concat(i," translate(-50%, -50%)");break;case"top":i="rotate(0deg) ".concat(i," translate(0, 0)");break}return{transform:i}};this.arrowTransformOrigin=function(t){switch(t){case"bottom":return{transformOrigin:"center top"};case"left":return{transformOrigin:"right center"};case"right":return{transformOrigin:"left center"};case"top":return{transformOrigin:"center bottom"};default:return{transformOrigin:"center top"}}};
35
37
  /**
36
38
  * The pivot of the opening animation is the arrow, which the `arrow` middleware
37
39
  * parks wherever it has to sit to keep pointing at the caller: after a shift it
@@ -62,6 +64,10 @@ var n=(e=(r=(i=this._host.parentElement)===null||i===void 0?void 0:i.shadowRoot)
62
64
  // the target may legitimately be absent (e.g. during SSR the document
63
65
  // only contains the component subtree being serialized)
64
66
  console.warn("FloatingController: target not found: ".concat(t));return null}if(this._caller&&this._caller!==n)this.unwireCaller();this._caller=n;this._wired=false;f(this._host,"role",this._role);void this.wireCaller();return n};
67
+ /**
68
+ * Takes back what the wiring wrote on the caller and writes it again, for a change of the host
69
+ * that changes what is written: the relation of a tooltip.
70
+ */t.prototype.rewire=function(){if(!this._caller)return;this.unwireCaller();this._wired=false;void this.wireCaller()};
65
71
  /** Whether the popup is open is state, not a default: it is rewritten at every change, so it
66
72
  * cannot go through `setAttributeIfEmpty` */t.prototype.syncExpanded=function(t){if(this._wired)this._caller.setAttribute("aria-expanded","".concat(t))};t.prototype.updatePosition=function(){if(this._host.visible){this.dismiss();// to clean the old update function before update function
67
73
  this.startWhenMeasurable(3)}};t.prototype.dismiss=function(){if(this.cleanupAutoUpdate)this.cleanupAutoUpdate()};return t}();t("F",b);var p=/** @class */function(){function t(t){this.defaultBackdropId="magma-backdrop";this.backdropBackgroundVisible="rgba(var(--magma-backdrop-color, 0 0 0) / var(--magma-backdrop-opacity, 0.1))";this.backdropBackgroundHidden="rgba(var(--magma-backdrop-color, 0 0 0) / 0)";this.backdropId=t!==null&&t!==void 0?t:this.defaultBackdropId;this.cssBackdropZIndex="var(--".concat(this.backdropId,"-z-index, 4000)");this.cssBackdropDuration="var(--".concat(this.backdropId,"-animation-duration, 300ms)")}t.prototype.attachBackdrop=function(){var t=this;if(!this.backdropEl){this.backdropEl=document.createElement("div");this.backdropEl.className=this.backdropId;this.backdropEl.style.inset="0";this.backdropEl.style.pointerEvents="none";this.backdropEl.style.position="fixed";this.backdropEl.style.transition="background-color ".concat(this.cssBackdropDuration," ease-out");this.backdropEl.style.zIndex=this.cssBackdropZIndex}this.backdropEl.style.backgroundColor=this.backdropBackgroundHidden;document.body.appendChild(this.backdropEl);clearTimeout(this.backdropTimer);this.backdropTimer=setTimeout((function(){t.backdropEl.style.backgroundColor=t.backdropBackgroundVisible}),1)};t.prototype.detachBackdrop=function(){var t=this;if(!this.backdropEl){return}this.backdropEl.style.backgroundColor="transparent";clearTimeout(this.backdropTimer);this.backdropTimer=setTimeout((function(){t.backdropEl.remove()}),u(this.cssBackdropDuration))};return t}();t("B",p)}}}));
@@ -0,0 +1 @@
1
+ const t=["start","end"],n=["top","right","bottom","left"].reduce(((n,e)=>n.concat(e,e+"-"+t[0],e+"-"+t[1])),[]),e=Math.min,o=Math.max,r=Math.round,i=Math.floor,l=t=>({x:t,y:t}),a={left:"right",right:"left",bottom:"top",top:"bottom"};function c(t,n,r){return o(t,e(n,r))}function s(t,n){return"function"==typeof t?t(n):t}function u(t){return t.split("-")[0]}function f(t){return t.split("-")[1]}function d(t){return"x"===t?"y":"x"}function m(t){return"y"===t?"height":"width"}function y(t){const n=t[0];return"t"===n||"b"===n?"y":"x"}function p(t){return d(y(t))}function h(t,n,e){void 0===e&&(e=!1);const o=f(t),r=p(t),i=m(r);let l="x"===r?o===(e?"end":"start")?"right":"left":"start"===o?"bottom":"top";return n.reference[i]>n.floating[i]&&(l=A(l)),[l,A(l)]}function w(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}const g=["left","right"],x=["right","left"],v=["top","bottom"],b=["bottom","top"];function A(t){const n=u(t);return a[n]+t.slice(n.length)}function S(t){return"number"!=typeof t?function(t){var n,e,o,r;return{top:null!=(n=t.top)?n:0,right:null!=(e=t.right)?e:0,bottom:null!=(o=t.bottom)?o:0,left:null!=(r=t.left)?r:0}}(t):{top:t,right:t,bottom:t,left:t}}function R(t){const{x:n,y:e,width:o,height:r}=t;return{width:o,height:r,top:e,left:n,right:n+o,bottom:e+r,x:n,y:e}}function F(t,n,e){let{reference:o,floating:r}=t;const i=y(n),l=p(n),a=m(l),c=u(n),s="y"===i,d=o.x+o.width/2-r.width/2,h=o.y+o.height/2-r.height/2,w=o[a]/2-r[a]/2;let g;switch(c){case"top":g={x:d,y:o.y-r.height};break;case"bottom":g={x:d,y:o.y+o.height};break;case"right":g={x:o.x+o.width,y:h};break;case"left":g={x:o.x-r.width,y:h};break;default:g={x:o.x,y:o.y}}const x=f(n);return x&&(g[l]+=w*("end"===x?1:-1)*(e&&s?-1:1)),g}async function O(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:l,elements:a,strategy:c}=t,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:m=!1,padding:y=0}=s(n,t),p=S(y),h=a[m?"floating"===d?"reference":"floating":d],w=R(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(h)))||e?h:h.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:u,rootBoundary:f,strategy:c})),g="floating"===d?{x:o,y:r,width:l.floating.width,height:l.floating.height}:l.reference,x=await(null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),v=await(null==i.isElement?void 0:i.isElement(x))&&await(null==i.getScale?void 0:i.getScale(x))||{x:1,y:1},b=R(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:g,offsetParent:x,strategy:c}):g);return{top:(w.top-b.top+p.top)/v.y,bottom:(b.bottom-w.bottom+p.bottom)/v.y,left:(w.left-b.left+p.left)/v.x,right:(b.right-w.right+p.right)/v.x}}const k=new Set(["left","top"]);function C(){return"undefined"!=typeof window}function P(t){return z(t)?(t.nodeName||"").toLowerCase():"#document"}function D(t){var n;return(null==t||null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function T(t){var n;return null==(n=(z(t)?t.ownerDocument:t.document)||window.document)?void 0:n.documentElement}function z(t){return!!C()&&(t instanceof Node||t instanceof D(t).Node)}function M(t){return!!C()&&(t instanceof Element||t instanceof D(t).Element)}function L(t){return!!C()&&(t instanceof HTMLElement||t instanceof D(t).HTMLElement)}function E(t){return!(!C()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof D(t).ShadowRoot)}function B(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=Y(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&"inline"!==r&&"contents"!==r}function $(t){return/^(table|td|th)$/.test(P(t))}function I(t){try{if(t.matches(":popover-open"))return!0}catch(t){}try{return t.matches(":modal")}catch(t){return!1}}const N=/transform|translate|scale|rotate|perspective|filter/,V=/paint|layout|strict|content/,j=t=>!!t&&"none"!==t;let q;function H(t){const n=M(t)?Y(t):t;return j(n.transform)||j(n.translate)||j(n.scale)||j(n.rotate)||j(n.perspective)||!W()&&(j(n.backdropFilter)||j(n.filter))||N.test(n.willChange||"")||V.test(n.contain||"")}function W(){return null==q&&(q="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),q}function X(t){return/^(html|body|#document)$/.test(P(t))}function Y(t){return D(t).getComputedStyle(t)}function _(t){return M(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function G(t){if("html"===P(t))return t;const n=t.assignedSlot||t.parentNode||E(t)&&t.host||T(t);return E(n)?n.host:n}function J(t){const n=G(t);return X(n)?(t.ownerDocument||t).body:L(n)&&B(n)?n:J(n)}function K(t,n,e){var o;void 0===n&&(n=[]),void 0===e&&(e=!0);const r=J(t),i=r===(null==(o=t.ownerDocument)?void 0:o.body),l=D(r);if(i){const t=Q(l);return n.concat(l,l.visualViewport||[],B(r)?r:[],t&&e?K(t):[])}return n.concat(r,K(r,[],e))}function Q(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function U(t){const n=Y(t);let e=parseFloat(n.width)||0,o=parseFloat(n.height)||0;const i=L(t),l=i?t.offsetWidth:e,a=i?t.offsetHeight:o,c=r(e)!==l||r(o)!==a;return c&&(e=l,o=a),{width:e,height:o,$:c}}function Z(t){return M(t)?t:t.contextElement}function tt(t){const n=Z(t);if(!L(n))return l(1);const e=n.getBoundingClientRect(),{width:o,height:i,$:a}=U(n);let c=(a?r(e.width):e.width)/o,s=(a?r(e.height):e.height)/i;return c&&Number.isFinite(c)||(c=1),s&&Number.isFinite(s)||(s=1),{x:c,y:s}}const nt=l(0);function et(t){const n=D(t);return W()&&n.visualViewport?{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}:nt}function ot(t,n,e,o){void 0===n&&(n=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),i=Z(t);let a=l(1);n&&(o?M(o)&&(a=tt(o)):a=tt(t));const c=function(t,n,e){return void 0===n&&(n=!1),!!e&&n&&e===D(t)}(i,e,o)?et(i):l(0);let s=(r.left+c.x)/a.x,u=(r.top+c.y)/a.y,f=r.width/a.x,d=r.height/a.y;if(i&&o){const t=D(i),n=M(o)?D(o):o;let e=t,r=Q(e);for(;r&&n!==e;){const t=tt(r),n=r.getBoundingClientRect(),o=Y(r),i=n.left+(r.clientLeft+parseFloat(o.paddingLeft))*t.x,l=n.top+(r.clientTop+parseFloat(o.paddingTop))*t.y;s*=t.x,u*=t.y,f*=t.x,d*=t.y,s+=i,u+=l,e=D(r),r=Q(e)}}return R({width:f,height:d,x:s,y:u})}function rt(t,n){const e=_(t).scrollLeft;return n?n.left+e:ot(T(t)).left+e}function it(t,n){const e=t.getBoundingClientRect();return{x:e.left+n.scrollLeft-rt(t,e),y:e.top+n.scrollTop}}function lt(t,n,e){let r;if("viewport"===n||"layoutViewport"===n)r=function(t,n,e){void 0===e&&(e="viewport");const o="layoutViewport"===e,r=D(t),i=T(t),l=r.visualViewport;let a=i.clientWidth,c=i.clientHeight,s=0,u=0;if(l){const t=!W()||"fixed"===n;o?t||(s=-l.offsetLeft,u=-l.offsetTop):(a=l.width,c=l.height,t&&(s=l.offsetLeft,u=l.offsetTop))}if(rt(i)<=0){const t=i.ownerDocument,n=t.body,e=getComputedStyle(n),o="CSS1Compat"===t.compatMode&&parseFloat(e.marginLeft)+parseFloat(e.marginRight)||0,r=Math.abs(i.clientWidth-n.clientWidth-o),l="stable both-edges"===getComputedStyle(i).scrollbarGutter?r/2:r;l<=25&&(a-=l)}return{width:a,height:c,x:s,y:u}}(t,e,n);else if("document"===n)r=function(t){const n=_(t),e=t.ownerDocument.body,r=o(t.scrollWidth,t.clientWidth,e.scrollWidth,e.clientWidth),i=o(t.scrollHeight,t.clientHeight,e.scrollHeight,e.clientHeight);let l=-n.scrollLeft+rt(t);const a=-n.scrollTop;return"rtl"===Y(e).direction&&(l+=o(t.clientWidth,e.clientWidth)-r),{width:r,height:i,x:l,y:a}}(T(t));else if(M(n))r=function(t,n){const e=ot(t,!0,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft,i=tt(t);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:r*i.x,y:o*i.y}}(n,e);else{const e=et(t);r={x:n.x-e.x,y:n.y-e.y,width:n.width,height:n.height}}return R(r)}function at(t,n,e){const o=L(n),r=T(n),i="fixed"===e,a=ot(t,!0,i,n);let c={scrollLeft:0,scrollTop:0};const s=l(0);if((o||!i)&&(("body"!==P(n)||B(r))&&(c=_(n)),o)){const t=ot(n,!0,i,n);s.x=t.x+n.clientLeft,s.y=t.y+n.clientTop}!o&&r&&(s.x=rt(r));const u=!r||o||i?l(0):it(r,c);return{x:a.left+c.scrollLeft-s.x-u.x,y:a.top+c.scrollTop-s.y-u.y,width:a.width,height:a.height}}function ct(t){return"static"===Y(t).position}function st(t,n){if(!L(t)||"fixed"===Y(t).position)return null;if(n)return n(t);let e=t.offsetParent;return T(t)===e&&(e=e.ownerDocument.body),e}function ut(t,n){const e=D(t);if(I(t))return e;if(!L(t)){let n=G(t);for(;n&&!X(n);){if(M(n)&&!ct(n))return n;n=G(n)}return e}let o=st(t,n);for(;o&&$(o)&&ct(o);)o=st(o,n);return o&&X(o)&&ct(o)&&!H(o)?e:o||function(t){let n=G(t);for(;L(n)&&!X(n);){if(H(n))return n;if(I(n))return null;n=G(n)}return null}(t)||e}const ft={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:n,rect:e,offsetParent:o,strategy:r}=t;const i="fixed"===r,a=T(o),c=!!n&&I(n.floating);if(o===a||c&&i)return e;let s={scrollLeft:0,scrollTop:0},u=l(1);const f=l(0),d=L(o);if((d||!i)&&(("body"!==P(o)||B(a))&&(s=_(o)),d)){const t=ot(o);u=tt(o),f.x=t.x+o.clientLeft,f.y=t.y+o.clientTop}const m=!a||d||i?l(0):it(a,s);return{width:e.width*u.x,height:e.height*u.y,x:e.x*u.x-s.scrollLeft*u.x+f.x+m.x,y:e.y*u.y-s.scrollTop*u.y+f.y+m.y}},getDocumentElement:T,getClippingRect:function(t){let{element:n,boundary:r,rootBoundary:i,strategy:l}=t;const a=[..."clippingAncestors"===r?I(n)?[]:function(t,n){const e=n.get(t);if(e)return e;let o=K(t,[],!1).filter((t=>M(t)&&"body"!==P(t))),r=null;const i="fixed"===Y(t).position;let l=i?G(t):t;for(;M(l)&&!X(l);){const t=Y(l),n=H(l),e=r?r.position:i?"fixed":"";n||"fixed"!==e&&("absolute"!==e||"static"!==t.position)?r=t:o=o.filter((t=>t!==l)),l=G(l)}return n.set(t,o),o}(n,this._c):[].concat(r),i],c=lt(n,a[0],l);let s=c.top,u=c.right,f=c.bottom,d=c.left;for(let t=1;t<a.length;t++){const r=lt(n,a[t],l);s=o(r.top,s),u=e(r.right,u),f=e(r.bottom,f),d=o(r.left,d)}return{width:u-d,height:f-s,x:d,y:s}},getOffsetParent:ut,getElementRects:async function(t){const n=this.getOffsetParent||ut,e=this.getDimensions,o=await e(t.floating);return{reference:at(t.reference,await n(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},getClientRects:function(t){return t.getClientRects?Array.from(t.getClientRects()):[]},getDimensions:function(t){const{width:n,height:e}=U(t);return{width:n,height:e}},getScale:tt,isElement:M,isRTL:function(t){return"rtl"===Y(t).direction}};function dt(t,n){return t.x===n.x&&t.y===n.y&&t.width===n.width&&t.height===n.height}function mt(t,n,r,l){void 0===l&&(l={});const{ancestorScroll:a=!0,ancestorResize:c=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:f=!1}=l,d=Z(t),m=a||c?[...d?K(d):[],...n?K(n):[]]:[];m.forEach((t=>{a&&t.addEventListener("scroll",r),c&&t.addEventListener("resize",r)}));const y=d&&u?function(t,n,r){let l,a=null;const c=T(t);function s(){var t;clearTimeout(l),null==(t=a)||t.disconnect(),a=null}function u(r,f){void 0===r&&(r=!1),void 0===f&&(f=1),s();const d=t.getBoundingClientRect(),{left:m,top:y,width:p,height:h}=d;if(r||n(),!p||!h)return;const w={rootMargin:-i(y)+"px "+-i(c.clientWidth-(m+p))+"px "+-i(c.clientHeight-(y+h))+"px "+-i(m)+"px",threshold:o(0,e(1,f))||1};let g=!0;function x(n){const e=n[0].intersectionRatio;if(!dt(d,t.getBoundingClientRect()))return u();if(e!==f){if(!g)return u();e?u(!1,e):l=setTimeout((()=>{u(!1,1e-7)}),1e3)}g=!1}try{a=new IntersectionObserver(x,{...w,root:c.ownerDocument})}catch(t){a=new IntersectionObserver(x,w)}a.observe(t)}const f=D(t),d=()=>u(r);return f.addEventListener("resize",d),u(!0),()=>{f.removeEventListener("resize",d),s()}}(d,r,c):null;let p,h=-1,w=null;s&&(w=new ResizeObserver((t=>{let[e]=t;e&&e.target===d&&w&&n&&(w.unobserve(n),cancelAnimationFrame(h),h=requestAnimationFrame((()=>{var t;null==(t=w)||t.observe(n)}))),r()})),d&&!f&&w.observe(d),n&&w.observe(n));let g=f?ot(t):null;return f&&function n(){const e=ot(t);g&&!dt(g,e)&&r(),g=e,p=requestAnimationFrame(n)}(),r(),()=>{var t;m.forEach((t=>{a&&t.removeEventListener("scroll",r),c&&t.removeEventListener("resize",r)})),null==y||y(),null==(t=w)||t.disconnect(),w=null,f&&cancelAnimationFrame(p)}}const yt=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(n){var e,o;const{x:r,y:i,placement:l,middlewareData:a}=n,c=await async function(t,n){const{placement:e,platform:o,elements:r}=t,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),l=u(e),a=f(e),c="y"===y(e),d=k.has(l)?-1:1,m=i&&c?-1:1,p=s(n,t);let{mainAxis:h,crossAxis:w,alignmentAxis:g}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return a&&"number"==typeof g&&(w="end"===a?-1*g:g),c?{x:w*m,y:h*d}:{x:h*d,y:w*m}}(n,t);return l===(null==(e=a.offset)?void 0:e.placement)&&null!=(o=a.arrow)&&o.alignmentOffset?{}:{x:r+c.x,y:i+c.y,data:{...c,placement:l}}}}},pt=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,r,i;const{rects:l,middlewareData:a,placement:c,platform:d,elements:m}=e,{crossAxis:y=!1,alignment:p,allowedPlacements:g=n,autoAlignment:x=!0,...v}=s(t,e),b=void 0!==p||g===n?function(t,n,e){return(t?[...e.filter((n=>f(n)===t)),...e.filter((n=>f(n)!==t))]:e.filter((t=>u(t)===t))).filter((e=>!t||f(e)===t||!!n&&w(e)!==e))}(p||null,x,g):g,A=(null==(o=a.autoPlacement)?void 0:o.index)||0,S=b[A];if(null==S)return{};if(c!==S)return{reset:{placement:b[0]}};const R=await d.detectOverflow(e,v),F=h(S,l,await(null==d.isRTL?void 0:d.isRTL(m.floating))),O=[R[u(S)],R[F[0]],R[F[1]]],k=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:S,overflows:O}],C=b[A+1];if(C)return{data:{index:A+1,overflows:k},reset:{placement:C}};const P=k.map((t=>{const n=f(t.placement);return[t.placement,n&&y?t.overflows.slice(0,2).reduce(((t,n)=>t+n),0):t.overflows[0],t.overflows]})).sort(((t,n)=>t[1]-n[1])),D=(null==(i=P.filter((t=>t[2].slice(0,f(t[0])?2:3).every((t=>t<=0))))[0])?void 0:i[0])||P[0][0];return D!==c?{data:{index:A+1,overflows:k},reset:{placement:D}}:{}}}},ht=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(n){const{x:e,y:o,placement:r,platform:i}=n,{mainAxis:l=!0,crossAxis:a=!1,limiter:u={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...f}=s(t,n),m={x:e,y:o},p=await i.detectOverflow(n,f),h=y(r),w=d(h);let g=m[w],x=m[h];const v=(t,n)=>c(n+p["y"===t?"top":"left"],n,n-p["y"===t?"bottom":"right"]);l&&(g=v(w,g)),a&&(x=v(h,x));const b=u.fn({...n,[w]:g,[h]:x});return{...b,data:{x:b.x-e,y:b.y-o,enabled:{[w]:l,[h]:a}}}}}},wt=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var e,o;const{placement:r,middlewareData:i,rects:l,initialPlacement:a,platform:c,elements:d}=n,{mainAxis:m=!0,crossAxis:p=!0,fallbackPlacements:S,fallbackStrategy:R="bestFit",fallbackAxisSideDirection:F="none",flipAlignment:O=!0,...k}=s(t,n);if(null!=(e=i.arrow)&&e.alignmentOffset)return{};const C=u(r),P=y(a),D=u(a)===a,T=await(null==c.isRTL?void 0:c.isRTL(d.floating)),z=S||(D||!O?[A(a)]:function(t){const n=A(t);return[w(t),n,w(n)]}(a)),M="none"!==F;!S&&M&&z.push(...function(t,n,e,o){const r=f(t);let i=function(t,n,e){switch(t){case"top":case"bottom":return e?n?x:g:n?g:x;case"left":case"right":return n?v:b;default:return[]}}(u(t),"start"===e,o);return r&&(i=i.map((t=>t+"-"+r)),n&&(i=i.concat(i.map(w)))),i}(a,O,F,T));const L=[a,...z],E=await c.detectOverflow(n,k),B=[];let $=(null==(o=i.flip)?void 0:o.overflows)||[];if(m&&B.push(E[C]),p){const t=h(r,l,T);B.push(E[t[0]],E[t[1]])}if($=[...$,{placement:r,overflows:B}],!B.every((t=>t<=0))){var I,N;const t=((null==(I=i.flip)?void 0:I.index)||0)+1,n=L[t];if(n&&("alignment"!==p||P===y(n)||$.every((t=>y(t.placement)!==P||t.overflows[0]>0))))return{data:{index:t,overflows:$},reset:{placement:n}};let e=null==(N=$.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:N.placement;if(!e)switch(R){case"bestFit":{var V;const t=null==(V=$.filter((t=>{if(M){const n=y(t.placement);return n===P||"y"===n}return!0})).map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:V[0];t&&(e=t);break}case"initialPlacement":e=a}if(r!==e)return{reset:{placement:e}}}return{}}}},gt=t=>({name:"arrow",options:t,async fn(n){const{x:o,y:r,placement:i,rects:l,platform:a,elements:u,middlewareData:d}=n,{element:y,padding:h=0}=s(t,n)||{};if(null==y)return{};const w=S(h),g={x:o,y:r},x=p(i),v=m(x),b=await a.getDimensions(y),A="y"===x,R=A?"top":"left",F=A?"bottom":"right",O=A?"clientHeight":"clientWidth",k=l.reference[v]+l.reference[x]-g[x]-l.floating[v],C=g[x]-l.reference[x],P=await(null==a.getOffsetParent?void 0:a.getOffsetParent(y));let D=P?P[O]:0;D&&await(null==a.isElement?void 0:a.isElement(P))||(D=u.floating[O]||l.floating[v]);const T=k/2-C/2,z=D/2-b[v]/2-1,M=e(w[R],z),L=e(w[F],z),E=D-b[v]-L,B=D/2-b[v]/2+T,$=c(M,B,E),I=!d.arrow&&null!=f(i)&&B!==$&&l.reference[v]/2-(B<M?M:L)-b[v]/2<0,N=I?B<M?B-M:B-E:0;return{[x]:g[x]+N,data:{[x]:$,centerOffset:B-$-N,...I&&{alignmentOffset:N}},reset:I}}}),xt=(t,n,e)=>{const o=new Map,r=null!=e?e:{},i={...ft,...r.platform,_c:o};return(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:l}=e,a=l.detectOverflow?l:{...l,detectOverflow:O},c=await(null==l.isRTL?void 0:l.isRTL(n));let s=await l.getElementRects({reference:t,floating:n,strategy:r}),{x:u,y:f}=F(s,o,c),d=o,m=0;const y={};for(let e=0;e<i.length;e++){const p=i[e];if(!p)continue;const{name:h,fn:w}=p,{x:g,y:x,data:v,reset:b}=await w({x:u,y:f,initialPlacement:o,placement:d,strategy:r,middlewareData:y,rects:s,platform:a,elements:{reference:t,floating:n}});u=null!=g?g:u,f=null!=x?x:f,y[h]={...y[h],...v},b&&m<50&&(m++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(s=!0===b.rects?await l.getElementRects({reference:t,floating:n,strategy:r}):b.rects),({x:u,y:f}=F(s,d,c))),e=-1)}return{x:u,y:f,placement:d,strategy:r,middlewareData:y}})(t,n,{...r,platform:i})};export{pt as a,gt as b,xt as c,mt as d,wt as f,yt as o,ht as s}