@maggioli-design-system/magma 2.3.0 → 2.4.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 (1607) hide show
  1. package/AGENTS.md +1 -1
  2. package/CHANGELOG.md +237 -0
  3. package/agents/anti-patterns.md +7 -4
  4. package/agents/color.md +2 -2
  5. package/agents/components.md +2 -1
  6. package/agents/conventions.md +16 -0
  7. package/dist/cjs/{aria-BbJUuU9_.js → aria-CzO5Rp1y.js} +23 -15
  8. package/dist/cjs/{floating-controller-D7Ekjocg.js → floating-controller-BxER7sig.js} +20 -11
  9. package/dist/cjs/{floating-ui.dom-EMHL7uyZ.js → floating-ui.dom-VQ_HnnRe.js} +0 -115
  10. package/dist/cjs/{icon-MMHcqbgv.js → icon-BhokFNM7.js} +4 -2
  11. package/dist/cjs/{index-MyEb-PfD.js → index-B5DKRaVO.js} +1 -1
  12. package/dist/cjs/{index-UmmmCMIG.js → index-B_qgSpWL.js} +89 -60
  13. package/dist/cjs/index.cjs.js +1 -1
  14. package/dist/cjs/keyboard-manager-BuCJdI8Q.js +75 -0
  15. package/dist/cjs/loader.cjs.js +2 -2
  16. package/dist/cjs/{locale-CnorkBwF.js → locale-D9XY8LN9.js} +1 -1
  17. package/dist/cjs/{locale.it-CfUV2hxK.js → locale.it-CQgfBg0W.js} +6 -1
  18. package/dist/cjs/{datetime-DHnUzK2K.js → luxon-8hyy5YD7.js} +164 -64
  19. package/dist/cjs/magma-components.cjs.js +3 -3
  20. package/dist/cjs/mds-accordion-item.cjs.entry.js +3 -3
  21. package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +11 -10
  22. package/dist/cjs/mds-accordion-timer.cjs.entry.js +16 -2
  23. package/dist/cjs/mds-accordion.cjs.entry.js +36 -21
  24. package/dist/cjs/mds-author.cjs.entry.js +2 -2
  25. package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +1 -1
  26. package/dist/cjs/mds-avatar-stack.cjs.entry.js +11 -5
  27. package/dist/cjs/mds-avatar.cjs.entry.js +57 -90
  28. package/dist/cjs/mds-badge.cjs.entry.js +4 -4
  29. package/dist/cjs/mds-banner_3.cjs.entry.js +51 -69
  30. package/dist/cjs/mds-benchmark-bar.cjs.entry.js +6 -3
  31. package/dist/cjs/mds-bibliography.cjs.entry.js +23 -17
  32. package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +9 -5
  33. package/dist/cjs/mds-breadcrumb.cjs.entry.js +17 -33
  34. package/dist/cjs/mds-button-dropdown.cjs.entry.js +15 -6
  35. package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
  36. package/dist/cjs/mds-button_3.cjs.entry.js +54 -38
  37. package/dist/cjs/mds-calendar_2.cjs.entry.js +74 -52
  38. package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
  39. package/dist/cjs/mds-card-footer.cjs.entry.js +1 -1
  40. package/dist/cjs/mds-card-header.cjs.entry.js +2 -2
  41. package/dist/cjs/mds-card-media.cjs.entry.js +2 -2
  42. package/dist/cjs/mds-card.cjs.entry.js +25 -16
  43. package/dist/cjs/mds-details.cjs.entry.js +18 -8
  44. package/dist/cjs/mds-dropdown.cjs.entry.js +31 -15
  45. package/dist/cjs/mds-emoji.cjs.entry.js +191 -134
  46. package/dist/cjs/mds-entity.cjs.entry.js +5 -5
  47. package/dist/cjs/mds-file-preview.cjs.entry.js +30 -23
  48. package/dist/cjs/mds-file.cjs.entry.js +25 -7
  49. package/dist/cjs/mds-filter-item.cjs.entry.js +9 -21
  50. package/dist/cjs/mds-filter.cjs.entry.js +10 -6
  51. package/dist/cjs/mds-header-bar.cjs.entry.js +12 -11
  52. package/dist/cjs/mds-header.cjs.entry.js +9 -11
  53. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +10 -15
  54. package/dist/cjs/mds-hr.cjs.entry.js +4 -4
  55. package/dist/cjs/mds-img.cjs.entry.js +38 -46
  56. package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +15 -7
  57. package/dist/cjs/mds-input-date-range.cjs.entry.js +31 -27
  58. package/dist/cjs/mds-input-date.cjs.entry.js +17 -14
  59. package/dist/cjs/mds-input-field.cjs.entry.js +2 -2
  60. package/dist/cjs/mds-input-otp.cjs.entry.js +57 -22
  61. package/dist/cjs/mds-input-range.cjs.entry.js +4 -4
  62. package/dist/cjs/mds-input-select.cjs.entry.js +7 -7
  63. package/dist/cjs/mds-input-switch_2.cjs.entry.js +10 -10
  64. package/dist/cjs/mds-input-tip_2.cjs.entry.js +9 -8
  65. package/dist/cjs/mds-input-upload.cjs.entry.js +1097 -15
  66. package/dist/cjs/mds-input.cjs.entry.js +8 -8
  67. package/dist/cjs/mds-keyboard-key.cjs.entry.js +5 -5
  68. package/dist/cjs/mds-keyboard.cjs.entry.js +15 -7
  69. package/dist/cjs/mds-kpi-item.cjs.entry.js +17 -3
  70. package/dist/cjs/mds-kpi.cjs.entry.js +2 -2
  71. package/dist/cjs/mds-label.cjs.entry.js +13 -30
  72. package/dist/cjs/mds-list-item.cjs.entry.js +2 -2
  73. package/dist/cjs/mds-list.cjs.entry.js +2 -2
  74. package/dist/cjs/mds-mention.cjs.entry.js +7 -6
  75. package/dist/cjs/mds-modal.cjs.entry.js +28 -11
  76. package/dist/cjs/mds-note.cjs.entry.js +18 -14
  77. package/dist/cjs/mds-notification.cjs.entry.js +72 -15
  78. package/dist/cjs/mds-paginator-item.cjs.entry.js +23 -11
  79. package/dist/cjs/mds-paginator.cjs.entry.js +39 -4
  80. package/dist/cjs/mds-policy-ai.cjs.entry.js +5 -5
  81. package/dist/cjs/mds-pref-animation.cjs.entry.js +41 -8
  82. package/dist/cjs/mds-pref-consumption.cjs.entry.js +41 -8
  83. package/dist/cjs/mds-pref-contrast.cjs.entry.js +44 -32
  84. package/dist/cjs/mds-pref-language-item.cjs.entry.js +8 -8
  85. package/dist/cjs/mds-pref-language.cjs.entry.js +43 -21
  86. package/dist/cjs/mds-pref-mode.cjs.entry.js +28 -24
  87. package/dist/cjs/mds-pref-theme-item.cjs.entry.js +4 -3
  88. package/dist/cjs/mds-pref-theme.cjs.entry.js +109 -31
  89. package/dist/cjs/mds-pref.cjs.entry.js +28 -11
  90. package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +4 -4
  91. package/dist/cjs/mds-price-table-features-row.cjs.entry.js +3 -3
  92. package/dist/cjs/mds-price-table-features.cjs.entry.js +4 -4
  93. package/dist/cjs/mds-price-table-header.cjs.entry.js +2 -2
  94. package/dist/cjs/mds-price-table-list-item.cjs.entry.js +3 -3
  95. package/dist/cjs/mds-price-table-list.cjs.entry.js +14 -6
  96. package/dist/cjs/mds-price-table.cjs.entry.js +2 -2
  97. package/dist/cjs/mds-progress_2.cjs.entry.js +46 -33
  98. package/dist/cjs/mds-push-notification-item.cjs.entry.js +12 -9
  99. package/dist/cjs/mds-push-notification.cjs.entry.js +36 -13
  100. package/dist/cjs/mds-quote.cjs.entry.js +3 -3
  101. package/dist/cjs/mds-radial-menu-item.cjs.entry.js +2 -2
  102. package/dist/cjs/mds-radial-menu.cjs.entry.js +47 -38
  103. package/dist/cjs/mds-separator.cjs.entry.js +4 -4
  104. package/dist/cjs/mds-status-bar.cjs.entry.js +8 -9
  105. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +18 -6
  106. package/dist/cjs/mds-stepper-bar.cjs.entry.js +8 -17
  107. package/dist/cjs/mds-tab-bar-item.cjs.entry.js +25 -16
  108. package/dist/cjs/mds-tab-bar.cjs.entry.js +11 -5
  109. package/dist/cjs/mds-tab_2.cjs.entry.js +16 -10
  110. package/dist/cjs/mds-table-body.cjs.entry.js +4 -4
  111. package/dist/cjs/mds-table-footer.cjs.entry.js +13 -4
  112. package/dist/cjs/mds-table-header-cell.cjs.entry.js +3 -3
  113. package/dist/cjs/mds-table-header.cjs.entry.js +13 -5
  114. package/dist/cjs/mds-table-row.cjs.entry.js +35 -11
  115. package/dist/cjs/mds-table.cjs.entry.js +80 -23
  116. package/dist/cjs/mds-text.cjs.entry.js +4 -4
  117. package/dist/cjs/mds-toast-region.cjs.entry.js +119 -0
  118. package/dist/cjs/mds-toast.cjs.entry.js +163 -33
  119. package/dist/cjs/mds-tooltip.cjs.entry.js +71 -16
  120. package/dist/cjs/mds-tree-item.cjs.entry.js +24 -10
  121. package/dist/cjs/mds-tree.cjs.entry.js +37 -15
  122. package/dist/cjs/mds-url-view.cjs.entry.js +6 -6
  123. package/dist/cjs/mds-usage.cjs.entry.js +5 -5
  124. package/dist/cjs/mds-video-wall.cjs.entry.js +5 -4
  125. package/dist/cjs/mds-zero.cjs.entry.js +4 -4
  126. package/dist/cjs/{preference-DRkzNp5a.js → preference-C8BcoA3M.js} +1 -1
  127. package/dist/cjs/{slot-RmXfgH4P.js → slot-Dku0TdVg.js} +15 -0
  128. package/dist/collection/collection-manifest.json +2 -1
  129. package/dist/collection/common/aria.js +25 -1
  130. package/dist/collection/common/file.js +6 -1
  131. package/dist/collection/common/floating-controller.js +18 -9
  132. package/dist/collection/common/icon.js +4 -1
  133. package/dist/collection/common/keyboard-manager.js +29 -6
  134. package/dist/collection/common/slot.js +15 -1
  135. package/dist/collection/components/mds-accordion/AGENTS.md +3 -2
  136. package/dist/collection/components/mds-accordion/antipattern.md +1 -1
  137. package/dist/collection/components/mds-accordion/documentation.json +9 -4
  138. package/dist/collection/components/mds-accordion/mds-accordion.css +1 -1
  139. package/dist/collection/components/mds-accordion/mds-accordion.js +34 -21
  140. package/dist/collection/components/mds-accordion-item/AGENTS.md +1 -1
  141. package/dist/collection/components/mds-accordion-item/antipattern.md +2 -2
  142. package/dist/collection/components/mds-accordion-item/documentation.json +3 -3
  143. package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +5 -1
  144. package/dist/collection/components/mds-accordion-timer/AGENTS.md +2 -2
  145. package/dist/collection/components/mds-accordion-timer/documentation.json +3 -3
  146. package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.js +15 -1
  147. package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +4 -4
  148. package/dist/collection/components/mds-accordion-timer-item/documentation.json +4 -4
  149. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +5 -1
  150. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +9 -8
  151. package/dist/collection/components/mds-author/AGENTS.md +1 -1
  152. package/dist/collection/components/mds-author/documentation.json +2 -2
  153. package/dist/collection/components/mds-avatar/AGENTS.md +4 -4
  154. package/dist/collection/components/mds-avatar/documentation.json +4 -4
  155. package/dist/collection/components/mds-avatar/mds-avatar.css +15 -4
  156. package/dist/collection/components/mds-avatar/mds-avatar.js +56 -70
  157. package/dist/collection/components/mds-avatar/pattern.md +13 -2
  158. package/dist/collection/components/mds-avatar-stack/AGENTS.md +2 -2
  159. package/dist/collection/components/mds-avatar-stack/documentation.json +3 -3
  160. package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.css +1 -1
  161. package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.js +15 -2
  162. package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
  163. package/dist/collection/components/mds-avatar-stack-item/documentation.json +2 -2
  164. package/dist/collection/components/mds-badge/AGENTS.md +1 -1
  165. package/dist/collection/components/mds-badge/antipattern.md +0 -1
  166. package/dist/collection/components/mds-badge/documentation.json +4 -4
  167. package/dist/collection/components/mds-badge/mds-badge.css +4 -2
  168. package/dist/collection/components/mds-badge/pattern.md +0 -1
  169. package/dist/collection/components/mds-banner/AGENTS.md +1 -1
  170. package/dist/collection/components/mds-banner/documentation.json +2 -2
  171. package/dist/collection/components/mds-banner/mds-banner.css +18 -14
  172. package/dist/collection/components/mds-benchmark-bar/AGENTS.md +2 -2
  173. package/dist/collection/components/mds-benchmark-bar/antipattern.md +1 -1
  174. package/dist/collection/components/mds-benchmark-bar/documentation.json +5 -5
  175. package/dist/collection/components/mds-benchmark-bar/mds-benchmark-bar.js +4 -1
  176. package/dist/collection/components/mds-benchmark-bar/pattern.md +1 -1
  177. package/dist/collection/components/mds-bibliography/AGENTS.md +4 -4
  178. package/dist/collection/components/mds-bibliography/antipattern.md +1 -1
  179. package/dist/collection/components/mds-bibliography/documentation.json +16 -7
  180. package/dist/collection/components/mds-bibliography/mds-bibliography.css +3 -1
  181. package/dist/collection/components/mds-bibliography/mds-bibliography.js +29 -17
  182. package/dist/collection/components/mds-bibliography/pattern.md +2 -2
  183. package/dist/collection/components/mds-breadcrumb/AGENTS.md +8 -6
  184. package/dist/collection/components/mds-breadcrumb/antipattern.md +3 -3
  185. package/dist/collection/components/mds-breadcrumb/documentation.json +18 -8
  186. package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.css +16 -5
  187. package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.js +13 -29
  188. package/dist/collection/components/mds-breadcrumb/pattern.md +2 -5
  189. package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +4 -4
  190. package/dist/collection/components/mds-breadcrumb-item/documentation.json +10 -5
  191. package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.css +1 -1
  192. package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.js +10 -3
  193. package/dist/collection/components/mds-button/AGENTS.md +10 -7
  194. package/dist/collection/components/mds-button/documentation.json +21 -8
  195. package/dist/collection/components/mds-button/mds-button.css +13 -7
  196. package/dist/collection/components/mds-button/mds-button.js +32 -27
  197. package/dist/collection/components/mds-button/pattern.md +6 -0
  198. package/dist/collection/components/mds-button-dropdown/AGENTS.md +9 -8
  199. package/dist/collection/components/mds-button-dropdown/antipattern.md +1 -1
  200. package/dist/collection/components/mds-button-dropdown/documentation.json +13 -9
  201. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.css +28 -7
  202. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +15 -5
  203. package/dist/collection/components/mds-button-dropdown/pattern.md +8 -1
  204. package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
  205. package/dist/collection/components/mds-button-group/documentation.json +2 -2
  206. package/dist/collection/components/mds-calendar/AGENTS.md +4 -4
  207. package/dist/collection/components/mds-calendar/documentation.json +5 -5
  208. package/dist/collection/components/mds-calendar/mds-calendar.css +12 -4
  209. package/dist/collection/components/mds-calendar/mds-calendar.js +40 -20
  210. package/dist/collection/components/mds-calendar/pattern.md +4 -3
  211. package/dist/collection/components/mds-calendar-cell/AGENTS.md +8 -8
  212. package/dist/collection/components/mds-calendar-cell/antipattern.md +2 -1
  213. package/dist/collection/components/mds-calendar-cell/documentation.json +14 -10
  214. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.css +260 -109
  215. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +8 -3
  216. package/dist/collection/components/mds-calendar-cell/pattern.md +3 -1
  217. package/dist/collection/components/mds-card/AGENTS.md +5 -4
  218. package/dist/collection/components/mds-card/antipattern.md +1 -1
  219. package/dist/collection/components/mds-card/documentation.json +10 -5
  220. package/dist/collection/components/mds-card/mds-card.css +2 -1
  221. package/dist/collection/components/mds-card/mds-card.js +22 -13
  222. package/dist/collection/components/mds-card/pattern.md +4 -3
  223. package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
  224. package/dist/collection/components/mds-card-content/documentation.json +2 -2
  225. package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
  226. package/dist/collection/components/mds-card-footer/documentation.json +2 -2
  227. package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
  228. package/dist/collection/components/mds-card-header/documentation.json +2 -2
  229. package/dist/collection/components/mds-card-media/AGENTS.md +2 -2
  230. package/dist/collection/components/mds-card-media/documentation.json +7 -3
  231. package/dist/collection/components/mds-card-media/mds-card-media.js +2 -1
  232. package/dist/collection/components/mds-chip/AGENTS.md +3 -3
  233. package/dist/collection/components/mds-chip/documentation.json +6 -6
  234. package/dist/collection/components/mds-chip/mds-chip.css +12 -9
  235. package/dist/collection/components/mds-chip/mds-chip.js +40 -60
  236. package/dist/collection/components/mds-chip/pattern.md +1 -1
  237. package/dist/collection/components/mds-details/AGENTS.md +5 -4
  238. package/dist/collection/components/mds-details/documentation.json +6 -6
  239. package/dist/collection/components/mds-details/mds-details.css +14 -2
  240. package/dist/collection/components/mds-details/mds-details.js +14 -4
  241. package/dist/collection/components/mds-details/pattern.md +2 -2
  242. package/dist/collection/components/mds-dropdown/AGENTS.md +7 -7
  243. package/dist/collection/components/mds-dropdown/documentation.json +15 -10
  244. package/dist/collection/components/mds-dropdown/mds-dropdown.css +66 -33
  245. package/dist/collection/components/mds-dropdown/mds-dropdown.js +31 -12
  246. package/dist/collection/components/mds-dropdown/pattern.md +4 -2
  247. package/dist/collection/components/mds-emoji/AGENTS.md +11 -11
  248. package/dist/collection/components/mds-emoji/antipattern.md +1 -1
  249. package/dist/collection/components/mds-emoji/documentation.json +34 -64
  250. package/dist/collection/components/mds-emoji/mds-emoji.js +101 -77
  251. package/dist/collection/components/mds-emoji/meta/gaze.js +22 -0
  252. package/dist/collection/components/mds-entity/AGENTS.md +1 -1
  253. package/dist/collection/components/mds-entity/documentation.json +2 -2
  254. package/dist/collection/components/mds-entity/mds-entity.css +9 -4
  255. package/dist/collection/components/mds-entity/mds-entity.js +1 -1
  256. package/dist/collection/components/mds-file/AGENTS.md +5 -5
  257. package/dist/collection/components/mds-file/documentation.json +4 -4
  258. package/dist/collection/components/mds-file/mds-file.css +2 -2
  259. package/dist/collection/components/mds-file/mds-file.js +21 -3
  260. package/dist/collection/components/mds-file-preview/AGENTS.md +5 -5
  261. package/dist/collection/components/mds-file-preview/antipattern.md +1 -1
  262. package/dist/collection/components/mds-file-preview/documentation.json +20 -10
  263. package/dist/collection/components/mds-file-preview/mds-file-preview.css +27 -1
  264. package/dist/collection/components/mds-file-preview/mds-file-preview.js +34 -21
  265. package/dist/collection/components/mds-file-preview/pattern.md +1 -1
  266. package/dist/collection/components/mds-filter/AGENTS.md +1 -1
  267. package/dist/collection/components/mds-filter/documentation.json +2 -2
  268. package/dist/collection/components/mds-filter/mds-filter.css +3 -3
  269. package/dist/collection/components/mds-filter/mds-filter.js +6 -2
  270. package/dist/collection/components/mds-filter-item/AGENTS.md +2 -2
  271. package/dist/collection/components/mds-filter-item/documentation.json +3 -3
  272. package/dist/collection/components/mds-filter-item/mds-filter-item.css +7 -4
  273. package/dist/collection/components/mds-filter-item/mds-filter-item.js +2 -14
  274. package/dist/collection/components/mds-header/AGENTS.md +5 -5
  275. package/dist/collection/components/mds-header/antipattern.md +2 -2
  276. package/dist/collection/components/mds-header/documentation.json +14 -9
  277. package/dist/collection/components/mds-header/mds-header.css +8 -6
  278. package/dist/collection/components/mds-header/mds-header.js +10 -9
  279. package/dist/collection/components/mds-header/pattern.md +1 -1
  280. package/dist/collection/components/mds-header-bar/AGENTS.md +5 -5
  281. package/dist/collection/components/mds-header-bar/documentation.json +14 -10
  282. package/dist/collection/components/mds-header-bar/mds-header-bar.css +13 -4
  283. package/dist/collection/components/mds-header-bar/mds-header-bar.js +11 -9
  284. package/dist/collection/components/mds-header-bar/pattern.md +2 -2
  285. package/dist/collection/components/mds-help/AGENTS.md +7 -7
  286. package/dist/collection/components/mds-help/documentation.json +11 -7
  287. package/dist/collection/components/mds-help/mds-help.css +22 -0
  288. package/dist/collection/components/mds-help/mds-help.js +8 -5
  289. package/dist/collection/components/mds-help/pattern.md +2 -2
  290. package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +2 -2
  291. package/dist/collection/components/mds-horizontal-scroll/documentation.json +7 -3
  292. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.css +3 -3
  293. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +7 -11
  294. package/dist/collection/components/mds-hr/AGENTS.md +1 -1
  295. package/dist/collection/components/mds-hr/documentation.json +2 -2
  296. package/dist/collection/components/mds-hr/mds-hr.css +1 -1
  297. package/dist/collection/components/mds-hr/mds-hr.js +1 -1
  298. package/dist/collection/components/mds-icon/AGENTS.md +2 -2
  299. package/dist/collection/components/mds-icon/documentation.json +4 -4
  300. package/dist/collection/components/mds-icon/mds-icon.js +14 -3
  301. package/dist/collection/components/mds-icon/pattern.md +1 -1
  302. package/dist/collection/components/mds-img/AGENTS.md +9 -9
  303. package/dist/collection/components/mds-img/antipattern.md +1 -1
  304. package/dist/collection/components/mds-img/documentation.json +36 -34
  305. package/dist/collection/components/mds-img/mds-img.js +58 -56
  306. package/dist/collection/components/mds-input/AGENTS.md +15 -15
  307. package/dist/collection/components/mds-input/antipattern.md +1 -1
  308. package/dist/collection/components/mds-input/documentation.json +83 -22
  309. package/dist/collection/components/mds-input/mds-input.css +3 -3
  310. package/dist/collection/components/mds-input/mds-input.js +33 -9
  311. package/dist/collection/components/mds-input-date/AGENTS.md +3 -3
  312. package/dist/collection/components/mds-input-date/antipattern.md +1 -1
  313. package/dist/collection/components/mds-input-date/documentation.json +23 -6
  314. package/dist/collection/components/mds-input-date/mds-input-date.css +1 -2
  315. package/dist/collection/components/mds-input-date/mds-input-date.js +17 -2
  316. package/dist/collection/components/mds-input-date-range/AGENTS.md +1 -1
  317. package/dist/collection/components/mds-input-date-range/documentation.json +18 -2
  318. package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +18 -2
  319. package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +3 -3
  320. package/dist/collection/components/mds-input-date-range-preselection/antipattern.md +1 -1
  321. package/dist/collection/components/mds-input-date-range-preselection/documentation.json +26 -8
  322. package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.js +31 -9
  323. package/dist/collection/components/mds-input-field/AGENTS.md +4 -4
  324. package/dist/collection/components/mds-input-field/documentation.json +10 -6
  325. package/dist/collection/components/mds-input-field/mds-input-field.css +1 -1
  326. package/dist/collection/components/mds-input-field/mds-input-field.js +5 -2
  327. package/dist/collection/components/mds-input-otp/AGENTS.md +5 -4
  328. package/dist/collection/components/mds-input-otp/antipattern.md +1 -1
  329. package/dist/collection/components/mds-input-otp/documentation.json +5 -5
  330. package/dist/collection/components/mds-input-otp/mds-input-otp.css +12 -0
  331. package/dist/collection/components/mds-input-otp/mds-input-otp.js +53 -18
  332. package/dist/collection/components/mds-input-otp/pattern.md +1 -1
  333. package/dist/collection/components/mds-input-range/AGENTS.md +1 -1
  334. package/dist/collection/components/mds-input-range/antipattern.md +1 -1
  335. package/dist/collection/components/mds-input-range/documentation.json +3 -3
  336. package/dist/collection/components/mds-input-range/mds-input-range.css +3 -3
  337. package/dist/collection/components/mds-input-range/mds-input-range.js +1 -1
  338. package/dist/collection/components/mds-input-select/AGENTS.md +1 -1
  339. package/dist/collection/components/mds-input-select/documentation.json +2 -2
  340. package/dist/collection/components/mds-input-select/mds-input-select.css +9 -2
  341. package/dist/collection/components/mds-input-select/mds-input-select.js +2 -2
  342. package/dist/collection/components/mds-input-switch/AGENTS.md +1 -1
  343. package/dist/collection/components/mds-input-switch/antipattern.md +1 -1
  344. package/dist/collection/components/mds-input-switch/documentation.json +3 -3
  345. package/dist/collection/components/mds-input-switch/mds-input-switch.css +7 -6
  346. package/dist/collection/components/mds-input-switch/mds-input-switch.js +1 -1
  347. package/dist/collection/components/mds-input-tip/AGENTS.md +2 -2
  348. package/dist/collection/components/mds-input-tip/documentation.json +3 -3
  349. package/dist/collection/components/mds-input-tip/mds-input-tip.js +4 -3
  350. package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
  351. package/dist/collection/components/mds-input-tip-item/documentation.json +2 -2
  352. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.css +3 -1
  353. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +2 -2
  354. package/dist/collection/components/mds-input-tip-item/meta/dictionary.js +2 -8
  355. package/dist/collection/components/mds-input-upload/AGENTS.md +2 -2
  356. package/dist/collection/components/mds-input-upload/documentation.json +7 -3
  357. package/dist/collection/components/mds-input-upload/mds-input-upload.css +4 -3
  358. package/dist/collection/components/mds-input-upload/mds-input-upload.js +13 -8
  359. package/dist/collection/components/mds-keyboard/AGENTS.md +2 -2
  360. package/dist/collection/components/mds-keyboard/documentation.json +4 -4
  361. package/dist/collection/components/mds-keyboard/mds-keyboard.css +24 -13
  362. package/dist/collection/components/mds-keyboard/mds-keyboard.js +11 -3
  363. package/dist/collection/components/mds-keyboard/pattern.md +1 -1
  364. package/dist/collection/components/mds-keyboard-key/AGENTS.md +2 -2
  365. package/dist/collection/components/mds-keyboard-key/documentation.json +3 -3
  366. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.css +2 -2
  367. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -1
  368. package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
  369. package/dist/collection/components/mds-kpi/documentation.json +2 -2
  370. package/dist/collection/components/mds-kpi/mds-kpi.js +1 -1
  371. package/dist/collection/components/mds-kpi-item/AGENTS.md +2 -2
  372. package/dist/collection/components/mds-kpi-item/antipattern.md +1 -1
  373. package/dist/collection/components/mds-kpi-item/documentation.json +5 -5
  374. package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +15 -1
  375. package/dist/collection/components/mds-kpi-item/pattern.md +2 -2
  376. package/dist/collection/components/mds-label/AGENTS.md +2 -2
  377. package/dist/collection/components/mds-label/documentation.json +3 -3
  378. package/dist/collection/components/mds-label/mds-label.css +6 -1
  379. package/dist/collection/components/mds-label/mds-label.js +2 -24
  380. package/dist/collection/components/mds-list/AGENTS.md +1 -1
  381. package/dist/collection/components/mds-list/documentation.json +2 -2
  382. package/dist/collection/components/mds-list/mds-list.js +1 -1
  383. package/dist/collection/components/mds-list-item/AGENTS.md +3 -3
  384. package/dist/collection/components/mds-list-item/documentation.json +12 -4
  385. package/dist/collection/components/mds-list-item/mds-list-item.js +3 -1
  386. package/dist/collection/components/mds-mention/AGENTS.md +2 -2
  387. package/dist/collection/components/mds-mention/documentation.json +3 -3
  388. package/dist/collection/components/mds-mention/mds-mention.css +2 -11
  389. package/dist/collection/components/mds-mention/mds-mention.js +4 -3
  390. package/dist/collection/components/mds-modal/AGENTS.md +7 -6
  391. package/dist/collection/components/mds-modal/documentation.json +16 -7
  392. package/dist/collection/components/mds-modal/mds-modal.css +18 -9
  393. package/dist/collection/components/mds-modal/mds-modal.js +25 -7
  394. package/dist/collection/components/mds-modal/pattern.md +1 -1
  395. package/dist/collection/components/mds-note/AGENTS.md +2 -1
  396. package/dist/collection/components/mds-note/documentation.json +8 -3
  397. package/dist/collection/components/mds-note/mds-note.css +4 -12
  398. package/dist/collection/components/mds-note/mds-note.js +13 -9
  399. package/dist/collection/components/mds-note/pattern.md +1 -0
  400. package/dist/collection/components/mds-notification/AGENTS.md +5 -5
  401. package/dist/collection/components/mds-notification/documentation.json +10 -5
  402. package/dist/collection/components/mds-notification/mds-notification.css +9 -2
  403. package/dist/collection/components/mds-notification/mds-notification.js +78 -13
  404. package/dist/collection/components/mds-paginator/AGENTS.md +4 -3
  405. package/dist/collection/components/mds-paginator/antipattern.md +2 -1
  406. package/dist/collection/components/mds-paginator/documentation.json +6 -6
  407. package/dist/collection/components/mds-paginator/mds-paginator.css +2 -2
  408. package/dist/collection/components/mds-paginator/mds-paginator.js +12 -1
  409. package/dist/collection/components/mds-paginator/pattern.md +9 -1
  410. package/dist/collection/components/mds-paginator-item/AGENTS.md +4 -4
  411. package/dist/collection/components/mds-paginator-item/antipattern.md +2 -1
  412. package/dist/collection/components/mds-paginator-item/documentation.json +6 -6
  413. package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +67 -70
  414. package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +19 -7
  415. package/dist/collection/components/mds-paginator-item/pattern.md +3 -1
  416. package/dist/collection/components/mds-policy-ai/AGENTS.md +3 -2
  417. package/dist/collection/components/mds-policy-ai/documentation.json +13 -5
  418. package/dist/collection/components/mds-policy-ai/mds-policy-ai.css +13 -7
  419. package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +3 -2
  420. package/dist/collection/components/mds-policy-ai/pattern.md +6 -1
  421. package/dist/collection/components/mds-pref/AGENTS.md +5 -5
  422. package/dist/collection/components/mds-pref/antipattern.md +1 -1
  423. package/dist/collection/components/mds-pref/documentation.json +8 -8
  424. package/dist/collection/components/mds-pref/mds-pref.js +27 -9
  425. package/dist/collection/components/mds-pref/pattern.md +5 -5
  426. package/dist/collection/components/mds-pref-animation/AGENTS.md +3 -3
  427. package/dist/collection/components/mds-pref-animation/antipattern.md +1 -1
  428. package/dist/collection/components/mds-pref-animation/documentation.json +5 -5
  429. package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +38 -5
  430. package/dist/collection/components/mds-pref-animation/pattern.md +6 -6
  431. package/dist/collection/components/mds-pref-consumption/AGENTS.md +3 -3
  432. package/dist/collection/components/mds-pref-consumption/antipattern.md +1 -1
  433. package/dist/collection/components/mds-pref-consumption/documentation.json +5 -5
  434. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +38 -5
  435. package/dist/collection/components/mds-pref-consumption/pattern.md +5 -6
  436. package/dist/collection/components/mds-pref-contrast/AGENTS.md +3 -3
  437. package/dist/collection/components/mds-pref-contrast/antipattern.md +2 -2
  438. package/dist/collection/components/mds-pref-contrast/documentation.json +5 -5
  439. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +41 -29
  440. package/dist/collection/components/mds-pref-contrast/pattern.md +3 -3
  441. package/dist/collection/components/mds-pref-language/AGENTS.md +5 -5
  442. package/dist/collection/components/mds-pref-language/antipattern.md +2 -2
  443. package/dist/collection/components/mds-pref-language/documentation.json +17 -7
  444. package/dist/collection/components/mds-pref-language/mds-pref-language.js +54 -20
  445. package/dist/collection/components/mds-pref-language/pattern.md +3 -3
  446. package/dist/collection/components/mds-pref-language-item/AGENTS.md +2 -2
  447. package/dist/collection/components/mds-pref-language-item/antipattern.md +1 -1
  448. package/dist/collection/components/mds-pref-language-item/documentation.json +10 -5
  449. package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +9 -6
  450. package/dist/collection/components/mds-pref-mode/AGENTS.md +11 -4
  451. package/dist/collection/components/mds-pref-mode/antipattern.md +4 -4
  452. package/dist/collection/components/mds-pref-mode/documentation.json +22 -6
  453. package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +1 -1
  454. package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +22 -23
  455. package/dist/collection/components/mds-pref-mode/pattern.md +5 -5
  456. package/dist/collection/components/mds-pref-theme/AGENTS.md +6 -5
  457. package/dist/collection/components/mds-pref-theme/antipattern.md +4 -4
  458. package/dist/collection/components/mds-pref-theme/documentation.json +17 -7
  459. package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +121 -30
  460. package/dist/collection/components/mds-pref-theme/pattern.md +3 -3
  461. package/dist/collection/components/mds-pref-theme-item/AGENTS.md +2 -2
  462. package/dist/collection/components/mds-pref-theme-item/antipattern.md +1 -1
  463. package/dist/collection/components/mds-pref-theme-item/documentation.json +8 -4
  464. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.css +20 -3
  465. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +6 -2
  466. package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
  467. package/dist/collection/components/mds-price-table/documentation.json +2 -2
  468. package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
  469. package/dist/collection/components/mds-price-table-features/AGENTS.md +3 -3
  470. package/dist/collection/components/mds-price-table-features/documentation.json +4 -4
  471. package/dist/collection/components/mds-price-table-features/mds-price-table-features.css +2 -2
  472. package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
  473. package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +2 -2
  474. package/dist/collection/components/mds-price-table-features-cell/documentation.json +3 -3
  475. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.css +5 -2
  476. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +1 -1
  477. package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
  478. package/dist/collection/components/mds-price-table-features-row/documentation.json +2 -2
  479. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
  480. package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
  481. package/dist/collection/components/mds-price-table-header/documentation.json +2 -2
  482. package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
  483. package/dist/collection/components/mds-price-table-list/AGENTS.md +3 -3
  484. package/dist/collection/components/mds-price-table-list/documentation.json +3 -3
  485. package/dist/collection/components/mds-price-table-list/mds-price-table-list.css +2 -1
  486. package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +13 -3
  487. package/dist/collection/components/mds-price-table-list-item/AGENTS.md +3 -3
  488. package/dist/collection/components/mds-price-table-list-item/documentation.json +9 -5
  489. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.css +5 -1
  490. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +2 -1
  491. package/dist/collection/components/mds-price-table-list-item/pattern.md +1 -1
  492. package/dist/collection/components/mds-progress/AGENTS.md +3 -2
  493. package/dist/collection/components/mds-progress/documentation.json +4 -4
  494. package/dist/collection/components/mds-progress/mds-progress.css +2 -1
  495. package/dist/collection/components/mds-progress/mds-progress.js +42 -29
  496. package/dist/collection/components/mds-progress/pattern.md +1 -0
  497. package/dist/collection/components/mds-push-notification/AGENTS.md +4 -4
  498. package/dist/collection/components/mds-push-notification/documentation.json +4 -4
  499. package/dist/collection/components/mds-push-notification/mds-push-notification.js +19 -12
  500. package/dist/collection/components/mds-push-notification-item/AGENTS.md +4 -5
  501. package/dist/collection/components/mds-push-notification-item/documentation.json +18 -13
  502. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +5 -88
  503. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +17 -8
  504. package/dist/collection/components/mds-push-notification-item/pattern.md +2 -3
  505. package/dist/collection/components/mds-quote/AGENTS.md +1 -1
  506. package/dist/collection/components/mds-quote/documentation.json +2 -2
  507. package/dist/collection/components/mds-quote/mds-quote.js +1 -1
  508. package/dist/collection/components/mds-radial-menu/AGENTS.md +12 -11
  509. package/dist/collection/components/mds-radial-menu/antipattern.md +1 -1
  510. package/dist/collection/components/mds-radial-menu/documentation.json +19 -33
  511. package/dist/collection/components/mds-radial-menu/mds-radial-menu.css +24 -7
  512. package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +46 -39
  513. package/dist/collection/components/mds-radial-menu/pattern.md +14 -1
  514. package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
  515. package/dist/collection/components/mds-radial-menu-item/documentation.json +2 -2
  516. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
  517. package/dist/collection/components/mds-radial-progress/AGENTS.md +11 -1
  518. package/dist/collection/components/mds-radial-progress/antipattern.md +8 -1
  519. package/dist/collection/components/mds-radial-progress/documentation.json +31 -5
  520. package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +9 -1
  521. package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
  522. package/dist/collection/components/mds-radial-progress/pattern.md +13 -1
  523. package/dist/collection/components/mds-separator/AGENTS.md +1 -1
  524. package/dist/collection/components/mds-separator/documentation.json +2 -2
  525. package/dist/collection/components/mds-separator/mds-separator.css +1 -1
  526. package/dist/collection/components/mds-separator/mds-separator.js +1 -1
  527. package/dist/collection/components/mds-spinner/AGENTS.md +2 -2
  528. package/dist/collection/components/mds-spinner/documentation.json +4 -4
  529. package/dist/collection/components/mds-spinner/mds-spinner.css +64 -13
  530. package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
  531. package/dist/collection/components/mds-spinner/pattern.md +1 -1
  532. package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
  533. package/dist/collection/components/mds-status-bar/antipattern.md +1 -1
  534. package/dist/collection/components/mds-status-bar/documentation.json +4 -4
  535. package/dist/collection/components/mds-status-bar/mds-status-bar.css +11 -6
  536. package/dist/collection/components/mds-status-bar/mds-status-bar.js +5 -6
  537. package/dist/collection/components/mds-status-bar/pattern.md +1 -1
  538. package/dist/collection/components/mds-stepper-bar/AGENTS.md +5 -5
  539. package/dist/collection/components/mds-stepper-bar/documentation.json +8 -14
  540. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +9 -27
  541. package/dist/collection/components/mds-stepper-bar/pattern.md +1 -1
  542. package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +4 -4
  543. package/dist/collection/components/mds-stepper-bar-item/documentation.json +6 -6
  544. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +22 -5
  545. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +15 -3
  546. package/dist/collection/components/mds-stepper-bar-item/pattern.md +1 -1
  547. package/dist/collection/components/mds-tab/AGENTS.md +3 -3
  548. package/dist/collection/components/mds-tab/documentation.json +5 -5
  549. package/dist/collection/components/mds-tab/mds-tab.css +4 -4
  550. package/dist/collection/components/mds-tab/mds-tab.js +9 -3
  551. package/dist/collection/components/mds-tab/pattern.md +9 -0
  552. package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
  553. package/dist/collection/components/mds-tab-bar/antipattern.md +1 -1
  554. package/dist/collection/components/mds-tab-bar/documentation.json +3 -3
  555. package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +9 -3
  556. package/dist/collection/components/mds-tab-bar-item/AGENTS.md +3 -3
  557. package/dist/collection/components/mds-tab-bar-item/antipattern.md +2 -2
  558. package/dist/collection/components/mds-tab-bar-item/documentation.json +5 -5
  559. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +22 -1
  560. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +22 -18
  561. package/dist/collection/components/mds-tab-bar-item/pattern.md +1 -1
  562. package/dist/collection/components/mds-tab-item/AGENTS.md +2 -2
  563. package/dist/collection/components/mds-tab-item/documentation.json +9 -4
  564. package/dist/collection/components/mds-tab-item/mds-tab-item.css +11 -1
  565. package/dist/collection/components/mds-tab-item/mds-tab-item.js +4 -1
  566. package/dist/collection/components/mds-table/AGENTS.md +10 -8
  567. package/dist/collection/components/mds-table/antipattern.md +1 -1
  568. package/dist/collection/components/mds-table/documentation.json +41 -10
  569. package/dist/collection/components/mds-table/mds-table.css +20 -21
  570. package/dist/collection/components/mds-table/mds-table.js +97 -21
  571. package/dist/collection/components/mds-table/pattern.md +4 -1
  572. package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
  573. package/dist/collection/components/mds-table-body/documentation.json +2 -2
  574. package/dist/collection/components/mds-table-body/mds-table-body.css +4 -1
  575. package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
  576. package/dist/collection/components/mds-table-cell/AGENTS.md +5 -5
  577. package/dist/collection/components/mds-table-cell/antipattern.md +1 -1
  578. package/dist/collection/components/mds-table-cell/documentation.json +11 -7
  579. package/dist/collection/components/mds-table-cell/mds-table-cell.css +7 -11
  580. package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
  581. package/dist/collection/components/mds-table-cell/pattern.md +6 -0
  582. package/dist/collection/components/mds-table-footer/AGENTS.md +14 -4
  583. package/dist/collection/components/mds-table-footer/documentation.json +42 -9
  584. package/dist/collection/components/mds-table-footer/mds-table-footer.css +6 -1
  585. package/dist/collection/components/mds-table-footer/mds-table-footer.js +41 -2
  586. package/dist/collection/components/mds-table-footer/pattern.md +2 -1
  587. package/dist/collection/components/mds-table-header/AGENTS.md +4 -3
  588. package/dist/collection/components/mds-table-header/documentation.json +49 -6
  589. package/dist/collection/components/mds-table-header/mds-table-header.css +7 -0
  590. package/dist/collection/components/mds-table-header/mds-table-header.js +36 -2
  591. package/dist/collection/components/mds-table-header/pattern.md +1 -1
  592. package/dist/collection/components/mds-table-header-cell/AGENTS.md +3 -3
  593. package/dist/collection/components/mds-table-header-cell/documentation.json +20 -6
  594. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +9 -2
  595. package/dist/collection/components/mds-table-row/AGENTS.md +3 -3
  596. package/dist/collection/components/mds-table-row/documentation.json +5 -5
  597. package/dist/collection/components/mds-table-row/mds-table-row.css +5 -4
  598. package/dist/collection/components/mds-table-row/mds-table-row.js +24 -5
  599. package/dist/collection/components/mds-table-row/pattern.md +1 -2
  600. package/dist/collection/components/mds-text/AGENTS.md +2 -2
  601. package/dist/collection/components/mds-text/documentation.json +3 -3
  602. package/dist/collection/components/mds-text/mds-text.css +86 -3
  603. package/dist/collection/components/mds-text/mds-text.js +1 -1
  604. package/dist/collection/components/mds-toast/AGENTS.md +13 -7
  605. package/dist/collection/components/mds-toast/antipattern.md +18 -0
  606. package/dist/collection/components/mds-toast/documentation.json +53 -13
  607. package/dist/collection/components/mds-toast/mds-toast.css +52 -3
  608. package/dist/collection/components/mds-toast/mds-toast.js +174 -35
  609. package/dist/collection/components/mds-toast/meta/event-detail.js +1 -0
  610. package/dist/collection/components/mds-toast/pattern.md +18 -4
  611. package/dist/collection/components/mds-toast-region/AGENTS.md +51 -0
  612. package/dist/collection/components/mds-toast-region/antipattern.md +62 -0
  613. package/dist/collection/components/mds-toast-region/documentation.json +136 -0
  614. package/dist/collection/components/mds-toast-region/mds-toast-region.css +31 -0
  615. package/dist/collection/components/mds-toast-region/mds-toast-region.js +177 -0
  616. package/dist/collection/components/mds-toast-region/pattern.md +82 -0
  617. package/dist/collection/components/mds-tooltip/AGENTS.md +7 -7
  618. package/dist/collection/components/mds-tooltip/documentation.json +18 -9
  619. package/dist/collection/components/mds-tooltip/mds-tooltip.css +43 -8
  620. package/dist/collection/components/mds-tooltip/mds-tooltip.js +73 -14
  621. package/dist/collection/components/mds-tooltip/pattern.md +2 -2
  622. package/dist/collection/components/mds-tree/AGENTS.md +6 -5
  623. package/dist/collection/components/mds-tree/documentation.json +13 -7
  624. package/dist/collection/components/mds-tree/mds-tree.css +5 -4
  625. package/dist/collection/components/mds-tree/mds-tree.js +41 -16
  626. package/dist/collection/components/mds-tree/pattern.md +5 -1
  627. package/dist/collection/components/mds-tree-item/AGENTS.md +7 -7
  628. package/dist/collection/components/mds-tree-item/documentation.json +7 -7
  629. package/dist/collection/components/mds-tree-item/mds-tree-item.css +47 -15
  630. package/dist/collection/components/mds-tree-item/mds-tree-item.js +22 -8
  631. package/dist/collection/components/mds-tree-item/pattern.md +2 -1
  632. package/dist/collection/components/mds-url-view/AGENTS.md +2 -2
  633. package/dist/collection/components/mds-url-view/documentation.json +3 -3
  634. package/dist/collection/components/mds-url-view/mds-url-view.css +3 -2
  635. package/dist/collection/components/mds-url-view/mds-url-view.js +2 -2
  636. package/dist/collection/components/mds-usage/AGENTS.md +12 -10
  637. package/dist/collection/components/mds-usage/antipattern.md +1 -1
  638. package/dist/collection/components/mds-usage/documentation.json +21 -9
  639. package/dist/collection/components/mds-usage/mds-usage.css +5 -3
  640. package/dist/collection/components/mds-usage/mds-usage.js +5 -2
  641. package/dist/collection/components/mds-usage/pattern.md +4 -4
  642. package/dist/collection/components/mds-video-wall/AGENTS.md +2 -2
  643. package/dist/collection/components/mds-video-wall/documentation.json +3 -3
  644. package/dist/collection/components/mds-video-wall/mds-video-wall.css +10 -5
  645. package/dist/collection/components/mds-video-wall/mds-video-wall.js +2 -1
  646. package/dist/collection/components/mds-zero/AGENTS.md +1 -1
  647. package/dist/collection/components/mds-zero/documentation.json +2 -2
  648. package/dist/collection/components/mds-zero/mds-zero.css +2 -1
  649. package/dist/collection/components/mds-zero/mds-zero.js +1 -1
  650. package/dist/components/index.d.ts +2 -0
  651. package/dist/components/index.js +1 -1
  652. package/dist/components/mds-accordion-item.js +1 -1
  653. package/dist/components/mds-accordion-timer-item.js +1 -1
  654. package/dist/components/mds-accordion-timer.js +1 -1
  655. package/dist/components/mds-accordion.js +1 -1
  656. package/dist/components/mds-author.js +1 -1
  657. package/dist/components/mds-avatar-stack-item.js +1 -1
  658. package/dist/components/mds-avatar-stack.js +1 -1
  659. package/dist/components/mds-avatar.js +1 -1
  660. package/dist/components/mds-badge.js +1 -1
  661. package/dist/components/mds-banner.js +1 -1
  662. package/dist/components/mds-benchmark-bar.js +1 -1
  663. package/dist/components/mds-bibliography.js +1 -1
  664. package/dist/components/mds-breadcrumb-item.js +1 -1
  665. package/dist/components/mds-breadcrumb.js +1 -1
  666. package/dist/components/mds-button-dropdown.js +1 -1
  667. package/dist/components/mds-button-group.js +1 -1
  668. package/dist/components/mds-button.js +1 -1
  669. package/dist/components/mds-calendar-cell.js +1 -1
  670. package/dist/components/mds-calendar.js +1 -1
  671. package/dist/components/mds-card-content.js +1 -1
  672. package/dist/components/mds-card-footer.js +1 -1
  673. package/dist/components/mds-card-header.js +1 -1
  674. package/dist/components/mds-card-media.js +1 -1
  675. package/dist/components/mds-card.js +1 -1
  676. package/dist/components/mds-chip.js +1 -1
  677. package/dist/components/mds-details.js +1 -1
  678. package/dist/components/mds-dropdown.js +1 -1
  679. package/dist/components/mds-emoji.js +7 -7
  680. package/dist/components/mds-entity.js +1 -1
  681. package/dist/components/mds-file-preview.js +1 -1
  682. package/dist/components/mds-file.js +1 -1
  683. package/dist/components/mds-filter-item.js +1 -1
  684. package/dist/components/mds-filter.js +1 -1
  685. package/dist/components/mds-header-bar.js +1 -1
  686. package/dist/components/mds-header.js +1 -1
  687. package/dist/components/mds-help.js +1 -1
  688. package/dist/components/mds-horizontal-scroll.js +1 -1
  689. package/dist/components/mds-hr.js +1 -1
  690. package/dist/components/mds-icon.js +1 -1
  691. package/dist/components/mds-img.js +1 -1
  692. package/dist/components/mds-input-date-range-preselection.js +1 -1
  693. package/dist/components/mds-input-date-range.js +1 -1
  694. package/dist/components/mds-input-date.js +1 -1
  695. package/dist/components/mds-input-field.js +1 -1
  696. package/dist/components/mds-input-otp.js +1 -1
  697. package/dist/components/mds-input-range.js +1 -1
  698. package/dist/components/mds-input-select.js +1 -1
  699. package/dist/components/mds-input-switch.js +1 -1
  700. package/dist/components/mds-input-tip-item.js +1 -1
  701. package/dist/components/mds-input-tip.js +1 -1
  702. package/dist/components/mds-input-upload.js +1 -1
  703. package/dist/components/mds-input.js +1 -1
  704. package/dist/components/mds-keyboard-key.js +1 -1
  705. package/dist/components/mds-keyboard.js +1 -1
  706. package/dist/components/mds-kpi-item.js +1 -1
  707. package/dist/components/mds-kpi.js +1 -1
  708. package/dist/components/mds-label.js +1 -1
  709. package/dist/components/mds-list-item.js +1 -1
  710. package/dist/components/mds-list.js +1 -1
  711. package/dist/components/mds-mention.js +1 -1
  712. package/dist/components/mds-modal.js +1 -1
  713. package/dist/components/mds-note.js +1 -1
  714. package/dist/components/mds-notification.js +1 -1
  715. package/dist/components/mds-paginator-item.js +1 -1
  716. package/dist/components/mds-paginator.js +1 -1
  717. package/dist/components/mds-policy-ai.js +1 -1
  718. package/dist/components/mds-pref-animation.js +1 -1
  719. package/dist/components/mds-pref-consumption.js +1 -1
  720. package/dist/components/mds-pref-contrast.js +1 -1
  721. package/dist/components/mds-pref-language-item.js +1 -1
  722. package/dist/components/mds-pref-language.js +1 -1
  723. package/dist/components/mds-pref-mode.js +1 -1
  724. package/dist/components/mds-pref-theme-item.js +1 -1
  725. package/dist/components/mds-pref-theme.js +1 -1
  726. package/dist/components/mds-pref.js +1 -1
  727. package/dist/components/mds-price-table-features-cell.js +1 -1
  728. package/dist/components/mds-price-table-features-row.js +1 -1
  729. package/dist/components/mds-price-table-features.js +1 -1
  730. package/dist/components/mds-price-table-header.js +1 -1
  731. package/dist/components/mds-price-table-list-item.js +1 -1
  732. package/dist/components/mds-price-table-list.js +1 -1
  733. package/dist/components/mds-price-table.js +1 -1
  734. package/dist/components/mds-progress.js +1 -1
  735. package/dist/components/mds-push-notification-item.js +1 -1
  736. package/dist/components/mds-push-notification.js +1 -1
  737. package/dist/components/mds-quote.js +1 -1
  738. package/dist/components/mds-radial-menu-item.js +1 -1
  739. package/dist/components/mds-radial-menu.js +1 -1
  740. package/dist/components/mds-radial-progress.js +1 -1
  741. package/dist/components/mds-separator.js +1 -1
  742. package/dist/components/mds-spinner.js +1 -1
  743. package/dist/components/mds-status-bar.js +1 -1
  744. package/dist/components/mds-stepper-bar-item.js +1 -1
  745. package/dist/components/mds-stepper-bar.js +1 -1
  746. package/dist/components/mds-tab-bar-item.js +1 -1
  747. package/dist/components/mds-tab-bar.js +1 -1
  748. package/dist/components/mds-tab-item.js +1 -1
  749. package/dist/components/mds-tab.js +1 -1
  750. package/dist/components/mds-table-body.js +1 -1
  751. package/dist/components/mds-table-cell.js +1 -1
  752. package/dist/components/mds-table-footer.js +1 -1
  753. package/dist/components/mds-table-header-cell.js +1 -1
  754. package/dist/components/mds-table-header.js +1 -1
  755. package/dist/components/mds-table-row.js +1 -1
  756. package/dist/components/mds-table.js +1 -1
  757. package/dist/components/mds-text.js +1 -1
  758. package/dist/components/mds-toast-region.d.ts +11 -0
  759. package/dist/components/mds-toast-region.js +1 -0
  760. package/dist/components/mds-toast.js +1 -1
  761. package/dist/components/mds-tooltip.js +1 -1
  762. package/dist/components/mds-tree-item.js +1 -1
  763. package/dist/components/mds-tree.js +1 -1
  764. package/dist/components/mds-url-view.js +1 -1
  765. package/dist/components/mds-usage.js +1 -1
  766. package/dist/components/mds-video-wall.js +1 -1
  767. package/dist/components/mds-zero.js +1 -1
  768. package/dist/components/p-2gaGDQwL.js +1 -0
  769. package/dist/components/p-AFBkzOrP.js +1 -0
  770. package/dist/components/p-B1bYa-o0.js +1 -0
  771. package/dist/components/p-B2p5a1Y8.js +3 -0
  772. package/dist/components/p-B6B6q5kP.js +1 -0
  773. package/dist/components/{p--miH951G.js → p-B9dgiq4u.js} +1 -1
  774. package/dist/components/p-BFisF7aN.js +1 -0
  775. package/dist/components/p-BL220gRU.js +1 -0
  776. package/dist/components/p-BLiWCyrD.js +1 -0
  777. package/dist/components/p-BN5kmfLJ.js +8 -0
  778. package/dist/components/p-BUr3NqxM.js +1 -0
  779. package/dist/components/p-BaFfIZGB.js +1 -0
  780. package/dist/components/{p-faViX-qz.js → p-Bg5E4Wnq.js} +1 -1
  781. package/dist/components/p-BjFCjSw6.js +1 -0
  782. package/dist/components/{p-zHpei4x6.js → p-BlnEiKN4.js} +1 -1
  783. package/dist/components/p-CGrPq3C4.js +1 -0
  784. package/dist/components/p-CIWWmisz.js +1 -0
  785. package/dist/components/p-CJyTL7Mj.js +1 -0
  786. package/dist/components/p-Cvhn9asj.js +1 -0
  787. package/dist/components/p-CylHulxe.js +1 -0
  788. package/dist/components/p-D3_jgpKd.js +1 -0
  789. package/dist/components/p-D4JiVIoh.js +1 -0
  790. package/dist/components/{p-CUmJoPAI.js → p-DACnmwad.js} +1 -1
  791. package/dist/components/p-DGGk8PS_.js +1 -0
  792. package/dist/components/p-DSxDXNWp.js +1 -0
  793. package/dist/components/p-DWIIDHSa.js +1 -0
  794. package/dist/components/p-DYpfVn7a.js +1 -0
  795. package/dist/components/{p-qYRtWYC8.js → p-D_0rjNZp.js} +1 -1
  796. package/dist/components/p-DaptTdaU.js +1 -0
  797. package/dist/components/{p-DLCcW1Q5.js → p-DezdwzYQ.js} +1 -1
  798. package/dist/components/{p-BcUY-9n7.js → p-DhIGZbIo.js} +1 -1
  799. package/dist/components/{p-ay5NzZ_x.js → p-Didp833Z.js} +1 -1
  800. package/dist/components/p-Dleapw-k.js +1 -0
  801. package/dist/components/p-JPhOaOXe.js +1 -0
  802. package/dist/components/p-NOw8-OrM.js +1 -0
  803. package/dist/components/p-NlPseOAv.js +1 -0
  804. package/dist/components/{p-DmPLOktp.js → p-cIZniMh0.js} +1 -1
  805. package/dist/components/p-fhAmrBfl.js +1 -0
  806. package/dist/components/p-sM-eFjwq.js +1 -0
  807. package/dist/components/p-wHQGpA62.js +1 -0
  808. package/dist/documentation.json +1069 -462
  809. package/dist/esm/aria-Cvhn9asj.js +53 -0
  810. package/dist/esm/{floating-controller-D5-8D9mH.js → floating-controller-BV0E_Juq.js} +20 -11
  811. package/dist/esm/{floating-ui.dom-JMPfVnGv.js → floating-ui.dom-BaFfIZGB.js} +1 -115
  812. package/dist/esm/{icon-pNJmnrhq.js → icon-B7RVWU-q.js} +4 -2
  813. package/dist/esm/{index-BxPbQB28.js → index-CPRkNQdE.js} +89 -60
  814. package/dist/esm/{index-BhCZiGfL.js → index-DI_6NAg0.js} +1 -1
  815. package/dist/esm/index.js +1 -1
  816. package/dist/esm/keyboard-manager-CGrPq3C4.js +73 -0
  817. package/dist/esm/loader.js +3 -3
  818. package/dist/esm/{locale-CVJm6KFD.js → locale-DfpXg7qZ.js} +1 -1
  819. package/dist/esm/{locale.it-Cvxh7La5.js → locale.it-Diyps98n.js} +6 -1
  820. package/dist/esm/{datetime-BJtA1qmE.js → luxon-DbyXf6dF.js} +164 -64
  821. package/dist/esm/magma-components.js +4 -4
  822. package/dist/esm/mds-accordion-item.entry.js +3 -3
  823. package/dist/esm/mds-accordion-timer-item.entry.js +11 -10
  824. package/dist/esm/mds-accordion-timer.entry.js +16 -2
  825. package/dist/esm/mds-accordion.entry.js +36 -21
  826. package/dist/esm/mds-author.entry.js +2 -2
  827. package/dist/esm/mds-avatar-stack-item.entry.js +1 -1
  828. package/dist/esm/mds-avatar-stack.entry.js +11 -5
  829. package/dist/esm/mds-avatar.entry.js +57 -90
  830. package/dist/esm/mds-badge.entry.js +4 -4
  831. package/dist/esm/mds-banner_3.entry.js +51 -69
  832. package/dist/esm/mds-benchmark-bar.entry.js +6 -3
  833. package/dist/esm/mds-bibliography.entry.js +23 -17
  834. package/dist/esm/mds-breadcrumb-item.entry.js +9 -5
  835. package/dist/esm/mds-breadcrumb.entry.js +17 -33
  836. package/dist/esm/mds-button-dropdown.entry.js +15 -6
  837. package/dist/esm/mds-button-group.entry.js +1 -1
  838. package/dist/esm/mds-button_3.entry.js +54 -38
  839. package/dist/esm/mds-calendar_2.entry.js +50 -28
  840. package/dist/esm/mds-card-content.entry.js +1 -1
  841. package/dist/esm/mds-card-footer.entry.js +1 -1
  842. package/dist/esm/mds-card-header.entry.js +2 -2
  843. package/dist/esm/mds-card-media.entry.js +2 -2
  844. package/dist/esm/mds-card.entry.js +25 -16
  845. package/dist/esm/mds-details.entry.js +18 -8
  846. package/dist/esm/mds-dropdown.entry.js +31 -15
  847. package/dist/esm/mds-emoji.entry.js +191 -134
  848. package/dist/esm/mds-entity.entry.js +5 -5
  849. package/dist/esm/mds-file-preview.entry.js +30 -23
  850. package/dist/esm/mds-file.entry.js +25 -7
  851. package/dist/esm/mds-filter-item.entry.js +9 -21
  852. package/dist/esm/mds-filter.entry.js +10 -6
  853. package/dist/esm/mds-header-bar.entry.js +12 -11
  854. package/dist/esm/mds-header.entry.js +9 -11
  855. package/dist/esm/mds-horizontal-scroll.entry.js +10 -15
  856. package/dist/esm/mds-hr.entry.js +4 -4
  857. package/dist/esm/mds-img.entry.js +38 -46
  858. package/dist/esm/mds-input-date-range-preselection.entry.js +15 -7
  859. package/dist/esm/mds-input-date-range.entry.js +12 -8
  860. package/dist/esm/mds-input-date.entry.js +11 -8
  861. package/dist/esm/mds-input-field.entry.js +2 -2
  862. package/dist/esm/mds-input-otp.entry.js +57 -22
  863. package/dist/esm/mds-input-range.entry.js +4 -4
  864. package/dist/esm/mds-input-select.entry.js +7 -7
  865. package/dist/esm/mds-input-switch_2.entry.js +10 -10
  866. package/dist/esm/mds-input-tip_2.entry.js +9 -8
  867. package/dist/esm/mds-input-upload.entry.js +1097 -15
  868. package/dist/esm/mds-input.entry.js +8 -8
  869. package/dist/esm/mds-keyboard-key.entry.js +5 -5
  870. package/dist/esm/mds-keyboard.entry.js +15 -7
  871. package/dist/esm/mds-kpi-item.entry.js +17 -3
  872. package/dist/esm/mds-kpi.entry.js +2 -2
  873. package/dist/esm/mds-label.entry.js +13 -30
  874. package/dist/esm/mds-list-item.entry.js +2 -2
  875. package/dist/esm/mds-list.entry.js +2 -2
  876. package/dist/esm/mds-mention.entry.js +7 -6
  877. package/dist/esm/mds-modal.entry.js +28 -11
  878. package/dist/esm/mds-note.entry.js +18 -14
  879. package/dist/esm/mds-notification.entry.js +72 -15
  880. package/dist/esm/mds-paginator-item.entry.js +23 -11
  881. package/dist/esm/mds-paginator.entry.js +39 -4
  882. package/dist/esm/mds-policy-ai.entry.js +5 -5
  883. package/dist/esm/mds-pref-animation.entry.js +41 -8
  884. package/dist/esm/mds-pref-consumption.entry.js +41 -8
  885. package/dist/esm/mds-pref-contrast.entry.js +44 -32
  886. package/dist/esm/mds-pref-language-item.entry.js +8 -8
  887. package/dist/esm/mds-pref-language.entry.js +43 -21
  888. package/dist/esm/mds-pref-mode.entry.js +28 -24
  889. package/dist/esm/mds-pref-theme-item.entry.js +4 -3
  890. package/dist/esm/mds-pref-theme.entry.js +109 -31
  891. package/dist/esm/mds-pref.entry.js +28 -11
  892. package/dist/esm/mds-price-table-features-cell.entry.js +4 -4
  893. package/dist/esm/mds-price-table-features-row.entry.js +3 -3
  894. package/dist/esm/mds-price-table-features.entry.js +4 -4
  895. package/dist/esm/mds-price-table-header.entry.js +2 -2
  896. package/dist/esm/mds-price-table-list-item.entry.js +3 -3
  897. package/dist/esm/mds-price-table-list.entry.js +14 -6
  898. package/dist/esm/mds-price-table.entry.js +2 -2
  899. package/dist/esm/mds-progress_2.entry.js +46 -33
  900. package/dist/esm/mds-push-notification-item.entry.js +12 -9
  901. package/dist/esm/mds-push-notification.entry.js +36 -13
  902. package/dist/esm/mds-quote.entry.js +3 -3
  903. package/dist/esm/mds-radial-menu-item.entry.js +2 -2
  904. package/dist/esm/mds-radial-menu.entry.js +47 -38
  905. package/dist/esm/mds-separator.entry.js +4 -4
  906. package/dist/esm/mds-status-bar.entry.js +8 -9
  907. package/dist/esm/mds-stepper-bar-item.entry.js +18 -6
  908. package/dist/esm/mds-stepper-bar.entry.js +8 -17
  909. package/dist/esm/mds-tab-bar-item.entry.js +25 -16
  910. package/dist/esm/mds-tab-bar.entry.js +11 -5
  911. package/dist/esm/mds-tab_2.entry.js +16 -10
  912. package/dist/esm/mds-table-body.entry.js +4 -4
  913. package/dist/esm/mds-table-footer.entry.js +13 -4
  914. package/dist/esm/mds-table-header-cell.entry.js +3 -3
  915. package/dist/esm/mds-table-header.entry.js +13 -5
  916. package/dist/esm/mds-table-row.entry.js +35 -11
  917. package/dist/esm/mds-table.entry.js +80 -23
  918. package/dist/esm/mds-text.entry.js +4 -4
  919. package/dist/esm/mds-toast-region.entry.js +117 -0
  920. package/dist/esm/mds-toast.entry.js +163 -33
  921. package/dist/esm/mds-tooltip.entry.js +71 -16
  922. package/dist/esm/mds-tree-item.entry.js +24 -10
  923. package/dist/esm/mds-tree.entry.js +37 -15
  924. package/dist/esm/mds-url-view.entry.js +6 -6
  925. package/dist/esm/mds-usage.entry.js +5 -5
  926. package/dist/esm/mds-video-wall.entry.js +5 -4
  927. package/dist/esm/mds-zero.entry.js +4 -4
  928. package/dist/esm/{preference-DNNqH7BU.js → preference-Ch1zJnqq.js} +1 -1
  929. package/dist/esm/{slot-C0o_l0td.js → slot-AEckDMXh.js} +15 -1
  930. package/dist/esm-es5/aria-Cvhn9asj.js +6 -0
  931. package/dist/esm-es5/{floating-controller-D5-8D9mH.js → floating-controller-BV0E_Juq.js} +12 -3
  932. package/dist/esm-es5/{floating-ui.dom-JMPfVnGv.js → floating-ui.dom-BaFfIZGB.js} +40 -63
  933. package/dist/esm-es5/icon-B7RVWU-q.js +4 -0
  934. package/dist/esm-es5/{index-BxPbQB28.js → index-CPRkNQdE.js} +44 -42
  935. package/dist/esm-es5/{index-BhCZiGfL.js → index-DI_6NAg0.js} +1 -1
  936. package/dist/esm-es5/index.js +1 -1
  937. package/dist/esm-es5/keyboard-manager-CGrPq3C4.js +9 -0
  938. package/dist/esm-es5/loader.js +1 -1
  939. package/dist/esm-es5/{locale-CVJm6KFD.js → locale-DfpXg7qZ.js} +1 -1
  940. package/dist/esm-es5/locale.it-Diyps98n.js +11 -0
  941. package/dist/esm-es5/{datetime-BJtA1qmE.js → luxon-DbyXf6dF.js} +51 -20
  942. package/dist/esm-es5/magma-components.js +3 -3
  943. package/dist/esm-es5/mds-accordion-item.entry.js +2 -2
  944. package/dist/esm-es5/mds-accordion-timer-item.entry.js +7 -3
  945. package/dist/esm-es5/mds-accordion-timer.entry.js +12 -2
  946. package/dist/esm-es5/mds-accordion.entry.js +14 -2
  947. package/dist/esm-es5/mds-author.entry.js +1 -1
  948. package/dist/esm-es5/mds-avatar-stack-item.entry.js +1 -1
  949. package/dist/esm-es5/mds-avatar-stack.entry.js +4 -1
  950. package/dist/esm-es5/mds-avatar.entry.js +19 -6
  951. package/dist/esm-es5/mds-badge.entry.js +1 -1
  952. package/dist/esm-es5/mds-banner_3.entry.js +19 -18
  953. package/dist/esm-es5/mds-benchmark-bar.entry.js +5 -2
  954. package/dist/esm-es5/mds-bibliography.entry.js +13 -2
  955. package/dist/esm-es5/mds-breadcrumb-item.entry.js +4 -1
  956. package/dist/esm-es5/mds-breadcrumb.entry.js +8 -2
  957. package/dist/esm-es5/mds-button-dropdown.entry.js +6 -3
  958. package/dist/esm-es5/mds-button-group.entry.js +1 -1
  959. package/dist/esm-es5/mds-button_3.entry.js +26 -11
  960. package/dist/esm-es5/mds-calendar_2.entry.js +20 -9
  961. package/dist/esm-es5/mds-card-content.entry.js +1 -1
  962. package/dist/esm-es5/mds-card-footer.entry.js +1 -1
  963. package/dist/esm-es5/mds-card-header.entry.js +1 -1
  964. package/dist/esm-es5/mds-card-media.entry.js +1 -1
  965. package/dist/esm-es5/mds-card.entry.js +11 -5
  966. package/dist/esm-es5/mds-details.entry.js +7 -2
  967. package/dist/esm-es5/mds-dropdown.entry.js +26 -17
  968. package/dist/esm-es5/mds-emoji.entry.js +334 -302
  969. package/dist/esm-es5/mds-entity.entry.js +1 -1
  970. package/dist/esm-es5/mds-file-preview.entry.js +15 -13
  971. package/dist/esm-es5/mds-file.entry.js +11 -4
  972. package/dist/esm-es5/mds-filter-item.entry.js +2 -5
  973. package/dist/esm-es5/mds-filter.entry.js +7 -3
  974. package/dist/esm-es5/mds-header-bar.entry.js +7 -5
  975. package/dist/esm-es5/mds-header.entry.js +7 -4
  976. package/dist/esm-es5/mds-horizontal-scroll.entry.js +15 -12
  977. package/dist/esm-es5/mds-hr.entry.js +1 -1
  978. package/dist/esm-es5/mds-img.entry.js +17 -11
  979. package/dist/esm-es5/mds-input-date-range-preselection.entry.js +6 -1
  980. package/dist/esm-es5/mds-input-date-range.entry.js +16 -12
  981. package/dist/esm-es5/mds-input-date.entry.js +6 -3
  982. package/dist/esm-es5/mds-input-field.entry.js +2 -2
  983. package/dist/esm-es5/mds-input-otp.entry.js +16 -6
  984. package/dist/esm-es5/mds-input-range.entry.js +3 -3
  985. package/dist/esm-es5/mds-input-select.entry.js +2 -2
  986. package/dist/esm-es5/mds-input-switch_2.entry.js +2 -2
  987. package/dist/esm-es5/mds-input-tip_2.entry.js +5 -4
  988. package/dist/esm-es5/mds-input-upload.entry.js +5 -3
  989. package/dist/esm-es5/mds-input.entry.js +3 -3
  990. package/dist/esm-es5/mds-keyboard-key.entry.js +2 -2
  991. package/dist/esm-es5/mds-keyboard.entry.js +7 -3
  992. package/dist/esm-es5/mds-kpi-item.entry.js +7 -2
  993. package/dist/esm-es5/mds-kpi.entry.js +1 -1
  994. package/dist/esm-es5/mds-label.entry.js +2 -2
  995. package/dist/esm-es5/mds-list-item.entry.js +2 -2
  996. package/dist/esm-es5/mds-list.entry.js +1 -1
  997. package/dist/esm-es5/mds-mention.entry.js +4 -3
  998. package/dist/esm-es5/mds-modal.entry.js +19 -7
  999. package/dist/esm-es5/mds-note.entry.js +5 -2
  1000. package/dist/esm-es5/mds-notification.entry.js +25 -5
  1001. package/dist/esm-es5/mds-paginator-item.entry.js +8 -1
  1002. package/dist/esm-es5/mds-paginator.entry.js +3 -3
  1003. package/dist/esm-es5/mds-policy-ai.entry.js +2 -2
  1004. package/dist/esm-es5/mds-pref-animation.entry.js +14 -4
  1005. package/dist/esm-es5/mds-pref-consumption.entry.js +14 -4
  1006. package/dist/esm-es5/mds-pref-contrast.entry.js +14 -7
  1007. package/dist/esm-es5/mds-pref-language-item.entry.js +5 -5
  1008. package/dist/esm-es5/mds-pref-language.entry.js +20 -6
  1009. package/dist/esm-es5/mds-pref-mode.entry.js +10 -3
  1010. package/dist/esm-es5/mds-pref-theme-item.entry.js +4 -3
  1011. package/dist/esm-es5/mds-pref-theme.entry.js +38 -11
  1012. package/dist/esm-es5/mds-pref.entry.js +13 -7
  1013. package/dist/esm-es5/mds-price-table-features-cell.entry.js +2 -2
  1014. package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
  1015. package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
  1016. package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
  1017. package/dist/esm-es5/mds-price-table-list-item.entry.js +2 -2
  1018. package/dist/esm-es5/mds-price-table-list.entry.js +5 -1
  1019. package/dist/esm-es5/mds-price-table.entry.js +1 -1
  1020. package/dist/esm-es5/mds-progress_2.entry.js +18 -3
  1021. package/dist/esm-es5/mds-push-notification-item.entry.js +7 -3
  1022. package/dist/esm-es5/mds-push-notification.entry.js +9 -12
  1023. package/dist/esm-es5/mds-quote.entry.js +2 -2
  1024. package/dist/esm-es5/mds-radial-menu-item.entry.js +2 -2
  1025. package/dist/esm-es5/mds-radial-menu.entry.js +8 -11
  1026. package/dist/esm-es5/mds-separator.entry.js +1 -1
  1027. package/dist/esm-es5/mds-status-bar.entry.js +5 -3
  1028. package/dist/esm-es5/mds-stepper-bar-item.entry.js +9 -3
  1029. package/dist/esm-es5/mds-stepper-bar.entry.js +9 -4
  1030. package/dist/esm-es5/mds-tab-bar-item.entry.js +10 -3
  1031. package/dist/esm-es5/mds-tab-bar.entry.js +5 -1
  1032. package/dist/esm-es5/mds-tab_2.entry.js +6 -4
  1033. package/dist/esm-es5/mds-table-body.entry.js +1 -1
  1034. package/dist/esm-es5/mds-table-footer.entry.js +4 -1
  1035. package/dist/esm-es5/mds-table-header-cell.entry.js +2 -2
  1036. package/dist/esm-es5/mds-table-header.entry.js +10 -5
  1037. package/dist/esm-es5/mds-table-row.entry.js +9 -3
  1038. package/dist/esm-es5/mds-table.entry.js +33 -8
  1039. package/dist/esm-es5/mds-text.entry.js +3 -3
  1040. package/dist/esm-es5/mds-toast-region.entry.js +22 -0
  1041. package/dist/esm-es5/mds-toast.entry.js +42 -5
  1042. package/dist/esm-es5/mds-tooltip.entry.js +16 -6
  1043. package/dist/esm-es5/mds-tree-item.entry.js +15 -4
  1044. package/dist/esm-es5/mds-tree.entry.js +15 -2
  1045. package/dist/esm-es5/mds-url-view.entry.js +2 -2
  1046. package/dist/esm-es5/mds-usage.entry.js +3 -3
  1047. package/dist/esm-es5/mds-video-wall.entry.js +2 -2
  1048. package/dist/esm-es5/mds-zero.entry.js +1 -1
  1049. package/dist/esm-es5/{preference-DNNqH7BU.js → preference-Ch1zJnqq.js} +4 -4
  1050. package/dist/esm-es5/slot-AEckDMXh.js +30 -0
  1051. package/dist/hydrate/index.js +4397 -1886
  1052. package/dist/hydrate/index.mjs +4397 -1886
  1053. package/dist/magma-components/index.esm.js +1 -1
  1054. package/dist/magma-components/magma-components.esm.js +1 -1
  1055. package/dist/magma-components/magma-components.js +1 -1
  1056. package/dist/magma-components/p-007968a8.system.entry.js +47 -0
  1057. package/dist/magma-components/p-028f3717.entry.js +1 -0
  1058. package/dist/magma-components/{p-808f6796.entry.js → p-0727d8f9.entry.js} +1 -1
  1059. package/dist/magma-components/p-0b5fe949.entry.js +1 -0
  1060. package/dist/magma-components/p-0b7a884e.system.entry.js +29 -0
  1061. package/dist/magma-components/{p-ed897125.entry.js → p-0bcf3bb6.entry.js} +1 -1
  1062. package/dist/magma-components/{p-c34d9e61.system.entry.js → p-0c9bdfff.system.entry.js} +1 -1
  1063. package/dist/magma-components/{p-514d0fcb.entry.js → p-0dd4b006.entry.js} +1 -1
  1064. package/dist/magma-components/p-0f47fd37.system.entry.js +16 -0
  1065. package/dist/magma-components/p-11e50140.system.entry.js +19 -0
  1066. package/dist/magma-components/{p-c644c5fc.system.entry.js → p-11feeebf.system.entry.js} +4 -1
  1067. package/dist/magma-components/p-1287fb51.entry.js +1 -0
  1068. package/dist/magma-components/p-12a2f8e2.system.entry.js +13 -0
  1069. package/dist/magma-components/p-14b40c21.entry.js +1 -0
  1070. package/dist/magma-components/p-166c0190.entry.js +1 -0
  1071. package/dist/magma-components/{p-a9736d68.system.entry.js → p-176e6d9d.system.entry.js} +1 -1
  1072. package/dist/magma-components/{p-508e10b5.system.entry.js → p-1809e47d.system.entry.js} +455 -422
  1073. package/dist/magma-components/p-1989c0b4.entry.js +8 -0
  1074. package/dist/magma-components/p-1a5411a8.entry.js +1 -0
  1075. package/dist/magma-components/p-1f5cd2b5.entry.js +1 -0
  1076. package/dist/{components/p-B8BWxSho.js → magma-components/p-1f9ebc0d.entry.js} +1 -1
  1077. package/dist/magma-components/{p-837fbbf7.system.entry.js → p-1fe66383.system.entry.js} +1 -1
  1078. package/dist/magma-components/p-20469b7a.system.entry.js +1 -0
  1079. package/dist/magma-components/p-20608f69.system.entry.js +35 -0
  1080. package/dist/magma-components/p-2061e567.entry.js +1 -0
  1081. package/dist/magma-components/p-21c2d7bd.entry.js +1 -0
  1082. package/dist/magma-components/p-21fe0fef.system.entry.js +14 -0
  1083. package/dist/magma-components/p-2294945a.system.entry.js +34 -0
  1084. package/dist/magma-components/p-2362b91a.entry.js +1 -0
  1085. package/dist/magma-components/p-23bf1afa.system.entry.js +27 -0
  1086. package/dist/magma-components/{p-c575cb7b.entry.js → p-23ce0824.entry.js} +1 -1
  1087. package/dist/magma-components/p-25576b51.system.entry.js +14 -0
  1088. package/dist/magma-components/p-288f3cfe.entry.js +1 -0
  1089. package/dist/magma-components/p-29d4605e.system.entry.js +10 -0
  1090. package/dist/magma-components/p-2a2b7c43.entry.js +1 -0
  1091. package/dist/magma-components/p-2aab3752.entry.js +1 -0
  1092. package/dist/magma-components/p-2abfc393.entry.js +1 -0
  1093. package/dist/magma-components/p-2c4d2717.entry.js +1 -0
  1094. package/dist/magma-components/p-2d7d9e4f.entry.js +1 -0
  1095. package/dist/magma-components/p-2f3c6105.entry.js +1 -0
  1096. package/dist/magma-components/p-3093af30.system.entry.js +4 -0
  1097. package/dist/magma-components/{p-35ee2d77.entry.js → p-32bfb09c.entry.js} +1 -1
  1098. package/dist/magma-components/p-342770d2.system.entry.js +7 -0
  1099. package/dist/magma-components/p-36ad5759.system.entry.js +10 -0
  1100. package/dist/magma-components/p-3725c2c1.entry.js +1 -0
  1101. package/dist/magma-components/p-37b801d0.system.entry.js +22 -0
  1102. package/dist/magma-components/{p-2de5f5fe.entry.js → p-3871807a.entry.js} +1 -1
  1103. package/dist/magma-components/{p-154aff83.entry.js → p-38a9e862.entry.js} +1 -1
  1104. package/dist/magma-components/p-3a88fc9b.system.entry.js +1 -0
  1105. package/dist/magma-components/p-3ac09ace.entry.js +1 -0
  1106. package/dist/magma-components/p-3b36319a.entry.js +1 -0
  1107. package/dist/magma-components/{p-8cdad12f.entry.js → p-3ba5ddae.entry.js} +1 -1
  1108. package/dist/magma-components/p-3bb26611.entry.js +1 -0
  1109. package/dist/magma-components/p-3e1b21bd.entry.js +1 -0
  1110. package/dist/magma-components/p-3eaeb263.system.entry.js +25 -0
  1111. package/dist/magma-components/p-3fb98529.system.entry.js +28 -0
  1112. package/dist/magma-components/p-4116e328.system.entry.js +1 -0
  1113. package/dist/magma-components/p-4191bf22.entry.js +1 -0
  1114. package/dist/magma-components/p-4225484c.entry.js +1 -0
  1115. package/dist/magma-components/p-4260da67.system.entry.js +12 -0
  1116. package/dist/magma-components/p-43338a07.entry.js +1 -0
  1117. package/dist/magma-components/p-4582aa3e.system.entry.js +16 -0
  1118. package/dist/magma-components/p-47f7366c.entry.js +1 -0
  1119. package/dist/magma-components/p-495a70e2.entry.js +1 -0
  1120. package/dist/magma-components/p-4a051ef5.system.entry.js +46 -0
  1121. package/dist/magma-components/p-4c2dad1e.system.entry.js +81 -0
  1122. package/dist/magma-components/p-4d079b1a.system.entry.js +26 -0
  1123. package/dist/magma-components/p-4ea00c22.entry.js +1 -0
  1124. package/dist/magma-components/{p-8d2a6896.entry.js → p-4f24ccf3.entry.js} +1 -1
  1125. package/dist/magma-components/{p-ed6e287d.system.entry.js → p-4fdda209.system.entry.js} +4 -4
  1126. package/dist/magma-components/p-505fb7d4.entry.js +1 -0
  1127. package/dist/magma-components/p-51a869ee.entry.js +1 -0
  1128. package/dist/magma-components/p-5219eba6.system.entry.js +4 -0
  1129. package/dist/magma-components/p-52a85b97.system.entry.js +9 -0
  1130. package/dist/magma-components/p-52d5d104.system.entry.js +17 -0
  1131. package/dist/magma-components/p-53bcfdbb.entry.js +1 -0
  1132. package/dist/magma-components/{p-c4ceaef6.system.entry.js → p-5439125d.system.entry.js} +2 -2
  1133. package/dist/magma-components/p-547f657e.system.entry.js +91 -0
  1134. package/dist/magma-components/p-5a2deba5.entry.js +1 -0
  1135. package/dist/magma-components/{p-e238e2eb.entry.js → p-5b21eb78.entry.js} +1 -1
  1136. package/dist/magma-components/p-5d9b1fe5.entry.js +1 -0
  1137. package/dist/magma-components/{p-4dfeb655.system.entry.js → p-5ea3be82.system.entry.js} +2 -2
  1138. package/dist/magma-components/{p-DhhAXEdA.system.js → p-5vJawLPw.system.js} +21 -12
  1139. package/dist/magma-components/p-62e65f3b.entry.js +1 -0
  1140. package/dist/magma-components/p-648ec03b.system.entry.js +73 -0
  1141. package/dist/magma-components/p-69b37755.system.entry.js +17 -0
  1142. package/dist/magma-components/p-6b01ef3b.entry.js +1 -0
  1143. package/dist/magma-components/p-6b2fff4b.system.entry.js +11 -0
  1144. package/dist/magma-components/p-6bc4114c.system.entry.js +19 -0
  1145. package/dist/magma-components/p-6c91b00d.system.entry.js +22 -0
  1146. package/dist/magma-components/p-6da68fd5.entry.js +1 -0
  1147. package/dist/magma-components/p-6ebbcd7b.system.entry.js +14 -0
  1148. package/dist/magma-components/p-70a911e8.entry.js +1 -0
  1149. package/dist/magma-components/p-70f5536c.system.entry.js +15 -0
  1150. package/dist/magma-components/{p-c69ec735.system.entry.js → p-721b625a.system.entry.js} +13 -9
  1151. package/dist/magma-components/p-72cc4977.system.entry.js +21 -0
  1152. package/dist/magma-components/p-7497b39d.system.entry.js +7 -0
  1153. package/dist/magma-components/{p-73e593a2.system.entry.js → p-765ff9a3.system.entry.js} +6 -3
  1154. package/dist/magma-components/p-7a568cbf.entry.js +1 -0
  1155. package/dist/magma-components/p-7d548a19.entry.js +1 -0
  1156. package/dist/magma-components/p-7f776dff.entry.js +1 -0
  1157. package/dist/magma-components/p-8059aa67.system.entry.js +17 -0
  1158. package/dist/magma-components/p-811272a9.entry.js +1 -0
  1159. package/dist/magma-components/p-87b15008.entry.js +1 -0
  1160. package/dist/magma-components/p-88ac5d50.entry.js +1 -0
  1161. package/dist/magma-components/{p-add1a8d0.system.entry.js → p-88be542e.system.entry.js} +2 -2
  1162. package/dist/magma-components/{p-64f78149.system.entry.js → p-890bae38.system.entry.js} +1 -1
  1163. package/dist/magma-components/p-8a4a2b5a.entry.js +1 -0
  1164. package/dist/magma-components/p-8b081ba9.entry.js +1 -0
  1165. package/dist/magma-components/{p-0a9fb138.system.entry.js → p-8ba250d6.system.entry.js} +1 -1
  1166. package/dist/magma-components/p-8d8c9c90.entry.js +1 -0
  1167. package/dist/magma-components/p-8e08ae08.system.entry.js +94 -0
  1168. package/dist/magma-components/p-8f5f2dfe.system.entry.js +19 -0
  1169. package/dist/magma-components/p-90fe332f.entry.js +1 -0
  1170. package/dist/magma-components/p-911dc847.entry.js +1 -0
  1171. package/dist/magma-components/p-916a26e4.entry.js +1 -0
  1172. package/dist/magma-components/p-926ef760.entry.js +1 -0
  1173. package/dist/magma-components/p-93d8b236.system.entry.js +10 -0
  1174. package/dist/magma-components/p-95328cc7.system.entry.js +17 -0
  1175. package/dist/magma-components/p-95486c6a.system.entry.js +5 -0
  1176. package/dist/magma-components/{p-f5bb8c0c.entry.js → p-96f973e3.entry.js} +1 -1
  1177. package/dist/magma-components/p-972ff8a9.entry.js +18 -0
  1178. package/dist/magma-components/p-9a28bd8d.system.entry.js +20 -0
  1179. package/dist/magma-components/p-9bdca8b4.entry.js +1 -0
  1180. package/dist/magma-components/p-9caf411a.system.entry.js +13 -0
  1181. package/dist/magma-components/p-9e4e1a86.system.entry.js +111 -0
  1182. package/dist/magma-components/p-9e7d02e5.entry.js +1 -0
  1183. package/dist/magma-components/p-AEckDMXh.js +1 -0
  1184. package/dist/magma-components/p-B7RVWU-q.js +1 -0
  1185. package/dist/magma-components/{p-CKfEQ187.system.js → p-BHS0WXNt.system.js} +1 -1
  1186. package/dist/magma-components/p-BaFfIZGB.js +1 -0
  1187. package/dist/magma-components/{p-RJ5ZA1kY.system.js → p-BeNKMPXR.system.js} +9 -2
  1188. package/dist/magma-components/{p-Kv1yahtR.js → p-BmT_DEV2.js} +2 -2
  1189. package/dist/magma-components/{p-BTF_aRDG.system.js → p-C1ailvfu.system.js} +28 -28
  1190. package/dist/magma-components/{p-7-TP6wnI.js → p-C25F_FlB.js} +1 -1
  1191. package/dist/magma-components/p-CDjzBTsk.js +1 -0
  1192. package/dist/magma-components/p-CGrPq3C4.js +1 -0
  1193. package/dist/magma-components/p-CPRkNQdE.js +3 -0
  1194. package/dist/magma-components/{p-DaONbL_w.system.js → p-CmzGV0XD.system.js} +44 -44
  1195. package/dist/magma-components/p-Cvhn9asj.js +1 -0
  1196. package/dist/magma-components/{p-hVpoPUxI.system.js → p-D8596ytD.system.js} +8 -8
  1197. package/dist/magma-components/p-D9J8lbUv.system.js +9 -0
  1198. package/dist/magma-components/p-DAifcgtS.system.js +4 -0
  1199. package/dist/magma-components/p-DbyXf6dF.js +1 -0
  1200. package/dist/magma-components/p-JuViHg2B.system.js +11 -0
  1201. package/dist/magma-components/{p-CdsZyFQ-.system.js → p-LUd56iG_.system.js} +1 -1
  1202. package/dist/magma-components/p-QYez4sql.system.js +5 -0
  1203. package/dist/magma-components/{p-BJKToXNf.system.js → p-WSL9tMdv.system.js} +81 -50
  1204. package/dist/magma-components/p-ZaZnuNvg.js +1 -0
  1205. package/dist/magma-components/{p-584a4ee8.system.entry.js → p-a08d20c2.system.entry.js} +1 -1
  1206. package/dist/magma-components/{p-26c85354.system.entry.js → p-a136e6fe.system.entry.js} +6 -1
  1207. package/dist/magma-components/p-a1443292.entry.js +1 -0
  1208. package/dist/magma-components/{p-634727e6.system.entry.js → p-a1ca2441.system.entry.js} +2 -2
  1209. package/dist/magma-components/{p-0d97e28d.system.entry.js → p-a2d10402.system.entry.js} +2 -2
  1210. package/dist/magma-components/p-a2ec6eac.entry.js +1 -0
  1211. package/dist/magma-components/{p-b626c69f.system.entry.js → p-a40443ca.system.entry.js} +1 -1
  1212. package/dist/magma-components/{p-c7d84d1c.system.entry.js → p-a47a9f11.system.entry.js} +1 -1
  1213. package/dist/magma-components/{p-e388f1f2.system.entry.js → p-a4f46de1.system.entry.js} +9 -4
  1214. package/dist/magma-components/p-a51f849a.entry.js +1 -0
  1215. package/dist/magma-components/{p-3fa6cf85.system.entry.js → p-a53f6a94.system.entry.js} +5 -1
  1216. package/dist/magma-components/p-a61623f9.system.entry.js +52 -0
  1217. package/dist/magma-components/p-a6fe6b4c.system.entry.js +1 -0
  1218. package/dist/magma-components/p-a7bad4e8.entry.js +1 -0
  1219. package/dist/magma-components/p-a8593847.entry.js +1 -0
  1220. package/dist/magma-components/p-aa8653b1.system.entry.js +13 -0
  1221. package/dist/magma-components/p-ac4109e3.entry.js +1 -0
  1222. package/dist/magma-components/{p-bba04b08.system.entry.js → p-af704402.system.entry.js} +5 -2
  1223. package/dist/magma-components/p-b36d54e1.system.entry.js +41 -0
  1224. package/dist/magma-components/p-b40ef7ab.system.entry.js +23 -0
  1225. package/dist/magma-components/{p-569cbe13.entry.js → p-b48fc62e.entry.js} +1 -1
  1226. package/dist/magma-components/p-b509fb36.entry.js +1 -0
  1227. package/dist/magma-components/p-b514bd3a.system.entry.js +1 -0
  1228. package/dist/magma-components/p-b58363e2.system.entry.js +31 -0
  1229. package/dist/magma-components/{p-22e9a507.entry.js → p-b62bbd07.entry.js} +1 -1
  1230. package/dist/magma-components/p-b6b7dc40.entry.js +1 -0
  1231. package/dist/magma-components/p-b728638c.system.entry.js +46 -0
  1232. package/dist/magma-components/{p-ac873ab4.entry.js → p-b919ce62.entry.js} +1 -1
  1233. package/dist/magma-components/p-b940888d.entry.js +1 -0
  1234. package/dist/magma-components/p-b9e0b31d.entry.js +1 -0
  1235. package/dist/magma-components/p-bba4c7eb.entry.js +1 -0
  1236. package/dist/magma-components/p-bc30508b.entry.js +1 -0
  1237. package/dist/magma-components/p-be32b7a9.system.entry.js +13 -0
  1238. package/dist/magma-components/p-be741e35.entry.js +1 -0
  1239. package/dist/magma-components/p-c1d8a25e.entry.js +1 -0
  1240. package/dist/magma-components/p-c3622315.entry.js +1 -0
  1241. package/dist/magma-components/p-c4286fb7.system.entry.js +1 -0
  1242. package/dist/magma-components/p-c6db7a0f.system.entry.js +22 -0
  1243. package/dist/magma-components/p-c89c2e30.entry.js +1 -0
  1244. package/dist/magma-components/{p-cefdc01f.system.entry.js → p-ca8e0927.system.entry.js} +2 -2
  1245. package/dist/magma-components/p-cc0cb701.entry.js +1 -0
  1246. package/dist/magma-components/{p-121730d1.entry.js → p-cc109576.entry.js} +1 -1
  1247. package/dist/magma-components/p-cc88c963.system.entry.js +1 -0
  1248. package/dist/magma-components/p-ce2ef293.system.entry.js +48 -0
  1249. package/dist/magma-components/p-d0c0c195.entry.js +1 -0
  1250. package/dist/magma-components/p-d0f257d9.system.entry.js +80 -0
  1251. package/dist/magma-components/p-d3678561.system.entry.js +35 -0
  1252. package/dist/magma-components/p-d8d87750.system.entry.js +21 -0
  1253. package/dist/magma-components/{p-574c2c13.system.entry.js → p-d9551916.system.entry.js} +4 -4
  1254. package/dist/magma-components/p-da532544.system.entry.js +25 -0
  1255. package/dist/magma-components/{p-69d6cc9e.system.entry.js → p-da6cf595.system.entry.js} +2 -2
  1256. package/dist/magma-components/p-da9afc4b.system.entry.js +8 -0
  1257. package/dist/magma-components/p-daf9c8ca.system.entry.js +4 -0
  1258. package/dist/magma-components/p-db75bf05.system.entry.js +49 -0
  1259. package/dist/magma-components/p-dba5a6da.entry.js +1 -0
  1260. package/dist/magma-components/p-dbb82d72.system.entry.js +54 -0
  1261. package/dist/magma-components/p-dbf69d54.system.entry.js +5 -0
  1262. package/dist/magma-components/p-dc3ef031.system.entry.js +27 -0
  1263. package/dist/magma-components/p-dd8fb2f8.system.entry.js +105 -0
  1264. package/dist/magma-components/p-dfbecf72.system.entry.js +11 -0
  1265. package/dist/magma-components/p-e032e77f.system.entry.js +1 -0
  1266. package/dist/magma-components/p-e15a874b.entry.js +1 -0
  1267. package/dist/magma-components/p-e471decd.system.entry.js +32 -0
  1268. package/dist/magma-components/p-e49818c4.entry.js +1 -0
  1269. package/dist/magma-components/{p-6f5a1248.entry.js → p-e5ab1f4f.entry.js} +1 -1
  1270. package/dist/magma-components/p-e6ed6e12.entry.js +1 -0
  1271. package/dist/magma-components/{p-2710ddc4.entry.js → p-e8b9d639.entry.js} +1 -1
  1272. package/dist/magma-components/p-e954b5c5.entry.js +1 -0
  1273. package/dist/magma-components/p-eba7cfb3.entry.js +1 -0
  1274. package/dist/magma-components/p-ecb87d38.entry.js +1 -0
  1275. package/dist/magma-components/p-eebf450c.system.entry.js +4 -0
  1276. package/dist/magma-components/p-ef4d07ba.entry.js +1 -0
  1277. package/dist/magma-components/p-f28e048b.system.entry.js +55 -0
  1278. package/dist/magma-components/{p-789c1b93.system.entry.js → p-f30cdd34.system.entry.js} +1 -1
  1279. package/dist/magma-components/p-f3763382.entry.js +1 -0
  1280. package/dist/magma-components/p-f43379ef.entry.js +1 -0
  1281. package/dist/magma-components/p-f454c06b.entry.js +1 -0
  1282. package/dist/magma-components/p-f48843b7.system.entry.js +1 -0
  1283. package/dist/magma-components/p-f5a08dca.system.entry.js +40 -0
  1284. package/dist/magma-components/p-f7af41fb.system.entry.js +33 -0
  1285. package/dist/magma-components/{p-5c17a324.entry.js → p-f7f6881a.entry.js} +1 -1
  1286. package/dist/magma-components/p-f88c202e.entry.js +1 -0
  1287. package/dist/magma-components/{p-1cb495d3.entry.js → p-f9b5a5ec.entry.js} +1 -1
  1288. package/dist/magma-components/p-fcaa81b3.entry.js +1 -0
  1289. package/dist/magma-components/{p-a462aadd.entry.js → p-fd53a51c.entry.js} +1 -1
  1290. package/dist/magma-components/{p-94e9f2be.system.entry.js → p-ff4276d3.system.entry.js} +7 -2
  1291. package/dist/magma-components/p-nFkaC8l_.system.js +210 -0
  1292. package/dist/magma-components/p-sm_-_oFY.system.js +6 -0
  1293. package/dist/magma-components/{p-8yWTOQiz.js → p-zQY2FlcD.js} +1 -1
  1294. package/dist/stats.json +5466 -4158
  1295. package/dist/types/common/aria.d.ts +8 -1
  1296. package/dist/types/common/file.d.ts +5 -0
  1297. package/dist/types/common/floating-controller.d.ts +8 -1
  1298. package/dist/types/common/keyboard-manager.d.ts +8 -1
  1299. package/dist/types/common/slot.d.ts +9 -1
  1300. package/dist/types/components/mds-accordion/mds-accordion.d.ts +8 -1
  1301. package/dist/types/components/mds-accordion-timer/mds-accordion-timer.d.ts +6 -0
  1302. package/dist/types/components/mds-accordion-timer-item/mds-accordion-timer-item.d.ts +2 -1
  1303. package/dist/types/components/mds-avatar/mds-avatar.d.ts +13 -9
  1304. package/dist/types/components/mds-avatar-stack/mds-avatar-stack.d.ts +2 -1
  1305. package/dist/types/components/mds-bibliography/mds-bibliography.d.ts +10 -2
  1306. package/dist/types/components/mds-breadcrumb/mds-breadcrumb.d.ts +0 -3
  1307. package/dist/types/components/mds-breadcrumb-item/mds-breadcrumb-item.d.ts +4 -1
  1308. package/dist/types/components/mds-button/mds-button.d.ts +7 -1
  1309. package/dist/types/components/mds-button-dropdown/mds-button-dropdown.d.ts +7 -3
  1310. package/dist/types/components/mds-calendar/mds-calendar.d.ts +7 -0
  1311. package/dist/types/components/mds-calendar-cell/mds-calendar-cell.d.ts +4 -1
  1312. package/dist/types/components/mds-card/mds-card.d.ts +8 -0
  1313. package/dist/types/components/mds-card-media/mds-card-media.d.ts +1 -0
  1314. package/dist/types/components/mds-chip/mds-chip.d.ts +7 -5
  1315. package/dist/types/components/mds-details/mds-details.d.ts +3 -1
  1316. package/dist/types/components/mds-dropdown/mds-dropdown.d.ts +8 -3
  1317. package/dist/types/components/mds-emoji/mds-emoji.d.ts +18 -10
  1318. package/dist/types/components/mds-emoji/meta/gaze.d.ts +19 -0
  1319. package/dist/types/components/mds-file/mds-file.d.ts +7 -1
  1320. package/dist/types/components/mds-file-preview/mds-file-preview.d.ts +15 -4
  1321. package/dist/types/components/mds-filter-item/mds-filter-item.d.ts +0 -2
  1322. package/dist/types/components/mds-header/mds-header.d.ts +7 -5
  1323. package/dist/types/components/mds-header/meta/event-detail.d.ts +2 -1
  1324. package/dist/types/components/mds-header-bar/mds-header-bar.d.ts +3 -2
  1325. package/dist/types/components/mds-help/mds-help.d.ts +5 -2
  1326. package/dist/types/components/mds-horizontal-scroll/mds-horizontal-scroll.d.ts +1 -0
  1327. package/dist/types/components/mds-icon/mds-icon.d.ts +5 -0
  1328. package/dist/types/components/mds-img/mds-img.d.ts +24 -14
  1329. package/dist/types/components/mds-input/mds-input.d.ts +22 -7
  1330. package/dist/types/components/mds-input-date/mds-input-date.d.ts +6 -0
  1331. package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +4 -0
  1332. package/dist/types/components/mds-input-date-range-preselection/mds-input-date-range-preselection.d.ts +8 -1
  1333. package/dist/types/components/mds-input-field/mds-input-field.d.ts +4 -1
  1334. package/dist/types/components/mds-input-otp/mds-input-otp.d.ts +8 -0
  1335. package/dist/types/components/mds-input-tip/mds-input-tip.d.ts +2 -1
  1336. package/dist/types/components/mds-input-tip-item/meta/dictionary.d.ts +1 -2
  1337. package/dist/types/components/mds-input-upload/mds-input-upload.d.ts +3 -1
  1338. package/dist/types/components/mds-kpi-item/mds-kpi-item.d.ts +7 -0
  1339. package/dist/types/components/mds-label/mds-label.d.ts +0 -9
  1340. package/dist/types/components/mds-list-item/mds-list-item.d.ts +2 -0
  1341. package/dist/types/components/mds-mention/mds-mention.d.ts +2 -1
  1342. package/dist/types/components/mds-modal/mds-modal.d.ts +4 -1
  1343. package/dist/types/components/mds-note/mds-note.d.ts +1 -0
  1344. package/dist/types/components/mds-notification/mds-notification.d.ts +25 -2
  1345. package/dist/types/components/mds-paginator/mds-paginator.d.ts +1 -0
  1346. package/dist/types/components/mds-paginator-item/mds-paginator-item.d.ts +7 -0
  1347. package/dist/types/components/mds-policy-ai/mds-policy-ai.d.ts +2 -1
  1348. package/dist/types/components/mds-pref/mds-pref.d.ts +6 -1
  1349. package/dist/types/components/mds-pref-animation/mds-pref-animation.d.ts +8 -0
  1350. package/dist/types/components/mds-pref-consumption/mds-pref-consumption.d.ts +8 -0
  1351. package/dist/types/components/mds-pref-contrast/mds-pref-contrast.d.ts +8 -2
  1352. package/dist/types/components/mds-pref-language/mds-pref-language.d.ts +2 -2
  1353. package/dist/types/components/mds-pref-language-item/mds-pref-language-item.d.ts +1 -0
  1354. package/dist/types/components/mds-pref-mode/mds-pref-mode.d.ts +6 -1
  1355. package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +16 -2
  1356. package/dist/types/components/mds-pref-theme-item/mds-pref-theme-item.d.ts +1 -0
  1357. package/dist/types/components/mds-price-table-list/mds-price-table-list.d.ts +1 -0
  1358. package/dist/types/components/mds-price-table-list-item/mds-price-table-list-item.d.ts +1 -0
  1359. package/dist/types/components/mds-progress/mds-progress.d.ts +14 -4
  1360. package/dist/types/components/mds-push-notification/mds-push-notification.d.ts +4 -9
  1361. package/dist/types/components/mds-push-notification-item/mds-push-notification-item.d.ts +5 -2
  1362. package/dist/types/components/mds-radial-menu/mds-radial-menu.d.ts +11 -5
  1363. package/dist/types/components/mds-status-bar/mds-status-bar.d.ts +1 -2
  1364. package/dist/types/components/mds-stepper-bar/mds-stepper-bar.d.ts +4 -3
  1365. package/dist/types/components/mds-stepper-bar-item/mds-stepper-bar-item.d.ts +10 -2
  1366. package/dist/types/components/mds-tab-bar-item/mds-tab-bar-item.d.ts +4 -3
  1367. package/dist/types/components/mds-tab-item/mds-tab-item.d.ts +3 -0
  1368. package/dist/types/components/mds-table/mds-table.d.ts +15 -2
  1369. package/dist/types/components/mds-table-footer/mds-table-footer.d.ts +9 -1
  1370. package/dist/types/components/mds-table-header/mds-table-header.d.ts +9 -1
  1371. package/dist/types/components/mds-table-header-cell/mds-table-header-cell.d.ts +5 -0
  1372. package/dist/types/components/mds-table-row/mds-table-row.d.ts +1 -0
  1373. package/dist/types/components/mds-toast/mds-toast.d.ts +39 -8
  1374. package/dist/types/components/mds-toast/meta/event-detail.d.ts +3 -0
  1375. package/dist/types/components/mds-toast-region/mds-toast-region.d.ts +36 -0
  1376. package/dist/types/components/mds-tooltip/mds-tooltip.d.ts +24 -5
  1377. package/dist/types/components/mds-tree/mds-tree.d.ts +12 -2
  1378. package/dist/types/components/mds-tree-item/mds-tree-item.d.ts +7 -3
  1379. package/dist/types/components/mds-url-view/mds-url-view.d.ts +2 -1
  1380. package/dist/types/components/mds-usage/mds-usage.d.ts +3 -0
  1381. package/dist/types/components.d.ts +253 -119
  1382. package/dist/types/stencil-public-runtime.d.ts +61 -55
  1383. package/package.json +18 -17
  1384. package/dist/cjs/browser-C1BdXKu5.js +0 -10
  1385. package/dist/cjs/keyboard-manager-C_Eaxw-C.js +0 -52
  1386. package/dist/collection/components/mds-avatar/meta/variants.js +0 -20
  1387. package/dist/components/p--5KZXaZp.js +0 -1
  1388. package/dist/components/p--OCrgFeE.js +0 -1
  1389. package/dist/components/p-6LGfUDQ4.js +0 -1
  1390. package/dist/components/p-B9uIL9KO.js +0 -1
  1391. package/dist/components/p-BBDliSai.js +0 -1
  1392. package/dist/components/p-BCwcnHFh.js +0 -1
  1393. package/dist/components/p-BRf-u585.js +0 -1
  1394. package/dist/components/p-BSeokAdy.js +0 -1
  1395. package/dist/components/p-BXUJgu8l.js +0 -1
  1396. package/dist/components/p-BXYUyw7p.js +0 -1
  1397. package/dist/components/p-BfgJ-hHQ.js +0 -1
  1398. package/dist/components/p-CIfGjW_Z.js +0 -1
  1399. package/dist/components/p-CMp9rP7L.js +0 -1
  1400. package/dist/components/p-CSCy6TMW.js +0 -1
  1401. package/dist/components/p-CZjHixVB.js +0 -1
  1402. package/dist/components/p-Ck0q_n7I.js +0 -1
  1403. package/dist/components/p-CrCa_6a1.js +0 -8
  1404. package/dist/components/p-CsgCQiHG.js +0 -1
  1405. package/dist/components/p-Cv7lqHIc.js +0 -1
  1406. package/dist/components/p-Cw6_ooFx.js +0 -1
  1407. package/dist/components/p-DGYRngAi.js +0 -1
  1408. package/dist/components/p-DHu8X7zF.js +0 -1
  1409. package/dist/components/p-DOzcuSrZ.js +0 -1
  1410. package/dist/components/p-DZPHWQtD.js +0 -1
  1411. package/dist/components/p-Dje8Mggf.js +0 -1
  1412. package/dist/components/p-DlRjt7nE.js +0 -1
  1413. package/dist/components/p-HSM_x8fD.js +0 -1
  1414. package/dist/components/p-JMPfVnGv.js +0 -1
  1415. package/dist/components/p-KRu9I7dw.js +0 -1
  1416. package/dist/components/p-lNY_3s6S.js +0 -1
  1417. package/dist/components/p-pBvN1uAc.js +0 -3
  1418. package/dist/esm/aria-CSCy6TMW.js +0 -45
  1419. package/dist/esm/browser-Dje8Mggf.js +0 -8
  1420. package/dist/esm/keyboard-manager-KRu9I7dw.js +0 -50
  1421. package/dist/esm-es5/aria-CSCy6TMW.js +0 -1
  1422. package/dist/esm-es5/browser-Dje8Mggf.js +0 -1
  1423. package/dist/esm-es5/icon-pNJmnrhq.js +0 -1
  1424. package/dist/esm-es5/keyboard-manager-KRu9I7dw.js +0 -5
  1425. package/dist/esm-es5/locale.it-Cvxh7La5.js +0 -6
  1426. package/dist/esm-es5/slot-C0o_l0td.js +0 -23
  1427. package/dist/magma-components/p-00ce5c81.entry.js +0 -1
  1428. package/dist/magma-components/p-00ff586a.system.entry.js +0 -7
  1429. package/dist/magma-components/p-01f05a56.entry.js +0 -1
  1430. package/dist/magma-components/p-0345cbd0.system.entry.js +0 -83
  1431. package/dist/magma-components/p-03a6a8bd.system.entry.js +0 -46
  1432. package/dist/magma-components/p-05de42e1.system.entry.js +0 -1
  1433. package/dist/magma-components/p-063bccb3.entry.js +0 -1
  1434. package/dist/magma-components/p-0a38e4ce.system.entry.js +0 -1
  1435. package/dist/magma-components/p-0c89c485.entry.js +0 -1
  1436. package/dist/magma-components/p-0d94a2b8.entry.js +0 -8
  1437. package/dist/magma-components/p-108e31e6.entry.js +0 -1
  1438. package/dist/magma-components/p-114f0bb7.system.entry.js +0 -14
  1439. package/dist/magma-components/p-137116df.entry.js +0 -1
  1440. package/dist/magma-components/p-13b0babc.system.entry.js +0 -1
  1441. package/dist/magma-components/p-14a108e8.system.entry.js +0 -8
  1442. package/dist/magma-components/p-14eadf95.system.entry.js +0 -21
  1443. package/dist/magma-components/p-155f79f4.system.entry.js +0 -47
  1444. package/dist/magma-components/p-17b62839.entry.js +0 -1
  1445. package/dist/magma-components/p-1802d6a7.entry.js +0 -1
  1446. package/dist/magma-components/p-188d9770.system.entry.js +0 -4
  1447. package/dist/magma-components/p-18ba4766.entry.js +0 -1
  1448. package/dist/magma-components/p-1c63801f.system.entry.js +0 -11
  1449. package/dist/magma-components/p-1c6a507c.system.entry.js +0 -17
  1450. package/dist/magma-components/p-1e2388be.entry.js +0 -1
  1451. package/dist/magma-components/p-24a9871a.system.entry.js +0 -1
  1452. package/dist/magma-components/p-26332bce.system.entry.js +0 -1
  1453. package/dist/magma-components/p-2708561b.system.entry.js +0 -10
  1454. package/dist/magma-components/p-2723caa7.system.entry.js +0 -13
  1455. package/dist/magma-components/p-294241fa.entry.js +0 -1
  1456. package/dist/magma-components/p-2b2d0910.system.entry.js +0 -1
  1457. package/dist/magma-components/p-2c940d19.entry.js +0 -1
  1458. package/dist/magma-components/p-2e74231d.system.entry.js +0 -4
  1459. package/dist/magma-components/p-2e83f801.system.entry.js +0 -1
  1460. package/dist/magma-components/p-2f0815f3.entry.js +0 -18
  1461. package/dist/magma-components/p-30d36dfe.entry.js +0 -1
  1462. package/dist/magma-components/p-323c7aa4.system.entry.js +0 -25
  1463. package/dist/magma-components/p-32e077c0.system.entry.js +0 -7
  1464. package/dist/magma-components/p-334b305d.system.entry.js +0 -16
  1465. package/dist/magma-components/p-341994b3.system.entry.js +0 -89
  1466. package/dist/magma-components/p-35434d4b.system.entry.js +0 -32
  1467. package/dist/magma-components/p-37495e03.entry.js +0 -1
  1468. package/dist/magma-components/p-38e0379a.system.entry.js +0 -10
  1469. package/dist/magma-components/p-3b91efd1.entry.js +0 -1
  1470. package/dist/magma-components/p-3dc4db04.system.entry.js +0 -16
  1471. package/dist/magma-components/p-3f0e82bc.entry.js +0 -1
  1472. package/dist/magma-components/p-40e97485.entry.js +0 -1
  1473. package/dist/magma-components/p-4159c306.entry.js +0 -1
  1474. package/dist/magma-components/p-42411854.system.entry.js +0 -102
  1475. package/dist/magma-components/p-42ebba8c.entry.js +0 -1
  1476. package/dist/magma-components/p-4356d96e.system.entry.js +0 -21
  1477. package/dist/magma-components/p-4577948d.system.entry.js +0 -12
  1478. package/dist/magma-components/p-4658a200.entry.js +0 -1
  1479. package/dist/magma-components/p-4cfa925a.entry.js +0 -1
  1480. package/dist/magma-components/p-4ef19542.entry.js +0 -1
  1481. package/dist/magma-components/p-4oB0woT9.system.js +0 -6
  1482. package/dist/magma-components/p-522fd3d0.system.entry.js +0 -4
  1483. package/dist/magma-components/p-528d913c.system.entry.js +0 -17
  1484. package/dist/magma-components/p-595fde64.entry.js +0 -1
  1485. package/dist/magma-components/p-5989cdf2.system.entry.js +0 -16
  1486. package/dist/magma-components/p-5df91427.system.entry.js +0 -15
  1487. package/dist/magma-components/p-5f1132b8.entry.js +0 -1
  1488. package/dist/magma-components/p-5fcc1455.entry.js +0 -1
  1489. package/dist/magma-components/p-61638aa3.entry.js +0 -1
  1490. package/dist/magma-components/p-6465c8f4.entry.js +0 -1
  1491. package/dist/magma-components/p-6764b13a.entry.js +0 -1
  1492. package/dist/magma-components/p-6812f01b.entry.js +0 -1
  1493. package/dist/magma-components/p-6901428b.system.entry.js +0 -1
  1494. package/dist/magma-components/p-699a7926.entry.js +0 -1
  1495. package/dist/magma-components/p-6a798061.entry.js +0 -1
  1496. package/dist/magma-components/p-6d350c7c.entry.js +0 -1
  1497. package/dist/magma-components/p-6fba5e6c.entry.js +0 -1
  1498. package/dist/magma-components/p-6fd9a2ae.entry.js +0 -1
  1499. package/dist/magma-components/p-6ff8be3e.system.entry.js +0 -30
  1500. package/dist/magma-components/p-70caf05b.system.entry.js +0 -10
  1501. package/dist/magma-components/p-70cc167f.entry.js +0 -1
  1502. package/dist/magma-components/p-736c0e25.system.entry.js +0 -20
  1503. package/dist/magma-components/p-7450a7a7.system.entry.js +0 -49
  1504. package/dist/magma-components/p-7535328a.entry.js +0 -1
  1505. package/dist/magma-components/p-76f02296.system.entry.js +0 -1
  1506. package/dist/magma-components/p-79bc2e81.entry.js +0 -1
  1507. package/dist/magma-components/p-79dc2243.entry.js +0 -1
  1508. package/dist/magma-components/p-7b1c6eb0.entry.js +0 -1
  1509. package/dist/magma-components/p-7b8b51c8.entry.js +0 -1
  1510. package/dist/magma-components/p-7bc0a6c4.entry.js +0 -1
  1511. package/dist/magma-components/p-7c8e79a7.system.entry.js +0 -4
  1512. package/dist/magma-components/p-7c90298a.entry.js +0 -1
  1513. package/dist/magma-components/p-7e02237b.entry.js +0 -1
  1514. package/dist/magma-components/p-7f247e64.system.entry.js +0 -16
  1515. package/dist/magma-components/p-82480df5.entry.js +0 -1
  1516. package/dist/magma-components/p-842b1dfc.entry.js +0 -1
  1517. package/dist/magma-components/p-88c7be3d.system.entry.js +0 -68
  1518. package/dist/magma-components/p-89733d3a.system.entry.js +0 -14
  1519. package/dist/magma-components/p-8c75425d.entry.js +0 -1
  1520. package/dist/magma-components/p-8c76410b.entry.js +0 -1
  1521. package/dist/magma-components/p-8d7835e2.system.entry.js +0 -10
  1522. package/dist/magma-components/p-8f039ca0.system.entry.js +0 -7
  1523. package/dist/magma-components/p-8f54cf62.system.entry.js +0 -4
  1524. package/dist/magma-components/p-8f6bd147.entry.js +0 -1
  1525. package/dist/magma-components/p-9017022c.system.entry.js +0 -15
  1526. package/dist/magma-components/p-909f5b60.system.entry.js +0 -55
  1527. package/dist/magma-components/p-976bb373.system.entry.js +0 -90
  1528. package/dist/magma-components/p-97d82884.system.entry.js +0 -16
  1529. package/dist/magma-components/p-97de86c6.system.entry.js +0 -16
  1530. package/dist/magma-components/p-97e9a197.system.entry.js +0 -32
  1531. package/dist/magma-components/p-9a936cae.system.entry.js +0 -45
  1532. package/dist/magma-components/p-9c6d184f.entry.js +0 -1
  1533. package/dist/magma-components/p-9db0a6e9.entry.js +0 -1
  1534. package/dist/magma-components/p-9e662528.entry.js +0 -1
  1535. package/dist/magma-components/p-9ff02a82.entry.js +0 -1
  1536. package/dist/magma-components/p-B6mQg6yQ.js +0 -1
  1537. package/dist/magma-components/p-BJqUjYIG.system.js +0 -1
  1538. package/dist/magma-components/p-BJtA1qmE.js +0 -1
  1539. package/dist/magma-components/p-BcYSdbK0.system.js +0 -233
  1540. package/dist/magma-components/p-BeYLDgbf.js +0 -1
  1541. package/dist/magma-components/p-BxPbQB28.js +0 -3
  1542. package/dist/magma-components/p-C0o_l0td.js +0 -1
  1543. package/dist/magma-components/p-CSCy6TMW.js +0 -1
  1544. package/dist/magma-components/p-CYRMc5KW.system.js +0 -1
  1545. package/dist/magma-components/p-Dje8Mggf.js +0 -1
  1546. package/dist/magma-components/p-JMPfVnGv.js +0 -1
  1547. package/dist/magma-components/p-KRu9I7dw.js +0 -1
  1548. package/dist/magma-components/p-LerCJgfP.system.js +0 -5
  1549. package/dist/magma-components/p-ZDRIVCAt.system.js +0 -5
  1550. package/dist/magma-components/p-a3e3a653.system.entry.js +0 -81
  1551. package/dist/magma-components/p-a41e52f7.entry.js +0 -1
  1552. package/dist/magma-components/p-a4c26b4d.system.entry.js +0 -19
  1553. package/dist/magma-components/p-a61c7ae9.system.entry.js +0 -7
  1554. package/dist/magma-components/p-a653e096.entry.js +0 -1
  1555. package/dist/magma-components/p-a8bf46cb.system.entry.js +0 -1
  1556. package/dist/magma-components/p-ac4435e7.entry.js +0 -1
  1557. package/dist/magma-components/p-acae292f.system.entry.js +0 -28
  1558. package/dist/magma-components/p-b1a0e56e.system.entry.js +0 -42
  1559. package/dist/magma-components/p-b33a6f7e.system.entry.js +0 -13
  1560. package/dist/magma-components/p-b492dd4c.entry.js +0 -1
  1561. package/dist/magma-components/p-b99cac43.entry.js +0 -1
  1562. package/dist/magma-components/p-baf0359b.entry.js +0 -1
  1563. package/dist/magma-components/p-bbd414dc.entry.js +0 -1
  1564. package/dist/magma-components/p-be1aad5f.entry.js +0 -1
  1565. package/dist/magma-components/p-bf05f9f3.entry.js +0 -1
  1566. package/dist/magma-components/p-bf8c6647.system.entry.js +0 -11
  1567. package/dist/magma-components/p-bfe19e4b.entry.js +0 -1
  1568. package/dist/magma-components/p-c1a7266a.entry.js +0 -1
  1569. package/dist/magma-components/p-c3585de7.system.entry.js +0 -7
  1570. package/dist/magma-components/p-c45d9a64.system.entry.js +0 -32
  1571. package/dist/magma-components/p-cb8b45fd.entry.js +0 -1
  1572. package/dist/magma-components/p-cbfd8b10.system.entry.js +0 -16
  1573. package/dist/magma-components/p-ce46191c.entry.js +0 -1
  1574. package/dist/magma-components/p-cebe7b52.entry.js +0 -1
  1575. package/dist/magma-components/p-d025a34f.system.entry.js +0 -15
  1576. package/dist/magma-components/p-d1c47baa.entry.js +0 -1
  1577. package/dist/magma-components/p-d269bfb0.entry.js +0 -1
  1578. package/dist/magma-components/p-d42f267b.system.entry.js +0 -40
  1579. package/dist/magma-components/p-d5bd6bef.entry.js +0 -1
  1580. package/dist/magma-components/p-d65d8a09.system.entry.js +0 -1
  1581. package/dist/magma-components/p-d6eca2ef.entry.js +0 -1
  1582. package/dist/magma-components/p-d716efe9.system.entry.js +0 -1
  1583. package/dist/magma-components/p-da6ccc03.entry.js +0 -1
  1584. package/dist/magma-components/p-dbaf5368.system.entry.js +0 -7
  1585. package/dist/magma-components/p-dc340618.entry.js +0 -1
  1586. package/dist/magma-components/p-dc752e9b.entry.js +0 -1
  1587. package/dist/magma-components/p-e2ef1d6f.entry.js +0 -1
  1588. package/dist/magma-components/p-e50fdcee.entry.js +0 -1
  1589. package/dist/magma-components/p-e779a67f.system.entry.js +0 -10
  1590. package/dist/magma-components/p-e8ae4016.system.entry.js +0 -1
  1591. package/dist/magma-components/p-e8d95868.system.entry.js +0 -14
  1592. package/dist/magma-components/p-ed232c76.entry.js +0 -1
  1593. package/dist/magma-components/p-ed87425c.system.entry.js +0 -13
  1594. package/dist/magma-components/p-ee876b20.system.entry.js +0 -4
  1595. package/dist/magma-components/p-efe0bb12.system.entry.js +0 -7
  1596. package/dist/magma-components/p-f2412853.system.entry.js +0 -27
  1597. package/dist/magma-components/p-f2743a2b.entry.js +0 -1
  1598. package/dist/magma-components/p-f2f2945b.entry.js +0 -1
  1599. package/dist/magma-components/p-f37f1343.entry.js +0 -1
  1600. package/dist/magma-components/p-f3dd135e.system.entry.js +0 -32
  1601. package/dist/magma-components/p-f5ce24e8.entry.js +0 -1
  1602. package/dist/magma-components/p-f8a88f11.entry.js +0 -1
  1603. package/dist/magma-components/p-f900fe90.entry.js +0 -1
  1604. package/dist/magma-components/p-faa1f22c.entry.js +0 -1
  1605. package/dist/magma-components/p-lozaO1BU.system.js +0 -1
  1606. package/dist/magma-components/p-pNJmnrhq.js +0 -1
  1607. package/dist/types/components/mds-avatar/meta/variants.d.ts +0 -2
@@ -1 +0,0 @@
1
- class t extends Error{}class e extends t{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class n extends t{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class r extends t{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class s extends t{}class i extends t{constructor(t){super(`Invalid unit ${t}`)}}class u extends t{}class o extends t{constructor(){super("Zone is an abstract class")}}const a="numeric",c="short",h="long",l={year:a,month:a,day:a},d={year:a,month:c,day:a},m={year:a,month:c,day:a,weekday:c},f={year:a,month:h,day:a},y={year:a,month:h,day:a,weekday:h},g={hour:a,minute:a},w={hour:a,minute:a,second:a},p={hour:a,minute:a,second:a,timeZoneName:c},S={hour:a,minute:a,second:a,timeZoneName:h},M={hour:a,minute:a,hourCycle:"h23"},k={hour:a,minute:a,second:a,hourCycle:"h23"},T={hour:a,minute:a,second:a,hourCycle:"h23",timeZoneName:c},N={hour:a,minute:a,second:a,hourCycle:"h23",timeZoneName:h},b={year:a,month:a,day:a,hour:a,minute:a},E={year:a,month:a,day:a,hour:a,minute:a,second:a},v={year:a,month:c,day:a,hour:a,minute:a},D={year:a,month:c,day:a,hour:a,minute:a,second:a},O={year:a,month:c,day:a,weekday:c,hour:a,minute:a},$={year:a,month:h,day:a,hour:a,minute:a,timeZoneName:c},I={year:a,month:h,day:a,hour:a,minute:a,second:a,timeZoneName:c},x={year:a,month:h,day:a,weekday:h,hour:a,minute:a,timeZoneName:h},F={year:a,month:h,day:a,weekday:h,hour:a,minute:a,second:a,timeZoneName:h};class Z{get type(){throw new o}get name(){throw new o}get ianaName(){return this.name}get isUniversal(){throw new o}offsetName(t,e){throw new o}formatOffset(t,e){throw new o}offset(t){throw new o}equals(t){throw new o}get isValid(){throw new o}}let W=null;class L extends Z{static get instance(){return null===W&&(W=new L),W}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:n}){return ee(t,e,n)}formatOffset(t,e){return ie(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const A=new Map,C={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6},_=new Map;class q extends Z{static create(t){let e=_.get(t);return void 0===e&&_.set(t,e=new q(t)),e}static resetCache(){_.clear(),A.clear()}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=q.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:n}){return ee(t,e,n,this.name)}formatOffset(t,e){return ie(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const n=function(t){let e=A.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),A.set(t,e)),e}(this.name);let[r,s,i,u,o,a,c]=n.formatToParts?function(t,e){const n=t.formatToParts(e),r=[];for(let t=0;t<n.length;t++){const{type:e,value:s}=n[t],i=C[e];"era"===e?r[i]=s:Wt(i)||(r[i]=parseInt(s,10))}return r}(n,e):function(t,e){const n=t.format(e).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,s,i,u,o,a,c,h]=r;return[u,s,i,o,a,c,h]}(n,e);"BC"===u&&(r=1-Math.abs(r));let h=+e;const l=h%1e3;return h-=l>=0?l:1e3+l,(Qt({year:r,month:s,day:i,hour:24===o?0:o,minute:a,second:c,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let j={};const H=new Map;function z(t,e={}){const n=JSON.stringify([t,e]);let r=H.get(n);return void 0===r&&(r=new Intl.DateTimeFormat(t,e),H.set(n,r)),r}const R=new Map,J=new Map;let U=null;const G=new Map;function P(t){let e=G.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),G.set(t,e)),e}const Y=new Map;function V(t,e,n,r){const s=t.listingMode();return"error"===s?null:"en"===s?n(e):r(e)}class B{constructor(t,e,n){this.padTo=n.padTo||0,this.floor=n.floor||!1;const{padTo:r,floor:s,...i}=n;if(!e||Object.keys(i).length>0){const e={useGrouping:!1,...n};n.padTo>0&&(e.minimumIntegerDigits=n.padTo),this.inf=function(t,e={}){const n=JSON.stringify([t,e]);let r=R.get(n);return void 0===r&&(r=new Intl.NumberFormat(t,e),R.set(n,r)),r}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Rt(this.floor?Math.floor(t):Pt(t,3),this.padTo)}}class Q{constructor(t,e,n){let r;if(this.opts=n,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,n=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&q.create(n).valid?(r=n,this.dt=t):(r="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,r=t.zone.name):(r="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const s={...this.opts};s.timeZone=s.timeZone||r,this.dtf=z(e,s)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class K{constructor(t,e,n){this.opts={style:"long",...n},!e&&Ct()&&(this.rtf=function(t,e={}){const{base:n,...r}=e,s=JSON.stringify([t,r]);let i=J.get(s);return void 0===i&&(i=new Intl.RelativeTimeFormat(t,e),J.set(s,i)),i}(t,n))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,n="always",r=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},i=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===n&&i){const n="days"===t;switch(e){case 1:return n?"tomorrow":`next ${s[t][0]}`;case-1:return n?"yesterday":`last ${s[t][0]}`;case 0:return n?"today":`this ${s[t][0]}`}}const u=Object.is(e,-0)||e<0,o=Math.abs(e),a=1===o,c=s[t],h=r?a?c[1]:c[2]||c[1]:a?s[t][0]:t;return u?`${o} ${h} ago`:`in ${o} ${h}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const X={firstDay:1,minimalDays:4,weekend:[6,7]};class tt{static fromOpts(t){return tt.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,n,r,s=!1){const i=t||pt.defaultLocale,u=i||(s?"en-US":U||(U=(new Intl.DateTimeFormat).resolvedOptions().locale,U)),o=e||pt.defaultNumberingSystem,a=n||pt.defaultOutputCalendar,c=Ht(r)||pt.defaultWeekSettings;return new tt(u,o,a,c,i)}static resetCache(){U=null,H.clear(),R.clear(),J.clear(),G.clear(),Y.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:n,weekSettings:r}={}){return tt.create(t,e,n,r)}constructor(t,e,n,r,s){const[i,u,o]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const n=t.indexOf("-u-");if(-1===n)return[t];{let e,r;try{e=z(t).resolvedOptions(),r=t}catch(s){const i=t.substring(0,n);e=z(i).resolvedOptions(),r=i}const{numberingSystem:s,calendar:i}=e;return[r,s,i]}}(t);this.locale=i,this.numberingSystem=e||u||null,this.outputCalendar=n||o||null,this.weekSettings=r,this.intl=function(t,e,n){return n||e?(t.includes("-u-")||(t+="-u"),n&&(t+=`-ca-${n}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=s,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===P(t.locale).numberingSystem)),this.fastNumbersCached}listingMode(){return this.isEnglish()&&!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar)?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?tt.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Ht(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return V(this,t,he,(()=>{const n=e?{month:t,day:"numeric"}:{month:t},r=e?"format":"standalone";return this.monthsCache[r][t]||(this.monthsCache[r][t]=function(t){const e=[];for(let n=1;n<=12;n++){const r=lr.utc(2009,n,1);e.push(t(r))}return e}((t=>this.extract(t,n,"month")))),this.monthsCache[r][t]}))}weekdays(t,e=!1){return V(this,t,fe,(()=>{const n=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},r=e?"format":"standalone";return this.weekdaysCache[r][t]||(this.weekdaysCache[r][t]=function(t){const e=[];for(let n=1;n<=7;n++){const r=lr.utc(2016,11,13+n);e.push(t(r))}return e}((t=>this.extract(t,n,"weekday")))),this.weekdaysCache[r][t]}))}meridiems(){return V(this,void 0,(()=>ye),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[lr.utc(2016,11,13,9),lr.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return V(this,t,Se,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[lr.utc(-40,1,1),lr.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,n){const r=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===n));return r?r.value:null}numberFormatter(t={}){return new B(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Q(t,this.intl,e)}relFormatter(t={}){return new K(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const n=JSON.stringify([t,e]);let r=j[n];return r||(r=new Intl.ListFormat(t,e),j[n]=r),r}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||P(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:_t()?function(t){let e=Y.get(t);if(!e){const n=new Intl.Locale(t);e="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,"minimalDays"in e||(e={...X,...e}),Y.set(t,e)}return e}(this.locale):X}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let et=null;class nt extends Z{static get utcInstance(){return null===et&&(et=new nt(0)),et}static instance(t){return 0===t?nt.utcInstance:new nt(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new nt(ne(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${ie(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${ie(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return ie(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class rt extends Z{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function st(t,e){if(Wt(t)||null===t)return e;if(t instanceof Z)return t;if("string"==typeof t){const n=t.toLowerCase();return"default"===n?e:"local"===n||"system"===n?L.instance:"utc"===n||"gmt"===n?nt.utcInstance:nt.parseSpecifier(n)||q.create(t)}return Lt(t)?nt.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new rt(t)}const it={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},ut={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},ot=it.hanidec.replace(/[\[|\]]/g,"").split(""),at=new Map;function ct({numberingSystem:t},e=""){const n=t||"latn";let r=at.get(n);void 0===r&&(r=new Map,at.set(n,r));let s=r.get(e);return void 0===s&&(s=new RegExp(`${it[n]}${e}`),r.set(e,s)),s}let ht,lt=()=>Date.now(),dt="system",mt=null,ft=null,yt=null,gt=60,wt=null;class pt{static get now(){return lt}static set now(t){lt=t}static set defaultZone(t){dt=t}static get defaultZone(){return st(dt,L.instance)}static get defaultLocale(){return mt}static set defaultLocale(t){mt=t}static get defaultNumberingSystem(){return ft}static set defaultNumberingSystem(t){ft=t}static get defaultOutputCalendar(){return yt}static set defaultOutputCalendar(t){yt=t}static get defaultWeekSettings(){return wt}static set defaultWeekSettings(t){wt=Ht(t)}static get twoDigitCutoffYear(){return gt}static set twoDigitCutoffYear(t){gt=t%100}static get throwOnInvalid(){return ht}static set throwOnInvalid(t){ht=t}static resetCaches(){tt.resetCache(),q.resetCache(),lr.resetCache(),at.clear()}}class St{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Mt=[0,31,59,90,120,151,181,212,243,273,304,334],kt=[0,31,60,91,121,152,182,213,244,274,305,335];function Tt(t,e){return new St("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function Nt(t,e,n){const r=new Date(Date.UTC(t,e-1,n));t<100&&t>=0&&r.setUTCFullYear(r.getUTCFullYear()-1900);const s=r.getUTCDay();return 0===s?7:s}function bt(t,e,n){return n+(Yt(t)?kt:Mt)[e-1]}function Et(t,e){const n=Yt(t)?kt:Mt,r=n.findIndex((t=>t<e));return{month:r+1,day:e-n[r]}}function vt(t,e){return(t-e+7)%7+1}function Dt(t,e=4,n=1){const{year:r,month:s,day:i}=t,u=bt(r,s,i),o=vt(Nt(r,s,i),n);let a,c=Math.floor((u-o+14-e)/7);return c<1?(a=r-1,c=Xt(a,e,n)):c>Xt(r,e,n)?(a=r+1,c=1):a=r,{weekYear:a,weekNumber:c,weekday:o,...ue(t)}}function Ot(t,e=4,n=1){const{weekYear:r,weekNumber:s,weekday:i}=t,u=vt(Nt(r,1,e),n),o=Vt(r);let a,c=7*s+i-u-7+e;c<1?(a=r-1,c+=Vt(a)):c>o?(a=r+1,c-=Vt(r)):a=r;const{month:h,day:l}=Et(a,c);return{year:a,month:h,day:l,...ue(t)}}function $t(t){const{year:e,month:n,day:r}=t;return{year:e,ordinal:bt(e,n,r),...ue(t)}}function It(t){const{year:e,ordinal:n}=t,{month:r,day:s}=Et(e,n);return{year:e,month:r,day:s,...ue(t)}}function xt(t,e){if(!Wt(t.localWeekday)||!Wt(t.localWeekNumber)||!Wt(t.localWeekYear)){if(!Wt(t.weekday)||!Wt(t.weekNumber)||!Wt(t.weekYear))throw new s("Cannot mix locale-based week fields with ISO-based week fields");return Wt(t.localWeekday)||(t.weekday=t.localWeekday),Wt(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Wt(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function Ft(t){const e=At(t.year),n=zt(t.month,1,12),r=zt(t.day,1,Bt(t.year,t.month));return e?n?!r&&Tt("day",t.day):Tt("month",t.month):Tt("year",t.year)}function Zt(t){const{hour:e,minute:n,second:r,millisecond:s}=t,i=zt(e,0,23)||24===e&&0===n&&0===r&&0===s,u=zt(n,0,59),o=zt(r,0,59),a=zt(s,0,999);return i?u?o?!a&&Tt("millisecond",s):Tt("second",r):Tt("minute",n):Tt("hour",e)}function Wt(t){return void 0===t}function Lt(t){return"number"==typeof t}function At(t){return"number"==typeof t&&t%1==0}function Ct(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function _t(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function qt(t,e,n){if(0!==t.length)return t.reduce(((t,r)=>{const s=[e(r),r];return t&&n(t[0],s[0])===t[0]?t:s}),null)[1]}function jt(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Ht(t){if(null==t)return null;if("object"!=typeof t)throw new u("Week settings must be an object");if(!zt(t.firstDay,1,7)||!zt(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!zt(t,1,7))))throw new u("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function zt(t,e,n){return At(t)&&t>=e&&t<=n}function Rt(t,e=2){let n;return n=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),n}function Jt(t){return Wt(t)||null===t||""===t?void 0:parseInt(t,10)}function Ut(t){return Wt(t)||null===t||""===t?void 0:parseFloat(t)}function Gt(t){if(!Wt(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Pt(t,e,n=!1){const r=10**e;return(n?Math.trunc:Math.round)(t*r)/r}function Yt(t){return t%4==0&&(t%100!=0||t%400==0)}function Vt(t){return Yt(t)?366:365}function Bt(t,e){const n=(r=e-1)-12*Math.floor(r/12)+1;var r;return 2===n?Yt(t+(e-n)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function Qt(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Kt(t,e,n){return-vt(Nt(t,1,e),n)+e-1}function Xt(t,e=4,n=1){const r=Kt(t,e,n),s=Kt(t+1,e,n);return(Vt(t)-r+s)/7}function te(t){return t>99?t:t>pt.twoDigitCutoffYear?1900+t:2e3+t}function ee(t,e,n,r=null){const s=new Date(t),i={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(i.timeZone=r);const u={timeZoneName:e,...i},o=new Intl.DateTimeFormat(n,u).formatToParts(s).find((t=>"timezonename"===t.type.toLowerCase()));return o?o.value:null}function ne(t,e){let n=parseInt(t,10);Number.isNaN(n)&&(n=0);const r=parseInt(e,10)||0;return 60*n+(n<0||Object.is(n,-0)?-r:r)}function re(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new u(`Invalid unit value ${t}`);return e}function se(t,e){const n={};for(const r in t)if(jt(t,r)){const s=t[r];if(null==s)continue;n[e(r)]=re(s)}return n}function ie(t,e){const n=Math.trunc(Math.abs(t/60)),r=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${Rt(n,2)}:${Rt(r,2)}`;case"narrow":return`${s}${n}${r>0?`:${r}`:""}`;case"techie":return`${s}${Rt(n,2)}${Rt(r,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function ue(t){return function(t){return["hour","minute","second","millisecond"].reduce(((e,n)=>(e[n]=t[n],e)),{})}(t)}const oe=["January","February","March","April","May","June","July","August","September","October","November","December"],ae=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],ce=["J","F","M","A","M","J","J","A","S","O","N","D"];function he(t){switch(t){case"narrow":return[...ce];case"short":return[...ae];case"long":return[...oe];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const le=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],de=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],me=["M","T","W","T","F","S","S"];function fe(t){switch(t){case"narrow":return[...me];case"short":return[...de];case"long":return[...le];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const ye=["AM","PM"],ge=["Before Christ","Anno Domini"],we=["BC","AD"],pe=["B","A"];function Se(t){switch(t){case"narrow":return[...pe];case"short":return[...we];case"long":return[...ge];default:return null}}function Me(t,e){let n="";for(const r of t)n+=r.literal?r.val:e(r.val);return n}const ke={D:l,DD:d,DDD:f,DDDD:y,t:g,tt:w,ttt:p,tttt:S,T:M,TT:k,TTT:T,TTTT:N,f:b,ff:v,fff:$,ffff:x,F:E,FF:D,FFF:I,FFFF:F};class Te{static create(t,e={}){return new Te(t,e)}static parseFormat(t){let e=null,n="",r=!1;const s=[];for(let i=0;i<t.length;i++){const u=t.charAt(i);"'"===u?(n.length>0&&s.push({literal:r||/^\s+$/.test(n),val:n}),e=null,n="",r=!r):r||u===e?n+=u:(n.length>0&&s.push({literal:/^\s+$/.test(n),val:n}),n=u,e=u)}return n.length>0&&s.push({literal:r||/^\s+$/.test(n),val:n}),s}static macroTokenToFormatOpts(t){return ke[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Rt(t,e);const n={...this.opts};return e>0&&(n.padTo=e),this.loc.numberFormatter(n).format(t)}formatDateTimeFromString(t,e){const n="en"===this.loc.listingMode(),r=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,s=(e,n)=>this.loc.extract(t,e,n),i=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",u=(e,r)=>n?function(t,e){return he(e)[t.month-1]}(t,e):s(r?{month:e}:{month:e,day:"numeric"},"month"),o=(e,r)=>n?function(t,e){return fe(e)[t.weekday-1]}(t,e):s(r?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),a=e=>{const n=Te.macroTokenToFormatOpts(e);return n?this.formatWithSystemDefault(t,n):e},c=e=>n?function(t,e){return Se(e)[t.year<0?0:1]}(t,e):s({era:e},"era");return Me(Te.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return i({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return i({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return i({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return n?function(t){return ye[t.hour<12?0:1]}(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod");case"d":return r?s({day:"numeric"},"day"):this.num(t.day);case"dd":return r?s({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return o("short",!0);case"cccc":return o("long",!0);case"ccccc":return o("narrow",!0);case"EEE":return o("short",!1);case"EEEE":return o("long",!1);case"EEEEE":return o("narrow",!1);case"L":return r?s({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return r?s({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return u("short",!0);case"LLLL":return u("long",!0);case"LLLLL":return u("narrow",!0);case"M":return r?s({month:"numeric"},"month"):this.num(t.month);case"MM":return r?s({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return u("short",!1);case"MMMM":return u("long",!1);case"MMMMM":return u("narrow",!1);case"y":return r?s({year:"numeric"},"year"):this.num(t.year);case"yy":return r?s({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return r?s({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return r?s({year:"numeric"},"year"):this.num(t.year,6);case"G":return c("short");case"GG":return c("long");case"GGGGG":return c("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return a(e)}}))}formatDurationFromString(t,e){const n=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},r=Te.parseFormat(e),s=r.reduce(((t,{literal:e,val:n})=>e?t:t.concat(n)),[]);return Me(r,(t=>e=>{const r=n(e);return r?this.num(t.get(r),e.length):e})(t.shiftTo(...s.map(n).filter((t=>t)))))}}const Ne=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function be(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function Ee(...t){return e=>t.reduce((([t,n,r],s)=>{const[i,u,o]=s(e,r);return[{...t,...i},u||n,o]}),[{},null,1]).slice(0,2)}function ve(t,...e){if(null==t)return[null,null];for(const[n,r]of e){const e=n.exec(t);if(e)return r(e)}return[null,null]}function De(...t){return(e,n)=>{const r={};let s;for(s=0;s<t.length;s++)r[t[s]]=Jt(e[n+s]);return[r,null,n+s]}}const Oe=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,$e=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Ie=RegExp(`${$e.source}(?:${Oe.source}?(?:\\[(${Ne.source})\\])?)?`),xe=RegExp(`(?:T${Ie.source})?`),Fe=De("weekYear","weekNumber","weekDay"),Ze=De("year","ordinal"),We=RegExp(`${$e.source} ?(?:${Oe.source}|(${Ne.source}))?`),Le=RegExp(`(?: ${We.source})?`);function Ae(t,e,n){const r=t[e];return Wt(r)?n:Jt(r)}function Ce(t,e){return[{hours:Ae(t,e,0),minutes:Ae(t,e+1,0),seconds:Ae(t,e+2,0),milliseconds:Gt(t[e+3])},null,e+4]}function _e(t,e){const n=!t[e]&&!t[e+1],r=ne(t[e+1],t[e+2]);return[{},n?null:nt.instance(r),e+3]}function qe(t,e){return[{},t[e]?q.create(t[e]):null,e+1]}const je=RegExp(`^T?${$e.source}$`),He=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function ze(t){const[e,n,r,s,i,u,o,a,c]=t,h="-"===e[0],l=a&&"-"===a[0],d=(t,e=!1)=>void 0!==t&&(e||t&&h)?-t:t;return[{years:d(Ut(n)),months:d(Ut(r)),weeks:d(Ut(s)),days:d(Ut(i)),hours:d(Ut(u)),minutes:d(Ut(o)),seconds:d(Ut(a),"-0"===a),milliseconds:d(Gt(c),l)}]}const Re={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Je(t,e,n,r,s,i,u){const o={year:2===e.length?te(Jt(e)):Jt(e),month:ae.indexOf(n)+1,day:Jt(r),hour:Jt(s),minute:Jt(i)};return u&&(o.second=Jt(u)),t&&(o.weekday=t.length>3?le.indexOf(t)+1:de.indexOf(t)+1),o}const Ue=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Ge(t){const[,e,n,r,s,i,u,o,a,c,h,l]=t,d=Je(e,s,r,n,i,u,o);let m;return m=a?Re[a]:c?0:ne(h,l),[d,new nt(m)]}const Pe=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Ye=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Ve=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Be(t){const[,e,n,r,s,i,u,o]=t;return[Je(e,s,r,n,i,u,o),nt.utcInstance]}function Qe(t){const[,e,n,r,s,i,u,o]=t;return[Je(e,o,n,r,s,i,u),nt.utcInstance]}const Ke=be(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,xe),Xe=be(/(\d{4})-?W(\d\d)(?:-?(\d))?/,xe),tn=be(/(\d{4})-?(\d{3})/,xe),en=be(Ie),nn=Ee((function(t,e){return[{year:Ae(t,e),month:Ae(t,e+1,1),day:Ae(t,e+2,1)},null,e+3]}),Ce,_e,qe),rn=Ee(Fe,Ce,_e,qe),sn=Ee(Ze,Ce,_e,qe),un=Ee(Ce,_e,qe),on=Ee(Ce),an=be(/(\d{4})-(\d\d)-(\d\d)/,Le),cn=be(We),hn=Ee(Ce,_e,qe),ln="Invalid Duration",dn={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},mn={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...dn},fn={years:{quarters:4,months:12,weeks:52.1775,days:365.2425,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:30.436875,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...dn},yn=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],gn=yn.slice(0).reverse();function wn(t,e,n=!1){const r={values:n?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new Mn(r)}function pn(t,e){let n=e.milliseconds??0;for(const r of gn.slice(1))e[r]&&(n+=e[r]*t[r].milliseconds);return n}function Sn(t,e){const n=pn(t,e)<0?-1:1;yn.reduceRight(((r,s)=>{if(Wt(e[s]))return r;if(r){const i=t[s][r],u=Math.floor(e[r]*n/i);e[s]+=u*n,e[r]-=u*i*n}return s}),null),yn.reduce(((n,r)=>{if(Wt(e[r]))return n;if(n){const s=e[n]%1;e[n]-=s,e[r]+=s*t[n][r]}return r}),null)}class Mn{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let n=e?fn:mn;t.matrix&&(n=t.matrix),this.values=t.values,this.loc=t.loc||tt.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=n,this.isLuxonDuration=!0}static fromMillis(t,e){return Mn.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new u("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new Mn({values:se(t,Mn.normalizeUnit),loc:tt.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Lt(t))return Mn.fromMillis(t);if(Mn.isDuration(t))return t;if("object"==typeof t)return Mn.fromObject(t);throw new u(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[n]=function(t){return ve(t,[He,ze])}(t);return n?Mn.fromObject(n,e):Mn.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[n]=function(t){return ve(t,[je,on])}(t);return n?Mn.fromObject(n,e):Mn.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new u("need to specify a reason the Duration is invalid");const n=t instanceof St?t:new St(t,e);if(pt.throwOnInvalid)throw new r(n);return new Mn({invalid:n})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new i(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const n={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?Te.create(this.loc,n).formatDurationFromString(this,t):ln}toHuman(t={}){if(!this.isValid)return ln;const e=yn.map((e=>{const n=this.values[e];return Wt(n)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(n)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=Pt(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();return e<0||e>=864e5?null:(t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1},lr.fromMillis(e,{zone:"UTC"}).toISOTime(t))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?pn(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=Mn.fromDurationLike(t),n={};for(const t of yn)(jt(e.values,t)||jt(this.values,t))&&(n[t]=e.get(t)+this.get(t));return wn(this,{values:n},!0)}minus(t){if(!this.isValid)return this;const e=Mn.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const n of Object.keys(this.values))e[n]=re(t(this.values[n],n));return wn(this,{values:e},!0)}get(t){return this[Mn.normalizeUnit(t)]}set(t){return this.isValid?wn(this,{values:{...this.values,...se(t,Mn.normalizeUnit)}}):this}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:n,matrix:r}={}){return wn(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:r,conversionAccuracy:n})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return Sn(this.matrix,t),wn(this,{values:t},!0)}rescale(){return this.isValid?wn(this,{values:function(t){const e={};for(const[n,r]of Object.entries(t))0!==r&&(e[n]=r);return e}(this.normalize().shiftToAll().toObject())},!0):this}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>Mn.normalizeUnit(t)));const e={},n={},r=this.toObject();let s;for(const i of yn)if(t.indexOf(i)>=0){s=i;let t=0;for(const e in n)t+=this.matrix[e][i]*n[e],n[e]=0;Lt(r[i])&&(t+=r[i]);const u=Math.trunc(t);e[i]=u,n[i]=(1e3*t-1e3*u)/1e3}else Lt(r[i])&&(n[i]=r[i]);for(const t in n)0!==n[t]&&(e[s]+=t===s?n[t]:n[t]/this.matrix[s][t]);return Sn(this.matrix,e),wn(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return wn(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const r of yn)if(n=t.values[r],!(void 0===(e=this.values[r])||0===e?void 0===n||0===n:e===n))return!1;var e,n;return!0}}const kn="Invalid Interval";class Tn{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new u("need to specify a reason the Interval is invalid");const r=t instanceof St?t:new St(t,e);if(pt.throwOnInvalid)throw new n(r);return new Tn({invalid:r})}static fromDateTimes(t,e){const n=dr(t),r=dr(e),s=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?Tn.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:Tn.invalid("missing or invalid end"):Tn.invalid("missing or invalid start")}(n,r);return null==s?new Tn({start:n,end:r}):s}static after(t,e){const n=Mn.fromDurationLike(e),r=dr(t);return Tn.fromDateTimes(r,r.plus(n))}static before(t,e){const n=Mn.fromDurationLike(e),r=dr(t);return Tn.fromDateTimes(r.minus(n),r)}static fromISO(t,e){const[n,r]=(t||"").split("/",2);if(n&&r){let t,s,i,u;try{t=lr.fromISO(n,e),s=t.isValid}catch(r){s=!1}try{i=lr.fromISO(r,e),u=i.isValid}catch(r){u=!1}if(s&&u)return Tn.fromDateTimes(t,i);if(s){const n=Mn.fromISO(r,e);if(n.isValid)return Tn.after(t,n)}else if(u){const t=Mn.fromISO(n,e);if(t.isValid)return Tn.before(i,t)}}return Tn.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const n=this.start.startOf(t,e);let r;return r=e?.useLocaleWeeks?this.end.reconfigure({locale:n.locale}):this.end,r=r.startOf(t,e),Math.floor(r.diff(n,t).get(t))+(r.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&this.s<=t&&this.e>t}set({start:t,end:e}={}){return this.isValid?Tn.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(dr).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),n=[];let{s:r}=this,s=0;for(;r<this.e;){const t=e[s]||this.e,i=+t>+this.e?this.e:t;n.push(Tn.fromDateTimes(r,i)),r=i,s+=1}return n}splitBy(t){const e=Mn.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let n,{s:r}=this,s=1;const i=[];for(;r<this.e;){const t=this.start.plus(e.mapUnits((t=>t*s)));n=+t>+this.e?this.e:t,i.push(Tn.fromDateTimes(r,n)),r=n,s+=1}return i}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e==+t.s}abutsEnd(t){return!!this.isValid&&+t.e==+this.s}engulfs(t){return!!this.isValid&&this.s<=t.s&&this.e>=t.e}equals(t){return!(!this.isValid||!t.isValid)&&this.s.equals(t.s)&&this.e.equals(t.e)}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,n=this.e<t.e?this.e:t.e;return e>=n?null:Tn.fromDateTimes(e,n)}union(t){return this.isValid?Tn.fromDateTimes(this.s<t.s?this.s:t.s,this.e>t.e?this.e:t.e):this}static merge(t){const[e,n]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],n)=>e?e.overlaps(n)||e.abutsStart(n)?[t,e.union(n)]:[t.concat([e]),n]:[t,n]),[[],null]);return n&&e.push(n),e}static xor(t){let e=null,n=0;const r=[],s=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),i=Array.prototype.concat(...s).sort(((t,e)=>t.time-e.time));for(const t of i)n+="s"===t.type?1:-1,1===n?e=t.time:(e&&+e!=+t.time&&r.push(Tn.fromDateTimes(e,t.time)),e=null);return Tn.merge(r)}difference(...t){return Tn.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:kn}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=l,e={}){return this.isValid?Te.create(this.s.loc.clone(e),t).formatInterval(this):kn}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:kn}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:kn}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:kn}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:kn}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):Mn.invalid(this.invalidReason)}mapEndpoints(t){return Tn.fromDateTimes(t(this.s),t(this.e))}}class Nn{static hasDST(t=pt.defaultZone){const e=lr.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return q.isValidZone(t)}static normalizeZone(t){return st(t,pt.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||tt.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||tt.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||tt.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:n=null,locObj:r=null,outputCalendar:s="gregory"}={}){return(r||tt.create(e,n,s)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:n=null,locObj:r=null,outputCalendar:s="gregory"}={}){return(r||tt.create(e,n,s)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:n=null,locObj:r=null}={}){return(r||tt.create(e,n,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:n=null,locObj:r=null}={}){return(r||tt.create(e,n,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return tt.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return tt.create(e,null,"gregory").eras(t)}static features(){return{relative:Ct(),localeWeek:_t()}}}function bn(t,e){const n=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),r=n(e)-n(t);return Math.floor(Mn.fromMillis(r).as("days"))}function En(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let n=0;n<t.length;n++){const r=t.charCodeAt(n);if(-1!==t[n].search(it.hanidec))e+=ot.indexOf(t[n]);else for(const t in ut){const[n,s]=ut[t];r>=n&&r<=s&&(e+=r-n)}}return parseInt(e,10)}return e}(t))}}const vn=`[ ${String.fromCharCode(160)}]`,Dn=new RegExp(vn,"g");function On(t){return t.replace(/\./g,"\\.?").replace(Dn,vn)}function $n(t){return t.replace(/\./g,"").replace(Dn," ").toLowerCase()}function In(t,e){return null===t?null:{regex:RegExp(t.map(On).join("|")),deser:([n])=>t.findIndex((t=>$n(n)===$n(t)))+e}}function xn(t,e){return{regex:t,deser:([,t,e])=>ne(t,e),groups:e}}function Fn(t){return{regex:t,deser:([t])=>t}}const Zn={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Wn=null;function Ln(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const n=_n(Te.macroTokenToFormatOpts(t.val),e);return null==n||n.includes(void 0)?t:n}(t,e))))}class An{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Ln(Te.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const n=ct(e),r=ct(e,"{2}"),s=ct(e,"{3}"),i=ct(e,"{4}"),u=ct(e,"{6}"),o=ct(e,"{1,2}"),a=ct(e,"{1,3}"),c=ct(e,"{1,6}"),h=ct(e,"{1,9}"),l=ct(e,"{2,4}"),d=ct(e,"{4,6}"),m=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},f=(f=>{if(t.literal)return m(f);switch(f.val){case"G":return In(e.eras("short"),0);case"GG":return In(e.eras("long"),0);case"y":return En(c);case"yy":case"kk":return En(l,te);case"yyyy":case"kkkk":return En(i);case"yyyyy":return En(d);case"yyyyyy":return En(u);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return En(o);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return En(r);case"MMM":return In(e.months("short",!0),1);case"MMMM":return In(e.months("long",!0),1);case"LLL":return In(e.months("short",!1),1);case"LLLL":return In(e.months("long",!1),1);case"o":case"S":return En(a);case"ooo":case"SSS":return En(s);case"u":return Fn(h);case"uu":return Fn(o);case"uuu":case"E":case"c":return En(n);case"a":return In(e.meridiems(),0);case"EEE":return In(e.weekdays("short",!1),1);case"EEEE":return In(e.weekdays("long",!1),1);case"ccc":return In(e.weekdays("short",!0),1);case"cccc":return In(e.weekdays("long",!0),1);case"Z":case"ZZ":return xn(new RegExp(`([+-]${o.source})(?::(${r.source}))?`),2);case"ZZZ":return xn(new RegExp(`([+-]${o.source})(${r.source})?`),2);case"z":return Fn(/[a-z_+-/]{1,256}?/i);case" ":return Fn(/[^\S\n\r]/);default:return m(f)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return f.token=t,f}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=[`^${(n=this.units).map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"")}$`,n];this.regex=RegExp(t,"i"),this.handlers=e}var n}explainFromTokens(t){if(this.isValid){const[e,n]=function(t,e,n){const r=t.match(e);if(r){const t={};let e=1;for(const s in n)if(jt(n,s)){const i=n[s],u=i.groups?i.groups+1:1;!i.literal&&i.token&&(t[i.token.val[0]]=i.deser(r.slice(e,e+u))),e+=u}return[r,t]}return[r,{}]}(t,this.regex,this.handlers),[r,i,u]=n?function(t){let e,n=null;return Wt(t.z)||(n=q.create(t.z)),Wt(t.Z)||(n||(n=new nt(t.Z)),e=t.Z),Wt(t.q)||(t.M=3*(t.q-1)+1),Wt(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),Wt(t.u)||(t.S=Gt(t.u)),[Object.keys(t).reduce(((e,n)=>{const r=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(n);return r&&(e[r]=t[n]),e}),{}),n,e]}(n):[null,null,void 0];if(jt(n,"a")&&jt(n,"H"))throw new s("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:n,result:r,zone:i,specificOffset:u}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Cn(t,e,n){return new An(t,n).explainFromTokens(e)}function _n(t,e){if(!t)return null;const n=Te.create(e,t).dtFormatter((Wn||(Wn=lr.fromMillis(1555555555555)),Wn)),r=n.formatToParts(),s=n.resolvedOptions();return r.map((e=>function(t,e,n){const{type:r,value:s}=t;if("literal"===r){const t=/^\s+$/.test(s);return{literal:!t,val:t?" ":s}}let i=r;"hour"===r&&(i=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":n.hour12?"hour12":"hour24");let u=Zn[i];if("object"==typeof u&&(u=u[e[r]]),u)return{literal:!1,val:u}}(e,t,s)))}const qn="Invalid DateTime",jn=864e13;function Hn(t){return new St("unsupported zone",`the zone "${t.name}" is not supported`)}function zn(t){return null===t.weekData&&(t.weekData=Dt(t.c)),t.weekData}function Rn(t){return null===t.localWeekData&&(t.localWeekData=Dt(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Jn(t,e){const n={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new lr({...n,...e,old:n})}function Un(t,e,n){let r=t-60*e*1e3;const s=n.offset(r);if(e===s)return[r,e];r-=60*(s-e)*1e3;const i=n.offset(r);return s===i?[r,s]:[t-60*Math.min(s,i)*1e3,Math.max(s,i)]}function Gn(t,e){const n=new Date(t+=60*e*1e3);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function Pn(t,e,n){return Un(Qt(t),e,n)}function Yn(t,e){const n=t.o,r=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),i={...t.c,year:r,month:s,day:Math.min(t.c.day,Bt(r,s))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},u=Mn.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),o=Qt(i);let[a,c]=Un(o,n,t.zone);return 0!==u&&(a+=u,c=t.zone.offset(a)),{ts:a,o:c}}function Vn(t,e,n,r,s,i){const{setZone:u,zone:o}=n;if(t&&0!==Object.keys(t).length||e){const r=e||o,s=lr.fromObject(t,{...n,zone:r,specificOffset:i});return u?s:s.setZone(o)}return lr.invalid(new St("unparsable",`the input "${s}" can't be parsed as ${r}`))}function Bn(t,e,n=!0){return t.isValid?Te.create(tt.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Qn(t,e){const n=t.c.year>9999||t.c.year<0;let r="";return n&&t.c.year>=0&&(r+="+"),r+=Rt(t.c.year,n?6:4),e?(r+="-",r+=Rt(t.c.month),r+="-",r+=Rt(t.c.day)):(r+=Rt(t.c.month),r+=Rt(t.c.day)),r}function Kn(t,e,n,r,s,i){let u=Rt(t.c.hour);return e?(u+=":",u+=Rt(t.c.minute),0===t.c.millisecond&&0===t.c.second&&n||(u+=":")):u+=Rt(t.c.minute),0===t.c.millisecond&&0===t.c.second&&n||(u+=Rt(t.c.second),0===t.c.millisecond&&r||(u+=".",u+=Rt(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!i?u+="Z":t.o<0?(u+="-",u+=Rt(Math.trunc(-t.o/60)),u+=":",u+=Rt(Math.trunc(-t.o%60))):(u+="+",u+=Rt(Math.trunc(t.o/60)),u+=":",u+=Rt(Math.trunc(t.o%60)))),i&&(u+="["+t.zone.ianaName+"]"),u}const Xn={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},tr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},er={ordinal:1,hour:0,minute:0,second:0,millisecond:0},nr=["year","month","day","hour","minute","second","millisecond"],rr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],sr=["year","ordinal","hour","minute","second","millisecond"];function ir(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new i(t);return e}(t)}}function ur(t,e){const n=st(e.zone,pt.defaultZone);if(!n.isValid)return lr.invalid(Hn(n));const r=tt.fromObject(e);let s,i;if(Wt(t.year))s=pt.now();else{for(const e of nr)Wt(t[e])&&(t[e]=Xn[e]);const e=Ft(t)||Zt(t);if(e)return lr.invalid(e);const r=function(t){if(void 0===cr&&(cr=pt.now()),"iana"!==t.type)return t.offset(cr);const e=t.name;let n=hr.get(e);return void 0===n&&(n=t.offset(cr),hr.set(e,n)),n}(n);[s,i]=Pn(t,r,n)}return new lr({ts:s,zone:n,loc:r,o:i})}function or(t,e,n){const r=!!Wt(n.round)||n.round,s=(t,s)=>(t=Pt(t,r||n.calendary?0:2,!0),e.loc.clone(n).relFormatter(n).format(t,s)),i=r=>n.calendary?e.hasSame(t,r)?0:e.startOf(r).diff(t.startOf(r),r).get(r):e.diff(t,r).get(r);if(n.unit)return s(i(n.unit),n.unit);for(const t of n.units){const e=i(t);if(Math.abs(e)>=1)return s(e,t)}return s(t>e?-0:0,n.units[n.units.length-1])}function ar(t){let e,n={};return t.length>0&&"object"==typeof t[t.length-1]?(n=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[n,e]}let cr;const hr=new Map;class lr{constructor(t){const e=t.zone||pt.defaultZone;let n=t.invalid||(Number.isNaN(t.ts)?new St("invalid input"):null)||(e.isValid?null:Hn(e));this.ts=Wt(t.ts)?pt.now():t.ts;let r=null,s=null;if(!n)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[r,s]=[t.old.c,t.old.o];else{const i=Lt(t.o)&&!t.old?t.o:e.offset(this.ts);r=Gn(this.ts,i),n=Number.isNaN(r.year)?new St("invalid input"):null,r=n?null:r,s=n?null:i}this._zone=e,this.loc=t.loc||tt.create(),this.invalid=n,this.weekData=null,this.localWeekData=null,this.c=r,this.o=s,this.isLuxonDateTime=!0}static now(){return new lr({})}static local(){const[t,e]=ar(arguments),[n,r,s,i,u,o,a]=e;return ur({year:n,month:r,day:s,hour:i,minute:u,second:o,millisecond:a},t)}static utc(){const[t,e]=ar(arguments),[n,r,s,i,u,o,a]=e;return t.zone=nt.utcInstance,ur({year:n,month:r,day:s,hour:i,minute:u,second:o,millisecond:a},t)}static fromJSDate(t,e={}){const n="[object Date]"===Object.prototype.toString.call(t)?t.valueOf():NaN;if(Number.isNaN(n))return lr.invalid("invalid input");const r=st(e.zone,pt.defaultZone);return r.isValid?new lr({ts:n,zone:r,loc:tt.fromObject(e)}):lr.invalid(Hn(r))}static fromMillis(t,e={}){if(Lt(t))return t<-jn||t>jn?lr.invalid("Timestamp out of range"):new lr({ts:t,zone:st(e.zone,pt.defaultZone),loc:tt.fromObject(e)});throw new u(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Lt(t))return new lr({ts:1e3*t,zone:st(e.zone,pt.defaultZone),loc:tt.fromObject(e)});throw new u("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const n=st(e.zone,pt.defaultZone);if(!n.isValid)return lr.invalid(Hn(n));const r=tt.fromObject(e),i=se(t,ir),{minDaysInFirstWeek:u,startOfWeek:o}=xt(i,r),a=pt.now(),c=Wt(e.specificOffset)?n.offset(a):e.specificOffset,h=!Wt(i.ordinal),l=!Wt(i.year),d=!Wt(i.month)||!Wt(i.day),m=l||d,f=i.weekYear||i.weekNumber;if((m||h)&&f)throw new s("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(d&&h)throw new s("Can't mix ordinal dates with month/day");const y=f||i.weekday&&!m;let g,w,p=Gn(a,c);y?(g=rr,w=tr,p=Dt(p,u,o)):h?(g=sr,w=er,p=$t(p)):(g=nr,w=Xn);let S=!1;for(const t of g)Wt(i[t])?i[t]=S?w[t]:p[t]:S=!0;const M=y?function(t,e=4,n=1){const r=At(t.weekYear),s=zt(t.weekNumber,1,Xt(t.weekYear,e,n)),i=zt(t.weekday,1,7);return r?s?!i&&Tt("weekday",t.weekday):Tt("week",t.weekNumber):Tt("weekYear",t.weekYear)}(i,u,o):h?function(t){const e=At(t.year),n=zt(t.ordinal,1,Vt(t.year));return e?!n&&Tt("ordinal",t.ordinal):Tt("year",t.year)}(i):Ft(i),k=M||Zt(i);if(k)return lr.invalid(k);const T=y?Ot(i,u,o):h?It(i):i,[N,b]=Pn(T,c,n),E=new lr({ts:N,zone:n,o:b,loc:r});return i.weekday&&m&&t.weekday!==E.weekday?lr.invalid("mismatched weekday",`you can't specify both a weekday of ${i.weekday} and a date of ${E.toISO()}`):E.isValid?E:lr.invalid(E.invalid)}static fromISO(t,e={}){const[n,r]=function(t){return ve(t,[Ke,nn],[Xe,rn],[tn,sn],[en,un])}(t);return Vn(n,r,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[n,r]=function(t){return ve(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Ue,Ge])}(t);return Vn(n,r,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[n,r]=function(t){return ve(t,[Pe,Be],[Ye,Be],[Ve,Qe])}(t);return Vn(n,r,e,"HTTP",e)}static fromFormat(t,e,n={}){if(Wt(t)||Wt(e))throw new u("fromFormat requires an input string and a format");const{locale:r=null,numberingSystem:s=null}=n,i=tt.fromOpts({locale:r,numberingSystem:s,defaultToEN:!0}),[o,a,c,h]=function(t,e,n){const{result:r,zone:s,specificOffset:i,invalidReason:u}=Cn(t,e,n);return[r,s,i,u]}(i,t,e);return h?lr.invalid(h):Vn(o,a,n,`format ${e}`,t,c)}static fromString(t,e,n={}){return lr.fromFormat(t,e,n)}static fromSQL(t,e={}){const[n,r]=function(t){return ve(t,[an,nn],[cn,hn])}(t);return Vn(n,r,e,"SQL",t)}static invalid(t,n=null){if(!t)throw new u("need to specify a reason the DateTime is invalid");const r=t instanceof St?t:new St(t,n);if(pt.throwOnInvalid)throw new e(r);return new lr({invalid:r})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const n=_n(t,tt.fromObject(e));return n?n.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Ln(Te.parseFormat(t),tt.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){cr=void 0,hr.clear()}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?zn(this).weekYear:NaN}get weekNumber(){return this.isValid?zn(this).weekNumber:NaN}get weekday(){return this.isValid?zn(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Rn(this).weekday:NaN}get localWeekNumber(){return this.isValid?Rn(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Rn(this).weekYear:NaN}get ordinal(){return this.isValid?$t(this.c).ordinal:NaN}get monthShort(){return this.isValid?Nn.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Nn.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Nn.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Nn.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,n=Qt(this.c),r=this.zone.offset(n-t),s=this.zone.offset(n+t),i=this.zone.offset(n-r*e),u=this.zone.offset(n-s*e);if(i===u)return[this];const o=n-i*e,a=n-u*e,c=Gn(o,i),h=Gn(a,u);return c.hour===h.hour&&c.minute===h.minute&&c.second===h.second&&c.millisecond===h.millisecond?[Jn(this,{ts:o}),Jn(this,{ts:a})]:[this]}get isInLeapYear(){return Yt(this.year)}get daysInMonth(){return Bt(this.year,this.month)}get daysInYear(){return this.isValid?Vt(this.year):NaN}get weeksInWeekYear(){return this.isValid?Xt(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Xt(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:n,calendar:r}=Te.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:n,outputCalendar:r}}toUTC(t=0,e={}){return this.setZone(nt.instance(t),e)}toLocal(){return this.setZone(pt.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:n=!1}={}){if((t=st(t,pt.defaultZone)).equals(this.zone))return this;if(t.isValid){let r=this.ts;if(e||n){const e=t.offset(this.ts),n=this.toObject();[r]=Pn(n,e,t)}return Jn(this,{ts:r,zone:t})}return lr.invalid(Hn(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:n}={}){return Jn(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:n})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=se(t,ir),{minDaysInFirstWeek:n,startOfWeek:r}=xt(e,this.loc),i=!Wt(e.weekYear)||!Wt(e.weekNumber)||!Wt(e.weekday),u=!Wt(e.ordinal),o=!Wt(e.year),a=!Wt(e.month)||!Wt(e.day);if((o||a||u)&&(e.weekYear||e.weekNumber))throw new s("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&u)throw new s("Can't mix ordinal dates with month/day");let c;i?c=Ot({...Dt(this.c,n,r),...e},n,r):Wt(e.ordinal)?(c={...this.toObject(),...e},Wt(e.day)&&(c.day=Math.min(Bt(c.year,c.month),c.day))):c=It({...$t(this.c),...e});const[h,l]=Pn(c,this.o,this.zone);return Jn(this,{ts:h,o:l})}plus(t){return this.isValid?Jn(this,Yn(this,Mn.fromDurationLike(t))):this}minus(t){return this.isValid?Jn(this,Yn(this,Mn.fromDurationLike(t).negate())):this}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const n={},r=Mn.normalizeUnit(t);switch(r){case"years":n.month=1;case"quarters":case"months":n.day=1;case"weeks":case"days":n.hour=0;case"hours":n.minute=0;case"minutes":n.second=0;case"seconds":n.millisecond=0}if("weeks"===r)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(n.weekNumber=this.weekNumber-1),n.weekday=t}else n.weekday=1;if("quarters"===r){const t=Math.ceil(this.month/3);n.month=3*(t-1)+1}return this.set(n)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?Te.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):qn}toLocaleString(t=l,e={}){return this.isValid?Te.create(this.loc.clone(e),t).formatDateTime(this):qn}toLocaleParts(t={}){return this.isValid?Te.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:n=!1,includeOffset:r=!0,extendedZone:s=!1}={}){if(!this.isValid)return null;const i="extended"===t;let u=Qn(this,i);return u+="T",u+=Kn(this,i,e,n,r,s),u}toISODate({format:t="extended"}={}){return this.isValid?Qn(this,"extended"===t):null}toISOWeekDate(){return Bn(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:n=!0,includePrefix:r=!1,extendedZone:s=!1,format:i="extended"}={}){return this.isValid?(r?"T":"")+Kn(this,"extended"===i,e,t,n,s):null}toRFC2822(){return Bn(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Bn(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Qn(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:n=!0}={}){let r="HH:mm:ss.SSS";return(e||t)&&(n&&(r+=" "),e?r+="z":t&&(r+="ZZ")),Bn(this,r,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():qn}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",n={}){if(!this.isValid||!t.isValid)return Mn.invalid("created by diffing an invalid DateTime");const r={locale:this.locale,numberingSystem:this.numberingSystem,...n},s=(o=e,Array.isArray(o)?o:[o]).map(Mn.normalizeUnit),i=t.valueOf()>this.valueOf(),u=function(t,e,n,r){let[s,i,u,o]=function(t,e,n){const r=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const n=bn(t,e);return(n-n%7)/7}],["days",bn]],s={},i=t;let u,o;for(const[a,c]of r)n.indexOf(a)>=0&&(u=a,s[a]=c(t,e),o=i.plus(s),o>e?(s[a]--,(t=i.plus(s))>e&&(o=t,s[a]--,t=i.plus(s))):t=o);return[t,s,o,u]}(t,e,n);const a=e-s,c=n.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===c.length&&(u<e&&(u=s.plus({[o]:1})),u!==s&&(i[o]=(i[o]||0)+a/(u-s)));const h=Mn.fromObject(i,r);return c.length>0?Mn.fromMillis(a,r).shiftTo(...c).plus(h):h}(i?this:t,i?t:this,s,r);var o;return i?u.negate():u}diffNow(t="milliseconds",e={}){return this.diff(lr.now(),t,e)}until(t){return this.isValid?Tn.fromDateTimes(this,t):this}hasSame(t,e,n){if(!this.isValid)return!1;const r=t.valueOf(),s=this.setZone(t.zone,{keepLocalTime:!0});return s.startOf(e,n)<=r&&r<=s.endOf(e,n)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||lr.fromObject({},{zone:this.zone}),n=t.padding?this<e?-t.padding:t.padding:0;let r=["years","months","days","hours","minutes","seconds"],s=t.unit;return Array.isArray(t.unit)&&(r=t.unit,s=void 0),or(e,this.plus(n),{...t,numeric:"always",units:r,unit:s})}toRelativeCalendar(t={}){return this.isValid?or(t.base||lr.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(lr.isDateTime))throw new u("min requires all arguments be DateTimes");return qt(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(lr.isDateTime))throw new u("max requires all arguments be DateTimes");return qt(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,n={}){const{locale:r=null,numberingSystem:s=null}=n;return Cn(tt.fromOpts({locale:r,numberingSystem:s,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,n={}){return lr.fromFormatExplain(t,e,n)}static buildFormatParser(t,e={}){const{locale:n=null,numberingSystem:r=null}=e,s=tt.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0});return new An(s,t)}static fromFormatParser(t,e,n={}){if(Wt(t)||Wt(e))throw new u("fromFormatParser requires an input string and a format parser");const{locale:r=null,numberingSystem:s=null}=n,i=tt.fromOpts({locale:r,numberingSystem:s,defaultToEN:!0});if(!i.equals(e.locale))throw new u(`fromFormatParser called with a locale of ${i}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:h}=e.explainFromTokens(t);return h?lr.invalid(h):Vn(o,a,n,`format ${e.format}`,t,c)}static get DATE_SHORT(){return l}static get DATE_MED(){return d}static get DATE_MED_WITH_WEEKDAY(){return m}static get DATE_FULL(){return f}static get DATE_HUGE(){return y}static get TIME_SIMPLE(){return g}static get TIME_WITH_SECONDS(){return w}static get TIME_WITH_SHORT_OFFSET(){return p}static get TIME_WITH_LONG_OFFSET(){return S}static get TIME_24_SIMPLE(){return M}static get TIME_24_WITH_SECONDS(){return k}static get TIME_24_WITH_SHORT_OFFSET(){return T}static get TIME_24_WITH_LONG_OFFSET(){return N}static get DATETIME_SHORT(){return b}static get DATETIME_SHORT_WITH_SECONDS(){return E}static get DATETIME_MED(){return v}static get DATETIME_MED_WITH_SECONDS(){return D}static get DATETIME_MED_WITH_WEEKDAY(){return O}static get DATETIME_FULL(){return $}static get DATETIME_FULL_WITH_SECONDS(){return I}static get DATETIME_HUGE(){return x}static get DATETIME_HUGE_WITH_SECONDS(){return F}}function dr(t){if(lr.isDateTime(t))return t;if(t&&t.valueOf&&Lt(t.valueOf()))return lr.fromJSDate(t);if(t&&"object"==typeof t)return lr.fromObject(t);throw new u(`Unknown datetime argument: ${t}, of type ${typeof t}`)}export{lr as D}
@@ -1,233 +0,0 @@
1
- var __assign=this&&this.__assign||function(){__assign=Object.assign||function(r){for(var t,n=1,e=arguments.length;n<e;n++){t=arguments[n];for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i))r[i]=t[i]}return r};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(r,t,n,e){function i(r){return r instanceof n?r:new n((function(t){t(r)}))}return new(n||(n=Promise))((function(n,a){function u(r){try{f(e.next(r))}catch(r){a(r)}}function o(r){try{f(e["throw"](r))}catch(r){a(r)}}function f(r){r.done?n(r.value):i(r.value).then(u,o)}f((e=e.apply(r,t||[])).next())}))};var __generator=this&&this.__generator||function(r,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},e,i,a,u=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return u.next=o(0),u["throw"]=o(1),u["return"]=o(2),typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function o(r){return function(t){return f([r,t])}}function f(o){if(e)throw new TypeError("Generator is already executing.");while(u&&(u=0,o[0]&&(n=0)),n)try{if(e=1,i&&(a=o[0]&2?i["return"]:o[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,o[1])).done)return a;if(i=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;i=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){n.label=o[1];break}if(o[0]===6&&n.label<a[1]){n.label=a[1];a=o;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(o);break}if(a[2])n.ops.pop();n.trys.pop();continue}o=t.call(r,n)}catch(r){o=[6,r];i=0}finally{e=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var __rest=this&&this.__rest||function(r,t){var n={};for(var e in r)if(Object.prototype.hasOwnProperty.call(r,e)&&t.indexOf(e)<0)n[e]=r[e];if(r!=null&&typeof Object.getOwnPropertySymbols==="function")for(var i=0,e=Object.getOwnPropertySymbols(r);i<e.length;i++){if(t.indexOf(e[i])<0&&Object.prototype.propertyIsEnumerable.call(r,e[i]))n[e[i]]=r[e[i]]}return n};var __spreadArray=this&&this.__spreadArray||function(r,t,n){if(n||arguments.length===2)for(var e=0,i=t.length,a;e<i;e++){if(a||!(e in t)){if(!a)a=Array.prototype.slice.call(t,0,e);a[e]=t[e]}}return r.concat(a||Array.prototype.slice.call(t))};System.register([],(function(r){"use strict";return{execute:function(){var t=this;r("d",Hr);
2
- /**
3
- * Custom positioning reference element.
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 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
- /**
7
- * Resolves with an object of overflow side offsets that determine how much the
8
- * element is overflowing a given clipping boundary on each side.
9
- * - positive = overflowing the boundary by that number of pixels
10
- * - negative = how many pixels left before it will overflow
11
- * - 0 = lies flush with the boundary
12
- * @see https://floating-ui.com/docs/detectOverflow
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
- // Maximum number of resets that can occur before bailing to avoid infinite reset loops.
15
- var z=50;
16
- /**
17
- * Computes the `x` and `y` coordinates that will place the floating element
18
- * next to a given reference element.
19
- *
20
- * This export does not have any `platform` interface logic. You will need to
21
- * write one for the platform you are using Floating UI with.
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
- /**
24
- * Provides data to position an inner element of the floating element so that it
25
- * appears centered to the reference element.
26
- * @see https://floating-ui.com/docs/arrow
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
- // DOM platform can return `window` as the `offsetParent`.
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
- /**
31
- * Optimizes the visibility of the floating element by choosing the placement
32
- * that has the most space available automatically, without needing to specify a
33
- * preferred placement. Alternative to `flip`.
34
- * @see https://floating-ui.com/docs/autoPlacement
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
- // Make `computeCoords` start from the right place.
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
- // There are more placements to check.
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
- // Check along the mainAxis and main crossAxis side.
41
- r.overflows.slice(0,2).reduce((function(r,t){return r+t}),0):
42
- // Check only the mainAxis.
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
- // Aligned placements should not check their opposite crossAxis
45
- // side.
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
- /**
48
- * Optimizes the visibility of the floating element by flipping the `placement`
49
- * in order to keep it in view when the preferred placement(s) will overflow the
50
- * clipping boundary. Alternative to `autoPlacement`.
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,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
- // If a reset by the arrow was caused due to an alignment offset being
54
- // added, we should skip any logic now since `flip()` has already done its
55
- // work.
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);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
- // One or more sides is overflowing.
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
- // We leave the current main axis only if every placement on that axis
61
- // overflows the main axis.
62
- N.every((function(r){return y(r.placement)===C?r.overflows[0]>0:true}))){
63
- // Try next placement and re-run the lifecycle.
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
- // Otherwise fallback.
66
- if(!B){switch(x){case"bestFit":{K=(J=N.filter((function(r){if(E){var t=y(r.placement);return t===C||
67
- // Create a bias to the `y` side axis due to horizontal
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 V=new Set(["left","top"]);
70
- // For type backwards-compatibility, the `OffsetOptions` type was also
71
- // Derivable.
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
- /**
74
- * Modifies the placement by translating the floating element along the
75
- * specified axes.
76
- * A number (shorthand for `mainAxis` or distance), or an axes configuration
77
- * object may be passed.
78
- * @see https://floating-ui.com/docs/offset
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
- // If the placement is the same and the arrow caused an alignment offset
81
- // then we don't need to change the positioning coordinates.
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})}]}}))}))}}};
83
- /**
84
- * Optimizes the visibility of the floating element by shifting it in order to
85
- * keep it in view when it will overflow the clipping boundary.
86
- * @see https://floating-ui.com/docs/shift
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
- // Mocked nodes in testing environments may not be instances of Node. By
89
- // returning `#document` an infinite loop won't occur.
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(!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
- // no-op
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
- // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
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=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
- // Step into the shadow DOM of the parent of a slotted node.
98
- r.assignedSlot||
99
- // DOM Element detected.
100
- r.parentNode||
101
- // ShadowRoot detected.
102
- X(r)&&r.host||
103
- // Fallback.
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
- // In testing environments, the `width` and `height` properties are empty
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 v=(u?o(n.height):n.height)/a;
108
- // 0, NaN, or Infinity should always fallback to 1.
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
- // If <html> has a CSS width greater than the viewport, then this will be
111
- // incorrect for RTL.
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()):[]}
113
- // Gets the entire size of the scrollable document area, even extending outside
114
- // of the `<html>` and `<body>` rect bounds if horizontally scrollable.
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}}
132
- // Returns the inner client rect, subtracting scrollbars if present.
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)}
134
- // A "clipping ancestor" is an `overflow` element with the characteristic of
135
- // clipping (or hiding) child elements. This returns all clipping ancestors
136
- // of the given element up the tree.
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;
138
- // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
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){
147
- // Drop non-containing blocks.
148
- e=e.filter((function(r){return r!==u}))}else{
149
- // The kept node carries the chain position for the next iteration.
150
- i=o}u=sr(u)}t.set(r,e);return e}
151
- // Gets the maximum area that the element is visible in due to any number of
152
- // clipping ancestors.
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}}
154
- // If the <body> scrollbar appears on the left (e.g. RTL systems). Use
155
- // Firefox with layout.scrollbar.side = 3 in about:config to test this.
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;
157
- // Firefox returns the <html> element as the offsetParent if it's non-static,
158
- // while Chrome and Safari return the <body> element. The <body> element must
159
- // be used to perform the correct calculations even if the <html> element is
160
- // non-static.
161
- if(J(r)===n){n=n.ownerDocument.body}return n}
162
- // Gets the closest ancestor positioned element. Handles some edge cases,
163
- // such as table ancestors and cross browser bugs.
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}
165
- // https://samthor.au/2021/observing-dom/
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}
176
- // Older browsers don't support a `document` as the root and will throw an
177
- // error.
178
- try{e=new IntersectionObserver(S,__assign(__assign({},x),{
179
- // Handle <iframe>s
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()}}
186
- /**
187
- * Automatically updates the position of the floating element when necessary.
188
- * Should only be called when the floating element is mounted on the DOM or
189
- * visible on the screen.
190
- * @returns cleanup function that should be invoked when the floating element is
191
- * removed from the DOM or hidden from the screen.
192
- * @see https://floating-ui.com/docs/autoUpdate
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){
194
- // Prevent update loops when using the `size` middleware.
195
- // https://github.com/floating-ui/floating-ui/issues/1740
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)}}}
197
- /**
198
- * Modifies the placement by translating the floating element along the
199
- * specified axes.
200
- * A number (shorthand for `mainAxis` or distance), or an axes configuration
201
- * object may be passed.
202
- * @see https://floating-ui.com/docs/offset
203
- */var Gr=r("o",q);
204
- /**
205
- * Optimizes the visibility of the floating element by choosing the placement
206
- * that has the most space available automatically, without needing to specify a
207
- * preferred placement. Alternative to `flip`.
208
- * @see https://floating-ui.com/docs/autoPlacement
209
- */var Wr=r("a",I);
210
- /**
211
- * Optimizes the visibility of the floating element by shifting it in order to
212
- * keep it in view when it will overflow the clipping boundary.
213
- * @see https://floating-ui.com/docs/shift
214
- */var Br=r("s",H);
215
- /**
216
- * Optimizes the visibility of the floating element by flipping the `placement`
217
- * in order to keep it in view when the preferred placement(s) will overflow the
218
- * clipping boundary. Alternative to `autoPlacement`.
219
- * @see https://floating-ui.com/docs/flip
220
- */var Jr=r("f",N);
221
- /**
222
- * Provides data to position an inner element of the floating element so that it
223
- * appears centered to the reference element.
224
- * @see https://floating-ui.com/docs/arrow
225
- */var Kr=r("b",L);
226
- /**
227
- * Computes the `x` and `y` coordinates that will place the floating element
228
- * next to a given reference element.
229
- */var Qr=r("c",(function(r,t,n){
230
- // This caches the expensive `getClippingElementAncestors` function so that
231
- // multiple lifecycle resets re-use the same result. It only lives for a
232
- // single call. If other functions become expensive, we can add them as well.
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}))}))}}}));
@@ -1 +0,0 @@
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}