@maggioli-design-system/magma 2.13.0 → 2.15.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 (1482) hide show
  1. package/AGENTS.md +1 -1
  2. package/CHANGELOG.md +50 -0
  3. package/agents/assets.md +1 -1
  4. package/agents/install.md +6 -1
  5. package/agents/mcp.md +14 -5
  6. package/agents/patterns/app-shell.md +18 -14
  7. package/agents/patterns/confirm-action.md +138 -15
  8. package/agents/patterns/empty-state.md +116 -15
  9. package/agents/patterns/error-recovery.md +151 -19
  10. package/agents/patterns/item-list.md +12 -11
  11. package/agents/patterns/labels-and-values.md +1 -0
  12. package/agents/patterns/list-with-filters.md +99 -9
  13. package/agents/patterns/loading.md +141 -19
  14. package/agents/patterns/message-placement.md +355 -39
  15. package/agents/patterns/page-header.md +7 -6
  16. package/agents/patterns/previews/actions/banner.dark.webp +0 -0
  17. package/agents/patterns/previews/actions/banner.light.webp +0 -0
  18. package/agents/patterns/previews/actions/confirm.dark.webp +0 -0
  19. package/agents/patterns/previews/actions/confirm.light.webp +0 -0
  20. package/agents/patterns/previews/actions/danger-zone.dark.webp +0 -0
  21. package/agents/patterns/previews/actions/danger-zone.light.webp +0 -0
  22. package/agents/patterns/previews/actions/destructive-in-menu.dark.webp +0 -0
  23. package/agents/patterns/previews/actions/destructive-in-menu.light.webp +0 -0
  24. package/agents/patterns/previews/actions/dismiss-message.dark.webp +0 -0
  25. package/agents/patterns/previews/actions/dismiss.dark.webp +0 -0
  26. package/agents/patterns/previews/actions/dismiss.light.webp +0 -0
  27. package/agents/patterns/previews/actions/more-in-menu.dark.webp +0 -0
  28. package/agents/patterns/previews/actions/more-in-menu.light.webp +0 -0
  29. package/agents/patterns/previews/actions/part-primary.dark.webp +0 -0
  30. package/agents/patterns/previews/actions/part-primary.light.webp +0 -0
  31. package/agents/patterns/previews/actions/primary.dark.webp +0 -0
  32. package/agents/patterns/previews/actions/primary.light.webp +0 -0
  33. package/agents/patterns/previews/actions/remove.dark.webp +0 -0
  34. package/agents/patterns/previews/actions/secondary.dark.webp +0 -0
  35. package/agents/patterns/previews/actions/secondary.light.webp +0 -0
  36. package/agents/patterns/previews/actions/stacked.dark.webp +0 -0
  37. package/agents/patterns/previews/actions/stacked.light.webp +0 -0
  38. package/agents/patterns/previews/actions/toast.dark.webp +0 -0
  39. package/agents/patterns/previews/app-shell/back-office.dark.webp +0 -0
  40. package/agents/patterns/previews/app-shell/back-office.html +2 -2
  41. package/agents/patterns/previews/app-shell/many-sections.dark.webp +0 -0
  42. package/agents/patterns/previews/app-shell/many-sections.html +2 -2
  43. package/agents/patterns/previews/app-shell/public-service.dark.webp +0 -0
  44. package/agents/patterns/previews/app-shell/public-service.html +2 -2
  45. package/agents/patterns/previews/app-shell/section-menus.dark.webp +0 -0
  46. package/agents/patterns/previews/app-shell/section-menus.html +2 -2
  47. package/agents/patterns/previews/confirm-action/act-then-undo.dark.webp +0 -0
  48. package/agents/patterns/previews/confirm-action/act-then-undo.html +1 -1
  49. package/agents/patterns/previews/confirm-action/ask-before-sending.dark.webp +0 -0
  50. package/agents/patterns/previews/confirm-action/ask-before-sending.light.webp +0 -0
  51. package/agents/patterns/previews/confirm-action/ask-first-many.dark.webp +0 -0
  52. package/agents/patterns/previews/confirm-action/ask-first.dark.webp +0 -0
  53. package/agents/patterns/previews/confirm-action/make-reversible.dark.webp +0 -0
  54. package/agents/patterns/previews/confirm-action/make-reversible.html +1 -1
  55. package/agents/patterns/previews/confirm-action/make-reversible.light.webp +0 -0
  56. package/agents/patterns/previews/confirm-action/send-as-shown.dark.webp +0 -0
  57. package/agents/patterns/previews/confirm-action/send-as-shown.html +2 -2
  58. package/agents/patterns/previews/confirm-action/send-as-shown.light.webp +0 -0
  59. package/agents/patterns/previews/empty-state/add-the-first.dark.webp +0 -0
  60. package/agents/patterns/previews/empty-state/add-the-first.html +1 -1
  61. package/agents/patterns/previews/empty-state/add-the-first.light.webp +0 -0
  62. package/agents/patterns/previews/empty-state/all-done.dark.webp +0 -0
  63. package/agents/patterns/previews/empty-state/all-done.html +1 -1
  64. package/agents/patterns/previews/empty-state/all-done.light.webp +0 -0
  65. package/agents/patterns/previews/empty-state/clear-filters.dark.webp +0 -0
  66. package/agents/patterns/previews/empty-state/clear-filters.html +2 -2
  67. package/agents/patterns/previews/empty-state/clear-filters.light.webp +0 -0
  68. package/agents/patterns/previews/empty-state/filled-by-others.dark.webp +0 -0
  69. package/agents/patterns/previews/empty-state/filled-by-others.html +1 -1
  70. package/agents/patterns/previews/empty-state/filled-by-others.light.webp +0 -0
  71. package/agents/patterns/previews/empty-state/not-found.dark.webp +0 -0
  72. package/agents/patterns/previews/empty-state/not-found.html +2 -2
  73. package/agents/patterns/previews/empty-state/not-found.light.webp +0 -0
  74. package/agents/patterns/previews/empty-state/one-line.dark.webp +0 -0
  75. package/agents/patterns/previews/empty-state/one-line.html +1 -1
  76. package/agents/patterns/previews/error-recovery/action-another-way.dark.webp +0 -0
  77. package/agents/patterns/previews/error-recovery/action-another-way.html +3 -3
  78. package/agents/patterns/previews/error-recovery/action-another-way.light.webp +0 -0
  79. package/agents/patterns/previews/error-recovery/changed-meanwhile.dark.webp +0 -0
  80. package/agents/patterns/previews/error-recovery/changed-meanwhile.html +4 -4
  81. package/agents/patterns/previews/error-recovery/changed-meanwhile.light.webp +0 -0
  82. package/agents/patterns/previews/error-recovery/check-or-repeat.dark.webp +0 -0
  83. package/agents/patterns/previews/error-recovery/check-or-repeat.html +4 -4
  84. package/agents/patterns/previews/error-recovery/check-or-repeat.light.webp +0 -0
  85. package/agents/patterns/previews/error-recovery/content-another-way.dark.webp +0 -0
  86. package/agents/patterns/previews/error-recovery/content-another-way.html +1 -1
  87. package/agents/patterns/previews/error-recovery/partial.dark.webp +0 -0
  88. package/agents/patterns/previews/error-recovery/partial.html +2 -2
  89. package/agents/patterns/previews/error-recovery/retry-action.dark.webp +0 -0
  90. package/agents/patterns/previews/error-recovery/retry-action.html +4 -4
  91. package/agents/patterns/previews/error-recovery/retry-action.light.webp +0 -0
  92. package/agents/patterns/previews/error-recovery/retry-content.dark.webp +0 -0
  93. package/agents/patterns/previews/error-recovery/retry-content.html +2 -2
  94. package/agents/patterns/previews/error-recovery/sign-in-again.dark.webp +0 -0
  95. package/agents/patterns/previews/error-recovery/sign-in-again.html +4 -4
  96. package/agents/patterns/previews/item-list/documents-of-a-request.dark.webp +0 -0
  97. package/agents/patterns/previews/item-list/documents-of-a-request.html +1 -1
  98. package/agents/patterns/previews/item-list/documents-of-a-request.light.webp +0 -0
  99. package/agents/patterns/previews/item-list/queue-of-a-desk.dark.webp +0 -0
  100. package/agents/patterns/previews/item-list/queue-of-a-desk.light.webp +0 -0
  101. package/agents/patterns/previews/item-list/requests-of-an-office.dark.webp +0 -0
  102. package/agents/patterns/previews/item-list/requests-of-an-office.light.webp +0 -0
  103. package/agents/patterns/previews/item-list/requests-to-assign.dark.webp +0 -0
  104. package/agents/patterns/previews/item-list/requests-to-assign.light.webp +0 -0
  105. package/agents/patterns/previews/labels-and-values/data-of-a-contact.dark.webp +0 -0
  106. package/agents/patterns/previews/labels-and-values/data-of-a-contact.html +1 -1
  107. package/agents/patterns/previews/labels-and-values/payment-before-paying.dark.webp +0 -0
  108. package/agents/patterns/previews/labels-and-values/payment-before-paying.html +2 -2
  109. package/agents/patterns/previews/labels-and-values/payment-before-paying.light.webp +0 -0
  110. package/agents/patterns/previews/labels-and-values/what-is-sent.dark.webp +0 -0
  111. package/agents/patterns/previews/labels-and-values/what-is-sent.html +4 -4
  112. package/agents/patterns/previews/labels-and-values/what-is-sent.light.webp +0 -0
  113. package/agents/patterns/previews/list-with-filters/act-on-many.dark.webp +0 -0
  114. package/agents/patterns/previews/list-with-filters/act-on-many.html +8 -8
  115. package/agents/patterns/previews/list-with-filters/act-on-many.light.webp +0 -0
  116. package/agents/patterns/previews/list-with-filters/find-and-open.dark.webp +0 -0
  117. package/agents/patterns/previews/list-with-filters/find-and-open.html +4 -4
  118. package/agents/patterns/previews/list-with-filters/find-and-open.light.webp +0 -0
  119. package/agents/patterns/previews/list-with-filters/show-new-items.dark.webp +0 -0
  120. package/agents/patterns/previews/list-with-filters/show-new-items.html +7 -7
  121. package/agents/patterns/previews/list-with-filters/show-new-items.light.webp +0 -0
  122. package/agents/patterns/previews/loading/await-and-say.dark.webp +0 -0
  123. package/agents/patterns/previews/loading/await-and-say.html +2 -2
  124. package/agents/patterns/previews/loading/await-and-say.light.webp +0 -0
  125. package/agents/patterns/previews/loading/await-the-control.dark.webp +0 -0
  126. package/agents/patterns/previews/loading/await-the-control.html +3 -3
  127. package/agents/patterns/previews/loading/await-the-control.light.webp +0 -0
  128. package/agents/patterns/previews/loading/first-load.dark.webp +0 -0
  129. package/agents/patterns/previews/loading/first-load.html +1 -1
  130. package/agents/patterns/previews/loading/first-load.light.webp +0 -0
  131. package/agents/patterns/previews/loading/keep-while-reloading.dark.webp +0 -0
  132. package/agents/patterns/previews/loading/keep-while-reloading.html +2 -2
  133. package/agents/patterns/previews/loading/keep-while-reloading.light.webp +0 -0
  134. package/agents/patterns/previews/loading/long-load-measured.dark.webp +0 -0
  135. package/agents/patterns/previews/loading/long-load-measured.html +1 -1
  136. package/agents/patterns/previews/loading/long-load-measured.light.webp +0 -0
  137. package/agents/patterns/previews/loading/long-load.dark.webp +0 -0
  138. package/agents/patterns/previews/loading/long-load.html +1 -1
  139. package/agents/patterns/previews/loading/long-load.light.webp +0 -0
  140. package/agents/patterns/previews/loading/progress-in-place.dark.webp +0 -0
  141. package/agents/patterns/previews/loading/progress-in-place.html +2 -2
  142. package/agents/patterns/previews/loading/run-in-background.dark.webp +0 -0
  143. package/agents/patterns/previews/loading/run-in-background.html +2 -2
  144. package/agents/patterns/previews/loading/run-in-background.light.webp +0 -0
  145. package/agents/patterns/previews/message-placement/action-done-elsewhere.dark.webp +0 -0
  146. package/agents/patterns/previews/message-placement/action-done-elsewhere.html +2 -2
  147. package/agents/patterns/previews/message-placement/action-done-elsewhere.light.webp +0 -0
  148. package/agents/patterns/previews/message-placement/action-done-in-page.dark.webp +0 -0
  149. package/agents/patterns/previews/message-placement/action-done-in-page.html +3 -3
  150. package/agents/patterns/previews/message-placement/action-done-in-page.light.webp +0 -0
  151. package/agents/patterns/previews/message-placement/action-done-in-part.dark.webp +0 -0
  152. package/agents/patterns/previews/message-placement/action-done-in-part.html +4 -4
  153. package/agents/patterns/previews/message-placement/action-done-in-part.light.webp +0 -0
  154. package/agents/patterns/previews/message-placement/action-failed-elsewhere.dark.webp +0 -0
  155. package/agents/patterns/previews/message-placement/action-failed-elsewhere.html +3 -3
  156. package/agents/patterns/previews/message-placement/action-failed-elsewhere.light.webp +0 -0
  157. package/agents/patterns/previews/message-placement/action-failed-in-place.dark.webp +0 -0
  158. package/agents/patterns/previews/message-placement/action-failed-in-place.html +2 -2
  159. package/agents/patterns/previews/message-placement/action-failed-in-place.light.webp +0 -0
  160. package/agents/patterns/previews/message-placement/action-later.dark.webp +0 -0
  161. package/agents/patterns/previews/message-placement/action-later.html +2 -2
  162. package/agents/patterns/previews/message-placement/action-later.light.webp +0 -0
  163. package/agents/patterns/previews/message-placement/action-partial-elsewhere.dark.webp +0 -0
  164. package/agents/patterns/previews/message-placement/action-partial-elsewhere.html +3 -3
  165. package/agents/patterns/previews/message-placement/action-partial-in-place.dark.webp +0 -0
  166. package/agents/patterns/previews/message-placement/action-partial-in-place.html +2 -2
  167. package/agents/patterns/previews/message-placement/action-partial-in-place.light.webp +0 -0
  168. package/agents/patterns/previews/message-placement/action-taken.dark.webp +0 -0
  169. package/agents/patterns/previews/message-placement/action-taken.html +1 -1
  170. package/agents/patterns/previews/message-placement/action-taken.light.webp +0 -0
  171. package/agents/patterns/previews/message-placement/app-deadline.dark.webp +0 -0
  172. package/agents/patterns/previews/message-placement/app-deadline.html +1 -1
  173. package/agents/patterns/previews/message-placement/app-failed.dark.webp +0 -0
  174. package/agents/patterns/previews/message-placement/app-failed.html +4 -4
  175. package/agents/patterns/previews/message-placement/app-info.dark.webp +0 -0
  176. package/agents/patterns/previews/message-placement/app-info.html +1 -1
  177. package/agents/patterns/previews/message-placement/decision.dark.webp +0 -0
  178. package/agents/patterns/previews/message-placement/decision.html +3 -3
  179. package/agents/patterns/previews/message-placement/field-error.dark.webp +0 -0
  180. package/agents/patterns/previews/message-placement/field-error.html +1 -1
  181. package/agents/patterns/previews/message-placement/field-error.light.webp +0 -0
  182. package/agents/patterns/previews/message-placement/field-hint.dark.webp +0 -0
  183. package/agents/patterns/previews/message-placement/field-valid.dark.webp +0 -0
  184. package/agents/patterns/previews/message-placement/field-valid.html +3 -3
  185. package/agents/patterns/previews/message-placement/region-failed.dark.webp +0 -0
  186. package/agents/patterns/previews/message-placement/region-failed.html +3 -3
  187. package/agents/patterns/previews/message-placement/region-info.dark.webp +0 -0
  188. package/agents/patterns/previews/message-placement/region-info.html +2 -2
  189. package/agents/patterns/previews/page-header/contact-being-edited.dark.webp +0 -0
  190. package/agents/patterns/previews/page-header/contact-being-edited.html +1 -1
  191. package/agents/patterns/previews/page-header/contact-being-edited.light.webp +0 -0
  192. package/agents/patterns/previews/page-header/members-of-a-group.dark.webp +0 -0
  193. package/agents/patterns/previews/page-header/members-of-a-group.html +1 -1
  194. package/agents/patterns/previews/page-header/members-of-a-group.light.webp +0 -0
  195. package/agents/patterns/previews/page-header/own-profile.dark.webp +0 -0
  196. package/agents/patterns/previews/page-header/own-profile.html +1 -1
  197. package/agents/patterns/previews/page-header/own-profile.light.webp +0 -0
  198. package/agents/patterns/previews/page-header/request-from-the-list.dark.webp +0 -0
  199. package/agents/patterns/previews/page-header/request-from-the-list.html +1 -1
  200. package/agents/patterns/previews/page-header/request-from-the-list.light.webp +0 -0
  201. package/agents/patterns/previews/page-header/requests-of-an-office.dark.webp +0 -0
  202. package/agents/patterns/previews/page-header/requests-of-an-office.html +1 -1
  203. package/agents/patterns/previews/page-header/requests-of-an-office.light.webp +0 -0
  204. package/agents/patterns/previews/record-detail/ask-for-words.dark.webp +0 -0
  205. package/agents/patterns/previews/record-detail/ask-for-words.html +3 -3
  206. package/agents/patterns/previews/record-detail/ask-for-words.light.webp +0 -0
  207. package/agents/patterns/previews/record-detail/edit-data.dark.webp +0 -0
  208. package/agents/patterns/previews/record-detail/edit-data.html +8 -8
  209. package/agents/patterns/previews/record-detail/edit-data.light.webp +0 -0
  210. package/agents/patterns/previews/record-detail/read-the-data.dark.webp +0 -0
  211. package/agents/patterns/previews/record-detail/read-the-data.html +3 -3
  212. package/agents/patterns/previews/record-detail/read-the-data.light.webp +0 -0
  213. package/agents/patterns/previews/record-detail/record-changed.dark.webp +0 -0
  214. package/agents/patterns/previews/record-detail/record-changed.html +8 -8
  215. package/agents/patterns/previews/record-detail/record-changed.light.webp +0 -0
  216. package/agents/patterns/previews/record-detail/run-at-once.dark.webp +0 -0
  217. package/agents/patterns/previews/record-detail/run-at-once.html +7 -7
  218. package/agents/patterns/previews/record-detail/run-at-once.light.webp +0 -0
  219. package/agents/patterns/previews/record-detail/work-on-it.dark.webp +0 -0
  220. package/agents/patterns/previews/record-detail/work-on-it.html +2 -2
  221. package/agents/patterns/previews/record-detail/work-on-it.light.webp +0 -0
  222. package/agents/patterns/previews/rhythm/between-containers.dark.webp +0 -0
  223. package/agents/patterns/previews/rhythm/between-fields.dark.webp +0 -0
  224. package/agents/patterns/previews/rhythm/between-groups.dark.webp +0 -0
  225. package/agents/patterns/previews/rhythm/between-sections.dark.webp +0 -0
  226. package/agents/patterns/previews/rhythm/content-actions.dark.webp +0 -0
  227. package/agents/patterns/previews/rhythm/content-actions.light.webp +0 -0
  228. package/agents/patterns/previews/rhythm/inline.dark.webp +0 -0
  229. package/agents/patterns/previews/rhythm/inline.light.webp +0 -0
  230. package/agents/patterns/previews/rhythm/inset.dark.webp +0 -0
  231. package/agents/patterns/previews/rhythm/label-control.dark.webp +0 -0
  232. package/agents/patterns/previews/rhythm/title-content.dark.webp +0 -0
  233. package/agents/patterns/previews/surfaces/band.dark.webp +0 -0
  234. package/agents/patterns/previews/surfaces/band.light.webp +0 -0
  235. package/agents/patterns/previews/surfaces/canvas.dark.webp +0 -0
  236. package/agents/patterns/previews/surfaces/card.dark.webp +0 -0
  237. package/agents/patterns/previews/surfaces/card.light.webp +0 -0
  238. package/agents/patterns/previews/surfaces/dialog.dark.webp +0 -0
  239. package/agents/patterns/previews/surfaces/dialog.light.webp +0 -0
  240. package/agents/patterns/previews/surfaces/edit-actions.dark.webp +0 -0
  241. package/agents/patterns/previews/surfaces/edit-actions.light.webp +0 -0
  242. package/agents/patterns/previews/surfaces/intro-band.dark.webp +0 -0
  243. package/agents/patterns/previews/surfaces/intro-band.light.webp +0 -0
  244. package/agents/patterns/previews/surfaces/section.dark.webp +0 -0
  245. package/agents/patterns/previews/titles/dialog.dark.webp +0 -0
  246. package/agents/patterns/previews/titles/dialog.light.webp +0 -0
  247. package/agents/patterns/previews/titles/group.dark.webp +0 -0
  248. package/agents/patterns/previews/titles/page.dark.webp +0 -0
  249. package/agents/patterns/previews/titles/page.light.webp +0 -0
  250. package/agents/patterns/previews/titles/part.dark.webp +0 -0
  251. package/agents/patterns/previews/titles/section.dark.webp +0 -0
  252. package/agents/patterns/previews/widths/dialog.dark.webp +0 -0
  253. package/agents/patterns/previews/widths/dialog.light.webp +0 -0
  254. package/agents/patterns/previews/widths/field.dark.webp +0 -0
  255. package/agents/patterns/previews/widths/form.dark.webp +0 -0
  256. package/agents/patterns/previews/widths/form.light.webp +0 -0
  257. package/agents/patterns/previews/widths/page.dark.webp +0 -0
  258. package/agents/patterns/previews/widths/page.light.webp +0 -0
  259. package/agents/patterns/previews/widths/reading.dark.webp +0 -0
  260. package/agents/patterns/record-detail.md +179 -15
  261. package/agents/patterns.md +4 -3
  262. package/agents/reporting.md +5 -1
  263. package/dist/cjs/{floating-controller-B21tqid0.js → floating-controller-CelMdjyj.js} +1 -1
  264. package/dist/cjs/{index-B99V_UhC.js → index-CGlQW3pX.js} +16 -6
  265. package/dist/cjs/{index-CFEj7WVH.js → index-CWkxqm6T.js} +1 -1
  266. package/dist/cjs/index.cjs.js +2 -2
  267. package/dist/cjs/loader.cjs.js +2 -2
  268. package/dist/cjs/{locale-6jikg4jE.js → locale-q_KROc3I.js} +10 -2
  269. package/dist/cjs/magma-components.cjs.js +3 -3
  270. package/dist/cjs/mds-accordion-item.cjs.entry.js +3 -3
  271. package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +2 -2
  272. package/dist/cjs/mds-accordion-timer.cjs.entry.js +1 -1
  273. package/dist/cjs/mds-accordion.cjs.entry.js +3 -3
  274. package/dist/cjs/mds-author.cjs.entry.js +1 -1
  275. package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +1 -1
  276. package/dist/cjs/mds-avatar-stack.cjs.entry.js +1 -1
  277. package/dist/cjs/mds-avatar.cjs.entry.js +3 -3
  278. package/dist/cjs/mds-badge.cjs.entry.js +3 -3
  279. package/dist/cjs/mds-banner_3.cjs.entry.js +5 -5
  280. package/dist/cjs/mds-benchmark-bar.cjs.entry.js +1 -1
  281. package/dist/cjs/mds-bibliography.cjs.entry.js +1 -1
  282. package/dist/cjs/mds-book.cjs.entry.js +8 -8
  283. package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +1 -1
  284. package/dist/cjs/mds-breadcrumb.cjs.entry.js +3 -3
  285. package/dist/cjs/mds-button-dropdown.cjs.entry.js +27 -9
  286. package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
  287. package/dist/cjs/mds-button_3.cjs.entry.js +34 -13
  288. package/dist/cjs/mds-calendar_2.cjs.entry.js +4 -4
  289. package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
  290. package/dist/cjs/mds-card-footer.cjs.entry.js +1 -1
  291. package/dist/cjs/mds-card-header.cjs.entry.js +1 -1
  292. package/dist/cjs/mds-card-media.cjs.entry.js +1 -1
  293. package/dist/cjs/mds-card.cjs.entry.js +2 -2
  294. package/dist/cjs/mds-details.cjs.entry.js +3 -3
  295. package/dist/cjs/mds-dropdown.cjs.entry.js +3 -3
  296. package/dist/cjs/mds-emoji.cjs.entry.js +3 -3
  297. package/dist/cjs/mds-entity.cjs.entry.js +3 -3
  298. package/dist/cjs/mds-file-preview.cjs.entry.js +4 -4
  299. package/dist/cjs/mds-file.cjs.entry.js +4 -4
  300. package/dist/cjs/mds-filter-item.cjs.entry.js +3 -3
  301. package/dist/cjs/mds-filter.cjs.entry.js +4 -4
  302. package/dist/cjs/mds-header-bar.cjs.entry.js +3 -3
  303. package/dist/cjs/mds-header.cjs.entry.js +2 -2
  304. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +3 -3
  305. package/dist/cjs/mds-hr.cjs.entry.js +2 -2
  306. package/dist/cjs/mds-img.cjs.entry.js +13 -8
  307. package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +2 -2
  308. package/dist/cjs/mds-input-date-range.cjs.entry.js +8 -8
  309. package/dist/cjs/mds-input-date.cjs.entry.js +5 -5
  310. package/dist/cjs/mds-input-field.cjs.entry.js +4 -3
  311. package/dist/cjs/mds-input-otp.cjs.entry.js +4 -4
  312. package/dist/cjs/mds-input-range-value.cjs.entry.js +2 -2
  313. package/dist/cjs/mds-input-range.cjs.entry.js +30 -9
  314. package/dist/cjs/mds-input-select.cjs.entry.js +7 -7
  315. package/dist/cjs/mds-input-switch_2.cjs.entry.js +6 -6
  316. package/dist/cjs/mds-input-tip_2.cjs.entry.js +6 -6
  317. package/dist/cjs/mds-input-upload.cjs.entry.js +9 -9
  318. package/dist/cjs/mds-input.cjs.entry.js +9 -9
  319. package/dist/cjs/mds-keyboard-key.cjs.entry.js +4 -4
  320. package/dist/cjs/mds-keyboard.cjs.entry.js +4 -4
  321. package/dist/cjs/mds-kpi-item.cjs.entry.js +4 -4
  322. package/dist/cjs/mds-kpi.cjs.entry.js +2 -2
  323. package/dist/cjs/mds-label.cjs.entry.js +4 -4
  324. package/dist/cjs/mds-link.cjs.entry.js +32 -11
  325. package/dist/cjs/mds-list-item.cjs.entry.js +2 -2
  326. package/dist/cjs/mds-list.cjs.entry.js +2 -2
  327. package/dist/cjs/mds-mention.cjs.entry.js +4 -4
  328. package/dist/cjs/mds-modal.cjs.entry.js +5 -5
  329. package/dist/cjs/mds-note.cjs.entry.js +5 -5
  330. package/dist/cjs/mds-notification.cjs.entry.js +3 -3
  331. package/dist/cjs/mds-paginator-item.cjs.entry.js +4 -4
  332. package/dist/cjs/mds-paginator.cjs.entry.js +4 -4
  333. package/dist/cjs/mds-policy-ai.cjs.entry.js +5 -5
  334. package/dist/cjs/mds-pref-animation.cjs.entry.js +4 -4
  335. package/dist/cjs/mds-pref-consumption.cjs.entry.js +4 -4
  336. package/dist/cjs/mds-pref-contrast.cjs.entry.js +4 -4
  337. package/dist/cjs/mds-pref-language-item.cjs.entry.js +4 -4
  338. package/dist/cjs/mds-pref-language.cjs.entry.js +4 -4
  339. package/dist/cjs/mds-pref-mode.cjs.entry.js +5 -5
  340. package/dist/cjs/mds-pref-theme-item.cjs.entry.js +3 -3
  341. package/dist/cjs/mds-pref-theme.cjs.entry.js +4 -4
  342. package/dist/cjs/mds-pref.cjs.entry.js +4 -4
  343. package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +4 -4
  344. package/dist/cjs/mds-price-table-features-row.cjs.entry.js +3 -3
  345. package/dist/cjs/mds-price-table-features.cjs.entry.js +4 -4
  346. package/dist/cjs/mds-price-table-header.cjs.entry.js +2 -2
  347. package/dist/cjs/mds-price-table-list-item.cjs.entry.js +2 -2
  348. package/dist/cjs/mds-price-table-list.cjs.entry.js +4 -4
  349. package/dist/cjs/mds-price-table.cjs.entry.js +2 -2
  350. package/dist/cjs/mds-progress_2.cjs.entry.js +6 -6
  351. package/dist/cjs/mds-push-notification-item.cjs.entry.js +6 -6
  352. package/dist/cjs/mds-push-notification.cjs.entry.js +5 -5
  353. package/dist/cjs/mds-quote.cjs.entry.js +3 -3
  354. package/dist/cjs/mds-radial-menu-item.cjs.entry.js +2 -2
  355. package/dist/cjs/mds-radial-menu.cjs.entry.js +5 -5
  356. package/dist/cjs/mds-separator.cjs.entry.js +4 -4
  357. package/dist/cjs/mds-status-bar.cjs.entry.js +3 -3
  358. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +17 -7
  359. package/dist/cjs/mds-stepper-bar.cjs.entry.js +9 -7
  360. package/dist/cjs/mds-tab-bar-item.cjs.entry.js +4 -4
  361. package/dist/cjs/mds-tab-bar.cjs.entry.js +3 -3
  362. package/dist/cjs/mds-tab_2.cjs.entry.js +5 -5
  363. package/dist/cjs/mds-table-body.cjs.entry.js +3 -3
  364. package/dist/cjs/mds-table-footer.cjs.entry.js +3 -3
  365. package/dist/cjs/mds-table-header-cell.cjs.entry.js +3 -3
  366. package/dist/cjs/mds-table-header.cjs.entry.js +4 -4
  367. package/dist/cjs/mds-table-row.cjs.entry.js +5 -5
  368. package/dist/cjs/mds-table.cjs.entry.js +5 -5
  369. package/dist/cjs/mds-text.cjs.entry.js +4 -4
  370. package/dist/cjs/mds-toast-region.cjs.entry.js +2 -2
  371. package/dist/cjs/mds-toast.cjs.entry.js +4 -4
  372. package/dist/cjs/mds-tooltip.cjs.entry.js +16 -9
  373. package/dist/cjs/mds-tree-item.cjs.entry.js +4 -4
  374. package/dist/cjs/mds-tree.cjs.entry.js +3 -3
  375. package/dist/cjs/mds-url-view.cjs.entry.js +4 -4
  376. package/dist/cjs/mds-usage.cjs.entry.js +4 -4
  377. package/dist/cjs/mds-video-wall.cjs.entry.js +4 -4
  378. package/dist/cjs/mds-zero.cjs.entry.js +4 -4
  379. package/dist/cjs/{navigation-Dxea9mKE.js → navigation-B2UAUx-z.js} +14 -0
  380. package/dist/cjs/{preference-DTUJPGHS.js → preference-C4QmB-PB.js} +1 -1
  381. package/dist/collection/collection-manifest.json +1 -1
  382. package/dist/collection/common/locale.js +9 -1
  383. package/dist/collection/common/navigation.js +13 -0
  384. package/dist/collection/components/mds-accordion/AGENTS.md +1 -1
  385. package/dist/collection/components/mds-accordion/documentation.json +2 -2
  386. package/dist/collection/components/mds-accordion/mds-accordion.css +1 -1
  387. package/dist/collection/components/mds-accordion-item/AGENTS.md +1 -1
  388. package/dist/collection/components/mds-accordion-item/documentation.json +2 -2
  389. package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +3 -3
  390. package/dist/collection/components/mds-accordion-timer/AGENTS.md +1 -1
  391. package/dist/collection/components/mds-accordion-timer/documentation.json +2 -2
  392. package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +1 -1
  393. package/dist/collection/components/mds-accordion-timer-item/documentation.json +2 -2
  394. package/dist/collection/components/mds-author/AGENTS.md +1 -1
  395. package/dist/collection/components/mds-author/documentation.json +2 -2
  396. package/dist/collection/components/mds-avatar/AGENTS.md +1 -1
  397. package/dist/collection/components/mds-avatar/documentation.json +2 -2
  398. package/dist/collection/components/mds-avatar/mds-avatar.css +44 -44
  399. package/dist/collection/components/mds-avatar-stack/AGENTS.md +1 -1
  400. package/dist/collection/components/mds-avatar-stack/documentation.json +2 -2
  401. package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
  402. package/dist/collection/components/mds-avatar-stack-item/documentation.json +2 -2
  403. package/dist/collection/components/mds-badge/AGENTS.md +1 -1
  404. package/dist/collection/components/mds-badge/documentation.json +2 -2
  405. package/dist/collection/components/mds-badge/mds-badge.css +53 -53
  406. package/dist/collection/components/mds-banner/AGENTS.md +1 -1
  407. package/dist/collection/components/mds-banner/documentation.json +2 -2
  408. package/dist/collection/components/mds-banner/mds-banner.css +13 -13
  409. package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
  410. package/dist/collection/components/mds-benchmark-bar/documentation.json +2 -2
  411. package/dist/collection/components/mds-bibliography/AGENTS.md +1 -1
  412. package/dist/collection/components/mds-bibliography/documentation.json +2 -2
  413. package/dist/collection/components/mds-book/AGENTS.md +1 -1
  414. package/dist/collection/components/mds-book/documentation.json +2 -2
  415. package/dist/collection/components/mds-book/mds-book.css +2 -2
  416. package/dist/collection/components/mds-breadcrumb/AGENTS.md +1 -1
  417. package/dist/collection/components/mds-breadcrumb/documentation.json +2 -2
  418. package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +1 -1
  419. package/dist/collection/components/mds-breadcrumb-item/documentation.json +2 -2
  420. package/dist/collection/components/mds-button/AGENTS.md +3 -1
  421. package/dist/collection/components/mds-button/documentation.json +33 -4
  422. package/dist/collection/components/mds-button/examples.md +15 -1
  423. package/dist/collection/components/mds-button/mds-button.css +16 -16
  424. package/dist/collection/components/mds-button/mds-button.js +48 -8
  425. package/dist/collection/components/mds-button-dropdown/AGENTS.md +5 -4
  426. package/dist/collection/components/mds-button-dropdown/documentation.json +31 -5
  427. package/dist/collection/components/mds-button-dropdown/examples.md +12 -1
  428. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.css +6 -6
  429. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +30 -1
  430. package/dist/collection/components/mds-button-dropdown/mistakes.md +16 -0
  431. package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
  432. package/dist/collection/components/mds-button-group/documentation.json +2 -2
  433. package/dist/collection/components/mds-calendar/AGENTS.md +1 -1
  434. package/dist/collection/components/mds-calendar/documentation.json +2 -2
  435. package/dist/collection/components/mds-calendar-cell/AGENTS.md +1 -1
  436. package/dist/collection/components/mds-calendar-cell/documentation.json +2 -2
  437. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.css +12 -12
  438. package/dist/collection/components/mds-card/AGENTS.md +1 -1
  439. package/dist/collection/components/mds-card/documentation.json +2 -2
  440. package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
  441. package/dist/collection/components/mds-card-content/documentation.json +2 -2
  442. package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
  443. package/dist/collection/components/mds-card-footer/documentation.json +2 -2
  444. package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
  445. package/dist/collection/components/mds-card-header/documentation.json +2 -2
  446. package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
  447. package/dist/collection/components/mds-card-media/documentation.json +2 -2
  448. package/dist/collection/components/mds-chip/AGENTS.md +1 -1
  449. package/dist/collection/components/mds-chip/documentation.json +2 -2
  450. package/dist/collection/components/mds-chip/mds-chip.css +103 -103
  451. package/dist/collection/components/mds-details/AGENTS.md +1 -1
  452. package/dist/collection/components/mds-details/documentation.json +2 -2
  453. package/dist/collection/components/mds-details/mds-details.css +4 -4
  454. package/dist/collection/components/mds-dropdown/AGENTS.md +1 -1
  455. package/dist/collection/components/mds-dropdown/documentation.json +2 -2
  456. package/dist/collection/components/mds-emoji/AGENTS.md +1 -1
  457. package/dist/collection/components/mds-emoji/documentation.json +2 -2
  458. package/dist/collection/components/mds-emoji/mds-emoji.css +5 -5
  459. package/dist/collection/components/mds-entity/AGENTS.md +1 -1
  460. package/dist/collection/components/mds-entity/documentation.json +2 -2
  461. package/dist/collection/components/mds-entity/mds-entity.css +9 -9
  462. package/dist/collection/components/mds-file/AGENTS.md +1 -1
  463. package/dist/collection/components/mds-file/documentation.json +2 -2
  464. package/dist/collection/components/mds-file/mds-file.css +24 -24
  465. package/dist/collection/components/mds-file-preview/AGENTS.md +1 -1
  466. package/dist/collection/components/mds-file-preview/documentation.json +2 -2
  467. package/dist/collection/components/mds-file-preview/mds-file-preview.css +118 -118
  468. package/dist/collection/components/mds-filter/AGENTS.md +1 -1
  469. package/dist/collection/components/mds-filter/documentation.json +2 -2
  470. package/dist/collection/components/mds-filter/mds-filter.css +4 -4
  471. package/dist/collection/components/mds-filter-item/AGENTS.md +1 -1
  472. package/dist/collection/components/mds-filter-item/documentation.json +2 -2
  473. package/dist/collection/components/mds-header/AGENTS.md +1 -1
  474. package/dist/collection/components/mds-header/documentation.json +2 -2
  475. package/dist/collection/components/mds-header-bar/AGENTS.md +1 -1
  476. package/dist/collection/components/mds-header-bar/documentation.json +2 -2
  477. package/dist/collection/components/mds-help/AGENTS.md +1 -1
  478. package/dist/collection/components/mds-help/documentation.json +2 -2
  479. package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +1 -1
  480. package/dist/collection/components/mds-horizontal-scroll/documentation.json +2 -2
  481. package/dist/collection/components/mds-hr/AGENTS.md +1 -1
  482. package/dist/collection/components/mds-hr/documentation.json +2 -2
  483. package/dist/collection/components/mds-icon/AGENTS.md +2 -2
  484. package/dist/collection/components/mds-icon/documentation.json +6 -2
  485. package/dist/collection/components/mds-img/AGENTS.md +6 -4
  486. package/dist/collection/components/mds-img/documentation.json +48 -6
  487. package/dist/collection/components/mds-img/examples.md +15 -1
  488. package/dist/collection/components/mds-img/mds-img.css +6 -6
  489. package/dist/collection/components/mds-img/mds-img.js +37 -6
  490. package/dist/collection/components/mds-img/meta/storybook.js +7 -0
  491. package/dist/collection/components/mds-img/meta/types.js +2 -1
  492. package/dist/collection/components/mds-input/AGENTS.md +1 -1
  493. package/dist/collection/components/mds-input/documentation.json +2 -2
  494. package/dist/collection/components/mds-input/mds-input.css +12 -12
  495. package/dist/collection/components/mds-input-date/AGENTS.md +1 -1
  496. package/dist/collection/components/mds-input-date/documentation.json +2 -2
  497. package/dist/collection/components/mds-input-date/mds-input-date.css +9 -9
  498. package/dist/collection/components/mds-input-date-range/AGENTS.md +1 -1
  499. package/dist/collection/components/mds-input-date-range/documentation.json +2 -2
  500. package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +9 -9
  501. package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +1 -1
  502. package/dist/collection/components/mds-input-date-range-preselection/documentation.json +2 -2
  503. package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.css +6 -6
  504. package/dist/collection/components/mds-input-field/AGENTS.md +4 -2
  505. package/dist/collection/components/mds-input-field/documentation.json +33 -5
  506. package/dist/collection/components/mds-input-field/examples.md +18 -0
  507. package/dist/collection/components/mds-input-field/mds-input-field.css +39 -2
  508. package/dist/collection/components/mds-input-field/mds-input-field.js +21 -1
  509. package/dist/collection/components/mds-input-field/mistakes.md +21 -0
  510. package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
  511. package/dist/collection/components/mds-input-otp/documentation.json +2 -2
  512. package/dist/collection/components/mds-input-otp/mds-input-otp.js +1 -1
  513. package/dist/collection/components/mds-input-range/AGENTS.md +3 -1
  514. package/dist/collection/components/mds-input-range/documentation.json +3 -3
  515. package/dist/collection/components/mds-input-range/mds-input-range.css +112 -4
  516. package/dist/collection/components/mds-input-range/mds-input-range.js +35 -5
  517. package/dist/collection/components/mds-input-range-value/AGENTS.md +1 -1
  518. package/dist/collection/components/mds-input-range-value/documentation.json +2 -2
  519. package/dist/collection/components/mds-input-range-value/mds-input-range-value.js +1 -1
  520. package/dist/collection/components/mds-input-select/AGENTS.md +1 -1
  521. package/dist/collection/components/mds-input-select/documentation.json +2 -2
  522. package/dist/collection/components/mds-input-select/mds-input-select.css +7 -7
  523. package/dist/collection/components/mds-input-select/mds-input-select.js +2 -2
  524. package/dist/collection/components/mds-input-switch/AGENTS.md +1 -1
  525. package/dist/collection/components/mds-input-switch/documentation.json +2 -2
  526. package/dist/collection/components/mds-input-switch/mds-input-switch.css +20 -18
  527. package/dist/collection/components/mds-input-switch/mds-input-switch.js +1 -1
  528. package/dist/collection/components/mds-input-tip/AGENTS.md +1 -1
  529. package/dist/collection/components/mds-input-tip/documentation.json +2 -2
  530. package/dist/collection/components/mds-input-tip/mds-input-tip.js +1 -1
  531. package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
  532. package/dist/collection/components/mds-input-tip-item/documentation.json +2 -2
  533. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +2 -2
  534. package/dist/collection/components/mds-input-upload/AGENTS.md +1 -1
  535. package/dist/collection/components/mds-input-upload/documentation.json +2 -2
  536. package/dist/collection/components/mds-input-upload/mds-input-upload.css +1 -1
  537. package/dist/collection/components/mds-input-upload/mds-input-upload.js +5 -5
  538. package/dist/collection/components/mds-keyboard/AGENTS.md +1 -1
  539. package/dist/collection/components/mds-keyboard/documentation.json +2 -2
  540. package/dist/collection/components/mds-keyboard/mds-keyboard.js +1 -1
  541. package/dist/collection/components/mds-keyboard-key/AGENTS.md +1 -1
  542. package/dist/collection/components/mds-keyboard-key/documentation.json +2 -2
  543. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -1
  544. package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
  545. package/dist/collection/components/mds-kpi/documentation.json +2 -2
  546. package/dist/collection/components/mds-kpi/mds-kpi.js +1 -1
  547. package/dist/collection/components/mds-kpi-item/AGENTS.md +1 -1
  548. package/dist/collection/components/mds-kpi-item/documentation.json +2 -2
  549. package/dist/collection/components/mds-kpi-item/mds-kpi-item.css +4 -4
  550. package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +1 -1
  551. package/dist/collection/components/mds-label/AGENTS.md +1 -1
  552. package/dist/collection/components/mds-label/documentation.json +2 -2
  553. package/dist/collection/components/mds-label/mds-label.css +158 -158
  554. package/dist/collection/components/mds-link/AGENTS.md +3 -1
  555. package/dist/collection/components/mds-link/documentation.json +33 -4
  556. package/dist/collection/components/mds-link/examples.md +12 -1
  557. package/dist/collection/components/mds-link/mds-link.css +1 -1
  558. package/dist/collection/components/mds-link/mds-link.js +47 -7
  559. package/dist/collection/components/mds-list/AGENTS.md +1 -1
  560. package/dist/collection/components/mds-list/documentation.json +2 -2
  561. package/dist/collection/components/mds-list/mds-list.js +1 -1
  562. package/dist/collection/components/mds-list-item/AGENTS.md +1 -1
  563. package/dist/collection/components/mds-list-item/documentation.json +2 -2
  564. package/dist/collection/components/mds-list-item/mds-list-item.js +1 -1
  565. package/dist/collection/components/mds-mention/AGENTS.md +1 -1
  566. package/dist/collection/components/mds-mention/documentation.json +2 -2
  567. package/dist/collection/components/mds-mention/mds-mention.js +1 -1
  568. package/dist/collection/components/mds-modal/AGENTS.md +1 -1
  569. package/dist/collection/components/mds-modal/documentation.json +2 -2
  570. package/dist/collection/components/mds-modal/mds-modal.js +2 -2
  571. package/dist/collection/components/mds-note/AGENTS.md +1 -1
  572. package/dist/collection/components/mds-note/documentation.json +2 -2
  573. package/dist/collection/components/mds-note/mds-note.css +136 -136
  574. package/dist/collection/components/mds-note/mds-note.js +1 -1
  575. package/dist/collection/components/mds-notification/AGENTS.md +1 -1
  576. package/dist/collection/components/mds-notification/documentation.json +2 -2
  577. package/dist/collection/components/mds-notification/mds-notification.js +1 -1
  578. package/dist/collection/components/mds-paginator/AGENTS.md +1 -1
  579. package/dist/collection/components/mds-paginator/documentation.json +2 -2
  580. package/dist/collection/components/mds-paginator/mds-paginator.js +1 -1
  581. package/dist/collection/components/mds-paginator-item/AGENTS.md +1 -1
  582. package/dist/collection/components/mds-paginator-item/documentation.json +2 -2
  583. package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +1 -1
  584. package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +1 -1
  585. package/dist/collection/components/mds-policy-ai/AGENTS.md +1 -1
  586. package/dist/collection/components/mds-policy-ai/documentation.json +2 -2
  587. package/dist/collection/components/mds-policy-ai/mds-policy-ai.css +6 -6
  588. package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -1
  589. package/dist/collection/components/mds-pref/AGENTS.md +1 -1
  590. package/dist/collection/components/mds-pref/documentation.json +2 -2
  591. package/dist/collection/components/mds-pref/mds-pref.js +1 -1
  592. package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
  593. package/dist/collection/components/mds-pref-animation/documentation.json +2 -2
  594. package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +1 -1
  595. package/dist/collection/components/mds-pref-consumption/AGENTS.md +1 -1
  596. package/dist/collection/components/mds-pref-consumption/documentation.json +2 -2
  597. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +1 -1
  598. package/dist/collection/components/mds-pref-contrast/AGENTS.md +1 -1
  599. package/dist/collection/components/mds-pref-contrast/documentation.json +2 -2
  600. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +1 -1
  601. package/dist/collection/components/mds-pref-language/AGENTS.md +1 -1
  602. package/dist/collection/components/mds-pref-language/documentation.json +2 -2
  603. package/dist/collection/components/mds-pref-language/mds-pref-language.js +1 -1
  604. package/dist/collection/components/mds-pref-language-item/AGENTS.md +1 -1
  605. package/dist/collection/components/mds-pref-language-item/documentation.json +2 -2
  606. package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +1 -1
  607. package/dist/collection/components/mds-pref-mode/AGENTS.md +1 -1
  608. package/dist/collection/components/mds-pref-mode/documentation.json +2 -2
  609. package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +6 -6
  610. package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +1 -1
  611. package/dist/collection/components/mds-pref-theme/AGENTS.md +1 -1
  612. package/dist/collection/components/mds-pref-theme/documentation.json +2 -2
  613. package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +1 -1
  614. package/dist/collection/components/mds-pref-theme-item/AGENTS.md +1 -1
  615. package/dist/collection/components/mds-pref-theme-item/documentation.json +2 -2
  616. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.css +2 -2
  617. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +1 -1
  618. package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
  619. package/dist/collection/components/mds-price-table/documentation.json +2 -2
  620. package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
  621. package/dist/collection/components/mds-price-table-features/AGENTS.md +1 -1
  622. package/dist/collection/components/mds-price-table-features/documentation.json +2 -2
  623. package/dist/collection/components/mds-price-table-features/mds-price-table-features.css +1 -1
  624. package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
  625. package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +1 -1
  626. package/dist/collection/components/mds-price-table-features-cell/documentation.json +2 -2
  627. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.css +10 -10
  628. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +1 -1
  629. package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
  630. package/dist/collection/components/mds-price-table-features-row/documentation.json +2 -2
  631. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
  632. package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
  633. package/dist/collection/components/mds-price-table-header/documentation.json +2 -2
  634. package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
  635. package/dist/collection/components/mds-price-table-list/AGENTS.md +1 -1
  636. package/dist/collection/components/mds-price-table-list/documentation.json +2 -2
  637. package/dist/collection/components/mds-price-table-list/mds-price-table-list.css +3 -3
  638. package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +1 -1
  639. package/dist/collection/components/mds-price-table-list-item/AGENTS.md +1 -1
  640. package/dist/collection/components/mds-price-table-list-item/documentation.json +2 -2
  641. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
  642. package/dist/collection/components/mds-progress/AGENTS.md +1 -1
  643. package/dist/collection/components/mds-progress/documentation.json +2 -2
  644. package/dist/collection/components/mds-progress/mds-progress.css +13 -13
  645. package/dist/collection/components/mds-progress/mds-progress.js +1 -1
  646. package/dist/collection/components/mds-push-notification/AGENTS.md +1 -1
  647. package/dist/collection/components/mds-push-notification/documentation.json +2 -2
  648. package/dist/collection/components/mds-push-notification/mds-push-notification.css +2 -2
  649. package/dist/collection/components/mds-push-notification/mds-push-notification.js +1 -1
  650. package/dist/collection/components/mds-push-notification-item/AGENTS.md +1 -1
  651. package/dist/collection/components/mds-push-notification-item/documentation.json +2 -2
  652. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +38 -38
  653. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +2 -2
  654. package/dist/collection/components/mds-quote/AGENTS.md +1 -1
  655. package/dist/collection/components/mds-quote/documentation.json +2 -2
  656. package/dist/collection/components/mds-quote/mds-quote.js +1 -1
  657. package/dist/collection/components/mds-radial-menu/AGENTS.md +1 -1
  658. package/dist/collection/components/mds-radial-menu/documentation.json +2 -2
  659. package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +1 -1
  660. package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
  661. package/dist/collection/components/mds-radial-menu-item/documentation.json +2 -2
  662. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
  663. package/dist/collection/components/mds-radial-progress/AGENTS.md +1 -1
  664. package/dist/collection/components/mds-radial-progress/documentation.json +2 -2
  665. package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +5 -5
  666. package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
  667. package/dist/collection/components/mds-separator/AGENTS.md +1 -1
  668. package/dist/collection/components/mds-separator/documentation.json +2 -2
  669. package/dist/collection/components/mds-separator/mds-separator.css +2 -2
  670. package/dist/collection/components/mds-separator/mds-separator.js +1 -1
  671. package/dist/collection/components/mds-spinner/AGENTS.md +1 -1
  672. package/dist/collection/components/mds-spinner/documentation.json +2 -2
  673. package/dist/collection/components/mds-spinner/mds-spinner.css +1 -1
  674. package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
  675. package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
  676. package/dist/collection/components/mds-status-bar/documentation.json +2 -2
  677. package/dist/collection/components/mds-status-bar/mds-status-bar.js +1 -1
  678. package/dist/collection/components/mds-stepper-bar/AGENTS.md +2 -2
  679. package/dist/collection/components/mds-stepper-bar/documentation.json +3 -3
  680. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +8 -6
  681. package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +6 -4
  682. package/dist/collection/components/mds-stepper-bar-item/documentation.json +30 -4
  683. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +2 -2
  684. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +31 -2
  685. package/dist/collection/components/mds-tab/AGENTS.md +1 -1
  686. package/dist/collection/components/mds-tab/documentation.json +2 -2
  687. package/dist/collection/components/mds-tab/mds-tab.js +2 -2
  688. package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
  689. package/dist/collection/components/mds-tab-bar/documentation.json +2 -2
  690. package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +1 -1
  691. package/dist/collection/components/mds-tab-bar-item/AGENTS.md +1 -1
  692. package/dist/collection/components/mds-tab-bar-item/documentation.json +2 -2
  693. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +3 -3
  694. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +1 -1
  695. package/dist/collection/components/mds-tab-item/AGENTS.md +1 -1
  696. package/dist/collection/components/mds-tab-item/documentation.json +2 -2
  697. package/dist/collection/components/mds-tab-item/mds-tab-item.js +1 -1
  698. package/dist/collection/components/mds-table/AGENTS.md +1 -1
  699. package/dist/collection/components/mds-table/documentation.json +2 -2
  700. package/dist/collection/components/mds-table/mds-table.css +7 -7
  701. package/dist/collection/components/mds-table/mds-table.js +1 -1
  702. package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
  703. package/dist/collection/components/mds-table-body/documentation.json +2 -2
  704. package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
  705. package/dist/collection/components/mds-table-cell/AGENTS.md +1 -1
  706. package/dist/collection/components/mds-table-cell/documentation.json +2 -2
  707. package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
  708. package/dist/collection/components/mds-table-footer/AGENTS.md +1 -1
  709. package/dist/collection/components/mds-table-footer/documentation.json +2 -2
  710. package/dist/collection/components/mds-table-footer/mds-table-footer.js +1 -1
  711. package/dist/collection/components/mds-table-header/AGENTS.md +1 -1
  712. package/dist/collection/components/mds-table-header/documentation.json +2 -2
  713. package/dist/collection/components/mds-table-header/mds-table-header.js +1 -1
  714. package/dist/collection/components/mds-table-header-cell/AGENTS.md +1 -1
  715. package/dist/collection/components/mds-table-header-cell/documentation.json +2 -2
  716. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +1 -1
  717. package/dist/collection/components/mds-table-row/AGENTS.md +1 -1
  718. package/dist/collection/components/mds-table-row/documentation.json +2 -2
  719. package/dist/collection/components/mds-table-row/mds-table-row.js +2 -2
  720. package/dist/collection/components/mds-text/AGENTS.md +1 -1
  721. package/dist/collection/components/mds-text/documentation.json +2 -2
  722. package/dist/collection/components/mds-text/mds-text.css +5 -5
  723. package/dist/collection/components/mds-text/mds-text.js +1 -1
  724. package/dist/collection/components/mds-toast/AGENTS.md +1 -1
  725. package/dist/collection/components/mds-toast/documentation.json +2 -2
  726. package/dist/collection/components/mds-toast/mds-toast.js +1 -1
  727. package/dist/collection/components/mds-toast-region/AGENTS.md +1 -1
  728. package/dist/collection/components/mds-toast-region/documentation.json +2 -2
  729. package/dist/collection/components/mds-toast-region/mds-toast-region.js +1 -1
  730. package/dist/collection/components/mds-tooltip/AGENTS.md +2 -2
  731. package/dist/collection/components/mds-tooltip/documentation.json +4 -4
  732. package/dist/collection/components/mds-tooltip/examples.md +1 -1
  733. package/dist/collection/components/mds-tooltip/mds-tooltip.js +13 -6
  734. package/dist/collection/components/mds-tree/AGENTS.md +1 -1
  735. package/dist/collection/components/mds-tree/documentation.json +2 -2
  736. package/dist/collection/components/mds-tree/mds-tree.css +6 -6
  737. package/dist/collection/components/mds-tree/mds-tree.js +1 -1
  738. package/dist/collection/components/mds-tree-item/AGENTS.md +1 -1
  739. package/dist/collection/components/mds-tree-item/documentation.json +2 -2
  740. package/dist/collection/components/mds-tree-item/mds-tree-item.js +1 -1
  741. package/dist/collection/components/mds-url-view/AGENTS.md +1 -1
  742. package/dist/collection/components/mds-url-view/documentation.json +2 -2
  743. package/dist/collection/components/mds-url-view/mds-url-view.js +1 -1
  744. package/dist/collection/components/mds-usage/AGENTS.md +1 -1
  745. package/dist/collection/components/mds-usage/documentation.json +2 -2
  746. package/dist/collection/components/mds-usage/mds-usage.js +1 -1
  747. package/dist/collection/components/mds-video-wall/AGENTS.md +1 -1
  748. package/dist/collection/components/mds-video-wall/documentation.json +2 -2
  749. package/dist/collection/components/mds-video-wall/mds-video-wall.css +2 -2
  750. package/dist/collection/components/mds-video-wall/mds-video-wall.js +1 -1
  751. package/dist/collection/components/mds-zero/AGENTS.md +1 -1
  752. package/dist/collection/components/mds-zero/documentation.json +2 -2
  753. package/dist/collection/components/mds-zero/mds-zero.css +1 -1
  754. package/dist/collection/components/mds-zero/mds-zero.js +1 -1
  755. package/dist/collection/fixtures/states.js +35 -0
  756. package/dist/components/index.js +1 -1
  757. package/dist/components/mds-accordion-item.js +1 -1
  758. package/dist/components/mds-accordion-timer-item.js +1 -1
  759. package/dist/components/mds-accordion-timer.js +1 -1
  760. package/dist/components/mds-accordion.js +1 -1
  761. package/dist/components/mds-author.js +1 -1
  762. package/dist/components/mds-avatar-stack-item.js +1 -1
  763. package/dist/components/mds-avatar-stack.js +1 -1
  764. package/dist/components/mds-avatar.js +1 -1
  765. package/dist/components/mds-badge.js +1 -1
  766. package/dist/components/mds-banner.js +1 -1
  767. package/dist/components/mds-benchmark-bar.js +1 -1
  768. package/dist/components/mds-bibliography.js +1 -1
  769. package/dist/components/mds-book.js +1 -1
  770. package/dist/components/mds-breadcrumb-item.js +1 -1
  771. package/dist/components/mds-breadcrumb.js +1 -1
  772. package/dist/components/mds-button-dropdown.js +1 -1
  773. package/dist/components/mds-button-group.js +1 -1
  774. package/dist/components/mds-button.js +1 -1
  775. package/dist/components/mds-calendar-cell.js +1 -1
  776. package/dist/components/mds-calendar.js +1 -1
  777. package/dist/components/mds-card-content.js +1 -1
  778. package/dist/components/mds-card-footer.js +1 -1
  779. package/dist/components/mds-card-header.js +1 -1
  780. package/dist/components/mds-card-media.js +1 -1
  781. package/dist/components/mds-card.js +1 -1
  782. package/dist/components/mds-chip.js +1 -1
  783. package/dist/components/mds-details.js +1 -1
  784. package/dist/components/mds-dropdown.js +1 -1
  785. package/dist/components/mds-emoji.js +3 -3
  786. package/dist/components/mds-entity.js +1 -1
  787. package/dist/components/mds-file-preview.js +1 -1
  788. package/dist/components/mds-file.js +1 -1
  789. package/dist/components/mds-filter-item.js +1 -1
  790. package/dist/components/mds-filter.js +1 -1
  791. package/dist/components/mds-header-bar.js +1 -1
  792. package/dist/components/mds-header.js +1 -1
  793. package/dist/components/mds-help.js +1 -1
  794. package/dist/components/mds-horizontal-scroll.js +1 -1
  795. package/dist/components/mds-hr.js +1 -1
  796. package/dist/components/mds-icon.js +1 -1
  797. package/dist/components/mds-img.js +1 -1
  798. package/dist/components/mds-input-date-range-preselection.js +1 -1
  799. package/dist/components/mds-input-date-range.js +1 -1
  800. package/dist/components/mds-input-date.js +1 -1
  801. package/dist/components/mds-input-field.js +1 -1
  802. package/dist/components/mds-input-otp.js +1 -1
  803. package/dist/components/mds-input-range-value.js +1 -1
  804. package/dist/components/mds-input-range.js +1 -1
  805. package/dist/components/mds-input-select.js +1 -1
  806. package/dist/components/mds-input-switch.js +1 -1
  807. package/dist/components/mds-input-tip-item.js +1 -1
  808. package/dist/components/mds-input-tip.js +1 -1
  809. package/dist/components/mds-input-upload.js +1 -1
  810. package/dist/components/mds-input.js +1 -1
  811. package/dist/components/mds-keyboard-key.js +1 -1
  812. package/dist/components/mds-keyboard.js +1 -1
  813. package/dist/components/mds-kpi-item.js +1 -1
  814. package/dist/components/mds-kpi.js +1 -1
  815. package/dist/components/mds-label.js +1 -1
  816. package/dist/components/mds-link.js +1 -1
  817. package/dist/components/mds-list-item.js +1 -1
  818. package/dist/components/mds-list.js +1 -1
  819. package/dist/components/mds-mention.js +1 -1
  820. package/dist/components/mds-modal.js +1 -1
  821. package/dist/components/mds-note.js +1 -1
  822. package/dist/components/mds-notification.js +1 -1
  823. package/dist/components/mds-paginator-item.js +1 -1
  824. package/dist/components/mds-paginator.js +1 -1
  825. package/dist/components/mds-policy-ai.js +1 -1
  826. package/dist/components/mds-pref-animation.js +1 -1
  827. package/dist/components/mds-pref-consumption.js +1 -1
  828. package/dist/components/mds-pref-contrast.js +1 -1
  829. package/dist/components/mds-pref-language-item.js +1 -1
  830. package/dist/components/mds-pref-language.js +1 -1
  831. package/dist/components/mds-pref-mode.js +1 -1
  832. package/dist/components/mds-pref-theme-item.js +1 -1
  833. package/dist/components/mds-pref-theme.js +1 -1
  834. package/dist/components/mds-pref.js +1 -1
  835. package/dist/components/mds-price-table-features-cell.js +1 -1
  836. package/dist/components/mds-price-table-features-row.js +1 -1
  837. package/dist/components/mds-price-table-features.js +1 -1
  838. package/dist/components/mds-price-table-header.js +1 -1
  839. package/dist/components/mds-price-table-list-item.js +1 -1
  840. package/dist/components/mds-price-table-list.js +1 -1
  841. package/dist/components/mds-price-table.js +1 -1
  842. package/dist/components/mds-progress.js +1 -1
  843. package/dist/components/mds-push-notification-item.js +1 -1
  844. package/dist/components/mds-push-notification.js +1 -1
  845. package/dist/components/mds-quote.js +1 -1
  846. package/dist/components/mds-radial-menu-item.js +1 -1
  847. package/dist/components/mds-radial-menu.js +1 -1
  848. package/dist/components/mds-radial-progress.js +1 -1
  849. package/dist/components/mds-separator.js +1 -1
  850. package/dist/components/mds-spinner.js +1 -1
  851. package/dist/components/mds-status-bar.js +1 -1
  852. package/dist/components/mds-stepper-bar-item.js +1 -1
  853. package/dist/components/mds-stepper-bar.js +1 -1
  854. package/dist/components/mds-tab-bar-item.js +1 -1
  855. package/dist/components/mds-tab-bar.js +1 -1
  856. package/dist/components/mds-tab-item.js +1 -1
  857. package/dist/components/mds-tab.js +1 -1
  858. package/dist/components/mds-table-body.js +1 -1
  859. package/dist/components/mds-table-cell.js +1 -1
  860. package/dist/components/mds-table-footer.js +1 -1
  861. package/dist/components/mds-table-header-cell.js +1 -1
  862. package/dist/components/mds-table-header.js +1 -1
  863. package/dist/components/mds-table-row.js +1 -1
  864. package/dist/components/mds-table.js +1 -1
  865. package/dist/components/mds-text.js +1 -1
  866. package/dist/components/mds-toast-region.js +1 -1
  867. package/dist/components/mds-toast.js +1 -1
  868. package/dist/components/mds-tooltip.js +1 -1
  869. package/dist/components/mds-tree-item.js +1 -1
  870. package/dist/components/mds-tree.js +1 -1
  871. package/dist/components/mds-url-view.js +1 -1
  872. package/dist/components/mds-usage.js +1 -1
  873. package/dist/components/mds-video-wall.js +1 -1
  874. package/dist/components/mds-zero.js +1 -1
  875. package/dist/{magma-components/p-kW8cjKIa.js → components/p-2RxibNiL.js} +1 -1
  876. package/dist/components/p-8D5tJYCb.js +1 -0
  877. package/dist/components/p-B0YEia-F.js +1 -0
  878. package/dist/components/{p-BmlDGlcB.js → p-B3t-yAT6.js} +2 -2
  879. package/dist/components/p-B410qrmd.js +1 -0
  880. package/dist/components/{p-G8GFHw3L.js → p-B7AEyQbN.js} +1 -1
  881. package/dist/components/{p-CSw6DbKp.js → p-B8rSg0wS.js} +1 -1
  882. package/dist/components/{p-DxNrlomi.js → p-BNDlJl3j.js} +1 -1
  883. package/dist/components/p-BPnc1LgR.js +1 -0
  884. package/dist/components/{p-AWCYh8Xe.js → p-BQJgPeCf.js} +1 -1
  885. package/dist/components/p-BWCuKjFs.js +1 -0
  886. package/dist/components/{p-BFZN4zJ9.js → p-BZ0wEKOS.js} +1 -1
  887. package/dist/components/p-BgdT5eTT.js +1 -0
  888. package/dist/components/p-Bi6fFi_w.js +1 -0
  889. package/dist/components/{p-CUT9aFzz.js → p-BiOKp8qm.js} +1 -1
  890. package/dist/components/p-BpgvTr8e.js +8 -0
  891. package/dist/components/{p-BG1fjwnd.js → p-BvJpPiuN.js} +1 -1
  892. package/dist/components/{p-D7C-gjL6.js → p-BwGJqBgv.js} +1 -1
  893. package/dist/components/p-C2bmqdQ1.js +1 -0
  894. package/dist/components/p-CSEkugVv.js +1 -0
  895. package/dist/components/{p-BNl6YWNN.js → p-CbHtKU6H.js} +1 -1
  896. package/dist/components/{p-oHBGZ2Av.js → p-CbyfhFKK.js} +1 -1
  897. package/dist/components/p-ChCkQpXr.js +3 -0
  898. package/dist/components/{p-BiJ4xa4V.js → p-CkFk04x6.js} +1 -1
  899. package/dist/components/{p-WFNxKo1V.js → p-Cu7JR-NZ.js} +1 -1
  900. package/dist/components/{p-Cjy1i94z.js → p-DP8t5EZu.js} +1 -1
  901. package/dist/components/{p-B-GgEAg7.js → p-DWvmuGIQ.js} +1 -1
  902. package/dist/components/p-DXksxnFe.js +1 -0
  903. package/dist/components/{p-C0m6B_kt.js → p-DnyQyLeI.js} +1 -1
  904. package/dist/components/{p-DvccsLwr.js → p-DumA_mZd.js} +1 -1
  905. package/dist/components/p-Pwyk_BKp.js +1 -0
  906. package/dist/components/{p-Cs8RIbsQ.js → p-Y1ObmZyL.js} +1 -1
  907. package/dist/components/{p-CDcB9Zdz.js → p-cIfE1RIC.js} +1 -1
  908. package/dist/components/p-hOV1Raf4.js +1 -0
  909. package/dist/components/{p-kS9VRIWa.js → p-r1P_e7WG.js} +1 -1
  910. package/dist/components/{p-aZlZ1XB9.js → p-tI3q9MMi.js} +1 -1
  911. package/dist/documentation.json +212 -23
  912. package/dist/esm/{floating-controller-DlFrvBTG.js → floating-controller-ECQfm808.js} +1 -1
  913. package/dist/esm/{index-CPibDZjX.js → index-BQhu9Pch.js} +16 -6
  914. package/dist/esm/{index-DWniH_Ge.js → index-CiyNF8so.js} +1 -1
  915. package/dist/esm/index.js +2 -2
  916. package/dist/esm/loader.js +3 -3
  917. package/dist/esm/{locale-B7Hw4niB.js → locale-Cm8DHVsu.js} +10 -2
  918. package/dist/esm/magma-components.js +4 -4
  919. package/dist/esm/mds-accordion-item.entry.js +3 -3
  920. package/dist/esm/mds-accordion-timer-item.entry.js +2 -2
  921. package/dist/esm/mds-accordion-timer.entry.js +1 -1
  922. package/dist/esm/mds-accordion.entry.js +3 -3
  923. package/dist/esm/mds-author.entry.js +1 -1
  924. package/dist/esm/mds-avatar-stack-item.entry.js +1 -1
  925. package/dist/esm/mds-avatar-stack.entry.js +1 -1
  926. package/dist/esm/mds-avatar.entry.js +3 -3
  927. package/dist/esm/mds-badge.entry.js +3 -3
  928. package/dist/esm/mds-banner_3.entry.js +5 -5
  929. package/dist/esm/mds-benchmark-bar.entry.js +1 -1
  930. package/dist/esm/mds-bibliography.entry.js +1 -1
  931. package/dist/esm/mds-book.entry.js +8 -8
  932. package/dist/esm/mds-breadcrumb-item.entry.js +1 -1
  933. package/dist/esm/mds-breadcrumb.entry.js +3 -3
  934. package/dist/esm/mds-button-dropdown.entry.js +27 -9
  935. package/dist/esm/mds-button-group.entry.js +1 -1
  936. package/dist/esm/mds-button_3.entry.js +34 -13
  937. package/dist/esm/mds-calendar_2.entry.js +4 -4
  938. package/dist/esm/mds-card-content.entry.js +1 -1
  939. package/dist/esm/mds-card-footer.entry.js +1 -1
  940. package/dist/esm/mds-card-header.entry.js +1 -1
  941. package/dist/esm/mds-card-media.entry.js +1 -1
  942. package/dist/esm/mds-card.entry.js +2 -2
  943. package/dist/esm/mds-details.entry.js +3 -3
  944. package/dist/esm/mds-dropdown.entry.js +3 -3
  945. package/dist/esm/mds-emoji.entry.js +3 -3
  946. package/dist/esm/mds-entity.entry.js +3 -3
  947. package/dist/esm/mds-file-preview.entry.js +4 -4
  948. package/dist/esm/mds-file.entry.js +4 -4
  949. package/dist/esm/mds-filter-item.entry.js +3 -3
  950. package/dist/esm/mds-filter.entry.js +4 -4
  951. package/dist/esm/mds-header-bar.entry.js +3 -3
  952. package/dist/esm/mds-header.entry.js +2 -2
  953. package/dist/esm/mds-horizontal-scroll.entry.js +3 -3
  954. package/dist/esm/mds-hr.entry.js +2 -2
  955. package/dist/esm/mds-img.entry.js +13 -8
  956. package/dist/esm/mds-input-date-range-preselection.entry.js +2 -2
  957. package/dist/esm/mds-input-date-range.entry.js +8 -8
  958. package/dist/esm/mds-input-date.entry.js +5 -5
  959. package/dist/esm/mds-input-field.entry.js +4 -3
  960. package/dist/esm/mds-input-otp.entry.js +4 -4
  961. package/dist/esm/mds-input-range-value.entry.js +2 -2
  962. package/dist/esm/mds-input-range.entry.js +30 -9
  963. package/dist/esm/mds-input-select.entry.js +7 -7
  964. package/dist/esm/mds-input-switch_2.entry.js +6 -6
  965. package/dist/esm/mds-input-tip_2.entry.js +6 -6
  966. package/dist/esm/mds-input-upload.entry.js +9 -9
  967. package/dist/esm/mds-input.entry.js +9 -9
  968. package/dist/esm/mds-keyboard-key.entry.js +4 -4
  969. package/dist/esm/mds-keyboard.entry.js +4 -4
  970. package/dist/esm/mds-kpi-item.entry.js +4 -4
  971. package/dist/esm/mds-kpi.entry.js +2 -2
  972. package/dist/esm/mds-label.entry.js +4 -4
  973. package/dist/esm/mds-link.entry.js +32 -11
  974. package/dist/esm/mds-list-item.entry.js +2 -2
  975. package/dist/esm/mds-list.entry.js +2 -2
  976. package/dist/esm/mds-mention.entry.js +4 -4
  977. package/dist/esm/mds-modal.entry.js +5 -5
  978. package/dist/esm/mds-note.entry.js +5 -5
  979. package/dist/esm/mds-notification.entry.js +3 -3
  980. package/dist/esm/mds-paginator-item.entry.js +4 -4
  981. package/dist/esm/mds-paginator.entry.js +4 -4
  982. package/dist/esm/mds-policy-ai.entry.js +5 -5
  983. package/dist/esm/mds-pref-animation.entry.js +4 -4
  984. package/dist/esm/mds-pref-consumption.entry.js +4 -4
  985. package/dist/esm/mds-pref-contrast.entry.js +4 -4
  986. package/dist/esm/mds-pref-language-item.entry.js +4 -4
  987. package/dist/esm/mds-pref-language.entry.js +4 -4
  988. package/dist/esm/mds-pref-mode.entry.js +5 -5
  989. package/dist/esm/mds-pref-theme-item.entry.js +3 -3
  990. package/dist/esm/mds-pref-theme.entry.js +4 -4
  991. package/dist/esm/mds-pref.entry.js +4 -4
  992. package/dist/esm/mds-price-table-features-cell.entry.js +4 -4
  993. package/dist/esm/mds-price-table-features-row.entry.js +3 -3
  994. package/dist/esm/mds-price-table-features.entry.js +4 -4
  995. package/dist/esm/mds-price-table-header.entry.js +2 -2
  996. package/dist/esm/mds-price-table-list-item.entry.js +2 -2
  997. package/dist/esm/mds-price-table-list.entry.js +4 -4
  998. package/dist/esm/mds-price-table.entry.js +2 -2
  999. package/dist/esm/mds-progress_2.entry.js +6 -6
  1000. package/dist/esm/mds-push-notification-item.entry.js +6 -6
  1001. package/dist/esm/mds-push-notification.entry.js +5 -5
  1002. package/dist/esm/mds-quote.entry.js +3 -3
  1003. package/dist/esm/mds-radial-menu-item.entry.js +2 -2
  1004. package/dist/esm/mds-radial-menu.entry.js +5 -5
  1005. package/dist/esm/mds-separator.entry.js +4 -4
  1006. package/dist/esm/mds-status-bar.entry.js +3 -3
  1007. package/dist/esm/mds-stepper-bar-item.entry.js +17 -7
  1008. package/dist/esm/mds-stepper-bar.entry.js +9 -7
  1009. package/dist/esm/mds-tab-bar-item.entry.js +4 -4
  1010. package/dist/esm/mds-tab-bar.entry.js +3 -3
  1011. package/dist/esm/mds-tab_2.entry.js +5 -5
  1012. package/dist/esm/mds-table-body.entry.js +3 -3
  1013. package/dist/esm/mds-table-footer.entry.js +3 -3
  1014. package/dist/esm/mds-table-header-cell.entry.js +3 -3
  1015. package/dist/esm/mds-table-header.entry.js +4 -4
  1016. package/dist/esm/mds-table-row.entry.js +5 -5
  1017. package/dist/esm/mds-table.entry.js +5 -5
  1018. package/dist/esm/mds-text.entry.js +4 -4
  1019. package/dist/esm/mds-toast-region.entry.js +2 -2
  1020. package/dist/esm/mds-toast.entry.js +4 -4
  1021. package/dist/esm/mds-tooltip.entry.js +16 -9
  1022. package/dist/esm/mds-tree-item.entry.js +4 -4
  1023. package/dist/esm/mds-tree.entry.js +3 -3
  1024. package/dist/esm/mds-url-view.entry.js +4 -4
  1025. package/dist/esm/mds-usage.entry.js +4 -4
  1026. package/dist/esm/mds-video-wall.entry.js +4 -4
  1027. package/dist/esm/mds-zero.entry.js +4 -4
  1028. package/dist/esm/{navigation-To9IeLHs.js → navigation-Pwyk_BKp.js} +14 -1
  1029. package/dist/esm/{preference-CBMLGSf7.js → preference-B_NbXZNw.js} +1 -1
  1030. package/dist/esm-es5/{floating-controller-DlFrvBTG.js → floating-controller-ECQfm808.js} +1 -1
  1031. package/dist/esm-es5/{index-CPibDZjX.js → index-BQhu9Pch.js} +3 -3
  1032. package/dist/esm-es5/{index-DWniH_Ge.js → index-CiyNF8so.js} +1 -1
  1033. package/dist/esm-es5/index.js +1 -1
  1034. package/dist/esm-es5/loader.js +1 -1
  1035. package/dist/esm-es5/{locale-B7Hw4niB.js → locale-Cm8DHVsu.js} +28 -21
  1036. package/dist/esm-es5/magma-components.js +3 -3
  1037. package/dist/esm-es5/mds-accordion-item.entry.js +1 -1
  1038. package/dist/esm-es5/mds-accordion-timer-item.entry.js +1 -1
  1039. package/dist/esm-es5/mds-accordion-timer.entry.js +1 -1
  1040. package/dist/esm-es5/mds-accordion.entry.js +1 -1
  1041. package/dist/esm-es5/mds-author.entry.js +1 -1
  1042. package/dist/esm-es5/mds-avatar-stack-item.entry.js +1 -1
  1043. package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
  1044. package/dist/esm-es5/mds-avatar.entry.js +2 -2
  1045. package/dist/esm-es5/mds-badge.entry.js +1 -1
  1046. package/dist/esm-es5/mds-banner_3.entry.js +3 -3
  1047. package/dist/esm-es5/mds-benchmark-bar.entry.js +1 -1
  1048. package/dist/esm-es5/mds-bibliography.entry.js +1 -1
  1049. package/dist/esm-es5/mds-book.entry.js +2 -2
  1050. package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
  1051. package/dist/esm-es5/mds-breadcrumb.entry.js +1 -1
  1052. package/dist/esm-es5/mds-button-dropdown.entry.js +8 -5
  1053. package/dist/esm-es5/mds-button-group.entry.js +1 -1
  1054. package/dist/esm-es5/mds-button_3.entry.js +19 -9
  1055. package/dist/esm-es5/mds-calendar_2.entry.js +2 -2
  1056. package/dist/esm-es5/mds-card-content.entry.js +1 -1
  1057. package/dist/esm-es5/mds-card-footer.entry.js +1 -1
  1058. package/dist/esm-es5/mds-card-header.entry.js +1 -1
  1059. package/dist/esm-es5/mds-card-media.entry.js +1 -1
  1060. package/dist/esm-es5/mds-card.entry.js +1 -1
  1061. package/dist/esm-es5/mds-details.entry.js +1 -1
  1062. package/dist/esm-es5/mds-dropdown.entry.js +1 -1
  1063. package/dist/esm-es5/mds-emoji.entry.js +2 -2
  1064. package/dist/esm-es5/mds-entity.entry.js +1 -1
  1065. package/dist/esm-es5/mds-file-preview.entry.js +11 -11
  1066. package/dist/esm-es5/mds-file.entry.js +2 -2
  1067. package/dist/esm-es5/mds-filter-item.entry.js +2 -2
  1068. package/dist/esm-es5/mds-filter.entry.js +1 -1
  1069. package/dist/esm-es5/mds-header-bar.entry.js +1 -1
  1070. package/dist/esm-es5/mds-header.entry.js +1 -1
  1071. package/dist/esm-es5/mds-horizontal-scroll.entry.js +1 -1
  1072. package/dist/esm-es5/mds-hr.entry.js +1 -1
  1073. package/dist/esm-es5/mds-img.entry.js +9 -7
  1074. package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
  1075. package/dist/esm-es5/mds-input-date-range.entry.js +1 -1
  1076. package/dist/esm-es5/mds-input-date.entry.js +1 -1
  1077. package/dist/esm-es5/mds-input-field.entry.js +7 -7
  1078. package/dist/esm-es5/mds-input-otp.entry.js +2 -2
  1079. package/dist/esm-es5/mds-input-range-value.entry.js +1 -1
  1080. package/dist/esm-es5/mds-input-range.entry.js +31 -24
  1081. package/dist/esm-es5/mds-input-select.entry.js +2 -2
  1082. package/dist/esm-es5/mds-input-switch_2.entry.js +2 -2
  1083. package/dist/esm-es5/mds-input-tip_2.entry.js +3 -3
  1084. package/dist/esm-es5/mds-input-upload.entry.js +2 -2
  1085. package/dist/esm-es5/mds-input.entry.js +2 -2
  1086. package/dist/esm-es5/mds-keyboard-key.entry.js +2 -2
  1087. package/dist/esm-es5/mds-keyboard.entry.js +2 -2
  1088. package/dist/esm-es5/mds-kpi-item.entry.js +2 -2
  1089. package/dist/esm-es5/mds-kpi.entry.js +1 -1
  1090. package/dist/esm-es5/mds-label.entry.js +1 -1
  1091. package/dist/esm-es5/mds-link.entry.js +16 -7
  1092. package/dist/esm-es5/mds-list-item.entry.js +2 -2
  1093. package/dist/esm-es5/mds-list.entry.js +1 -1
  1094. package/dist/esm-es5/mds-mention.entry.js +2 -2
  1095. package/dist/esm-es5/mds-modal.entry.js +5 -5
  1096. package/dist/esm-es5/mds-note.entry.js +2 -2
  1097. package/dist/esm-es5/mds-notification.entry.js +2 -2
  1098. package/dist/esm-es5/mds-paginator-item.entry.js +2 -2
  1099. package/dist/esm-es5/mds-paginator.entry.js +3 -3
  1100. package/dist/esm-es5/mds-policy-ai.entry.js +2 -2
  1101. package/dist/esm-es5/mds-pref-animation.entry.js +2 -2
  1102. package/dist/esm-es5/mds-pref-consumption.entry.js +2 -2
  1103. package/dist/esm-es5/mds-pref-contrast.entry.js +4 -4
  1104. package/dist/esm-es5/mds-pref-language-item.entry.js +2 -2
  1105. package/dist/esm-es5/mds-pref-language.entry.js +2 -2
  1106. package/dist/esm-es5/mds-pref-mode.entry.js +2 -2
  1107. package/dist/esm-es5/mds-pref-theme-item.entry.js +2 -2
  1108. package/dist/esm-es5/mds-pref-theme.entry.js +2 -2
  1109. package/dist/esm-es5/mds-pref.entry.js +2 -2
  1110. package/dist/esm-es5/mds-price-table-features-cell.entry.js +2 -2
  1111. package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
  1112. package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
  1113. package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
  1114. package/dist/esm-es5/mds-price-table-list-item.entry.js +2 -2
  1115. package/dist/esm-es5/mds-price-table-list.entry.js +2 -2
  1116. package/dist/esm-es5/mds-price-table.entry.js +1 -1
  1117. package/dist/esm-es5/mds-progress_2.entry.js +3 -3
  1118. package/dist/esm-es5/mds-push-notification-item.entry.js +2 -2
  1119. package/dist/esm-es5/mds-push-notification.entry.js +6 -6
  1120. package/dist/esm-es5/mds-quote.entry.js +2 -2
  1121. package/dist/esm-es5/mds-radial-menu-item.entry.js +2 -2
  1122. package/dist/esm-es5/mds-radial-menu.entry.js +2 -2
  1123. package/dist/esm-es5/mds-separator.entry.js +1 -1
  1124. package/dist/esm-es5/mds-status-bar.entry.js +2 -2
  1125. package/dist/esm-es5/mds-stepper-bar-item.entry.js +6 -2
  1126. package/dist/esm-es5/mds-stepper-bar.entry.js +11 -8
  1127. package/dist/esm-es5/mds-tab-bar-item.entry.js +2 -2
  1128. package/dist/esm-es5/mds-tab-bar.entry.js +2 -2
  1129. package/dist/esm-es5/mds-tab_2.entry.js +3 -3
  1130. package/dist/esm-es5/mds-table-body.entry.js +1 -1
  1131. package/dist/esm-es5/mds-table-footer.entry.js +2 -2
  1132. package/dist/esm-es5/mds-table-header-cell.entry.js +2 -2
  1133. package/dist/esm-es5/mds-table-header.entry.js +3 -3
  1134. package/dist/esm-es5/mds-table-row.entry.js +2 -2
  1135. package/dist/esm-es5/mds-table.entry.js +2 -2
  1136. package/dist/esm-es5/mds-text.entry.js +3 -3
  1137. package/dist/esm-es5/mds-toast-region.entry.js +2 -2
  1138. package/dist/esm-es5/mds-toast.entry.js +2 -2
  1139. package/dist/esm-es5/mds-tooltip.entry.js +13 -7
  1140. package/dist/esm-es5/mds-tree-item.entry.js +2 -2
  1141. package/dist/esm-es5/mds-tree.entry.js +2 -2
  1142. package/dist/esm-es5/mds-url-view.entry.js +2 -2
  1143. package/dist/esm-es5/mds-usage.entry.js +2 -2
  1144. package/dist/esm-es5/mds-video-wall.entry.js +2 -2
  1145. package/dist/esm-es5/mds-zero.entry.js +1 -1
  1146. package/dist/esm-es5/{navigation-To9IeLHs.js → navigation-Pwyk_BKp.js} +10 -1
  1147. package/dist/esm-es5/{preference-CBMLGSf7.js → preference-B_NbXZNw.js} +1 -1
  1148. package/dist/hydrate/index.js +341 -189
  1149. package/dist/hydrate/index.mjs +341 -189
  1150. package/dist/lint/core/data.d.ts +9 -1
  1151. package/dist/lint/core/data.js +6 -2
  1152. package/dist/lint/core/patterns.d.ts +123 -2
  1153. package/dist/lint/core/patterns.js +423 -19
  1154. package/dist/lint/mcp/tools.json +21 -3
  1155. package/dist/magma-components/index.esm.js +1 -1
  1156. package/dist/magma-components/magma-components.esm.js +1 -1
  1157. package/dist/magma-components/magma-components.js +1 -1
  1158. package/dist/magma-components/{p-e63c1ba4.entry.js → p-04092a3b.entry.js} +1 -1
  1159. package/dist/magma-components/{p-b1fe6261.entry.js → p-0415056d.entry.js} +1 -1
  1160. package/dist/magma-components/{p-37470fef.system.entry.js → p-0464a230.system.entry.js} +3 -3
  1161. package/dist/magma-components/p-05098fa3.entry.js +1 -0
  1162. package/dist/magma-components/{p-825713bc.system.entry.js → p-07141f37.system.entry.js} +2 -2
  1163. package/dist/magma-components/{p-82041de2.entry.js → p-07e0564b.entry.js} +1 -1
  1164. package/dist/magma-components/{p-df70af5f.system.entry.js → p-07e3a6ae.system.entry.js} +34 -34
  1165. package/dist/magma-components/{p-8193fd71.entry.js → p-096464f6.entry.js} +1 -1
  1166. package/dist/magma-components/p-0b9dc520.system.entry.js +9 -0
  1167. package/dist/magma-components/{p-f6f6d914.system.entry.js → p-0ba59e33.system.entry.js} +3 -3
  1168. package/dist/magma-components/{p-d4452e41.entry.js → p-0d7848dc.entry.js} +1 -1
  1169. package/dist/magma-components/{p-b8e5411d.system.entry.js → p-0e67ab54.system.entry.js} +1 -1
  1170. package/dist/magma-components/{p-f01e7a7e.system.entry.js → p-0ec9ef12.system.entry.js} +1 -1
  1171. package/dist/magma-components/p-0ef36f08.entry.js +1 -0
  1172. package/dist/magma-components/{p-0d7370d8.system.entry.js → p-12785058.system.entry.js} +1 -1
  1173. package/dist/magma-components/{p-58bbada6.system.entry.js → p-13498dce.system.entry.js} +1 -1
  1174. package/dist/magma-components/{p-a0389821.entry.js → p-13a777ff.entry.js} +1 -1
  1175. package/dist/magma-components/{p-2a5223df.system.entry.js → p-165b9ee9.system.entry.js} +3 -3
  1176. package/dist/magma-components/p-16c3109f.entry.js +8 -0
  1177. package/dist/magma-components/{p-038fc1db.entry.js → p-1a0773d4.entry.js} +1 -1
  1178. package/dist/magma-components/{p-483480f9.system.entry.js → p-1ab76b57.system.entry.js} +3 -3
  1179. package/dist/magma-components/{p-e4db9ad2.entry.js → p-1e686eb7.entry.js} +1 -1
  1180. package/dist/magma-components/{p-97e55f7e.system.entry.js → p-1e938a6f.system.entry.js} +2 -2
  1181. package/dist/magma-components/{p-ae258eca.system.entry.js → p-1ee28c75.system.entry.js} +2 -2
  1182. package/dist/magma-components/{p-5c0f0517.entry.js → p-1eedb159.entry.js} +1 -1
  1183. package/dist/magma-components/{p-11312b0c.entry.js → p-1efd5b03.entry.js} +1 -1
  1184. package/dist/magma-components/{p-13e94501.entry.js → p-20e9860a.entry.js} +1 -1
  1185. package/dist/magma-components/{p-2dd32b3f.system.entry.js → p-2102e6ed.system.entry.js} +3 -3
  1186. package/dist/magma-components/p-2155889e.entry.js +1 -0
  1187. package/dist/magma-components/{p-f4e8f507.system.entry.js → p-22de70f3.system.entry.js} +2 -2
  1188. package/dist/magma-components/p-257ae152.entry.js +1 -0
  1189. package/dist/magma-components/{p-5d8cb375.system.entry.js → p-26695384.system.entry.js} +1 -1
  1190. package/dist/magma-components/{p-c902d468.entry.js → p-26e737f5.entry.js} +1 -1
  1191. package/dist/magma-components/{p-d0b45a54.entry.js → p-271fa94b.entry.js} +1 -1
  1192. package/dist/magma-components/{p-1934151b.entry.js → p-27c42c5b.entry.js} +1 -1
  1193. package/dist/magma-components/{p-a171c096.system.entry.js → p-29eab5de.system.entry.js} +1 -1
  1194. package/dist/magma-components/{p-082b787b.entry.js → p-2a367163.entry.js} +1 -1
  1195. package/dist/magma-components/{p-b95f648f.system.entry.js → p-2adc8da6.system.entry.js} +2 -2
  1196. package/dist/magma-components/p-2b0bb30a.entry.js +1 -0
  1197. package/dist/magma-components/{p-3341ac50.entry.js → p-2cb3092c.entry.js} +1 -1
  1198. package/dist/magma-components/{p-ca5867f5.system.entry.js → p-2cd10aef.system.entry.js} +9 -9
  1199. package/dist/magma-components/{p-91406af1.system.entry.js → p-2e1620ba.system.entry.js} +5 -5
  1200. package/dist/magma-components/p-2eab8fb0.entry.js +1 -0
  1201. package/dist/magma-components/{p-e009c632.entry.js → p-31503852.entry.js} +1 -1
  1202. package/dist/magma-components/{p-efcd8a1d.entry.js → p-3401be31.entry.js} +1 -1
  1203. package/dist/magma-components/{p-ccb23b6a.entry.js → p-35261a76.entry.js} +1 -1
  1204. package/dist/magma-components/p-3578ec8d.entry.js +1 -0
  1205. package/dist/magma-components/{p-a4aaf1c6.system.entry.js → p-381b00f2.system.entry.js} +3 -3
  1206. package/dist/magma-components/p-38b33f35.entry.js +1 -0
  1207. package/dist/magma-components/{p-47712df6.entry.js → p-3936265d.entry.js} +1 -1
  1208. package/dist/magma-components/{p-2dc9499c.system.entry.js → p-394560df.system.entry.js} +2 -2
  1209. package/dist/magma-components/{p-d0dfa8b5.system.entry.js → p-39866e42.system.entry.js} +2 -2
  1210. package/dist/magma-components/{p-6c6ec154.system.entry.js → p-3b1cb8ea.system.entry.js} +2 -2
  1211. package/dist/magma-components/{p-dd4b04ed.system.entry.js → p-3d1f9f06.system.entry.js} +2 -2
  1212. package/dist/magma-components/p-3f9b9e40.entry.js +1 -0
  1213. package/dist/magma-components/{p-56715bbc.system.entry.js → p-401c7cff.system.entry.js} +2 -2
  1214. package/dist/magma-components/{p-ad12fa89.system.entry.js → p-40dc42b3.system.entry.js} +2 -2
  1215. package/dist/magma-components/{p-bd539dbc.entry.js → p-41740349.entry.js} +1 -1
  1216. package/dist/magma-components/p-479731de.entry.js +1 -0
  1217. package/dist/magma-components/{p-9c0d1025.system.entry.js → p-4822b172.system.entry.js} +1 -1
  1218. package/dist/magma-components/{p-03896fbd.entry.js → p-48db6553.entry.js} +1 -1
  1219. package/dist/magma-components/{p-ada93f68.entry.js → p-49918013.entry.js} +1 -1
  1220. package/dist/magma-components/p-4b5444f1.entry.js +1 -0
  1221. package/dist/magma-components/{p-420c5af4.entry.js → p-4b7249eb.entry.js} +1 -1
  1222. package/dist/magma-components/{p-f0d93b22.system.entry.js → p-4cc6c06d.system.entry.js} +3 -3
  1223. package/dist/magma-components/{p-7e87807d.entry.js → p-4e68ec48.entry.js} +1 -1
  1224. package/dist/magma-components/p-4f0c913b.system.entry.js +23 -0
  1225. package/dist/magma-components/{p-95a29fd2.entry.js → p-4f80b9be.entry.js} +1 -1
  1226. package/dist/magma-components/{p-6471c0a4.system.entry.js → p-54dfb648.system.entry.js} +2 -2
  1227. package/dist/magma-components/p-5519483d.entry.js +1 -0
  1228. package/dist/magma-components/p-56565acb.system.entry.js +10 -0
  1229. package/dist/magma-components/{p-3d60f528.system.entry.js → p-5845ebd7.system.entry.js} +2 -2
  1230. package/dist/magma-components/{p-333c0ae5.entry.js → p-58a75841.entry.js} +1 -1
  1231. package/dist/magma-components/{p-ecf29ffa.entry.js → p-59cf0c3d.entry.js} +1 -1
  1232. package/dist/magma-components/{p-c8430552.system.entry.js → p-5c3a54bf.system.entry.js} +2 -2
  1233. package/dist/magma-components/p-5c82a88a.entry.js +1 -0
  1234. package/dist/magma-components/{p-a9c7fb3f.entry.js → p-5cf09df3.entry.js} +3 -3
  1235. package/dist/magma-components/{p-756cd3dc.entry.js → p-5ec955a7.entry.js} +1 -1
  1236. package/dist/magma-components/{p-16651356.entry.js → p-5f17dc76.entry.js} +1 -1
  1237. package/dist/magma-components/p-5fd09fb5.system.entry.js +29 -0
  1238. package/dist/magma-components/{p-b4856322.entry.js → p-5fe812ee.entry.js} +1 -1
  1239. package/dist/magma-components/{p-03441f69.entry.js → p-618f8dc9.entry.js} +1 -1
  1240. package/dist/magma-components/{p-34183ce3.entry.js → p-61fb9286.entry.js} +1 -1
  1241. package/dist/magma-components/{p-6443e40f.entry.js → p-63a53b4d.entry.js} +1 -1
  1242. package/dist/magma-components/{p-52b73a95.system.entry.js → p-6436bfa8.system.entry.js} +2 -2
  1243. package/dist/magma-components/{p-73f22a7d.entry.js → p-648d77bc.entry.js} +1 -1
  1244. package/dist/magma-components/p-65acd2e8.entry.js +1 -0
  1245. package/dist/magma-components/{p-5b5d57b0.system.entry.js → p-65ed7a0f.system.entry.js} +7 -5
  1246. package/dist/magma-components/p-67e30158.entry.js +1 -0
  1247. package/dist/magma-components/{p-68d83e18.system.entry.js → p-6864cc54.system.entry.js} +1 -1
  1248. package/dist/magma-components/{p-aa601247.system.entry.js → p-69afe21e.system.entry.js} +2 -2
  1249. package/dist/magma-components/{p-1686b36a.entry.js → p-6ac46e2f.entry.js} +1 -1
  1250. package/dist/magma-components/{p-09675899.entry.js → p-6b84c7a7.entry.js} +1 -1
  1251. package/dist/magma-components/p-6ba8b2d6.entry.js +1 -0
  1252. package/dist/magma-components/{p-8928d9b5.system.entry.js → p-6c68fbe9.system.entry.js} +2 -2
  1253. package/dist/magma-components/{p-c67655fa.entry.js → p-6cca1d61.entry.js} +1 -1
  1254. package/dist/magma-components/{p-ea93721d.entry.js → p-6e5b15c5.entry.js} +1 -1
  1255. package/dist/magma-components/{p-303173d5.system.entry.js → p-6e8b3c36.system.entry.js} +3 -3
  1256. package/dist/magma-components/{p-bd4ad8c7.entry.js → p-6f7d6a3e.entry.js} +1 -1
  1257. package/dist/magma-components/{p-06ba1f71.system.entry.js → p-70a065dc.system.entry.js} +2 -2
  1258. package/dist/magma-components/{p-4564e7ad.entry.js → p-70a83504.entry.js} +1 -1
  1259. package/dist/magma-components/p-71d171a8.entry.js +1 -0
  1260. package/dist/magma-components/{p-5c4aed7e.entry.js → p-71f650fe.entry.js} +1 -1
  1261. package/dist/magma-components/{p-7cfa2415.system.entry.js → p-73ddade8.system.entry.js} +1 -1
  1262. package/dist/magma-components/p-73efbc7a.entry.js +1 -0
  1263. package/dist/magma-components/p-76fb49a1.system.entry.js +11 -0
  1264. package/dist/magma-components/{p-6d7e8240.system.entry.js → p-795215a4.system.entry.js} +1 -1
  1265. package/dist/magma-components/{p-1db5ab39.entry.js → p-79f36661.entry.js} +1 -1
  1266. package/dist/magma-components/{p-3ccc1c10.entry.js → p-79f6c73e.entry.js} +1 -1
  1267. package/dist/magma-components/{p-2e5684a0.system.entry.js → p-7cb4260c.system.entry.js} +2 -2
  1268. package/dist/magma-components/{p-a33a235e.entry.js → p-7cec80c9.entry.js} +1 -1
  1269. package/dist/magma-components/{p-d1751ff6.entry.js → p-7e717a2b.entry.js} +1 -1
  1270. package/dist/magma-components/{p-c2a883b0.system.entry.js → p-8329caf9.system.entry.js} +1 -1
  1271. package/dist/magma-components/p-85389823.system.entry.js +82 -0
  1272. package/dist/magma-components/{p-16a7e26a.system.entry.js → p-86050b72.system.entry.js} +1 -1
  1273. package/dist/magma-components/{p-4bb45501.entry.js → p-88a7d026.entry.js} +1 -1
  1274. package/dist/magma-components/p-89d47be8.system.entry.js +7 -0
  1275. package/dist/magma-components/p-89eb7b19.entry.js +1 -0
  1276. package/dist/magma-components/{p-03a2f4e7.system.entry.js → p-8a3626c7.system.entry.js} +1 -1
  1277. package/dist/magma-components/{p-9e3c1c28.system.entry.js → p-8e195423.system.entry.js} +5 -5
  1278. package/dist/magma-components/{p-522968d1.system.entry.js → p-907d8111.system.entry.js} +1 -1
  1279. package/dist/magma-components/{p-e66db408.entry.js → p-907dd338.entry.js} +1 -1
  1280. package/dist/magma-components/p-9282b1eb.system.entry.js +60 -0
  1281. package/dist/magma-components/p-92a8391c.entry.js +1 -0
  1282. package/dist/magma-components/{p-01d6d5a5.system.entry.js → p-94b46388.system.entry.js} +2 -2
  1283. package/dist/magma-components/{p-b7d90310.entry.js → p-95f07748.entry.js} +1 -1
  1284. package/dist/magma-components/p-97d431f3.system.entry.js +1 -0
  1285. package/dist/magma-components/{p-ca0f3549.entry.js → p-98048238.entry.js} +1 -1
  1286. package/dist/magma-components/{p-b47c444e.system.entry.js → p-9905ebcf.system.entry.js} +2 -2
  1287. package/dist/magma-components/{p-aa86018e.system.entry.js → p-990b3146.system.entry.js} +2 -2
  1288. package/dist/magma-components/p-9b10fdcb.system.entry.js +27 -0
  1289. package/dist/magma-components/{p-8e471af5.entry.js → p-9b4daea1.entry.js} +1 -1
  1290. package/dist/magma-components/{p-11543f44.system.entry.js → p-9c617430.system.entry.js} +4 -4
  1291. package/dist/magma-components/p-9f58805c.system.entry.js +13 -0
  1292. package/dist/magma-components/{p-c3cfbc71.system.entry.js → p-9f653320.system.entry.js} +2 -2
  1293. package/dist/magma-components/{p-1d101083.system.entry.js → p-9fa41a55.system.entry.js} +1 -1
  1294. package/dist/magma-components/{p-a9d100e5.system.entry.js → p-9fac94ff.system.entry.js} +3 -3
  1295. package/dist/{components/p-CtEHhdv4.js → magma-components/p-B0SxTwF4.js} +1 -1
  1296. package/dist/magma-components/p-B6OZspN1.system.js +5 -0
  1297. package/dist/magma-components/p-BQhu9Pch.js +3 -0
  1298. package/dist/magma-components/{p-EhfbAdzV.system.js → p-BfmjlcJL.system.js} +3 -3
  1299. package/dist/magma-components/{p-B6f9M1Bj.system.js → p-BhMNGZjh.system.js} +13 -4
  1300. package/dist/magma-components/{p-BAW1DAbr.system.js → p-CJcKfFM1.system.js} +2 -2
  1301. package/dist/magma-components/{p-H8sVzFTL.js → p-CV9cS5S1.js} +1 -1
  1302. package/dist/magma-components/{p-DGfoeZMw.system.js → p-C_jcGVti.system.js} +2 -2
  1303. package/dist/magma-components/{p-BXkIXROP.js → p-DCJuMTY7.js} +1 -1
  1304. package/dist/magma-components/{p-BkfGbFba.js → p-DDMAJPbm.js} +2 -2
  1305. package/dist/magma-components/{p-CyPLJo0p.system.js → p-DJ5-T3cU.system.js} +1 -1
  1306. package/dist/magma-components/{p-CzZWts7L.system.js → p-DQfleYtv.system.js} +23 -16
  1307. package/dist/magma-components/{p-D5Yayq7E.system.js → p-Djd8g56b.system.js} +1 -1
  1308. package/dist/magma-components/p-Pwyk_BKp.js +1 -0
  1309. package/dist/magma-components/{p-98a3802b.system.entry.js → p-a0b8c130.system.entry.js} +1 -1
  1310. package/dist/magma-components/{p-03285704.entry.js → p-a1085d6b.entry.js} +1 -1
  1311. package/dist/magma-components/{p-73a6ee3b.system.entry.js → p-a4dcc327.system.entry.js} +1 -1
  1312. package/dist/magma-components/{p-a190c325.system.entry.js → p-a6e82aa7.system.entry.js} +2 -2
  1313. package/dist/magma-components/p-a738797b.system.entry.js +120 -0
  1314. package/dist/magma-components/{p-0c8dd132.entry.js → p-a754bd25.entry.js} +1 -1
  1315. package/dist/magma-components/p-a77cbe57.system.entry.js +55 -0
  1316. package/dist/magma-components/{p-778a46fa.entry.js → p-a7cc7459.entry.js} +1 -1
  1317. package/dist/magma-components/p-a90c4a11.entry.js +1 -0
  1318. package/dist/magma-components/{p-bca909d9.entry.js → p-aa65dfb2.entry.js} +1 -1
  1319. package/dist/magma-components/p-ad438b7b.system.entry.js +33 -0
  1320. package/dist/magma-components/{p-6de384d0.system.entry.js → p-adecc08e.system.entry.js} +1 -1
  1321. package/dist/magma-components/{p-009e4359.system.entry.js → p-b27af8ba.system.entry.js} +111 -111
  1322. package/dist/magma-components/{p-cc5518b1.entry.js → p-b2b0f738.entry.js} +1 -1
  1323. package/dist/magma-components/{p-913123e6.entry.js → p-b3aca1fa.entry.js} +1 -1
  1324. package/dist/magma-components/{p-d7813f9b.system.entry.js → p-b440fd7b.system.entry.js} +1 -1
  1325. package/dist/magma-components/{p-3d0578a7.entry.js → p-b4afd3c7.entry.js} +1 -1
  1326. package/dist/magma-components/p-b51ed8f6.entry.js +1 -0
  1327. package/dist/magma-components/{p-70cf2c28.entry.js → p-b6239109.entry.js} +1 -1
  1328. package/dist/magma-components/{p-1e5d4854.system.entry.js → p-b7a16ade.system.entry.js} +2 -2
  1329. package/dist/magma-components/p-b98025cb.system.entry.js +34 -0
  1330. package/dist/magma-components/p-ba6bb2f1.entry.js +1 -0
  1331. package/dist/magma-components/p-ba7f5d01.system.entry.js +1 -0
  1332. package/dist/magma-components/{p-c2d9cf4e.system.entry.js → p-bb3dcd13.system.entry.js} +1 -1
  1333. package/dist/magma-components/p-bb7b5f5e.entry.js +1 -0
  1334. package/dist/magma-components/p-bc0fe932.system.entry.js +7 -0
  1335. package/dist/magma-components/p-be4ff85e.entry.js +1 -0
  1336. package/dist/magma-components/{p-e497f0db.entry.js → p-bfdfba19.entry.js} +1 -1
  1337. package/dist/magma-components/{p-af1a93c6.system.entry.js → p-c021e9a3.system.entry.js} +2 -2
  1338. package/dist/magma-components/{p-cfb153b8.entry.js → p-c082daa4.entry.js} +1 -1
  1339. package/dist/magma-components/{p-1784d5fb.entry.js → p-c28c1c09.entry.js} +1 -1
  1340. package/dist/magma-components/{p-275d7968.system.entry.js → p-c31ba98a.system.entry.js} +14 -14
  1341. package/dist/magma-components/p-c4b498d4.entry.js +1 -0
  1342. package/dist/magma-components/{p-e160e4e1.entry.js → p-c5321c72.entry.js} +1 -1
  1343. package/dist/magma-components/{p-ede31d27.system.entry.js → p-c878eef8.system.entry.js} +2 -2
  1344. package/dist/magma-components/{p-555bd3f8.system.entry.js → p-c8822563.system.entry.js} +2 -2
  1345. package/dist/magma-components/p-cc51ab16.system.entry.js +16 -0
  1346. package/dist/magma-components/{p-f2e5a2c7.system.entry.js → p-cd396f69.system.entry.js} +1 -1
  1347. package/dist/magma-components/{p-a00805cd.system.entry.js → p-d05073ed.system.entry.js} +6 -6
  1348. package/dist/magma-components/{p-270e9afa.entry.js → p-d34cc848.entry.js} +1 -1
  1349. package/dist/magma-components/{p-3fb983e9.system.entry.js → p-d4ca0c40.system.entry.js} +1 -1
  1350. package/dist/magma-components/{p-757c3420.entry.js → p-d52948de.entry.js} +1 -1
  1351. package/dist/magma-components/{p-c5b7f820.system.entry.js → p-d579a012.system.entry.js} +1 -1
  1352. package/dist/magma-components/{p-14f60718.system.entry.js → p-d5bef373.system.entry.js} +1 -1
  1353. package/dist/magma-components/{p-b18b0088.system.entry.js → p-d666a86c.system.entry.js} +1 -1
  1354. package/dist/magma-components/{p-f5c82548.system.entry.js → p-d6934fc0.system.entry.js} +1 -1
  1355. package/dist/magma-components/{p-0760e8a4.entry.js → p-d69ddd73.entry.js} +1 -1
  1356. package/dist/magma-components/{p-eb4f76d8.system.entry.js → p-d7c5f9ec.system.entry.js} +7 -7
  1357. package/dist/magma-components/p-d8ac0d1f.system.entry.js +16 -0
  1358. package/dist/magma-components/{p-9be80c34.entry.js → p-d8c068be.entry.js} +1 -1
  1359. package/dist/magma-components/{p-2289423c.system.entry.js → p-d9edc7f8.system.entry.js} +1 -1
  1360. package/dist/magma-components/p-da4915d0.entry.js +1 -0
  1361. package/dist/magma-components/{p-73b0b35f.system.entry.js → p-dc99e9a9.system.entry.js} +2 -2
  1362. package/dist/magma-components/{p-c0c69807.system.entry.js → p-dd621963.system.entry.js} +1 -1
  1363. package/dist/magma-components/{p-11ee7089.system.entry.js → p-dfc31d2e.system.entry.js} +2 -2
  1364. package/dist/magma-components/p-e5b22a99.system.entry.js +48 -0
  1365. package/dist/magma-components/p-e6500bfe.system.entry.js +29 -0
  1366. package/dist/magma-components/{p-62e42a62.entry.js → p-e88a43ac.entry.js} +1 -1
  1367. package/dist/magma-components/{p-3b41f929.entry.js → p-e9f821a0.entry.js} +1 -1
  1368. package/dist/magma-components/{p-ac401f1a.entry.js → p-ec1b38c7.entry.js} +1 -1
  1369. package/dist/magma-components/{p-ee65f0eb.system.entry.js → p-eec2ae5c.system.entry.js} +2 -2
  1370. package/dist/magma-components/{p-78cced59.entry.js → p-efb4357e.entry.js} +1 -1
  1371. package/dist/magma-components/{p-586878a2.system.entry.js → p-f02972ba.system.entry.js} +4 -4
  1372. package/dist/magma-components/{p-ddc31c50.entry.js → p-f07777b0.entry.js} +1 -1
  1373. package/dist/magma-components/{p-478bbfdb.entry.js → p-f0fd6414.entry.js} +1 -1
  1374. package/dist/magma-components/p-f1d263fa.system.entry.js +137 -0
  1375. package/dist/magma-components/{p-cfcb8bb5.entry.js → p-f43ee21d.entry.js} +1 -1
  1376. package/dist/magma-components/{p-e84361ee.system.entry.js → p-f5ea4c19.system.entry.js} +12 -6
  1377. package/dist/magma-components/{p-4e4dd1c1.system.entry.js → p-f6256d26.system.entry.js} +2 -2
  1378. package/dist/magma-components/{p-8aa6524e.entry.js → p-f62ea4bc.entry.js} +1 -1
  1379. package/dist/magma-components/{p-18421a84.entry.js → p-f6638f03.entry.js} +1 -1
  1380. package/dist/magma-components/{p-41829c15.system.entry.js → p-f895695a.system.entry.js} +2 -2
  1381. package/dist/magma-components/{p-a075c069.entry.js → p-fa8482c0.entry.js} +1 -1
  1382. package/dist/magma-components/{p-857e893e.system.entry.js → p-fafb8e7b.system.entry.js} +3 -3
  1383. package/dist/magma-components/{p-d1281855.system.entry.js → p-fb3b659c.system.entry.js} +5 -5
  1384. package/dist/magma-components/{p-1f756317.entry.js → p-fc167181.entry.js} +1 -1
  1385. package/dist/magma-components/{p-33172d6f.system.entry.js → p-fc7b9e5b.system.entry.js} +11 -8
  1386. package/dist/magma-components/p-fc9a8862.entry.js +1 -0
  1387. package/dist/magma-components/{p-9b00051f.system.entry.js → p-fe6100ff.system.entry.js} +1 -1
  1388. package/dist/magma-components/{p-d173ae2f.system.entry.js → p-fe64c49c.system.entry.js} +1 -1
  1389. package/dist/magma-components/{p-f3041712.entry.js → p-fe9a8ca1.entry.js} +1 -1
  1390. package/dist/mcp/checks.js +81 -33
  1391. package/dist/mcp/cli.js +8 -2
  1392. package/dist/mcp/context.js +21 -0
  1393. package/dist/mcp/guides.js +2 -1
  1394. package/dist/mcp/patterns.js +19 -9
  1395. package/dist/mcp/render.js +4 -4
  1396. package/dist/mcp/root.js +63 -0
  1397. package/dist/mcp/tools.json +21 -3
  1398. package/dist/stats.json +2952 -2666
  1399. package/dist/types/common/navigation.d.ts +12 -2
  1400. package/dist/types/components/mds-button/mds-button.d.ts +13 -0
  1401. package/dist/types/components/mds-button-dropdown/mds-button-dropdown.d.ts +7 -0
  1402. package/dist/types/components/mds-img/mds-img.d.ts +13 -3
  1403. package/dist/types/components/mds-img/meta/storybook.d.ts +11 -0
  1404. package/dist/types/components/mds-img/meta/types.d.ts +2 -0
  1405. package/dist/types/components/mds-input-field/mds-input-field.d.ts +6 -0
  1406. package/dist/types/components/mds-input-range/mds-input-range.d.ts +9 -0
  1407. package/dist/types/components/mds-keyboard-key/meta/icons.d.ts +1 -1
  1408. package/dist/types/components/mds-link/mds-link.d.ts +13 -0
  1409. package/dist/types/components/mds-stepper-bar/mds-stepper-bar.d.ts +0 -1
  1410. package/dist/types/components/mds-stepper-bar-item/mds-stepper-bar-item.d.ts +10 -1
  1411. package/dist/types/components/mds-tooltip/mds-tooltip.d.ts +5 -3
  1412. package/dist/types/components.d.ts +62 -8
  1413. package/dist/types/fixtures/states.d.ts +33 -0
  1414. package/package.json +9 -8
  1415. package/dist/components/p-B3npFzUR.js +0 -1
  1416. package/dist/components/p-BD9VWE7b.js +0 -1
  1417. package/dist/components/p-Bg11_7lt.js +0 -1
  1418. package/dist/components/p-C589Hkfn.js +0 -1
  1419. package/dist/components/p-C878c9Nu.js +0 -1
  1420. package/dist/components/p-CS8s4gRV.js +0 -1
  1421. package/dist/components/p-CfCw1XZP.js +0 -1
  1422. package/dist/components/p-Cs80Zm2b.js +0 -8
  1423. package/dist/components/p-Cty6fegI.js +0 -1
  1424. package/dist/components/p-DKYN6Ikh.js +0 -1
  1425. package/dist/components/p-MjWyZlga.js +0 -1
  1426. package/dist/components/p-To9IeLHs.js +0 -1
  1427. package/dist/components/p-VoGfNJRY.js +0 -1
  1428. package/dist/components/p-g2_CekDc.js +0 -3
  1429. package/dist/magma-components/p-09537867.entry.js +0 -1
  1430. package/dist/magma-components/p-0a914567.entry.js +0 -1
  1431. package/dist/magma-components/p-0e7bb90b.system.entry.js +0 -127
  1432. package/dist/magma-components/p-10a68a4d.system.entry.js +0 -7
  1433. package/dist/magma-components/p-193b58d0.entry.js +0 -1
  1434. package/dist/magma-components/p-19f3b524.system.entry.js +0 -55
  1435. package/dist/magma-components/p-2100343f.entry.js +0 -1
  1436. package/dist/magma-components/p-211b2675.system.entry.js +0 -1
  1437. package/dist/magma-components/p-26aad538.entry.js +0 -1
  1438. package/dist/magma-components/p-28ecae1e.system.entry.js +0 -16
  1439. package/dist/magma-components/p-2aa3e73a.system.entry.js +0 -13
  1440. package/dist/magma-components/p-2c64ec7e.entry.js +0 -1
  1441. package/dist/magma-components/p-35a77756.entry.js +0 -1
  1442. package/dist/magma-components/p-37172440.entry.js +0 -1
  1443. package/dist/magma-components/p-3d45d7a7.entry.js +0 -1
  1444. package/dist/magma-components/p-4082973c.system.entry.js +0 -30
  1445. package/dist/magma-components/p-4242100c.entry.js +0 -1
  1446. package/dist/magma-components/p-430239ca.entry.js +0 -8
  1447. package/dist/magma-components/p-478e6930.entry.js +0 -1
  1448. package/dist/magma-components/p-4e431466.entry.js +0 -1
  1449. package/dist/magma-components/p-533bb401.system.entry.js +0 -60
  1450. package/dist/magma-components/p-6619b3c0.system.entry.js +0 -34
  1451. package/dist/magma-components/p-67fa6fd7.entry.js +0 -1
  1452. package/dist/magma-components/p-6fb17347.system.entry.js +0 -1
  1453. package/dist/magma-components/p-6fdf3b37.entry.js +0 -1
  1454. package/dist/magma-components/p-73596a07.entry.js +0 -1
  1455. package/dist/magma-components/p-73c0b53e.system.entry.js +0 -82
  1456. package/dist/magma-components/p-7caf244b.system.entry.js +0 -7
  1457. package/dist/magma-components/p-851010c6.system.entry.js +0 -25
  1458. package/dist/magma-components/p-8acbf50a.entry.js +0 -1
  1459. package/dist/magma-components/p-96ece2cc.system.entry.js +0 -27
  1460. package/dist/magma-components/p-96f66b8f.entry.js +0 -1
  1461. package/dist/magma-components/p-B7Jp0tqu.system.js +0 -5
  1462. package/dist/magma-components/p-CPibDZjX.js +0 -3
  1463. package/dist/magma-components/p-To9IeLHs.js +0 -1
  1464. package/dist/magma-components/p-a025b35b.entry.js +0 -1
  1465. package/dist/magma-components/p-a02819e3.entry.js +0 -1
  1466. package/dist/magma-components/p-a0764f01.entry.js +0 -1
  1467. package/dist/magma-components/p-ab920e0b.entry.js +0 -1
  1468. package/dist/magma-components/p-ad6b5fc1.system.entry.js +0 -16
  1469. package/dist/magma-components/p-b0406c51.entry.js +0 -1
  1470. package/dist/magma-components/p-ba148b89.system.entry.js +0 -23
  1471. package/dist/magma-components/p-bbbf8b89.system.entry.js +0 -29
  1472. package/dist/magma-components/p-c6cab2cb.entry.js +0 -1
  1473. package/dist/magma-components/p-c6f56934.entry.js +0 -1
  1474. package/dist/magma-components/p-ccb64689.system.entry.js +0 -113
  1475. package/dist/magma-components/p-cf8cfcac.system.entry.js +0 -10
  1476. package/dist/magma-components/p-d32ca6ce.entry.js +0 -1
  1477. package/dist/magma-components/p-d5dec64d.entry.js +0 -1
  1478. package/dist/magma-components/p-ee247029.system.entry.js +0 -9
  1479. package/dist/magma-components/p-f3f1da06.system.entry.js +0 -39
  1480. package/dist/magma-components/p-f9d2316a.entry.js +0 -1
  1481. package/dist/magma-components/p-fe4ae251.entry.js +0 -1
  1482. package/dist/magma-components/p-ffcfa9e3.system.entry.js +0 -11
@@ -1 +1 @@
1
- import{p as t,H as e,d as n,h as s,c as r,t as i}from"./p-g2_CekDc.js";import{p as a}from"./p-AWCYh8Xe.js";import{s as o}from"./p-CACEYk42.js";import{h as u}from"./p-DWIIDHSa.js";import{c}from"./p-ChV9xqsO.js";import{L as h}from"./p-BmlDGlcB.js";import{d as l}from"./p-Bg11_7lt.js";import{d}from"./p-VoGfNJRY.js";import{d as m}from"./p-oHBGZ2Av.js";import{d as f}from"./p-D7C-gjL6.js";import{d as y}from"./p-aZlZ1XB9.js";class g extends Error{}class w extends g{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class p extends g{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class v extends g{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class b extends g{}class k extends g{constructor(t){super(`Invalid unit ${t}`)}}class M extends g{}class S extends g{constructor(){super("Zone is an abstract class")}}const D="numeric",N="short",T="long",E={year:D,month:D,day:D},x={year:D,month:N,day:D},$={year:D,month:N,day:D,weekday:N},O={year:D,month:T,day:D},I={year:D,month:T,day:D,weekday:T},F={hour:D,minute:D},L={hour:D,minute:D,second:D},C={hour:D,minute:D,second:D,timeZoneName:N},A={hour:D,minute:D,second:D,timeZoneName:T},Z={hour:D,minute:D,hourCycle:"h23"},W={hour:D,minute:D,second:D,hourCycle:"h23"},_={hour:D,minute:D,second:D,hourCycle:"h23",timeZoneName:N},q={hour:D,minute:D,second:D,hourCycle:"h23",timeZoneName:T},j={year:D,month:D,day:D,hour:D,minute:D},H={year:D,month:D,day:D,hour:D,minute:D,second:D},z={year:D,month:N,day:D,hour:D,minute:D},Y={year:D,month:N,day:D,hour:D,minute:D,second:D},P={year:D,month:N,day:D,weekday:N,hour:D,minute:D},R={year:D,month:T,day:D,hour:D,minute:D,timeZoneName:N},J={year:D,month:T,day:D,hour:D,minute:D,second:D,timeZoneName:N},U={year:D,month:T,day:D,weekday:T,hour:D,minute:D,timeZoneName:T},G={year:D,month:T,day:D,weekday:T,hour:D,minute:D,second:D,timeZoneName:T};class V{get type(){throw new S}get name(){throw new S}get ianaName(){return this.name}get isUniversal(){throw new S}offsetName(t,e){throw new S}formatOffset(t,e){throw new S}offset(t){throw new S}equals(t){throw new S}get isValid(){throw new S}}let B=null;class Q extends V{static get instance(){return null===B&&(B=new Q),B}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:n}){return we(t,e,n)}formatOffset(t,e){return ke(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const X=new Map,K={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6},tt=new Map;class et extends V{static create(t){let e=tt.get(t);return void 0===e&&tt.set(t,e=new et(t)),e}static resetCache(){tt.clear(),X.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=et.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:n}){return we(t,e,n,this.name)}formatOffset(t,e){return ke(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=X.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"}),X.set(t,e)),e}(this.name);let[s,r,i,a,o,u,c]=n.formatToParts?function(t,e){const n=t.formatToParts(e),s=[];for(let t=0;t<n.length;t++){const{type:e,value:r}=n[t],i=K[e];"era"===e?s[i]=r:Bt(i)||(s[i]=parseInt(r,10))}return s}(n,e):function(t,e){const n=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,r,i,a,o,u,c,h]=s;return[a,r,i,o,u,c,h]}(n,e);"BC"===a&&(s=1-Math.abs(s));let h=+e;const l=h%1e3;return h-=l>=0?l:1e3+l,(me({year:s,month:r,day:i,hour:24===o?0:o,minute:u,second:c,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let nt={};const st=new Map;function rt(t,e={}){const n=JSON.stringify([t,e]);let s=st.get(n);return void 0===s&&(s=new Intl.DateTimeFormat(t,e),st.set(n,s)),s}const it=new Map,at=new Map;let ot=null;const ut=new Map;function ct(t){let e=ut.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),ut.set(t,e)),e}const ht=new Map;function lt(t,e,n,s){const r=t.listingMode();return"error"===r?null:"en"===r?n(e):s(e)}class dt{constructor(t,e,n){this.padTo=n.padTo||0,this.floor=n.floor||!1;const{padTo:s,floor:r,...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 s=it.get(n);return void 0===s&&(s=new Intl.NumberFormat(t,e),it.set(n,s)),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return ie(this.floor?Math.floor(t):ce(t,3),this.padTo)}}class mt{constructor(t,e,n){let s;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&&et.create(n).valid?(s=n,this.dt=t):(s="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,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const r={...this.opts};r.timeZone=r.timeZone||s,this.dtf=rt(e,r)}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 ft{constructor(t,e,n){this.opts={style:"long",...n},!e&&Kt()&&(this.rtf=function(t,e={}){const{base:n,...s}=e,r=JSON.stringify([t,s]);let i=at.get(r);return void 0===i&&(i=new Intl.RelativeTimeFormat(t,e),at.set(r,i)),i}(t,n))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,n="always",s=!1){const r={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 ${r[t][0]}`;case-1:return n?"yesterday":`last ${r[t][0]}`;case 0:return n?"today":`this ${r[t][0]}`}}const a=Object.is(e,-0)||e<0,o=Math.abs(e),u=1===o,c=r[t],h=s?u?c[1]:c[2]||c[1]:u?r[t][0]:t;return a?`${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 yt={firstDay:1,minimalDays:4,weekend:[6,7]};class gt{static fromOpts(t){return gt.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,n,s,r=!1){const i=t||Ct.defaultLocale,a=i||(r?"en-US":ot||(ot=(new Intl.DateTimeFormat).resolvedOptions().locale,ot)),o=e||Ct.defaultNumberingSystem,u=n||Ct.defaultOutputCalendar,c=se(s)||Ct.defaultWeekSettings;return new gt(a,o,u,c,i)}static resetCache(){ot=null,st.clear(),it.clear(),at.clear(),ut.clear(),ht.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:n,weekSettings:s}={}){return gt.create(t,e,n,s)}constructor(t,e,n,s,r){const[i,a,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,s;try{e=rt(t).resolvedOptions(),s=t}catch(r){const i=t.substring(0,n);e=rt(i).resolvedOptions(),s=i}const{numberingSystem:r,calendar:i}=e;return[s,r,i]}}(t);this.locale=i,this.numberingSystem=e||a||null,this.outputCalendar=n||o||null,this.weekSettings=s,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=r,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"===ct(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?gt.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,se(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 lt(this,t,Te,(()=>{const n="ja"===this.intl||this.intl.startsWith("ja-"),s=(e&=!n)?{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 s=$s.utc(2009,n,1);e.push(t(s))}return e}(n?t=>this.dtFormatter(t,s).format():t=>this.extract(t,s,"month"))),this.monthsCache[r][t]}))}weekdays(t,e=!1){return lt(this,t,Oe,(()=>{const n=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let n=1;n<=7;n++){const s=$s.utc(2016,11,13+n);e.push(t(s))}return e}((t=>this.extract(t,n,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return lt(this,void 0,(()=>Ie),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[$s.utc(2016,11,13,9),$s.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return lt(this,t,Ae,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[$s.utc(-40,1,1),$s.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,n){const s=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===n));return s?s.value:null}numberFormatter(t={}){return new dt(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new mt(t,this.intl,e)}relFormatter(t={}){return new ft(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const n=JSON.stringify([t,e]);let s=nt[n];return s||(s=new Intl.ListFormat(t,e),nt[n]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||ct(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:te()?function(t){let e=ht.get(t);if(!e){const n=new Intl.Locale(t);e="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,"minimalDays"in e||(e={...yt,...e}),ht.set(t,e)}return e}(this.locale):yt}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 wt=null;class pt extends V{static get utcInstance(){return null===wt&&(wt=new pt(0)),wt}static instance(t){return 0===t?pt.utcInstance:new pt(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new pt(pe(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${ke(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${ke(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return ke(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 vt extends V{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 bt(t,e){if(Bt(t)||null===t)return e;if(t instanceof V)return t;if("string"==typeof t){const n=t.toLowerCase();return"default"===n?e:"local"===n||"system"===n?Q.instance:"utc"===n||"gmt"===n?pt.utcInstance:pt.parseSpecifier(n)||et.create(t)}return Qt(t)?pt.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new vt(t)}const kt={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Mt={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]},St=kt.hanidec.replace(/[\[|\]]/g,"").split(""),Dt=new Map;function Nt({numberingSystem:t},e=""){const n=t||"latn";let s=Dt.get(n);void 0===s&&(s=new Map,Dt.set(n,s));let r=s.get(e);return void 0===r&&(r=new RegExp(`${kt[n]}${e}`),s.set(e,r)),r}let Tt,Et=()=>Date.now(),xt="system",$t=null,Ot=null,It=null,Ft=60,Lt=null;class Ct{static get now(){return Et}static set now(t){Et=t}static set defaultZone(t){xt=t}static get defaultZone(){return bt(xt,Q.instance)}static get defaultLocale(){return $t}static set defaultLocale(t){$t=t}static get defaultNumberingSystem(){return Ot}static set defaultNumberingSystem(t){Ot=t}static get defaultOutputCalendar(){return It}static set defaultOutputCalendar(t){It=t}static get defaultWeekSettings(){return Lt}static set defaultWeekSettings(t){Lt=se(t)}static get twoDigitCutoffYear(){return Ft}static set twoDigitCutoffYear(t){Ft=t%100}static get throwOnInvalid(){return Tt}static set throwOnInvalid(t){Tt=t}static resetCaches(){gt.resetCache(),et.resetCache(),$s.resetCache(),Dt.clear()}}class At{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Zt=[0,31,59,90,120,151,181,212,243,273,304,334],Wt=[0,31,60,91,121,152,182,213,244,274,305,335];function _t(t,e){return new At("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function qt(t,e,n){const s=new Date(Date.UTC(t,e-1,n));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const r=s.getUTCDay();return 0===r?7:r}function jt(t,e,n){return n+(he(t)?Wt:Zt)[e-1]}function Ht(t,e){const n=he(t)?Wt:Zt,s=n.findIndex((t=>t<e));return{month:s+1,day:e-n[s]}}function zt(t,e){return(t-e+7)%7+1}function Yt(t,e=4,n=1){const{year:s,month:r,day:i}=t,a=jt(s,r,i),o=zt(qt(s,r,i),n);let u,c=Math.floor((a-o+14-e)/7);return c<1?(u=s-1,c=ye(u,e,n)):c>ye(s,e,n)?(u=s+1,c=1):u=s,{weekYear:u,weekNumber:c,weekday:o,...Me(t)}}function Pt(t,e=4,n=1){const{weekYear:s,weekNumber:r,weekday:i}=t,a=zt(qt(s,1,e),n),o=le(s);let u,c=7*r+i-a-7+e;c<1?(u=s-1,c+=le(u)):c>o?(u=s+1,c-=le(s)):u=s;const{month:h,day:l}=Ht(u,c);return{year:u,month:h,day:l,...Me(t)}}function Rt(t){const{year:e,month:n,day:s}=t;return{year:e,ordinal:jt(e,n,s),...Me(t)}}function Jt(t){const{year:e,ordinal:n}=t,{month:s,day:r}=Ht(e,n);return{year:e,month:s,day:r,...Me(t)}}function Ut(t,e){if(!Bt(t.localWeekday)||!Bt(t.localWeekNumber)||!Bt(t.localWeekYear)){if(!Bt(t.weekday)||!Bt(t.weekNumber)||!Bt(t.weekYear))throw new b("Cannot mix locale-based week fields with ISO-based week fields");return Bt(t.localWeekday)||(t.weekday=t.localWeekday),Bt(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Bt(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 Gt(t){const e=Xt(t.year),n=re(t.month,1,12),s=re(t.day,1,de(t.year,t.month));return e?n?!s&&_t("day",t.day):_t("month",t.month):_t("year",t.year)}function Vt(t){const{hour:e,minute:n,second:s,millisecond:r}=t,i=re(e,0,23)||24===e&&0===n&&0===s&&0===r,a=re(n,0,59),o=re(s,0,59),u=re(r,0,999);return i?a?o?!u&&_t("millisecond",r):_t("second",s):_t("minute",n):_t("hour",e)}function Bt(t){return void 0===t}function Qt(t){return"number"==typeof t}function Xt(t){return"number"==typeof t&&t%1==0}function Kt(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function te(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function ee(t,e,n){if(0!==t.length)return t.reduce(((t,s)=>{const r=[e(s),s];return t&&n(t[0],r[0])===t[0]?t:r}),null)[1]}function ne(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function se(t){if(null==t)return null;if("object"!=typeof t)throw new M("Week settings must be an object");if(!re(t.firstDay,1,7)||!re(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!re(t,1,7))))throw new M("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function re(t,e,n){return Xt(t)&&t>=e&&t<=n}function ie(t,e=2){let n;return n=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),n}function ae(t){return Bt(t)||null===t||""===t?void 0:parseInt(t,10)}function oe(t){return Bt(t)||null===t||""===t?void 0:parseFloat(t)}function ue(t){if(!Bt(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function ce(t,e,n="round"){const s=10**e;switch(n){case"expand":return t>0?Math.ceil(t*s)/s:Math.floor(t*s)/s;case"trunc":return Math.trunc(t*s)/s;case"round":return Math.round(t*s)/s;case"floor":return Math.floor(t*s)/s;case"ceil":return Math.ceil(t*s)/s;default:throw new RangeError(`Value rounding ${n} is out of range`)}}function he(t){return t%4==0&&(t%100!=0||t%400==0)}function le(t){return he(t)?366:365}function de(t,e){const n=(s=e-1)-12*Math.floor(s/12)+1;var s;return 2===n?he(t+(e-n)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function me(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 fe(t,e,n){return-zt(qt(t,1,e),n)+e-1}function ye(t,e=4,n=1){const s=fe(t,e,n),r=fe(t+1,e,n);return(le(t)-s+r)/7}function ge(t){return t>99?t:t>Ct.twoDigitCutoffYear?1900+t:2e3+t}function we(t,e,n,s=null){const r=new Date(t),i={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(i.timeZone=s);const a={timeZoneName:e,...i},o=new Intl.DateTimeFormat(n,a).formatToParts(r).find((t=>"timezonename"===t.type.toLowerCase()));return o?o.value:null}function pe(t,e){let n=parseInt(t,10);Number.isNaN(n)&&(n=0);const s=parseInt(e,10)||0;return 60*n+(n<0||Object.is(n,-0)?-s:s)}function ve(t){const e=Number(t);if("boolean"==typeof t||""===t||!Number.isFinite(e))throw new M(`Invalid unit value ${t}`);return e}function be(t,e){const n={};for(const s in t)if(ne(t,s)){const r=t[s];if(null==r)continue;n[e(s)]=ve(r)}return n}function ke(t,e){const n=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),r=t>=0?"+":"-";switch(e){case"short":return`${r}${ie(n,2)}:${ie(s,2)}`;case"narrow":return`${r}${n}${s>0?`:${s}`:""}`;case"techie":return`${r}${ie(n,2)}${ie(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Me(t){return function(t){return["hour","minute","second","millisecond"].reduce(((e,n)=>(e[n]=t[n],e)),{})}(t)}const Se=["January","February","March","April","May","June","July","August","September","October","November","December"],De=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ne=["J","F","M","A","M","J","J","A","S","O","N","D"];function Te(t){switch(t){case"narrow":return[...Ne];case"short":return[...De];case"long":return[...Se];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 Ee=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],xe=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],$e=["M","T","W","T","F","S","S"];function Oe(t){switch(t){case"narrow":return[...$e];case"short":return[...xe];case"long":return[...Ee];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Ie=["AM","PM"],Fe=["Before Christ","Anno Domini"],Le=["BC","AD"],Ce=["B","A"];function Ae(t){switch(t){case"narrow":return[...Ce];case"short":return[...Le];case"long":return[...Fe];default:return null}}function Ze(t,e){let n="";for(const s of t)n+=s.literal?s.val:e(s.val);return n}const We={D:E,DD:x,DDD:O,DDDD:I,t:F,tt:L,ttt:C,tttt:A,T:Z,TT:W,TTT:_,TTTT:q,f:j,ff:z,fff:R,ffff:U,F:H,FF:Y,FFF:J,FFFF:G};class _e{static create(t,e={}){return new _e(t,e)}static parseFormat(t){let e=null,n="",s=!1;const r=[];for(let i=0;i<t.length;i++){const a=t.charAt(i);"'"===a?((n.length>0||s)&&r.push({literal:s||/^\s+$/.test(n),val:""===n?"'":n}),e=null,n="",s=!s):s||a===e?n+=a:(n.length>0&&r.push({literal:/^\s+$/.test(n),val:n}),n=a,e=a)}return n.length>0&&r.push({literal:s||/^\s+$/.test(n),val:n}),r}static macroTokenToFormatOpts(t){return We[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,n){if(this.opts.forceSimple)return ie(t,e);const s={...this.opts};return e>0&&(s.padTo=e),n&&(s.signDisplay=n),this.loc.numberFormatter(s).format(t)}formatDateTimeFromString(t,e){const n="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,r=(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):"",a=(e,s)=>n?function(t,e){return Te(e)[t.month-1]}(t,e):r(s?{month:e}:{month:e,day:"numeric"},"month"),o=(e,s)=>n?function(t,e){return Oe(e)[t.weekday-1]}(t,e):r(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const n=_e.macroTokenToFormatOpts(e);return n?this.formatWithSystemDefault(t,n):e},c=e=>n?function(t,e){return Ae(e)[t.year<0?0:1]}(t,e):r({era:e},"era");return Ze(_e.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 Ie[t.hour<12?0:1]}(t):r({hour:"numeric",hourCycle:"h12"},"dayperiod");case"d":return s?r({day:"numeric"},"day"):this.num(t.day);case"dd":return s?r({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 s?r({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?r({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?r({month:"numeric"},"month"):this.num(t.month);case"MM":return s?r({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?r({year:"numeric"},"year"):this.num(t.year);case"yy":return s?r({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?r({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?r({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 u(e)}}))}formatDurationFromString(t,e){const n="negativeLargestOnly"===this.opts.signMode?-1:1,s=t=>{switch(t[0]){case"S":return"milliseconds";case"s":return"seconds";case"m":return"minutes";case"h":return"hours";case"d":return"days";case"w":return"weeks";case"M":return"months";case"y":return"years";default:return null}},r=_e.parseFormat(e),i=r.reduce(((t,{literal:e,val:n})=>e?t:t.concat(n)),[]),a=t.shiftTo(...i.map(s).filter((t=>t)));return Ze(r,((t,e)=>r=>{const i=s(r);if(i){const s=e.isNegativeDuration&&i!==e.largestUnit?n:1;let a;return a="negativeLargestOnly"===this.opts.signMode&&i!==e.largestUnit?"never":"all"===this.opts.signMode?"always":"auto",this.num(t.get(i)*s,r.length,a)}return r})(a,{isNegativeDuration:a<0,largestUnit:Object.keys(a.values)[0]}))}}const qe=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function je(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function He(...t){return e=>t.reduce((([t,n,s],r)=>{const[i,a,o]=r(e,s);return[{...t,...i},a||n,o]}),[{},null,1]).slice(0,2)}function ze(t,...e){if(null==t)return[null,null];for(const[n,s]of e){const e=n.exec(t);if(e)return s(e)}return[null,null]}function Ye(...t){return(e,n)=>{const s={};let r;for(r=0;r<t.length;r++)s[t[r]]=ae(e[n+r]);return[s,null,n+r]}}const Pe=/(?:([Zz])|([+-]\d\d)(?::?(\d\d))?)/,Re=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Je=RegExp(`${Re.source}(?:${Pe.source}?(?:\\[(${qe.source})\\])?)?`),Ue=RegExp(`(?:[Tt]${Je.source})?`),Ge=Ye("weekYear","weekNumber","weekDay"),Ve=Ye("year","ordinal"),Be=RegExp(`${Re.source} ?(?:${Pe.source}|(${qe.source}))?`),Qe=RegExp(`(?: ${Be.source})?`);function Xe(t,e,n){const s=t[e];return Bt(s)?n:ae(s)}function Ke(t,e){return[{hours:Xe(t,e,0),minutes:Xe(t,e+1,0),seconds:Xe(t,e+2,0),milliseconds:ue(t[e+3])},null,e+4]}function tn(t,e){const n=!t[e]&&!t[e+1],s=pe(t[e+1],t[e+2]);return[{},n?null:pt.instance(s),e+3]}function en(t,e){return[{},t[e]?et.create(t[e]):null,e+1]}const nn=RegExp(`^T?${Re.source}$`),sn=/^-?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 rn(t){const[e,n,s,r,i,a,o,u,c]=t,h="-"===e[0],l=u&&"-"===u[0],d=(t,e=!1)=>void 0!==t&&(e||t&&h)?-t:t;return[{years:d(oe(n)),months:d(oe(s)),weeks:d(oe(r)),days:d(oe(i)),hours:d(oe(a)),minutes:d(oe(o)),seconds:d(oe(u),"-0"===u),milliseconds:d(ue(c),l)}]}const an={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function on(t,e,n,s,r,i,a){const o={year:2===e.length?ge(ae(e)):ae(e),month:De.indexOf(n)+1,day:ae(s),hour:ae(r),minute:ae(i)};return a&&(o.second=ae(a)),t&&(o.weekday=t.length>3?Ee.indexOf(t)+1:xe.indexOf(t)+1),o}const un=/^(?:(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 cn(t){const[,e,n,s,r,i,a,o,u,c,h,l]=t,d=on(e,r,s,n,i,a,o);let m;return m=u?an[u]:c?0:pe(h,l),[d,new pt(m)]}const hn=/^(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$/,ln=/^(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$/,dn=/^(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 mn(t){const[,e,n,s,r,i,a,o]=t;return[on(e,r,s,n,i,a,o),pt.utcInstance]}function fn(t){const[,e,n,s,r,i,a,o]=t;return[on(e,o,n,s,r,i,a),pt.utcInstance]}const yn=je(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Ue),gn=je(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Ue),wn=je(/(\d{4})-?(\d{3})/,Ue),pn=je(Je),vn=He((function(t,e){return[{year:Xe(t,e),month:Xe(t,e+1,1),day:Xe(t,e+2,1)},null,e+3]}),Ke,tn,en),bn=He(Ge,Ke,tn,en),kn=He(Ve,Ke,tn,en),Mn=He(Ke,tn,en),Sn=He(Ke),Dn=je(/(\d{4})-(\d\d)-(\d\d)/,Qe),Nn=je(Be),Tn=He(Ke,tn,en),En="Invalid Duration",xn={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}},$n={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},...xn},On={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},...xn},In=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Fn=In.slice(0).reverse();function Ln(t,e,n=!1){const s={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 Wn(s)}function Cn(t,e){let n=e.milliseconds??0;for(const s of Fn.slice(1))e[s]&&(n+=e[s]*t[s].milliseconds);return n}function An(t,e){const n=Cn(t,e)<0?-1:1;In.reduceRight(((s,r)=>{if(Bt(e[r]))return s;if(s){const i=t[r][s],a=Math.floor(e[s]*n/i);e[r]+=a*n,e[s]-=a*i*n}return r}),null),In.reduce(((n,s)=>{if(Bt(e[s]))return n;if(n){const r=e[n]%1;e[n]-=r,e[s]+=r*t[n][s]}return s}),null)}function Zn(t){const e={};for(const[n,s]of Object.entries(t))0!==s&&(e[n]=s);return e}class Wn{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let n=e?On:$n;t.matrix&&(n=t.matrix),this.values=t.values,this.loc=t.loc||gt.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=n,this.isLuxonDuration=!0}static fromMillis(t,e){return Wn.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new M("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new Wn({values:be(t,Wn.normalizeUnit),loc:gt.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Qt(t))return Wn.fromMillis(t);if(Wn.isDuration(t))return t;if("object"==typeof t)return Wn.fromObject(t);throw new M(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[n]=function(t){return ze(t,[sn,rn])}(t);return n?Wn.fromObject(n,e):Wn.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[n]=function(t){return ze(t,[nn,Sn])}(t);return n?Wn.fromObject(n,e):Wn.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new M("need to specify a reason the Duration is invalid");const n=t instanceof At?t:new At(t,e);if(Ct.throwOnInvalid)throw new v(n);return new Wn({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 k(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?_e.create(this.loc,n).formatDurationFromString(this,t):En}toHuman(t={}){if(!this.isValid)return En;const e=!1!==t.showZeros,n=In.map((n=>{const s=this.values[n];return Bt(s)||0===s&&!e?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:n.slice(0,-1)}).format(s)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(n)}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+=ce(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},$s.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?Cn(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=Wn.fromDurationLike(t),n={};for(const t of In)(ne(e.values,t)||ne(this.values,t))&&(n[t]=e.get(t)+this.get(t));return Ln(this,{values:n},!0)}minus(t){if(!this.isValid)return this;const e=Wn.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]=ve(t(this.values[n],n));return Ln(this,{values:e},!0)}get(t){return this[Wn.normalizeUnit(t)]}set(t){return this.isValid?Ln(this,{values:{...this.values,...be(t,Wn.normalizeUnit)}}):this}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:n,matrix:s}={}){return Ln(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:n})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return An(this.matrix,t),Ln(this,{values:t},!0)}rescale(){return this.isValid?Ln(this,{values:Zn(this.normalize().shiftToAll().toObject())},!0):this}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>Wn.normalizeUnit(t)));const e={},n={},s=this.toObject();let r;for(const i of In)if(t.indexOf(i)>=0){r=i;let t=0;for(const e in n)t+=this.matrix[e][i]*n[e],n[e]=0;Qt(s[i])&&(t+=s[i]);const a=Math.trunc(t);e[i]=a,n[i]=(1e3*t-1e3*a)/1e3}else Qt(s[i])&&(n[i]=s[i]);for(const t in n)0!==n[t]&&(e[r]+=t===r?n[t]:n[t]/this.matrix[r][t]);return An(this.matrix,e),Ln(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 Ln(this,{values:t},!0)}removeZeros(){return this.isValid?Ln(this,{values:Zn(this.values)},!0):this}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 s of In)if(n=t.values[s],!(void 0===(e=this.values[s])||0===e?void 0===n||0===n:e===n))return!1;var e,n;return!0}}const _n="Invalid Interval";class qn{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 M("need to specify a reason the Interval is invalid");const n=t instanceof At?t:new At(t,e);if(Ct.throwOnInvalid)throw new p(n);return new qn({invalid:n})}static fromDateTimes(t,e){const n=Os(t),s=Os(e),r=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?qn.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:qn.invalid("missing or invalid end"):qn.invalid("missing or invalid start")}(n,s);return null==r?new qn({start:n,end:s}):r}static after(t,e){const n=Wn.fromDurationLike(e),s=Os(t);return qn.fromDateTimes(s,s.plus(n))}static before(t,e){const n=Wn.fromDurationLike(e),s=Os(t);return qn.fromDateTimes(s.minus(n),s)}static fromISO(t,e){const[n,s]=(t||"").split("/",2);if(n&&s){let t,r,i,a;try{t=$s.fromISO(n,e),r=t.isValid}catch(s){r=!1}try{i=$s.fromISO(s,e),a=i.isValid}catch(s){a=!1}if(r&&a)return qn.fromDateTimes(t,i);if(r){const n=Wn.fromISO(s,e);if(n.isValid)return qn.after(t,n)}else if(a){const t=Wn.fromISO(n,e);if(t.isValid)return qn.before(i,t)}}return qn.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 s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:n.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(n,t).get(t))+(s.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?qn.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(Os).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),n=[];let{s}=this,r=0;for(;s<this.e;){const t=e[r]||this.e,i=+t>+this.e?this.e:t;n.push(qn.fromDateTimes(s,i)),s=i,r+=1}return n}splitBy(t){const e=Wn.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let n,{s}=this,r=1;const i=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits((t=>t*r)));n=+t>+this.e?this.e:t,i.push(qn.fromDateTimes(s,n)),s=n,r+=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:qn.fromDateTimes(e,n)}union(t){return this.isValid?qn.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 s=[],r=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),i=Array.prototype.concat(...r).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&&s.push(qn.fromDateTimes(e,t.time)),e=null);return qn.merge(s)}difference(...t){return qn.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:_n}[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=E,e={}){return this.isValid?_e.create(this.s.loc.clone(e),t).formatInterval(this):_n}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:_n}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:_n}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:_n}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:_n}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):Wn.invalid(this.invalidReason)}mapEndpoints(t){return qn.fromDateTimes(t(this.s),t(this.e))}}class jn{static hasDST(t=Ct.defaultZone){const e=$s.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return et.isValidZone(t)}static normalizeZone(t){return bt(t,Ct.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||gt.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||gt.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||gt.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:n=null,locObj:s=null,outputCalendar:r="gregory"}={}){return(s||gt.create(e,n,r)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:n=null,locObj:s=null,outputCalendar:r="gregory"}={}){return(s||gt.create(e,n,r)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:n=null,locObj:s=null}={}){return(s||gt.create(e,n,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:n=null,locObj:s=null}={}){return(s||gt.create(e,n,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return gt.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return gt.create(e,null,"gregory").eras(t)}static features(){return{relative:Kt(),localeWeek:te()}}}function Hn(t,e){const n=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=n(e)-n(t);return Math.floor(Wn.fromMillis(s).as("days"))}function zn(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 s=t.charCodeAt(n);if(-1!==t[n].search(kt.hanidec))e+=St.indexOf(t[n]);else for(const t in Mt){const[n,r]=Mt[t];s>=n&&s<=r&&(e+=s-n)}}return parseInt(e,10)}return e}(t))}}const Yn=`[ ${String.fromCharCode(160)}]`,Pn=new RegExp(Yn,"g");function Rn(t){return t.replace(/\./g,"\\.?").replace(Pn,Yn)}function Jn(t){return t.replace(/\./g,"").replace(Pn," ").toLowerCase()}function Un(t,e){return null===t?null:{regex:RegExp(t.map(Rn).join("|")),deser:([n])=>t.findIndex((t=>Jn(n)===Jn(t)))+e}}function Gn(t,e){return{regex:t,deser:([,t,e])=>pe(t,e),groups:e}}function Vn(t){return{regex:t,deser:([t])=>t}}const Bn={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 Qn=null;function Xn(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const n=es(_e.macroTokenToFormatOpts(t.val),e);return null==n||n.includes(void 0)?t:n}(t,e))))}class Kn{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Xn(_e.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const n=Nt(e),s=Nt(e,"{2}"),r=Nt(e,"{3}"),i=Nt(e,"{4}"),a=Nt(e,"{6}"),o=Nt(e,"{1,2}"),u=Nt(e,"{1,3}"),c=Nt(e,"{1,6}"),h=Nt(e,"{1,9}"),l=Nt(e,"{2,4}"),d=Nt(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 Un(e.eras("short"),0);case"GG":return Un(e.eras("long"),0);case"y":return zn(c);case"yy":case"kk":return zn(l,ge);case"yyyy":case"kkkk":return zn(i);case"yyyyy":return zn(d);case"yyyyyy":return zn(a);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return zn(o);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return zn(s);case"MMM":return Un(e.months("short",!0),1);case"MMMM":return Un(e.months("long",!0),1);case"LLL":return Un(e.months("short",!1),1);case"LLLL":return Un(e.months("long",!1),1);case"o":case"S":return zn(u);case"ooo":case"SSS":return zn(r);case"u":return Vn(h);case"uu":return Vn(o);case"uuu":case"E":case"c":return zn(n);case"a":return Un(e.meridiems(),0);case"EEE":return Un(e.weekdays("short",!1),1);case"EEEE":return Un(e.weekdays("long",!1),1);case"ccc":return Un(e.weekdays("short",!0),1);case"cccc":return Un(e.weekdays("long",!0),1);case"Z":case"ZZ":return Gn(new RegExp(`([+-]${o.source})(?::(${s.source}))?`),2);case"ZZZ":return Gn(new RegExp(`([+-]${o.source})(${s.source})?`),2);case"z":return Vn(/[a-z_+-/]{1,256}?/i);case" ":return Vn(/[^\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 s=t.match(e);if(s){const t={};let e=1;for(const r in n)if(ne(n,r)){const i=n[r],a=i.groups?i.groups+1:1;!i.literal&&i.token&&(t[i.token.val[0]]=i.deser(s.slice(e,e+a))),e+=a}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,r,i]=n?function(t){let e,n=null;return Bt(t.z)||(n=et.create(t.z)),Bt(t.Z)||(n||(n=new pt(t.Z)),e=t.Z),Bt(t.q)||(t.M=3*(t.q-1)+1),Bt(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),Bt(t.u)||(t.S=ue(t.u)),[Object.keys(t).reduce(((e,n)=>{const s=(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 s&&(e[s]=t[n]),e}),{}),n,e]}(n):[null,null,void 0];if(ne(n,"a")&&ne(n,"H"))throw new b("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:n,result:s,zone:r,specificOffset:i}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function ts(t,e,n){return new Kn(t,n).explainFromTokens(e)}function es(t,e){if(!t)return null;const n=_e.create(e,t).dtFormatter((Qn||(Qn=$s.fromMillis(1555555555555)),Qn)),s=n.formatToParts(),r=n.resolvedOptions();return s.map((e=>function(t,e,n){const{type:s,value:r}=t;if("literal"===s){const t=/^\s+$/.test(r);return{literal:!t,val:t?" ":r}}let i=s;"hour"===s&&(i=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":n.hour12?"hour12":"hour24");let a=Bn[i];if("object"==typeof a&&(a=a[e[s]]),a)return{literal:!1,val:a}}(e,t,r)))}const ns="Invalid DateTime",ss=864e13;function rs(t){return new At("unsupported zone",`the zone "${t.name}" is not supported`)}function is(t){return null===t.weekData&&(t.weekData=Yt(t.c)),t.weekData}function as(t){return null===t.localWeekData&&(t.localWeekData=Yt(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function os(t,e){const n={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new $s({...n,...e,old:n})}function us(t,e,n){let s=t-60*e*1e3;const r=n.offset(s);if(e===r)return[s,e];s-=60*(r-e)*1e3;const i=n.offset(s);return r===i?[s,r]:[t-60*Math.min(r,i)*1e3,Math.max(r,i)]}function cs(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 hs(t,e,n){return us(me(t),e,n)}function ls(t,e){const n=t.o,s=t.c.year+Math.trunc(e.years),r=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),i={...t.c,year:s,month:r,day:Math.min(t.c.day,de(s,r))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},a=Wn.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=me(i);let[u,c]=us(o,n,t.zone);return 0!==a&&(u+=a,c=t.zone.offset(u)),{ts:u,o:c}}function ds(t,e,n,s,r,i){const{setZone:a,zone:o}=n;if(t&&0!==Object.keys(t).length||e){const s=e||o,r=$s.fromObject(t,{...n,zone:s,specificOffset:i});return a?r:r.setZone(o)}return $s.invalid(new At("unparsable",`the input "${r}" can't be parsed as ${s}`))}function ms(t,e,n=!0){return t.isValid?_e.create(gt.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(t,e):null}function fs(t,e,n){const s=t.c.year>9999||t.c.year<0;let r="";if(s&&t.c.year>=0&&(r+="+"),r+=ie(t.c.year,s?6:4),"year"===n)return r;if(e){if(r+="-",r+=ie(t.c.month),"month"===n)return r;r+="-"}else if(r+=ie(t.c.month),"month"===n)return r;return r+=ie(t.c.day),r}function ys(t,e,n,s,r,i,a){let o=!n||0!==t.c.millisecond||0!==t.c.second,u="";switch(a){case"day":case"month":case"year":break;default:if(u+=ie(t.c.hour),"hour"===a)break;if(e){if(u+=":",u+=ie(t.c.minute),"minute"===a)break;o&&(u+=":",u+=ie(t.c.second))}else{if(u+=ie(t.c.minute),"minute"===a)break;o&&(u+=ie(t.c.second))}if("second"===a)break;!o||s&&0===t.c.millisecond||(u+=".",u+=ie(t.c.millisecond,3))}return r&&(t.isOffsetFixed&&0===t.offset&&!i?u+="Z":t.o<0?(u+="-",u+=ie(Math.trunc(-t.o/60)),u+=":",u+=ie(Math.trunc(-t.o%60))):(u+="+",u+=ie(Math.trunc(t.o/60)),u+=":",u+=ie(Math.trunc(t.o%60)))),i&&(u+="["+t.zone.ianaName+"]"),u}const gs={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},ws={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},ps={ordinal:1,hour:0,minute:0,second:0,millisecond:0},vs=["year","month","day","hour","minute","second","millisecond"],bs=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ks=["year","ordinal","hour","minute","second","millisecond"];function Ms(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 k(t);return e}function Ss(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return Ms(t)}}function Ds(t,e){const n=bt(e.zone,Ct.defaultZone);if(!n.isValid)return $s.invalid(rs(n));const s=gt.fromObject(e);let r,i;if(Bt(t.year))r=Ct.now();else{for(const e of vs)Bt(t[e])&&(t[e]=gs[e]);const e=Gt(t)||Vt(t);if(e)return $s.invalid(e);const s=function(t){if(void 0===Es&&(Es=Ct.now()),"iana"!==t.type)return t.offset(Es);const e=t.name;let n=xs.get(e);return void 0===n&&(n=t.offset(Es),xs.set(e,n)),n}(n);[r,i]=hs(t,s,n)}return new $s({ts:r,zone:n,loc:s,o:i})}function Ns(t,e,n){const s=!!Bt(n.round)||n.round,r=Bt(n.rounding)?"trunc":n.rounding,i=(t,i)=>(t=ce(t,s||n.calendary?0:2,n.calendary?"round":r),e.loc.clone(n).relFormatter(n).format(t,i)),a=s=>n.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(n.unit)return i(a(n.unit),n.unit);for(const t of n.units){const e=a(t);if(Math.abs(e)>=1)return i(e,t)}return i(t>e?-0:0,n.units[n.units.length-1])}function Ts(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 Es;const xs=new Map;class $s{constructor(t){const e=t.zone||Ct.defaultZone;let n=t.invalid||(Number.isNaN(t.ts)?new At("invalid input"):null)||(e.isValid?null:rs(e));this.ts=Bt(t.ts)?Ct.now():t.ts;let s=null,r=null;if(!n)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,r]=[t.old.c,t.old.o];else{const i=Qt(t.o)&&!t.old?t.o:e.offset(this.ts);s=cs(this.ts,i),n=Number.isNaN(s.year)?new At("invalid input"):null,s=n?null:s,r=n?null:i}this._zone=e,this.loc=t.loc||gt.create(),this.invalid=n,this.weekData=null,this.localWeekData=null,this.c=s,this.o=r,this.isLuxonDateTime=!0}static now(){return new $s({})}static local(){const[t,e]=Ts(arguments),[n,s,r,i,a,o,u]=e;return Ds({year:n,month:s,day:r,hour:i,minute:a,second:o,millisecond:u},t)}static utc(){const[t,e]=Ts(arguments),[n,s,r,i,a,o,u]=e;return t.zone=pt.utcInstance,Ds({year:n,month:s,day:r,hour:i,minute:a,second:o,millisecond:u},t)}static fromJSDate(t,e={}){const n="[object Date]"===Object.prototype.toString.call(t)?t.valueOf():NaN;if(Number.isNaN(n))return $s.invalid("invalid input");const s=bt(e.zone,Ct.defaultZone);return s.isValid?new $s({ts:n,zone:s,loc:gt.fromObject(e)}):$s.invalid(rs(s))}static fromMillis(t,e={}){if(Qt(t))return t<-ss||t>ss?$s.invalid("Timestamp out of range"):new $s({ts:t,zone:bt(e.zone,Ct.defaultZone),loc:gt.fromObject(e)});throw new M(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Qt(t))return new $s({ts:1e3*t,zone:bt(e.zone,Ct.defaultZone),loc:gt.fromObject(e)});throw new M("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const n=bt(e.zone,Ct.defaultZone);if(!n.isValid)return $s.invalid(rs(n));const s=gt.fromObject(e),r=be(t,Ss),{minDaysInFirstWeek:i,startOfWeek:a}=Ut(r,s),o=Ct.now(),u=Bt(e.specificOffset)?n.offset(o):e.specificOffset,c=!Bt(r.ordinal),h=!Bt(r.year),l=!Bt(r.month)||!Bt(r.day),d=h||l,m=r.weekYear||r.weekNumber;if((d||c)&&m)throw new b("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&c)throw new b("Can't mix ordinal dates with month/day");const f=m||r.weekday&&!d;let y,g,w=cs(o,u);f?(y=bs,g=ws,w=Yt(w,i,a)):c?(y=ks,g=ps,w=Rt(w)):(y=vs,g=gs);let p=!1;for(const t of y)Bt(r[t])?r[t]=p?g[t]:w[t]:p=!0;const v=f?function(t,e=4,n=1){const s=Xt(t.weekYear),r=re(t.weekNumber,1,ye(t.weekYear,e,n)),i=re(t.weekday,1,7);return s?r?!i&&_t("weekday",t.weekday):_t("week",t.weekNumber):_t("weekYear",t.weekYear)}(r,i,a):c?function(t){const e=Xt(t.year),n=re(t.ordinal,1,le(t.year));return e?!n&&_t("ordinal",t.ordinal):_t("year",t.year)}(r):Gt(r),k=v||Vt(r);if(k)return $s.invalid(k);const M=f?Pt(r,i,a):c?Jt(r):r,[S,D]=hs(M,u,n),N=new $s({ts:S,zone:n,o:D,loc:s});return r.weekday&&d&&t.weekday!==N.weekday?$s.invalid("mismatched weekday",`you can't specify both a weekday of ${r.weekday} and a date of ${N.toISO()}`):N.isValid?N:$s.invalid(N.invalid)}static fromISO(t,e={}){const[n,s]=function(t){return ze(t,[yn,vn],[gn,bn],[wn,kn],[pn,Mn])}(t);return ds(n,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[n,s]=function(t){return ze(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[un,cn])}(t);return ds(n,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[n,s]=function(t){return ze(t,[hn,mn],[ln,mn],[dn,fn])}(t);return ds(n,s,e,"HTTP",e)}static fromFormat(t,e,n={}){if(Bt(t)||Bt(e))throw new M("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:r=null}=n,i=gt.fromOpts({locale:s,numberingSystem:r,defaultToEN:!0}),[a,o,u,c]=function(t,e,n){const{result:s,zone:r,specificOffset:i,invalidReason:a}=ts(t,e,n);return[s,r,i,a]}(i,t,e);return c?$s.invalid(c):ds(a,o,n,`format ${e}`,t,u)}static fromString(t,e,n={}){return $s.fromFormat(t,e,n)}static fromSQL(t,e={}){const[n,s]=function(t){return ze(t,[Dn,vn],[Nn,Tn])}(t);return ds(n,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new M("need to specify a reason the DateTime is invalid");const n=t instanceof At?t:new At(t,e);if(Ct.throwOnInvalid)throw new w(n);return new $s({invalid:n})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const n=es(t,gt.fromObject(e));return n?n.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Xn(_e.parseFormat(t),gt.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){Es=void 0,xs.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?is(this).weekYear:NaN}get weekNumber(){return this.isValid?is(this).weekNumber:NaN}get weekday(){return this.isValid?is(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?as(this).weekday:NaN}get localWeekNumber(){return this.isValid?as(this).weekNumber:NaN}get localWeekYear(){return this.isValid?as(this).weekYear:NaN}get ordinal(){return this.isValid?Rt(this.c).ordinal:NaN}get monthShort(){return this.isValid?jn.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?jn.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?jn.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?jn.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=me(this.c),s=this.zone.offset(n-t),r=this.zone.offset(n+t),i=this.zone.offset(n-s*e),a=this.zone.offset(n-r*e);if(i===a)return[this];const o=n-i*e,u=n-a*e,c=cs(o,i),h=cs(u,a);return c.hour===h.hour&&c.minute===h.minute&&c.second===h.second&&c.millisecond===h.millisecond?[os(this,{ts:o}),os(this,{ts:u})]:[this]}get isInLeapYear(){return he(this.year)}get daysInMonth(){return de(this.year,this.month)}get daysInYear(){return this.isValid?le(this.year):NaN}get weeksInWeekYear(){return this.isValid?ye(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?ye(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:n,calendar:s}=_e.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:n,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(pt.instance(t),e)}toLocal(){return this.setZone(Ct.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:n=!1}={}){if((t=bt(t,Ct.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||n){const e=t.offset(this.ts),n=this.toObject();[s]=hs(n,e,t)}return os(this,{ts:s,zone:t})}return $s.invalid(rs(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:n}={}){return os(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=be(t,Ss),{minDaysInFirstWeek:n,startOfWeek:s}=Ut(e,this.loc),r=!Bt(e.weekYear)||!Bt(e.weekNumber)||!Bt(e.weekday),i=!Bt(e.ordinal),a=!Bt(e.year),o=!Bt(e.month)||!Bt(e.day);if((a||o||i)&&(e.weekYear||e.weekNumber))throw new b("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(o&&i)throw new b("Can't mix ordinal dates with month/day");let u;r?u=Pt({...Yt(this.c,n,s),...e},n,s):Bt(e.ordinal)?(u={...this.toObject(),...e},Bt(e.day)&&(u.day=Math.min(de(u.year,u.month),u.day))):u=Jt({...Rt(this.c),...e});const[c,h]=hs(u,this.o,this.zone);return os(this,{ts:c,o:h})}plus(t){return this.isValid?os(this,ls(this,Wn.fromDurationLike(t))):this}minus(t){return this.isValid?os(this,ls(this,Wn.fromDurationLike(t).negate())):this}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const n={},s=Wn.normalizeUnit(t);switch(s){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"===s)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"===s){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?_e.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):ns}toLocaleString(t=E,e={}){return this.isValid?_e.create(this.loc.clone(e),t).formatDateTime(this):ns}toLocaleParts(t={}){return this.isValid?_e.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:n=!1,includeOffset:s=!0,extendedZone:r=!1,precision:i="milliseconds"}={}){if(!this.isValid)return null;const a="extended"===t;let o=fs(this,a,i=Ms(i));return vs.indexOf(i)>=3&&(o+="T"),o+=ys(this,a,e,n,s,r,i),o}toISODate({format:t="extended",precision:e="day"}={}){return this.isValid?fs(this,"extended"===t,Ms(e)):null}toISOWeekDate(){return ms(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:n=!0,includePrefix:s=!1,extendedZone:r=!1,format:i="extended",precision:a="milliseconds"}={}){return this.isValid?(a=Ms(a),(s&&vs.indexOf(a)>=3?"T":"")+ys(this,"extended"===i,e,t,n,r,a)):null}toRFC2822(){return ms(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return ms(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?fs(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:n=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(n&&(s+=" "),e?s+="z":t&&(s+="ZZ")),ms(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():ns}[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 Wn.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...n},r=(o=e,Array.isArray(o)?o:[o]).map(Wn.normalizeUnit),i=t.valueOf()>this.valueOf(),a=function(t,e,n,s){let[r,i,a,o]=function(t,e,n){const s=[["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=Hn(t,e);return(n-n%7)/7}],["days",Hn]],r={},i=t;let a,o;for(const[u,c]of s)n.indexOf(u)>=0&&(a=u,r[u]=c(t,e),o=i.plus(r),o>e?(r[u]--,(t=i.plus(r))>e&&(o=t,r[u]--,t=i.plus(r))):t=o);return[t,r,o,a]}(t,e,n);const u=e-r,c=n.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===c.length&&(a<e&&(a=r.plus({[o]:1})),a!==r&&(i[o]=(i[o]||0)+u/(a-r)));const h=Wn.fromObject(i,s);return c.length>0?Wn.fromMillis(u,s).shiftTo(...c).plus(h):h}(i?this:t,i?t:this,r,s);var o;return i?a.negate():a}diffNow(t="milliseconds",e={}){return this.diff($s.now(),t,e)}until(t){return this.isValid?qn.fromDateTimes(this,t):this}hasSame(t,e,n){if(!this.isValid)return!1;const s=t.valueOf(),r=this.setZone(t.zone,{keepLocalTime:!0});return r.startOf(e,n)<=s&&s<=r.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||$s.fromObject({},{zone:this.zone}),n=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],r=t.unit;return Array.isArray(t.unit)&&(s=t.unit,r=void 0),Ns(e,this.plus(n),{...t,numeric:"always",units:s,unit:r})}toRelativeCalendar(t={}){return this.isValid?Ns(t.base||$s.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every($s.isDateTime))throw new M("min requires all arguments be DateTimes");return ee(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every($s.isDateTime))throw new M("max requires all arguments be DateTimes");return ee(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,n={}){const{locale:s=null,numberingSystem:r=null}=n;return ts(gt.fromOpts({locale:s,numberingSystem:r,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,n={}){return $s.fromFormatExplain(t,e,n)}static buildFormatParser(t,e={}){const{locale:n=null,numberingSystem:s=null}=e,r=gt.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0});return new Kn(r,t)}static fromFormatParser(t,e,n={}){if(Bt(t)||Bt(e))throw new M("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:r=null}=n,i=gt.fromOpts({locale:s,numberingSystem:r,defaultToEN:!0});if(!i.equals(e.locale))throw new M(`fromFormatParser called with a locale of ${i}, but the format parser was created for ${e.locale}`);const{result:a,zone:o,specificOffset:u,invalidReason:c}=e.explainFromTokens(t);return c?$s.invalid(c):ds(a,o,n,`format ${e.format}`,t,u)}static get DATE_SHORT(){return E}static get DATE_MED(){return x}static get DATE_MED_WITH_WEEKDAY(){return $}static get DATE_FULL(){return O}static get DATE_HUGE(){return I}static get TIME_SIMPLE(){return F}static get TIME_WITH_SECONDS(){return L}static get TIME_WITH_SHORT_OFFSET(){return C}static get TIME_WITH_LONG_OFFSET(){return A}static get TIME_24_SIMPLE(){return Z}static get TIME_24_WITH_SECONDS(){return W}static get TIME_24_WITH_SHORT_OFFSET(){return _}static get TIME_24_WITH_LONG_OFFSET(){return q}static get DATETIME_SHORT(){return j}static get DATETIME_SHORT_WITH_SECONDS(){return H}static get DATETIME_MED(){return z}static get DATETIME_MED_WITH_SECONDS(){return Y}static get DATETIME_MED_WITH_WEEKDAY(){return P}static get DATETIME_FULL(){return R}static get DATETIME_FULL_WITH_SECONDS(){return J}static get DATETIME_HUGE(){return U}static get DATETIME_HUGE_WITH_SECONDS(){return G}}function Os(t){if($s.isDateTime(t))return t;if(t&&t.valueOf&&Qt(t.valueOf()))return $s.fromJSDate(t);if(t&&"object"==typeof t)return $s.fromObject(t);throw new M(`Unknown datetime argument: ${t}, of type ${typeof t}`)}var Is={nextMonth:"Επόμενος μήνας",nextYears:"Επόμενα έτη",previousMonth:"Προηγούμενος μήνας",previousYears:"Προηγούμενα έτη"},Fs={nextMonth:"Next month",nextYears:"Next years",previousMonth:"Previous month",previousYears:"Previous years"},Ls={nextMonth:"Mes siguiente",nextYears:"Años siguientes",previousMonth:"Mes anterior",previousYears:"Años anteriores"},Cs={nextMonth:"Mese successivo",nextYears:"Anni successivi",previousMonth:"Mese precedente",previousYears:"Anni precedenti"};const As=t=>null!=t&&""!==t,Zs=t=>$s.fromISO(t).startOf("day"),Ws=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.datesEmitter=n(this,"mdsCalendarChange",7),this.navigationEmitter=n(this,"mdsCalendarNavigate",7),this.hoverEmitter=n(this,"mdsCalendarHover",7),this.checkPreselectionsEmitter=n(this,"mdsCalendarPreselect",7),this.t=new h({el:Is,en:Fs,es:Ls,it:Cs}),this.hasPreselection=!1,this.currentDate=$s.now(),this.weekDaysinMonth=[],this.weekdays=[],this.currentView="calendar",this.selectedYear=this.currentDate.year,this.singlePicker=!1,this.hidePreviousButton=!1,this.hideNextButton=!1,this.disableMonthYearSelection=!1,this.hidePreselection=!1,this.hideToday=!1,this.viewDate=null,this.hoverDate=null,this.startDate=null,this.endDate=null,this.min=null,this.max=null,this.internalStartDate=this.startDate,this.internalEndDate=this.endDate,this.pendingRangeProps=new Set,this.applyRangeProps=()=>{const t=this.pendingRangeProps;this.pendingRangeProps=new Set,t.has("start")&&(this.internalStartDate=this.parseDateProp(this.startDate,"start-date")),t.has("end")&&(this.singlePicker?(As(this.endDate)&&console.warn("singlePicker is enabled, endDate cannot be set"),this.internalEndDate=null):this.internalEndDate=this.parseDateProp(this.endDate,"end-date")),this.orderRange(),this.updateDates()},this.internalHoverDate=null,this.currentMonth="",this.currentYear="",this.updatePreselection=()=>{this.hasPreselection=u(this.host,"preselection")||null!==this.host.querySelector(".date-preselection--has-preselection")},this.handleMouseOver=t=>{const e=t.target;if(!e.matches("mds-calendar-cell")||!this.waitsForEnd())return;const n=e.getAttribute("date");null!==n&&""!==n&&(n!==this.internalHoverDate&&(this.internalHoverDate=n,requestAnimationFrame((()=>this.setDates()))),this.hoverEmitter.emit({hoverDate:n}))},this.handleMouseLeave=()=>{const t=null!==this.internalHoverDate;this.internalHoverDate=null,this.waitsForEnd()&&(t&&requestAnimationFrame((()=>this.setDates())),null!==this.hoverDate&&""!==this.hoverDate&&this.hoverEmitter.emit({hoverDate:null}))},this.singleMark=t=>t===this.internalStartDate?{selection:"single",preview:!1}:null,this.handleMonthActionClick=t=>{t.stopPropagation(),this.disableMonthYearSelection?t.preventDefault():(this.currentView="months"===this.currentView?"calendar":"months",requestAnimationFrame((()=>{this.updateCalendar().then((()=>this.setDates()))})))},this.handleYearActionClick=t=>{t.stopPropagation(),this.disableMonthYearSelection?t.preventDefault():(this.currentView="years"===this.currentView?"calendar":"years",requestAnimationFrame((()=>{this.updateCalendar().then((()=>this.setDates()))})))},this.handlePrev=t=>{"calendar"===this.currentView?(t.stopPropagation(),this.changeMonth(-1)):"years"===this.currentView?(t.stopPropagation(),this.selectedYear-=10):t.stopPropagation()},this.handleNext=t=>{"calendar"===this.currentView?(t.stopPropagation(),this.changeMonth(1)):"years"===this.currentView?(t.stopPropagation(),this.selectedYear+=10):t.stopPropagation()},this.handleCellClick=t=>e=>{e.stopPropagation(),this.singlePicker?this.handleSingleSelection(t):this.handleRange(t)},this.handleMonthSelect=t=>e=>{e.stopPropagation(),this.currentDate=this.currentDate.set({month:t}),this.currentMonth=this.currentDate.toFormat("MMMM"),this.currentView="calendar",this.updateCalendar().then((()=>{requestAnimationFrame((()=>this.setDates()))}))},this.handleYearSelect=t=>e=>{e.stopPropagation(),this.currentDate=this.currentDate.set({year:t}),this.currentYear=t.toString(),this.currentView="calendar",this.updateCalendar().then((()=>{requestAnimationFrame((()=>this.setDates()))}))}}handleStartDate(){this.queueRangeProps("start")}handleEndDate(){this.queueRangeProps("end")}handleViewDate(t){if(null!==t&&""!==t){const e=$s.fromISO(t.toString());e.isValid&&(this.currentDate=e,this.updateCalendar().then((()=>{requestAnimationFrame((()=>this.setDates()))})))}}handleHoverDate(){requestAnimationFrame((()=>this.setDates()))}queueRangeProps(t){0===this.pendingRangeProps.size&&queueMicrotask(this.applyRangeProps),this.pendingRangeProps.add(t)}orderRange(){const{internalStartDate:t,internalEndDate:e}=this;!As(t)||!As(e)||Zs(t)<=Zs(e)||(console.warn("mds-calendar: startDate is after endDate, swapping values"),this.internalStartDate=e,this.internalEndDate=t)}parseDateProp(t,e){if(null===t||""===t)return null;const n=o(t.toString());return null!==n&&$s.fromISO(n).isValid?$s.fromISO(n).toISODate():(console.warn(`mds-calendar: ignoring the invalid ${e} "${t}"`),null)}componentWillLoad(){if(this.internalStartDate=this.parseDateProp(this.internalStartDate,"start-date"),this.internalEndDate=this.parseDateProp(this.internalEndDate,"end-date"),this.singlePicker&&null!==this.internalEndDate&&(console.warn("singlePicker is enabled, endDate cannot be set"),this.internalEndDate=null),this.orderRange(),null!==this.viewDate&&""!==this.viewDate){const t=$s.fromISO(this.viewDate.toString());t.isValid&&(this.currentDate=t)}else null!==this.internalStartDate&&(this.currentDate=$s.fromISO(this.internalStartDate));this.updateCalendar()}componentDidLoad(){var t,e,n;this.updatePreselection(),null===(e=null===(t=this.host)||void 0===t?void 0:t.shadowRoot)||void 0===e||e.addEventListener("mouseover",this.handleMouseOver),null===(n=this.host)||void 0===n||n.addEventListener("mouseleave",this.handleMouseLeave),this.setDates()}disconnectedCallback(){var t,e,n;null===(e=null===(t=this.host)||void 0===t?void 0:t.shadowRoot)||void 0===e||e.removeEventListener("mouseover",this.handleMouseOver),null===(n=this.host)||void 0===n||n.removeEventListener("mouseleave",this.handleMouseLeave)}async updateCurrentDate(t){return this.currentDate=$s.fromISO(t),await this.updateCalendar(),await new Promise((t=>{requestAnimationFrame((()=>{this.setDates(),t()}))})),Promise.resolve()}waitsForEnd(){return!this.singlePicker&&As(this.internalStartDate)&&!As(this.internalEndDate)}resolveHoverDate(){return null!==this.hoverDate&&""!==this.hoverDate?this.hoverDate:this.internalHoverDate}resolveActiveEnd(){return As(this.internalStartDate)?"start"===this.activeEnd||"end"===this.activeEnd?this.activeEnd:As(this.internalEndDate)?"new":"end":"start"}nextRange(t){const e=t.toISODate(),n=this.internalStartDate,s=As(this.internalEndDate)?this.internalEndDate:null;switch(this.resolveActiveEnd()){case"end":return t<Zs(n)?{start:e,end:null}:{start:n,end:e};case"start":return null!==s&&t>Zs(s)?{start:e,end:null}:{start:e,end:s};default:return{start:e,end:null}}}updateDates(){this.updateCalendar().then((()=>{requestAnimationFrame((()=>this.setDates()))}))}async updateCalendar(){try{const t=this.currentDate.startOf("week");this.weekdays=Array.from({length:7}).map(((e,n)=>t.setLocale(a.state.language).plus({days:n}).toFormat("ccc"))),this.calculateWeekDaysInMonth(),this.currentMonth=this.currentDate.setLocale(a.state.language).toFormat("MMMM"),this.currentMonthNumber=this.currentDate.month,this.currentYear=this.currentDate.toFormat("yyyy")}catch(t){console.error("Error while updating the calendar:",t)}}setDates(){var t;const e=null===(t=this.host)||void 0===t?void 0:t.shadowRoot;if(!e)return;const n=this.singlePicker?this.singleMark:this.rangeMark();e.querySelectorAll("mds-calendar-cell").forEach((t=>{const e=t.getAttribute("date"),s=null!==e&&""!==e?n(e):null;if(null===s)return t.removeAttribute("selection"),void t.removeAttribute("preview");t.setAttribute("selection",s.selection),s.preview?t.setAttribute("preview","true"):t.removeAttribute("preview")}))}rangeMark(){const t=this.internalStartDate,e=this.internalEndDate;if(!As(t))return()=>null;if(As(e))return n=>n===t?{selection:n===e?"single":"start",preview:!1}:n===e?{selection:"end",preview:!1}:n>t&&n<e?{selection:"middle",preview:!1}:null;const n=this.resolveHoverDate(),s=null!==n?$s.fromISO(n).toISODate():null;return null===s||s===t?e=>e===t?{selection:"single",preview:!1}:null:"end"===this.resolveActiveEnd()&&s>t?e=>e===t?{selection:"start",preview:!0}:e===s?{selection:"end",preview:!0}:e>t&&e<s?{selection:"middle",preview:!0}:null:e=>e===t?{selection:"single",preview:!1}:e===s?{selection:"single",preview:!0}:null}changeMonth(t){this.currentDate=this.currentDate.plus({months:t}),this.updateCalendar().then((()=>{requestAnimationFrame((()=>this.setDates()))})),this.navigationEmitter.emit({currentDate:this.currentDate.toISODate(),delta:t})}calculateWeekDaysInMonth(){const t=this.currentDate.startOf("month"),e=this.currentDate.endOf("month"),n=[];for(let e=t.minus({days:t.weekday-1});e<t;e=e.plus({days:1}))n.push({date:e,isCurrentMonth:!1});for(let s=t;s<=e;s=s.plus({days:1}))n.push({date:s,isCurrentMonth:!0});const s=7-e.weekday,r=e.plus({days:1});for(let t=r;t<r.plus({days:s});t=t.plus({days:1}))n.push({date:t,isCurrentMonth:!1});this.weekDaysinMonth=n}handleRange(t){const{start:e,end:n}=this.nextRange(t);this.internalStartDate=e,this.internalEndDate=n,this.internalHoverDate=null,requestAnimationFrame((()=>this.setDates())),null!==n?(this.datesEmitter.emit({startDate:e,endDate:n}),this.checkPreselectionsEmitter.emit()):this.datesEmitter.emit({startDate:e})}handleSingleSelection(t){this.internalStartDate=t.toISODate(),requestAnimationFrame((()=>this.setDates())),this.datesEmitter.emit({startDate:this.internalStartDate})}isDateDisabled(t){return null!==this.min&&""!==this.min&&t<$s.fromISO(this.min)||null!==this.max&&""!==this.max&&t>$s.fromISO(this.max)||void 0}render(){return s(r,{key:"553733a8e185672af286e38f520343d31a74295e"},s("div",{key:"ff6472753b406ddabd5978ecf93e033e0420a0f5",class:c("calendar-preselection",this.hasPreselection&&!this.hidePreselection&&"calendar-preselection--has-preselection")},s("slot",{key:"c32031aeb206b2f4482536d248745161d40cedd1",name:"preselection",onSlotchange:this.updatePreselection})),s("div",{key:"fc39443ce348cc66002b8bdfc7a3d0d126ad51e8",class:"calendar-view"},s("nav",{key:"3f423e3c8925bd2e6214aca046272802c110b5c2","aria-label":`${this.currentMonth} ${this.currentYear}`},!this.hidePreviousButton&&s("mds-button",{key:"18a285d16deda8d252e6327bb308450d66158903","aria-label":this.t.get("years"===this.currentView?"previousYears":"previousMonth"),class:"action-back",disabled:"months"===this.currentView,icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M17.77 3.77L16 2L6 12l10 10l1.77-1.77L9.54 12z"/></svg>',variant:"dark",tone:"text",onClick:this.handlePrev}),s("div",{key:"40d91a85550daf4e12834ca2f981c879099ccb6e",class:"select-month-or-year"},("calendar"===this.currentView||"months"===this.currentView)&&s("mds-button",{key:"5ff2188025f281932f7364bb905abf1886f57db3",class:"action-month",truncate:"none",variant:"dark",tone:"text",label:this.currentMonth,onClick:this.handleMonthActionClick}),("calendar"===this.currentView||"years"===this.currentView)&&s("mds-button",{key:"ee6fd3711783581e7944f4c82e5f9f3c70ea6015",class:"action-year",truncate:"none",variant:"dark",tone:"text",label:this.currentYear,onClick:this.handleYearActionClick})),!this.hideNextButton&&s("mds-button",{key:"39572c81977a4ec39f2b16a324c1a0cbcc702b04","aria-label":this.t.get("years"===this.currentView?"nextYears":"nextMonth"),class:"action-forward",disabled:"months"===this.currentView,icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M6.23 20.23L8 22l10-10L8 2L6.23 3.77L14.46 12z"/></svg>',variant:"dark",tone:"text",onClick:this.handleNext})),"calendar"===this.currentView&&s("section",{key:"c397316dfaac319436d639973fa0e5f2a2fda1a0",class:"month-view"},s("header",{key:"9652c26cfb1a50328ff18458b01f9fc6ec3ca887",class:"month-view__days-names"},this.weekdays.map((t=>s("mds-button",{class:"week-day-name",variant:"dark",tone:"text",label:t})))),s("div",{key:"e0d0da46807022038e6322a4a30cb3c8726f44a1",class:"month-view__cells"},this.weekDaysinMonth.map(((t,e)=>s("mds-calendar-cell",{key:e,today:!this.hideToday&&$s.now().toFormat("yyyy-MM-dd")===t.date.toFormat("yyyy-MM-dd"),date:t.date.toFormat("yyyy-MM-dd"),month:t.isCurrentMonth?"current":"other",disabled:this.isDateDisabled(t.date),onClick:this.handleCellClick(t.date),title:t.date.setLocale(a.state.language).toFormat("cccc d LLLL").replace(/^./,(t=>t.toUpperCase())),label:t.date.toFormat("dd")}))))),"months"===this.currentView&&s("section",{key:"cda484e817636bc8362996d87e4db36e197cc770",class:"month-selection"},s("header",{key:"db5af602b73729139f13ac311cd01ee7b5586d51",class:"month-view__month-names"},Array.from({length:12}).map(((t,e)=>{const n=$s.local().set({month:e+1}).setLocale(a.state.language).toFormat("MMMM");return s("mds-button",{class:"action",variant:"dark",tone:"text",label:n,onClick:this.handleMonthSelect(e+1)})})))),"years"===this.currentView&&s("section",{key:"0b25774ef53d9e8f2c23644e0069e996ab4f918e",class:"year-selection"},s("header",{key:"0221982f94b753b14507186a693f61a215dfead9",class:"month-view__years"},Array.from({length:12}).map(((t,e)=>{const n=this.selectedYear+e;return s("mds-button",{class:"action",variant:"dark",tone:"text",label:`${n}`,onClick:this.handleYearSelect(n)})}))))))}get host(){return this}static get watchers(){return{startDate:[{handleStartDate:0}],endDate:[{handleEndDate:0}],viewDate:[{handleViewDate:0}],hoverDate:[{handleHoverDate:0}],activeEnd:[{handleHoverDate:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-calendar-cell):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-calendar-day-number-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-calendar-cell-gap:calc(var(--spacing,.0025rem)*50);--mds-calendar-cell-other-month-visibility:visible;--mds-calendar-border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));--mds-calendar-background:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));--mds-calendar-padding:calc(var(--spacing,.0025rem)*400);--mds-calendar-select-month-or-year-height:calc(var(--spacing,.0025rem)*900);--mds-calendar-select-month-or-year-width:calc(var(--spacing,.0025rem)*5600);--mds-calendar-max-width:calc(var(--spacing,.0025rem)*12000);background-color:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));border-radius:var(--mds-calendar-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)));corner-shape:var(--magma-corner-shape,squircle);cursor:auto;display:inline-flex;inline-size:100%;max-width:var(--mds-calendar-max-width,calc(var(--spacing,.0025rem)*12000));min-width:min-content;overflow:hidden}.calendar-view{background-color:var(--mds-calendar-background,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));border-radius:inherit;box-sizing:border-box;corner-shape:inherit;align-content:start;display:grid;flex:auto;width:100%}.calendar-preselection,.calendar-view{padding:var(--mds-calendar-padding,calc(var(--spacing,.0025rem)*400))}.calendar-preselection{display:none;gap:calc(var(--spacing,.0025rem)*50);grid-auto-rows:min-content}.calendar-preselection--has-preselection{display:grid}nav{display:flex;gap:calc(var(--spacing,.0025rem)*200);justify-content:space-between;min-width:0}.action{justify-content:left;min-width:min-content;padding-left:calc(var(--spacing,.0025rem)*200);padding-right:calc(var(--spacing,.0025rem)*200)}.action-back,.action-forward{flex-shrink:0}.select-month-or-year{background-color:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));block-size:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));border-radius:min(var(--mds-calendar-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px))),var(--magma-corner-cap,.5) * var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900)));box-sizing:border-box;corner-shape:var(--magma-corner-shape,squircle);align-items:stretch;display:flex;flex:0 0 var(--mds-calendar-select-month-or-year-width,calc(var(--spacing,.0025rem)*5600));height:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));inline-size:var(--mds-calendar-select-month-or-year-width,calc(var(--spacing,.0025rem)*5600));justify-content:flex-start;max-block-size:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));max-height:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));max-inline-size:var(--mds-calendar-select-month-or-year-width,calc(var(--spacing,.0025rem)*5600));min-block-size:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));min-height:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));min-inline-size:var(--mds-calendar-select-month-or-year-width,calc(var(--spacing,.0025rem)*5600));overflow:hidden}.action-month,.action-year{--mds-button-radius:0;align-self:stretch;block-size:100%;box-sizing:border-box;cursor:default;height:100%;max-block-size:100%;max-height:100%;min-block-size:0;min-height:0;padding-left:calc(var(--spacing,.0025rem)*200);padding-right:calc(var(--spacing,.0025rem)*200)}.action-month{flex:auto;min-width:0}.action-year{flex:0 0 calc(var(--spacing,.0025rem)*1800)}.action-month::part(label),.action-year::part(label){overflow:visible;text-overflow:clip;white-space:nowrap}.week-day-name{align-items:center;block-size:calc(var(--spacing,.0025rem)*1200);inline-size:100%;min-height:auto;padding:0}.month-view__cells,.month-view__days-names{display:grid;gap:var(--mds-calendar-cell-gap);grid-template-columns:repeat(7,minmax(1px,100%));min-width:0}.month-view{display:grid}.month-view__month-names,.month-view__years{display:grid;gap:var(--mds-calendar-cell-gap);grid-template-columns:repeat(3,minmax(1px,100%));min-width:0}"}},[257,"mds-calendar",{singlePicker:[4,"single-picker"],hidePreviousButton:[4,"hide-previous-button"],hideNextButton:[4,"hide-next-button"],disableMonthYearSelection:[4,"disable-month-year-selection"],hidePreselection:[4,"hide-preselection"],hideToday:[4,"hide-today"],viewDate:[513,"view-date"],hoverDate:[513,"hover-date"],startDate:[513,"start-date"],endDate:[513,"end-date"],activeEnd:[513,"active-end"],min:[513],max:[513],hasPreselection:[32],currentDate:[32],weekDaysinMonth:[32],weekdays:[32],currentView:[32],selectedYear:[32],internalStartDate:[32],internalEndDate:[32],currentMonth:[32],currentYear:[32],updateCurrentDate:[64]},void 0,{startDate:[{handleStartDate:0}],endDate:[{handleEndDate:0}],viewDate:[{handleViewDate:0}],hoverDate:[{handleHoverDate:0}],activeEnd:[{handleHoverDate:0}]}]);function _s(){"undefined"!=typeof customElements&&["mds-calendar","mds-button","mds-calendar-cell","mds-icon","mds-spinner","mds-text"].forEach((t=>{switch(t){case"mds-calendar":customElements.get(i(t))||customElements.define(i(t),Ws);break;case"mds-button":customElements.get(i(t))||l();break;case"mds-calendar-cell":customElements.get(i(t))||d();break;case"mds-icon":customElements.get(i(t))||m();break;case"mds-spinner":customElements.get(i(t))||f();break;case"mds-text":customElements.get(i(t))||y()}}))}export{$s as D,Ws as M,_s as d}
1
+ import{p as t,H as e,d as n,h as s,c as r,t as i}from"./p-ChCkQpXr.js";import{p as a}from"./p-BQJgPeCf.js";import{s as o}from"./p-CACEYk42.js";import{h as u}from"./p-DWIIDHSa.js";import{c}from"./p-ChV9xqsO.js";import{L as h}from"./p-B3t-yAT6.js";import{d as l}from"./p-BPnc1LgR.js";import{d}from"./p-DXksxnFe.js";import{d as m}from"./p-CbyfhFKK.js";import{d as f}from"./p-BwGJqBgv.js";import{d as y}from"./p-tI3q9MMi.js";class g extends Error{}class w extends g{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class p extends g{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class v extends g{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class b extends g{}class k extends g{constructor(t){super(`Invalid unit ${t}`)}}class M extends g{}class S extends g{constructor(){super("Zone is an abstract class")}}const D="numeric",N="short",T="long",E={year:D,month:D,day:D},x={year:D,month:N,day:D},$={year:D,month:N,day:D,weekday:N},O={year:D,month:T,day:D},I={year:D,month:T,day:D,weekday:T},F={hour:D,minute:D},L={hour:D,minute:D,second:D},C={hour:D,minute:D,second:D,timeZoneName:N},A={hour:D,minute:D,second:D,timeZoneName:T},W={hour:D,minute:D,hourCycle:"h23"},Z={hour:D,minute:D,second:D,hourCycle:"h23"},q={hour:D,minute:D,second:D,hourCycle:"h23",timeZoneName:N},_={hour:D,minute:D,second:D,hourCycle:"h23",timeZoneName:T},j={year:D,month:D,day:D,hour:D,minute:D},H={year:D,month:D,day:D,hour:D,minute:D,second:D},z={year:D,month:N,day:D,hour:D,minute:D},P={year:D,month:N,day:D,hour:D,minute:D,second:D},R={year:D,month:N,day:D,weekday:N,hour:D,minute:D},Y={year:D,month:T,day:D,hour:D,minute:D,timeZoneName:N},J={year:D,month:T,day:D,hour:D,minute:D,second:D,timeZoneName:N},U={year:D,month:T,day:D,weekday:T,hour:D,minute:D,timeZoneName:T},G={year:D,month:T,day:D,weekday:T,hour:D,minute:D,second:D,timeZoneName:T};class V{get type(){throw new S}get name(){throw new S}get ianaName(){return this.name}get isUniversal(){throw new S}offsetName(t,e){throw new S}formatOffset(t,e){throw new S}offset(t){throw new S}equals(t){throw new S}get isValid(){throw new S}}let B=null;class Q extends V{static get instance(){return null===B&&(B=new Q),B}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:n}){return we(t,e,n)}formatOffset(t,e){return ke(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const K=new Map,X={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6},tt=new Map;class et extends V{static create(t){let e=tt.get(t);return void 0===e&&tt.set(t,e=new et(t)),e}static resetCache(){tt.clear(),K.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=et.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:n}){return we(t,e,n,this.name)}formatOffset(t,e){return ke(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=K.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"}),K.set(t,e)),e}(this.name);let[s,r,i,a,o,u,c]=n.formatToParts?function(t,e){const n=t.formatToParts(e),s=[];for(let t=0;t<n.length;t++){const{type:e,value:r}=n[t],i=X[e];"era"===e?s[i]=r:Bt(i)||(s[i]=parseInt(r,10))}return s}(n,e):function(t,e){const n=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,r,i,a,o,u,c,h]=s;return[a,r,i,o,u,c,h]}(n,e);"BC"===a&&(s=1-Math.abs(s));let h=+e;const l=h%1e3;return h-=l>=0?l:1e3+l,(me({year:s,month:r,day:i,hour:24===o?0:o,minute:u,second:c,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let nt={};const st=new Map;function rt(t,e={}){const n=JSON.stringify([t,e]);let s=st.get(n);return void 0===s&&(s=new Intl.DateTimeFormat(t,e),st.set(n,s)),s}const it=new Map,at=new Map;let ot=null;const ut=new Map;function ct(t){let e=ut.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),ut.set(t,e)),e}const ht=new Map;function lt(t,e,n,s){const r=t.listingMode();return"error"===r?null:"en"===r?n(e):s(e)}class dt{constructor(t,e,n){this.padTo=n.padTo||0,this.floor=n.floor||!1;const{padTo:s,floor:r,...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 s=it.get(n);return void 0===s&&(s=new Intl.NumberFormat(t,e),it.set(n,s)),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return ie(this.floor?Math.floor(t):ce(t,3),this.padTo)}}class mt{constructor(t,e,n){let s;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&&et.create(n).valid?(s=n,this.dt=t):(s="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,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const r={...this.opts};r.timeZone=r.timeZone||s,this.dtf=rt(e,r)}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 ft{constructor(t,e,n){this.opts={style:"long",...n},!e&&Xt()&&(this.rtf=function(t,e={}){const{base:n,...s}=e,r=JSON.stringify([t,s]);let i=at.get(r);return void 0===i&&(i=new Intl.RelativeTimeFormat(t,e),at.set(r,i)),i}(t,n))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,n="always",s=!1){const r={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 ${r[t][0]}`;case-1:return n?"yesterday":`last ${r[t][0]}`;case 0:return n?"today":`this ${r[t][0]}`}}const a=Object.is(e,-0)||e<0,o=Math.abs(e),u=1===o,c=r[t],h=s?u?c[1]:c[2]||c[1]:u?r[t][0]:t;return a?`${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 yt={firstDay:1,minimalDays:4,weekend:[6,7]};class gt{static fromOpts(t){return gt.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,n,s,r=!1){const i=t||Ct.defaultLocale,a=i||(r?"en-US":ot||(ot=(new Intl.DateTimeFormat).resolvedOptions().locale,ot)),o=e||Ct.defaultNumberingSystem,u=n||Ct.defaultOutputCalendar,c=se(s)||Ct.defaultWeekSettings;return new gt(a,o,u,c,i)}static resetCache(){ot=null,st.clear(),it.clear(),at.clear(),ut.clear(),ht.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:n,weekSettings:s}={}){return gt.create(t,e,n,s)}constructor(t,e,n,s,r){const[i,a,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,s;try{e=rt(t).resolvedOptions(),s=t}catch(r){const i=t.substring(0,n);e=rt(i).resolvedOptions(),s=i}const{numberingSystem:r,calendar:i}=e;return[s,r,i]}}(t);this.locale=i,this.numberingSystem=e||a||null,this.outputCalendar=n||o||null,this.weekSettings=s,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=r,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"===ct(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?gt.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,se(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 lt(this,t,Te,(()=>{const n="ja"===this.intl||this.intl.startsWith("ja-"),s=(e&=!n)?{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 s=$s.utc(2009,n,1);e.push(t(s))}return e}(n?t=>this.dtFormatter(t,s).format():t=>this.extract(t,s,"month"))),this.monthsCache[r][t]}))}weekdays(t,e=!1){return lt(this,t,Oe,(()=>{const n=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let n=1;n<=7;n++){const s=$s.utc(2016,11,13+n);e.push(t(s))}return e}((t=>this.extract(t,n,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return lt(this,void 0,(()=>Ie),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[$s.utc(2016,11,13,9),$s.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return lt(this,t,Ae,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[$s.utc(-40,1,1),$s.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,n){const s=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===n));return s?s.value:null}numberFormatter(t={}){return new dt(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new mt(t,this.intl,e)}relFormatter(t={}){return new ft(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const n=JSON.stringify([t,e]);let s=nt[n];return s||(s=new Intl.ListFormat(t,e),nt[n]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||ct(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:te()?function(t){let e=ht.get(t);if(!e){const n=new Intl.Locale(t);e="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,"minimalDays"in e||(e={...yt,...e}),ht.set(t,e)}return e}(this.locale):yt}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 wt=null;class pt extends V{static get utcInstance(){return null===wt&&(wt=new pt(0)),wt}static instance(t){return 0===t?pt.utcInstance:new pt(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new pt(pe(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${ke(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${ke(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return ke(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 vt extends V{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 bt(t,e){if(Bt(t)||null===t)return e;if(t instanceof V)return t;if("string"==typeof t){const n=t.toLowerCase();return"default"===n?e:"local"===n||"system"===n?Q.instance:"utc"===n||"gmt"===n?pt.utcInstance:pt.parseSpecifier(n)||et.create(t)}return Qt(t)?pt.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new vt(t)}const kt={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Mt={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]},St=kt.hanidec.replace(/[\[|\]]/g,"").split(""),Dt=new Map;function Nt({numberingSystem:t},e=""){const n=t||"latn";let s=Dt.get(n);void 0===s&&(s=new Map,Dt.set(n,s));let r=s.get(e);return void 0===r&&(r=new RegExp(`${kt[n]}${e}`),s.set(e,r)),r}let Tt,Et=()=>Date.now(),xt="system",$t=null,Ot=null,It=null,Ft=60,Lt=null;class Ct{static get now(){return Et}static set now(t){Et=t}static set defaultZone(t){xt=t}static get defaultZone(){return bt(xt,Q.instance)}static get defaultLocale(){return $t}static set defaultLocale(t){$t=t}static get defaultNumberingSystem(){return Ot}static set defaultNumberingSystem(t){Ot=t}static get defaultOutputCalendar(){return It}static set defaultOutputCalendar(t){It=t}static get defaultWeekSettings(){return Lt}static set defaultWeekSettings(t){Lt=se(t)}static get twoDigitCutoffYear(){return Ft}static set twoDigitCutoffYear(t){Ft=t%100}static get throwOnInvalid(){return Tt}static set throwOnInvalid(t){Tt=t}static resetCaches(){gt.resetCache(),et.resetCache(),$s.resetCache(),Dt.clear()}}class At{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Wt=[0,31,59,90,120,151,181,212,243,273,304,334],Zt=[0,31,60,91,121,152,182,213,244,274,305,335];function qt(t,e){return new At("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function _t(t,e,n){const s=new Date(Date.UTC(t,e-1,n));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const r=s.getUTCDay();return 0===r?7:r}function jt(t,e,n){return n+(he(t)?Zt:Wt)[e-1]}function Ht(t,e){const n=he(t)?Zt:Wt,s=n.findIndex((t=>t<e));return{month:s+1,day:e-n[s]}}function zt(t,e){return(t-e+7)%7+1}function Pt(t,e=4,n=1){const{year:s,month:r,day:i}=t,a=jt(s,r,i),o=zt(_t(s,r,i),n);let u,c=Math.floor((a-o+14-e)/7);return c<1?(u=s-1,c=ye(u,e,n)):c>ye(s,e,n)?(u=s+1,c=1):u=s,{weekYear:u,weekNumber:c,weekday:o,...Me(t)}}function Rt(t,e=4,n=1){const{weekYear:s,weekNumber:r,weekday:i}=t,a=zt(_t(s,1,e),n),o=le(s);let u,c=7*r+i-a-7+e;c<1?(u=s-1,c+=le(u)):c>o?(u=s+1,c-=le(s)):u=s;const{month:h,day:l}=Ht(u,c);return{year:u,month:h,day:l,...Me(t)}}function Yt(t){const{year:e,month:n,day:s}=t;return{year:e,ordinal:jt(e,n,s),...Me(t)}}function Jt(t){const{year:e,ordinal:n}=t,{month:s,day:r}=Ht(e,n);return{year:e,month:s,day:r,...Me(t)}}function Ut(t,e){if(!Bt(t.localWeekday)||!Bt(t.localWeekNumber)||!Bt(t.localWeekYear)){if(!Bt(t.weekday)||!Bt(t.weekNumber)||!Bt(t.weekYear))throw new b("Cannot mix locale-based week fields with ISO-based week fields");return Bt(t.localWeekday)||(t.weekday=t.localWeekday),Bt(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Bt(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 Gt(t){const e=Kt(t.year),n=re(t.month,1,12),s=re(t.day,1,de(t.year,t.month));return e?n?!s&&qt("day",t.day):qt("month",t.month):qt("year",t.year)}function Vt(t){const{hour:e,minute:n,second:s,millisecond:r}=t,i=re(e,0,23)||24===e&&0===n&&0===s&&0===r,a=re(n,0,59),o=re(s,0,59),u=re(r,0,999);return i?a?o?!u&&qt("millisecond",r):qt("second",s):qt("minute",n):qt("hour",e)}function Bt(t){return void 0===t}function Qt(t){return"number"==typeof t}function Kt(t){return"number"==typeof t&&t%1==0}function Xt(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function te(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function ee(t,e,n){if(0!==t.length)return t.reduce(((t,s)=>{const r=[e(s),s];return t&&n(t[0],r[0])===t[0]?t:r}),null)[1]}function ne(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function se(t){if(null==t)return null;if("object"!=typeof t)throw new M("Week settings must be an object");if(!re(t.firstDay,1,7)||!re(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!re(t,1,7))))throw new M("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function re(t,e,n){return Kt(t)&&t>=e&&t<=n}function ie(t,e=2){let n;return n=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),n}function ae(t){return Bt(t)||null===t||""===t?void 0:parseInt(t,10)}function oe(t){return Bt(t)||null===t||""===t?void 0:parseFloat(t)}function ue(t){if(!Bt(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function ce(t,e,n="round"){const s=10**e;switch(n){case"expand":return t>0?Math.ceil(t*s)/s:Math.floor(t*s)/s;case"trunc":return Math.trunc(t*s)/s;case"round":return Math.round(t*s)/s;case"floor":return Math.floor(t*s)/s;case"ceil":return Math.ceil(t*s)/s;default:throw new RangeError(`Value rounding ${n} is out of range`)}}function he(t){return t%4==0&&(t%100!=0||t%400==0)}function le(t){return he(t)?366:365}function de(t,e){const n=(s=e-1)-12*Math.floor(s/12)+1;var s;return 2===n?he(t+(e-n)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function me(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 fe(t,e,n){return-zt(_t(t,1,e),n)+e-1}function ye(t,e=4,n=1){const s=fe(t,e,n),r=fe(t+1,e,n);return(le(t)-s+r)/7}function ge(t){return t>99?t:t>Ct.twoDigitCutoffYear?1900+t:2e3+t}function we(t,e,n,s=null){const r=new Date(t),i={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(i.timeZone=s);const a={timeZoneName:e,...i},o=new Intl.DateTimeFormat(n,a).formatToParts(r).find((t=>"timezonename"===t.type.toLowerCase()));return o?o.value:null}function pe(t,e){let n=parseInt(t,10);Number.isNaN(n)&&(n=0);const s=parseInt(e,10)||0;return 60*n+(n<0||Object.is(n,-0)?-s:s)}function ve(t){const e=Number(t);if("boolean"==typeof t||""===t||!Number.isFinite(e))throw new M(`Invalid unit value ${t}`);return e}function be(t,e){const n={};for(const s in t)if(ne(t,s)){const r=t[s];if(null==r)continue;n[e(s)]=ve(r)}return n}function ke(t,e){const n=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),r=t>=0?"+":"-";switch(e){case"short":return`${r}${ie(n,2)}:${ie(s,2)}`;case"narrow":return`${r}${n}${s>0?`:${s}`:""}`;case"techie":return`${r}${ie(n,2)}${ie(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Me(t){return function(t){return["hour","minute","second","millisecond"].reduce(((e,n)=>(e[n]=t[n],e)),{})}(t)}const Se=["January","February","March","April","May","June","July","August","September","October","November","December"],De=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ne=["J","F","M","A","M","J","J","A","S","O","N","D"];function Te(t){switch(t){case"narrow":return[...Ne];case"short":return[...De];case"long":return[...Se];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 Ee=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],xe=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],$e=["M","T","W","T","F","S","S"];function Oe(t){switch(t){case"narrow":return[...$e];case"short":return[...xe];case"long":return[...Ee];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Ie=["AM","PM"],Fe=["Before Christ","Anno Domini"],Le=["BC","AD"],Ce=["B","A"];function Ae(t){switch(t){case"narrow":return[...Ce];case"short":return[...Le];case"long":return[...Fe];default:return null}}function We(t,e){let n="";for(const s of t)n+=s.literal?s.val:e(s.val);return n}const Ze={D:E,DD:x,DDD:O,DDDD:I,t:F,tt:L,ttt:C,tttt:A,T:W,TT:Z,TTT:q,TTTT:_,f:j,ff:z,fff:Y,ffff:U,F:H,FF:P,FFF:J,FFFF:G};class qe{static create(t,e={}){return new qe(t,e)}static parseFormat(t){let e=null,n="",s=!1;const r=[];for(let i=0;i<t.length;i++){const a=t.charAt(i);"'"===a?((n.length>0||s)&&r.push({literal:s||/^\s+$/.test(n),val:""===n?"'":n}),e=null,n="",s=!s):s||a===e?n+=a:(n.length>0&&r.push({literal:/^\s+$/.test(n),val:n}),n=a,e=a)}return n.length>0&&r.push({literal:s||/^\s+$/.test(n),val:n}),r}static macroTokenToFormatOpts(t){return Ze[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,n){if(this.opts.forceSimple)return ie(t,e);const s={...this.opts};return e>0&&(s.padTo=e),n&&(s.signDisplay=n),this.loc.numberFormatter(s).format(t)}formatDateTimeFromString(t,e){const n="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,r=(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):"",a=(e,s)=>n?function(t,e){return Te(e)[t.month-1]}(t,e):r(s?{month:e}:{month:e,day:"numeric"},"month"),o=(e,s)=>n?function(t,e){return Oe(e)[t.weekday-1]}(t,e):r(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const n=qe.macroTokenToFormatOpts(e);return n?this.formatWithSystemDefault(t,n):e},c=e=>n?function(t,e){return Ae(e)[t.year<0?0:1]}(t,e):r({era:e},"era");return We(qe.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 Ie[t.hour<12?0:1]}(t):r({hour:"numeric",hourCycle:"h12"},"dayperiod");case"d":return s?r({day:"numeric"},"day"):this.num(t.day);case"dd":return s?r({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 s?r({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?r({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?r({month:"numeric"},"month"):this.num(t.month);case"MM":return s?r({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?r({year:"numeric"},"year"):this.num(t.year);case"yy":return s?r({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?r({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?r({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 u(e)}}))}formatDurationFromString(t,e){const n="negativeLargestOnly"===this.opts.signMode?-1:1,s=t=>{switch(t[0]){case"S":return"milliseconds";case"s":return"seconds";case"m":return"minutes";case"h":return"hours";case"d":return"days";case"w":return"weeks";case"M":return"months";case"y":return"years";default:return null}},r=qe.parseFormat(e),i=r.reduce(((t,{literal:e,val:n})=>e?t:t.concat(n)),[]),a=t.shiftTo(...i.map(s).filter((t=>t)));return We(r,((t,e)=>r=>{const i=s(r);if(i){const s=e.isNegativeDuration&&i!==e.largestUnit?n:1;let a;return a="negativeLargestOnly"===this.opts.signMode&&i!==e.largestUnit?"never":"all"===this.opts.signMode?"always":"auto",this.num(t.get(i)*s,r.length,a)}return r})(a,{isNegativeDuration:a<0,largestUnit:Object.keys(a.values)[0]}))}}const _e=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function je(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function He(...t){return e=>t.reduce((([t,n,s],r)=>{const[i,a,o]=r(e,s);return[{...t,...i},a||n,o]}),[{},null,1]).slice(0,2)}function ze(t,...e){if(null==t)return[null,null];for(const[n,s]of e){const e=n.exec(t);if(e)return s(e)}return[null,null]}function Pe(...t){return(e,n)=>{const s={};let r;for(r=0;r<t.length;r++)s[t[r]]=ae(e[n+r]);return[s,null,n+r]}}const Re=/(?:([Zz])|([+-]\d\d)(?::?(\d\d))?)/,Ye=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Je=RegExp(`${Ye.source}(?:${Re.source}?(?:\\[(${_e.source})\\])?)?`),Ue=RegExp(`(?:[Tt]${Je.source})?`),Ge=Pe("weekYear","weekNumber","weekDay"),Ve=Pe("year","ordinal"),Be=RegExp(`${Ye.source} ?(?:${Re.source}|(${_e.source}))?`),Qe=RegExp(`(?: ${Be.source})?`);function Ke(t,e,n){const s=t[e];return Bt(s)?n:ae(s)}function Xe(t,e){return[{hours:Ke(t,e,0),minutes:Ke(t,e+1,0),seconds:Ke(t,e+2,0),milliseconds:ue(t[e+3])},null,e+4]}function tn(t,e){const n=!t[e]&&!t[e+1],s=pe(t[e+1],t[e+2]);return[{},n?null:pt.instance(s),e+3]}function en(t,e){return[{},t[e]?et.create(t[e]):null,e+1]}const nn=RegExp(`^T?${Ye.source}$`),sn=/^-?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 rn(t){const[e,n,s,r,i,a,o,u,c]=t,h="-"===e[0],l=u&&"-"===u[0],d=(t,e=!1)=>void 0!==t&&(e||t&&h)?-t:t;return[{years:d(oe(n)),months:d(oe(s)),weeks:d(oe(r)),days:d(oe(i)),hours:d(oe(a)),minutes:d(oe(o)),seconds:d(oe(u),"-0"===u),milliseconds:d(ue(c),l)}]}const an={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function on(t,e,n,s,r,i,a){const o={year:2===e.length?ge(ae(e)):ae(e),month:De.indexOf(n)+1,day:ae(s),hour:ae(r),minute:ae(i)};return a&&(o.second=ae(a)),t&&(o.weekday=t.length>3?Ee.indexOf(t)+1:xe.indexOf(t)+1),o}const un=/^(?:(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 cn(t){const[,e,n,s,r,i,a,o,u,c,h,l]=t,d=on(e,r,s,n,i,a,o);let m;return m=u?an[u]:c?0:pe(h,l),[d,new pt(m)]}const hn=/^(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$/,ln=/^(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$/,dn=/^(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 mn(t){const[,e,n,s,r,i,a,o]=t;return[on(e,r,s,n,i,a,o),pt.utcInstance]}function fn(t){const[,e,n,s,r,i,a,o]=t;return[on(e,o,n,s,r,i,a),pt.utcInstance]}const yn=je(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Ue),gn=je(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Ue),wn=je(/(\d{4})-?(\d{3})/,Ue),pn=je(Je),vn=He((function(t,e){return[{year:Ke(t,e),month:Ke(t,e+1,1),day:Ke(t,e+2,1)},null,e+3]}),Xe,tn,en),bn=He(Ge,Xe,tn,en),kn=He(Ve,Xe,tn,en),Mn=He(Xe,tn,en),Sn=He(Xe),Dn=je(/(\d{4})-(\d\d)-(\d\d)/,Qe),Nn=je(Be),Tn=He(Xe,tn,en),En="Invalid Duration",xn={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}},$n={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},...xn},On={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},...xn},In=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Fn=In.slice(0).reverse();function Ln(t,e,n=!1){const s={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 Zn(s)}function Cn(t,e){let n=e.milliseconds??0;for(const s of Fn.slice(1))e[s]&&(n+=e[s]*t[s].milliseconds);return n}function An(t,e){const n=Cn(t,e)<0?-1:1;In.reduceRight(((s,r)=>{if(Bt(e[r]))return s;if(s){const i=t[r][s],a=Math.floor(e[s]*n/i);e[r]+=a*n,e[s]-=a*i*n}return r}),null),In.reduce(((n,s)=>{if(Bt(e[s]))return n;if(n){const r=e[n]%1;e[n]-=r,e[s]+=r*t[n][s]}return s}),null)}function Wn(t){const e={};for(const[n,s]of Object.entries(t))0!==s&&(e[n]=s);return e}class Zn{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let n=e?On:$n;t.matrix&&(n=t.matrix),this.values=t.values,this.loc=t.loc||gt.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=n,this.isLuxonDuration=!0}static fromMillis(t,e){return Zn.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new M("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new Zn({values:be(t,Zn.normalizeUnit),loc:gt.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Qt(t))return Zn.fromMillis(t);if(Zn.isDuration(t))return t;if("object"==typeof t)return Zn.fromObject(t);throw new M(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[n]=function(t){return ze(t,[sn,rn])}(t);return n?Zn.fromObject(n,e):Zn.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[n]=function(t){return ze(t,[nn,Sn])}(t);return n?Zn.fromObject(n,e):Zn.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new M("need to specify a reason the Duration is invalid");const n=t instanceof At?t:new At(t,e);if(Ct.throwOnInvalid)throw new v(n);return new Zn({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 k(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?qe.create(this.loc,n).formatDurationFromString(this,t):En}toHuman(t={}){if(!this.isValid)return En;const e=!1!==t.showZeros,n=In.map((n=>{const s=this.values[n];return Bt(s)||0===s&&!e?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:n.slice(0,-1)}).format(s)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(n)}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+=ce(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},$s.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?Cn(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=Zn.fromDurationLike(t),n={};for(const t of In)(ne(e.values,t)||ne(this.values,t))&&(n[t]=e.get(t)+this.get(t));return Ln(this,{values:n},!0)}minus(t){if(!this.isValid)return this;const e=Zn.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]=ve(t(this.values[n],n));return Ln(this,{values:e},!0)}get(t){return this[Zn.normalizeUnit(t)]}set(t){return this.isValid?Ln(this,{values:{...this.values,...be(t,Zn.normalizeUnit)}}):this}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:n,matrix:s}={}){return Ln(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:n})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return An(this.matrix,t),Ln(this,{values:t},!0)}rescale(){return this.isValid?Ln(this,{values:Wn(this.normalize().shiftToAll().toObject())},!0):this}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>Zn.normalizeUnit(t)));const e={},n={},s=this.toObject();let r;for(const i of In)if(t.indexOf(i)>=0){r=i;let t=0;for(const e in n)t+=this.matrix[e][i]*n[e],n[e]=0;Qt(s[i])&&(t+=s[i]);const a=Math.trunc(t);e[i]=a,n[i]=(1e3*t-1e3*a)/1e3}else Qt(s[i])&&(n[i]=s[i]);for(const t in n)0!==n[t]&&(e[r]+=t===r?n[t]:n[t]/this.matrix[r][t]);return An(this.matrix,e),Ln(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 Ln(this,{values:t},!0)}removeZeros(){return this.isValid?Ln(this,{values:Wn(this.values)},!0):this}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 s of In)if(n=t.values[s],!(void 0===(e=this.values[s])||0===e?void 0===n||0===n:e===n))return!1;var e,n;return!0}}const qn="Invalid Interval";class _n{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 M("need to specify a reason the Interval is invalid");const n=t instanceof At?t:new At(t,e);if(Ct.throwOnInvalid)throw new p(n);return new _n({invalid:n})}static fromDateTimes(t,e){const n=Os(t),s=Os(e),r=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?_n.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:_n.invalid("missing or invalid end"):_n.invalid("missing or invalid start")}(n,s);return null==r?new _n({start:n,end:s}):r}static after(t,e){const n=Zn.fromDurationLike(e),s=Os(t);return _n.fromDateTimes(s,s.plus(n))}static before(t,e){const n=Zn.fromDurationLike(e),s=Os(t);return _n.fromDateTimes(s.minus(n),s)}static fromISO(t,e){const[n,s]=(t||"").split("/",2);if(n&&s){let t,r,i,a;try{t=$s.fromISO(n,e),r=t.isValid}catch(s){r=!1}try{i=$s.fromISO(s,e),a=i.isValid}catch(s){a=!1}if(r&&a)return _n.fromDateTimes(t,i);if(r){const n=Zn.fromISO(s,e);if(n.isValid)return _n.after(t,n)}else if(a){const t=Zn.fromISO(n,e);if(t.isValid)return _n.before(i,t)}}return _n.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 s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:n.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(n,t).get(t))+(s.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?_n.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(Os).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),n=[];let{s}=this,r=0;for(;s<this.e;){const t=e[r]||this.e,i=+t>+this.e?this.e:t;n.push(_n.fromDateTimes(s,i)),s=i,r+=1}return n}splitBy(t){const e=Zn.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let n,{s}=this,r=1;const i=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits((t=>t*r)));n=+t>+this.e?this.e:t,i.push(_n.fromDateTimes(s,n)),s=n,r+=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:_n.fromDateTimes(e,n)}union(t){return this.isValid?_n.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 s=[],r=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),i=Array.prototype.concat(...r).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&&s.push(_n.fromDateTimes(e,t.time)),e=null);return _n.merge(s)}difference(...t){return _n.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:qn}[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=E,e={}){return this.isValid?qe.create(this.s.loc.clone(e),t).formatInterval(this):qn}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:qn}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:qn}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:qn}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:qn}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):Zn.invalid(this.invalidReason)}mapEndpoints(t){return _n.fromDateTimes(t(this.s),t(this.e))}}class jn{static hasDST(t=Ct.defaultZone){const e=$s.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return et.isValidZone(t)}static normalizeZone(t){return bt(t,Ct.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||gt.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||gt.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||gt.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:n=null,locObj:s=null,outputCalendar:r="gregory"}={}){return(s||gt.create(e,n,r)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:n=null,locObj:s=null,outputCalendar:r="gregory"}={}){return(s||gt.create(e,n,r)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:n=null,locObj:s=null}={}){return(s||gt.create(e,n,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:n=null,locObj:s=null}={}){return(s||gt.create(e,n,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return gt.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return gt.create(e,null,"gregory").eras(t)}static features(){return{relative:Xt(),localeWeek:te()}}}function Hn(t,e){const n=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=n(e)-n(t);return Math.floor(Zn.fromMillis(s).as("days"))}function zn(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 s=t.charCodeAt(n);if(-1!==t[n].search(kt.hanidec))e+=St.indexOf(t[n]);else for(const t in Mt){const[n,r]=Mt[t];s>=n&&s<=r&&(e+=s-n)}}return parseInt(e,10)}return e}(t))}}const Pn=`[ ${String.fromCharCode(160)}]`,Rn=new RegExp(Pn,"g");function Yn(t){return t.replace(/\./g,"\\.?").replace(Rn,Pn)}function Jn(t){return t.replace(/\./g,"").replace(Rn," ").toLowerCase()}function Un(t,e){return null===t?null:{regex:RegExp(t.map(Yn).join("|")),deser:([n])=>t.findIndex((t=>Jn(n)===Jn(t)))+e}}function Gn(t,e){return{regex:t,deser:([,t,e])=>pe(t,e),groups:e}}function Vn(t){return{regex:t,deser:([t])=>t}}const Bn={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 Qn=null;function Kn(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const n=es(qe.macroTokenToFormatOpts(t.val),e);return null==n||n.includes(void 0)?t:n}(t,e))))}class Xn{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Kn(qe.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const n=Nt(e),s=Nt(e,"{2}"),r=Nt(e,"{3}"),i=Nt(e,"{4}"),a=Nt(e,"{6}"),o=Nt(e,"{1,2}"),u=Nt(e,"{1,3}"),c=Nt(e,"{1,6}"),h=Nt(e,"{1,9}"),l=Nt(e,"{2,4}"),d=Nt(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 Un(e.eras("short"),0);case"GG":return Un(e.eras("long"),0);case"y":return zn(c);case"yy":case"kk":return zn(l,ge);case"yyyy":case"kkkk":return zn(i);case"yyyyy":return zn(d);case"yyyyyy":return zn(a);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return zn(o);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return zn(s);case"MMM":return Un(e.months("short",!0),1);case"MMMM":return Un(e.months("long",!0),1);case"LLL":return Un(e.months("short",!1),1);case"LLLL":return Un(e.months("long",!1),1);case"o":case"S":return zn(u);case"ooo":case"SSS":return zn(r);case"u":return Vn(h);case"uu":return Vn(o);case"uuu":case"E":case"c":return zn(n);case"a":return Un(e.meridiems(),0);case"EEE":return Un(e.weekdays("short",!1),1);case"EEEE":return Un(e.weekdays("long",!1),1);case"ccc":return Un(e.weekdays("short",!0),1);case"cccc":return Un(e.weekdays("long",!0),1);case"Z":case"ZZ":return Gn(new RegExp(`([+-]${o.source})(?::(${s.source}))?`),2);case"ZZZ":return Gn(new RegExp(`([+-]${o.source})(${s.source})?`),2);case"z":return Vn(/[a-z_+-/]{1,256}?/i);case" ":return Vn(/[^\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 s=t.match(e);if(s){const t={};let e=1;for(const r in n)if(ne(n,r)){const i=n[r],a=i.groups?i.groups+1:1;!i.literal&&i.token&&(t[i.token.val[0]]=i.deser(s.slice(e,e+a))),e+=a}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,r,i]=n?function(t){let e,n=null;return Bt(t.z)||(n=et.create(t.z)),Bt(t.Z)||(n||(n=new pt(t.Z)),e=t.Z),Bt(t.q)||(t.M=3*(t.q-1)+1),Bt(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),Bt(t.u)||(t.S=ue(t.u)),[Object.keys(t).reduce(((e,n)=>{const s=(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 s&&(e[s]=t[n]),e}),{}),n,e]}(n):[null,null,void 0];if(ne(n,"a")&&ne(n,"H"))throw new b("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:n,result:s,zone:r,specificOffset:i}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function ts(t,e,n){return new Xn(t,n).explainFromTokens(e)}function es(t,e){if(!t)return null;const n=qe.create(e,t).dtFormatter((Qn||(Qn=$s.fromMillis(1555555555555)),Qn)),s=n.formatToParts(),r=n.resolvedOptions();return s.map((e=>function(t,e,n){const{type:s,value:r}=t;if("literal"===s){const t=/^\s+$/.test(r);return{literal:!t,val:t?" ":r}}let i=s;"hour"===s&&(i=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":n.hour12?"hour12":"hour24");let a=Bn[i];if("object"==typeof a&&(a=a[e[s]]),a)return{literal:!1,val:a}}(e,t,r)))}const ns="Invalid DateTime",ss=864e13;function rs(t){return new At("unsupported zone",`the zone "${t.name}" is not supported`)}function is(t){return null===t.weekData&&(t.weekData=Pt(t.c)),t.weekData}function as(t){return null===t.localWeekData&&(t.localWeekData=Pt(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function os(t,e){const n={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new $s({...n,...e,old:n})}function us(t,e,n){let s=t-60*e*1e3;const r=n.offset(s);if(e===r)return[s,e];s-=60*(r-e)*1e3;const i=n.offset(s);return r===i?[s,r]:[t-60*Math.min(r,i)*1e3,Math.max(r,i)]}function cs(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 hs(t,e,n){return us(me(t),e,n)}function ls(t,e){const n=t.o,s=t.c.year+Math.trunc(e.years),r=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),i={...t.c,year:s,month:r,day:Math.min(t.c.day,de(s,r))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},a=Zn.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=me(i);let[u,c]=us(o,n,t.zone);return 0!==a&&(u+=a,c=t.zone.offset(u)),{ts:u,o:c}}function ds(t,e,n,s,r,i){const{setZone:a,zone:o}=n;if(t&&0!==Object.keys(t).length||e){const s=e||o,r=$s.fromObject(t,{...n,zone:s,specificOffset:i});return a?r:r.setZone(o)}return $s.invalid(new At("unparsable",`the input "${r}" can't be parsed as ${s}`))}function ms(t,e,n=!0){return t.isValid?qe.create(gt.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(t,e):null}function fs(t,e,n){const s=t.c.year>9999||t.c.year<0;let r="";if(s&&t.c.year>=0&&(r+="+"),r+=ie(t.c.year,s?6:4),"year"===n)return r;if(e){if(r+="-",r+=ie(t.c.month),"month"===n)return r;r+="-"}else if(r+=ie(t.c.month),"month"===n)return r;return r+=ie(t.c.day),r}function ys(t,e,n,s,r,i,a){let o=!n||0!==t.c.millisecond||0!==t.c.second,u="";switch(a){case"day":case"month":case"year":break;default:if(u+=ie(t.c.hour),"hour"===a)break;if(e){if(u+=":",u+=ie(t.c.minute),"minute"===a)break;o&&(u+=":",u+=ie(t.c.second))}else{if(u+=ie(t.c.minute),"minute"===a)break;o&&(u+=ie(t.c.second))}if("second"===a)break;!o||s&&0===t.c.millisecond||(u+=".",u+=ie(t.c.millisecond,3))}return r&&(t.isOffsetFixed&&0===t.offset&&!i?u+="Z":t.o<0?(u+="-",u+=ie(Math.trunc(-t.o/60)),u+=":",u+=ie(Math.trunc(-t.o%60))):(u+="+",u+=ie(Math.trunc(t.o/60)),u+=":",u+=ie(Math.trunc(t.o%60)))),i&&(u+="["+t.zone.ianaName+"]"),u}const gs={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},ws={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},ps={ordinal:1,hour:0,minute:0,second:0,millisecond:0},vs=["year","month","day","hour","minute","second","millisecond"],bs=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ks=["year","ordinal","hour","minute","second","millisecond"];function Ms(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 k(t);return e}function Ss(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return Ms(t)}}function Ds(t,e){const n=bt(e.zone,Ct.defaultZone);if(!n.isValid)return $s.invalid(rs(n));const s=gt.fromObject(e);let r,i;if(Bt(t.year))r=Ct.now();else{for(const e of vs)Bt(t[e])&&(t[e]=gs[e]);const e=Gt(t)||Vt(t);if(e)return $s.invalid(e);const s=function(t){if(void 0===Es&&(Es=Ct.now()),"iana"!==t.type)return t.offset(Es);const e=t.name;let n=xs.get(e);return void 0===n&&(n=t.offset(Es),xs.set(e,n)),n}(n);[r,i]=hs(t,s,n)}return new $s({ts:r,zone:n,loc:s,o:i})}function Ns(t,e,n){const s=!!Bt(n.round)||n.round,r=Bt(n.rounding)?"trunc":n.rounding,i=(t,i)=>(t=ce(t,s||n.calendary?0:2,n.calendary?"round":r),e.loc.clone(n).relFormatter(n).format(t,i)),a=s=>n.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(n.unit)return i(a(n.unit),n.unit);for(const t of n.units){const e=a(t);if(Math.abs(e)>=1)return i(e,t)}return i(t>e?-0:0,n.units[n.units.length-1])}function Ts(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 Es;const xs=new Map;class $s{constructor(t){const e=t.zone||Ct.defaultZone;let n=t.invalid||(Number.isNaN(t.ts)?new At("invalid input"):null)||(e.isValid?null:rs(e));this.ts=Bt(t.ts)?Ct.now():t.ts;let s=null,r=null;if(!n)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,r]=[t.old.c,t.old.o];else{const i=Qt(t.o)&&!t.old?t.o:e.offset(this.ts);s=cs(this.ts,i),n=Number.isNaN(s.year)?new At("invalid input"):null,s=n?null:s,r=n?null:i}this._zone=e,this.loc=t.loc||gt.create(),this.invalid=n,this.weekData=null,this.localWeekData=null,this.c=s,this.o=r,this.isLuxonDateTime=!0}static now(){return new $s({})}static local(){const[t,e]=Ts(arguments),[n,s,r,i,a,o,u]=e;return Ds({year:n,month:s,day:r,hour:i,minute:a,second:o,millisecond:u},t)}static utc(){const[t,e]=Ts(arguments),[n,s,r,i,a,o,u]=e;return t.zone=pt.utcInstance,Ds({year:n,month:s,day:r,hour:i,minute:a,second:o,millisecond:u},t)}static fromJSDate(t,e={}){const n="[object Date]"===Object.prototype.toString.call(t)?t.valueOf():NaN;if(Number.isNaN(n))return $s.invalid("invalid input");const s=bt(e.zone,Ct.defaultZone);return s.isValid?new $s({ts:n,zone:s,loc:gt.fromObject(e)}):$s.invalid(rs(s))}static fromMillis(t,e={}){if(Qt(t))return t<-ss||t>ss?$s.invalid("Timestamp out of range"):new $s({ts:t,zone:bt(e.zone,Ct.defaultZone),loc:gt.fromObject(e)});throw new M(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Qt(t))return new $s({ts:1e3*t,zone:bt(e.zone,Ct.defaultZone),loc:gt.fromObject(e)});throw new M("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const n=bt(e.zone,Ct.defaultZone);if(!n.isValid)return $s.invalid(rs(n));const s=gt.fromObject(e),r=be(t,Ss),{minDaysInFirstWeek:i,startOfWeek:a}=Ut(r,s),o=Ct.now(),u=Bt(e.specificOffset)?n.offset(o):e.specificOffset,c=!Bt(r.ordinal),h=!Bt(r.year),l=!Bt(r.month)||!Bt(r.day),d=h||l,m=r.weekYear||r.weekNumber;if((d||c)&&m)throw new b("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&c)throw new b("Can't mix ordinal dates with month/day");const f=m||r.weekday&&!d;let y,g,w=cs(o,u);f?(y=bs,g=ws,w=Pt(w,i,a)):c?(y=ks,g=ps,w=Yt(w)):(y=vs,g=gs);let p=!1;for(const t of y)Bt(r[t])?r[t]=p?g[t]:w[t]:p=!0;const v=f?function(t,e=4,n=1){const s=Kt(t.weekYear),r=re(t.weekNumber,1,ye(t.weekYear,e,n)),i=re(t.weekday,1,7);return s?r?!i&&qt("weekday",t.weekday):qt("week",t.weekNumber):qt("weekYear",t.weekYear)}(r,i,a):c?function(t){const e=Kt(t.year),n=re(t.ordinal,1,le(t.year));return e?!n&&qt("ordinal",t.ordinal):qt("year",t.year)}(r):Gt(r),k=v||Vt(r);if(k)return $s.invalid(k);const M=f?Rt(r,i,a):c?Jt(r):r,[S,D]=hs(M,u,n),N=new $s({ts:S,zone:n,o:D,loc:s});return r.weekday&&d&&t.weekday!==N.weekday?$s.invalid("mismatched weekday",`you can't specify both a weekday of ${r.weekday} and a date of ${N.toISO()}`):N.isValid?N:$s.invalid(N.invalid)}static fromISO(t,e={}){const[n,s]=function(t){return ze(t,[yn,vn],[gn,bn],[wn,kn],[pn,Mn])}(t);return ds(n,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[n,s]=function(t){return ze(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[un,cn])}(t);return ds(n,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[n,s]=function(t){return ze(t,[hn,mn],[ln,mn],[dn,fn])}(t);return ds(n,s,e,"HTTP",e)}static fromFormat(t,e,n={}){if(Bt(t)||Bt(e))throw new M("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:r=null}=n,i=gt.fromOpts({locale:s,numberingSystem:r,defaultToEN:!0}),[a,o,u,c]=function(t,e,n){const{result:s,zone:r,specificOffset:i,invalidReason:a}=ts(t,e,n);return[s,r,i,a]}(i,t,e);return c?$s.invalid(c):ds(a,o,n,`format ${e}`,t,u)}static fromString(t,e,n={}){return $s.fromFormat(t,e,n)}static fromSQL(t,e={}){const[n,s]=function(t){return ze(t,[Dn,vn],[Nn,Tn])}(t);return ds(n,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new M("need to specify a reason the DateTime is invalid");const n=t instanceof At?t:new At(t,e);if(Ct.throwOnInvalid)throw new w(n);return new $s({invalid:n})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const n=es(t,gt.fromObject(e));return n?n.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Kn(qe.parseFormat(t),gt.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){Es=void 0,xs.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?is(this).weekYear:NaN}get weekNumber(){return this.isValid?is(this).weekNumber:NaN}get weekday(){return this.isValid?is(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?as(this).weekday:NaN}get localWeekNumber(){return this.isValid?as(this).weekNumber:NaN}get localWeekYear(){return this.isValid?as(this).weekYear:NaN}get ordinal(){return this.isValid?Yt(this.c).ordinal:NaN}get monthShort(){return this.isValid?jn.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?jn.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?jn.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?jn.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=me(this.c),s=this.zone.offset(n-t),r=this.zone.offset(n+t),i=this.zone.offset(n-s*e),a=this.zone.offset(n-r*e);if(i===a)return[this];const o=n-i*e,u=n-a*e,c=cs(o,i),h=cs(u,a);return c.hour===h.hour&&c.minute===h.minute&&c.second===h.second&&c.millisecond===h.millisecond?[os(this,{ts:o}),os(this,{ts:u})]:[this]}get isInLeapYear(){return he(this.year)}get daysInMonth(){return de(this.year,this.month)}get daysInYear(){return this.isValid?le(this.year):NaN}get weeksInWeekYear(){return this.isValid?ye(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?ye(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:n,calendar:s}=qe.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:n,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(pt.instance(t),e)}toLocal(){return this.setZone(Ct.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:n=!1}={}){if((t=bt(t,Ct.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||n){const e=t.offset(this.ts),n=this.toObject();[s]=hs(n,e,t)}return os(this,{ts:s,zone:t})}return $s.invalid(rs(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:n}={}){return os(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=be(t,Ss),{minDaysInFirstWeek:n,startOfWeek:s}=Ut(e,this.loc),r=!Bt(e.weekYear)||!Bt(e.weekNumber)||!Bt(e.weekday),i=!Bt(e.ordinal),a=!Bt(e.year),o=!Bt(e.month)||!Bt(e.day);if((a||o||i)&&(e.weekYear||e.weekNumber))throw new b("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(o&&i)throw new b("Can't mix ordinal dates with month/day");let u;r?u=Rt({...Pt(this.c,n,s),...e},n,s):Bt(e.ordinal)?(u={...this.toObject(),...e},Bt(e.day)&&(u.day=Math.min(de(u.year,u.month),u.day))):u=Jt({...Yt(this.c),...e});const[c,h]=hs(u,this.o,this.zone);return os(this,{ts:c,o:h})}plus(t){return this.isValid?os(this,ls(this,Zn.fromDurationLike(t))):this}minus(t){return this.isValid?os(this,ls(this,Zn.fromDurationLike(t).negate())):this}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const n={},s=Zn.normalizeUnit(t);switch(s){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"===s)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"===s){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?qe.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):ns}toLocaleString(t=E,e={}){return this.isValid?qe.create(this.loc.clone(e),t).formatDateTime(this):ns}toLocaleParts(t={}){return this.isValid?qe.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:n=!1,includeOffset:s=!0,extendedZone:r=!1,precision:i="milliseconds"}={}){if(!this.isValid)return null;const a="extended"===t;let o=fs(this,a,i=Ms(i));return vs.indexOf(i)>=3&&(o+="T"),o+=ys(this,a,e,n,s,r,i),o}toISODate({format:t="extended",precision:e="day"}={}){return this.isValid?fs(this,"extended"===t,Ms(e)):null}toISOWeekDate(){return ms(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:n=!0,includePrefix:s=!1,extendedZone:r=!1,format:i="extended",precision:a="milliseconds"}={}){return this.isValid?(a=Ms(a),(s&&vs.indexOf(a)>=3?"T":"")+ys(this,"extended"===i,e,t,n,r,a)):null}toRFC2822(){return ms(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return ms(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?fs(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:n=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(n&&(s+=" "),e?s+="z":t&&(s+="ZZ")),ms(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():ns}[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 Zn.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...n},r=(o=e,Array.isArray(o)?o:[o]).map(Zn.normalizeUnit),i=t.valueOf()>this.valueOf(),a=function(t,e,n,s){let[r,i,a,o]=function(t,e,n){const s=[["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=Hn(t,e);return(n-n%7)/7}],["days",Hn]],r={},i=t;let a,o;for(const[u,c]of s)n.indexOf(u)>=0&&(a=u,r[u]=c(t,e),o=i.plus(r),o>e?(r[u]--,(t=i.plus(r))>e&&(o=t,r[u]--,t=i.plus(r))):t=o);return[t,r,o,a]}(t,e,n);const u=e-r,c=n.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===c.length&&(a<e&&(a=r.plus({[o]:1})),a!==r&&(i[o]=(i[o]||0)+u/(a-r)));const h=Zn.fromObject(i,s);return c.length>0?Zn.fromMillis(u,s).shiftTo(...c).plus(h):h}(i?this:t,i?t:this,r,s);var o;return i?a.negate():a}diffNow(t="milliseconds",e={}){return this.diff($s.now(),t,e)}until(t){return this.isValid?_n.fromDateTimes(this,t):this}hasSame(t,e,n){if(!this.isValid)return!1;const s=t.valueOf(),r=this.setZone(t.zone,{keepLocalTime:!0});return r.startOf(e,n)<=s&&s<=r.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||$s.fromObject({},{zone:this.zone}),n=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],r=t.unit;return Array.isArray(t.unit)&&(s=t.unit,r=void 0),Ns(e,this.plus(n),{...t,numeric:"always",units:s,unit:r})}toRelativeCalendar(t={}){return this.isValid?Ns(t.base||$s.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every($s.isDateTime))throw new M("min requires all arguments be DateTimes");return ee(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every($s.isDateTime))throw new M("max requires all arguments be DateTimes");return ee(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,n={}){const{locale:s=null,numberingSystem:r=null}=n;return ts(gt.fromOpts({locale:s,numberingSystem:r,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,n={}){return $s.fromFormatExplain(t,e,n)}static buildFormatParser(t,e={}){const{locale:n=null,numberingSystem:s=null}=e,r=gt.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0});return new Xn(r,t)}static fromFormatParser(t,e,n={}){if(Bt(t)||Bt(e))throw new M("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:r=null}=n,i=gt.fromOpts({locale:s,numberingSystem:r,defaultToEN:!0});if(!i.equals(e.locale))throw new M(`fromFormatParser called with a locale of ${i}, but the format parser was created for ${e.locale}`);const{result:a,zone:o,specificOffset:u,invalidReason:c}=e.explainFromTokens(t);return c?$s.invalid(c):ds(a,o,n,`format ${e.format}`,t,u)}static get DATE_SHORT(){return E}static get DATE_MED(){return x}static get DATE_MED_WITH_WEEKDAY(){return $}static get DATE_FULL(){return O}static get DATE_HUGE(){return I}static get TIME_SIMPLE(){return F}static get TIME_WITH_SECONDS(){return L}static get TIME_WITH_SHORT_OFFSET(){return C}static get TIME_WITH_LONG_OFFSET(){return A}static get TIME_24_SIMPLE(){return W}static get TIME_24_WITH_SECONDS(){return Z}static get TIME_24_WITH_SHORT_OFFSET(){return q}static get TIME_24_WITH_LONG_OFFSET(){return _}static get DATETIME_SHORT(){return j}static get DATETIME_SHORT_WITH_SECONDS(){return H}static get DATETIME_MED(){return z}static get DATETIME_MED_WITH_SECONDS(){return P}static get DATETIME_MED_WITH_WEEKDAY(){return R}static get DATETIME_FULL(){return Y}static get DATETIME_FULL_WITH_SECONDS(){return J}static get DATETIME_HUGE(){return U}static get DATETIME_HUGE_WITH_SECONDS(){return G}}function Os(t){if($s.isDateTime(t))return t;if(t&&t.valueOf&&Qt(t.valueOf()))return $s.fromJSDate(t);if(t&&"object"==typeof t)return $s.fromObject(t);throw new M(`Unknown datetime argument: ${t}, of type ${typeof t}`)}var Is={nextMonth:"Επόμενος μήνας",nextYears:"Επόμενα έτη",previousMonth:"Προηγούμενος μήνας",previousYears:"Προηγούμενα έτη"},Fs={nextMonth:"Next month",nextYears:"Next years",previousMonth:"Previous month",previousYears:"Previous years"},Ls={nextMonth:"Mes siguiente",nextYears:"Años siguientes",previousMonth:"Mes anterior",previousYears:"Años anteriores"},Cs={nextMonth:"Mese successivo",nextYears:"Anni successivi",previousMonth:"Mese precedente",previousYears:"Anni precedenti"};const As=t=>null!=t&&""!==t,Ws=t=>$s.fromISO(t).startOf("day"),Zs=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.datesEmitter=n(this,"mdsCalendarChange",7),this.navigationEmitter=n(this,"mdsCalendarNavigate",7),this.hoverEmitter=n(this,"mdsCalendarHover",7),this.checkPreselectionsEmitter=n(this,"mdsCalendarPreselect",7),this.t=new h({el:Is,en:Fs,es:Ls,it:Cs}),this.hasPreselection=!1,this.currentDate=$s.now(),this.weekDaysinMonth=[],this.weekdays=[],this.currentView="calendar",this.selectedYear=this.currentDate.year,this.singlePicker=!1,this.hidePreviousButton=!1,this.hideNextButton=!1,this.disableMonthYearSelection=!1,this.hidePreselection=!1,this.hideToday=!1,this.viewDate=null,this.hoverDate=null,this.startDate=null,this.endDate=null,this.min=null,this.max=null,this.internalStartDate=this.startDate,this.internalEndDate=this.endDate,this.pendingRangeProps=new Set,this.applyRangeProps=()=>{const t=this.pendingRangeProps;this.pendingRangeProps=new Set,t.has("start")&&(this.internalStartDate=this.parseDateProp(this.startDate,"start-date")),t.has("end")&&(this.singlePicker?(As(this.endDate)&&console.warn("singlePicker is enabled, endDate cannot be set"),this.internalEndDate=null):this.internalEndDate=this.parseDateProp(this.endDate,"end-date")),this.orderRange(),this.updateDates()},this.internalHoverDate=null,this.currentMonth="",this.currentYear="",this.updatePreselection=()=>{this.hasPreselection=u(this.host,"preselection")||null!==this.host.querySelector(".date-preselection--has-preselection")},this.handleMouseOver=t=>{const e=t.target;if(!e.matches("mds-calendar-cell")||!this.waitsForEnd())return;const n=e.getAttribute("date");null!==n&&""!==n&&(n!==this.internalHoverDate&&(this.internalHoverDate=n,requestAnimationFrame((()=>this.setDates()))),this.hoverEmitter.emit({hoverDate:n}))},this.handleMouseLeave=()=>{const t=null!==this.internalHoverDate;this.internalHoverDate=null,this.waitsForEnd()&&(t&&requestAnimationFrame((()=>this.setDates())),null!==this.hoverDate&&""!==this.hoverDate&&this.hoverEmitter.emit({hoverDate:null}))},this.singleMark=t=>t===this.internalStartDate?{selection:"single",preview:!1}:null,this.handleMonthActionClick=t=>{t.stopPropagation(),this.disableMonthYearSelection?t.preventDefault():(this.currentView="months"===this.currentView?"calendar":"months",requestAnimationFrame((()=>{this.updateCalendar().then((()=>this.setDates()))})))},this.handleYearActionClick=t=>{t.stopPropagation(),this.disableMonthYearSelection?t.preventDefault():(this.currentView="years"===this.currentView?"calendar":"years",requestAnimationFrame((()=>{this.updateCalendar().then((()=>this.setDates()))})))},this.handlePrev=t=>{"calendar"===this.currentView?(t.stopPropagation(),this.changeMonth(-1)):"years"===this.currentView?(t.stopPropagation(),this.selectedYear-=10):t.stopPropagation()},this.handleNext=t=>{"calendar"===this.currentView?(t.stopPropagation(),this.changeMonth(1)):"years"===this.currentView?(t.stopPropagation(),this.selectedYear+=10):t.stopPropagation()},this.handleCellClick=t=>e=>{e.stopPropagation(),this.singlePicker?this.handleSingleSelection(t):this.handleRange(t)},this.handleMonthSelect=t=>e=>{e.stopPropagation(),this.currentDate=this.currentDate.set({month:t}),this.currentMonth=this.currentDate.toFormat("MMMM"),this.currentView="calendar",this.updateCalendar().then((()=>{requestAnimationFrame((()=>this.setDates()))}))},this.handleYearSelect=t=>e=>{e.stopPropagation(),this.currentDate=this.currentDate.set({year:t}),this.currentYear=t.toString(),this.currentView="calendar",this.updateCalendar().then((()=>{requestAnimationFrame((()=>this.setDates()))}))}}handleStartDate(){this.queueRangeProps("start")}handleEndDate(){this.queueRangeProps("end")}handleViewDate(t){if(null!==t&&""!==t){const e=$s.fromISO(t.toString());e.isValid&&(this.currentDate=e,this.updateCalendar().then((()=>{requestAnimationFrame((()=>this.setDates()))})))}}handleHoverDate(){requestAnimationFrame((()=>this.setDates()))}queueRangeProps(t){0===this.pendingRangeProps.size&&queueMicrotask(this.applyRangeProps),this.pendingRangeProps.add(t)}orderRange(){const{internalStartDate:t,internalEndDate:e}=this;!As(t)||!As(e)||Ws(t)<=Ws(e)||(console.warn("mds-calendar: startDate is after endDate, swapping values"),this.internalStartDate=e,this.internalEndDate=t)}parseDateProp(t,e){if(null===t||""===t)return null;const n=o(t.toString());return null!==n&&$s.fromISO(n).isValid?$s.fromISO(n).toISODate():(console.warn(`mds-calendar: ignoring the invalid ${e} "${t}"`),null)}componentWillLoad(){if(this.internalStartDate=this.parseDateProp(this.internalStartDate,"start-date"),this.internalEndDate=this.parseDateProp(this.internalEndDate,"end-date"),this.singlePicker&&null!==this.internalEndDate&&(console.warn("singlePicker is enabled, endDate cannot be set"),this.internalEndDate=null),this.orderRange(),null!==this.viewDate&&""!==this.viewDate){const t=$s.fromISO(this.viewDate.toString());t.isValid&&(this.currentDate=t)}else null!==this.internalStartDate&&(this.currentDate=$s.fromISO(this.internalStartDate));this.updateCalendar()}componentDidLoad(){var t,e,n;this.updatePreselection(),null===(e=null===(t=this.host)||void 0===t?void 0:t.shadowRoot)||void 0===e||e.addEventListener("mouseover",this.handleMouseOver),null===(n=this.host)||void 0===n||n.addEventListener("mouseleave",this.handleMouseLeave),this.setDates()}disconnectedCallback(){var t,e,n;null===(e=null===(t=this.host)||void 0===t?void 0:t.shadowRoot)||void 0===e||e.removeEventListener("mouseover",this.handleMouseOver),null===(n=this.host)||void 0===n||n.removeEventListener("mouseleave",this.handleMouseLeave)}async updateCurrentDate(t){return this.currentDate=$s.fromISO(t),await this.updateCalendar(),await new Promise((t=>{requestAnimationFrame((()=>{this.setDates(),t()}))})),Promise.resolve()}waitsForEnd(){return!this.singlePicker&&As(this.internalStartDate)&&!As(this.internalEndDate)}resolveHoverDate(){return null!==this.hoverDate&&""!==this.hoverDate?this.hoverDate:this.internalHoverDate}resolveActiveEnd(){return As(this.internalStartDate)?"start"===this.activeEnd||"end"===this.activeEnd?this.activeEnd:As(this.internalEndDate)?"new":"end":"start"}nextRange(t){const e=t.toISODate(),n=this.internalStartDate,s=As(this.internalEndDate)?this.internalEndDate:null;switch(this.resolveActiveEnd()){case"end":return t<Ws(n)?{start:e,end:null}:{start:n,end:e};case"start":return null!==s&&t>Ws(s)?{start:e,end:null}:{start:e,end:s};default:return{start:e,end:null}}}updateDates(){this.updateCalendar().then((()=>{requestAnimationFrame((()=>this.setDates()))}))}async updateCalendar(){try{const t=this.currentDate.startOf("week");this.weekdays=Array.from({length:7}).map(((e,n)=>t.setLocale(a.state.language).plus({days:n}).toFormat("ccc"))),this.calculateWeekDaysInMonth(),this.currentMonth=this.currentDate.setLocale(a.state.language).toFormat("MMMM"),this.currentMonthNumber=this.currentDate.month,this.currentYear=this.currentDate.toFormat("yyyy")}catch(t){console.error("Error while updating the calendar:",t)}}setDates(){var t;const e=null===(t=this.host)||void 0===t?void 0:t.shadowRoot;if(!e)return;const n=this.singlePicker?this.singleMark:this.rangeMark();e.querySelectorAll("mds-calendar-cell").forEach((t=>{const e=t.getAttribute("date"),s=null!==e&&""!==e?n(e):null;if(null===s)return t.removeAttribute("selection"),void t.removeAttribute("preview");t.setAttribute("selection",s.selection),s.preview?t.setAttribute("preview","true"):t.removeAttribute("preview")}))}rangeMark(){const t=this.internalStartDate,e=this.internalEndDate;if(!As(t))return()=>null;if(As(e))return n=>n===t?{selection:n===e?"single":"start",preview:!1}:n===e?{selection:"end",preview:!1}:n>t&&n<e?{selection:"middle",preview:!1}:null;const n=this.resolveHoverDate(),s=null!==n?$s.fromISO(n).toISODate():null;return null===s||s===t?e=>e===t?{selection:"single",preview:!1}:null:"end"===this.resolveActiveEnd()&&s>t?e=>e===t?{selection:"start",preview:!0}:e===s?{selection:"end",preview:!0}:e>t&&e<s?{selection:"middle",preview:!0}:null:e=>e===t?{selection:"single",preview:!1}:e===s?{selection:"single",preview:!0}:null}changeMonth(t){this.currentDate=this.currentDate.plus({months:t}),this.updateCalendar().then((()=>{requestAnimationFrame((()=>this.setDates()))})),this.navigationEmitter.emit({currentDate:this.currentDate.toISODate(),delta:t})}calculateWeekDaysInMonth(){const t=this.currentDate.startOf("month"),e=this.currentDate.endOf("month"),n=[];for(let e=t.minus({days:t.weekday-1});e<t;e=e.plus({days:1}))n.push({date:e,isCurrentMonth:!1});for(let s=t;s<=e;s=s.plus({days:1}))n.push({date:s,isCurrentMonth:!0});const s=7-e.weekday,r=e.plus({days:1});for(let t=r;t<r.plus({days:s});t=t.plus({days:1}))n.push({date:t,isCurrentMonth:!1});this.weekDaysinMonth=n}handleRange(t){const{start:e,end:n}=this.nextRange(t);this.internalStartDate=e,this.internalEndDate=n,this.internalHoverDate=null,requestAnimationFrame((()=>this.setDates())),null!==n?(this.datesEmitter.emit({startDate:e,endDate:n}),this.checkPreselectionsEmitter.emit()):this.datesEmitter.emit({startDate:e})}handleSingleSelection(t){this.internalStartDate=t.toISODate(),requestAnimationFrame((()=>this.setDates())),this.datesEmitter.emit({startDate:this.internalStartDate})}isDateDisabled(t){return null!==this.min&&""!==this.min&&t<$s.fromISO(this.min)||null!==this.max&&""!==this.max&&t>$s.fromISO(this.max)||void 0}render(){return s(r,{key:"553733a8e185672af286e38f520343d31a74295e"},s("div",{key:"ff6472753b406ddabd5978ecf93e033e0420a0f5",class:c("calendar-preselection",this.hasPreselection&&!this.hidePreselection&&"calendar-preselection--has-preselection")},s("slot",{key:"c32031aeb206b2f4482536d248745161d40cedd1",name:"preselection",onSlotchange:this.updatePreselection})),s("div",{key:"fc39443ce348cc66002b8bdfc7a3d0d126ad51e8",class:"calendar-view"},s("nav",{key:"3f423e3c8925bd2e6214aca046272802c110b5c2","aria-label":`${this.currentMonth} ${this.currentYear}`},!this.hidePreviousButton&&s("mds-button",{key:"18a285d16deda8d252e6327bb308450d66158903","aria-label":this.t.get("years"===this.currentView?"previousYears":"previousMonth"),class:"action-back",disabled:"months"===this.currentView,icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M17.77 3.77L16 2L6 12l10 10l1.77-1.77L9.54 12z"/></svg>',variant:"dark",tone:"text",onClick:this.handlePrev}),s("div",{key:"40d91a85550daf4e12834ca2f981c879099ccb6e",class:"select-month-or-year"},("calendar"===this.currentView||"months"===this.currentView)&&s("mds-button",{key:"5ff2188025f281932f7364bb905abf1886f57db3",class:"action-month",truncate:"none",variant:"dark",tone:"text",label:this.currentMonth,onClick:this.handleMonthActionClick}),("calendar"===this.currentView||"years"===this.currentView)&&s("mds-button",{key:"ee6fd3711783581e7944f4c82e5f9f3c70ea6015",class:"action-year",truncate:"none",variant:"dark",tone:"text",label:this.currentYear,onClick:this.handleYearActionClick})),!this.hideNextButton&&s("mds-button",{key:"39572c81977a4ec39f2b16a324c1a0cbcc702b04","aria-label":this.t.get("years"===this.currentView?"nextYears":"nextMonth"),class:"action-forward",disabled:"months"===this.currentView,icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M6.23 20.23L8 22l10-10L8 2L6.23 3.77L14.46 12z"/></svg>',variant:"dark",tone:"text",onClick:this.handleNext})),"calendar"===this.currentView&&s("section",{key:"c397316dfaac319436d639973fa0e5f2a2fda1a0",class:"month-view"},s("header",{key:"9652c26cfb1a50328ff18458b01f9fc6ec3ca887",class:"month-view__days-names"},this.weekdays.map((t=>s("mds-button",{class:"week-day-name",variant:"dark",tone:"text",label:t})))),s("div",{key:"e0d0da46807022038e6322a4a30cb3c8726f44a1",class:"month-view__cells"},this.weekDaysinMonth.map(((t,e)=>s("mds-calendar-cell",{key:e,today:!this.hideToday&&$s.now().toFormat("yyyy-MM-dd")===t.date.toFormat("yyyy-MM-dd"),date:t.date.toFormat("yyyy-MM-dd"),month:t.isCurrentMonth?"current":"other",disabled:this.isDateDisabled(t.date),onClick:this.handleCellClick(t.date),title:t.date.setLocale(a.state.language).toFormat("cccc d LLLL").replace(/^./,(t=>t.toUpperCase())),label:t.date.toFormat("dd")}))))),"months"===this.currentView&&s("section",{key:"cda484e817636bc8362996d87e4db36e197cc770",class:"month-selection"},s("header",{key:"db5af602b73729139f13ac311cd01ee7b5586d51",class:"month-view__month-names"},Array.from({length:12}).map(((t,e)=>{const n=$s.local().set({month:e+1}).setLocale(a.state.language).toFormat("MMMM");return s("mds-button",{class:"action",variant:"dark",tone:"text",label:n,onClick:this.handleMonthSelect(e+1)})})))),"years"===this.currentView&&s("section",{key:"0b25774ef53d9e8f2c23644e0069e996ab4f918e",class:"year-selection"},s("header",{key:"0221982f94b753b14507186a693f61a215dfead9",class:"month-view__years"},Array.from({length:12}).map(((t,e)=>{const n=this.selectedYear+e;return s("mds-button",{class:"action",variant:"dark",tone:"text",label:`${n}`,onClick:this.handleYearSelect(n)})}))))))}get host(){return this}static get watchers(){return{startDate:[{handleStartDate:0}],endDate:[{handleEndDate:0}],viewDate:[{handleViewDate:0}],hoverDate:[{handleHoverDate:0}],activeEnd:[{handleHoverDate:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-calendar-cell):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-calendar-day-number-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-calendar-cell-gap:calc(var(--spacing,.0025rem)*50);--mds-calendar-cell-other-month-visibility:visible;--mds-calendar-border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));--mds-calendar-background:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));--mds-calendar-padding:calc(var(--spacing,.0025rem)*400);--mds-calendar-select-month-or-year-height:calc(var(--spacing,.0025rem)*900);--mds-calendar-select-month-or-year-width:calc(var(--spacing,.0025rem)*5600);--mds-calendar-max-width:calc(var(--spacing,.0025rem)*12000);background-color:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));border-radius:var(--mds-calendar-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)));corner-shape:var(--magma-corner-shape,squircle);cursor:auto;display:inline-flex;inline-size:100%;max-width:var(--mds-calendar-max-width,calc(var(--spacing,.0025rem)*12000));min-width:min-content;overflow:hidden}.calendar-view{background-color:var(--mds-calendar-background,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));border-radius:inherit;box-sizing:border-box;corner-shape:inherit;align-content:start;display:grid;flex:auto;width:100%}.calendar-preselection,.calendar-view{padding:var(--mds-calendar-padding,calc(var(--spacing,.0025rem)*400))}.calendar-preselection{display:none;gap:calc(var(--spacing,.0025rem)*50);grid-auto-rows:min-content}.calendar-preselection--has-preselection{display:grid}nav{display:flex;gap:calc(var(--spacing,.0025rem)*200);justify-content:space-between;min-width:0}.action{justify-content:left;min-width:min-content;padding-left:calc(var(--spacing,.0025rem)*200);padding-right:calc(var(--spacing,.0025rem)*200)}.action-back,.action-forward{flex-shrink:0}.select-month-or-year{background-color:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));block-size:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));border-radius:min(var(--mds-calendar-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px))),var(--magma-corner-cap,.5) * var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900)));box-sizing:border-box;corner-shape:var(--magma-corner-shape,squircle);align-items:stretch;display:flex;flex:0 0 var(--mds-calendar-select-month-or-year-width,calc(var(--spacing,.0025rem)*5600));height:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));inline-size:var(--mds-calendar-select-month-or-year-width,calc(var(--spacing,.0025rem)*5600));justify-content:flex-start;max-block-size:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));max-height:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));max-inline-size:var(--mds-calendar-select-month-or-year-width,calc(var(--spacing,.0025rem)*5600));min-block-size:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));min-height:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));min-inline-size:var(--mds-calendar-select-month-or-year-width,calc(var(--spacing,.0025rem)*5600));overflow:hidden}.action-month,.action-year{--mds-button-radius:0;align-self:stretch;block-size:100%;box-sizing:border-box;cursor:default;height:100%;max-block-size:100%;max-height:100%;min-block-size:0;min-height:0;padding-left:calc(var(--spacing,.0025rem)*200);padding-right:calc(var(--spacing,.0025rem)*200)}.action-month{flex:auto;min-width:0}.action-year{flex:0 0 calc(var(--spacing,.0025rem)*1800)}.action-month::part(label),.action-year::part(label){overflow:visible;text-overflow:clip;white-space:nowrap}.week-day-name{align-items:center;block-size:calc(var(--spacing,.0025rem)*1200);inline-size:100%;min-height:auto;padding:0}.month-view__cells,.month-view__days-names{display:grid;gap:var(--mds-calendar-cell-gap);grid-template-columns:repeat(7,minmax(1px,100%));min-width:0}.month-view{display:grid}.month-view__month-names,.month-view__years{display:grid;gap:var(--mds-calendar-cell-gap);grid-template-columns:repeat(3,minmax(1px,100%));min-width:0}"}},[257,"mds-calendar",{singlePicker:[4,"single-picker"],hidePreviousButton:[4,"hide-previous-button"],hideNextButton:[4,"hide-next-button"],disableMonthYearSelection:[4,"disable-month-year-selection"],hidePreselection:[4,"hide-preselection"],hideToday:[4,"hide-today"],viewDate:[513,"view-date"],hoverDate:[513,"hover-date"],startDate:[513,"start-date"],endDate:[513,"end-date"],activeEnd:[513,"active-end"],min:[513],max:[513],hasPreselection:[32],currentDate:[32],weekDaysinMonth:[32],weekdays:[32],currentView:[32],selectedYear:[32],internalStartDate:[32],internalEndDate:[32],currentMonth:[32],currentYear:[32],updateCurrentDate:[64]},void 0,{startDate:[{handleStartDate:0}],endDate:[{handleEndDate:0}],viewDate:[{handleViewDate:0}],hoverDate:[{handleHoverDate:0}],activeEnd:[{handleHoverDate:0}]}]);function qs(){"undefined"!=typeof customElements&&["mds-calendar","mds-button","mds-calendar-cell","mds-icon","mds-spinner","mds-text"].forEach((t=>{switch(t){case"mds-calendar":customElements.get(i(t))||customElements.define(i(t),Zs);break;case"mds-button":customElements.get(i(t))||l();break;case"mds-calendar-cell":customElements.get(i(t))||d();break;case"mds-icon":customElements.get(i(t))||m();break;case"mds-spinner":customElements.get(i(t))||f();break;case"mds-text":customElements.get(i(t))||y()}}))}export{$s as D,Zs as M,qs as d}
@@ -0,0 +1,8 @@
1
+ import{p as e,H as r,d as a,h as i,c as t,t as o}from"./p-ChCkQpXr.js";import{m as s}from"./p-BJ8rpzfj.js";import{K as l}from"./p-CGrPq3C4.js";import{c as n}from"./p-ChV9xqsO.js";import{f as m,a as c,b as v,c as d,g as b,d as g,e as f}from"./p-DhIGZbIo.js";import{L as p}from"./p-B3t-yAT6.js";import{p as u}from"./p-BQJgPeCf.js";import{d as h}from"./p-8D5tJYCb.js";import{d as w}from"./p-BPnc1LgR.js";import{d as x}from"./p-CbyfhFKK.js";import{d as y}from"./p-B410qrmd.js";import{d as k}from"./p-BwGJqBgv.js";import{d as j}from"./p-tI3q9MMi.js";
2
+ /**
3
+ * filesize
4
+ *
5
+ * @copyright 2024 Jason Mulligan <jason.mulligan@avoidwork.com>
6
+ * @license BSD-3-Clause
7
+ * @version 10.1.6
8
+ */const q="bits",B="bytes",E="jedec",M={symbol:{iec:{bits:["bit","Kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["bit","Kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},fullform:{iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]}};var C={remove:"Αφαιρέστε το αρχείο από την ουρά μεταφόρτωσης"},z={remove:"Remove file from upload queue"},O={remove:"Eliminar archivo de la cola de carga"},N={remove:"Rimuovi file dalla coda di upload"};const G=e(class extends r{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.downloadedEvent=a(this,"mdsFileDownload",7),this.deletedEvent=a(this,"mdsFileDelete",7),this.t=new p({el:Object.assign(Object.assign({},C),d),en:Object.assign(Object.assign({},z),v),es:Object.assign(Object.assign({},O),c),it:Object.assign(Object.assign({},N),m)}),this.km=new l,this.truncate="word",this.getDefaultKeyDescription=()=>b(this.filename,this.suffix).description,this.onClickDeletedEvent=()=>{this.deletedEvent.emit({target:this.host,filename:this.filename,extension:g(this.filename,this.suffix)})},this.onClickDownloadEvent=()=>{this.downloadable&&this.downloadedEvent.emit({target:this.host,filename:this.filename,extension:g(this.filename,this.suffix)})},this.cardRef=e=>{e!==this.card&&(this.km.removeElement(),this.card=null!=e?e:void 0,this.attachCardKeyboard())},this.attachCardKeyboard=()=>{this.card&&(this.km.addElement(this.card),this.km.attachClickBehavior("element",{space:!0}))}}componentWillLoad(){this.format=b(this.filename,this.suffix).format}connectedCallback(){this.attachCardKeyboard()}disconnectedCallback(){this.km.detachClickBehavior()}handleFilename(e){this.format=b(e,this.suffix).format}render(){var e,r,a,o,l,m,c;const v=""!==(null!==(e=this.message)&&void 0!==e?e:"");return i(t,{key:"6ef070f27c78a6cc9c3daba6cb3f971064e1f1fa","pref-animation":u.state.animation,"pref-contrast":u.state.contrast,"pref-mode":u.state.mode,"pref-theme-scheme":u.state["theme-scheme"]},this.deletable&&i("mds-button",{key:"501ded6c362551f8b5a979e092ac66f70347ca0d",title:this.t.get("remove"),class:"action-delete",icon:s,variant:"light",onClick:this.onClickDeletedEvent}),i("div",{key:"ce743625a4d5b2fe3aa8db73efbdc7d59bb76252",class:"card",onClick:this.onClickDownloadEvent,part:"card",ref:this.cardRef,role:this.downloadable?"button":void 0,tabindex:this.downloadable?"0":void 0},""!==(null!==(r=this.src)&&void 0!==r?r:"")&&!v&&b(this.filename,this.suffix).preview?i("mds-img",{src:this.src,class:"preview preview--image","aspect-ratio":"1/1"}):i("div",{class:n("preview",v?"preview--status":"preview--icon")},""!==(null!==(a=this.icon)&&void 0!==a?a:"")?i("mds-icon",{class:"icon",name:this.icon}):i("mds-icon",{class:"icon",name:f(this.filename,this.suffix).icon}),this.message&&i("mds-text",{class:"message",typography:"caption",variant:"info"},this.message)),i("mds-text",{key:"d3c818a0353835d9b781ca2b1534b1fdf7e43b2e",class:"file-name",typography:"h6",variant:"title",truncate:this.truncate,title:this.filename},this.filename),i("div",{key:"0f64ed988ed2cfa9a1dce75c46c3c048da238184",class:n("infos",this.filesize&&"infos--has-file-size")},this.filesize&&this.filesize===Number(this.filesize).toString()&&i("mds-text",{key:"03c7ebac0648ccd9785d32df2a3e6dd19b8607d2",class:"file-size",truncate:"word",typography:"caption",variant:"info"},function(e,{bits:r=!1,pad:a=!1,base:i=-1,round:t=2,locale:o="",localeOptions:s={},separator:l="",spacer:n=" ",symbols:m={},standard:c="",output:v="string",fullform:d=!1,fullforms:b=[],exponent:g=-1,roundingMethod:f="round",precision:p=0}={}){let u=g,h=Number(e),w=[],x=0,y="";"si"===c?(i=10,c=E):"iec"===c||c===E?i=2:2===i?c="iec":(i=10,c=E);const k=10===i?1e3:1024,j=!0===d,C=h<0,z=Math[f];if("bigint"!=typeof e&&isNaN(e))throw new TypeError("Invalid number");if("function"!=typeof z)throw new TypeError("Invalid rounding method");if(C&&(h=-h),(-1===u||isNaN(u))&&(u=Math.floor(Math.log(h)/Math.log(k)),u<0&&(u=0)),u>8&&(p>0&&(p+=8-u),u=8),"exponent"===v)return u;if(0===h)w[0]=0,y=w[1]=M.symbol[c][r?q:B][u];else{x=h/(2===i?Math.pow(2,10*u):Math.pow(1e3,u)),r&&(x*=8,x>=k&&u<8&&(x/=k,u++));const e=Math.pow(10,u>0?t:0);w[0]=z(x*e)/e,w[0]===k&&u<8&&-1===g&&(w[0]=1,u++),y=w[1]=10===i&&1===u?r?"kbit":"kB":M.symbol[c][r?q:B][u]}if(C&&(w[0]=-w[0]),p>0&&(w[0]=w[0].toPrecision(p)),w[1]=m[w[1]]||w[1],!0===o?w[0]=w[0].toLocaleString():o.length>0?w[0]=w[0].toLocaleString(o,s):l.length>0&&(w[0]=w[0].toString().replace(".",l)),a&&t>0){const e=w[0].toString(),r=l||(e.match(/(\D)/g)||[]).pop()||".",a=e.toString().split(r),i=a[1]||"",o=i.length;w[0]=`${a[0]}${r}${i.padEnd(o+(t-o),"0")}`}return j&&(w[1]=b[u]?b[u]:M.fullform[c][u]+(r?"bit":"byte")+(1===w[0]?"":"s")),"array"===v?w:"object"===v?{value:w[0],symbol:w[1],exponent:u,unit:y}:w.join(n)}(Number(this.filesize),{standard:"jedec"})),this.filesize&&this.filesize!==Number(this.filesize).toString()&&i("mds-text",{key:"b7617c1aa31518321ac0df0c430748e688d0483f",class:"file-size",truncate:"word",typography:"caption",variant:"info"},this.filesize),g(this.filename,this.suffix)&&i("mds-badge",{key:"7e1d90a51cff8c7f2fb9e5212c13c0f14ce7df4f",variant:f(this.filename,this.suffix).variant,tone:"weak",class:"suffix",title:null!==(o=this.description)&&void 0!==o?o:this.t.get(this.getDefaultKeyDescription())},g(this.filename,this.suffix)),""===(null!==(l=this.filesize)&&void 0!==l?l:"")&&i("mds-text",{key:"4d976914d04f9df9b373f20eb1c04a739af22bad",class:"description",truncate:"word",typography:"caption",variant:"info",title:null!==(m=this.description)&&void 0!==m?m:this.t.get(this.getDefaultKeyDescription())},null!==(c=this.description)&&void 0!==c?c:this.t.get(this.getDefaultKeyDescription())))))}get host(){return this}static get watchers(){return{filename:[{handleFilename:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;@keyframes focus-bounce{0%,75%,to{outline-offset:var(--magma-outline-focus-offset,2px)}50%{outline-offset:var(--magma-outline-blur-offset,6px)}}:host(:not(:is([hydrated],.hydrated))),:is(mds-badge,mds-button,mds-icon,mds-img,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-file-preview-background-color:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));--mds-file-preview-border-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));--mds-file-preview-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-file-preview-icon-background:inherit;--mds-file-preview-icon-color:var(--mds-file-preview-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));--mds-file-preview-transition-duration:0s;--private-file-preview-padding:calc(var(--spacing,.0025rem)*400);--private-file-preview-transition-duration:var(--mds-file-preview-transition-duration);background-color:var(--mds-file-preview-background-color,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));border-radius:var(--mds-file-preview-border-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)));box-shadow:var(--shadow-box-md,#0000000f 0 0 0 1px,#00000008 0 1px 1px -.5px,#0000000a 0 2px 2px -1px,#0000000a 0 3px 3px -1.5px,#00000008 0 5px 5px -2.5px,#00000008 0 10px 10px -5px,#00000008 0 24px 24px -8px);corner-shape:var(--magma-corner-shape,squircle);align-items:stretch;display:flex;fill:var(--mds-file-preview-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));justify-content:stretch;overflow:hidden;position:relative;transition-duration:var(--private-file-preview-transition-duration)}.card{animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));grid-template-columns:repeat(1,minmax(1px,100%));outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-timing-function:ease-in-out;--magma-outline-blur-offset:calc(var(--spacing,.0025rem)*-200);--magma-outline-focus-offset:calc(var(--spacing,.0025rem)*-100);border-radius:inherit;corner-shape:inherit;display:grid;gap:calc(var(--spacing,.0025rem)*200);padding:var(--private-file-preview-padding);width:100%}.card[role=button]{cursor:pointer}.card:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}.preview{aspect-ratio:var(--aspect-square,1/1);background-color:var(--mds-file-preview-icon-background);border-radius:max(0px,calc(var(--mds-file-preview-border-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px))) - var(--private-file-preview-padding)));box-sizing:border-box;color:var(--mds-file-preview-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));corner-shape:inherit;fill:var(--mds-file-preview-icon-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));transition-duration:inherit;width:100%}.preview--image{filter:brightness(.975);padding:0!important}.preview--icon,.preview--status{align-items:center;display:flex;flex-direction:column;justify-content:center}.preview--status{gap:calc(var(--spacing,.0025rem)*200);padding:calc(var(--spacing,.0025rem)*400)}.icon{height:calc(var(--spacing,.0025rem)*1200);width:calc(var(--spacing,.0025rem)*1200)}.message{text-align:center}.action-delete{background-color:var(--mds-file-preview-background-color,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));position:absolute;right:0;top:0;z-index:10}.infos{align-items:baseline;display:flex;gap:calc(var(--spacing,.0025rem)*200)}.suffix{flex-shrink:0}.infos--has-file-size{justify-content:space-between}.file-name{--mds-text-line-clamp:2}:host([format=archive]),:host([format=executable]){--mds-file-preview-color:rgb(var(--label-amaranth-04,202 51 77));--mds-file-preview-icon-background:rgb(var(--label-amaranth-10,255 232 233));--mds-file-preview-icon-color:rgb(var(--label-amaranth-04,202 51 77))}:host([format=attachment]){--mds-file-preview-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-file-preview-icon-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-file-preview-icon-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}:host([format=audio]),:host([format=video]){--mds-file-preview-color:rgb(var(--label-violet-04,128 78 232));--mds-file-preview-icon-background:rgb(var(--label-violet-10,238 235 255));--mds-file-preview-icon-color:rgb(var(--label-violet-04,128 78 232))}:host([format=code]),:host([format=data]),:host([format=markup]){--mds-file-preview-color:rgb(var(--label-yellow-04,140 107 22));--mds-file-preview-icon-background:rgb(var(--label-yellow-10,255 235 200));--mds-file-preview-icon-color:rgb(var(--label-yellow-04,140 107 22))}:host([format=certificate]),:host([format=document]){--mds-file-preview-color:rgb(var(--label-orange-04,181 82 13));--mds-file-preview-icon-background:rgb(var(--label-orange-10,255 233 222));--mds-file-preview-icon-color:rgb(var(--label-orange-04,181 82 13))}:host([format=email]),:host([format=text]){--mds-file-preview-color:rgb(var(--label-blue-04,44 96 250));--mds-file-preview-icon-background:rgb(var(--label-blue-10,228 238 255));--mds-file-preview-icon-color:rgb(var(--label-blue-04,44 96 250))}:host([format=image]){--mds-file-preview-color:rgb(var(--label-green-04,21 128 61));--mds-file-preview-icon-background:rgb(var(--label-green-10,201 248 218));--mds-file-preview-icon-color:rgb(var(--label-green-04,21 128 61))}:host([format=slide]){--mds-file-preview-color:rgb(var(--label-orchid-04,202 34 125));--mds-file-preview-icon-background:rgb(var(--label-orchid-10,255 231 240));--mds-file-preview-icon-color:rgb(var(--label-orchid-04,202 34 125))}:host([format=spreadsheet]){--mds-file-preview-color:rgb(var(--label-lime-04,81 124 12));--mds-file-preview-icon-background:rgb(var(--label-lime-10,214 249 159));--mds-file-preview-icon-color:rgb(var(--label-lime-04,81 124 12))}:host([format=vector]){--mds-file-preview-color:rgb(var(--label-aqua-04,4 122 143));--mds-file-preview-icon-background:rgb(var(--label-aqua-10,199 245 253));--mds-file-preview-icon-color:rgb(var(--label-aqua-04,4 122 143))}:host([variant=primary][message]){--mds-file-preview-icon-background:rgb(var(--magma-accent-surface,var(--variant-primary-09,213 224 245)));--mds-file-preview-icon-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,11 96 255)))}:host([variant=info][message]){--mds-file-preview-icon-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)));--mds-file-preview-icon-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)));--mds-file-preview-color:rgb(var(--magma-info-text-subtle,var(--text-info-subtle,0 94 137)))}:host([variant=success][message]){--mds-file-preview-icon-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-file-preview-icon-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)));--mds-file-preview-color:rgb(var(--magma-success-text-subtle,var(--text-success-subtle,0 102 32)))}:host([variant=warning][message]){--mds-file-preview-icon-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)));--mds-file-preview-icon-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)));--mds-file-preview-color:rgb(var(--magma-warning-text-subtle,var(--text-warning-subtle,113 85 0)))}:host([variant=error][message]){--mds-file-preview-icon-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-file-preview-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));--mds-file-preview-color:rgb(var(--magma-danger-text-subtle,var(--text-error-subtle,165 33 40)))}:host([variant=amaranth][message]){--mds-file-preview-icon-background:rgb(var(--label-amaranth-09,255 214 215));--mds-file-preview-icon-color:rgb(var(--label-amaranth-04,202 51 77));--mds-file-preview-color:rgb(var(--label-amaranth-03,162 38 60))}:host([variant=aqua][message]){--mds-file-preview-icon-background:rgb(var(--label-aqua-09,151 237 252));--mds-file-preview-icon-color:rgb(var(--label-aqua-04,4 122 143));--mds-file-preview-color:rgb(var(--label-aqua-03,3 97 114))}:host([variant=blue][message]){--mds-file-preview-icon-background:rgb(var(--label-blue-09,209 224 254));--mds-file-preview-icon-color:rgb(var(--label-blue-04,44 96 250));--mds-file-preview-color:rgb(var(--label-blue-03,15 55 241))}:host([variant=green][message]){--mds-file-preview-icon-background:rgb(var(--label-green-09,154 242 188));--mds-file-preview-icon-color:rgb(var(--label-green-04,21 128 61));--mds-file-preview-color:rgb(var(--label-green-03,16 102 48))}:host([variant=lime][message]){--mds-file-preview-icon-background:rgb(var(--label-lime-09,186 240 97));--mds-file-preview-icon-color:rgb(var(--label-lime-04,81 124 12));--mds-file-preview-color:rgb(var(--label-lime-03,63 99 9))}:host([variant=orange][message]){--mds-file-preview-icon-background:rgb(var(--label-orange-09,255 215 194));--mds-file-preview-icon-color:rgb(var(--label-orange-04,181 82 13));--mds-file-preview-color:rgb(var(--label-orange-03,146 64 8))}:host([variant=orchid][message]){--mds-file-preview-icon-background:rgb(var(--label-orchid-09,255 212 229));--mds-file-preview-icon-color:rgb(var(--label-orchid-04,202 34 125));--mds-file-preview-color:rgb(var(--label-orchid-03,165 0 94))}:host([variant=purple][message]){--mds-file-preview-icon-background:rgb(var(--label-purple-09,233 217 255));--mds-file-preview-icon-color:rgb(var(--label-purple-04,150 64 227));--mds-file-preview-color:rgb(var(--label-purple-03,125 29 197))}:host([variant=red][message]){--mds-file-preview-icon-background:rgb(var(--label-red-09,250 215 215));--mds-file-preview-icon-color:rgb(var(--label-red-04,212 28 28));--mds-file-preview-color:rgb(var(--label-red-03,169 22 22))}:host([variant=sky][message]){--mds-file-preview-icon-background:rgb(var(--label-sky-09,196 229 250));--mds-file-preview-icon-color:rgb(var(--label-sky-04,7 118 169));--mds-file-preview-color:rgb(var(--label-sky-03,4 95 136))}:host([variant=violet][message]){--mds-file-preview-icon-background:rgb(var(--label-violet-09,225 219 255));--mds-file-preview-icon-color:rgb(var(--label-violet-04,128 78 232));--mds-file-preview-color:rgb(var(--label-violet-03,105 49 204))}:host([variant=yellow][message]){--mds-file-preview-icon-background:rgb(var(--label-yellow-09,254 219 157));--mds-file-preview-icon-color:rgb(var(--label-yellow-04,140 107 22));--mds-file-preview-color:rgb(var(--label-yellow-03,111 85 22))}:host([pref-contrast=more]):host([variant=primary][message]){--mds-file-preview-icon-background:rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,231 237 248)));--mds-file-preview-icon-color:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)));--mds-file-preview-color:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)))}:host([pref-contrast=more]):host([variant=info][message]){--mds-file-preview-icon-background:rgb(var(--magma-info-wash-soft,var(--status-info-10,220 240 250)));--mds-file-preview-icon-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)));--mds-file-preview-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:host([pref-contrast=more]):host([variant=success][message]){--mds-file-preview-icon-background:rgb(var(--magma-success-wash-soft,var(--status-success-10,220 243 227)));--mds-file-preview-icon-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)));--mds-file-preview-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:host([pref-contrast=more]):host([variant=warning][message]){--mds-file-preview-icon-background:rgb(var(--magma-warning-wash-soft,var(--status-warning-10,255 237 181)));--mds-file-preview-icon-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)));--mds-file-preview-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([pref-contrast=more]):host([variant=error][message]){--mds-file-preview-icon-background:rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230)));--mds-file-preview-icon-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)));--mds-file-preview-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([pref-contrast=more]):host([variant=amaranth][message]){--mds-file-preview-icon-background:rgb(var(--label-amaranth-10,255 232 233));--mds-file-preview-icon-color:rgb(var(--label-amaranth-02,126 28 45));--mds-file-preview-color:rgb(var(--label-amaranth-01,85 16 28))}:host([pref-contrast=more]):host([variant=aqua][message]){--mds-file-preview-icon-background:rgb(var(--label-aqua-10,199 245 253));--mds-file-preview-icon-color:rgb(var(--label-aqua-02,2 75 88));--mds-file-preview-color:rgb(var(--label-aqua-01,2 50 59))}:host([pref-contrast=more]):host([variant=blue][message]){--mds-file-preview-icon-background:rgb(var(--label-blue-10,228 238 255));--mds-file-preview-icon-color:rgb(var(--label-blue-02,9 41 189));--mds-file-preview-color:rgb(var(--label-blue-01,3 25 128))}:host([pref-contrast=more]):host([variant=green][message]){--mds-file-preview-icon-background:rgb(var(--label-green-10,201 248 218));--mds-file-preview-icon-color:rgb(var(--label-green-02,12 79 37));--mds-file-preview-color:rgb(var(--label-green-01,7 52 25))}:host([pref-contrast=more]):host([variant=lime][message]){--mds-file-preview-icon-background:rgb(var(--label-lime-10,214 249 159));--mds-file-preview-icon-color:rgb(var(--label-lime-02,49 76 6));--mds-file-preview-color:rgb(var(--label-lime-01,33 51 4))}:host([pref-contrast=more]):host([variant=orange][message]){--mds-file-preview-icon-background:rgb(var(--label-orange-10,255 233 222));--mds-file-preview-icon-color:rgb(var(--label-orange-02,114 49 5));--mds-file-preview-color:rgb(var(--label-orange-01,77 31 2))}:host([pref-contrast=more]):host([variant=orchid][message]){--mds-file-preview-icon-background:rgb(var(--label-orchid-10,255 231 240));--mds-file-preview-icon-color:rgb(var(--label-orchid-02,129 0 66));--mds-file-preview-color:rgb(var(--label-orchid-01,87 0 35))}:host([pref-contrast=more]):host([variant=purple][message]){--mds-file-preview-icon-background:rgb(var(--label-purple-10,243 233 255));--mds-file-preview-icon-color:rgb(var(--label-purple-02,95 0 162));--mds-file-preview-color:rgb(var(--label-purple-01,57 0 115))}:host([pref-contrast=more]):host([variant=red][message]){--mds-file-preview-icon-background:rgb(var(--label-red-10,252 233 233));--mds-file-preview-icon-color:rgb(var(--label-red-02,131 17 17));--mds-file-preview-color:rgb(var(--label-red-01,87 11 11))}:host([pref-contrast=more]):host([variant=sky][message]){--mds-file-preview-icon-background:rgb(var(--label-sky-10,222 240 252));--mds-file-preview-icon-color:rgb(var(--label-sky-02,3 73 106));--mds-file-preview-color:rgb(var(--label-sky-01,1 48 72))}:host([pref-contrast=more]):host([variant=violet][message]){--mds-file-preview-icon-background:rgb(var(--label-violet-10,238 235 255));--mds-file-preview-icon-color:rgb(var(--label-violet-02,84 7 175));--mds-file-preview-color:rgb(var(--label-violet-01,49 0 123))}:host([pref-contrast=more]):host([variant=yellow][message]){--mds-file-preview-icon-background:rgb(var(--label-yellow-10,255 235 200));--mds-file-preview-icon-color:rgb(var(--label-yellow-02,86 67 20));--mds-file-preview-color:rgb(var(--label-yellow-01,57 44 17))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-file-preview-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark]){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]){--mds-file-preview-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=primary][message]){--mds-file-preview-icon-background:rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,231 237 248)));--mds-file-preview-icon-color:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)));--mds-file-preview-color:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=info][message]){--mds-file-preview-icon-background:rgb(var(--magma-info-wash-soft,var(--status-info-10,220 240 250)));--mds-file-preview-icon-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)));--mds-file-preview-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=success][message]){--mds-file-preview-icon-background:rgb(var(--magma-success-wash-soft,var(--status-success-10,220 243 227)));--mds-file-preview-icon-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)));--mds-file-preview-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=warning][message]){--mds-file-preview-icon-background:rgb(var(--magma-warning-wash-soft,var(--status-warning-10,255 237 181)));--mds-file-preview-icon-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)));--mds-file-preview-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=error][message]){--mds-file-preview-icon-background:rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230)));--mds-file-preview-icon-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)));--mds-file-preview-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=amaranth][message]){--mds-file-preview-icon-background:rgb(var(--label-amaranth-10,255 232 233));--mds-file-preview-icon-color:rgb(var(--label-amaranth-02,126 28 45));--mds-file-preview-color:rgb(var(--label-amaranth-01,85 16 28))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=aqua][message]){--mds-file-preview-icon-background:rgb(var(--label-aqua-10,199 245 253));--mds-file-preview-icon-color:rgb(var(--label-aqua-02,2 75 88));--mds-file-preview-color:rgb(var(--label-aqua-01,2 50 59))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=blue][message]){--mds-file-preview-icon-background:rgb(var(--label-blue-10,228 238 255));--mds-file-preview-icon-color:rgb(var(--label-blue-02,9 41 189));--mds-file-preview-color:rgb(var(--label-blue-01,3 25 128))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=green][message]){--mds-file-preview-icon-background:rgb(var(--label-green-10,201 248 218));--mds-file-preview-icon-color:rgb(var(--label-green-02,12 79 37));--mds-file-preview-color:rgb(var(--label-green-01,7 52 25))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=lime][message]){--mds-file-preview-icon-background:rgb(var(--label-lime-10,214 249 159));--mds-file-preview-icon-color:rgb(var(--label-lime-02,49 76 6));--mds-file-preview-color:rgb(var(--label-lime-01,33 51 4))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=orange][message]){--mds-file-preview-icon-background:rgb(var(--label-orange-10,255 233 222));--mds-file-preview-icon-color:rgb(var(--label-orange-02,114 49 5));--mds-file-preview-color:rgb(var(--label-orange-01,77 31 2))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=orchid][message]){--mds-file-preview-icon-background:rgb(var(--label-orchid-10,255 231 240));--mds-file-preview-icon-color:rgb(var(--label-orchid-02,129 0 66));--mds-file-preview-color:rgb(var(--label-orchid-01,87 0 35))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=purple][message]){--mds-file-preview-icon-background:rgb(var(--label-purple-10,243 233 255));--mds-file-preview-icon-color:rgb(var(--label-purple-02,95 0 162));--mds-file-preview-color:rgb(var(--label-purple-01,57 0 115))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=red][message]){--mds-file-preview-icon-background:rgb(var(--label-red-10,252 233 233));--mds-file-preview-icon-color:rgb(var(--label-red-02,131 17 17));--mds-file-preview-color:rgb(var(--label-red-01,87 11 11))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=sky][message]){--mds-file-preview-icon-background:rgb(var(--label-sky-10,222 240 252));--mds-file-preview-icon-color:rgb(var(--label-sky-02,3 73 106));--mds-file-preview-color:rgb(var(--label-sky-01,1 48 72))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=violet][message]){--mds-file-preview-icon-background:rgb(var(--label-violet-10,238 235 255));--mds-file-preview-icon-color:rgb(var(--label-violet-02,84 7 175));--mds-file-preview-color:rgb(var(--label-violet-01,49 0 123))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=yellow][message]){--mds-file-preview-icon-background:rgb(var(--label-yellow-10,255 235 200));--mds-file-preview-icon-color:rgb(var(--label-yellow-02,86 67 20));--mds-file-preview-color:rgb(var(--label-yellow-01,57 44 17))}:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-file-preview-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-file-preview-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode]):not([pref-theme-scheme=light])),:host([pref-mode=system]:not([pref-theme-scheme=light])){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}}"}},[1,"mds-file-preview",{deletable:[516],downloadable:[516],description:[513],filename:[513],filesize:[513],message:[513],truncate:[513],src:[513],suffix:[513],icon:[513],variant:[513],format:[1537]},void 0,{filename:[{handleFilename:0}]}]);function K(){"undefined"!=typeof customElements&&["mds-file-preview","mds-badge","mds-button","mds-icon","mds-img","mds-spinner","mds-text"].forEach((e=>{switch(e){case"mds-file-preview":customElements.get(o(e))||customElements.define(o(e),G);break;case"mds-badge":customElements.get(o(e))||h();break;case"mds-button":customElements.get(o(e))||w();break;case"mds-icon":customElements.get(o(e))||x();break;case"mds-img":customElements.get(o(e))||y();break;case"mds-spinner":customElements.get(o(e))||k();break;case"mds-text":customElements.get(o(e))||j()}}))}export{G as M,K as d}