@maggioli-design-system/magma 2.0.0-beta.2 → 2.0.0-beta.5

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 (1601) hide show
  1. package/README.md +46 -6
  2. package/dist/cjs/date-B28IitWe.js +24 -0
  3. package/dist/cjs/floating-controller-Cd_vNLLD.js +369 -0
  4. package/dist/cjs/floating-ui.dom-DflSHZIo.js +1688 -0
  5. package/dist/cjs/form-DTCBh5WK.js +22 -0
  6. package/dist/cjs/index--6wz7eWi.js +5183 -0
  7. package/dist/cjs/index.cjs.js +17 -0
  8. package/dist/cjs/keyboard-manager-C_Eaxw-C.js +52 -0
  9. package/dist/cjs/loader.cjs.js +2 -2
  10. package/dist/cjs/locale-CB5_Z7PE.js +816 -0
  11. package/dist/cjs/magma-components.cjs.js +31 -4
  12. package/dist/cjs/mds-accordion-item.cjs.entry.js +7 -6
  13. package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +8 -7
  14. package/dist/cjs/mds-accordion-timer.cjs.entry.js +3 -3
  15. package/dist/cjs/mds-accordion.cjs.entry.js +17 -7
  16. package/dist/cjs/mds-author.cjs.entry.js +9 -4
  17. package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +2 -2
  18. package/dist/cjs/mds-avatar-stack.cjs.entry.js +5 -4
  19. package/dist/cjs/mds-avatar.cjs.entry.js +15 -12
  20. package/dist/cjs/mds-badge.cjs.entry.js +5 -4
  21. package/dist/cjs/mds-banner_3.cjs.entry.js +40 -36
  22. package/dist/cjs/mds-benchmark-bar.cjs.entry.js +3 -3
  23. package/dist/cjs/mds-bibliography.cjs.entry.js +2 -2
  24. package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +3 -3
  25. package/dist/cjs/mds-breadcrumb.cjs.entry.js +12 -20
  26. package/dist/cjs/mds-button-dropdown.cjs.entry.js +3 -3
  27. package/dist/cjs/mds-button-group.cjs.entry.js +3 -3
  28. package/dist/cjs/mds-button_3.cjs.entry.js +13 -14
  29. package/dist/cjs/mds-calendar_2.cjs.entry.js +183 -160
  30. package/dist/cjs/mds-card-content.cjs.entry.js +2 -2
  31. package/dist/cjs/mds-card-footer.cjs.entry.js +2 -2
  32. package/dist/cjs/mds-card-header.cjs.entry.js +9 -4
  33. package/dist/cjs/mds-card-media.cjs.entry.js +2 -2
  34. package/dist/cjs/mds-card.cjs.entry.js +6 -5
  35. package/dist/cjs/mds-details.cjs.entry.js +8 -6
  36. package/dist/cjs/mds-dropdown.cjs.entry.js +201 -55
  37. package/dist/cjs/mds-emoji.cjs.entry.js +301 -181
  38. package/dist/cjs/mds-entity.cjs.entry.js +11 -5
  39. package/dist/cjs/mds-file-preview.cjs.entry.js +8 -14
  40. package/dist/cjs/mds-file.cjs.entry.js +8 -14
  41. package/dist/cjs/mds-filter-item.cjs.entry.js +6 -5
  42. package/dist/cjs/mds-filter.cjs.entry.js +19 -10
  43. package/dist/cjs/mds-header-bar.cjs.entry.js +11 -5
  44. package/dist/cjs/mds-header.cjs.entry.js +10 -8
  45. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +2 -2
  46. package/dist/cjs/mds-hr.cjs.entry.js +4 -3
  47. package/dist/cjs/mds-img.cjs.entry.js +11 -18
  48. package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +2 -2
  49. package/dist/cjs/mds-input-date-range.cjs.entry.js +61 -30
  50. package/dist/cjs/mds-input-date.cjs.entry.js +28 -34
  51. package/dist/cjs/mds-input-field.cjs.entry.js +42 -6
  52. package/dist/cjs/mds-input-otp.cjs.entry.js +38 -4
  53. package/dist/cjs/mds-input-range.cjs.entry.js +9 -7
  54. package/dist/cjs/mds-input-select.cjs.entry.js +11 -19
  55. package/dist/cjs/mds-input-switch_2.cjs.entry.js +19 -32
  56. package/dist/cjs/mds-input-tip_2.cjs.entry.js +8 -17
  57. package/dist/cjs/mds-input-upload.cjs.entry.js +45 -37
  58. package/dist/cjs/mds-input.cjs.entry.js +26 -32
  59. package/dist/cjs/mds-keyboard-key.cjs.entry.js +5 -14
  60. package/dist/cjs/mds-keyboard.cjs.entry.js +20 -21
  61. package/dist/cjs/mds-kpi-item.cjs.entry.js +12 -3
  62. package/dist/cjs/mds-kpi.cjs.entry.js +2 -2
  63. package/dist/cjs/mds-label.cjs.entry.js +7 -13
  64. package/dist/cjs/mds-list-item.cjs.entry.js +4 -3
  65. package/dist/cjs/mds-list.cjs.entry.js +2 -2
  66. package/dist/cjs/mds-mention.cjs.entry.js +38 -4
  67. package/dist/cjs/mds-modal.cjs.entry.js +150 -65
  68. package/dist/cjs/mds-note.cjs.entry.js +7 -15
  69. package/dist/cjs/mds-notification.cjs.entry.js +16 -8
  70. package/dist/cjs/mds-paginator-item.cjs.entry.js +5 -4
  71. package/dist/cjs/mds-paginator.cjs.entry.js +42 -10
  72. package/dist/cjs/mds-policy-ai.cjs.entry.js +8 -15
  73. package/dist/cjs/mds-pref-animation.cjs.entry.js +10 -19
  74. package/dist/cjs/mds-pref-consumption.cjs.entry.js +10 -19
  75. package/dist/cjs/mds-pref-contrast.cjs.entry.js +13 -20
  76. package/dist/cjs/mds-pref-language-item.cjs.entry.js +28 -16
  77. package/dist/cjs/mds-pref-language.cjs.entry.js +38 -28
  78. package/dist/cjs/mds-pref-mode.cjs.entry.js +273 -0
  79. package/dist/cjs/mds-pref-theme-item.cjs.entry.js +43 -0
  80. package/dist/cjs/mds-pref-theme.cjs.entry.js +148 -222
  81. package/dist/cjs/mds-pref.cjs.entry.js +41 -18
  82. package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +4 -3
  83. package/dist/cjs/mds-price-table-features-row.cjs.entry.js +4 -3
  84. package/dist/cjs/mds-price-table-features.cjs.entry.js +4 -3
  85. package/dist/cjs/mds-price-table-header.cjs.entry.js +3 -3
  86. package/dist/cjs/mds-price-table-list-item.cjs.entry.js +3 -3
  87. package/dist/cjs/mds-price-table-list.cjs.entry.js +4 -3
  88. package/dist/cjs/mds-price-table.cjs.entry.js +3 -3
  89. package/dist/cjs/mds-progress_2.cjs.entry.js +7 -11
  90. package/dist/cjs/mds-push-notification-item.cjs.entry.js +19 -20
  91. package/dist/cjs/mds-push-notification.cjs.entry.js +7 -6
  92. package/dist/cjs/mds-quote.cjs.entry.js +4 -3
  93. package/dist/cjs/mds-radial-menu-item.cjs.entry.js +3 -3
  94. package/dist/cjs/mds-radial-menu.cjs.entry.js +7 -6
  95. package/dist/cjs/mds-separator.cjs.entry.js +4 -3
  96. package/dist/cjs/mds-status-bar.cjs.entry.js +5 -4
  97. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +14 -17
  98. package/dist/cjs/mds-stepper-bar.cjs.entry.js +21 -12
  99. package/dist/cjs/mds-tab-bar-item.cjs.entry.js +6 -5
  100. package/dist/cjs/mds-tab-bar.cjs.entry.js +5 -4
  101. package/dist/cjs/mds-tab_2.cjs.entry.js +28 -11
  102. package/dist/cjs/mds-table-body.cjs.entry.js +4 -3
  103. package/dist/cjs/mds-table-footer.cjs.entry.js +4 -3
  104. package/dist/cjs/mds-table-header-cell.cjs.entry.js +4 -3
  105. package/dist/cjs/mds-table-header.cjs.entry.js +19 -21
  106. package/dist/cjs/mds-table-row.cjs.entry.js +20 -21
  107. package/dist/cjs/mds-table.cjs.entry.js +62 -30
  108. package/dist/cjs/mds-text.cjs.entry.js +36 -11
  109. package/dist/cjs/mds-toast.cjs.entry.js +10 -5
  110. package/dist/cjs/mds-tooltip.cjs.entry.js +30 -21
  111. package/dist/cjs/mds-tree-item.cjs.entry.js +36 -14
  112. package/dist/cjs/mds-tree.cjs.entry.js +44 -6
  113. package/dist/cjs/mds-url-view.cjs.entry.js +21 -21
  114. package/dist/cjs/mds-usage.cjs.entry.js +5 -11
  115. package/dist/cjs/mds-video-wall.cjs.entry.js +8 -4
  116. package/dist/cjs/mds-zero.cjs.entry.js +4 -3
  117. package/dist/cjs/preference-eJcbLLAn.js +389 -0
  118. package/dist/cjs/slot-RmXfgH4P.js +69 -0
  119. package/dist/collection/collection-manifest.json +3 -3
  120. package/dist/collection/common/date.js +9 -1
  121. package/dist/collection/common/floating-controller.js +180 -14
  122. package/dist/collection/common/form.js +18 -0
  123. package/dist/collection/common/keyboard-manager.js +5 -5
  124. package/dist/collection/common/locale.js +9 -31
  125. package/dist/collection/common/preference.js +102 -0
  126. package/dist/collection/common/slot.js +14 -1
  127. package/dist/collection/common/yugop/random-text.js +12 -3
  128. package/dist/collection/components/mds-accordion/mds-accordion.css +16 -72
  129. package/dist/collection/components/mds-accordion/mds-accordion.js +18 -8
  130. package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +89 -96
  131. package/dist/collection/components/mds-accordion-item/mds-accordion-item.js +2 -1
  132. package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.css +2 -37
  133. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +66 -44
  134. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +2 -1
  135. package/dist/collection/components/mds-author/mds-author.css +5 -1
  136. package/dist/collection/components/mds-author/mds-author.js +14 -2
  137. package/dist/collection/components/mds-avatar/mds-avatar.css +151 -129
  138. package/dist/collection/components/mds-avatar/mds-avatar.js +13 -10
  139. package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.css +30 -77
  140. package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.js +3 -2
  141. package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.css +11 -137
  142. package/dist/collection/components/mds-badge/mds-badge.css +197 -164
  143. package/dist/collection/components/mds-badge/mds-badge.js +2 -1
  144. package/dist/collection/components/mds-banner/mds-banner.css +174 -196
  145. package/dist/collection/components/mds-banner/mds-banner.js +16 -40
  146. package/dist/collection/components/mds-bibliography/mds-bibliography.css +8 -26
  147. package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.css +6 -82
  148. package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.js +11 -46
  149. package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.css +15 -67
  150. package/dist/collection/components/mds-button/mds-button.css +307 -357
  151. package/dist/collection/components/mds-button/mds-button.js +4 -3
  152. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.css +24 -34
  153. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +1 -1
  154. package/dist/collection/components/mds-button-group/mds-button-group.css +24 -0
  155. package/dist/collection/components/mds-button-group/mds-button-group.js +2 -2
  156. package/dist/collection/components/mds-calendar/mds-calendar.css +13 -69
  157. package/dist/collection/components/mds-calendar/mds-calendar.js +210 -185
  158. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.css +88 -299
  159. package/dist/collection/components/mds-card/mds-card.css +18 -31
  160. package/dist/collection/components/mds-card/mds-card.js +8 -7
  161. package/dist/collection/components/mds-card-content/mds-card-content.css +1 -0
  162. package/dist/collection/components/mds-card-footer/mds-card-footer.css +1 -0
  163. package/dist/collection/components/mds-card-header/mds-card-header.css +5 -0
  164. package/dist/collection/components/mds-card-header/mds-card-header.js +14 -2
  165. package/dist/collection/components/mds-card-media/mds-card-media.css +1 -1
  166. package/dist/collection/components/mds-chip/mds-chip.css +350 -297
  167. package/dist/collection/components/mds-chip/mds-chip.js +19 -37
  168. package/dist/collection/components/mds-details/mds-details.css +75 -38
  169. package/dist/collection/components/mds-details/mds-details.js +4 -2
  170. package/dist/collection/components/mds-dropdown/mds-dropdown.css +126 -124
  171. package/dist/collection/components/mds-dropdown/mds-dropdown.js +210 -62
  172. package/dist/collection/components/mds-emoji/asset/mia.svg +3 -3
  173. package/dist/collection/components/mds-emoji/mds-emoji.css +15 -179
  174. package/dist/collection/components/mds-emoji/mds-emoji.js +297 -177
  175. package/dist/collection/components/mds-entity/mds-entity.css +35 -77
  176. package/dist/collection/components/mds-entity/mds-entity.js +17 -3
  177. package/dist/collection/components/mds-file/mds-file.css +131 -95
  178. package/dist/collection/components/mds-file/mds-file.js +8 -36
  179. package/dist/collection/components/mds-file-preview/mds-file-preview.css +313 -236
  180. package/dist/collection/components/mds-file-preview/mds-file-preview.js +4 -36
  181. package/dist/collection/components/mds-filter/mds-filter.css +103 -98
  182. package/dist/collection/components/mds-filter/mds-filter.js +16 -7
  183. package/dist/collection/components/mds-filter-item/mds-filter-item.css +102 -62
  184. package/dist/collection/components/mds-filter-item/mds-filter-item.js +2 -1
  185. package/dist/collection/components/mds-header/mds-header.css +29 -71
  186. package/dist/collection/components/mds-header/mds-header.js +10 -8
  187. package/dist/collection/components/mds-header-bar/mds-header-bar.css +82 -33
  188. package/dist/collection/components/mds-header-bar/mds-header-bar.js +9 -2
  189. package/dist/collection/components/mds-help/mds-help.css +1 -19
  190. package/dist/collection/components/mds-help/mds-help.js +7 -7
  191. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.css +23 -118
  192. package/dist/collection/components/mds-hr/mds-hr.css +6 -12
  193. package/dist/collection/components/mds-hr/mds-hr.js +2 -1
  194. package/dist/collection/components/mds-icon/mds-icon.js +2 -4
  195. package/dist/collection/components/mds-icon/services/icons-set.service.js +16 -0
  196. package/dist/collection/components/mds-img/mds-img.css +12 -48
  197. package/dist/collection/components/mds-img/mds-img.js +8 -38
  198. package/dist/collection/components/mds-input/mds-input.css +147 -211
  199. package/dist/collection/components/mds-input/mds-input.js +36 -41
  200. package/dist/collection/components/mds-input-date/mds-input-date.css +137 -135
  201. package/dist/collection/components/mds-input-date/mds-input-date.js +63 -48
  202. package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +130 -100
  203. package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +81 -45
  204. package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.css +19 -73
  205. package/dist/collection/components/mds-input-field/mds-input-field.css +65 -29
  206. package/dist/collection/components/mds-input-field/mds-input-field.js +41 -4
  207. package/dist/collection/components/mds-input-otp/mds-input-otp.js +38 -2
  208. package/dist/collection/components/mds-input-range/mds-input-range.css +92 -49
  209. package/dist/collection/components/mds-input-range/mds-input-range.js +6 -4
  210. package/dist/collection/components/mds-input-select/mds-input-select.css +158 -179
  211. package/dist/collection/components/mds-input-select/mds-input-select.js +28 -35
  212. package/dist/collection/components/mds-input-switch/mds-input-switch.css +96 -249
  213. package/dist/collection/components/mds-input-switch/mds-input-switch.js +12 -47
  214. package/dist/collection/components/mds-input-tip/mds-input-tip.css +61 -38
  215. package/dist/collection/components/mds-input-tip/mds-input-tip.js +2 -1
  216. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.css +113 -72
  217. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +3 -38
  218. package/dist/collection/components/mds-input-upload/mds-input-upload.css +28 -42
  219. package/dist/collection/components/mds-input-upload/mds-input-upload.js +41 -52
  220. package/dist/collection/components/mds-keyboard/mds-keyboard.css +37 -125
  221. package/dist/collection/components/mds-keyboard/mds-keyboard.js +17 -40
  222. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.css +4 -28
  223. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -37
  224. package/dist/collection/components/mds-kpi/mds-kpi.css +6 -11
  225. package/dist/collection/components/mds-kpi-item/mds-kpi-item.css +139 -72
  226. package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +10 -1
  227. package/dist/collection/components/mds-label/mds-label.css +278 -356
  228. package/dist/collection/components/mds-label/mds-label.js +3 -35
  229. package/dist/collection/components/mds-list/mds-list.css +4 -5
  230. package/dist/collection/components/mds-list-item/mds-list-item.css +14 -17
  231. package/dist/collection/components/mds-list-item/mds-list-item.js +2 -1
  232. package/dist/collection/components/mds-mention/mds-mention.css +19 -10
  233. package/dist/collection/components/mds-mention/mds-mention.js +62 -2
  234. package/dist/collection/components/mds-modal/mds-modal.css +256 -155
  235. package/dist/collection/components/mds-modal/mds-modal.js +177 -91
  236. package/dist/collection/components/mds-note/mds-note.css +262 -228
  237. package/dist/collection/components/mds-note/mds-note.js +3 -37
  238. package/dist/collection/components/mds-notification/mds-notification.css +88 -114
  239. package/dist/collection/components/mds-notification/mds-notification.js +17 -9
  240. package/dist/collection/components/mds-paginator/mds-paginator.css +111 -55
  241. package/dist/collection/components/mds-paginator/mds-paginator.js +39 -7
  242. package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +103 -107
  243. package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +2 -1
  244. package/dist/collection/components/mds-policy-ai/mds-policy-ai.css +19 -16
  245. package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +4 -38
  246. package/dist/collection/components/mds-pref/mds-pref.js +40 -40
  247. package/dist/collection/components/mds-pref-animation/mds-pref-animation.css +58 -9
  248. package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +7 -42
  249. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.css +20 -15
  250. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +7 -42
  251. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.css +12 -7
  252. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +10 -43
  253. package/dist/collection/components/mds-pref-language/mds-pref-language.css +3 -3
  254. package/dist/collection/components/mds-pref-language/mds-pref-language.js +35 -46
  255. package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +24 -38
  256. package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +79 -0
  257. package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +372 -0
  258. package/dist/collection/components/mds-pref-mode/meta/dictionary.js +3 -0
  259. package/dist/collection/components/mds-pref-theme/mds-pref-theme.css +12 -77
  260. package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +184 -228
  261. package/dist/collection/components/mds-pref-theme/meta/dictionary.js +2 -3
  262. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.css +70 -0
  263. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +160 -0
  264. package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
  265. package/dist/collection/components/mds-price-table-features/mds-price-table-features.css +69 -41
  266. package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +2 -1
  267. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.css +106 -87
  268. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +2 -1
  269. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.css +99 -55
  270. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +2 -1
  271. package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
  272. package/dist/collection/components/mds-price-table-list/mds-price-table-list.css +99 -48
  273. package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +2 -1
  274. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.css +9 -36
  275. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
  276. package/dist/collection/components/mds-progress/mds-progress.css +132 -108
  277. package/dist/collection/components/mds-progress/mds-progress.js +2 -1
  278. package/dist/collection/components/mds-push-notification/mds-push-notification.css +17 -41
  279. package/dist/collection/components/mds-push-notification/mds-push-notification.js +2 -1
  280. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +211 -162
  281. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +18 -39
  282. package/dist/collection/components/mds-quote/mds-quote.css +11 -7
  283. package/dist/collection/components/mds-quote/mds-quote.js +2 -1
  284. package/dist/collection/components/mds-radial-menu/mds-radial-menu.css +6 -60
  285. package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +3 -2
  286. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.css +1 -7
  287. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
  288. package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +24 -30
  289. package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +3 -7
  290. package/dist/collection/components/mds-separator/mds-separator.css +14 -34
  291. package/dist/collection/components/mds-separator/mds-separator.js +2 -1
  292. package/dist/collection/components/mds-spinner/mds-spinner.css +32 -32
  293. package/dist/collection/components/mds-spinner/mds-spinner.js +2 -1
  294. package/dist/collection/components/mds-status-bar/mds-status-bar.css +31 -38
  295. package/dist/collection/components/mds-status-bar/mds-status-bar.js +3 -2
  296. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.css +21 -88
  297. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +18 -9
  298. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +101 -163
  299. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +10 -35
  300. package/dist/collection/components/mds-tab/mds-tab.css +125 -199
  301. package/dist/collection/components/mds-tab/mds-tab.js +19 -4
  302. package/dist/collection/components/mds-tab-bar/mds-tab-bar.css +85 -20
  303. package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +2 -1
  304. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +94 -56
  305. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +2 -1
  306. package/dist/collection/components/mds-tab-item/mds-tab-item.css +33 -43
  307. package/dist/collection/components/mds-tab-item/mds-tab-item.js +75 -1
  308. package/dist/collection/components/mds-table/mds-table.css +102 -126
  309. package/dist/collection/components/mds-table/mds-table.js +59 -28
  310. package/dist/collection/components/mds-table-body/mds-table-body.css +72 -49
  311. package/dist/collection/components/mds-table-body/mds-table-body.js +2 -1
  312. package/dist/collection/components/mds-table-cell/mds-table-cell.css +79 -40
  313. package/dist/collection/components/mds-table-cell/mds-table-cell.js +2 -1
  314. package/dist/collection/components/mds-table-footer/mds-table-footer.css +62 -8
  315. package/dist/collection/components/mds-table-footer/mds-table-footer.js +2 -1
  316. package/dist/collection/components/mds-table-header/mds-table-header.css +62 -8
  317. package/dist/collection/components/mds-table-header/mds-table-header.js +17 -37
  318. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.css +67 -17
  319. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +2 -1
  320. package/dist/collection/components/mds-table-row/mds-table-row.css +92 -63
  321. package/dist/collection/components/mds-table-row/mds-table-row.js +38 -41
  322. package/dist/collection/components/mds-text/mds-text.css +25 -43
  323. package/dist/collection/components/mds-text/mds-text.js +23 -7
  324. package/dist/collection/components/mds-toast/mds-toast.css +139 -105
  325. package/dist/collection/components/mds-toast/mds-toast.js +13 -3
  326. package/dist/collection/components/mds-tooltip/mds-tooltip.css +96 -96
  327. package/dist/collection/components/mds-tooltip/mds-tooltip.js +37 -28
  328. package/dist/collection/components/mds-tree/mds-tree.css +22 -214
  329. package/dist/collection/components/mds-tree/mds-tree.js +42 -4
  330. package/dist/collection/components/mds-tree-item/mds-tree-item.css +193 -343
  331. package/dist/collection/components/mds-tree-item/mds-tree-item.js +87 -14
  332. package/dist/collection/components/mds-url-view/mds-url-view.css +97 -59
  333. package/dist/collection/components/mds-url-view/mds-url-view.js +17 -43
  334. package/dist/collection/components/mds-usage/mds-usage.css +100 -97
  335. package/dist/collection/components/mds-usage/mds-usage.js +2 -34
  336. package/dist/collection/components/mds-video-wall/mds-video-wall.css +24 -40
  337. package/dist/collection/components/mds-video-wall/mds-video-wall.js +12 -2
  338. package/dist/collection/components/mds-zero/mds-zero.css +88 -34
  339. package/dist/collection/components/mds-zero/mds-zero.js +2 -1
  340. package/dist/collection/event-detail/theme.js +1 -0
  341. package/dist/collection/type/preference.js +22 -3
  342. package/dist/components/index.d.ts +230 -0
  343. package/dist/components/index.js +1 -1
  344. package/dist/components/mds-accordion-item.js +1 -1
  345. package/dist/components/mds-accordion-timer-item.js +1 -1
  346. package/dist/components/mds-accordion-timer.js +1 -1
  347. package/dist/components/mds-accordion.js +1 -1
  348. package/dist/components/mds-author.js +1 -1
  349. package/dist/components/mds-avatar-stack-item.js +1 -1
  350. package/dist/components/mds-avatar-stack.js +1 -1
  351. package/dist/components/mds-avatar.js +1 -1
  352. package/dist/components/mds-badge.js +1 -1
  353. package/dist/components/mds-banner.js +1 -1
  354. package/dist/components/mds-benchmark-bar.js +1 -1
  355. package/dist/components/mds-bibliography.js +1 -1
  356. package/dist/components/mds-breadcrumb-item.js +1 -1
  357. package/dist/components/mds-breadcrumb.js +1 -1
  358. package/dist/components/mds-button-dropdown.js +1 -1
  359. package/dist/components/mds-button-group.js +1 -1
  360. package/dist/components/mds-button.js +1 -1
  361. package/dist/components/mds-calendar-cell.js +1 -1
  362. package/dist/components/mds-calendar.js +1 -1
  363. package/dist/components/mds-card-content.js +1 -1
  364. package/dist/components/mds-card-footer.js +1 -1
  365. package/dist/components/mds-card-header.js +1 -1
  366. package/dist/components/mds-card-media.js +1 -1
  367. package/dist/components/mds-card.js +1 -1
  368. package/dist/components/mds-chip.js +1 -1
  369. package/dist/components/mds-details.js +1 -1
  370. package/dist/components/mds-dropdown.js +1 -1
  371. package/dist/components/mds-emoji.js +3 -3
  372. package/dist/components/mds-entity.js +1 -1
  373. package/dist/components/mds-file-preview.js +1 -1
  374. package/dist/components/mds-file.js +3 -3
  375. package/dist/components/mds-filter-item.js +1 -1
  376. package/dist/components/mds-filter.js +1 -1
  377. package/dist/components/mds-header-bar.js +1 -1
  378. package/dist/components/mds-header.js +1 -1
  379. package/dist/components/mds-help.js +1 -1
  380. package/dist/components/mds-horizontal-scroll.js +1 -1
  381. package/dist/components/mds-hr.js +1 -1
  382. package/dist/components/mds-icon.js +1 -1
  383. package/dist/components/mds-img.js +1 -1
  384. package/dist/components/mds-input-date-range-preselection.js +1 -1
  385. package/dist/components/mds-input-date-range.js +1 -1
  386. package/dist/components/mds-input-date.js +1 -1
  387. package/dist/components/mds-input-field.js +1 -1
  388. package/dist/components/mds-input-otp.js +1 -1
  389. package/dist/components/mds-input-range.js +1 -1
  390. package/dist/components/mds-input-select.js +1 -1
  391. package/dist/components/mds-input-switch.js +1 -1
  392. package/dist/components/mds-input-tip-item.js +1 -1
  393. package/dist/components/mds-input-tip.js +1 -1
  394. package/dist/components/mds-input-upload.js +1 -1
  395. package/dist/components/mds-input.js +1 -1
  396. package/dist/components/mds-keyboard-key.js +1 -1
  397. package/dist/components/mds-keyboard.js +1 -1
  398. package/dist/components/mds-kpi-item.js +1 -1
  399. package/dist/components/mds-kpi.js +1 -1
  400. package/dist/components/mds-label.js +1 -1
  401. package/dist/components/mds-list-item.js +1 -1
  402. package/dist/components/mds-list.js +1 -1
  403. package/dist/components/mds-mention.js +1 -1
  404. package/dist/components/mds-modal.js +1 -1
  405. package/dist/components/mds-note.js +1 -1
  406. package/dist/components/mds-notification.js +1 -1
  407. package/dist/components/mds-paginator-item.js +1 -1
  408. package/dist/components/mds-paginator.js +1 -1
  409. package/dist/components/mds-policy-ai.js +1 -1
  410. package/dist/components/mds-pref-animation.js +1 -1
  411. package/dist/components/mds-pref-consumption.js +1 -1
  412. package/dist/components/mds-pref-contrast.js +1 -1
  413. package/dist/components/mds-pref-language-item.js +1 -1
  414. package/dist/components/mds-pref-language.js +1 -1
  415. package/dist/components/mds-pref-mode.d.ts +11 -0
  416. package/dist/components/mds-pref-mode.js +1 -0
  417. package/dist/components/mds-pref-theme-item.d.ts +11 -0
  418. package/dist/components/mds-pref-theme-item.js +1 -0
  419. package/dist/components/mds-pref-theme.js +1 -1
  420. package/dist/components/mds-pref.js +1 -1
  421. package/dist/components/mds-price-table-features-cell.js +1 -1
  422. package/dist/components/mds-price-table-features-row.js +1 -1
  423. package/dist/components/mds-price-table-features.js +1 -1
  424. package/dist/components/mds-price-table-header.js +1 -1
  425. package/dist/components/mds-price-table-list-item.js +1 -1
  426. package/dist/components/mds-price-table-list.js +1 -1
  427. package/dist/components/mds-price-table.js +1 -1
  428. package/dist/components/mds-progress.js +1 -1
  429. package/dist/components/mds-push-notification-item.js +1 -1
  430. package/dist/components/mds-push-notification.js +1 -1
  431. package/dist/components/mds-quote.js +1 -1
  432. package/dist/components/mds-radial-menu-item.js +1 -1
  433. package/dist/components/mds-radial-menu.js +1 -1
  434. package/dist/components/mds-radial-progress.js +1 -1
  435. package/dist/components/mds-separator.js +1 -1
  436. package/dist/components/mds-spinner.js +1 -1
  437. package/dist/components/mds-status-bar.js +1 -1
  438. package/dist/components/mds-stepper-bar-item.js +1 -1
  439. package/dist/components/mds-stepper-bar.js +1 -1
  440. package/dist/components/mds-tab-bar-item.js +1 -1
  441. package/dist/components/mds-tab-bar.js +1 -1
  442. package/dist/components/mds-tab-item.js +1 -1
  443. package/dist/components/mds-tab.js +1 -1
  444. package/dist/components/mds-table-body.js +1 -1
  445. package/dist/components/mds-table-cell.js +1 -1
  446. package/dist/components/mds-table-footer.js +1 -1
  447. package/dist/components/mds-table-header-cell.js +1 -1
  448. package/dist/components/mds-table-header.js +1 -1
  449. package/dist/components/mds-table-row.js +1 -1
  450. package/dist/components/mds-table.js +1 -1
  451. package/dist/components/mds-text.js +1 -1
  452. package/dist/components/mds-toast.js +1 -1
  453. package/dist/components/mds-tooltip.js +1 -1
  454. package/dist/components/mds-tree-item.js +1 -1
  455. package/dist/components/mds-tree.js +1 -1
  456. package/dist/components/mds-url-view.js +1 -1
  457. package/dist/components/mds-usage.js +1 -1
  458. package/dist/components/mds-video-wall.js +1 -1
  459. package/dist/components/mds-zero.js +1 -1
  460. package/dist/components/p--8aaJX-p.js +1 -0
  461. package/dist/components/p-A9TZf0Ii.js +1 -0
  462. package/dist/components/p-B14Ci2fO.js +1 -0
  463. package/dist/components/p-B2A_hlV2.js +1 -0
  464. package/dist/components/p-B9DJLgwr.js +1 -0
  465. package/dist/components/p-BH3bWzRT.js +1 -0
  466. package/dist/components/p-BJNK4p33.js +1 -0
  467. package/dist/components/p-BNHXZ-JR.js +1 -0
  468. package/dist/components/p-BSxuG1vZ.js +1 -0
  469. package/dist/components/p-BTHR4xXu.js +1 -0
  470. package/dist/components/p-BhFTcUD0.js +3 -0
  471. package/dist/components/p-BouRLCYL.js +1 -0
  472. package/dist/components/p-Bss3F51Q.js +5 -0
  473. package/dist/components/p-Bt4xX5ww.js +1 -0
  474. package/dist/components/p-C03KYHGv.js +1 -0
  475. package/dist/components/p-C58NKMEE.js +1 -0
  476. package/dist/components/p-CACEYk42.js +1 -0
  477. package/dist/components/p-CBLAz3_J.js +1 -0
  478. package/dist/components/p-CHAGzQT-.js +1 -0
  479. package/dist/components/p-CVgKDZPF.js +1 -0
  480. package/dist/components/p-CVpjH8Un.js +1 -0
  481. package/dist/components/p-Caksrfcd.js +1 -0
  482. package/dist/components/p-CatD1iUY.js +1 -0
  483. package/dist/components/p-CbufYCNj.js +1 -0
  484. package/dist/components/p-Cehcn85x.js +1 -0
  485. package/dist/components/p-CsgCQiHG.js +1 -0
  486. package/dist/components/p-CvIFS8oA.js +1 -0
  487. package/dist/components/p-D3-GP4KF.js +1 -0
  488. package/dist/components/p-D8I1RblC.js +1 -0
  489. package/dist/components/p-DLE5TNTp.js +1 -0
  490. package/dist/components/p-DaI5QqNu.js +1 -0
  491. package/dist/components/p-Deh5Aia-.js +1 -0
  492. package/dist/components/p-Dj_oN194.js +1 -0
  493. package/dist/components/p-DmELzfvf.js +1 -0
  494. package/dist/components/p-DtxB7DYE.js +1 -0
  495. package/dist/components/p-KRu9I7dw.js +1 -0
  496. package/dist/components/p-cBZsPiMJ.js +1 -0
  497. package/dist/components/p-sUKtonkE.js +8 -0
  498. package/dist/components/p-sqRs6oj4.js +1 -0
  499. package/dist/components/p-wq6nWuWE.js +1 -0
  500. package/dist/documentation.json +1203 -1484
  501. package/dist/esm/date-CACEYk42.js +22 -0
  502. package/dist/esm/floating-controller-DVldZ5mh.js +366 -0
  503. package/dist/esm/floating-ui.dom-CHAGzQT-.js +1680 -0
  504. package/dist/esm/form-A9TZf0Ii.js +19 -0
  505. package/dist/esm/index-DIiEV39g.js +5149 -0
  506. package/dist/esm/index.js +17 -0
  507. package/dist/esm/keyboard-manager-KRu9I7dw.js +50 -0
  508. package/dist/esm/loader.js +3 -3
  509. package/dist/esm/locale-CbJbTW_c.js +814 -0
  510. package/dist/esm/magma-components.js +32 -5
  511. package/dist/esm/mds-accordion-item.entry.js +7 -6
  512. package/dist/esm/mds-accordion-timer-item.entry.js +8 -7
  513. package/dist/esm/mds-accordion-timer.entry.js +3 -3
  514. package/dist/esm/mds-accordion.entry.js +17 -7
  515. package/dist/esm/mds-author.entry.js +9 -4
  516. package/dist/esm/mds-avatar-stack-item.entry.js +2 -2
  517. package/dist/esm/mds-avatar-stack.entry.js +5 -4
  518. package/dist/esm/mds-avatar.entry.js +15 -12
  519. package/dist/esm/mds-badge.entry.js +5 -4
  520. package/dist/esm/mds-banner_3.entry.js +40 -36
  521. package/dist/esm/mds-benchmark-bar.entry.js +3 -3
  522. package/dist/esm/mds-bibliography.entry.js +2 -2
  523. package/dist/esm/mds-breadcrumb-item.entry.js +3 -3
  524. package/dist/esm/mds-breadcrumb.entry.js +12 -20
  525. package/dist/esm/mds-button-dropdown.entry.js +3 -3
  526. package/dist/esm/mds-button-group.entry.js +3 -3
  527. package/dist/esm/mds-button_3.entry.js +13 -14
  528. package/dist/esm/mds-calendar_2.entry.js +183 -160
  529. package/dist/esm/mds-card-content.entry.js +2 -2
  530. package/dist/esm/mds-card-footer.entry.js +2 -2
  531. package/dist/esm/mds-card-header.entry.js +9 -4
  532. package/dist/esm/mds-card-media.entry.js +2 -2
  533. package/dist/esm/mds-card.entry.js +6 -5
  534. package/dist/esm/mds-details.entry.js +8 -6
  535. package/dist/esm/mds-dropdown.entry.js +201 -55
  536. package/dist/esm/mds-emoji.entry.js +301 -181
  537. package/dist/esm/mds-entity.entry.js +11 -5
  538. package/dist/esm/mds-file-preview.entry.js +8 -14
  539. package/dist/esm/mds-file.entry.js +8 -14
  540. package/dist/esm/mds-filter-item.entry.js +6 -5
  541. package/dist/esm/mds-filter.entry.js +19 -10
  542. package/dist/esm/mds-header-bar.entry.js +11 -5
  543. package/dist/esm/mds-header.entry.js +10 -8
  544. package/dist/esm/mds-horizontal-scroll.entry.js +2 -2
  545. package/dist/esm/mds-hr.entry.js +4 -3
  546. package/dist/esm/mds-img.entry.js +11 -18
  547. package/dist/esm/mds-input-date-range-preselection.entry.js +2 -2
  548. package/dist/esm/mds-input-date-range.entry.js +61 -30
  549. package/dist/esm/mds-input-date.entry.js +28 -34
  550. package/dist/esm/mds-input-field.entry.js +42 -6
  551. package/dist/esm/mds-input-otp.entry.js +38 -4
  552. package/dist/esm/mds-input-range.entry.js +9 -7
  553. package/dist/esm/mds-input-select.entry.js +11 -19
  554. package/dist/esm/mds-input-switch_2.entry.js +19 -32
  555. package/dist/esm/mds-input-tip_2.entry.js +8 -17
  556. package/dist/esm/mds-input-upload.entry.js +45 -37
  557. package/dist/esm/mds-input.entry.js +26 -32
  558. package/dist/esm/mds-keyboard-key.entry.js +5 -14
  559. package/dist/esm/mds-keyboard.entry.js +20 -21
  560. package/dist/esm/mds-kpi-item.entry.js +12 -3
  561. package/dist/esm/mds-kpi.entry.js +2 -2
  562. package/dist/esm/mds-label.entry.js +7 -13
  563. package/dist/esm/mds-list-item.entry.js +4 -3
  564. package/dist/esm/mds-list.entry.js +2 -2
  565. package/dist/esm/mds-mention.entry.js +38 -4
  566. package/dist/esm/mds-modal.entry.js +150 -65
  567. package/dist/esm/mds-note.entry.js +7 -15
  568. package/dist/esm/mds-notification.entry.js +16 -8
  569. package/dist/esm/mds-paginator-item.entry.js +5 -4
  570. package/dist/esm/mds-paginator.entry.js +42 -10
  571. package/dist/esm/mds-policy-ai.entry.js +8 -15
  572. package/dist/esm/mds-pref-animation.entry.js +10 -19
  573. package/dist/esm/mds-pref-consumption.entry.js +10 -19
  574. package/dist/esm/mds-pref-contrast.entry.js +13 -20
  575. package/dist/esm/mds-pref-language-item.entry.js +28 -16
  576. package/dist/esm/mds-pref-language.entry.js +38 -28
  577. package/dist/esm/mds-pref-mode.entry.js +271 -0
  578. package/dist/esm/mds-pref-theme-item.entry.js +41 -0
  579. package/dist/esm/mds-pref-theme.entry.js +148 -222
  580. package/dist/esm/mds-pref.entry.js +41 -18
  581. package/dist/esm/mds-price-table-features-cell.entry.js +4 -3
  582. package/dist/esm/mds-price-table-features-row.entry.js +4 -3
  583. package/dist/esm/mds-price-table-features.entry.js +4 -3
  584. package/dist/esm/mds-price-table-header.entry.js +3 -3
  585. package/dist/esm/mds-price-table-list-item.entry.js +3 -3
  586. package/dist/esm/mds-price-table-list.entry.js +4 -3
  587. package/dist/esm/mds-price-table.entry.js +3 -3
  588. package/dist/esm/mds-progress_2.entry.js +7 -11
  589. package/dist/esm/mds-push-notification-item.entry.js +19 -20
  590. package/dist/esm/mds-push-notification.entry.js +7 -6
  591. package/dist/esm/mds-quote.entry.js +4 -3
  592. package/dist/esm/mds-radial-menu-item.entry.js +3 -3
  593. package/dist/esm/mds-radial-menu.entry.js +7 -6
  594. package/dist/esm/mds-separator.entry.js +4 -3
  595. package/dist/esm/mds-status-bar.entry.js +5 -4
  596. package/dist/esm/mds-stepper-bar-item.entry.js +14 -17
  597. package/dist/esm/mds-stepper-bar.entry.js +21 -12
  598. package/dist/esm/mds-tab-bar-item.entry.js +6 -5
  599. package/dist/esm/mds-tab-bar.entry.js +5 -4
  600. package/dist/esm/mds-tab_2.entry.js +28 -11
  601. package/dist/esm/mds-table-body.entry.js +4 -3
  602. package/dist/esm/mds-table-footer.entry.js +4 -3
  603. package/dist/esm/mds-table-header-cell.entry.js +4 -3
  604. package/dist/esm/mds-table-header.entry.js +19 -21
  605. package/dist/esm/mds-table-row.entry.js +20 -21
  606. package/dist/esm/mds-table.entry.js +62 -30
  607. package/dist/esm/mds-text.entry.js +36 -11
  608. package/dist/esm/mds-toast.entry.js +10 -5
  609. package/dist/esm/mds-tooltip.entry.js +30 -21
  610. package/dist/esm/mds-tree-item.entry.js +36 -14
  611. package/dist/esm/mds-tree.entry.js +44 -6
  612. package/dist/esm/mds-url-view.entry.js +21 -21
  613. package/dist/esm/mds-usage.entry.js +5 -11
  614. package/dist/esm/mds-video-wall.entry.js +8 -4
  615. package/dist/esm/mds-zero.entry.js +4 -3
  616. package/dist/esm/preference-CKerJx2M.js +385 -0
  617. package/dist/esm/slot-C0o_l0td.js +61 -0
  618. package/dist/esm-es5/date-CACEYk42.js +6 -0
  619. package/dist/esm-es5/datetime-BJtA1qmE.js +2732 -1
  620. package/dist/esm-es5/floating-controller-DVldZ5mh.js +66 -0
  621. package/dist/esm-es5/floating-ui.dom-CHAGzQT-.js +201 -0
  622. package/dist/esm-es5/form-A9TZf0Ii.js +8 -0
  623. package/dist/esm-es5/index-DIiEV39g.js +371 -0
  624. package/dist/esm-es5/index.js +79 -1
  625. package/dist/esm-es5/keyboard-manager-KRu9I7dw.js +5 -0
  626. package/dist/esm-es5/loader.js +1 -1
  627. package/dist/esm-es5/locale-CbJbTW_c.js +230 -0
  628. package/dist/esm-es5/magma-components.js +4 -1
  629. package/dist/esm-es5/mds-accordion-item.entry.js +4 -1
  630. package/dist/esm-es5/mds-accordion-timer-item.entry.js +17 -1
  631. package/dist/esm-es5/mds-accordion-timer.entry.js +4 -1
  632. package/dist/esm-es5/mds-accordion.entry.js +7 -1
  633. package/dist/esm-es5/mds-author.entry.js +1 -1
  634. package/dist/esm-es5/mds-avatar-stack-item.entry.js +4 -1
  635. package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
  636. package/dist/esm-es5/mds-avatar.entry.js +8 -1
  637. package/dist/esm-es5/mds-badge.entry.js +12 -1
  638. package/dist/esm-es5/mds-banner_3.entry.js +40 -1
  639. package/dist/esm-es5/mds-benchmark-bar.entry.js +15 -1
  640. package/dist/esm-es5/mds-bibliography.entry.js +14 -1
  641. package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
  642. package/dist/esm-es5/mds-breadcrumb.entry.js +4 -1
  643. package/dist/esm-es5/mds-button-dropdown.entry.js +19 -1
  644. package/dist/esm-es5/mds-button-group.entry.js +1 -1
  645. package/dist/esm-es5/mds-button_3.entry.js +42 -1
  646. package/dist/esm-es5/mds-calendar_2.entry.js +81 -1
  647. package/dist/esm-es5/mds-card-content.entry.js +1 -1
  648. package/dist/esm-es5/mds-card-footer.entry.js +1 -1
  649. package/dist/esm-es5/mds-card-header.entry.js +1 -1
  650. package/dist/esm-es5/mds-card-media.entry.js +1 -1
  651. package/dist/esm-es5/mds-card.entry.js +7 -1
  652. package/dist/esm-es5/mds-details.entry.js +4 -1
  653. package/dist/esm-es5/mds-dropdown.entry.js +102 -1
  654. package/dist/esm-es5/mds-emoji.entry.js +899 -3
  655. package/dist/esm-es5/mds-entity.entry.js +1 -1
  656. package/dist/esm-es5/mds-file-preview.entry.js +23 -2
  657. package/dist/esm-es5/mds-file.entry.js +2823 -3
  658. package/dist/esm-es5/mds-filter-item.entry.js +1 -1
  659. package/dist/esm-es5/mds-filter.entry.js +11 -1
  660. package/dist/esm-es5/mds-header-bar.entry.js +11 -1
  661. package/dist/esm-es5/mds-header.entry.js +30 -1
  662. package/dist/esm-es5/mds-horizontal-scroll.entry.js +45 -1
  663. package/dist/esm-es5/mds-hr.entry.js +1 -1
  664. package/dist/esm-es5/mds-img.entry.js +15 -1
  665. package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
  666. package/dist/esm-es5/mds-input-date-range.entry.js +39 -1
  667. package/dist/esm-es5/mds-input-date.entry.js +50 -1
  668. package/dist/esm-es5/mds-input-field.entry.js +22 -1
  669. package/dist/esm-es5/mds-input-otp.entry.js +13 -1
  670. package/dist/esm-es5/mds-input-range.entry.js +24 -1
  671. package/dist/esm-es5/mds-input-select.entry.js +39 -1
  672. package/dist/esm-es5/mds-input-switch_2.entry.js +27 -1
  673. package/dist/esm-es5/mds-input-tip_2.entry.js +10 -1
  674. package/dist/esm-es5/mds-input-upload.entry.js +63 -1
  675. package/dist/esm-es5/mds-input.entry.js +134 -1
  676. package/dist/esm-es5/mds-keyboard-key.entry.js +1 -1
  677. package/dist/esm-es5/mds-keyboard.entry.js +11 -1
  678. package/dist/esm-es5/mds-kpi-item.entry.js +11 -1
  679. package/dist/esm-es5/mds-kpi.entry.js +1 -1
  680. package/dist/esm-es5/mds-label.entry.js +16 -1
  681. package/dist/esm-es5/mds-list-item.entry.js +7 -1
  682. package/dist/esm-es5/mds-list.entry.js +1 -1
  683. package/dist/esm-es5/mds-mention.entry.js +4 -1
  684. package/dist/esm-es5/mds-modal.entry.js +68 -1
  685. package/dist/esm-es5/mds-note.entry.js +7 -1
  686. package/dist/esm-es5/mds-notification.entry.js +13 -1
  687. package/dist/esm-es5/mds-paginator-item.entry.js +1 -1
  688. package/dist/esm-es5/mds-paginator.entry.js +14 -1
  689. package/dist/esm-es5/mds-policy-ai.entry.js +7 -1
  690. package/dist/esm-es5/mds-pref-animation.entry.js +1 -1
  691. package/dist/esm-es5/mds-pref-consumption.entry.js +1 -1
  692. package/dist/esm-es5/mds-pref-contrast.entry.js +4 -1
  693. package/dist/esm-es5/mds-pref-language-item.entry.js +13 -1
  694. package/dist/esm-es5/mds-pref-language.entry.js +15 -1
  695. package/dist/esm-es5/mds-pref-mode.entry.js +4 -0
  696. package/dist/esm-es5/mds-pref-theme-item.entry.js +13 -0
  697. package/dist/esm-es5/mds-pref-theme.entry.js +38 -1
  698. package/dist/esm-es5/mds-pref.entry.js +9 -1
  699. package/dist/esm-es5/mds-price-table-features-cell.entry.js +4 -1
  700. package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
  701. package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
  702. package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
  703. package/dist/esm-es5/mds-price-table-list-item.entry.js +7 -1
  704. package/dist/esm-es5/mds-price-table-list.entry.js +1 -1
  705. package/dist/esm-es5/mds-price-table.entry.js +1 -1
  706. package/dist/esm-es5/mds-progress_2.entry.js +32 -1
  707. package/dist/esm-es5/mds-push-notification-item.entry.js +16 -1
  708. package/dist/esm-es5/mds-push-notification.entry.js +49 -1
  709. package/dist/esm-es5/mds-quote.entry.js +7 -1
  710. package/dist/esm-es5/mds-radial-menu-item.entry.js +10 -1
  711. package/dist/esm-es5/mds-radial-menu.entry.js +28 -1
  712. package/dist/esm-es5/mds-separator.entry.js +1 -1
  713. package/dist/esm-es5/mds-status-bar.entry.js +10 -1
  714. package/dist/esm-es5/mds-stepper-bar-item.entry.js +16 -1
  715. package/dist/esm-es5/mds-stepper-bar.entry.js +19 -1
  716. package/dist/esm-es5/mds-tab-bar-item.entry.js +9 -1
  717. package/dist/esm-es5/mds-tab-bar.entry.js +1 -1
  718. package/dist/esm-es5/mds-tab_2.entry.js +26 -1
  719. package/dist/esm-es5/mds-table-body.entry.js +1 -1
  720. package/dist/esm-es5/mds-table-footer.entry.js +1 -1
  721. package/dist/esm-es5/mds-table-header-cell.entry.js +4 -1
  722. package/dist/esm-es5/mds-table-header.entry.js +14 -1
  723. package/dist/esm-es5/mds-table-row.entry.js +8 -1
  724. package/dist/esm-es5/mds-table.entry.js +15 -1
  725. package/dist/esm-es5/mds-text.entry.js +27 -1
  726. package/dist/esm-es5/mds-toast.entry.js +15 -1
  727. package/dist/esm-es5/mds-tooltip.entry.js +37 -1
  728. package/dist/esm-es5/mds-tree-item.entry.js +16 -1
  729. package/dist/esm-es5/mds-tree.entry.js +20 -1
  730. package/dist/esm-es5/mds-url-view.entry.js +7 -1
  731. package/dist/esm-es5/mds-usage.entry.js +4 -1
  732. package/dist/esm-es5/mds-video-wall.entry.js +16 -1
  733. package/dist/esm-es5/mds-zero.entry.js +1 -1
  734. package/dist/esm-es5/preference-CKerJx2M.js +58 -0
  735. package/dist/esm-es5/slot-C0o_l0td.js +23 -0
  736. package/dist/hydrate/index.js +4695 -2035
  737. package/dist/hydrate/index.mjs +4695 -2035
  738. package/dist/magma-components/index.esm.js +1 -1
  739. package/dist/magma-components/magma-components.esm.js +1 -1
  740. package/dist/magma-components/magma-components.js +1 -1
  741. package/dist/magma-components/p-03be5c0c.entry.js +1 -0
  742. package/dist/magma-components/p-0715a2cb.system.entry.js +12 -0
  743. package/dist/magma-components/p-071f18c6.system.entry.js +27 -0
  744. package/dist/magma-components/p-0798b0bf.system.entry.js +24 -0
  745. package/dist/magma-components/p-07fde74d.system.entry.js +39 -0
  746. package/dist/magma-components/p-086fb3aa.entry.js +1 -0
  747. package/dist/magma-components/p-0a088e7d.system.entry.js +10 -0
  748. package/dist/magma-components/p-0a691082.entry.js +1 -0
  749. package/dist/magma-components/p-0ad3b4da.system.entry.js +102 -0
  750. package/dist/magma-components/p-0af8d821.entry.js +1 -0
  751. package/dist/magma-components/p-0ec21574.system.entry.js +10 -0
  752. package/dist/magma-components/p-0f6bb54d.system.entry.js +22 -0
  753. package/dist/magma-components/p-102d3bd3.system.entry.js +1 -0
  754. package/dist/magma-components/p-10704ede.system.entry.js +4 -0
  755. package/dist/magma-components/p-15f63bf3.entry.js +1 -0
  756. package/dist/magma-components/p-16e9fb14.system.entry.js +7 -0
  757. package/dist/magma-components/p-1780b8ba.entry.js +1 -0
  758. package/dist/magma-components/p-181dfb04.entry.js +1 -0
  759. package/dist/magma-components/p-184720be.system.entry.js +1 -0
  760. package/dist/magma-components/p-18f7b970.system.entry.js +4 -0
  761. package/dist/magma-components/p-1a8c5086.system.entry.js +19 -0
  762. package/dist/magma-components/p-1afc0452.entry.js +1 -0
  763. package/dist/magma-components/p-1c0a7e24.system.entry.js +30 -0
  764. package/dist/magma-components/p-1cce738a.system.entry.js +32 -0
  765. package/dist/magma-components/p-1dcfb13e.entry.js +1 -0
  766. package/dist/magma-components/p-1df6ac96.system.entry.js +7 -0
  767. package/dist/magma-components/p-209063b6.system.entry.js +50 -0
  768. package/dist/magma-components/p-216f95cc.system.entry.js +1 -0
  769. package/dist/magma-components/p-21891a24.entry.js +1 -0
  770. package/dist/magma-components/p-21d6687a.system.entry.js +7 -0
  771. package/dist/magma-components/p-231505e8.entry.js +1 -0
  772. package/dist/magma-components/p-23e61db9.system.entry.js +4 -0
  773. package/dist/magma-components/p-241dbf61.entry.js +1 -0
  774. package/dist/magma-components/p-25935d33.system.entry.js +1 -0
  775. package/dist/magma-components/p-284c40cd.system.entry.js +4 -0
  776. package/dist/magma-components/p-29684655.system.entry.js +16 -0
  777. package/dist/magma-components/p-2b73fee6.entry.js +1 -0
  778. package/dist/magma-components/p-2d5aadba.system.entry.js +7 -0
  779. package/dist/magma-components/p-2de17848.entry.js +1 -0
  780. package/dist/magma-components/p-34482514.entry.js +1 -0
  781. package/dist/magma-components/p-34c0890e.entry.js +1 -0
  782. package/dist/magma-components/p-3635eca6.system.entry.js +1 -0
  783. package/dist/magma-components/p-3b0c1202.entry.js +1 -0
  784. package/dist/magma-components/p-3d8e63a2.system.entry.js +63 -0
  785. package/dist/magma-components/p-3db23b5f.system.entry.js +16 -0
  786. package/dist/magma-components/p-3ec7d3ea.entry.js +1 -0
  787. package/dist/magma-components/p-3f7d3060.system.entry.js +42 -0
  788. package/dist/magma-components/p-40563e33.entry.js +1 -0
  789. package/dist/magma-components/p-41bf6f25.system.entry.js +81 -0
  790. package/dist/magma-components/p-421a630e.entry.js +1 -0
  791. package/dist/magma-components/p-4297da23.system.entry.js +1 -0
  792. package/dist/magma-components/p-4299b76b.system.entry.js +4 -0
  793. package/dist/magma-components/p-4543501c.entry.js +1 -0
  794. package/dist/magma-components/p-454c4774.entry.js +1 -0
  795. package/dist/magma-components/p-4616bc07.entry.js +1 -0
  796. package/dist/magma-components/p-46786d71.system.entry.js +14 -0
  797. package/dist/magma-components/p-470e5ac8.system.entry.js +1 -0
  798. package/dist/magma-components/p-481008e9.system.entry.js +13 -0
  799. package/dist/magma-components/p-48d37230.entry.js +1 -0
  800. package/dist/magma-components/p-4b3a8132.system.entry.js +13 -0
  801. package/dist/magma-components/p-4c8316a8.entry.js +1 -0
  802. package/dist/magma-components/p-4c95442e.entry.js +1 -0
  803. package/dist/magma-components/p-4e4bdbf8.entry.js +1 -0
  804. package/dist/magma-components/p-4e5ab0e4.system.entry.js +16 -0
  805. package/dist/magma-components/p-54b995c2.system.entry.js +4 -0
  806. package/dist/magma-components/p-56ad5bf2.entry.js +1 -0
  807. package/dist/magma-components/p-59de81ac.entry.js +1 -0
  808. package/dist/magma-components/p-5a7ead55.system.entry.js +37 -0
  809. package/dist/magma-components/p-5e43274a.system.entry.js +15 -0
  810. package/dist/magma-components/p-5f545f85.system.entry.js +1 -0
  811. package/dist/magma-components/p-61a5ac3d.system.entry.js +17 -0
  812. package/dist/magma-components/p-636cc471.entry.js +1 -0
  813. package/dist/magma-components/p-66ce2dee.entry.js +1 -0
  814. package/dist/magma-components/p-67d80d37.system.entry.js +1 -0
  815. package/dist/magma-components/p-6937f340.entry.js +1 -0
  816. package/dist/magma-components/p-69d1b815.entry.js +1 -0
  817. package/dist/magma-components/p-6b7e449f.entry.js +1 -0
  818. package/dist/magma-components/p-6c417ea1.system.entry.js +913 -0
  819. package/dist/magma-components/p-6cd7cfe3.entry.js +1 -0
  820. package/dist/magma-components/p-6ce60d59.entry.js +1 -0
  821. package/dist/magma-components/p-6cf760ea.system.entry.js +45 -0
  822. package/dist/magma-components/p-6dc27543.entry.js +1 -0
  823. package/dist/magma-components/p-6de37588.entry.js +1 -0
  824. package/dist/magma-components/p-6edc4f16.system.entry.js +14 -0
  825. package/dist/magma-components/p-6f6b5eb5.entry.js +1 -0
  826. package/dist/magma-components/p-7090184f.entry.js +1 -0
  827. package/dist/magma-components/p-716ad14c.entry.js +1 -0
  828. package/dist/magma-components/p-71804224.entry.js +1 -0
  829. package/dist/magma-components/p-735dc594.system.entry.js +1 -0
  830. package/dist/magma-components/p-739fdf76.system.entry.js +1 -0
  831. package/dist/magma-components/p-74b0902a.entry.js +1 -0
  832. package/dist/magma-components/p-7530a2f2.entry.js +1 -0
  833. package/dist/magma-components/p-75dd012a.system.entry.js +11 -0
  834. package/dist/magma-components/p-75fcf1a4.entry.js +1 -0
  835. package/dist/magma-components/p-76ae22d6.entry.js +1 -0
  836. package/dist/magma-components/p-78248693.entry.js +1 -0
  837. package/dist/magma-components/p-78fef00a.entry.js +1 -0
  838. package/dist/magma-components/p-7c0d202c.entry.js +1 -0
  839. package/dist/magma-components/p-7d317ff0.entry.js +8 -0
  840. package/dist/magma-components/p-7f2e3b74.system.entry.js +2838 -0
  841. package/dist/magma-components/p-7fc29447.entry.js +1 -0
  842. package/dist/magma-components/p-8103d4d4.system.entry.js +30 -0
  843. package/dist/magma-components/p-81b72b6e.entry.js +1 -0
  844. package/dist/magma-components/p-859ab5a2.entry.js +18 -0
  845. package/dist/magma-components/p-896ae0ee.entry.js +1 -0
  846. package/dist/magma-components/p-89a3bc7a.system.entry.js +16 -0
  847. package/dist/magma-components/p-8b7fa8d7.entry.js +1 -0
  848. package/dist/magma-components/p-8dff6606.system.entry.js +11 -0
  849. package/dist/magma-components/p-8e40eda3.system.entry.js +9 -0
  850. package/dist/magma-components/p-91b9d4e7.system.entry.js +4 -0
  851. package/dist/magma-components/p-92e1001f.entry.js +1 -0
  852. package/dist/magma-components/p-9378b373.system.entry.js +49 -0
  853. package/dist/magma-components/p-960dc9b5.system.entry.js +15 -0
  854. package/dist/magma-components/p-9626eaff.system.entry.js +134 -0
  855. package/dist/magma-components/p-9741d95e.system.entry.js +7 -0
  856. package/dist/magma-components/p-97ea9e6e.system.entry.js +68 -0
  857. package/dist/magma-components/p-9846fe89.system.entry.js +1 -0
  858. package/dist/magma-components/p-998721b9.system.entry.js +1 -0
  859. package/dist/magma-components/p-9a5296c0.system.entry.js +7 -0
  860. package/dist/magma-components/p-9b2ee3fe.entry.js +1 -0
  861. package/dist/magma-components/p-9be4a736.entry.js +1 -0
  862. package/dist/magma-components/p-9ca7932d.system.entry.js +8 -0
  863. package/dist/magma-components/p-9d86477d.system.entry.js +1 -0
  864. package/dist/magma-components/p-9d9a947b.entry.js +18 -0
  865. package/dist/magma-components/p-9e3bc553.system.entry.js +26 -0
  866. package/dist/magma-components/p-9e58467e.system.entry.js +10 -0
  867. package/dist/magma-components/p-9e9a1ebd.system.entry.js +15 -0
  868. package/dist/magma-components/p-A9TZf0Ii.js +1 -0
  869. package/dist/magma-components/p-BFnx_0hM.js +5 -0
  870. package/dist/magma-components/p-BJKToXNf.system.js +2733 -1
  871. package/dist/magma-components/p-BbMKuVem.js +1 -0
  872. package/dist/magma-components/p-C0o_l0td.js +1 -0
  873. package/dist/magma-components/p-C2FHijr2.system.js +231 -0
  874. package/dist/magma-components/p-CACEYk42.js +1 -0
  875. package/dist/magma-components/p-CBam2PI8.system.js +79 -0
  876. package/dist/magma-components/p-CDTiTqY0.system.js +58 -0
  877. package/dist/magma-components/p-CHAGzQT-.js +1 -0
  878. package/dist/magma-components/p-CI85vVs8.system.js +9 -0
  879. package/dist/magma-components/p-CnXBPjmc.system.js +5 -0
  880. package/dist/magma-components/p-DB8Rm54c.js +1 -0
  881. package/dist/magma-components/p-DIiEV39g.js +3 -0
  882. package/dist/magma-components/p-Dg8nxRUX.system.js +201 -0
  883. package/dist/magma-components/p-DmC-b-ZK.system.js +67 -0
  884. package/dist/magma-components/p-KRu9I7dw.js +1 -0
  885. package/dist/magma-components/p-LerCJgfP.system.js +5 -0
  886. package/dist/magma-components/p-MGv0i39Y.system.js +162 -0
  887. package/dist/magma-components/p-RJ5ZA1kY.system.js +23 -0
  888. package/dist/magma-components/p-a3279a73.system.entry.js +11 -0
  889. package/dist/magma-components/p-a3b0f586.entry.js +1 -0
  890. package/dist/magma-components/p-a3fc2ea4.system.entry.js +39 -0
  891. package/dist/magma-components/p-a5ac5e0b.entry.js +1 -0
  892. package/dist/magma-components/p-a8ec3080.system.entry.js +27 -0
  893. package/dist/magma-components/p-a906a02f.system.entry.js +16 -0
  894. package/dist/magma-components/p-a93b2a39.entry.js +1 -0
  895. package/dist/magma-components/p-aa267e7b.entry.js +1 -0
  896. package/dist/magma-components/p-ab9095ae.system.entry.js +4 -0
  897. package/dist/magma-components/p-ac544ab1.entry.js +1 -0
  898. package/dist/magma-components/p-ace198e9.entry.js +1 -0
  899. package/dist/magma-components/p-ad3983b2.entry.js +1 -0
  900. package/dist/magma-components/p-af41c8b8.system.entry.js +1 -0
  901. package/dist/magma-components/p-af45f0a5.system.entry.js +20 -0
  902. package/dist/magma-components/p-b23a6c83.entry.js +1 -0
  903. package/dist/magma-components/p-b3a3578c.entry.js +1 -0
  904. package/dist/magma-components/p-b49e0321.system.entry.js +1 -0
  905. package/dist/magma-components/p-b71e0d51.entry.js +1 -0
  906. package/dist/magma-components/p-b8d4a14e.entry.js +1 -0
  907. package/dist/magma-components/p-b9fecfd5.entry.js +1 -0
  908. package/dist/magma-components/p-ba035f90.entry.js +1 -0
  909. package/dist/magma-components/p-bc51d310.system.entry.js +1 -0
  910. package/dist/magma-components/p-bd490a8e.entry.js +1 -0
  911. package/dist/magma-components/p-be198039.system.entry.js +4 -0
  912. package/dist/magma-components/p-be692266.system.entry.js +13 -0
  913. package/dist/magma-components/p-bf7168b4.entry.js +1 -0
  914. package/dist/magma-components/p-bf84d9fa.entry.js +1 -0
  915. package/dist/magma-components/p-c1fb2eb7.entry.js +1 -0
  916. package/dist/magma-components/p-c4e58240.entry.js +1 -0
  917. package/dist/magma-components/p-c573de10.entry.js +1 -0
  918. package/dist/magma-components/p-c6be3db7.system.entry.js +1 -0
  919. package/dist/magma-components/p-c70d7159.entry.js +1 -0
  920. package/dist/magma-components/p-c7517884.system.entry.js +38 -0
  921. package/dist/magma-components/p-c9be79bd.entry.js +1 -0
  922. package/dist/magma-components/p-c9e12c2b.system.entry.js +7 -0
  923. package/dist/magma-components/p-cb6a1908.entry.js +1 -0
  924. package/dist/magma-components/p-cbd5aef4.system.entry.js +14 -0
  925. package/dist/magma-components/p-cd21137b.system.entry.js +1 -0
  926. package/dist/magma-components/p-cd5866c8.entry.js +1 -0
  927. package/dist/magma-components/p-ce0ecc75.system.entry.js +15 -0
  928. package/dist/magma-components/p-ce4e1a41.system.entry.js +1 -0
  929. package/dist/magma-components/p-d3116844.entry.js +1 -0
  930. package/dist/magma-components/p-d38165ed.system.entry.js +1 -0
  931. package/dist/magma-components/p-d3933a22.entry.js +1 -0
  932. package/dist/magma-components/p-d44c49d6.system.entry.js +8 -0
  933. package/dist/magma-components/p-d4a529ce.entry.js +1 -0
  934. package/dist/magma-components/p-d6d4aa1a.entry.js +1 -0
  935. package/dist/magma-components/p-d81e7100.system.entry.js +15 -0
  936. package/dist/magma-components/p-d8c27f4b.entry.js +1 -0
  937. package/dist/magma-components/p-d921d876.entry.js +1 -0
  938. package/dist/magma-components/p-da1ac3e1.entry.js +1 -0
  939. package/dist/magma-components/p-ddbdce09.entry.js +1 -0
  940. package/dist/magma-components/p-de6bc3c8.entry.js +1 -0
  941. package/dist/magma-components/p-df2b7607.system.entry.js +4 -0
  942. package/dist/magma-components/p-e05d2df8.system.entry.js +4 -0
  943. package/dist/magma-components/p-e0b2ef8f.system.entry.js +1 -0
  944. package/dist/magma-components/p-e0c50a2d.entry.js +1 -0
  945. package/dist/magma-components/p-e1277efe.system.entry.js +1 -0
  946. package/dist/magma-components/p-e1e6dd97.entry.js +1 -0
  947. package/dist/magma-components/p-e2f7a9bd.system.entry.js +1 -0
  948. package/dist/magma-components/p-e3e893c4.entry.js +1 -0
  949. package/dist/magma-components/p-e4868ade.entry.js +1 -0
  950. package/dist/magma-components/p-e5c6f9a9.system.entry.js +7 -0
  951. package/dist/magma-components/p-e5da7036.entry.js +1 -0
  952. package/dist/magma-components/p-e6dccab5.system.entry.js +1 -0
  953. package/dist/magma-components/p-ec59ec9a.entry.js +1 -0
  954. package/dist/magma-components/p-eddcef53.system.entry.js +1 -0
  955. package/dist/magma-components/p-eed00e7f.system.entry.js +1 -0
  956. package/dist/magma-components/p-ef8cb401.entry.js +1 -0
  957. package/dist/magma-components/p-efe8d359.entry.js +1 -0
  958. package/dist/magma-components/p-f070a5b5.system.entry.js +11 -0
  959. package/dist/magma-components/p-f0a168f4.system.entry.js +13 -0
  960. package/dist/magma-components/p-f1462410.system.entry.js +9 -0
  961. package/dist/magma-components/p-f23d4974.entry.js +1 -0
  962. package/dist/magma-components/p-f542246f.system.entry.js +1 -0
  963. package/dist/magma-components/p-f5c680dd.entry.js +1 -0
  964. package/dist/magma-components/p-f60c6e8e.system.entry.js +40 -0
  965. package/dist/magma-components/p-f8369939.entry.js +1 -0
  966. package/dist/magma-components/p-f97ede3e.system.entry.js +19 -0
  967. package/dist/magma-components/p-f97ff5b2.entry.js +1 -0
  968. package/dist/magma-components/p-fe1662e8.system.entry.js +28 -0
  969. package/dist/magma-components/p-ff133cbd.entry.js +1 -0
  970. package/dist/magma-components/p-fff44704.entry.js +1 -0
  971. package/dist/magma-components/p-opeIIa7t.system.js +7 -0
  972. package/dist/stats.json +5873 -5582
  973. package/dist/types/common/date.d.ts +5 -1
  974. package/dist/types/common/floating-controller.d.ts +59 -5
  975. package/dist/types/common/form.d.ts +10 -0
  976. package/dist/types/common/locale.d.ts +0 -5
  977. package/dist/types/common/preference.d.ts +54 -0
  978. package/dist/types/common/slot.d.ts +11 -1
  979. package/dist/types/common/yugop/random-text.d.ts +8 -0
  980. package/dist/types/components/mds-accordion/mds-accordion.d.ts +2 -2
  981. package/dist/types/components/mds-author/mds-author.d.ts +2 -1
  982. package/dist/types/components/mds-avatar/mds-avatar.d.ts +2 -0
  983. package/dist/types/components/mds-banner/mds-banner.d.ts +4 -9
  984. package/dist/types/components/mds-breadcrumb/mds-breadcrumb.d.ts +2 -8
  985. package/dist/types/components/mds-button/mds-button.d.ts +0 -1
  986. package/dist/types/components/mds-button-group/mds-button-group.d.ts +1 -1
  987. package/dist/types/components/mds-calendar/mds-calendar.d.ts +33 -18
  988. package/dist/types/components/mds-card/mds-card.d.ts +2 -2
  989. package/dist/types/components/mds-card-header/mds-card-header.d.ts +2 -1
  990. package/dist/types/components/mds-chip/mds-chip.d.ts +0 -6
  991. package/dist/types/components/mds-dropdown/mds-dropdown.d.ts +44 -14
  992. package/dist/types/components/mds-emoji/mds-emoji.d.ts +9 -2
  993. package/dist/types/components/mds-entity/mds-entity.d.ts +3 -2
  994. package/dist/types/components/mds-file/mds-file.d.ts +2 -7
  995. package/dist/types/components/mds-file-preview/mds-file-preview.d.ts +0 -5
  996. package/dist/types/components/mds-filter/mds-filter.d.ts +10 -0
  997. package/dist/types/components/mds-header/mds-header.d.ts +2 -2
  998. package/dist/types/components/mds-header-bar/mds-header-bar.d.ts +2 -1
  999. package/dist/types/components/mds-help/mds-help.d.ts +2 -2
  1000. package/dist/types/components/mds-icon/mds-icon.d.ts +0 -1
  1001. package/dist/types/components/mds-img/mds-img.d.ts +2 -7
  1002. package/dist/types/components/mds-input/mds-input.d.ts +8 -6
  1003. package/dist/types/components/mds-input-date/mds-input-date.d.ts +11 -4
  1004. package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +11 -3
  1005. package/dist/types/components/mds-input-field/mds-input-field.d.ts +3 -0
  1006. package/dist/types/components/mds-input-otp/mds-input-otp.d.ts +7 -0
  1007. package/dist/types/components/mds-input-select/mds-input-select.d.ts +5 -4
  1008. package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +0 -5
  1009. package/dist/types/components/mds-input-tip-item/mds-input-tip-item.d.ts +0 -7
  1010. package/dist/types/components/mds-input-upload/mds-input-upload.d.ts +5 -7
  1011. package/dist/types/components/mds-input-upload/meta/types.d.ts +1 -1
  1012. package/dist/types/components/mds-keyboard/mds-keyboard.d.ts +1 -7
  1013. package/dist/types/components/mds-keyboard-key/mds-keyboard-key.d.ts +0 -7
  1014. package/dist/types/components/mds-keyboard-key/meta/icons.d.ts +1 -1
  1015. package/dist/types/components/mds-kpi-item/mds-kpi-item.d.ts +8 -0
  1016. package/dist/types/components/mds-label/mds-label.d.ts +0 -5
  1017. package/dist/types/components/mds-mention/mds-mention.d.ts +13 -0
  1018. package/dist/types/components/mds-mention/meta/interface.d.ts +5 -0
  1019. package/dist/types/components/mds-modal/mds-modal.d.ts +31 -19
  1020. package/dist/types/components/mds-modal/meta/types.d.ts +0 -1
  1021. package/dist/types/components/mds-note/mds-note.d.ts +0 -6
  1022. package/dist/types/components/mds-notification/mds-notification.d.ts +2 -2
  1023. package/dist/types/components/mds-paginator/mds-paginator.d.ts +14 -1
  1024. package/dist/types/components/mds-policy-ai/mds-policy-ai.d.ts +1 -7
  1025. package/dist/types/components/mds-pref/mds-pref.d.ts +12 -8
  1026. package/dist/types/components/mds-pref-animation/mds-pref-animation.d.ts +1 -6
  1027. package/dist/types/components/mds-pref-consumption/mds-pref-consumption.d.ts +1 -6
  1028. package/dist/types/components/mds-pref-contrast/mds-pref-contrast.d.ts +1 -6
  1029. package/dist/types/components/mds-pref-language/mds-pref-language.d.ts +3 -9
  1030. package/dist/types/components/mds-pref-language-item/mds-pref-language-item.d.ts +3 -7
  1031. package/dist/types/components/mds-pref-mode/mds-pref-mode.d.ts +62 -0
  1032. package/dist/types/components/mds-pref-mode/meta/dictionary.d.ts +3 -0
  1033. package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +63 -36
  1034. package/dist/types/components/mds-pref-theme/meta/dictionary.d.ts +2 -3
  1035. package/dist/types/components/mds-pref-theme-item/mds-pref-theme-item.d.ts +28 -0
  1036. package/dist/types/components/mds-push-notification-item/mds-push-notification-item.d.ts +4 -8
  1037. package/dist/types/components/mds-radial-progress/mds-radial-progress.d.ts +0 -1
  1038. package/dist/types/components/mds-stepper-bar/mds-stepper-bar.d.ts +10 -0
  1039. package/dist/types/components/mds-stepper-bar-item/mds-stepper-bar-item.d.ts +0 -6
  1040. package/dist/types/components/mds-tab/mds-tab.d.ts +2 -1
  1041. package/dist/types/components/mds-tab-item/mds-tab-item.d.ts +17 -0
  1042. package/dist/types/components/mds-table/mds-table.d.ts +10 -5
  1043. package/dist/types/components/mds-table-header/mds-table-header.d.ts +0 -5
  1044. package/dist/types/components/mds-table-row/mds-table-row.d.ts +8 -7
  1045. package/dist/types/components/mds-toast/mds-toast.d.ts +2 -1
  1046. package/dist/types/components/mds-tooltip/mds-tooltip.d.ts +8 -8
  1047. package/dist/types/components/mds-tree/mds-tree.d.ts +5 -0
  1048. package/dist/types/components/mds-tree-item/mds-tree-item.d.ts +26 -6
  1049. package/dist/types/components/mds-url-view/mds-url-view.d.ts +0 -6
  1050. package/dist/types/components/mds-usage/mds-usage.d.ts +0 -6
  1051. package/dist/types/components/mds-video-wall/mds-video-wall.d.ts +2 -1
  1052. package/dist/types/components.d.ts +437 -393
  1053. package/dist/types/event-detail/preference.d.ts +2 -2
  1054. package/dist/types/event-detail/theme.d.ts +5 -0
  1055. package/dist/types/stencil-public-runtime.d.ts +12 -0
  1056. package/dist/types/type/preference.d.ts +16 -3
  1057. package/loader/index.d.ts +1 -1
  1058. package/package.json +61 -64
  1059. package/dist/cjs/date-dnDGaLCn.js +0 -16
  1060. package/dist/cjs/floating-controller-DA8xyqCa.js +0 -203
  1061. package/dist/cjs/floating-ui.dom-DW-02Mib.js +0 -1703
  1062. package/dist/cjs/index-CNuKb6Lv.js +0 -2896
  1063. package/dist/cjs/keyboard-manager-BXKT5TGW.js +0 -52
  1064. package/dist/cjs/locale-oGW3SvGJ.js +0 -837
  1065. package/dist/cjs/mds-pref-theme-variant-item.cjs.entry.js +0 -63
  1066. package/dist/cjs/mds-pref-theme-variant.cjs.entry.js +0 -149
  1067. package/dist/cjs/slot-CI0KpgtY.js +0 -52
  1068. package/dist/collection/components/mds-accordion/test/mds-accordion.stories.js +0 -38
  1069. package/dist/collection/components/mds-accordion-item/test/mds-accordion-item.stories.js +0 -35
  1070. package/dist/collection/components/mds-accordion-timer/test/mds-accordion-timer.stories.js +0 -51
  1071. package/dist/collection/components/mds-accordion-timer-item/test/mds-accordion-timer-item.stories.js +0 -52
  1072. package/dist/collection/components/mds-author/test/mds-author.stories.js +0 -12
  1073. package/dist/collection/components/mds-avatar/test/mds-avatar.stories.js +0 -71
  1074. package/dist/collection/components/mds-avatar-stack/test/mds-avatar-stack.stories.js +0 -34
  1075. package/dist/collection/components/mds-avatar-stack-item/test/mds-avatar-stack-item.stories.js +0 -60
  1076. package/dist/collection/components/mds-badge/test/mds-badge.stories.js +0 -46
  1077. package/dist/collection/components/mds-banner/test/mds-banner.stories.js +0 -106
  1078. package/dist/collection/components/mds-benchmark-bar/test/mds-benchmark-bar.stories.js +0 -64
  1079. package/dist/collection/components/mds-bibliography/test/mds-bibliography.stories.js +0 -104
  1080. package/dist/collection/components/mds-breadcrumb/test/mds-breadcrumb.stories.js +0 -14
  1081. package/dist/collection/components/mds-breadcrumb-item/test/mds-breadcrumb-item.stories.js +0 -24
  1082. package/dist/collection/components/mds-button/test/mds-button.stories.js +0 -346
  1083. package/dist/collection/components/mds-button-dropdown/test/mds-button-dropdown.stories.js +0 -73
  1084. package/dist/collection/components/mds-button-group/test/mds-button-group.stories.js +0 -12
  1085. package/dist/collection/components/mds-calendar/test/mds-calendar.stories.js +0 -24
  1086. package/dist/collection/components/mds-card/test/mds-card.stories.js +0 -82
  1087. package/dist/collection/components/mds-chip/test/mds-chip.stories.js +0 -120
  1088. package/dist/collection/components/mds-details/test/mds-details.stories.js +0 -20
  1089. package/dist/collection/components/mds-dropdown/test/mds-dropdown.stories.js +0 -256
  1090. package/dist/collection/components/mds-emoji/test/mds-emoji.stories.js +0 -87
  1091. package/dist/collection/components/mds-entity/test/mds-entity.stories.js +0 -101
  1092. package/dist/collection/components/mds-file/test/mds-file.stories.js +0 -73
  1093. package/dist/collection/components/mds-file-preview/test/mds-file-preview.stories.js +0 -154
  1094. package/dist/collection/components/mds-filter/test/mds-filter.stories.js +0 -49
  1095. package/dist/collection/components/mds-filter-item/test/mds-filter-item.stories.js +0 -36
  1096. package/dist/collection/components/mds-header/test/mds-header.stories.js +0 -71
  1097. package/dist/collection/components/mds-header-bar/test/mds-header-bar.stories.js +0 -21
  1098. package/dist/collection/components/mds-help/test/mds-help.stories.js +0 -23
  1099. package/dist/collection/components/mds-horizontal-scroll/test/mds-horizontal-scroll.stories.js +0 -48
  1100. package/dist/collection/components/mds-hr/test/mds-hr.stories.js +0 -14
  1101. package/dist/collection/components/mds-icon/test/mds-icon.stories.js +0 -76
  1102. package/dist/collection/components/mds-img/test/mds-img-accessibility.stories.js +0 -34
  1103. package/dist/collection/components/mds-img/test/mds-img.stories.js +0 -62
  1104. package/dist/collection/components/mds-input/test/mds-input.stories.js +0 -302
  1105. package/dist/collection/components/mds-input-date/test/mds-input-date.stories.js +0 -70
  1106. package/dist/collection/components/mds-input-date-range/test/mds-input-date-range.stories.js +0 -109
  1107. package/dist/collection/components/mds-input-field/test/mds-input-field.stories.js +0 -90
  1108. package/dist/collection/components/mds-input-otp/test/mds-input-otp.stories.js +0 -68
  1109. package/dist/collection/components/mds-input-range/test/mds-input-range.stories.js +0 -92
  1110. package/dist/collection/components/mds-input-select/test/mds-input-select.stories.js +0 -97
  1111. package/dist/collection/components/mds-input-switch/test/mds-input-switch.stories.js +0 -169
  1112. package/dist/collection/components/mds-input-tip/test/mds-input-tip.stories.js +0 -20
  1113. package/dist/collection/components/mds-input-tip-item/test/mds-input-tip.stories.js +0 -20
  1114. package/dist/collection/components/mds-input-upload/test/mds-input-upload.stories.js +0 -48
  1115. package/dist/collection/components/mds-keyboard/test/mds-keyboard.stories.js +0 -30
  1116. package/dist/collection/components/mds-keyboard-key/test/mds-keyboard-key.stories.js +0 -20
  1117. package/dist/collection/components/mds-kpi/test/mds-kpi.stories.js +0 -22
  1118. package/dist/collection/components/mds-kpi-item/test/mds-kpi-item.stories.js +0 -34
  1119. package/dist/collection/components/mds-label/test/mds-label.stories.js +0 -72
  1120. package/dist/collection/components/mds-list/test/mds-list.stories.js +0 -8
  1121. package/dist/collection/components/mds-list-item/test/mds-list-item.stories.js +0 -29
  1122. package/dist/collection/components/mds-mention/test/mds-mention.stories.js +0 -31
  1123. package/dist/collection/components/mds-modal/test/mds-modal.stories.js +0 -347
  1124. package/dist/collection/components/mds-note/test/mds-note.stories.js +0 -31
  1125. package/dist/collection/components/mds-notification/test/mds-notification.stories.js +0 -64
  1126. package/dist/collection/components/mds-paginator/test/mds-paginator.stories.js +0 -28
  1127. package/dist/collection/components/mds-policy-ai/test/mds-policy.stories.js +0 -82
  1128. package/dist/collection/components/mds-pref/test/mds-pref.stories.js +0 -26
  1129. package/dist/collection/components/mds-pref-animation/test/mds-pref-animation.stories.js +0 -18
  1130. package/dist/collection/components/mds-pref-consumption/test/mds-pref-consumption.stories.js +0 -18
  1131. package/dist/collection/components/mds-pref-contrast/test/mds-pref-contrast.stories.js +0 -18
  1132. package/dist/collection/components/mds-pref-language/test/mds-pref-language.stories.js +0 -18
  1133. package/dist/collection/components/mds-pref-theme/test/mds-pref-theme.stories.js +0 -24
  1134. package/dist/collection/components/mds-pref-theme-variant/mds-pref-theme-variant.css +0 -40
  1135. package/dist/collection/components/mds-pref-theme-variant/mds-pref-theme-variant.js +0 -288
  1136. package/dist/collection/components/mds-pref-theme-variant/meta/dictionary.js +0 -2
  1137. package/dist/collection/components/mds-pref-theme-variant/test/mds-pref-theme-variant.stories.js +0 -27
  1138. package/dist/collection/components/mds-pref-theme-variant-item/mds-pref-theme-variant-item.css +0 -100
  1139. package/dist/collection/components/mds-pref-theme-variant-item/mds-pref-theme-variant-item.js +0 -198
  1140. package/dist/collection/components/mds-price-table/test/mds-price-table.stories.js +0 -11
  1141. package/dist/collection/components/mds-price-table-features/test/mds-price-table-features.stories.js +0 -11
  1142. package/dist/collection/components/mds-price-table-features-cell/test/mds-price-table-features-cell.stories.js +0 -11
  1143. package/dist/collection/components/mds-price-table-header/test/mds-price-table-header.stories.js +0 -8
  1144. package/dist/collection/components/mds-price-table-list/test/mds-price-table-list.stories.js +0 -12
  1145. package/dist/collection/components/mds-progress/test/mds-progress.stories.js +0 -66
  1146. package/dist/collection/components/mds-push-notification/test/mds-push-notification.stories.js +0 -104
  1147. package/dist/collection/components/mds-push-notification-item/test/mds-push-notification-item.stories.js +0 -194
  1148. package/dist/collection/components/mds-quote/test/mds-quote.stories.js +0 -33
  1149. package/dist/collection/components/mds-radial-menu/test/mds-radial-menu.stories.js +0 -98
  1150. package/dist/collection/components/mds-radial-menu-item/test/mds-radial-menu-item.stories.js +0 -37
  1151. package/dist/collection/components/mds-radial-progress/test/mds-radial-progress.stories.js +0 -45
  1152. package/dist/collection/components/mds-separator/test/mds-separator.stories.js +0 -8
  1153. package/dist/collection/components/mds-spinner/test/mds-spinner.stories.js +0 -20
  1154. package/dist/collection/components/mds-status-bar/test/mds-status-bar.stories.js +0 -80
  1155. package/dist/collection/components/mds-stepper-bar/test/mds-stepper-bar.stories.js +0 -100
  1156. package/dist/collection/components/mds-stepper-bar-item/test/mds-stepper-bar-item.stories.js +0 -70
  1157. package/dist/collection/components/mds-tab/test/mds-tab.stories.js +0 -152
  1158. package/dist/collection/components/mds-tab-bar/test/mds-tab-bar.stories.js +0 -8
  1159. package/dist/collection/components/mds-tab-bar-item/test/mds-tab-bar-item.stories.js +0 -21
  1160. package/dist/collection/components/mds-tab-item/test/mds-tab-item.stories.js +0 -54
  1161. package/dist/collection/components/mds-table/test/mds-table.stories.js +0 -107
  1162. package/dist/collection/components/mds-text/test/mds-text.stories.js +0 -183
  1163. package/dist/collection/components/mds-toast/test/mds-toast.stories.js +0 -52
  1164. package/dist/collection/components/mds-tooltip/test/mds-tooltip.stories.js +0 -155
  1165. package/dist/collection/components/mds-tree/test/mds-tree-apk.stories.js +0 -66
  1166. package/dist/collection/components/mds-tree/test/mds-tree.stories.js +0 -83
  1167. package/dist/collection/components/mds-tree-item/test/mds-tree-item.stories.js +0 -71
  1168. package/dist/collection/components/mds-url-view/test/mds-url-view.stories.js +0 -75
  1169. package/dist/collection/components/mds-usage/test/mds-usage.stories.js +0 -33
  1170. package/dist/collection/components/mds-video-wall/test/mds-video-wall.stories.js +0 -104
  1171. package/dist/collection/components/mds-zero/test/mds-zero.stories.js +0 -8
  1172. package/dist/collection/storybook/box-shadows.stories.js +0 -53
  1173. package/dist/collection/storybook/color-scale.stories.js +0 -465
  1174. package/dist/collection/storybook/components-preview.stories.js +0 -36
  1175. package/dist/collection/storybook/example-page.stories.js +0 -10
  1176. package/dist/collection/storybook/fouc-hydrated.stories.js +0 -20
  1177. package/dist/collection/storybook/input-form.stories.js +0 -40
  1178. package/dist/collection/storybook/same-childrend-slot-names.stories.js +0 -10
  1179. package/dist/collection/test/file.js +0 -53
  1180. package/dist/collection/test/mock.js +0 -19
  1181. package/dist/components/date.js +0 -1
  1182. package/dist/components/floating-controller.js +0 -1
  1183. package/dist/components/floating-ui.dom.js +0 -1
  1184. package/dist/components/icons-set.service.js +0 -1
  1185. package/dist/components/keyboard-manager.js +0 -1
  1186. package/dist/components/locale.it.js +0 -1
  1187. package/dist/components/locale.js +0 -5
  1188. package/dist/components/mds-avatar-stack-item2.js +0 -1
  1189. package/dist/components/mds-avatar2.js +0 -1
  1190. package/dist/components/mds-badge2.js +0 -1
  1191. package/dist/components/mds-banner2.js +0 -1
  1192. package/dist/components/mds-button2.js +0 -1
  1193. package/dist/components/mds-calendar-cell2.js +0 -1
  1194. package/dist/components/mds-calendar2.js +0 -1
  1195. package/dist/components/mds-chip2.js +0 -1
  1196. package/dist/components/mds-dropdown2.js +0 -1
  1197. package/dist/components/mds-file-preview2.js +0 -8
  1198. package/dist/components/mds-filter-item2.js +0 -1
  1199. package/dist/components/mds-help2.js +0 -1
  1200. package/dist/components/mds-icon2.js +0 -1
  1201. package/dist/components/mds-img2.js +0 -1
  1202. package/dist/components/mds-input-switch2.js +0 -1
  1203. package/dist/components/mds-input-tip-item2.js +0 -1
  1204. package/dist/components/mds-input-tip2.js +0 -1
  1205. package/dist/components/mds-input2.js +0 -1
  1206. package/dist/components/mds-modal2.js +0 -1
  1207. package/dist/components/mds-paginator-item2.js +0 -1
  1208. package/dist/components/mds-pref-theme-variant-item.d.ts +0 -11
  1209. package/dist/components/mds-pref-theme-variant-item.js +0 -1
  1210. package/dist/components/mds-pref-theme-variant.d.ts +0 -11
  1211. package/dist/components/mds-pref-theme-variant.js +0 -1
  1212. package/dist/components/mds-progress2.js +0 -1
  1213. package/dist/components/mds-radial-progress2.js +0 -1
  1214. package/dist/components/mds-separator2.js +0 -1
  1215. package/dist/components/mds-spinner2.js +0 -1
  1216. package/dist/components/mds-tab-item2.js +0 -1
  1217. package/dist/components/mds-tab2.js +0 -1
  1218. package/dist/components/mds-table-cell2.js +0 -1
  1219. package/dist/components/mds-table-header-cell2.js +0 -1
  1220. package/dist/components/mds-text2.js +0 -1
  1221. package/dist/components/mds-tooltip2.js +0 -1
  1222. package/dist/components/slot.js +0 -1
  1223. package/dist/esm/date-C1oxPa_J.js +0 -14
  1224. package/dist/esm/floating-controller-CP3-OFb9.js +0 -200
  1225. package/dist/esm/floating-ui.dom-8RYXTPXs.js +0 -1695
  1226. package/dist/esm/index-CAd5312P.js +0 -2869
  1227. package/dist/esm/keyboard-manager-BudfaWhu.js +0 -50
  1228. package/dist/esm/locale-a4oAcjYG.js +0 -835
  1229. package/dist/esm/mds-pref-theme-variant-item.entry.js +0 -61
  1230. package/dist/esm/mds-pref-theme-variant.entry.js +0 -147
  1231. package/dist/esm/slot-ttrRC6OE.js +0 -48
  1232. package/dist/esm-es5/date-C1oxPa_J.js +0 -1
  1233. package/dist/esm-es5/floating-controller-CP3-OFb9.js +0 -1
  1234. package/dist/esm-es5/floating-ui.dom-8RYXTPXs.js +0 -1
  1235. package/dist/esm-es5/index-CAd5312P.js +0 -1
  1236. package/dist/esm-es5/keyboard-manager-BudfaWhu.js +0 -1
  1237. package/dist/esm-es5/locale-a4oAcjYG.js +0 -5
  1238. package/dist/esm-es5/mds-pref-theme-variant-item.entry.js +0 -1
  1239. package/dist/esm-es5/mds-pref-theme-variant.entry.js +0 -1
  1240. package/dist/esm-es5/slot-ttrRC6OE.js +0 -1
  1241. package/dist/magma-components/p-00313884.entry.js +0 -1
  1242. package/dist/magma-components/p-01dc43dd.entry.js +0 -1
  1243. package/dist/magma-components/p-01dca5e8.entry.js +0 -1
  1244. package/dist/magma-components/p-030d45e3.entry.js +0 -1
  1245. package/dist/magma-components/p-0328a23e.system.entry.js +0 -1
  1246. package/dist/magma-components/p-08c6869a.entry.js +0 -1
  1247. package/dist/magma-components/p-09de9fc5.system.entry.js +0 -1
  1248. package/dist/magma-components/p-0acb46c8.entry.js +0 -1
  1249. package/dist/magma-components/p-0b10ef9f.system.entry.js +0 -1
  1250. package/dist/magma-components/p-0b11f03b.entry.js +0 -1
  1251. package/dist/magma-components/p-0be56202.system.entry.js +0 -1
  1252. package/dist/magma-components/p-0de58147.entry.js +0 -1
  1253. package/dist/magma-components/p-0e481e5c.system.entry.js +0 -1
  1254. package/dist/magma-components/p-0f104850.system.entry.js +0 -1
  1255. package/dist/magma-components/p-1073bf63.entry.js +0 -1
  1256. package/dist/magma-components/p-11490a89.entry.js +0 -1
  1257. package/dist/magma-components/p-137b0bbe.system.entry.js +0 -1
  1258. package/dist/magma-components/p-14a98729.entry.js +0 -1
  1259. package/dist/magma-components/p-14d858f8.system.entry.js +0 -1
  1260. package/dist/magma-components/p-14e918de.system.entry.js +0 -1
  1261. package/dist/magma-components/p-154ef5b9.entry.js +0 -1
  1262. package/dist/magma-components/p-158af6e3.entry.js +0 -1
  1263. package/dist/magma-components/p-17427d8a.system.entry.js +0 -1
  1264. package/dist/magma-components/p-1805592d.entry.js +0 -1
  1265. package/dist/magma-components/p-18563022.entry.js +0 -1
  1266. package/dist/magma-components/p-19f99447.entry.js +0 -1
  1267. package/dist/magma-components/p-1a56d383.system.entry.js +0 -1
  1268. package/dist/magma-components/p-1bb7895a.system.entry.js +0 -1
  1269. package/dist/magma-components/p-1ce791c1.system.entry.js +0 -1
  1270. package/dist/magma-components/p-1da904c3.system.entry.js +0 -1
  1271. package/dist/magma-components/p-20961bf1.entry.js +0 -1
  1272. package/dist/magma-components/p-24a9ed63.system.entry.js +0 -1
  1273. package/dist/magma-components/p-26b131cf.entry.js +0 -1
  1274. package/dist/magma-components/p-28ebb626.entry.js +0 -1
  1275. package/dist/magma-components/p-292f4566.system.entry.js +0 -1
  1276. package/dist/magma-components/p-2a1d3680.system.entry.js +0 -1
  1277. package/dist/magma-components/p-2ab75334.system.entry.js +0 -1
  1278. package/dist/magma-components/p-2ccc796b.system.entry.js +0 -1
  1279. package/dist/magma-components/p-2d9d0887.system.entry.js +0 -1
  1280. package/dist/magma-components/p-2df01d02.system.entry.js +0 -1
  1281. package/dist/magma-components/p-3145c7eb.entry.js +0 -1
  1282. package/dist/magma-components/p-34018dfe.entry.js +0 -1
  1283. package/dist/magma-components/p-35a9f1b4.system.entry.js +0 -18
  1284. package/dist/magma-components/p-35ec8bbd.entry.js +0 -1
  1285. package/dist/magma-components/p-370f9463.system.entry.js +0 -1
  1286. package/dist/magma-components/p-387948c4.system.entry.js +0 -1
  1287. package/dist/magma-components/p-3aeecbba.system.entry.js +0 -1
  1288. package/dist/magma-components/p-3af9132f.system.entry.js +0 -1
  1289. package/dist/magma-components/p-3bfd085f.system.entry.js +0 -1
  1290. package/dist/magma-components/p-3c246a39.entry.js +0 -1
  1291. package/dist/magma-components/p-3c2bf79b.entry.js +0 -1
  1292. package/dist/magma-components/p-3ce52f3c.entry.js +0 -1
  1293. package/dist/magma-components/p-3e5993b4.entry.js +0 -1
  1294. package/dist/magma-components/p-3ef80cd4.system.entry.js +0 -1
  1295. package/dist/magma-components/p-3fc3b8b4.entry.js +0 -1
  1296. package/dist/magma-components/p-423955d1.system.entry.js +0 -1
  1297. package/dist/magma-components/p-42f336df.system.entry.js +0 -1
  1298. package/dist/magma-components/p-45a85712.system.entry.js +0 -1
  1299. package/dist/magma-components/p-460cd731.system.entry.js +0 -1
  1300. package/dist/magma-components/p-473f6954.entry.js +0 -1
  1301. package/dist/magma-components/p-47fa0ecf.entry.js +0 -1
  1302. package/dist/magma-components/p-4b07fe37.entry.js +0 -1
  1303. package/dist/magma-components/p-4b884441.entry.js +0 -1
  1304. package/dist/magma-components/p-4ba583c9.entry.js +0 -1
  1305. package/dist/magma-components/p-4c08fe3e.entry.js +0 -1
  1306. package/dist/magma-components/p-4f490917.entry.js +0 -1
  1307. package/dist/magma-components/p-4f98fdba.system.entry.js +0 -1
  1308. package/dist/magma-components/p-50553954.system.entry.js +0 -1
  1309. package/dist/magma-components/p-523d4716.entry.js +0 -1
  1310. package/dist/magma-components/p-52ccfafc.system.entry.js +0 -1
  1311. package/dist/magma-components/p-52e2f903.entry.js +0 -1
  1312. package/dist/magma-components/p-53195d95.system.entry.js +0 -1
  1313. package/dist/magma-components/p-5488f51f.system.entry.js +0 -1
  1314. package/dist/magma-components/p-553927f9.system.entry.js +0 -1
  1315. package/dist/magma-components/p-55b4bbba.entry.js +0 -1
  1316. package/dist/magma-components/p-583f5ffa.entry.js +0 -1
  1317. package/dist/magma-components/p-59d65cff.entry.js +0 -1
  1318. package/dist/magma-components/p-59f53701.system.entry.js +0 -1
  1319. package/dist/magma-components/p-5b881091.entry.js +0 -1
  1320. package/dist/magma-components/p-5c44d208.entry.js +0 -1
  1321. package/dist/magma-components/p-5fdcd8e2.system.entry.js +0 -1
  1322. package/dist/magma-components/p-5fe7b875.system.entry.js +0 -1
  1323. package/dist/magma-components/p-614e7f83.system.entry.js +0 -1
  1324. package/dist/magma-components/p-62cf9003.system.entry.js +0 -1
  1325. package/dist/magma-components/p-63898681.entry.js +0 -1
  1326. package/dist/magma-components/p-663a510e.entry.js +0 -1
  1327. package/dist/magma-components/p-68f57bb1.entry.js +0 -1
  1328. package/dist/magma-components/p-6ae4df92.system.entry.js +0 -1
  1329. package/dist/magma-components/p-6d268a59.entry.js +0 -1
  1330. package/dist/magma-components/p-7306b02e.system.entry.js +0 -17
  1331. package/dist/magma-components/p-75011fed.system.entry.js +0 -9
  1332. package/dist/magma-components/p-7595afcf.entry.js +0 -18
  1333. package/dist/magma-components/p-77e9bd68.entry.js +0 -1
  1334. package/dist/magma-components/p-7d836722.entry.js +0 -1
  1335. package/dist/magma-components/p-7e037cf3.entry.js +0 -8
  1336. package/dist/magma-components/p-8106dbfd.system.entry.js +0 -1
  1337. package/dist/magma-components/p-82deeaa0.system.entry.js +0 -1
  1338. package/dist/magma-components/p-83589b83.entry.js +0 -1
  1339. package/dist/magma-components/p-83721814.entry.js +0 -18
  1340. package/dist/magma-components/p-83de0e53.system.entry.js +0 -1
  1341. package/dist/magma-components/p-849760e7.system.entry.js +0 -1
  1342. package/dist/magma-components/p-85ac6e54.system.entry.js +0 -1
  1343. package/dist/magma-components/p-87f8a213.entry.js +0 -1
  1344. package/dist/magma-components/p-89bf698e.system.entry.js +0 -1
  1345. package/dist/magma-components/p-89f96753.system.entry.js +0 -1
  1346. package/dist/magma-components/p-8RYXTPXs.js +0 -1
  1347. package/dist/magma-components/p-8b3065b4.entry.js +0 -1
  1348. package/dist/magma-components/p-8bec8ad6.system.entry.js +0 -1
  1349. package/dist/magma-components/p-8d76853c.system.entry.js +0 -1
  1350. package/dist/magma-components/p-8f1ce3f1.system.entry.js +0 -1
  1351. package/dist/magma-components/p-9021fa60.entry.js +0 -1
  1352. package/dist/magma-components/p-90b72c1c.system.entry.js +0 -1
  1353. package/dist/magma-components/p-90d5b6df.system.entry.js +0 -1
  1354. package/dist/magma-components/p-913372ff.entry.js +0 -1
  1355. package/dist/magma-components/p-94093140.system.entry.js +0 -1
  1356. package/dist/magma-components/p-944d9b27.system.entry.js +0 -1
  1357. package/dist/magma-components/p-94713401.entry.js +0 -1
  1358. package/dist/magma-components/p-956b5ae6.entry.js +0 -1
  1359. package/dist/magma-components/p-95eae04e.entry.js +0 -1
  1360. package/dist/magma-components/p-961a2531.entry.js +0 -1
  1361. package/dist/magma-components/p-9658cb0c.entry.js +0 -1
  1362. package/dist/magma-components/p-96d1a168.entry.js +0 -1
  1363. package/dist/magma-components/p-96f6a646.entry.js +0 -1
  1364. package/dist/magma-components/p-98435b90.system.entry.js +0 -1
  1365. package/dist/magma-components/p-988b0c7c.entry.js +0 -1
  1366. package/dist/magma-components/p-98a05642.system.entry.js +0 -1
  1367. package/dist/magma-components/p-99f7a1b6.system.entry.js +0 -1
  1368. package/dist/magma-components/p-9a1940c1.system.entry.js +0 -1
  1369. package/dist/magma-components/p-9a89bc78.system.entry.js +0 -1
  1370. package/dist/magma-components/p-9ad586a7.system.entry.js +0 -1
  1371. package/dist/magma-components/p-9b52918e.system.entry.js +0 -1
  1372. package/dist/magma-components/p-9yaIBCJC.system.js +0 -1
  1373. package/dist/magma-components/p-BMAK4u5Y.system.js +0 -1
  1374. package/dist/magma-components/p-Bh89IjzU.system.js +0 -1
  1375. package/dist/magma-components/p-BudfaWhu.js +0 -1
  1376. package/dist/magma-components/p-C1oxPa_J.js +0 -1
  1377. package/dist/magma-components/p-CAd5312P.js +0 -2
  1378. package/dist/magma-components/p-CJPnuGyH.system.js +0 -1
  1379. package/dist/magma-components/p-CxU_BeBE.js +0 -1
  1380. package/dist/magma-components/p-DI5DWqw4.system.js +0 -2
  1381. package/dist/magma-components/p-DTZViJWJ.system.js +0 -1
  1382. package/dist/magma-components/p-DcKeJ0td.system.js +0 -6
  1383. package/dist/magma-components/p-a1af65e8.entry.js +0 -1
  1384. package/dist/magma-components/p-a4oAcjYG.js +0 -5
  1385. package/dist/magma-components/p-a5473293.system.entry.js +0 -1
  1386. package/dist/magma-components/p-a6caafcb.system.entry.js +0 -1
  1387. package/dist/magma-components/p-a7bd4585.entry.js +0 -1
  1388. package/dist/magma-components/p-a88fba47.system.entry.js +0 -1
  1389. package/dist/magma-components/p-a959ade4.entry.js +0 -1
  1390. package/dist/magma-components/p-aa7d8972.entry.js +0 -1
  1391. package/dist/magma-components/p-aa98652f.entry.js +0 -1
  1392. package/dist/magma-components/p-aaeb0ee3.system.entry.js +0 -1
  1393. package/dist/magma-components/p-ab89bf5b.system.entry.js +0 -1
  1394. package/dist/magma-components/p-abc720e3.entry.js +0 -1
  1395. package/dist/magma-components/p-abe87810.entry.js +0 -1
  1396. package/dist/magma-components/p-ac80aca8.entry.js +0 -1
  1397. package/dist/magma-components/p-acb07134.system.entry.js +0 -1
  1398. package/dist/magma-components/p-acd4f96a.entry.js +0 -1
  1399. package/dist/magma-components/p-af49bca2.entry.js +0 -1
  1400. package/dist/magma-components/p-af670eaf.entry.js +0 -1
  1401. package/dist/magma-components/p-b14a94e0.system.entry.js +0 -1
  1402. package/dist/magma-components/p-b2bc194a.entry.js +0 -1
  1403. package/dist/magma-components/p-b2e76c18.system.entry.js +0 -1
  1404. package/dist/magma-components/p-b37dff80.system.entry.js +0 -1
  1405. package/dist/magma-components/p-b3e3226e.entry.js +0 -1
  1406. package/dist/magma-components/p-b40f1153.entry.js +0 -1
  1407. package/dist/magma-components/p-b4709a95.entry.js +0 -1
  1408. package/dist/magma-components/p-b5db6527.system.entry.js +0 -1
  1409. package/dist/magma-components/p-b764defa.entry.js +0 -1
  1410. package/dist/magma-components/p-b9b2501e.system.entry.js +0 -1
  1411. package/dist/magma-components/p-b9b5bcdd.system.entry.js +0 -1
  1412. package/dist/magma-components/p-ba2a0bc1.system.entry.js +0 -1
  1413. package/dist/magma-components/p-bb4380cd.entry.js +0 -1
  1414. package/dist/magma-components/p-bce3a8b0.system.entry.js +0 -1
  1415. package/dist/magma-components/p-bd2998e6.system.entry.js +0 -1
  1416. package/dist/magma-components/p-bd3dbc2d.entry.js +0 -1
  1417. package/dist/magma-components/p-bed57abb.entry.js +0 -1
  1418. package/dist/magma-components/p-bfed0b7a.entry.js +0 -1
  1419. package/dist/magma-components/p-c6177cb9.system.entry.js +0 -1
  1420. package/dist/magma-components/p-c638556c.entry.js +0 -1
  1421. package/dist/magma-components/p-c6fa4a21.entry.js +0 -1
  1422. package/dist/magma-components/p-c8e99385.system.entry.js +0 -1
  1423. package/dist/magma-components/p-c9231987.entry.js +0 -1
  1424. package/dist/magma-components/p-c9c51ba6.system.entry.js +0 -1
  1425. package/dist/magma-components/p-cc53b30c.entry.js +0 -1
  1426. package/dist/magma-components/p-ccc0521c.entry.js +0 -1
  1427. package/dist/magma-components/p-cd71630e.system.entry.js +0 -1
  1428. package/dist/magma-components/p-cd879243.system.entry.js +0 -1
  1429. package/dist/magma-components/p-ce064d47.entry.js +0 -1
  1430. package/dist/magma-components/p-d1eea8ca.system.entry.js +0 -1
  1431. package/dist/magma-components/p-d2537229.system.entry.js +0 -1
  1432. package/dist/magma-components/p-d2617a1a.entry.js +0 -1
  1433. package/dist/magma-components/p-d41c4637.system.entry.js +0 -1
  1434. package/dist/magma-components/p-d88f44aa.entry.js +0 -1
  1435. package/dist/magma-components/p-dae9ae8e.system.entry.js +0 -1
  1436. package/dist/magma-components/p-dd860de4.entry.js +0 -1
  1437. package/dist/magma-components/p-df87e2f5.system.entry.js +0 -1
  1438. package/dist/magma-components/p-dfe082be.system.entry.js +0 -1
  1439. package/dist/magma-components/p-e00ba5a0.entry.js +0 -1
  1440. package/dist/magma-components/p-e0d12fa2.system.entry.js +0 -1
  1441. package/dist/magma-components/p-e2cd11c3.entry.js +0 -1
  1442. package/dist/magma-components/p-e5fb3081.system.entry.js +0 -1
  1443. package/dist/magma-components/p-e67a6452.entry.js +0 -1
  1444. package/dist/magma-components/p-e6d8c9e3.system.entry.js +0 -1
  1445. package/dist/magma-components/p-e71aecc1.entry.js +0 -1
  1446. package/dist/magma-components/p-eac692ea.system.entry.js +0 -1
  1447. package/dist/magma-components/p-ecf2e98d.system.entry.js +0 -1
  1448. package/dist/magma-components/p-ed6d1453.system.entry.js +0 -1
  1449. package/dist/magma-components/p-f289eb5a.entry.js +0 -1
  1450. package/dist/magma-components/p-f3604c99.entry.js +0 -1
  1451. package/dist/magma-components/p-f3dbca34.entry.js +0 -1
  1452. package/dist/magma-components/p-f4b4bdf2.system.entry.js +0 -1
  1453. package/dist/magma-components/p-f56d16f7.entry.js +0 -1
  1454. package/dist/magma-components/p-f8014852.system.entry.js +0 -1
  1455. package/dist/magma-components/p-f851100d.entry.js +0 -1
  1456. package/dist/magma-components/p-f8d5adce.entry.js +0 -1
  1457. package/dist/magma-components/p-fa427f75.system.entry.js +0 -1
  1458. package/dist/magma-components/p-fa6a05b5.entry.js +0 -1
  1459. package/dist/magma-components/p-fb8b0104.entry.js +0 -1
  1460. package/dist/magma-components/p-fcf59139.system.entry.js +0 -1
  1461. package/dist/magma-components/p-fe3d5720.system.entry.js +0 -1
  1462. package/dist/magma-components/p-fe85ad8e.system.entry.js +0 -1
  1463. package/dist/magma-components/p-ffae137a.entry.js +0 -1
  1464. package/dist/magma-components/p-oCzRm29V.system.js +0 -1
  1465. package/dist/magma-components/p-ttrRC6OE.js +0 -1
  1466. package/dist/magma-components/p-vYOT2M2B.system.js +0 -1
  1467. package/dist/types/components/mds-accordion/test/mds-accordion.stories.d.ts +0 -39
  1468. package/dist/types/components/mds-accordion-item/test/mds-accordion-item.stories.d.ts +0 -41
  1469. package/dist/types/components/mds-accordion-timer/test/mds-accordion-timer.stories.d.ts +0 -45
  1470. package/dist/types/components/mds-accordion-timer-item/test/mds-accordion-timer-item.stories.d.ts +0 -67
  1471. package/dist/types/components/mds-author/test/mds-author.stories.d.ts +0 -10
  1472. package/dist/types/components/mds-avatar/test/mds-avatar.stories.d.ts +0 -82
  1473. package/dist/types/components/mds-avatar-stack/test/mds-avatar-stack.stories.d.ts +0 -38
  1474. package/dist/types/components/mds-avatar-stack-item/test/mds-avatar-stack-item.stories.d.ts +0 -71
  1475. package/dist/types/components/mds-badge/test/mds-badge.stories.d.ts +0 -56
  1476. package/dist/types/components/mds-banner/test/mds-banner.stories.d.ts +0 -115
  1477. package/dist/types/components/mds-benchmark-bar/test/mds-benchmark-bar.stories.d.ts +0 -85
  1478. package/dist/types/components/mds-bibliography/test/mds-bibliography.stories.d.ts +0 -129
  1479. package/dist/types/components/mds-breadcrumb/test/mds-breadcrumb.stories.d.ts +0 -16
  1480. package/dist/types/components/mds-breadcrumb-item/test/mds-breadcrumb-item.stories.d.ts +0 -26
  1481. package/dist/types/components/mds-button/test/mds-button.stories.d.ts +0 -253
  1482. package/dist/types/components/mds-button-dropdown/test/mds-button-dropdown.stories.d.ts +0 -104
  1483. package/dist/types/components/mds-button-group/test/mds-button-group.stories.d.ts +0 -10
  1484. package/dist/types/components/mds-calendar/test/mds-calendar.stories.d.ts +0 -23
  1485. package/dist/types/components/mds-card/test/mds-card.stories.d.ts +0 -66
  1486. package/dist/types/components/mds-chip/test/mds-chip.stories.d.ts +0 -121
  1487. package/dist/types/components/mds-details/test/mds-details.stories.d.ts +0 -21
  1488. package/dist/types/components/mds-dropdown/test/mds-dropdown.stories.d.ts +0 -275
  1489. package/dist/types/components/mds-emoji/test/mds-emoji.stories.d.ts +0 -19
  1490. package/dist/types/components/mds-entity/test/mds-entity.stories.d.ts +0 -84
  1491. package/dist/types/components/mds-file/test/mds-file.stories.d.ts +0 -145
  1492. package/dist/types/components/mds-file-preview/test/mds-file-preview.stories.d.ts +0 -157
  1493. package/dist/types/components/mds-filter/test/mds-filter.stories.d.ts +0 -56
  1494. package/dist/types/components/mds-filter-item/test/mds-filter-item.stories.d.ts +0 -43
  1495. package/dist/types/components/mds-header/test/mds-header.stories.d.ts +0 -68
  1496. package/dist/types/components/mds-header-bar/test/mds-header-bar.stories.d.ts +0 -23
  1497. package/dist/types/components/mds-help/test/mds-help.stories.d.ts +0 -25
  1498. package/dist/types/components/mds-horizontal-scroll/test/mds-horizontal-scroll.stories.d.ts +0 -57
  1499. package/dist/types/components/mds-hr/test/mds-hr.stories.d.ts +0 -13
  1500. package/dist/types/components/mds-icon/test/mds-icon.stories.d.ts +0 -55
  1501. package/dist/types/components/mds-img/test/mds-img-accessibility.stories.d.ts +0 -93
  1502. package/dist/types/components/mds-img/test/mds-img.stories.d.ts +0 -122
  1503. package/dist/types/components/mds-input/test/mds-input.stories.d.ts +0 -332
  1504. package/dist/types/components/mds-input-date/test/mds-input-date.stories.d.ts +0 -73
  1505. package/dist/types/components/mds-input-date-range/test/mds-input-date-range.stories.d.ts +0 -70
  1506. package/dist/types/components/mds-input-field/test/mds-input-field.stories.d.ts +0 -86
  1507. package/dist/types/components/mds-input-otp/test/mds-input-otp.stories.d.ts +0 -36
  1508. package/dist/types/components/mds-input-range/test/mds-input-range.stories.d.ts +0 -75
  1509. package/dist/types/components/mds-input-select/test/mds-input-select.stories.d.ts +0 -105
  1510. package/dist/types/components/mds-input-switch/test/mds-input-switch.stories.d.ts +0 -195
  1511. package/dist/types/components/mds-input-tip/test/mds-input-tip.stories.d.ts +0 -22
  1512. package/dist/types/components/mds-input-tip-item/test/mds-input-tip.stories.d.ts +0 -22
  1513. package/dist/types/components/mds-input-upload/test/mds-input-upload.stories.d.ts +0 -55
  1514. package/dist/types/components/mds-keyboard/test/mds-keyboard.stories.d.ts +0 -27
  1515. package/dist/types/components/mds-keyboard-key/test/mds-keyboard-key.stories.d.ts +0 -22
  1516. package/dist/types/components/mds-kpi/test/mds-kpi.stories.d.ts +0 -26
  1517. package/dist/types/components/mds-kpi-item/test/mds-kpi-item.stories.d.ts +0 -42
  1518. package/dist/types/components/mds-label/test/mds-label.stories.d.ts +0 -86
  1519. package/dist/types/components/mds-list/test/mds-list.stories.d.ts +0 -7
  1520. package/dist/types/components/mds-list-item/test/mds-list-item.stories.d.ts +0 -38
  1521. package/dist/types/components/mds-mention/test/mds-mention.stories.d.ts +0 -38
  1522. package/dist/types/components/mds-modal/test/mds-modal.stories.d.ts +0 -142
  1523. package/dist/types/components/mds-note/test/mds-note.stories.d.ts +0 -34
  1524. package/dist/types/components/mds-notification/test/mds-notification.stories.d.ts +0 -68
  1525. package/dist/types/components/mds-paginator/test/mds-paginator.stories.d.ts +0 -33
  1526. package/dist/types/components/mds-policy-ai/test/mds-policy.stories.d.ts +0 -83
  1527. package/dist/types/components/mds-pref/test/mds-pref.stories.d.ts +0 -29
  1528. package/dist/types/components/mds-pref-animation/test/mds-pref-animation.stories.d.ts +0 -20
  1529. package/dist/types/components/mds-pref-consumption/test/mds-pref-consumption.stories.d.ts +0 -20
  1530. package/dist/types/components/mds-pref-contrast/test/mds-pref-contrast.stories.d.ts +0 -20
  1531. package/dist/types/components/mds-pref-language/test/mds-pref-language.stories.d.ts +0 -20
  1532. package/dist/types/components/mds-pref-theme/test/mds-pref-theme.stories.d.ts +0 -30
  1533. package/dist/types/components/mds-pref-theme-variant/mds-pref-theme-variant.d.ts +0 -62
  1534. package/dist/types/components/mds-pref-theme-variant/meta/dictionary.d.ts +0 -2
  1535. package/dist/types/components/mds-pref-theme-variant/test/mds-pref-theme-variant.stories.d.ts +0 -30
  1536. package/dist/types/components/mds-pref-theme-variant-item/mds-pref-theme-variant-item.d.ts +0 -35
  1537. package/dist/types/components/mds-price-table/test/mds-price-table.stories.d.ts +0 -10
  1538. package/dist/types/components/mds-price-table-features/test/mds-price-table-features.stories.d.ts +0 -10
  1539. package/dist/types/components/mds-price-table-features-cell/test/mds-price-table-features-cell.stories.d.ts +0 -10
  1540. package/dist/types/components/mds-price-table-header/test/mds-price-table-header.stories.d.ts +0 -7
  1541. package/dist/types/components/mds-price-table-list/test/mds-price-table-list.stories.d.ts +0 -10
  1542. package/dist/types/components/mds-progress/test/mds-progress.stories.d.ts +0 -89
  1543. package/dist/types/components/mds-push-notification/test/mds-push-notification.stories.d.ts +0 -28
  1544. package/dist/types/components/mds-push-notification-item/test/mds-push-notification-item.stories.d.ts +0 -210
  1545. package/dist/types/components/mds-quote/test/mds-quote.stories.d.ts +0 -34
  1546. package/dist/types/components/mds-radial-menu/test/mds-radial-menu.stories.d.ts +0 -123
  1547. package/dist/types/components/mds-radial-menu-item/test/mds-radial-menu-item.stories.d.ts +0 -48
  1548. package/dist/types/components/mds-radial-progress/test/mds-radial-progress.stories.d.ts +0 -68
  1549. package/dist/types/components/mds-separator/test/mds-separator.stories.d.ts +0 -7
  1550. package/dist/types/components/mds-spinner/test/mds-spinner.stories.d.ts +0 -21
  1551. package/dist/types/components/mds-status-bar/test/mds-status-bar.stories.d.ts +0 -34
  1552. package/dist/types/components/mds-stepper-bar/test/mds-stepper-bar.stories.d.ts +0 -45
  1553. package/dist/types/components/mds-stepper-bar-item/test/mds-stepper-bar-item.stories.d.ts +0 -102
  1554. package/dist/types/components/mds-tab/test/mds-tab.stories.d.ts +0 -111
  1555. package/dist/types/components/mds-tab-bar/test/mds-tab-bar.stories.d.ts +0 -7
  1556. package/dist/types/components/mds-tab-bar-item/test/mds-tab-bar-item.stories.d.ts +0 -25
  1557. package/dist/types/components/mds-tab-item/test/mds-tab-item.stories.d.ts +0 -69
  1558. package/dist/types/components/mds-table/test/mds-table.stories.d.ts +0 -63
  1559. package/dist/types/components/mds-text/test/mds-text.stories.d.ts +0 -181
  1560. package/dist/types/components/mds-toast/test/mds-toast.stories.d.ts +0 -59
  1561. package/dist/types/components/mds-tooltip/test/mds-tooltip.stories.d.ts +0 -192
  1562. package/dist/types/components/mds-tree/test/mds-tree-apk.stories.d.ts +0 -16
  1563. package/dist/types/components/mds-tree/test/mds-tree.stories.d.ts +0 -86
  1564. package/dist/types/components/mds-tree-item/test/mds-tree-item.stories.d.ts +0 -48
  1565. package/dist/types/components/mds-url-view/test/mds-url-view.stories.d.ts +0 -63
  1566. package/dist/types/components/mds-usage/test/mds-usage.stories.d.ts +0 -37
  1567. package/dist/types/components/mds-video-wall/test/mds-video-wall.stories.d.ts +0 -119
  1568. package/dist/types/components/mds-zero/test/mds-zero.stories.d.ts +0 -7
  1569. package/dist/types/event-detail/theme-variant.d.ts +0 -5
  1570. package/dist/types/storybook/box-shadows.stories.d.ts +0 -7
  1571. package/dist/types/storybook/color-scale.stories.d.ts +0 -7
  1572. package/dist/types/storybook/components-preview.stories.d.ts +0 -33
  1573. package/dist/types/storybook/example-page.stories.d.ts +0 -7
  1574. package/dist/types/storybook/fouc-hydrated.stories.d.ts +0 -7
  1575. package/dist/types/storybook/input-form.stories.d.ts +0 -7
  1576. package/dist/types/storybook/same-childrend-slot-names.stories.d.ts +0 -7
  1577. package/dist/types/test/file.d.ts +0 -35
  1578. package/dist/types/test/mock.d.ts +0 -2
  1579. /package/dist/collection/{event-detail/theme-variant.js → components/mds-mention/meta/interface.js} +0 -0
  1580. /package/dist/components/{broken-image.js → p-0FAG3rkw.js} +0 -0
  1581. /package/dist/components/{horizontal-rule.js → p-BE8xuIpS.js} +0 -0
  1582. /package/dist/components/{check-circle.js → p-BFhO-KUe.js} +0 -0
  1583. /package/dist/components/{cancel.js → p-BJ8rpzfj.js} +0 -0
  1584. /package/dist/components/{calendar-today.js → p-BVQMG7KJ.js} +0 -0
  1585. /package/dist/components/{arrow-forward.js → p-Bd0uuNDE.js} +0 -0
  1586. /package/dist/components/{keys.js → p-C4ckbXOl.js} +0 -0
  1587. /package/dist/components/{panorama.js → p-CGFwoK_U.js} +0 -0
  1588. /package/dist/components/{aria.js → p-CSCy6TMW.js} +0 -0
  1589. /package/dist/components/{keyboard-arrow-up.js → p-Ccz0jCNB.js} +0 -0
  1590. /package/dist/components/{clsx.js → p-ChV9xqsO.js} +0 -0
  1591. /package/dist/components/{done.js → p-CvUz9jjh.js} +0 -0
  1592. /package/dist/components/{remove.js → p-D17B058a.js} +0 -0
  1593. /package/dist/components/{unit.js → p-D8eZRaSQ.js} +0 -0
  1594. /package/dist/components/{keyboard-arrow-right.js → p-DFyAGAnn.js} +0 -0
  1595. /package/dist/components/{keyboard-arrow-down.js → p-DiWN48aq.js} +0 -0
  1596. /package/dist/components/{browser.js → p-Dje8Mggf.js} +0 -0
  1597. /package/dist/components/{arrow-back.js → p-DnEUG7st.js} +0 -0
  1598. /package/dist/components/{_commonjsHelpers.js → p-E-ZsRS8r.js} +0 -0
  1599. /package/dist/components/{close.js → p-J-ikDhyq.js} +0 -0
  1600. /package/dist/components/{settings.js → p-XQgkfNpn.js} +0 -0
  1601. /package/dist/components/{circle.js → p-lZldSMeV.js} +0 -0
@@ -1 +1,2732 @@
1
- var __extends=this&&this.__extends||function(){var e=function(n,t){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)if(Object.prototype.hasOwnProperty.call(n,t))e[t]=n[t]};return e(n,t)};return function(n,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(n,t);function r(){this.constructor=n}n.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++){n=arguments[t];for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i))e[i]=n[i]}return e};return __assign.apply(this,arguments)};var __rest=this&&this.__rest||function(e,n){var t={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0)t[r]=e[r];if(e!=null&&typeof Object.getOwnPropertySymbols==="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++){if(n.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i]))t[r[i]]=e[r[i]]}return t};var __spreadArray=this&&this.__spreadArray||function(e,n,t){if(t||arguments.length===2)for(var r=0,i=n.length,a;r<i;r++){if(a||!(r in n)){if(!a)a=Array.prototype.slice.call(n,0,r);a[r]=n[r]}}return e.concat(a||Array.prototype.slice.call(n))};var LuxonError=function(e){__extends(n,e);function n(){return e!==null&&e.apply(this,arguments)||this}return n}(Error);var InvalidDateTimeError=function(e){__extends(n,e);function n(n){return e.call(this,"Invalid DateTime: ".concat(n.toMessage()))||this}return n}(LuxonError);var InvalidIntervalError=function(e){__extends(n,e);function n(n){return e.call(this,"Invalid Interval: ".concat(n.toMessage()))||this}return n}(LuxonError);var InvalidDurationError=function(e){__extends(n,e);function n(n){return e.call(this,"Invalid Duration: ".concat(n.toMessage()))||this}return n}(LuxonError);var ConflictingSpecificationError=function(e){__extends(n,e);function n(){return e!==null&&e.apply(this,arguments)||this}return n}(LuxonError);var InvalidUnitError=function(e){__extends(n,e);function n(n){return e.call(this,"Invalid unit ".concat(n))||this}return n}(LuxonError);var InvalidArgumentError=function(e){__extends(n,e);function n(){return e!==null&&e.apply(this,arguments)||this}return n}(LuxonError);var ZoneIsAbstractError=function(e){__extends(n,e);function n(){return e.call(this,"Zone is an abstract class")||this}return n}(LuxonError);var n="numeric",s="short",l="long";var DATE_SHORT={year:n,month:n,day:n};var DATE_MED={year:n,month:s,day:n};var DATE_MED_WITH_WEEKDAY={year:n,month:s,day:n,weekday:s};var DATE_FULL={year:n,month:l,day:n};var DATE_HUGE={year:n,month:l,day:n,weekday:l};var TIME_SIMPLE={hour:n,minute:n};var TIME_WITH_SECONDS={hour:n,minute:n,second:n};var TIME_WITH_SHORT_OFFSET={hour:n,minute:n,second:n,timeZoneName:s};var TIME_WITH_LONG_OFFSET={hour:n,minute:n,second:n,timeZoneName:l};var TIME_24_SIMPLE={hour:n,minute:n,hourCycle:"h23"};var TIME_24_WITH_SECONDS={hour:n,minute:n,second:n,hourCycle:"h23"};var TIME_24_WITH_SHORT_OFFSET={hour:n,minute:n,second:n,hourCycle:"h23",timeZoneName:s};var TIME_24_WITH_LONG_OFFSET={hour:n,minute:n,second:n,hourCycle:"h23",timeZoneName:l};var DATETIME_SHORT={year:n,month:n,day:n,hour:n,minute:n};var DATETIME_SHORT_WITH_SECONDS={year:n,month:n,day:n,hour:n,minute:n,second:n};var DATETIME_MED={year:n,month:s,day:n,hour:n,minute:n};var DATETIME_MED_WITH_SECONDS={year:n,month:s,day:n,hour:n,minute:n,second:n};var DATETIME_MED_WITH_WEEKDAY={year:n,month:s,day:n,weekday:s,hour:n,minute:n};var DATETIME_FULL={year:n,month:l,day:n,hour:n,minute:n,timeZoneName:s};var DATETIME_FULL_WITH_SECONDS={year:n,month:l,day:n,hour:n,minute:n,second:n,timeZoneName:s};var DATETIME_HUGE={year:n,month:l,day:n,weekday:l,hour:n,minute:n,timeZoneName:l};var DATETIME_HUGE_WITH_SECONDS={year:n,month:l,day:n,weekday:l,hour:n,minute:n,second:n,timeZoneName:l};var Zone=function(){function e(){}Object.defineProperty(e.prototype,"type",{get:function(){throw new ZoneIsAbstractError},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"name",{get:function(){throw new ZoneIsAbstractError},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"ianaName",{get:function(){return this.name},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isUniversal",{get:function(){throw new ZoneIsAbstractError},enumerable:false,configurable:true});e.prototype.offsetName=function(e,n){throw new ZoneIsAbstractError};e.prototype.formatOffset=function(e,n){throw new ZoneIsAbstractError};e.prototype.offset=function(e){throw new ZoneIsAbstractError};e.prototype.equals=function(e){throw new ZoneIsAbstractError};Object.defineProperty(e.prototype,"isValid",{get:function(){throw new ZoneIsAbstractError},enumerable:false,configurable:true});return e}();var singleton$1=null;var SystemZone=function(e){__extends(n,e);function n(){return e!==null&&e.apply(this,arguments)||this}Object.defineProperty(n,"instance",{get:function(){if(singleton$1===null){singleton$1=new n}return singleton$1},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"type",{get:function(){return"system"},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"name",{get:function(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"isUniversal",{get:function(){return false},enumerable:false,configurable:true});n.prototype.offsetName=function(e,n){var t=n.format,r=n.locale;return parseZoneInfo(e,t,r)};n.prototype.formatOffset=function(e,n){return formatOffset(this.offset(e),n)};n.prototype.offset=function(e){return-new Date(e).getTimezoneOffset()};n.prototype.equals=function(e){return e.type==="system"};Object.defineProperty(n.prototype,"isValid",{get:function(){return true},enumerable:false,configurable:true});return n}(Zone);var dtfCache=new Map;function makeDTF(e){var n=dtfCache.get(e);if(n===undefined){n=new Intl.DateTimeFormat("en-US",{hour12:false,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"});dtfCache.set(e,n)}return n}var typeToPos={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function hackyOffset(e,n){var t=e.format(n).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(t),i=r[1],a=r[2],u=r[3],s=r[4],o=r[5],f=r[6],l=r[7];return[u,i,a,s,o,f,l]}function partsOffset(e,n){var t=e.formatToParts(n);var r=[];for(var i=0;i<t.length;i++){var a=t[i],u=a.type,s=a.value;var o=typeToPos[u];if(u==="era"){r[o]=s}else if(!isUndefined(o)){r[o]=parseInt(s,10)}}return r}var ianaZoneCache=new Map;var IANAZone=function(e){__extends(n,e);function n(t){var r=e.call(this)||this;r.zoneName=t;r.valid=n.isValidZone(t);return r}n.create=function(e){var t=ianaZoneCache.get(e);if(t===undefined){ianaZoneCache.set(e,t=new n(e))}return t};n.resetCache=function(){ianaZoneCache.clear();dtfCache.clear()};n.isValidSpecifier=function(e){return this.isValidZone(e)};n.isValidZone=function(e){if(!e){return false}try{new Intl.DateTimeFormat("en-US",{timeZone:e}).format();return true}catch(e){return false}};Object.defineProperty(n.prototype,"type",{get:function(){return"iana"},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"name",{get:function(){return this.zoneName},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"isUniversal",{get:function(){return false},enumerable:false,configurable:true});n.prototype.offsetName=function(e,n){var t=n.format,r=n.locale;return parseZoneInfo(e,t,r,this.name)};n.prototype.formatOffset=function(e,n){return formatOffset(this.offset(e),n)};n.prototype.offset=function(e){if(!this.valid)return NaN;var n=new Date(e);if(isNaN(n))return NaN;var t=makeDTF(this.name);var r=t.formatToParts?partsOffset(t,n):hackyOffset(t,n),i=r[0],a=r[1],u=r[2],s=r[3],o=r[4],f=r[5],l=r[6];if(s==="BC"){i=-Math.abs(i)+1}var c=o===24?0:o;var d=objToLocalTS({year:i,month:a,day:u,hour:c,minute:f,second:l,millisecond:0});var h=+n;var m=h%1e3;h-=m>=0?m:1e3+m;return(d-h)/(60*1e3)};n.prototype.equals=function(e){return e.type==="iana"&&e.name===this.name};Object.defineProperty(n.prototype,"isValid",{get:function(){return this.valid},enumerable:false,configurable:true});return n}(Zone);var intlLFCache={};function getCachedLF(e,n){if(n===void 0){n={}}var t=JSON.stringify([e,n]);var r=intlLFCache[t];if(!r){r=new Intl.ListFormat(e,n);intlLFCache[t]=r}return r}var intlDTCache=new Map;function getCachedDTF(e,n){if(n===void 0){n={}}var t=JSON.stringify([e,n]);var r=intlDTCache.get(t);if(r===undefined){r=new Intl.DateTimeFormat(e,n);intlDTCache.set(t,r)}return r}var intlNumCache=new Map;function getCachedINF(e,n){if(n===void 0){n={}}var t=JSON.stringify([e,n]);var r=intlNumCache.get(t);if(r===undefined){r=new Intl.NumberFormat(e,n);intlNumCache.set(t,r)}return r}var intlRelCache=new Map;function getCachedRTF(e,n){if(n===void 0){n={}}var t=n.base,r=__rest(n,["base"]);var i=JSON.stringify([e,r]);var a=intlRelCache.get(i);if(a===undefined){a=new Intl.RelativeTimeFormat(e,n);intlRelCache.set(i,a)}return a}var sysLocaleCache=null;function systemLocale(){if(sysLocaleCache){return sysLocaleCache}else{sysLocaleCache=(new Intl.DateTimeFormat).resolvedOptions().locale;return sysLocaleCache}}var intlResolvedOptionsCache=new Map;function getCachedIntResolvedOptions(e){var n=intlResolvedOptionsCache.get(e);if(n===undefined){n=new Intl.DateTimeFormat(e).resolvedOptions();intlResolvedOptionsCache.set(e,n)}return n}var weekInfoCache=new Map;function getCachedWeekInfo(e){var n=weekInfoCache.get(e);if(!n){var t=new Intl.Locale(e);n="getWeekInfo"in t?t.getWeekInfo():t.weekInfo;if(!("minimalDays"in n)){n=__assign(__assign({},fallbackWeekSettings),n)}weekInfoCache.set(e,n)}return n}function parseLocaleString(e){var n=e.indexOf("-x-");if(n!==-1){e=e.substring(0,n)}var t=e.indexOf("-u-");if(t===-1){return[e]}else{var r=void 0;var i=void 0;try{r=getCachedDTF(e).resolvedOptions();i=e}catch(n){var a=e.substring(0,t);r=getCachedDTF(a).resolvedOptions();i=a}var u=r.numberingSystem,s=r.calendar;return[i,u,s]}}function intlConfigString(e,n,t){if(t||n){if(!e.includes("-u-")){e+="-u"}if(t){e+="-ca-".concat(t)}if(n){e+="-nu-".concat(n)}return e}else{return e}}function mapMonths(e){var n=[];for(var t=1;t<=12;t++){var r=DateTime.utc(2009,t,1);n.push(e(r))}return n}function mapWeekdays(e){var n=[];for(var t=1;t<=7;t++){var r=DateTime.utc(2016,11,13+t);n.push(e(r))}return n}function listStuff(e,n,t,r){var i=e.listingMode();if(i==="error"){return null}else if(i==="en"){return t(n)}else{return r(n)}}function supportsFastNumbers(e){if(e.numberingSystem&&e.numberingSystem!=="latn"){return false}else{return e.numberingSystem==="latn"||!e.locale||e.locale.startsWith("en")||getCachedIntResolvedOptions(e.locale).numberingSystem==="latn"}}var PolyNumberFormatter=function(){function e(e,n,t){this.padTo=t.padTo||0;this.floor=t.floor||false;var r=t.padTo,i=t.floor,a=__rest(t,["padTo","floor"]);if(!n||Object.keys(a).length>0){var u=__assign({useGrouping:false},t);if(t.padTo>0)u.minimumIntegerDigits=t.padTo;this.inf=getCachedINF(e,u)}}e.prototype.format=function(e){if(this.inf){var n=this.floor?Math.floor(e):e;return this.inf.format(n)}else{var n=this.floor?Math.floor(e):roundTo(e,3);return padStart(n,this.padTo)}};return e}();var PolyDateFormatter=function(){function e(e,n,t){this.opts=t;this.originalZone=undefined;var r=undefined;if(this.opts.timeZone){this.dt=e}else if(e.zone.type==="fixed"){var i=-1*(e.offset/60);var a=i>=0?"Etc/GMT+".concat(i):"Etc/GMT".concat(i);if(e.offset!==0&&IANAZone.create(a).valid){r=a;this.dt=e}else{r="UTC";this.dt=e.offset===0?e:e.setZone("UTC").plus({minutes:e.offset});this.originalZone=e.zone}}else if(e.zone.type==="system"){this.dt=e}else if(e.zone.type==="iana"){this.dt=e;r=e.zone.name}else{r="UTC";this.dt=e.setZone("UTC").plus({minutes:e.offset});this.originalZone=e.zone}var u=__assign({},this.opts);u.timeZone=u.timeZone||r;this.dtf=getCachedDTF(n,u)}e.prototype.format=function(){if(this.originalZone){return this.formatToParts().map((function(e){var n=e.value;return n})).join("")}return this.dtf.format(this.dt.toJSDate())};e.prototype.formatToParts=function(){var e=this;var n=this.dtf.formatToParts(this.dt.toJSDate());if(this.originalZone){return n.map((function(n){if(n.type==="timeZoneName"){var t=e.originalZone.offsetName(e.dt.ts,{locale:e.dt.locale,format:e.opts.timeZoneName});return __assign(__assign({},n),{value:t})}else{return n}}))}return n};e.prototype.resolvedOptions=function(){return this.dtf.resolvedOptions()};return e}();var PolyRelFormatter=function(){function e(e,n,t){this.opts=__assign({style:"long"},t);if(!n&&hasRelative()){this.rtf=getCachedRTF(e,t)}}e.prototype.format=function(e,n){if(this.rtf){return this.rtf.format(e,n)}else{return formatRelativeTime(n,e,this.opts.numeric,this.opts.style!=="long")}};e.prototype.formatToParts=function(e,n){if(this.rtf){return this.rtf.formatToParts(e,n)}else{return[]}};return e}();var fallbackWeekSettings={firstDay:1,minimalDays:4,weekend:[6,7]};var Locale=function(){function e(e,n,t,r,i){var a=parseLocaleString(e),u=a[0],s=a[1],o=a[2];this.locale=u;this.numberingSystem=n||s||null;this.outputCalendar=t||o||null;this.weekSettings=r;this.intl=intlConfigString(this.locale,this.numberingSystem,this.outputCalendar);this.weekdaysCache={format:{},standalone:{}};this.monthsCache={format:{},standalone:{}};this.meridiemCache=null;this.eraCache={};this.specifiedLocale=i;this.fastNumbersCached=null}e.fromOpts=function(n){return e.create(n.locale,n.numberingSystem,n.outputCalendar,n.weekSettings,n.defaultToEN)};e.create=function(n,t,r,i,a){if(a===void 0){a=false}var u=n||Settings.defaultLocale;var s=u||(a?"en-US":systemLocale());var o=t||Settings.defaultNumberingSystem;var f=r||Settings.defaultOutputCalendar;var l=validateWeekSettings(i)||Settings.defaultWeekSettings;return new e(s,o,f,l,u)};e.resetCache=function(){sysLocaleCache=null;intlDTCache.clear();intlNumCache.clear();intlRelCache.clear();intlResolvedOptionsCache.clear();weekInfoCache.clear()};e.fromObject=function(n){var t=n===void 0?{}:n,r=t.locale,i=t.numberingSystem,a=t.outputCalendar,u=t.weekSettings;return e.create(r,i,a,u)};Object.defineProperty(e.prototype,"fastNumbers",{get:function(){if(this.fastNumbersCached==null){this.fastNumbersCached=supportsFastNumbers(this)}return this.fastNumbersCached},enumerable:false,configurable:true});e.prototype.listingMode=function(){var e=this.isEnglish();var n=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return e&&n?"en":"intl"};e.prototype.clone=function(n){if(!n||Object.getOwnPropertyNames(n).length===0){return this}else{return e.create(n.locale||this.specifiedLocale,n.numberingSystem||this.numberingSystem,n.outputCalendar||this.outputCalendar,validateWeekSettings(n.weekSettings)||this.weekSettings,n.defaultToEN||false)}};e.prototype.redefaultToEN=function(e){if(e===void 0){e={}}return this.clone(__assign(__assign({},e),{defaultToEN:true}))};e.prototype.redefaultToSystem=function(e){if(e===void 0){e={}}return this.clone(__assign(__assign({},e),{defaultToEN:false}))};e.prototype.months=function(e,n){var t=this;if(n===void 0){n=false}return listStuff(this,e,months,(function(){var r=n?{month:e,day:"numeric"}:{month:e},i=n?"format":"standalone";if(!t.monthsCache[i][e]){t.monthsCache[i][e]=mapMonths((function(e){return t.extract(e,r,"month")}))}return t.monthsCache[i][e]}))};e.prototype.weekdays=function(e,n){var t=this;if(n===void 0){n=false}return listStuff(this,e,weekdays,(function(){var r=n?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},i=n?"format":"standalone";if(!t.weekdaysCache[i][e]){t.weekdaysCache[i][e]=mapWeekdays((function(e){return t.extract(e,r,"weekday")}))}return t.weekdaysCache[i][e]}))};e.prototype.meridiems=function(){var e=this;return listStuff(this,undefined,(function(){return meridiems}),(function(){if(!e.meridiemCache){var n={hour:"numeric",hourCycle:"h12"};e.meridiemCache=[DateTime.utc(2016,11,13,9),DateTime.utc(2016,11,13,19)].map((function(t){return e.extract(t,n,"dayperiod")}))}return e.meridiemCache}))};e.prototype.eras=function(e){var n=this;return listStuff(this,e,eras,(function(){var t={era:e};if(!n.eraCache[e]){n.eraCache[e]=[DateTime.utc(-40,1,1),DateTime.utc(2017,1,1)].map((function(e){return n.extract(e,t,"era")}))}return n.eraCache[e]}))};e.prototype.extract=function(e,n,t){var r=this.dtFormatter(e,n),i=r.formatToParts(),a=i.find((function(e){return e.type.toLowerCase()===t}));return a?a.value:null};e.prototype.numberFormatter=function(e){if(e===void 0){e={}}return new PolyNumberFormatter(this.intl,e.forceSimple||this.fastNumbers,e)};e.prototype.dtFormatter=function(e,n){if(n===void 0){n={}}return new PolyDateFormatter(e,this.intl,n)};e.prototype.relFormatter=function(e){if(e===void 0){e={}}return new PolyRelFormatter(this.intl,this.isEnglish(),e)};e.prototype.listFormatter=function(e){if(e===void 0){e={}}return getCachedLF(this.intl,e)};e.prototype.isEnglish=function(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||getCachedIntResolvedOptions(this.intl).locale.startsWith("en-us")};e.prototype.getWeekSettings=function(){if(this.weekSettings){return this.weekSettings}else if(!hasLocaleWeekInfo()){return fallbackWeekSettings}else{return getCachedWeekInfo(this.locale)}};e.prototype.getStartOfWeek=function(){return this.getWeekSettings().firstDay};e.prototype.getMinDaysInFirstWeek=function(){return this.getWeekSettings().minimalDays};e.prototype.getWeekendDays=function(){return this.getWeekSettings().weekend};e.prototype.equals=function(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar};e.prototype.toString=function(){return"Locale(".concat(this.locale,", ").concat(this.numberingSystem,", ").concat(this.outputCalendar,")")};return e}();var singleton=null;var FixedOffsetZone=function(e){__extends(n,e);function n(n){var t=e.call(this)||this;t.fixed=n;return t}Object.defineProperty(n,"utcInstance",{get:function(){if(singleton===null){singleton=new n(0)}return singleton},enumerable:false,configurable:true});n.instance=function(e){return e===0?n.utcInstance:new n(e)};n.parseSpecifier=function(e){if(e){var t=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(t){return new n(signedOffset(t[1],t[2]))}}return null};Object.defineProperty(n.prototype,"type",{get:function(){return"fixed"},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"name",{get:function(){return this.fixed===0?"UTC":"UTC".concat(formatOffset(this.fixed,"narrow"))},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"ianaName",{get:function(){if(this.fixed===0){return"Etc/UTC"}else{return"Etc/GMT".concat(formatOffset(-this.fixed,"narrow"))}},enumerable:false,configurable:true});n.prototype.offsetName=function(){return this.name};n.prototype.formatOffset=function(e,n){return formatOffset(this.fixed,n)};Object.defineProperty(n.prototype,"isUniversal",{get:function(){return true},enumerable:false,configurable:true});n.prototype.offset=function(){return this.fixed};n.prototype.equals=function(e){return e.type==="fixed"&&e.fixed===this.fixed};Object.defineProperty(n.prototype,"isValid",{get:function(){return true},enumerable:false,configurable:true});return n}(Zone);var InvalidZone=function(e){__extends(n,e);function n(n){var t=e.call(this)||this;t.zoneName=n;return t}Object.defineProperty(n.prototype,"type",{get:function(){return"invalid"},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"name",{get:function(){return this.zoneName},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"isUniversal",{get:function(){return false},enumerable:false,configurable:true});n.prototype.offsetName=function(){return null};n.prototype.formatOffset=function(){return""};n.prototype.offset=function(){return NaN};n.prototype.equals=function(){return false};Object.defineProperty(n.prototype,"isValid",{get:function(){return false},enumerable:false,configurable:true});return n}(Zone);function normalizeZone(e,n){if(isUndefined(e)||e===null){return n}else if(e instanceof Zone){return e}else if(isString(e)){var t=e.toLowerCase();if(t==="default")return n;else if(t==="local"||t==="system")return SystemZone.instance;else if(t==="utc"||t==="gmt")return FixedOffsetZone.utcInstance;else return FixedOffsetZone.parseSpecifier(t)||IANAZone.create(e)}else if(isNumber(e)){return FixedOffsetZone.instance(e)}else if(typeof e==="object"&&"offset"in e&&typeof e.offset==="function"){return e}else{return new InvalidZone(e)}}var numberingSystems={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"};var numberingSystemsUTF16={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]};var hanidecChars=numberingSystems.hanidec.replace(/[\[|\]]/g,"").split("");function parseDigits(e){var n=parseInt(e,10);if(isNaN(n)){n="";for(var t=0;t<e.length;t++){var r=e.charCodeAt(t);if(e[t].search(numberingSystems.hanidec)!==-1){n+=hanidecChars.indexOf(e[t])}else{for(var i in numberingSystemsUTF16){var a=numberingSystemsUTF16[i],u=a[0],s=a[1];if(r>=u&&r<=s){n+=r-u}}}}return parseInt(n,10)}else{return n}}var digitRegexCache=new Map;function resetDigitRegexCache(){digitRegexCache.clear()}function digitRegex(e,n){var t=e.numberingSystem;if(n===void 0){n=""}var r=t||"latn";var i=digitRegexCache.get(r);if(i===undefined){i=new Map;digitRegexCache.set(r,i)}var a=i.get(n);if(a===undefined){a=new RegExp("".concat(numberingSystems[r]).concat(n));i.set(n,a)}return a}var now=function(){return Date.now()},defaultZone="system",defaultLocale=null,defaultNumberingSystem=null,defaultOutputCalendar=null,twoDigitCutoffYear=60,throwOnInvalid,defaultWeekSettings=null;var Settings=function(){function e(){}Object.defineProperty(e,"now",{get:function(){return now},set:function(e){now=e},enumerable:false,configurable:true});Object.defineProperty(e,"defaultZone",{get:function(){return normalizeZone(defaultZone,SystemZone.instance)},set:function(e){defaultZone=e},enumerable:false,configurable:true});Object.defineProperty(e,"defaultLocale",{get:function(){return defaultLocale},set:function(e){defaultLocale=e},enumerable:false,configurable:true});Object.defineProperty(e,"defaultNumberingSystem",{get:function(){return defaultNumberingSystem},set:function(e){defaultNumberingSystem=e},enumerable:false,configurable:true});Object.defineProperty(e,"defaultOutputCalendar",{get:function(){return defaultOutputCalendar},set:function(e){defaultOutputCalendar=e},enumerable:false,configurable:true});Object.defineProperty(e,"defaultWeekSettings",{get:function(){return defaultWeekSettings},set:function(e){defaultWeekSettings=validateWeekSettings(e)},enumerable:false,configurable:true});Object.defineProperty(e,"twoDigitCutoffYear",{get:function(){return twoDigitCutoffYear},set:function(e){twoDigitCutoffYear=e%100},enumerable:false,configurable:true});Object.defineProperty(e,"throwOnInvalid",{get:function(){return throwOnInvalid},set:function(e){throwOnInvalid=e},enumerable:false,configurable:true});e.resetCaches=function(){Locale.resetCache();IANAZone.resetCache();DateTime.resetCache();resetDigitRegexCache()};return e}();var Invalid=function(){function e(e,n){this.reason=e;this.explanation=n}e.prototype.toMessage=function(){if(this.explanation){return"".concat(this.reason,": ").concat(this.explanation)}else{return this.reason}};return e}();var nonLeapLadder=[0,31,59,90,120,151,181,212,243,273,304,334],leapLadder=[0,31,60,91,121,152,182,213,244,274,305,335];function unitOutOfRange(e,n){return new Invalid("unit out of range","you specified ".concat(n," (of type ").concat(typeof n,") as a ").concat(e,", which is invalid"))}function dayOfWeek(e,n,t){var r=new Date(Date.UTC(e,n-1,t));if(e<100&&e>=0){r.setUTCFullYear(r.getUTCFullYear()-1900)}var i=r.getUTCDay();return i===0?7:i}function computeOrdinal(e,n,t){return t+(isLeapYear(e)?leapLadder:nonLeapLadder)[n-1]}function uncomputeOrdinal(e,n){var t=isLeapYear(e)?leapLadder:nonLeapLadder,r=t.findIndex((function(e){return e<n})),i=n-t[r];return{month:r+1,day:i}}function isoWeekdayToLocal(e,n){return(e-n+7)%7+1}function gregorianToWeek(e,n,t){if(n===void 0){n=4}if(t===void 0){t=1}var r=e.year,i=e.month,a=e.day,u=computeOrdinal(r,i,a),s=isoWeekdayToLocal(dayOfWeek(r,i,a),t);var o=Math.floor((u-s+14-n)/7),f;if(o<1){f=r-1;o=weeksInWeekYear(f,n,t)}else if(o>weeksInWeekYear(r,n,t)){f=r+1;o=1}else{f=r}return __assign({weekYear:f,weekNumber:o,weekday:s},timeObject(e))}function weekToGregorian(e,n,t){if(n===void 0){n=4}if(t===void 0){t=1}var r=e.weekYear,i=e.weekNumber,a=e.weekday,u=isoWeekdayToLocal(dayOfWeek(r,1,n),t),s=daysInYear(r);var o=i*7+a-u-7+n,f;if(o<1){f=r-1;o+=daysInYear(f)}else if(o>s){f=r+1;o-=daysInYear(r)}else{f=r}var l=uncomputeOrdinal(f,o),c=l.month,d=l.day;return __assign({year:f,month:c,day:d},timeObject(e))}function gregorianToOrdinal(e){var n=e.year,t=e.month,r=e.day;var i=computeOrdinal(n,t,r);return __assign({year:n,ordinal:i},timeObject(e))}function ordinalToGregorian(e){var n=e.year,t=e.ordinal;var r=uncomputeOrdinal(n,t),i=r.month,a=r.day;return __assign({year:n,month:i,day:a},timeObject(e))}function usesLocalWeekValues(e,n){var t=!isUndefined(e.localWeekday)||!isUndefined(e.localWeekNumber)||!isUndefined(e.localWeekYear);if(t){var r=!isUndefined(e.weekday)||!isUndefined(e.weekNumber)||!isUndefined(e.weekYear);if(r){throw new ConflictingSpecificationError("Cannot mix locale-based week fields with ISO-based week fields")}if(!isUndefined(e.localWeekday))e.weekday=e.localWeekday;if(!isUndefined(e.localWeekNumber))e.weekNumber=e.localWeekNumber;if(!isUndefined(e.localWeekYear))e.weekYear=e.localWeekYear;delete e.localWeekday;delete e.localWeekNumber;delete e.localWeekYear;return{minDaysInFirstWeek:n.getMinDaysInFirstWeek(),startOfWeek:n.getStartOfWeek()}}else{return{minDaysInFirstWeek:4,startOfWeek:1}}}function hasInvalidWeekData(e,n,t){if(n===void 0){n=4}if(t===void 0){t=1}var r=isInteger(e.weekYear),i=integerBetween(e.weekNumber,1,weeksInWeekYear(e.weekYear,n,t)),a=integerBetween(e.weekday,1,7);if(!r){return unitOutOfRange("weekYear",e.weekYear)}else if(!i){return unitOutOfRange("week",e.weekNumber)}else if(!a){return unitOutOfRange("weekday",e.weekday)}else return false}function hasInvalidOrdinalData(e){var n=isInteger(e.year),t=integerBetween(e.ordinal,1,daysInYear(e.year));if(!n){return unitOutOfRange("year",e.year)}else if(!t){return unitOutOfRange("ordinal",e.ordinal)}else return false}function hasInvalidGregorianData(e){var n=isInteger(e.year),t=integerBetween(e.month,1,12),r=integerBetween(e.day,1,daysInMonth(e.year,e.month));if(!n){return unitOutOfRange("year",e.year)}else if(!t){return unitOutOfRange("month",e.month)}else if(!r){return unitOutOfRange("day",e.day)}else return false}function hasInvalidTimeData(e){var n=e.hour,t=e.minute,r=e.second,i=e.millisecond;var a=integerBetween(n,0,23)||n===24&&t===0&&r===0&&i===0,u=integerBetween(t,0,59),s=integerBetween(r,0,59),o=integerBetween(i,0,999);if(!a){return unitOutOfRange("hour",n)}else if(!u){return unitOutOfRange("minute",t)}else if(!s){return unitOutOfRange("second",r)}else if(!o){return unitOutOfRange("millisecond",i)}else return false}function isUndefined(e){return typeof e==="undefined"}function isNumber(e){return typeof e==="number"}function isInteger(e){return typeof e==="number"&&e%1===0}function isString(e){return typeof e==="string"}function isDate(e){return Object.prototype.toString.call(e)==="[object Date]"}function hasRelative(){try{return typeof Intl!=="undefined"&&!!Intl.RelativeTimeFormat}catch(e){return false}}function hasLocaleWeekInfo(){try{return typeof Intl!=="undefined"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(e){return false}}function maybeArray(e){return Array.isArray(e)?e:[e]}function bestBy(e,n,t){if(e.length===0){return undefined}return e.reduce((function(e,r){var i=[n(r),r];if(!e){return i}else if(t(e[0],i[0])===e[0]){return e}else{return i}}),null)[1]}function pick(e,n){return n.reduce((function(n,t){n[t]=e[t];return n}),{})}function hasOwnProperty(e,n){return Object.prototype.hasOwnProperty.call(e,n)}function validateWeekSettings(e){if(e==null){return null}else if(typeof e!=="object"){throw new InvalidArgumentError("Week settings must be an object")}else{if(!integerBetween(e.firstDay,1,7)||!integerBetween(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some((function(e){return!integerBetween(e,1,7)}))){throw new InvalidArgumentError("Invalid week settings")}return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}}function integerBetween(e,n,t){return isInteger(e)&&e>=n&&e<=t}function floorMod(e,n){return e-n*Math.floor(e/n)}function padStart(e,n){if(n===void 0){n=2}var t=e<0;var r;if(t){r="-"+(""+-e).padStart(n,"0")}else{r=(""+e).padStart(n,"0")}return r}function parseInteger(e){if(isUndefined(e)||e===null||e===""){return undefined}else{return parseInt(e,10)}}function parseFloating(e){if(isUndefined(e)||e===null||e===""){return undefined}else{return parseFloat(e)}}function parseMillis(e){if(isUndefined(e)||e===null||e===""){return undefined}else{var n=parseFloat("0."+e)*1e3;return Math.floor(n)}}function roundTo(e,n,t){if(t===void 0){t=false}var r=Math.pow(10,n),i=t?Math.trunc:Math.round;return i(e*r)/r}function isLeapYear(e){return e%4===0&&(e%100!==0||e%400===0)}function daysInYear(e){return isLeapYear(e)?366:365}function daysInMonth(e,n){var t=floorMod(n-1,12)+1,r=e+(n-t)/12;if(t===2){return isLeapYear(r)?29:28}else{return[31,null,31,30,31,30,31,31,30,31,30,31][t-1]}}function objToLocalTS(e){var n=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);if(e.year<100&&e.year>=0){n=new Date(n);n.setUTCFullYear(e.year,e.month-1,e.day)}return+n}function firstWeekOffset(e,n,t){var r=isoWeekdayToLocal(dayOfWeek(e,1,n),t);return-r+n-1}function weeksInWeekYear(e,n,t){if(n===void 0){n=4}if(t===void 0){t=1}var r=firstWeekOffset(e,n,t);var i=firstWeekOffset(e+1,n,t);return(daysInYear(e)-r+i)/7}function untruncateYear(e){if(e>99){return e}else return e>Settings.twoDigitCutoffYear?1900+e:2e3+e}function parseZoneInfo(e,n,t,r){if(r===void 0){r=null}var i=new Date(e),a={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};if(r){a.timeZone=r}var u=__assign({timeZoneName:n},a);var s=new Intl.DateTimeFormat(t,u).formatToParts(i).find((function(e){return e.type.toLowerCase()==="timezonename"}));return s?s.value:null}function signedOffset(e,n){var t=parseInt(e,10);if(Number.isNaN(t)){t=0}var r=parseInt(n,10)||0,i=t<0||Object.is(t,-0)?-r:r;return t*60+i}function asNumber(e){var n=Number(e);if(typeof e==="boolean"||e===""||Number.isNaN(n))throw new InvalidArgumentError("Invalid unit value ".concat(e));return n}function normalizeObject(e,n){var t={};for(var r in e){if(hasOwnProperty(e,r)){var i=e[r];if(i===undefined||i===null)continue;t[n(r)]=asNumber(i)}}return t}function formatOffset(e,n){var t=Math.trunc(Math.abs(e/60)),r=Math.trunc(Math.abs(e%60)),i=e>=0?"+":"-";switch(n){case"short":return"".concat(i).concat(padStart(t,2),":").concat(padStart(r,2));case"narrow":return"".concat(i).concat(t).concat(r>0?":".concat(r):"");case"techie":return"".concat(i).concat(padStart(t,2)).concat(padStart(r,2));default:throw new RangeError("Value format ".concat(n," is out of range for property format"))}}function timeObject(e){return pick(e,["hour","minute","second","millisecond"])}var monthsLong=["January","February","March","April","May","June","July","August","September","October","November","December"];var monthsShort=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];var monthsNarrow=["J","F","M","A","M","J","J","A","S","O","N","D"];function months(e){switch(e){case"narrow":return __spreadArray([],monthsNarrow,true);case"short":return __spreadArray([],monthsShort,true);case"long":return __spreadArray([],monthsLong,true);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}}var weekdaysLong=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"];var weekdaysShort=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"];var weekdaysNarrow=["M","T","W","T","F","S","S"];function weekdays(e){switch(e){case"narrow":return __spreadArray([],weekdaysNarrow,true);case"short":return __spreadArray([],weekdaysShort,true);case"long":return __spreadArray([],weekdaysLong,true);case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var meridiems=["AM","PM"];var erasLong=["Before Christ","Anno Domini"];var erasShort=["BC","AD"];var erasNarrow=["B","A"];function eras(e){switch(e){case"narrow":return __spreadArray([],erasNarrow,true);case"short":return __spreadArray([],erasShort,true);case"long":return __spreadArray([],erasLong,true);default:return null}}function meridiemForDateTime(e){return meridiems[e.hour<12?0:1]}function weekdayForDateTime(e,n){return weekdays(n)[e.weekday-1]}function monthForDateTime(e,n){return months(n)[e.month-1]}function eraForDateTime(e,n){return eras(n)[e.year<0?0:1]}function formatRelativeTime(e,n,t,r){if(t===void 0){t="always"}if(r===void 0){r=false}var i={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."]};var a=["hours","minutes","seconds"].indexOf(e)===-1;if(t==="auto"&&a){var u=e==="days";switch(n){case 1:return u?"tomorrow":"next ".concat(i[e][0]);case-1:return u?"yesterday":"last ".concat(i[e][0]);case 0:return u?"today":"this ".concat(i[e][0])}}var s=Object.is(n,-0)||n<0,o=Math.abs(n),f=o===1,l=i[e],c=r?f?l[1]:l[2]||l[1]:f?i[e][0]:e;return s?"".concat(o," ").concat(c," ago"):"in ".concat(o," ").concat(c)}function stringifyTokens(e,n){var t="";for(var r=0,i=e;r<i.length;r++){var a=i[r];if(a.literal){t+=a.val}else{t+=n(a.val)}}return t}var macroTokenToFormatOpts={D:DATE_SHORT,DD:DATE_MED,DDD:DATE_FULL,DDDD:DATE_HUGE,t:TIME_SIMPLE,tt:TIME_WITH_SECONDS,ttt:TIME_WITH_SHORT_OFFSET,tttt:TIME_WITH_LONG_OFFSET,T:TIME_24_SIMPLE,TT:TIME_24_WITH_SECONDS,TTT:TIME_24_WITH_SHORT_OFFSET,TTTT:TIME_24_WITH_LONG_OFFSET,f:DATETIME_SHORT,ff:DATETIME_MED,fff:DATETIME_FULL,ffff:DATETIME_HUGE,F:DATETIME_SHORT_WITH_SECONDS,FF:DATETIME_MED_WITH_SECONDS,FFF:DATETIME_FULL_WITH_SECONDS,FFFF:DATETIME_HUGE_WITH_SECONDS};var Formatter=function(){function e(e,n){this.opts=n;this.loc=e;this.systemLoc=null}e.create=function(n,t){if(t===void 0){t={}}return new e(n,t)};e.parseFormat=function(e){var n=null,t="",r=false;var i=[];for(var a=0;a<e.length;a++){var u=e.charAt(a);if(u==="'"){if(t.length>0){i.push({literal:r||/^\s+$/.test(t),val:t})}n=null;t="";r=!r}else if(r){t+=u}else if(u===n){t+=u}else{if(t.length>0){i.push({literal:/^\s+$/.test(t),val:t})}t=u;n=u}}if(t.length>0){i.push({literal:r||/^\s+$/.test(t),val:t})}return i};e.macroTokenToFormatOpts=function(e){return macroTokenToFormatOpts[e]};e.prototype.formatWithSystemDefault=function(e,n){if(this.systemLoc===null){this.systemLoc=this.loc.redefaultToSystem()}var t=this.systemLoc.dtFormatter(e,__assign(__assign({},this.opts),n));return t.format()};e.prototype.dtFormatter=function(e,n){if(n===void 0){n={}}return this.loc.dtFormatter(e,__assign(__assign({},this.opts),n))};e.prototype.formatDateTime=function(e,n){return this.dtFormatter(e,n).format()};e.prototype.formatDateTimeParts=function(e,n){return this.dtFormatter(e,n).formatToParts()};e.prototype.formatInterval=function(e,n){var t=this.dtFormatter(e.start,n);return t.dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())};e.prototype.resolvedOptions=function(e,n){return this.dtFormatter(e,n).resolvedOptions()};e.prototype.num=function(e,n){if(n===void 0){n=0}if(this.opts.forceSimple){return padStart(e,n)}var t=__assign({},this.opts);if(n>0){t.padTo=n}return this.loc.numberFormatter(t).format(e)};e.prototype.formatDateTimeFromString=function(n,t){var r=this;var i=this.loc.listingMode()==="en",a=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",u=function(e,t){return r.loc.extract(n,e,t)},s=function(e){if(n.isOffsetFixed&&n.offset===0&&e.allowZ){return"Z"}return n.isValid?n.zone.formatOffset(n.ts,e.format):""},o=function(){return i?meridiemForDateTime(n):u({hour:"numeric",hourCycle:"h12"},"dayperiod")},f=function(e,t){return i?monthForDateTime(n,e):u(t?{month:e}:{month:e,day:"numeric"},"month")},l=function(e,t){return i?weekdayForDateTime(n,e):u(t?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday")},c=function(t){var i=e.macroTokenToFormatOpts(t);if(i){return r.formatWithSystemDefault(n,i)}else{return t}},d=function(e){return i?eraForDateTime(n,e):u({era:e},"era")},h=function(e){switch(e){case"S":return r.num(n.millisecond);case"u":case"SSS":return r.num(n.millisecond,3);case"s":return r.num(n.second);case"ss":return r.num(n.second,2);case"uu":return r.num(Math.floor(n.millisecond/10),2);case"uuu":return r.num(Math.floor(n.millisecond/100));case"m":return r.num(n.minute);case"mm":return r.num(n.minute,2);case"h":return r.num(n.hour%12===0?12:n.hour%12);case"hh":return r.num(n.hour%12===0?12:n.hour%12,2);case"H":return r.num(n.hour);case"HH":return r.num(n.hour,2);case"Z":return s({format:"narrow",allowZ:r.opts.allowZ});case"ZZ":return s({format:"short",allowZ:r.opts.allowZ});case"ZZZ":return s({format:"techie",allowZ:r.opts.allowZ});case"ZZZZ":return n.zone.offsetName(n.ts,{format:"short",locale:r.loc.locale});case"ZZZZZ":return n.zone.offsetName(n.ts,{format:"long",locale:r.loc.locale});case"z":return n.zoneName;case"a":return o();case"d":return a?u({day:"numeric"},"day"):r.num(n.day);case"dd":return a?u({day:"2-digit"},"day"):r.num(n.day,2);case"c":return r.num(n.weekday);case"ccc":return l("short",true);case"cccc":return l("long",true);case"ccccc":return l("narrow",true);case"E":return r.num(n.weekday);case"EEE":return l("short",false);case"EEEE":return l("long",false);case"EEEEE":return l("narrow",false);case"L":return a?u({month:"numeric",day:"numeric"},"month"):r.num(n.month);case"LL":return a?u({month:"2-digit",day:"numeric"},"month"):r.num(n.month,2);case"LLL":return f("short",true);case"LLLL":return f("long",true);case"LLLLL":return f("narrow",true);case"M":return a?u({month:"numeric"},"month"):r.num(n.month);case"MM":return a?u({month:"2-digit"},"month"):r.num(n.month,2);case"MMM":return f("short",false);case"MMMM":return f("long",false);case"MMMMM":return f("narrow",false);case"y":return a?u({year:"numeric"},"year"):r.num(n.year);case"yy":return a?u({year:"2-digit"},"year"):r.num(n.year.toString().slice(-2),2);case"yyyy":return a?u({year:"numeric"},"year"):r.num(n.year,4);case"yyyyyy":return a?u({year:"numeric"},"year"):r.num(n.year,6);case"G":return d("short");case"GG":return d("long");case"GGGGG":return d("narrow");case"kk":return r.num(n.weekYear.toString().slice(-2),2);case"kkkk":return r.num(n.weekYear,4);case"W":return r.num(n.weekNumber);case"WW":return r.num(n.weekNumber,2);case"n":return r.num(n.localWeekNumber);case"nn":return r.num(n.localWeekNumber,2);case"ii":return r.num(n.localWeekYear.toString().slice(-2),2);case"iiii":return r.num(n.localWeekYear,4);case"o":return r.num(n.ordinal);case"ooo":return r.num(n.ordinal,3);case"q":return r.num(n.quarter);case"qq":return r.num(n.quarter,2);case"X":return r.num(Math.floor(n.ts/1e3));case"x":return r.num(n.ts);default:return c(e)}};return stringifyTokens(e.parseFormat(t),h)};e.prototype.formatDurationFromString=function(n,t){var r=this;var i=function(e){switch(e[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},a=function(e){return function(n){var t=i(n);if(t){return r.num(e.get(t),n.length)}else{return n}}},u=e.parseFormat(t),s=u.reduce((function(e,n){var t=n.literal,r=n.val;return t?e:e.concat(r)}),[]),o=n.shiftTo.apply(n,s.map(i).filter((function(e){return e})));return stringifyTokens(u,a(o))};return e}();var ianaRegex=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function combineRegexes(){var e=[];for(var n=0;n<arguments.length;n++){e[n]=arguments[n]}var t=e.reduce((function(e,n){return e+n.source}),"");return RegExp("^".concat(t,"$"))}function combineExtractors(){var e=[];for(var n=0;n<arguments.length;n++){e[n]=arguments[n]}return function(n){return e.reduce((function(e,t){var r=e[0],i=e[1],a=e[2];var u=t(n,a),s=u[0],o=u[1],f=u[2];return[__assign(__assign({},r),s),o||i,f]}),[{},null,1]).slice(0,2)}}function parse(e){var n=[];for(var t=1;t<arguments.length;t++){n[t-1]=arguments[t]}if(e==null){return[null,null]}for(var r=0,i=n;r<i.length;r++){var a=i[r],u=a[0],s=a[1];var o=u.exec(e);if(o){return s(o)}}return[null,null]}function simpleParse(){var e=[];for(var n=0;n<arguments.length;n++){e[n]=arguments[n]}return function(n,t){var r={};var i;for(i=0;i<e.length;i++){r[e[i]]=parseInteger(n[t+i])}return[r,null,t+i]}}var offsetRegex=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/;var isoExtendedZone="(?:".concat(offsetRegex.source,"?(?:\\[(").concat(ianaRegex.source,")\\])?)?");var isoTimeBaseRegex=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/;var isoTimeRegex=RegExp("".concat(isoTimeBaseRegex.source).concat(isoExtendedZone));var isoTimeExtensionRegex=RegExp("(?:T".concat(isoTimeRegex.source,")?"));var isoYmdRegex=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/;var isoWeekRegex=/(\d{4})-?W(\d\d)(?:-?(\d))?/;var isoOrdinalRegex=/(\d{4})-?(\d{3})/;var extractISOWeekData=simpleParse("weekYear","weekNumber","weekDay");var extractISOOrdinalData=simpleParse("year","ordinal");var sqlYmdRegex=/(\d{4})-(\d\d)-(\d\d)/;var sqlTimeRegex=RegExp("".concat(isoTimeBaseRegex.source," ?(?:").concat(offsetRegex.source,"|(").concat(ianaRegex.source,"))?"));var sqlTimeExtensionRegex=RegExp("(?: ".concat(sqlTimeRegex.source,")?"));function int(e,n,t){var r=e[n];return isUndefined(r)?t:parseInteger(r)}function extractISOYmd(e,n){var t={year:int(e,n),month:int(e,n+1,1),day:int(e,n+2,1)};return[t,null,n+3]}function extractISOTime(e,n){var t={hours:int(e,n,0),minutes:int(e,n+1,0),seconds:int(e,n+2,0),milliseconds:parseMillis(e[n+3])};return[t,null,n+4]}function extractISOOffset(e,n){var t=!e[n]&&!e[n+1],r=signedOffset(e[n+1],e[n+2]),i=t?null:FixedOffsetZone.instance(r);return[{},i,n+3]}function extractIANAZone(e,n){var t=e[n]?IANAZone.create(e[n]):null;return[{},t,n+1]}var isoTimeOnly=RegExp("^T?".concat(isoTimeBaseRegex.source,"$"));var isoDuration=/^-?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 extractISODuration(e){var n=e[0],t=e[1],r=e[2],i=e[3],a=e[4],u=e[5],s=e[6],o=e[7],f=e[8];var l=n[0]==="-";var c=o&&o[0]==="-";var d=function(e,n){if(n===void 0){n=false}return e!==undefined&&(n||e&&l)?-e:e};return[{years:d(parseFloating(t)),months:d(parseFloating(r)),weeks:d(parseFloating(i)),days:d(parseFloating(a)),hours:d(parseFloating(u)),minutes:d(parseFloating(s)),seconds:d(parseFloating(o),o==="-0"),milliseconds:d(parseMillis(f),c)}]}var obsOffsets={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function fromStrings(e,n,t,r,i,a,u){var s={year:n.length===2?untruncateYear(parseInteger(n)):parseInteger(n),month:monthsShort.indexOf(t)+1,day:parseInteger(r),hour:parseInteger(i),minute:parseInteger(a)};if(u)s.second=parseInteger(u);if(e){s.weekday=e.length>3?weekdaysLong.indexOf(e)+1:weekdaysShort.indexOf(e)+1}return s}var rfc2822=/^(?:(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 extractRFC2822(e){var n=e[1],t=e[2],r=e[3],i=e[4],a=e[5],u=e[6],s=e[7],o=e[8],f=e[9],l=e[10],c=e[11],d=fromStrings(n,i,r,t,a,u,s);var h;if(o){h=obsOffsets[o]}else if(f){h=0}else{h=signedOffset(l,c)}return[d,new FixedOffsetZone(h)]}function preprocessRFC2822(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}var rfc1123=/^(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$/,rfc850=/^(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$/,ascii=/^(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 extractRFC1123Or850(e){var n=e[1],t=e[2],r=e[3],i=e[4],a=e[5],u=e[6],s=e[7],o=fromStrings(n,i,r,t,a,u,s);return[o,FixedOffsetZone.utcInstance]}function extractASCII(e){var n=e[1],t=e[2],r=e[3],i=e[4],a=e[5],u=e[6],s=e[7],o=fromStrings(n,s,t,r,i,a,u);return[o,FixedOffsetZone.utcInstance]}var isoYmdWithTimeExtensionRegex=combineRegexes(isoYmdRegex,isoTimeExtensionRegex);var isoWeekWithTimeExtensionRegex=combineRegexes(isoWeekRegex,isoTimeExtensionRegex);var isoOrdinalWithTimeExtensionRegex=combineRegexes(isoOrdinalRegex,isoTimeExtensionRegex);var isoTimeCombinedRegex=combineRegexes(isoTimeRegex);var extractISOYmdTimeAndOffset=combineExtractors(extractISOYmd,extractISOTime,extractISOOffset,extractIANAZone);var extractISOWeekTimeAndOffset=combineExtractors(extractISOWeekData,extractISOTime,extractISOOffset,extractIANAZone);var extractISOOrdinalDateAndTime=combineExtractors(extractISOOrdinalData,extractISOTime,extractISOOffset,extractIANAZone);var extractISOTimeAndOffset=combineExtractors(extractISOTime,extractISOOffset,extractIANAZone);function parseISODate(e){return parse(e,[isoYmdWithTimeExtensionRegex,extractISOYmdTimeAndOffset],[isoWeekWithTimeExtensionRegex,extractISOWeekTimeAndOffset],[isoOrdinalWithTimeExtensionRegex,extractISOOrdinalDateAndTime],[isoTimeCombinedRegex,extractISOTimeAndOffset])}function parseRFC2822Date(e){return parse(preprocessRFC2822(e),[rfc2822,extractRFC2822])}function parseHTTPDate(e){return parse(e,[rfc1123,extractRFC1123Or850],[rfc850,extractRFC1123Or850],[ascii,extractASCII])}function parseISODuration(e){return parse(e,[isoDuration,extractISODuration])}var extractISOTimeOnly=combineExtractors(extractISOTime);function parseISOTimeOnly(e){return parse(e,[isoTimeOnly,extractISOTimeOnly])}var sqlYmdWithTimeExtensionRegex=combineRegexes(sqlYmdRegex,sqlTimeExtensionRegex);var sqlTimeCombinedRegex=combineRegexes(sqlTimeRegex);var extractISOTimeOffsetAndIANAZone=combineExtractors(extractISOTime,extractISOOffset,extractIANAZone);function parseSQL(e){return parse(e,[sqlYmdWithTimeExtensionRegex,extractISOYmdTimeAndOffset],[sqlTimeCombinedRegex,extractISOTimeOffsetAndIANAZone])}var INVALID$2="Invalid Duration";var lowOrderMatrix={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},casualMatrix=__assign({years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3}},lowOrderMatrix),daysInYearAccurate=146097/400,daysInMonthAccurate=146097/4800,accurateMatrix=__assign({years:{quarters:4,months:12,weeks:daysInYearAccurate/7,days:daysInYearAccurate,hours:daysInYearAccurate*24,minutes:daysInYearAccurate*24*60,seconds:daysInYearAccurate*24*60*60,milliseconds:daysInYearAccurate*24*60*60*1e3},quarters:{months:3,weeks:daysInYearAccurate/28,days:daysInYearAccurate/4,hours:daysInYearAccurate*24/4,minutes:daysInYearAccurate*24*60/4,seconds:daysInYearAccurate*24*60*60/4,milliseconds:daysInYearAccurate*24*60*60*1e3/4},months:{weeks:daysInMonthAccurate/7,days:daysInMonthAccurate,hours:daysInMonthAccurate*24,minutes:daysInMonthAccurate*24*60,seconds:daysInMonthAccurate*24*60*60,milliseconds:daysInMonthAccurate*24*60*60*1e3}},lowOrderMatrix);var orderedUnits$1=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"];var reverseUnits=orderedUnits$1.slice(0).reverse();function clone$1(e,n,t){if(t===void 0){t=false}var r={values:t?n.values:__assign(__assign({},e.values),n.values||{}),loc:e.loc.clone(n.loc),conversionAccuracy:n.conversionAccuracy||e.conversionAccuracy,matrix:n.matrix||e.matrix};return new Duration(r)}function durationToMillis(e,n){var t;var r=(t=n.milliseconds)!==null&&t!==void 0?t:0;for(var i=0,a=reverseUnits.slice(1);i<a.length;i++){var u=a[i];if(n[u]){r+=n[u]*e[u]["milliseconds"]}}return r}function normalizeValues(e,n){var t=durationToMillis(e,n)<0?-1:1;orderedUnits$1.reduceRight((function(r,i){if(!isUndefined(n[i])){if(r){var a=n[r]*t;var u=e[i][r];var s=Math.floor(a/u);n[i]+=s*t;n[r]-=s*u*t}return i}else{return r}}),null);orderedUnits$1.reduce((function(t,r){if(!isUndefined(n[r])){if(t){var i=n[t]%1;n[t]-=i;n[r]+=i*e[t][r]}return r}else{return t}}),null)}function removeZeroes(e){var n={};for(var t=0,r=Object.entries(e);t<r.length;t++){var i=r[t],a=i[0],u=i[1];if(u!==0){n[a]=u}}return n}var Duration=function(){function e(e){var n=e.conversionAccuracy==="longterm"||false;var t=n?accurateMatrix:casualMatrix;if(e.matrix){t=e.matrix}this.values=e.values;this.loc=e.loc||Locale.create();this.conversionAccuracy=n?"longterm":"casual";this.invalid=e.invalid||null;this.matrix=t;this.isLuxonDuration=true}e.fromMillis=function(n,t){return e.fromObject({milliseconds:n},t)};e.fromObject=function(n,t){if(t===void 0){t={}}if(n==null||typeof n!=="object"){throw new InvalidArgumentError("Duration.fromObject: argument expected to be an object, got ".concat(n===null?"null":typeof n))}return new e({values:normalizeObject(n,e.normalizeUnit),loc:Locale.fromObject(t),conversionAccuracy:t.conversionAccuracy,matrix:t.matrix})};e.fromDurationLike=function(n){if(isNumber(n)){return e.fromMillis(n)}else if(e.isDuration(n)){return n}else if(typeof n==="object"){return e.fromObject(n)}else{throw new InvalidArgumentError("Unknown duration argument ".concat(n," of type ").concat(typeof n))}};e.fromISO=function(n,t){var r=parseISODuration(n)[0];if(r){return e.fromObject(r,t)}else{return e.invalid("unparsable",'the input "'.concat(n,"\" can't be parsed as ISO 8601"))}};e.fromISOTime=function(n,t){var r=parseISOTimeOnly(n)[0];if(r){return e.fromObject(r,t)}else{return e.invalid("unparsable",'the input "'.concat(n,"\" can't be parsed as ISO 8601"))}};e.invalid=function(n,t){if(t===void 0){t=null}if(!n){throw new InvalidArgumentError("need to specify a reason the Duration is invalid")}var r=n instanceof Invalid?n:new Invalid(n,t);if(Settings.throwOnInvalid){throw new InvalidDurationError(r)}else{return new e({invalid:r})}};e.normalizeUnit=function(e){var n={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"}[e?e.toLowerCase():e];if(!n)throw new InvalidUnitError(e);return n};e.isDuration=function(e){return e&&e.isLuxonDuration||false};Object.defineProperty(e.prototype,"locale",{get:function(){return this.isValid?this.loc.locale:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"numberingSystem",{get:function(){return this.isValid?this.loc.numberingSystem:null},enumerable:false,configurable:true});e.prototype.toFormat=function(e,n){if(n===void 0){n={}}var t=__assign(__assign({},n),{floor:n.round!==false&&n.floor!==false});return this.isValid?Formatter.create(this.loc,t).formatDurationFromString(this,e):INVALID$2};e.prototype.toHuman=function(e){var n=this;if(e===void 0){e={}}if(!this.isValid)return INVALID$2;var t=orderedUnits$1.map((function(t){var r=n.values[t];if(isUndefined(r)){return null}return n.loc.numberFormatter(__assign(__assign({style:"unit",unitDisplay:"long"},e),{unit:t.slice(0,-1)})).format(r)})).filter((function(e){return e}));return this.loc.listFormatter(__assign({type:"conjunction",style:e.listStyle||"narrow"},e)).format(t)};e.prototype.toObject=function(){if(!this.isValid)return{};return __assign({},this.values)};e.prototype.toISO=function(){if(!this.isValid)return null;var e="P";if(this.years!==0)e+=this.years+"Y";if(this.months!==0||this.quarters!==0)e+=this.months+this.quarters*3+"M";if(this.weeks!==0)e+=this.weeks+"W";if(this.days!==0)e+=this.days+"D";if(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)e+="T";if(this.hours!==0)e+=this.hours+"H";if(this.minutes!==0)e+=this.minutes+"M";if(this.seconds!==0||this.milliseconds!==0)e+=roundTo(this.seconds+this.milliseconds/1e3,3)+"S";if(e==="P")e+="T0S";return e};e.prototype.toISOTime=function(e){if(e===void 0){e={}}if(!this.isValid)return null;var n=this.toMillis();if(n<0||n>=864e5)return null;e=__assign(__assign({suppressMilliseconds:false,suppressSeconds:false,includePrefix:false,format:"extended"},e),{includeOffset:false});var t=DateTime.fromMillis(n,{zone:"UTC"});return t.toISOTime(e)};e.prototype.toJSON=function(){return this.toISO()};e.prototype.toString=function(){return this.toISO()};e.prototype[Symbol.for("nodejs.util.inspect.custom")]=function(){if(this.isValid){return"Duration { values: ".concat(JSON.stringify(this.values)," }")}else{return"Duration { Invalid, reason: ".concat(this.invalidReason," }")}};e.prototype.toMillis=function(){if(!this.isValid)return NaN;return durationToMillis(this.matrix,this.values)};e.prototype.valueOf=function(){return this.toMillis()};e.prototype.plus=function(n){if(!this.isValid)return this;var t=e.fromDurationLike(n),r={};for(var i=0,a=orderedUnits$1;i<a.length;i++){var u=a[i];if(hasOwnProperty(t.values,u)||hasOwnProperty(this.values,u)){r[u]=t.get(u)+this.get(u)}}return clone$1(this,{values:r},true)};e.prototype.minus=function(n){if(!this.isValid)return this;var t=e.fromDurationLike(n);return this.plus(t.negate())};e.prototype.mapUnits=function(e){if(!this.isValid)return this;var n={};for(var t=0,r=Object.keys(this.values);t<r.length;t++){var i=r[t];n[i]=asNumber(e(this.values[i],i))}return clone$1(this,{values:n},true)};e.prototype.get=function(n){return this[e.normalizeUnit(n)]};e.prototype.set=function(n){if(!this.isValid)return this;var t=__assign(__assign({},this.values),normalizeObject(n,e.normalizeUnit));return clone$1(this,{values:t})};e.prototype.reconfigure=function(e){var n=e===void 0?{}:e,t=n.locale,r=n.numberingSystem,i=n.conversionAccuracy,a=n.matrix;var u=this.loc.clone({locale:t,numberingSystem:r});var s={loc:u,matrix:a,conversionAccuracy:i};return clone$1(this,s)};e.prototype.as=function(e){return this.isValid?this.shiftTo(e).get(e):NaN};e.prototype.normalize=function(){if(!this.isValid)return this;var e=this.toObject();normalizeValues(this.matrix,e);return clone$1(this,{values:e},true)};e.prototype.rescale=function(){if(!this.isValid)return this;var e=removeZeroes(this.normalize().shiftToAll().toObject());return clone$1(this,{values:e},true)};e.prototype.shiftTo=function(){var n=[];for(var t=0;t<arguments.length;t++){n[t]=arguments[t]}if(!this.isValid)return this;if(n.length===0){return this}n=n.map((function(n){return e.normalizeUnit(n)}));var r={},i={},a=this.toObject();var u;for(var s=0,o=orderedUnits$1;s<o.length;s++){var f=o[s];if(n.indexOf(f)>=0){u=f;var l=0;for(var c in i){l+=this.matrix[c][f]*i[c];i[c]=0}if(isNumber(a[f])){l+=a[f]}var d=Math.trunc(l);r[f]=d;i[f]=(l*1e3-d*1e3)/1e3}else if(isNumber(a[f])){i[f]=a[f]}}for(var h in i){if(i[h]!==0){r[u]+=h===u?i[h]:i[h]/this.matrix[u][h]}}normalizeValues(this.matrix,r);return clone$1(this,{values:r},true)};e.prototype.shiftToAll=function(){if(!this.isValid)return this;return this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds")};e.prototype.negate=function(){if(!this.isValid)return this;var e={};for(var n=0,t=Object.keys(this.values);n<t.length;n++){var r=t[n];e[r]=this.values[r]===0?0:-this.values[r]}return clone$1(this,{values:e},true)};Object.defineProperty(e.prototype,"years",{get:function(){return this.isValid?this.values.years||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"quarters",{get:function(){return this.isValid?this.values.quarters||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"months",{get:function(){return this.isValid?this.values.months||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weeks",{get:function(){return this.isValid?this.values.weeks||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"days",{get:function(){return this.isValid?this.values.days||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"hours",{get:function(){return this.isValid?this.values.hours||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"minutes",{get:function(){return this.isValid?this.values.minutes||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"seconds",{get:function(){return this.isValid?this.values.seconds||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"milliseconds",{get:function(){return this.isValid?this.values.milliseconds||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isValid",{get:function(){return this.invalid===null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"invalidReason",{get:function(){return this.invalid?this.invalid.reason:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"invalidExplanation",{get:function(){return this.invalid?this.invalid.explanation:null},enumerable:false,configurable:true});e.prototype.equals=function(e){if(!this.isValid||!e.isValid){return false}if(!this.loc.equals(e.loc)){return false}function n(e,n){if(e===undefined||e===0)return n===undefined||n===0;return e===n}for(var t=0,r=orderedUnits$1;t<r.length;t++){var i=r[t];if(!n(this.values[i],e.values[i])){return false}}return true};return e}();var INVALID$1="Invalid Interval";function validateStartEnd(e,n){if(!e||!e.isValid){return Interval.invalid("missing or invalid start")}else if(!n||!n.isValid){return Interval.invalid("missing or invalid end")}else if(n<e){return Interval.invalid("end before start","The end of an interval must be after its start, but you had start=".concat(e.toISO()," and end=").concat(n.toISO()))}else{return null}}var Interval=function(){function e(e){this.s=e.start;this.e=e.end;this.invalid=e.invalid||null;this.isLuxonInterval=true}e.invalid=function(n,t){if(t===void 0){t=null}if(!n){throw new InvalidArgumentError("need to specify a reason the Interval is invalid")}var r=n instanceof Invalid?n:new Invalid(n,t);if(Settings.throwOnInvalid){throw new InvalidIntervalError(r)}else{return new e({invalid:r})}};e.fromDateTimes=function(n,t){var r=friendlyDateTime(n),i=friendlyDateTime(t);var a=validateStartEnd(r,i);if(a==null){return new e({start:r,end:i})}else{return a}};e.after=function(n,t){var r=Duration.fromDurationLike(t),i=friendlyDateTime(n);return e.fromDateTimes(i,i.plus(r))};e.before=function(n,t){var r=Duration.fromDurationLike(t),i=friendlyDateTime(n);return e.fromDateTimes(i.minus(r),i)};e.fromISO=function(n,t){var r=(n||"").split("/",2),i=r[0],a=r[1];if(i&&a){var u=void 0,s=void 0;try{u=DateTime.fromISO(i,t);s=u.isValid}catch(a){s=false}var o=void 0,f=void 0;try{o=DateTime.fromISO(a,t);f=o.isValid}catch(a){f=false}if(s&&f){return e.fromDateTimes(u,o)}if(s){var l=Duration.fromISO(a,t);if(l.isValid){return e.after(u,l)}}else if(f){var l=Duration.fromISO(i,t);if(l.isValid){return e.before(o,l)}}}return e.invalid("unparsable",'the input "'.concat(n,"\" can't be parsed as ISO 8601"))};e.isInterval=function(e){return e&&e.isLuxonInterval||false};Object.defineProperty(e.prototype,"start",{get:function(){return this.isValid?this.s:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"end",{get:function(){return this.isValid?this.e:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"lastDateTime",{get:function(){return this.isValid?this.e?this.e.minus(1):null:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isValid",{get:function(){return this.invalidReason===null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"invalidReason",{get:function(){return this.invalid?this.invalid.reason:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"invalidExplanation",{get:function(){return this.invalid?this.invalid.explanation:null},enumerable:false,configurable:true});e.prototype.length=function(e){if(e===void 0){e="milliseconds"}return this.isValid?this.toDuration.apply(this,[e]).get(e):NaN};e.prototype.count=function(e,n){if(e===void 0){e="milliseconds"}if(!this.isValid)return NaN;var t=this.start.startOf(e,n);var r;if(n===null||n===void 0?void 0:n.useLocaleWeeks){r=this.end.reconfigure({locale:t.locale})}else{r=this.end}r=r.startOf(e,n);return Math.floor(r.diff(t,e).get(e))+(r.valueOf()!==this.end.valueOf())};e.prototype.hasSame=function(e){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,e):false};e.prototype.isEmpty=function(){return this.s.valueOf()===this.e.valueOf()};e.prototype.isAfter=function(e){if(!this.isValid)return false;return this.s>e};e.prototype.isBefore=function(e){if(!this.isValid)return false;return this.e<=e};e.prototype.contains=function(e){if(!this.isValid)return false;return this.s<=e&&this.e>e};e.prototype.set=function(n){var t=n===void 0?{}:n,r=t.start,i=t.end;if(!this.isValid)return this;return e.fromDateTimes(r||this.s,i||this.e)};e.prototype.splitAt=function(){var n=this;var t=[];for(var r=0;r<arguments.length;r++){t[r]=arguments[r]}if(!this.isValid)return[];var i=t.map(friendlyDateTime).filter((function(e){return n.contains(e)})).sort((function(e,n){return e.toMillis()-n.toMillis()})),a=[];var u=this.s,s=0;while(u<this.e){var o=i[s]||this.e,f=+o>+this.e?this.e:o;a.push(e.fromDateTimes(u,f));u=f;s+=1}return a};e.prototype.splitBy=function(n){var t=Duration.fromDurationLike(n);if(!this.isValid||!t.isValid||t.as("milliseconds")===0){return[]}var r=this.s,i=1,a;var u=[];while(r<this.e){var s=this.start.plus(t.mapUnits((function(e){return e*i})));a=+s>+this.e?this.e:s;u.push(e.fromDateTimes(r,a));r=a;i+=1}return u};e.prototype.divideEqually=function(e){if(!this.isValid)return[];return this.splitBy(this.length()/e).slice(0,e)};e.prototype.overlaps=function(e){return this.e>e.s&&this.s<e.e};e.prototype.abutsStart=function(e){if(!this.isValid)return false;return+this.e===+e.s};e.prototype.abutsEnd=function(e){if(!this.isValid)return false;return+e.e===+this.s};e.prototype.engulfs=function(e){if(!this.isValid)return false;return this.s<=e.s&&this.e>=e.e};e.prototype.equals=function(e){if(!this.isValid||!e.isValid){return false}return this.s.equals(e.s)&&this.e.equals(e.e)};e.prototype.intersection=function(n){if(!this.isValid)return this;var t=this.s>n.s?this.s:n.s,r=this.e<n.e?this.e:n.e;if(t>=r){return null}else{return e.fromDateTimes(t,r)}};e.prototype.union=function(n){if(!this.isValid)return this;var t=this.s<n.s?this.s:n.s,r=this.e>n.e?this.e:n.e;return e.fromDateTimes(t,r)};e.merge=function(e){var n=e.sort((function(e,n){return e.s-n.s})).reduce((function(e,n){var t=e[0],r=e[1];if(!r){return[t,n]}else if(r.overlaps(n)||r.abutsStart(n)){return[t,r.union(n)]}else{return[t.concat([r]),n]}}),[[],null]),t=n[0],r=n[1];if(r){t.push(r)}return t};e.xor=function(n){var t;var r=null,i=0;var a=[],u=n.map((function(e){return[{time:e.s,type:"s"},{time:e.e,type:"e"}]})),s=(t=Array.prototype).concat.apply(t,u),o=s.sort((function(e,n){return e.time-n.time}));for(var f=0,l=o;f<l.length;f++){var c=l[f];i+=c.type==="s"?1:-1;if(i===1){r=c.time}else{if(r&&+r!==+c.time){a.push(e.fromDateTimes(r,c.time))}r=null}}return e.merge(a)};e.prototype.difference=function(){var n=this;var t=[];for(var r=0;r<arguments.length;r++){t[r]=arguments[r]}return e.xor([this].concat(t)).map((function(e){return n.intersection(e)})).filter((function(e){return e&&!e.isEmpty()}))};e.prototype.toString=function(){if(!this.isValid)return INVALID$1;return"[".concat(this.s.toISO()," – ").concat(this.e.toISO(),")")};e.prototype[Symbol.for("nodejs.util.inspect.custom")]=function(){if(this.isValid){return"Interval { start: ".concat(this.s.toISO(),", end: ").concat(this.e.toISO()," }")}else{return"Interval { Invalid, reason: ".concat(this.invalidReason," }")}};e.prototype.toLocaleString=function(e,n){if(e===void 0){e=DATE_SHORT}if(n===void 0){n={}}return this.isValid?Formatter.create(this.s.loc.clone(n),e).formatInterval(this):INVALID$1};e.prototype.toISO=function(e){if(!this.isValid)return INVALID$1;return"".concat(this.s.toISO(e),"/").concat(this.e.toISO(e))};e.prototype.toISODate=function(){if(!this.isValid)return INVALID$1;return"".concat(this.s.toISODate(),"/").concat(this.e.toISODate())};e.prototype.toISOTime=function(e){if(!this.isValid)return INVALID$1;return"".concat(this.s.toISOTime(e),"/").concat(this.e.toISOTime(e))};e.prototype.toFormat=function(e,n){var t=n===void 0?{}:n,r=t.separator,i=r===void 0?" – ":r;if(!this.isValid)return INVALID$1;return"".concat(this.s.toFormat(e)).concat(i).concat(this.e.toFormat(e))};e.prototype.toDuration=function(e,n){if(!this.isValid){return Duration.invalid(this.invalidReason)}return this.e.diff(this.s,e,n)};e.prototype.mapEndpoints=function(n){return e.fromDateTimes(n(this.s),n(this.e))};return e}();var Info=function(){function e(){}e.hasDST=function(e){if(e===void 0){e=Settings.defaultZone}var n=DateTime.now().setZone(e).set({month:12});return!e.isUniversal&&n.offset!==n.set({month:6}).offset};e.isValidIANAZone=function(e){return IANAZone.isValidZone(e)};e.normalizeZone=function(e){return normalizeZone(e,Settings.defaultZone)};e.getStartOfWeek=function(e){var n=e===void 0?{}:e,t=n.locale,r=t===void 0?null:t,i=n.locObj,a=i===void 0?null:i;return(a||Locale.create(r)).getStartOfWeek()};e.getMinimumDaysInFirstWeek=function(e){var n=e===void 0?{}:e,t=n.locale,r=t===void 0?null:t,i=n.locObj,a=i===void 0?null:i;return(a||Locale.create(r)).getMinDaysInFirstWeek()};e.getWeekendWeekdays=function(e){var n=e===void 0?{}:e,t=n.locale,r=t===void 0?null:t,i=n.locObj,a=i===void 0?null:i;return(a||Locale.create(r)).getWeekendDays().slice()};e.months=function(e,n){if(e===void 0){e="long"}var t=n===void 0?{}:n,r=t.locale,i=r===void 0?null:r,a=t.numberingSystem,u=a===void 0?null:a,s=t.locObj,o=s===void 0?null:s,f=t.outputCalendar,l=f===void 0?"gregory":f;return(o||Locale.create(i,u,l)).months(e)};e.monthsFormat=function(e,n){if(e===void 0){e="long"}var t=n===void 0?{}:n,r=t.locale,i=r===void 0?null:r,a=t.numberingSystem,u=a===void 0?null:a,s=t.locObj,o=s===void 0?null:s,f=t.outputCalendar,l=f===void 0?"gregory":f;return(o||Locale.create(i,u,l)).months(e,true)};e.weekdays=function(e,n){if(e===void 0){e="long"}var t=n===void 0?{}:n,r=t.locale,i=r===void 0?null:r,a=t.numberingSystem,u=a===void 0?null:a,s=t.locObj,o=s===void 0?null:s;return(o||Locale.create(i,u,null)).weekdays(e)};e.weekdaysFormat=function(e,n){if(e===void 0){e="long"}var t=n===void 0?{}:n,r=t.locale,i=r===void 0?null:r,a=t.numberingSystem,u=a===void 0?null:a,s=t.locObj,o=s===void 0?null:s;return(o||Locale.create(i,u,null)).weekdays(e,true)};e.meridiems=function(e){var n=e===void 0?{}:e,t=n.locale,r=t===void 0?null:t;return Locale.create(r).meridiems()};e.eras=function(e,n){if(e===void 0){e="short"}var t=n===void 0?{}:n,r=t.locale,i=r===void 0?null:r;return Locale.create(i,null,"gregory").eras(e)};e.features=function(){return{relative:hasRelative(),localeWeek:hasLocaleWeekInfo()}};return e}();function dayDiff(e,n){var t=function(e){return e.toUTC(0,{keepLocalTime:true}).startOf("day").valueOf()},r=t(n)-t(e);return Math.floor(Duration.fromMillis(r).as("days"))}function highOrderDiffs(e,n,t){var r=[["years",function(e,n){return n.year-e.year}],["quarters",function(e,n){return n.quarter-e.quarter+(n.year-e.year)*4}],["months",function(e,n){return n.month-e.month+(n.year-e.year)*12}],["weeks",function(e,n){var t=dayDiff(e,n);return(t-t%7)/7}],["days",dayDiff]];var i={};var a=e;var u,s;for(var o=0,f=r;o<f.length;o++){var l=f[o],c=l[0],d=l[1];if(t.indexOf(c)>=0){u=c;i[c]=d(e,n);s=a.plus(i);if(s>n){i[c]--;e=a.plus(i);if(e>n){s=e;i[c]--;e=a.plus(i)}}else{e=s}}}return[e,i,s,u]}function diff(e,n,t,r){var i,a;var u=highOrderDiffs(e,n,t),s=u[0],o=u[1],f=u[2],l=u[3];var c=n-s;var d=t.filter((function(e){return["hours","minutes","seconds","milliseconds"].indexOf(e)>=0}));if(d.length===0){if(f<n){f=s.plus((i={},i[l]=1,i))}if(f!==s){o[l]=(o[l]||0)+c/(f-s)}}var h=Duration.fromObject(o,r);if(d.length>0){return(a=Duration.fromMillis(c,r)).shiftTo.apply(a,d).plus(h)}else{return h}}var MISSING_FTP="missing Intl.DateTimeFormat.formatToParts support";function intUnit(e,n){if(n===void 0){n=function(e){return e}}return{regex:e,deser:function(e){var t=e[0];return n(parseDigits(t))}}}var NBSP=String.fromCharCode(160);var spaceOrNBSP="[ ".concat(NBSP,"]");var spaceOrNBSPRegExp=new RegExp(spaceOrNBSP,"g");function fixListRegex(e){return e.replace(/\./g,"\\.?").replace(spaceOrNBSPRegExp,spaceOrNBSP)}function stripInsensitivities(e){return e.replace(/\./g,"").replace(spaceOrNBSPRegExp," ").toLowerCase()}function oneOf(e,n){if(e===null){return null}else{return{regex:RegExp(e.map(fixListRegex).join("|")),deser:function(t){var r=t[0];return e.findIndex((function(e){return stripInsensitivities(r)===stripInsensitivities(e)}))+n}}}}function offset(e,n){return{regex:e,deser:function(e){var n=e[1],t=e[2];return signedOffset(n,t)},groups:n}}function simple(e){return{regex:e,deser:function(e){var n=e[0];return n}}}function escapeToken(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function unitForToken(e,n){var t=digitRegex(n),r=digitRegex(n,"{2}"),i=digitRegex(n,"{3}"),a=digitRegex(n,"{4}"),u=digitRegex(n,"{6}"),s=digitRegex(n,"{1,2}"),o=digitRegex(n,"{1,3}"),f=digitRegex(n,"{1,6}"),l=digitRegex(n,"{1,9}"),c=digitRegex(n,"{2,4}"),d=digitRegex(n,"{4,6}"),h=function(e){return{regex:RegExp(escapeToken(e.val)),deser:function(e){var n=e[0];return n},literal:true}},m=function(m){if(e.literal){return h(m)}switch(m.val){case"G":return oneOf(n.eras("short"),0);case"GG":return oneOf(n.eras("long"),0);case"y":return intUnit(f);case"yy":return intUnit(c,untruncateYear);case"yyyy":return intUnit(a);case"yyyyy":return intUnit(d);case"yyyyyy":return intUnit(u);case"M":return intUnit(s);case"MM":return intUnit(r);case"MMM":return oneOf(n.months("short",true),1);case"MMMM":return oneOf(n.months("long",true),1);case"L":return intUnit(s);case"LL":return intUnit(r);case"LLL":return oneOf(n.months("short",false),1);case"LLLL":return oneOf(n.months("long",false),1);case"d":return intUnit(s);case"dd":return intUnit(r);case"o":return intUnit(o);case"ooo":return intUnit(i);case"HH":return intUnit(r);case"H":return intUnit(s);case"hh":return intUnit(r);case"h":return intUnit(s);case"mm":return intUnit(r);case"m":return intUnit(s);case"q":return intUnit(s);case"qq":return intUnit(r);case"s":return intUnit(s);case"ss":return intUnit(r);case"S":return intUnit(o);case"SSS":return intUnit(i);case"u":return simple(l);case"uu":return simple(s);case"uuu":return intUnit(t);case"a":return oneOf(n.meridiems(),0);case"kkkk":return intUnit(a);case"kk":return intUnit(c,untruncateYear);case"W":return intUnit(s);case"WW":return intUnit(r);case"E":case"c":return intUnit(t);case"EEE":return oneOf(n.weekdays("short",false),1);case"EEEE":return oneOf(n.weekdays("long",false),1);case"ccc":return oneOf(n.weekdays("short",true),1);case"cccc":return oneOf(n.weekdays("long",true),1);case"Z":case"ZZ":return offset(new RegExp("([+-]".concat(s.source,")(?::(").concat(r.source,"))?")),2);case"ZZZ":return offset(new RegExp("([+-]".concat(s.source,")(").concat(r.source,")?")),2);case"z":return simple(/[a-z_+-/]{1,256}?/i);case" ":return simple(/[^\S\n\r]/);default:return h(m)}};var v=m(e)||{invalidReason:MISSING_FTP};v.token=e;return v}var partTypeStyleToTokenVal={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"}};function tokenForPart(e,n,t){var r=e.type,i=e.value;if(r==="literal"){var a=/^\s+$/.test(i);return{literal:!a,val:a?" ":i}}var u=n[r];var s=r;if(r==="hour"){if(n.hour12!=null){s=n.hour12?"hour12":"hour24"}else if(n.hourCycle!=null){if(n.hourCycle==="h11"||n.hourCycle==="h12"){s="hour12"}else{s="hour24"}}else{s=t.hour12?"hour12":"hour24"}}var o=partTypeStyleToTokenVal[s];if(typeof o==="object"){o=o[u]}if(o){return{literal:false,val:o}}return undefined}function buildRegex(e){var n=e.map((function(e){return e.regex})).reduce((function(e,n){return"".concat(e,"(").concat(n.source,")")}),"");return["^".concat(n,"$"),e]}function match(e,n,t){var r=e.match(n);if(r){var i={};var a=1;for(var u in t){if(hasOwnProperty(t,u)){var s=t[u],o=s.groups?s.groups+1:1;if(!s.literal&&s.token){i[s.token.val[0]]=s.deser(r.slice(a,a+o))}a+=o}}return[r,i]}else{return[r,{}]}}function dateTimeFromMatches(e){var n=function(e){switch(e){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}};var t=null;var r;if(!isUndefined(e.z)){t=IANAZone.create(e.z)}if(!isUndefined(e.Z)){if(!t){t=new FixedOffsetZone(e.Z)}r=e.Z}if(!isUndefined(e.q)){e.M=(e.q-1)*3+1}if(!isUndefined(e.h)){if(e.h<12&&e.a===1){e.h+=12}else if(e.h===12&&e.a===0){e.h=0}}if(e.G===0&&e.y){e.y=-e.y}if(!isUndefined(e.u)){e.S=parseMillis(e.u)}var i=Object.keys(e).reduce((function(t,r){var i=n(r);if(i){t[i]=e[r]}return t}),{});return[i,t,r]}var dummyDateTimeCache=null;function getDummyDateTime(){if(!dummyDateTimeCache){dummyDateTimeCache=DateTime.fromMillis(1555555555555)}return dummyDateTimeCache}function maybeExpandMacroToken(e,n){if(e.literal){return e}var t=Formatter.macroTokenToFormatOpts(e.val);var r=formatOptsToTokens(t,n);if(r==null||r.includes(undefined)){return e}return r}function expandMacroTokens(e,n){var t;return(t=Array.prototype).concat.apply(t,e.map((function(e){return maybeExpandMacroToken(e,n)})))}var TokenParser=function(){function e(e,n){this.locale=e;this.format=n;this.tokens=expandMacroTokens(Formatter.parseFormat(n),e);this.units=this.tokens.map((function(n){return unitForToken(n,e)}));this.disqualifyingUnit=this.units.find((function(e){return e.invalidReason}));if(!this.disqualifyingUnit){var t=buildRegex(this.units),r=t[0],i=t[1];this.regex=RegExp(r,"i");this.handlers=i}}e.prototype.explainFromTokens=function(e){if(!this.isValid){return{input:e,tokens:this.tokens,invalidReason:this.invalidReason}}else{var n=match(e,this.regex,this.handlers),t=n[0],r=n[1],i=r?dateTimeFromMatches(r):[null,null,undefined],a=i[0],u=i[1],s=i[2];if(hasOwnProperty(r,"a")&&hasOwnProperty(r,"H")){throw new ConflictingSpecificationError("Can't include meridiem when specifying 24-hour format")}return{input:e,tokens:this.tokens,regex:this.regex,rawMatches:t,matches:r,result:a,zone:u,specificOffset:s}}};Object.defineProperty(e.prototype,"isValid",{get:function(){return!this.disqualifyingUnit},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"invalidReason",{get:function(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null},enumerable:false,configurable:true});return e}();function explainFromTokens(e,n,t){var r=new TokenParser(e,t);return r.explainFromTokens(n)}function parseFromTokens(e,n,t){var r=explainFromTokens(e,n,t),i=r.result,a=r.zone,u=r.specificOffset,s=r.invalidReason;return[i,a,u,s]}function formatOptsToTokens(e,n){if(!e){return null}var t=Formatter.create(n,e);var r=t.dtFormatter(getDummyDateTime());var i=r.formatToParts();var a=r.resolvedOptions();return i.map((function(n){return tokenForPart(n,e,a)}))}var INVALID="Invalid DateTime";var MAX_DATE=864e13;function unsupportedZone(e){return new Invalid("unsupported zone",'the zone "'.concat(e.name,'" is not supported'))}function possiblyCachedWeekData(e){if(e.weekData===null){e.weekData=gregorianToWeek(e.c)}return e.weekData}function possiblyCachedLocalWeekData(e){if(e.localWeekData===null){e.localWeekData=gregorianToWeek(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())}return e.localWeekData}function clone(e,n){var t={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new DateTime(__assign(__assign(__assign({},t),n),{old:t}))}function fixOffset(e,n,t){var r=e-n*60*1e3;var i=t.offset(r);if(n===i){return[r,n]}r-=(i-n)*60*1e3;var a=t.offset(r);if(i===a){return[r,i]}return[e-Math.min(i,a)*60*1e3,Math.max(i,a)]}function tsToObj(e,n){e+=n*60*1e3;var t=new Date(e);return{year:t.getUTCFullYear(),month:t.getUTCMonth()+1,day:t.getUTCDate(),hour:t.getUTCHours(),minute:t.getUTCMinutes(),second:t.getUTCSeconds(),millisecond:t.getUTCMilliseconds()}}function objToTS(e,n,t){return fixOffset(objToLocalTS(e),n,t)}function adjustTime(e,n){var t=e.o,r=e.c.year+Math.trunc(n.years),i=e.c.month+Math.trunc(n.months)+Math.trunc(n.quarters)*3,a=__assign(__assign({},e.c),{year:r,month:i,day:Math.min(e.c.day,daysInMonth(r,i))+Math.trunc(n.days)+Math.trunc(n.weeks)*7}),u=Duration.fromObject({years:n.years-Math.trunc(n.years),quarters:n.quarters-Math.trunc(n.quarters),months:n.months-Math.trunc(n.months),weeks:n.weeks-Math.trunc(n.weeks),days:n.days-Math.trunc(n.days),hours:n.hours,minutes:n.minutes,seconds:n.seconds,milliseconds:n.milliseconds}).as("milliseconds"),s=objToLocalTS(a);var o=fixOffset(s,t,e.zone),f=o[0],l=o[1];if(u!==0){f+=u;l=e.zone.offset(f)}return{ts:f,o:l}}function parseDataToDateTime(e,n,t,r,i,a){var u=t.setZone,s=t.zone;if(e&&Object.keys(e).length!==0||n){var o=n||s,f=DateTime.fromObject(e,__assign(__assign({},t),{zone:o,specificOffset:a}));return u?f:f.setZone(s)}else{return DateTime.invalid(new Invalid("unparsable",'the input "'.concat(i,"\" can't be parsed as ").concat(r)))}}function toTechFormat(e,n,t){if(t===void 0){t=true}return e.isValid?Formatter.create(Locale.create("en-US"),{allowZ:t,forceSimple:true}).formatDateTimeFromString(e,n):null}function toISODate(e,n){var t=e.c.year>9999||e.c.year<0;var r="";if(t&&e.c.year>=0)r+="+";r+=padStart(e.c.year,t?6:4);if(n){r+="-";r+=padStart(e.c.month);r+="-";r+=padStart(e.c.day)}else{r+=padStart(e.c.month);r+=padStart(e.c.day)}return r}function toISOTime(e,n,t,r,i,a){var u=padStart(e.c.hour);if(n){u+=":";u+=padStart(e.c.minute);if(e.c.millisecond!==0||e.c.second!==0||!t){u+=":"}}else{u+=padStart(e.c.minute)}if(e.c.millisecond!==0||e.c.second!==0||!t){u+=padStart(e.c.second);if(e.c.millisecond!==0||!r){u+=".";u+=padStart(e.c.millisecond,3)}}if(i){if(e.isOffsetFixed&&e.offset===0&&!a){u+="Z"}else if(e.o<0){u+="-";u+=padStart(Math.trunc(-e.o/60));u+=":";u+=padStart(Math.trunc(-e.o%60))}else{u+="+";u+=padStart(Math.trunc(e.o/60));u+=":";u+=padStart(Math.trunc(e.o%60))}}if(a){u+="["+e.zone.ianaName+"]"}return u}var defaultUnitValues={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},defaultWeekUnitValues={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},defaultOrdinalUnitValues={ordinal:1,hour:0,minute:0,second:0,millisecond:0};var orderedUnits=["year","month","day","hour","minute","second","millisecond"],orderedWeekUnits=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],orderedOrdinalUnits=["year","ordinal","hour","minute","second","millisecond"];function normalizeUnit(e){var n={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"}[e.toLowerCase()];if(!n)throw new InvalidUnitError(e);return n}function normalizeUnitWithLocalWeeks(e){switch(e.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return normalizeUnit(e)}}function guessOffsetForZone(e){if(zoneOffsetTs===undefined){zoneOffsetTs=Settings.now()}if(e.type!=="iana"){return e.offset(zoneOffsetTs)}var n=e.name;var t=zoneOffsetGuessCache.get(n);if(t===undefined){t=e.offset(zoneOffsetTs);zoneOffsetGuessCache.set(n,t)}return t}function quickDT(e,n){var t;var r=normalizeZone(n.zone,Settings.defaultZone);if(!r.isValid){return DateTime.invalid(unsupportedZone(r))}var i=Locale.fromObject(n);var a,u;if(!isUndefined(e.year)){for(var s=0,o=orderedUnits;s<o.length;s++){var f=o[s];if(isUndefined(e[f])){e[f]=defaultUnitValues[f]}}var l=hasInvalidGregorianData(e)||hasInvalidTimeData(e);if(l){return DateTime.invalid(l)}var c=guessOffsetForZone(r);t=objToTS(e,c,r),a=t[0],u=t[1]}else{a=Settings.now()}return new DateTime({ts:a,zone:r,loc:i,o:u})}function diffRelative(e,n,t){var r=isUndefined(t.round)?true:t.round,i=function(e,i){e=roundTo(e,r||t.calendary?0:2,true);var a=n.loc.clone(t).relFormatter(t);return a.format(e,i)},a=function(r){if(t.calendary){if(!n.hasSame(e,r)){return n.startOf(r).diff(e.startOf(r),r).get(r)}else return 0}else{return n.diff(e,r).get(r)}};if(t.unit){return i(a(t.unit),t.unit)}for(var u=0,s=t.units;u<s.length;u++){var o=s[u];var f=a(o);if(Math.abs(f)>=1){return i(f,o)}}return i(e>n?-0:0,t.units[t.units.length-1])}function lastOpts(e){var n={},t;if(e.length>0&&typeof e[e.length-1]==="object"){n=e[e.length-1];t=Array.from(e).slice(0,e.length-1)}else{t=Array.from(e)}return[n,t]}var zoneOffsetTs;var zoneOffsetGuessCache=new Map;var DateTime=function(){function e(e){var n;var t=e.zone||Settings.defaultZone;var r=e.invalid||(Number.isNaN(e.ts)?new Invalid("invalid input"):null)||(!t.isValid?unsupportedZone(t):null);this.ts=isUndefined(e.ts)?Settings.now():e.ts;var i=null,a=null;if(!r){var u=e.old&&e.old.ts===this.ts&&e.old.zone.equals(t);if(u){n=[e.old.c,e.old.o],i=n[0],a=n[1]}else{var s=isNumber(e.o)&&!e.old?e.o:t.offset(this.ts);i=tsToObj(this.ts,s);r=Number.isNaN(i.year)?new Invalid("invalid input"):null;i=r?null:i;a=r?null:s}}this._zone=t;this.loc=e.loc||Locale.create();this.invalid=r;this.weekData=null;this.localWeekData=null;this.c=i;this.o=a;this.isLuxonDateTime=true}e.now=function(){return new e({})};e.local=function(){var e=lastOpts(arguments),n=e[0],t=e[1],r=t[0],i=t[1],a=t[2],u=t[3],s=t[4],o=t[5],f=t[6];return quickDT({year:r,month:i,day:a,hour:u,minute:s,second:o,millisecond:f},n)};e.utc=function(){var e=lastOpts(arguments),n=e[0],t=e[1],r=t[0],i=t[1],a=t[2],u=t[3],s=t[4],o=t[5],f=t[6];n.zone=FixedOffsetZone.utcInstance;return quickDT({year:r,month:i,day:a,hour:u,minute:s,second:o,millisecond:f},n)};e.fromJSDate=function(n,t){if(t===void 0){t={}}var r=isDate(n)?n.valueOf():NaN;if(Number.isNaN(r)){return e.invalid("invalid input")}var i=normalizeZone(t.zone,Settings.defaultZone);if(!i.isValid){return e.invalid(unsupportedZone(i))}return new e({ts:r,zone:i,loc:Locale.fromObject(t)})};e.fromMillis=function(n,t){if(t===void 0){t={}}if(!isNumber(n)){throw new InvalidArgumentError("fromMillis requires a numerical input, but received a ".concat(typeof n," with value ").concat(n))}else if(n<-MAX_DATE||n>MAX_DATE){return e.invalid("Timestamp out of range")}else{return new e({ts:n,zone:normalizeZone(t.zone,Settings.defaultZone),loc:Locale.fromObject(t)})}};e.fromSeconds=function(n,t){if(t===void 0){t={}}if(!isNumber(n)){throw new InvalidArgumentError("fromSeconds requires a numerical input")}else{return new e({ts:n*1e3,zone:normalizeZone(t.zone,Settings.defaultZone),loc:Locale.fromObject(t)})}};e.fromObject=function(n,t){if(t===void 0){t={}}n=n||{};var r=normalizeZone(t.zone,Settings.defaultZone);if(!r.isValid){return e.invalid(unsupportedZone(r))}var i=Locale.fromObject(t);var a=normalizeObject(n,normalizeUnitWithLocalWeeks);var u=usesLocalWeekValues(a,i),s=u.minDaysInFirstWeek,o=u.startOfWeek;var f=Settings.now(),l=!isUndefined(t.specificOffset)?t.specificOffset:r.offset(f),c=!isUndefined(a.ordinal),d=!isUndefined(a.year),h=!isUndefined(a.month)||!isUndefined(a.day),m=d||h,v=a.weekYear||a.weekNumber;if((m||c)&&v){throw new ConflictingSpecificationError("Can't mix weekYear/weekNumber units with year/month/day or ordinals")}if(h&&c){throw new ConflictingSpecificationError("Can't mix ordinal dates with month/day")}var g=v||a.weekday&&!m;var b,T,y=tsToObj(f,l);if(g){b=orderedWeekUnits;T=defaultWeekUnitValues;y=gregorianToWeek(y,s,o)}else if(c){b=orderedOrdinalUnits;T=defaultOrdinalUnitValues;y=gregorianToOrdinal(y)}else{b=orderedUnits;T=defaultUnitValues}var O=false;for(var I=0,_=b;I<_.length;I++){var E=_[I];var p=a[E];if(!isUndefined(p)){O=true}else if(O){a[E]=T[E]}else{a[E]=y[E]}}var w=g?hasInvalidWeekData(a,s,o):c?hasInvalidOrdinalData(a):hasInvalidGregorianData(a),S=w||hasInvalidTimeData(a);if(S){return e.invalid(S)}var D=g?weekToGregorian(a,s,o):c?ordinalToGregorian(a):a,k=objToTS(D,l,r),M=k[0],x=k[1],N=new e({ts:M,zone:r,o:x,loc:i});if(a.weekday&&m&&n.weekday!==N.weekday){return e.invalid("mismatched weekday","you can't specify both a weekday of ".concat(a.weekday," and a date of ").concat(N.toISO()))}if(!N.isValid){return e.invalid(N.invalid)}return N};e.fromISO=function(e,n){if(n===void 0){n={}}var t=parseISODate(e),r=t[0],i=t[1];return parseDataToDateTime(r,i,n,"ISO 8601",e)};e.fromRFC2822=function(e,n){if(n===void 0){n={}}var t=parseRFC2822Date(e),r=t[0],i=t[1];return parseDataToDateTime(r,i,n,"RFC 2822",e)};e.fromHTTP=function(e,n){if(n===void 0){n={}}var t=parseHTTPDate(e),r=t[0],i=t[1];return parseDataToDateTime(r,i,n,"HTTP",n)};e.fromFormat=function(n,t,r){if(r===void 0){r={}}if(isUndefined(n)||isUndefined(t)){throw new InvalidArgumentError("fromFormat requires an input string and a format")}var i=r.locale,a=i===void 0?null:i,u=r.numberingSystem,s=u===void 0?null:u,o=Locale.fromOpts({locale:a,numberingSystem:s,defaultToEN:true}),f=parseFromTokens(o,n,t),l=f[0],c=f[1],d=f[2],h=f[3];if(h){return e.invalid(h)}else{return parseDataToDateTime(l,c,r,"format ".concat(t),n,d)}};e.fromString=function(n,t,r){if(r===void 0){r={}}return e.fromFormat(n,t,r)};e.fromSQL=function(e,n){if(n===void 0){n={}}var t=parseSQL(e),r=t[0],i=t[1];return parseDataToDateTime(r,i,n,"SQL",e)};e.invalid=function(n,t){if(t===void 0){t=null}if(!n){throw new InvalidArgumentError("need to specify a reason the DateTime is invalid")}var r=n instanceof Invalid?n:new Invalid(n,t);if(Settings.throwOnInvalid){throw new InvalidDateTimeError(r)}else{return new e({invalid:r})}};e.isDateTime=function(e){return e&&e.isLuxonDateTime||false};e.parseFormatForOpts=function(e,n){if(n===void 0){n={}}var t=formatOptsToTokens(e,Locale.fromObject(n));return!t?null:t.map((function(e){return e?e.val:null})).join("")};e.expandFormat=function(e,n){if(n===void 0){n={}}var t=expandMacroTokens(Formatter.parseFormat(e),Locale.fromObject(n));return t.map((function(e){return e.val})).join("")};e.resetCache=function(){zoneOffsetTs=undefined;zoneOffsetGuessCache.clear()};e.prototype.get=function(e){return this[e]};Object.defineProperty(e.prototype,"isValid",{get:function(){return this.invalid===null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"invalidReason",{get:function(){return this.invalid?this.invalid.reason:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"invalidExplanation",{get:function(){return this.invalid?this.invalid.explanation:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"locale",{get:function(){return this.isValid?this.loc.locale:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"numberingSystem",{get:function(){return this.isValid?this.loc.numberingSystem:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"outputCalendar",{get:function(){return this.isValid?this.loc.outputCalendar:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"zone",{get:function(){return this._zone},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"zoneName",{get:function(){return this.isValid?this.zone.name:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"year",{get:function(){return this.isValid?this.c.year:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"quarter",{get:function(){return this.isValid?Math.ceil(this.c.month/3):NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"month",{get:function(){return this.isValid?this.c.month:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"day",{get:function(){return this.isValid?this.c.day:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"hour",{get:function(){return this.isValid?this.c.hour:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"minute",{get:function(){return this.isValid?this.c.minute:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"second",{get:function(){return this.isValid?this.c.second:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"millisecond",{get:function(){return this.isValid?this.c.millisecond:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weekYear",{get:function(){return this.isValid?possiblyCachedWeekData(this).weekYear:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weekNumber",{get:function(){return this.isValid?possiblyCachedWeekData(this).weekNumber:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weekday",{get:function(){return this.isValid?possiblyCachedWeekData(this).weekday:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isWeekend",{get:function(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"localWeekday",{get:function(){return this.isValid?possiblyCachedLocalWeekData(this).weekday:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"localWeekNumber",{get:function(){return this.isValid?possiblyCachedLocalWeekData(this).weekNumber:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"localWeekYear",{get:function(){return this.isValid?possiblyCachedLocalWeekData(this).weekYear:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"ordinal",{get:function(){return this.isValid?gregorianToOrdinal(this.c).ordinal:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"monthShort",{get:function(){return this.isValid?Info.months("short",{locObj:this.loc})[this.month-1]:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"monthLong",{get:function(){return this.isValid?Info.months("long",{locObj:this.loc})[this.month-1]:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weekdayShort",{get:function(){return this.isValid?Info.weekdays("short",{locObj:this.loc})[this.weekday-1]:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weekdayLong",{get:function(){return this.isValid?Info.weekdays("long",{locObj:this.loc})[this.weekday-1]:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"offset",{get:function(){return this.isValid?+this.o:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"offsetNameShort",{get:function(){if(this.isValid){return this.zone.offsetName(this.ts,{format:"short",locale:this.locale})}else{return null}},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"offsetNameLong",{get:function(){if(this.isValid){return this.zone.offsetName(this.ts,{format:"long",locale:this.locale})}else{return null}},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isOffsetFixed",{get:function(){return this.isValid?this.zone.isUniversal:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isInDST",{get:function(){if(this.isOffsetFixed){return false}else{return this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}},enumerable:false,configurable:true});e.prototype.getPossibleOffsets=function(){if(!this.isValid||this.isOffsetFixed){return[this]}var e=864e5;var n=6e4;var t=objToLocalTS(this.c);var r=this.zone.offset(t-e);var i=this.zone.offset(t+e);var a=this.zone.offset(t-r*n);var u=this.zone.offset(t-i*n);if(a===u){return[this]}var s=t-a*n;var o=t-u*n;var f=tsToObj(s,a);var l=tsToObj(o,u);if(f.hour===l.hour&&f.minute===l.minute&&f.second===l.second&&f.millisecond===l.millisecond){return[clone(this,{ts:s}),clone(this,{ts:o})]}return[this]};Object.defineProperty(e.prototype,"isInLeapYear",{get:function(){return isLeapYear(this.year)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"daysInMonth",{get:function(){return daysInMonth(this.year,this.month)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"daysInYear",{get:function(){return this.isValid?daysInYear(this.year):NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weeksInWeekYear",{get:function(){return this.isValid?weeksInWeekYear(this.weekYear):NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weeksInLocalWeekYear",{get:function(){return this.isValid?weeksInWeekYear(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN},enumerable:false,configurable:true});e.prototype.resolvedLocaleOptions=function(e){if(e===void 0){e={}}var n=Formatter.create(this.loc.clone(e),e).resolvedOptions(this),t=n.locale,r=n.numberingSystem,i=n.calendar;return{locale:t,numberingSystem:r,outputCalendar:i}};e.prototype.toUTC=function(e,n){if(e===void 0){e=0}if(n===void 0){n={}}return this.setZone(FixedOffsetZone.instance(e),n)};e.prototype.toLocal=function(){return this.setZone(Settings.defaultZone)};e.prototype.setZone=function(n,t){var r=t===void 0?{}:t,i=r.keepLocalTime,a=i===void 0?false:i,u=r.keepCalendarTime,s=u===void 0?false:u;n=normalizeZone(n,Settings.defaultZone);if(n.equals(this.zone)){return this}else if(!n.isValid){return e.invalid(unsupportedZone(n))}else{var o=this.ts;if(a||s){var f=n.offset(this.ts);var l=this.toObject();o=objToTS(l,f,n)[0]}return clone(this,{ts:o,zone:n})}};e.prototype.reconfigure=function(e){var n=e===void 0?{}:e,t=n.locale,r=n.numberingSystem,i=n.outputCalendar;var a=this.loc.clone({locale:t,numberingSystem:r,outputCalendar:i});return clone(this,{loc:a})};e.prototype.setLocale=function(e){return this.reconfigure({locale:e})};e.prototype.set=function(e){if(!this.isValid)return this;var n=normalizeObject(e,normalizeUnitWithLocalWeeks);var t=usesLocalWeekValues(n,this.loc),r=t.minDaysInFirstWeek,i=t.startOfWeek;var a=!isUndefined(n.weekYear)||!isUndefined(n.weekNumber)||!isUndefined(n.weekday),u=!isUndefined(n.ordinal),s=!isUndefined(n.year),o=!isUndefined(n.month)||!isUndefined(n.day),f=s||o,l=n.weekYear||n.weekNumber;if((f||u)&&l){throw new ConflictingSpecificationError("Can't mix weekYear/weekNumber units with year/month/day or ordinals")}if(o&&u){throw new ConflictingSpecificationError("Can't mix ordinal dates with month/day")}var c;if(a){c=weekToGregorian(__assign(__assign({},gregorianToWeek(this.c,r,i)),n),r,i)}else if(!isUndefined(n.ordinal)){c=ordinalToGregorian(__assign(__assign({},gregorianToOrdinal(this.c)),n))}else{c=__assign(__assign({},this.toObject()),n);if(isUndefined(n.day)){c.day=Math.min(daysInMonth(c.year,c.month),c.day)}}var d=objToTS(c,this.o,this.zone),h=d[0],m=d[1];return clone(this,{ts:h,o:m})};e.prototype.plus=function(e){if(!this.isValid)return this;var n=Duration.fromDurationLike(e);return clone(this,adjustTime(this,n))};e.prototype.minus=function(e){if(!this.isValid)return this;var n=Duration.fromDurationLike(e).negate();return clone(this,adjustTime(this,n))};e.prototype.startOf=function(e,n){var t=n===void 0?{}:n,r=t.useLocaleWeeks,i=r===void 0?false:r;if(!this.isValid)return this;var a={},u=Duration.normalizeUnit(e);switch(u){case"years":a.month=1;case"quarters":case"months":a.day=1;case"weeks":case"days":a.hour=0;case"hours":a.minute=0;case"minutes":a.second=0;case"seconds":a.millisecond=0;break}if(u==="weeks"){if(i){var s=this.loc.getStartOfWeek();var o=this.weekday;if(o<s){a.weekNumber=this.weekNumber-1}a.weekday=s}else{a.weekday=1}}if(u==="quarters"){var f=Math.ceil(this.month/3);a.month=(f-1)*3+1}return this.set(a)};e.prototype.endOf=function(e,n){var t;return this.isValid?this.plus((t={},t[e]=1,t)).startOf(e,n).minus(1):this};e.prototype.toFormat=function(e,n){if(n===void 0){n={}}return this.isValid?Formatter.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,e):INVALID};e.prototype.toLocaleString=function(e,n){if(e===void 0){e=DATE_SHORT}if(n===void 0){n={}}return this.isValid?Formatter.create(this.loc.clone(n),e).formatDateTime(this):INVALID};e.prototype.toLocaleParts=function(e){if(e===void 0){e={}}return this.isValid?Formatter.create(this.loc.clone(e),e).formatDateTimeParts(this):[]};e.prototype.toISO=function(e){var n=e===void 0?{}:e,t=n.format,r=t===void 0?"extended":t,i=n.suppressSeconds,a=i===void 0?false:i,u=n.suppressMilliseconds,s=u===void 0?false:u,o=n.includeOffset,f=o===void 0?true:o,l=n.extendedZone,c=l===void 0?false:l;if(!this.isValid){return null}var d=r==="extended";var h=toISODate(this,d);h+="T";h+=toISOTime(this,d,a,s,f,c);return h};e.prototype.toISODate=function(e){var n=e===void 0?{}:e,t=n.format,r=t===void 0?"extended":t;if(!this.isValid){return null}return toISODate(this,r==="extended")};e.prototype.toISOWeekDate=function(){return toTechFormat(this,"kkkk-'W'WW-c")};e.prototype.toISOTime=function(e){var n=e===void 0?{}:e,t=n.suppressMilliseconds,r=t===void 0?false:t,i=n.suppressSeconds,a=i===void 0?false:i,u=n.includeOffset,s=u===void 0?true:u,o=n.includePrefix,f=o===void 0?false:o,l=n.extendedZone,c=l===void 0?false:l,d=n.format,h=d===void 0?"extended":d;if(!this.isValid){return null}var m=f?"T":"";return m+toISOTime(this,h==="extended",a,r,s,c)};e.prototype.toRFC2822=function(){return toTechFormat(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",false)};e.prototype.toHTTP=function(){return toTechFormat(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")};e.prototype.toSQLDate=function(){if(!this.isValid){return null}return toISODate(this,true)};e.prototype.toSQLTime=function(e){var n=e===void 0?{}:e,t=n.includeOffset,r=t===void 0?true:t,i=n.includeZone,a=i===void 0?false:i,u=n.includeOffsetSpace,s=u===void 0?true:u;var o="HH:mm:ss.SSS";if(a||r){if(s){o+=" "}if(a){o+="z"}else if(r){o+="ZZ"}}return toTechFormat(this,o,true)};e.prototype.toSQL=function(e){if(e===void 0){e={}}if(!this.isValid){return null}return"".concat(this.toSQLDate()," ").concat(this.toSQLTime(e))};e.prototype.toString=function(){return this.isValid?this.toISO():INVALID};e.prototype[Symbol.for("nodejs.util.inspect.custom")]=function(){if(this.isValid){return"DateTime { ts: ".concat(this.toISO(),", zone: ").concat(this.zone.name,", locale: ").concat(this.locale," }")}else{return"DateTime { Invalid, reason: ".concat(this.invalidReason," }")}};e.prototype.valueOf=function(){return this.toMillis()};e.prototype.toMillis=function(){return this.isValid?this.ts:NaN};e.prototype.toSeconds=function(){return this.isValid?this.ts/1e3:NaN};e.prototype.toUnixInteger=function(){return this.isValid?Math.floor(this.ts/1e3):NaN};e.prototype.toJSON=function(){return this.toISO()};e.prototype.toBSON=function(){return this.toJSDate()};e.prototype.toObject=function(e){if(e===void 0){e={}}if(!this.isValid)return{};var n=__assign({},this.c);if(e.includeConfig){n.outputCalendar=this.outputCalendar;n.numberingSystem=this.loc.numberingSystem;n.locale=this.loc.locale}return n};e.prototype.toJSDate=function(){return new Date(this.isValid?this.ts:NaN)};e.prototype.diff=function(e,n,t){if(n===void 0){n="milliseconds"}if(t===void 0){t={}}if(!this.isValid||!e.isValid){return Duration.invalid("created by diffing an invalid DateTime")}var r=__assign({locale:this.locale,numberingSystem:this.numberingSystem},t);var i=maybeArray(n).map(Duration.normalizeUnit),a=e.valueOf()>this.valueOf(),u=a?this:e,s=a?e:this,o=diff(u,s,i,r);return a?o.negate():o};e.prototype.diffNow=function(n,t){if(n===void 0){n="milliseconds"}if(t===void 0){t={}}return this.diff(e.now(),n,t)};e.prototype.until=function(e){return this.isValid?Interval.fromDateTimes(this,e):this};e.prototype.hasSame=function(e,n,t){if(!this.isValid)return false;var r=e.valueOf();var i=this.setZone(e.zone,{keepLocalTime:true});return i.startOf(n,t)<=r&&r<=i.endOf(n,t)};e.prototype.equals=function(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)};e.prototype.toRelative=function(n){if(n===void 0){n={}}if(!this.isValid)return null;var t=n.base||e.fromObject({},{zone:this.zone}),r=n.padding?this<t?-n.padding:n.padding:0;var i=["years","months","days","hours","minutes","seconds"];var a=n.unit;if(Array.isArray(n.unit)){i=n.unit;a=undefined}return diffRelative(t,this.plus(r),__assign(__assign({},n),{numeric:"always",units:i,unit:a}))};e.prototype.toRelativeCalendar=function(n){if(n===void 0){n={}}if(!this.isValid)return null;return diffRelative(n.base||e.fromObject({},{zone:this.zone}),this,__assign(__assign({},n),{numeric:"auto",units:["years","months","days"],calendary:true}))};e.min=function(){var n=[];for(var t=0;t<arguments.length;t++){n[t]=arguments[t]}if(!n.every(e.isDateTime)){throw new InvalidArgumentError("min requires all arguments be DateTimes")}return bestBy(n,(function(e){return e.valueOf()}),Math.min)};e.max=function(){var n=[];for(var t=0;t<arguments.length;t++){n[t]=arguments[t]}if(!n.every(e.isDateTime)){throw new InvalidArgumentError("max requires all arguments be DateTimes")}return bestBy(n,(function(e){return e.valueOf()}),Math.max)};e.fromFormatExplain=function(e,n,t){if(t===void 0){t={}}var r=t.locale,i=r===void 0?null:r,a=t.numberingSystem,u=a===void 0?null:a,s=Locale.fromOpts({locale:i,numberingSystem:u,defaultToEN:true});return explainFromTokens(s,e,n)};e.fromStringExplain=function(n,t,r){if(r===void 0){r={}}return e.fromFormatExplain(n,t,r)};e.buildFormatParser=function(e,n){if(n===void 0){n={}}var t=n.locale,r=t===void 0?null:t,i=n.numberingSystem,a=i===void 0?null:i,u=Locale.fromOpts({locale:r,numberingSystem:a,defaultToEN:true});return new TokenParser(u,e)};e.fromFormatParser=function(n,t,r){if(r===void 0){r={}}if(isUndefined(n)||isUndefined(t)){throw new InvalidArgumentError("fromFormatParser requires an input string and a format parser")}var i=r.locale,a=i===void 0?null:i,u=r.numberingSystem,s=u===void 0?null:u,o=Locale.fromOpts({locale:a,numberingSystem:s,defaultToEN:true});if(!o.equals(t.locale)){throw new InvalidArgumentError("fromFormatParser called with a locale of ".concat(o,", ")+"but the format parser was created for ".concat(t.locale))}var f=t.explainFromTokens(n),l=f.result,c=f.zone,d=f.specificOffset,h=f.invalidReason;if(h){return e.invalid(h)}else{return parseDataToDateTime(l,c,r,"format ".concat(t.format),n,d)}};Object.defineProperty(e,"DATE_SHORT",{get:function(){return DATE_SHORT},enumerable:false,configurable:true});Object.defineProperty(e,"DATE_MED",{get:function(){return DATE_MED},enumerable:false,configurable:true});Object.defineProperty(e,"DATE_MED_WITH_WEEKDAY",{get:function(){return DATE_MED_WITH_WEEKDAY},enumerable:false,configurable:true});Object.defineProperty(e,"DATE_FULL",{get:function(){return DATE_FULL},enumerable:false,configurable:true});Object.defineProperty(e,"DATE_HUGE",{get:function(){return DATE_HUGE},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_SIMPLE",{get:function(){return TIME_SIMPLE},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_WITH_SECONDS",{get:function(){return TIME_WITH_SECONDS},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_WITH_SHORT_OFFSET",{get:function(){return TIME_WITH_SHORT_OFFSET},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_WITH_LONG_OFFSET",{get:function(){return TIME_WITH_LONG_OFFSET},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_24_SIMPLE",{get:function(){return TIME_24_SIMPLE},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_24_WITH_SECONDS",{get:function(){return TIME_24_WITH_SECONDS},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_24_WITH_SHORT_OFFSET",{get:function(){return TIME_24_WITH_SHORT_OFFSET},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_24_WITH_LONG_OFFSET",{get:function(){return TIME_24_WITH_LONG_OFFSET},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_SHORT",{get:function(){return DATETIME_SHORT},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_SHORT_WITH_SECONDS",{get:function(){return DATETIME_SHORT_WITH_SECONDS},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_MED",{get:function(){return DATETIME_MED},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_MED_WITH_SECONDS",{get:function(){return DATETIME_MED_WITH_SECONDS},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_MED_WITH_WEEKDAY",{get:function(){return DATETIME_MED_WITH_WEEKDAY},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_FULL",{get:function(){return DATETIME_FULL},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_FULL_WITH_SECONDS",{get:function(){return DATETIME_FULL_WITH_SECONDS},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_HUGE",{get:function(){return DATETIME_HUGE},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_HUGE_WITH_SECONDS",{get:function(){return DATETIME_HUGE_WITH_SECONDS},enumerable:false,configurable:true});return e}();function friendlyDateTime(e){if(DateTime.isDateTime(e)){return e}else if(e&&e.valueOf&&isNumber(e.valueOf())){return DateTime.fromJSDate(e)}else if(e&&typeof e==="object"){return DateTime.fromObject(e)}else{throw new InvalidArgumentError("Unknown datetime argument: ".concat(e,", of type ").concat(typeof e))}}export{DateTime as D};
1
+ // these aren't really private, but nor are they really useful to document
2
+ var __extends=this&&this.__extends||function(){var e=function(n,t){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)if(Object.prototype.hasOwnProperty.call(n,t))e[t]=n[t]};return e(n,t)};return function(n,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(n,t);function r(){this.constructor=n}n.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++){n=arguments[t];for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i))e[i]=n[i]}return e};return __assign.apply(this,arguments)};var __rest=this&&this.__rest||function(e,n){var t={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0)t[r]=e[r];if(e!=null&&typeof Object.getOwnPropertySymbols==="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++){if(n.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i]))t[r[i]]=e[r[i]]}return t};var __spreadArray=this&&this.__spreadArray||function(e,n,t){if(t||arguments.length===2)for(var r=0,i=n.length,a;r<i;r++){if(a||!(r in n)){if(!a)a=Array.prototype.slice.call(n,0,r);a[r]=n[r]}}return e.concat(a||Array.prototype.slice.call(n))};
3
+ /**
4
+ * @private
5
+ */var LuxonError=/** @class */function(e){__extends(n,e);function n(){return e!==null&&e.apply(this,arguments)||this}return n}(Error);
6
+ /**
7
+ * @private
8
+ */var InvalidDateTimeError=/** @class */function(e){__extends(n,e);function n(n){return e.call(this,"Invalid DateTime: ".concat(n.toMessage()))||this}return n}(LuxonError);
9
+ /**
10
+ * @private
11
+ */var InvalidIntervalError=/** @class */function(e){__extends(n,e);function n(n){return e.call(this,"Invalid Interval: ".concat(n.toMessage()))||this}return n}(LuxonError);
12
+ /**
13
+ * @private
14
+ */var InvalidDurationError=/** @class */function(e){__extends(n,e);function n(n){return e.call(this,"Invalid Duration: ".concat(n.toMessage()))||this}return n}(LuxonError);
15
+ /**
16
+ * @private
17
+ */var ConflictingSpecificationError=/** @class */function(e){__extends(n,e);function n(){return e!==null&&e.apply(this,arguments)||this}return n}(LuxonError);
18
+ /**
19
+ * @private
20
+ */var InvalidUnitError=/** @class */function(e){__extends(n,e);function n(n){return e.call(this,"Invalid unit ".concat(n))||this}return n}(LuxonError);
21
+ /**
22
+ * @private
23
+ */var InvalidArgumentError=/** @class */function(e){__extends(n,e);function n(){return e!==null&&e.apply(this,arguments)||this}return n}(LuxonError);
24
+ /**
25
+ * @private
26
+ */var ZoneIsAbstractError=/** @class */function(e){__extends(n,e);function n(){return e.call(this,"Zone is an abstract class")||this}return n}(LuxonError);
27
+ /**
28
+ * @private
29
+ */var n="numeric",s="short",l="long";var DATE_SHORT={year:n,month:n,day:n};var DATE_MED={year:n,month:s,day:n};var DATE_MED_WITH_WEEKDAY={year:n,month:s,day:n,weekday:s};var DATE_FULL={year:n,month:l,day:n};var DATE_HUGE={year:n,month:l,day:n,weekday:l};var TIME_SIMPLE={hour:n,minute:n};var TIME_WITH_SECONDS={hour:n,minute:n,second:n};var TIME_WITH_SHORT_OFFSET={hour:n,minute:n,second:n,timeZoneName:s};var TIME_WITH_LONG_OFFSET={hour:n,minute:n,second:n,timeZoneName:l};var TIME_24_SIMPLE={hour:n,minute:n,hourCycle:"h23"};var TIME_24_WITH_SECONDS={hour:n,minute:n,second:n,hourCycle:"h23"};var TIME_24_WITH_SHORT_OFFSET={hour:n,minute:n,second:n,hourCycle:"h23",timeZoneName:s};var TIME_24_WITH_LONG_OFFSET={hour:n,minute:n,second:n,hourCycle:"h23",timeZoneName:l};var DATETIME_SHORT={year:n,month:n,day:n,hour:n,minute:n};var DATETIME_SHORT_WITH_SECONDS={year:n,month:n,day:n,hour:n,minute:n,second:n};var DATETIME_MED={year:n,month:s,day:n,hour:n,minute:n};var DATETIME_MED_WITH_SECONDS={year:n,month:s,day:n,hour:n,minute:n,second:n};var DATETIME_MED_WITH_WEEKDAY={year:n,month:s,day:n,weekday:s,hour:n,minute:n};var DATETIME_FULL={year:n,month:l,day:n,hour:n,minute:n,timeZoneName:s};var DATETIME_FULL_WITH_SECONDS={year:n,month:l,day:n,hour:n,minute:n,second:n,timeZoneName:s};var DATETIME_HUGE={year:n,month:l,day:n,weekday:l,hour:n,minute:n,timeZoneName:l};var DATETIME_HUGE_WITH_SECONDS={year:n,month:l,day:n,weekday:l,hour:n,minute:n,second:n,timeZoneName:l};
30
+ /**
31
+ * @interface
32
+ */var Zone=/** @class */function(){function e(){}Object.defineProperty(e.prototype,"type",{
33
+ /**
34
+ * The type of zone
35
+ * @abstract
36
+ * @type {string}
37
+ */
38
+ get:function(){throw new ZoneIsAbstractError},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"name",{
39
+ /**
40
+ * The name of this zone.
41
+ * @abstract
42
+ * @type {string}
43
+ */
44
+ get:function(){throw new ZoneIsAbstractError},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"ianaName",{
45
+ /**
46
+ * The IANA name of this zone.
47
+ * Defaults to `name` if not overwritten by a subclass.
48
+ * @abstract
49
+ * @type {string}
50
+ */
51
+ get:function(){return this.name},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isUniversal",{
52
+ /**
53
+ * Returns whether the offset is known to be fixed for the whole year.
54
+ * @abstract
55
+ * @type {boolean}
56
+ */
57
+ get:function(){throw new ZoneIsAbstractError},enumerable:false,configurable:true});
58
+ /**
59
+ * Returns the offset's common name (such as EST) at the specified timestamp
60
+ * @abstract
61
+ * @param {number} ts - Epoch milliseconds for which to get the name
62
+ * @param {Object} opts - Options to affect the format
63
+ * @param {string} opts.format - What style of offset to return. Accepts 'long' or 'short'.
64
+ * @param {string} opts.locale - What locale to return the offset name in.
65
+ * @return {string}
66
+ */e.prototype.offsetName=function(e,n){throw new ZoneIsAbstractError};
67
+ /**
68
+ * Returns the offset's value as a string
69
+ * @abstract
70
+ * @param {number} ts - Epoch milliseconds for which to get the offset
71
+ * @param {string} format - What style of offset to return.
72
+ * Accepts 'narrow', 'short', or 'techie'. Returning '+6', '+06:00', or '+0600' respectively
73
+ * @return {string}
74
+ */e.prototype.formatOffset=function(e,n){throw new ZoneIsAbstractError};
75
+ /**
76
+ * Return the offset in minutes for this zone at the specified timestamp.
77
+ * @abstract
78
+ * @param {number} ts - Epoch milliseconds for which to compute the offset
79
+ * @return {number}
80
+ */e.prototype.offset=function(e){throw new ZoneIsAbstractError};
81
+ /**
82
+ * Return whether this Zone is equal to another zone
83
+ * @abstract
84
+ * @param {Zone} otherZone - the zone to compare
85
+ * @return {boolean}
86
+ */e.prototype.equals=function(e){throw new ZoneIsAbstractError};Object.defineProperty(e.prototype,"isValid",{
87
+ /**
88
+ * Return whether this Zone is valid.
89
+ * @abstract
90
+ * @type {boolean}
91
+ */
92
+ get:function(){throw new ZoneIsAbstractError},enumerable:false,configurable:true});return e}();var singleton$1=null;
93
+ /**
94
+ * Represents the local zone for this JavaScript environment.
95
+ * @implements {Zone}
96
+ */var SystemZone=/** @class */function(e){__extends(n,e);function n(){return e!==null&&e.apply(this,arguments)||this}Object.defineProperty(n,"instance",{
97
+ /**
98
+ * Get a singleton instance of the local zone
99
+ * @return {SystemZone}
100
+ */
101
+ get:function(){if(singleton$1===null){singleton$1=new n}return singleton$1},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"type",{
102
+ /** @override **/
103
+ get:function(){return"system"},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"name",{
104
+ /** @override **/
105
+ get:function(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"isUniversal",{
106
+ /** @override **/
107
+ get:function(){return false},enumerable:false,configurable:true});
108
+ /** @override **/n.prototype.offsetName=function(e,n){var t=n.format,r=n.locale;return parseZoneInfo(e,t,r)};
109
+ /** @override **/n.prototype.formatOffset=function(e,n){return formatOffset(this.offset(e),n)};
110
+ /** @override **/n.prototype.offset=function(e){return-new Date(e).getTimezoneOffset()};
111
+ /** @override **/n.prototype.equals=function(e){return e.type==="system"};Object.defineProperty(n.prototype,"isValid",{
112
+ /** @override **/
113
+ get:function(){return true},enumerable:false,configurable:true});return n}(Zone);var dtfCache=new Map;function makeDTF(e){var n=dtfCache.get(e);if(n===undefined){n=new Intl.DateTimeFormat("en-US",{hour12:false,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"});dtfCache.set(e,n)}return n}var typeToPos={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function hackyOffset(e,n){var t=e.format(n).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(t),i=r[1],a=r[2],u=r[3],s=r[4],o=r[5],f=r[6],l=r[7];return[u,i,a,s,o,f,l]}function partsOffset(e,n){var t=e.formatToParts(n);var r=[];for(var i=0;i<t.length;i++){var a=t[i],u=a.type,s=a.value;var o=typeToPos[u];if(u==="era"){r[o]=s}else if(!isUndefined(o)){r[o]=parseInt(s,10)}}return r}var ianaZoneCache=new Map;
114
+ /**
115
+ * A zone identified by an IANA identifier, like America/New_York
116
+ * @implements {Zone}
117
+ */var IANAZone=/** @class */function(e){__extends(n,e);function n(t){var r=e.call(this)||this;
118
+ /** @private **/r.zoneName=t;
119
+ /** @private **/r.valid=n.isValidZone(t);return r}
120
+ /**
121
+ * @param {string} name - Zone name
122
+ * @return {IANAZone}
123
+ */n.create=function(e){var t=ianaZoneCache.get(e);if(t===undefined){ianaZoneCache.set(e,t=new n(e))}return t};
124
+ /**
125
+ * Reset local caches. Should only be necessary in testing scenarios.
126
+ * @return {void}
127
+ */n.resetCache=function(){ianaZoneCache.clear();dtfCache.clear()};
128
+ /**
129
+ * Returns whether the provided string is a valid specifier. This only checks the string's format, not that the specifier identifies a known zone; see isValidZone for that.
130
+ * @param {string} s - The string to check validity on
131
+ * @example IANAZone.isValidSpecifier("America/New_York") //=> true
132
+ * @example IANAZone.isValidSpecifier("Sport~~blorp") //=> false
133
+ * @deprecated For backward compatibility, this forwards to isValidZone, better use `isValidZone()` directly instead.
134
+ * @return {boolean}
135
+ */n.isValidSpecifier=function(e){return this.isValidZone(e)};
136
+ /**
137
+ * Returns whether the provided string identifies a real zone
138
+ * @param {string} zone - The string to check
139
+ * @example IANAZone.isValidZone("America/New_York") //=> true
140
+ * @example IANAZone.isValidZone("Fantasia/Castle") //=> false
141
+ * @example IANAZone.isValidZone("Sport~~blorp") //=> false
142
+ * @return {boolean}
143
+ */n.isValidZone=function(e){if(!e){return false}try{new Intl.DateTimeFormat("en-US",{timeZone:e}).format();return true}catch(e){return false}};Object.defineProperty(n.prototype,"type",{
144
+ /**
145
+ * The type of zone. `iana` for all instances of `IANAZone`.
146
+ * @override
147
+ * @type {string}
148
+ */
149
+ get:function(){return"iana"},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"name",{
150
+ /**
151
+ * The name of this zone (i.e. the IANA zone name).
152
+ * @override
153
+ * @type {string}
154
+ */
155
+ get:function(){return this.zoneName},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"isUniversal",{
156
+ /**
157
+ * Returns whether the offset is known to be fixed for the whole year:
158
+ * Always returns false for all IANA zones.
159
+ * @override
160
+ * @type {boolean}
161
+ */
162
+ get:function(){return false},enumerable:false,configurable:true});
163
+ /**
164
+ * Returns the offset's common name (such as EST) at the specified timestamp
165
+ * @override
166
+ * @param {number} ts - Epoch milliseconds for which to get the name
167
+ * @param {Object} opts - Options to affect the format
168
+ * @param {string} opts.format - What style of offset to return. Accepts 'long' or 'short'.
169
+ * @param {string} opts.locale - What locale to return the offset name in.
170
+ * @return {string}
171
+ */n.prototype.offsetName=function(e,n){var t=n.format,r=n.locale;return parseZoneInfo(e,t,r,this.name)};
172
+ /**
173
+ * Returns the offset's value as a string
174
+ * @override
175
+ * @param {number} ts - Epoch milliseconds for which to get the offset
176
+ * @param {string} format - What style of offset to return.
177
+ * Accepts 'narrow', 'short', or 'techie'. Returning '+6', '+06:00', or '+0600' respectively
178
+ * @return {string}
179
+ */n.prototype.formatOffset=function(e,n){return formatOffset(this.offset(e),n)};
180
+ /**
181
+ * Return the offset in minutes for this zone at the specified timestamp.
182
+ * @override
183
+ * @param {number} ts - Epoch milliseconds for which to compute the offset
184
+ * @return {number}
185
+ */n.prototype.offset=function(e){if(!this.valid)return NaN;var n=new Date(e);if(isNaN(n))return NaN;var t=makeDTF(this.name);var r=t.formatToParts?partsOffset(t,n):hackyOffset(t,n),i=r[0],a=r[1],u=r[2],s=r[3],o=r[4],f=r[5],l=r[6];if(s==="BC"){i=-Math.abs(i)+1}
186
+ // because we're using hour12 and https://bugs.chromium.org/p/chromium/issues/detail?id=1025564&can=2&q=%2224%3A00%22%20datetimeformat
187
+ var c=o===24?0:o;var d=objToLocalTS({year:i,month:a,day:u,hour:c,minute:f,second:l,millisecond:0});var h=+n;var m=h%1e3;h-=m>=0?m:1e3+m;return(d-h)/(60*1e3)};
188
+ /**
189
+ * Return whether this Zone is equal to another zone
190
+ * @override
191
+ * @param {Zone} otherZone - the zone to compare
192
+ * @return {boolean}
193
+ */n.prototype.equals=function(e){return e.type==="iana"&&e.name===this.name};Object.defineProperty(n.prototype,"isValid",{
194
+ /**
195
+ * Return whether this Zone is valid.
196
+ * @override
197
+ * @type {boolean}
198
+ */
199
+ get:function(){return this.valid},enumerable:false,configurable:true});return n}(Zone);
200
+ // todo - remap caching
201
+ var intlLFCache={};function getCachedLF(e,n){if(n===void 0){n={}}var t=JSON.stringify([e,n]);var r=intlLFCache[t];if(!r){r=new Intl.ListFormat(e,n);intlLFCache[t]=r}return r}var intlDTCache=new Map;function getCachedDTF(e,n){if(n===void 0){n={}}var t=JSON.stringify([e,n]);var r=intlDTCache.get(t);if(r===undefined){r=new Intl.DateTimeFormat(e,n);intlDTCache.set(t,r)}return r}var intlNumCache=new Map;function getCachedINF(e,n){if(n===void 0){n={}}var t=JSON.stringify([e,n]);var r=intlNumCache.get(t);if(r===undefined){r=new Intl.NumberFormat(e,n);intlNumCache.set(t,r)}return r}var intlRelCache=new Map;function getCachedRTF(e,n){if(n===void 0){n={}}var t=n.base,r=__rest(n,["base"]);// exclude `base` from the options
202
+ var i=JSON.stringify([e,r]);var a=intlRelCache.get(i);if(a===undefined){a=new Intl.RelativeTimeFormat(e,n);intlRelCache.set(i,a)}return a}var sysLocaleCache=null;function systemLocale(){if(sysLocaleCache){return sysLocaleCache}else{sysLocaleCache=(new Intl.DateTimeFormat).resolvedOptions().locale;return sysLocaleCache}}var intlResolvedOptionsCache=new Map;function getCachedIntResolvedOptions(e){var n=intlResolvedOptionsCache.get(e);if(n===undefined){n=new Intl.DateTimeFormat(e).resolvedOptions();intlResolvedOptionsCache.set(e,n)}return n}var weekInfoCache=new Map;function getCachedWeekInfo(e){var n=weekInfoCache.get(e);if(!n){var t=new Intl.Locale(e);
203
+ // browsers currently implement this as a property, but spec says it should be a getter function
204
+ n="getWeekInfo"in t?t.getWeekInfo():t.weekInfo;
205
+ // minimalDays was removed from WeekInfo: https://github.com/tc39/proposal-intl-locale-info/issues/86
206
+ if(!("minimalDays"in n)){n=__assign(__assign({},fallbackWeekSettings),n)}weekInfoCache.set(e,n)}return n}function parseLocaleString(e){
207
+ // I really want to avoid writing a BCP 47 parser
208
+ // see, e.g. https://github.com/wooorm/bcp-47
209
+ // Instead, we'll do this:
210
+ // a) if the string has no -u extensions, just leave it alone
211
+ // b) if it does, use Intl to resolve everything
212
+ // c) if Intl fails, try again without the -u
213
+ // private subtags and unicode subtags have ordering requirements,
214
+ // and we're not properly parsing this, so just strip out the
215
+ // private ones if they exist.
216
+ var n=e.indexOf("-x-");if(n!==-1){e=e.substring(0,n)}var t=e.indexOf("-u-");if(t===-1){return[e]}else{var r=void 0;var i=void 0;try{r=getCachedDTF(e).resolvedOptions();i=e}catch(n){var a=e.substring(0,t);r=getCachedDTF(a).resolvedOptions();i=a}var u=r.numberingSystem,s=r.calendar;return[i,u,s]}}function intlConfigString(e,n,t){if(t||n){if(!e.includes("-u-")){e+="-u"}if(t){e+="-ca-".concat(t)}if(n){e+="-nu-".concat(n)}return e}else{return e}}function mapMonths(e){var n=[];for(var t=1;t<=12;t++){var r=DateTime.utc(2009,t,1);n.push(e(r))}return n}function mapWeekdays(e){var n=[];for(var t=1;t<=7;t++){var r=DateTime.utc(2016,11,13+t);n.push(e(r))}return n}function listStuff(e,n,t,r){var i=e.listingMode();if(i==="error"){return null}else if(i==="en"){return t(n)}else{return r(n)}}function supportsFastNumbers(e){if(e.numberingSystem&&e.numberingSystem!=="latn"){return false}else{return e.numberingSystem==="latn"||!e.locale||e.locale.startsWith("en")||getCachedIntResolvedOptions(e.locale).numberingSystem==="latn"}}
217
+ /**
218
+ * @private
219
+ */var PolyNumberFormatter=/** @class */function(){function e(e,n,t){this.padTo=t.padTo||0;this.floor=t.floor||false;var r=t.padTo,i=t.floor,a=__rest(t,["padTo","floor"]);if(!n||Object.keys(a).length>0){var u=__assign({useGrouping:false},t);if(t.padTo>0)u.minimumIntegerDigits=t.padTo;this.inf=getCachedINF(e,u)}}e.prototype.format=function(e){if(this.inf){var n=this.floor?Math.floor(e):e;return this.inf.format(n)}else{
220
+ // to match the browser's numberformatter defaults
221
+ var n=this.floor?Math.floor(e):roundTo(e,3);return padStart(n,this.padTo)}};return e}();
222
+ /**
223
+ * @private
224
+ */var PolyDateFormatter=/** @class */function(){function e(e,n,t){this.opts=t;this.originalZone=undefined;var r=undefined;if(this.opts.timeZone){
225
+ // Don't apply any workarounds if a timeZone is explicitly provided in opts
226
+ this.dt=e}else if(e.zone.type==="fixed"){
227
+ // UTC-8 or Etc/UTC-8 are not part of tzdata, only Etc/GMT+8 and the like.
228
+ // That is why fixed-offset TZ is set to that unless it is:
229
+ // 1. Representing offset 0 when UTC is used to maintain previous behavior and does not become GMT.
230
+ // 2. Unsupported by the browser:
231
+ // - some do not support Etc/
232
+ // - < Etc/GMT-14, > Etc/GMT+12, and 30-minute or 45-minute offsets are not part of tzdata
233
+ var i=-1*(e.offset/60);var a=i>=0?"Etc/GMT+".concat(i):"Etc/GMT".concat(i);if(e.offset!==0&&IANAZone.create(a).valid){r=a;this.dt=e}else{
234
+ // Not all fixed-offset zones like Etc/+4:30 are present in tzdata so
235
+ // we manually apply the offset and substitute the zone as needed.
236
+ r="UTC";this.dt=e.offset===0?e:e.setZone("UTC").plus({minutes:e.offset});this.originalZone=e.zone}}else if(e.zone.type==="system"){this.dt=e}else if(e.zone.type==="iana"){this.dt=e;r=e.zone.name}else{
237
+ // Custom zones can have any offset / offsetName so we just manually
238
+ // apply the offset and substitute the zone as needed.
239
+ r="UTC";this.dt=e.setZone("UTC").plus({minutes:e.offset});this.originalZone=e.zone}var u=__assign({},this.opts);u.timeZone=u.timeZone||r;this.dtf=getCachedDTF(n,u)}e.prototype.format=function(){if(this.originalZone){
240
+ // If we have to substitute in the actual zone name, we have to use
241
+ // formatToParts so that the timezone can be replaced.
242
+ return this.formatToParts().map((function(e){var n=e.value;return n})).join("")}return this.dtf.format(this.dt.toJSDate())};e.prototype.formatToParts=function(){var e=this;var n=this.dtf.formatToParts(this.dt.toJSDate());if(this.originalZone){return n.map((function(n){if(n.type==="timeZoneName"){var t=e.originalZone.offsetName(e.dt.ts,{locale:e.dt.locale,format:e.opts.timeZoneName});return __assign(__assign({},n),{value:t})}else{return n}}))}return n};e.prototype.resolvedOptions=function(){return this.dtf.resolvedOptions()};return e}();
243
+ /**
244
+ * @private
245
+ */var PolyRelFormatter=/** @class */function(){function e(e,n,t){this.opts=__assign({style:"long"},t);if(!n&&hasRelative()){this.rtf=getCachedRTF(e,t)}}e.prototype.format=function(e,n){if(this.rtf){return this.rtf.format(e,n)}else{return formatRelativeTime(n,e,this.opts.numeric,this.opts.style!=="long")}};e.prototype.formatToParts=function(e,n){if(this.rtf){return this.rtf.formatToParts(e,n)}else{return[]}};return e}();var fallbackWeekSettings={firstDay:1,minimalDays:4,weekend:[6,7]};
246
+ /**
247
+ * @private
248
+ */var Locale=/** @class */function(){function e(e,n,t,r,i){var a=parseLocaleString(e),u=a[0],s=a[1],o=a[2];this.locale=u;this.numberingSystem=n||s||null;this.outputCalendar=t||o||null;this.weekSettings=r;this.intl=intlConfigString(this.locale,this.numberingSystem,this.outputCalendar);this.weekdaysCache={format:{},standalone:{}};this.monthsCache={format:{},standalone:{}};this.meridiemCache=null;this.eraCache={};this.specifiedLocale=i;this.fastNumbersCached=null}e.fromOpts=function(n){return e.create(n.locale,n.numberingSystem,n.outputCalendar,n.weekSettings,n.defaultToEN)};e.create=function(n,t,r,i,a){if(a===void 0){a=false}var u=n||Settings.defaultLocale;
249
+ // the system locale is useful for human-readable strings but annoying for parsing/formatting known formats
250
+ var s=u||(a?"en-US":systemLocale());var o=t||Settings.defaultNumberingSystem;var f=r||Settings.defaultOutputCalendar;var l=validateWeekSettings(i)||Settings.defaultWeekSettings;return new e(s,o,f,l,u)};e.resetCache=function(){sysLocaleCache=null;intlDTCache.clear();intlNumCache.clear();intlRelCache.clear();intlResolvedOptionsCache.clear();weekInfoCache.clear()};e.fromObject=function(n){var t=n===void 0?{}:n,r=t.locale,i=t.numberingSystem,a=t.outputCalendar,u=t.weekSettings;return e.create(r,i,a,u)};Object.defineProperty(e.prototype,"fastNumbers",{get:function(){if(this.fastNumbersCached==null){this.fastNumbersCached=supportsFastNumbers(this)}return this.fastNumbersCached},enumerable:false,configurable:true});e.prototype.listingMode=function(){var e=this.isEnglish();var n=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return e&&n?"en":"intl"};e.prototype.clone=function(n){if(!n||Object.getOwnPropertyNames(n).length===0){return this}else{return e.create(n.locale||this.specifiedLocale,n.numberingSystem||this.numberingSystem,n.outputCalendar||this.outputCalendar,validateWeekSettings(n.weekSettings)||this.weekSettings,n.defaultToEN||false)}};e.prototype.redefaultToEN=function(e){if(e===void 0){e={}}return this.clone(__assign(__assign({},e),{defaultToEN:true}))};e.prototype.redefaultToSystem=function(e){if(e===void 0){e={}}return this.clone(__assign(__assign({},e),{defaultToEN:false}))};e.prototype.months=function(e,n){var t=this;if(n===void 0){n=false}return listStuff(this,e,months,(function(){var r=n?{month:e,day:"numeric"}:{month:e},i=n?"format":"standalone";if(!t.monthsCache[i][e]){t.monthsCache[i][e]=mapMonths((function(e){return t.extract(e,r,"month")}))}return t.monthsCache[i][e]}))};e.prototype.weekdays=function(e,n){var t=this;if(n===void 0){n=false}return listStuff(this,e,weekdays,(function(){var r=n?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},i=n?"format":"standalone";if(!t.weekdaysCache[i][e]){t.weekdaysCache[i][e]=mapWeekdays((function(e){return t.extract(e,r,"weekday")}))}return t.weekdaysCache[i][e]}))};e.prototype.meridiems=function(){var e=this;return listStuff(this,undefined,(function(){return meridiems}),(function(){
251
+ // In theory there could be aribitrary day periods. We're gonna assume there are exactly two
252
+ // for AM and PM. This is probably wrong, but it's makes parsing way easier.
253
+ if(!e.meridiemCache){var n={hour:"numeric",hourCycle:"h12"};e.meridiemCache=[DateTime.utc(2016,11,13,9),DateTime.utc(2016,11,13,19)].map((function(t){return e.extract(t,n,"dayperiod")}))}return e.meridiemCache}))};e.prototype.eras=function(e){var n=this;return listStuff(this,e,eras,(function(){var t={era:e};
254
+ // This is problematic. Different calendars are going to define eras totally differently. What I need is the minimum set of dates
255
+ // to definitely enumerate them.
256
+ if(!n.eraCache[e]){n.eraCache[e]=[DateTime.utc(-40,1,1),DateTime.utc(2017,1,1)].map((function(e){return n.extract(e,t,"era")}))}return n.eraCache[e]}))};e.prototype.extract=function(e,n,t){var r=this.dtFormatter(e,n),i=r.formatToParts(),a=i.find((function(e){return e.type.toLowerCase()===t}));return a?a.value:null};e.prototype.numberFormatter=function(e){if(e===void 0){e={}}
257
+ // this forcesimple option is never used (the only caller short-circuits on it, but it seems safer to leave)
258
+ // (in contrast, the rest of the condition is used heavily)
259
+ return new PolyNumberFormatter(this.intl,e.forceSimple||this.fastNumbers,e)};e.prototype.dtFormatter=function(e,n){if(n===void 0){n={}}return new PolyDateFormatter(e,this.intl,n)};e.prototype.relFormatter=function(e){if(e===void 0){e={}}return new PolyRelFormatter(this.intl,this.isEnglish(),e)};e.prototype.listFormatter=function(e){if(e===void 0){e={}}return getCachedLF(this.intl,e)};e.prototype.isEnglish=function(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||getCachedIntResolvedOptions(this.intl).locale.startsWith("en-us")};e.prototype.getWeekSettings=function(){if(this.weekSettings){return this.weekSettings}else if(!hasLocaleWeekInfo()){return fallbackWeekSettings}else{return getCachedWeekInfo(this.locale)}};e.prototype.getStartOfWeek=function(){return this.getWeekSettings().firstDay};e.prototype.getMinDaysInFirstWeek=function(){return this.getWeekSettings().minimalDays};e.prototype.getWeekendDays=function(){return this.getWeekSettings().weekend};e.prototype.equals=function(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar};e.prototype.toString=function(){return"Locale(".concat(this.locale,", ").concat(this.numberingSystem,", ").concat(this.outputCalendar,")")};return e}();var singleton=null;
260
+ /**
261
+ * A zone with a fixed offset (meaning no DST)
262
+ * @implements {Zone}
263
+ */var FixedOffsetZone=/** @class */function(e){__extends(n,e);function n(n){var t=e.call(this)||this;
264
+ /** @private **/t.fixed=n;return t}Object.defineProperty(n,"utcInstance",{
265
+ /**
266
+ * Get a singleton instance of UTC
267
+ * @return {FixedOffsetZone}
268
+ */
269
+ get:function(){if(singleton===null){singleton=new n(0)}return singleton},enumerable:false,configurable:true});
270
+ /**
271
+ * Get an instance with a specified offset
272
+ * @param {number} offset - The offset in minutes
273
+ * @return {FixedOffsetZone}
274
+ */n.instance=function(e){return e===0?n.utcInstance:new n(e)};
275
+ /**
276
+ * Get an instance of FixedOffsetZone from a UTC offset string, like "UTC+6"
277
+ * @param {string} s - The offset string to parse
278
+ * @example FixedOffsetZone.parseSpecifier("UTC+6")
279
+ * @example FixedOffsetZone.parseSpecifier("UTC+06")
280
+ * @example FixedOffsetZone.parseSpecifier("UTC-6:00")
281
+ * @return {FixedOffsetZone}
282
+ */n.parseSpecifier=function(e){if(e){var t=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(t){return new n(signedOffset(t[1],t[2]))}}return null};Object.defineProperty(n.prototype,"type",{
283
+ /**
284
+ * The type of zone. `fixed` for all instances of `FixedOffsetZone`.
285
+ * @override
286
+ * @type {string}
287
+ */
288
+ get:function(){return"fixed"},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"name",{
289
+ /**
290
+ * The name of this zone.
291
+ * All fixed zones' names always start with "UTC" (plus optional offset)
292
+ * @override
293
+ * @type {string}
294
+ */
295
+ get:function(){return this.fixed===0?"UTC":"UTC".concat(formatOffset(this.fixed,"narrow"))},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"ianaName",{
296
+ /**
297
+ * The IANA name of this zone, i.e. `Etc/UTC` or `Etc/GMT+/-nn`
298
+ *
299
+ * @override
300
+ * @type {string}
301
+ */
302
+ get:function(){if(this.fixed===0){return"Etc/UTC"}else{return"Etc/GMT".concat(formatOffset(-this.fixed,"narrow"))}},enumerable:false,configurable:true});
303
+ /**
304
+ * Returns the offset's common name at the specified timestamp.
305
+ *
306
+ * For fixed offset zones this equals to the zone name.
307
+ * @override
308
+ */n.prototype.offsetName=function(){return this.name};
309
+ /**
310
+ * Returns the offset's value as a string
311
+ * @override
312
+ * @param {number} ts - Epoch milliseconds for which to get the offset
313
+ * @param {string} format - What style of offset to return.
314
+ * Accepts 'narrow', 'short', or 'techie'. Returning '+6', '+06:00', or '+0600' respectively
315
+ * @return {string}
316
+ */n.prototype.formatOffset=function(e,n){return formatOffset(this.fixed,n)};Object.defineProperty(n.prototype,"isUniversal",{
317
+ /**
318
+ * Returns whether the offset is known to be fixed for the whole year:
319
+ * Always returns true for all fixed offset zones.
320
+ * @override
321
+ * @type {boolean}
322
+ */
323
+ get:function(){return true},enumerable:false,configurable:true});
324
+ /**
325
+ * Return the offset in minutes for this zone at the specified timestamp.
326
+ *
327
+ * For fixed offset zones, this is constant and does not depend on a timestamp.
328
+ * @override
329
+ * @return {number}
330
+ */n.prototype.offset=function(){return this.fixed};
331
+ /**
332
+ * Return whether this Zone is equal to another zone (i.e. also fixed and same offset)
333
+ * @override
334
+ * @param {Zone} otherZone - the zone to compare
335
+ * @return {boolean}
336
+ */n.prototype.equals=function(e){return e.type==="fixed"&&e.fixed===this.fixed};Object.defineProperty(n.prototype,"isValid",{
337
+ /**
338
+ * Return whether this Zone is valid:
339
+ * All fixed offset zones are valid.
340
+ * @override
341
+ * @type {boolean}
342
+ */
343
+ get:function(){return true},enumerable:false,configurable:true});return n}(Zone);
344
+ /**
345
+ * A zone that failed to parse. You should never need to instantiate this.
346
+ * @implements {Zone}
347
+ */var InvalidZone=/** @class */function(e){__extends(n,e);function n(n){var t=e.call(this)||this;
348
+ /** @private */t.zoneName=n;return t}Object.defineProperty(n.prototype,"type",{
349
+ /** @override **/
350
+ get:function(){return"invalid"},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"name",{
351
+ /** @override **/
352
+ get:function(){return this.zoneName},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"isUniversal",{
353
+ /** @override **/
354
+ get:function(){return false},enumerable:false,configurable:true});
355
+ /** @override **/n.prototype.offsetName=function(){return null};
356
+ /** @override **/n.prototype.formatOffset=function(){return""};
357
+ /** @override **/n.prototype.offset=function(){return NaN};
358
+ /** @override **/n.prototype.equals=function(){return false};Object.defineProperty(n.prototype,"isValid",{
359
+ /** @override **/
360
+ get:function(){return false},enumerable:false,configurable:true});return n}(Zone);
361
+ /**
362
+ * @private
363
+ */function normalizeZone(e,n){if(isUndefined(e)||e===null){return n}else if(e instanceof Zone){return e}else if(isString(e)){var t=e.toLowerCase();if(t==="default")return n;else if(t==="local"||t==="system")return SystemZone.instance;else if(t==="utc"||t==="gmt")return FixedOffsetZone.utcInstance;else return FixedOffsetZone.parseSpecifier(t)||IANAZone.create(e)}else if(isNumber(e)){return FixedOffsetZone.instance(e)}else if(typeof e==="object"&&"offset"in e&&typeof e.offset==="function"){
364
+ // This is dumb, but the instanceof check above doesn't seem to really work
365
+ // so we're duck checking it
366
+ return e}else{return new InvalidZone(e)}}var numberingSystems={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"};var numberingSystemsUTF16={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]};var hanidecChars=numberingSystems.hanidec.replace(/[\[|\]]/g,"").split("");function parseDigits(e){var n=parseInt(e,10);if(isNaN(n)){n="";for(var t=0;t<e.length;t++){var r=e.charCodeAt(t);if(e[t].search(numberingSystems.hanidec)!==-1){n+=hanidecChars.indexOf(e[t])}else{for(var i in numberingSystemsUTF16){var a=numberingSystemsUTF16[i],u=a[0],s=a[1];if(r>=u&&r<=s){n+=r-u}}}}return parseInt(n,10)}else{return n}}
367
+ // cache of {numberingSystem: {append: regex}}
368
+ var digitRegexCache=new Map;function resetDigitRegexCache(){digitRegexCache.clear()}function digitRegex(e,n){var t=e.numberingSystem;if(n===void 0){n=""}var r=t||"latn";var i=digitRegexCache.get(r);if(i===undefined){i=new Map;digitRegexCache.set(r,i)}var a=i.get(n);if(a===undefined){a=new RegExp("".concat(numberingSystems[r]).concat(n));i.set(n,a)}return a}var now=function(){return Date.now()},defaultZone="system",defaultLocale=null,defaultNumberingSystem=null,defaultOutputCalendar=null,twoDigitCutoffYear=60,throwOnInvalid,defaultWeekSettings=null;
369
+ /**
370
+ * Settings contains static getters and setters that control Luxon's overall behavior. Luxon is a simple library with few options, but the ones it does have live here.
371
+ */var Settings=/** @class */function(){function e(){}Object.defineProperty(e,"now",{
372
+ /**
373
+ * Get the callback for returning the current timestamp.
374
+ * @type {function}
375
+ */
376
+ get:function(){return now},
377
+ /**
378
+ * Set the callback for returning the current timestamp.
379
+ * The function should return a number, which will be interpreted as an Epoch millisecond count
380
+ * @type {function}
381
+ * @example Settings.now = () => Date.now() + 3000 // pretend it is 3 seconds in the future
382
+ * @example Settings.now = () => 0 // always pretend it's Jan 1, 1970 at midnight in UTC time
383
+ */
384
+ set:function(e){now=e},enumerable:false,configurable:true});Object.defineProperty(e,"defaultZone",{
385
+ /**
386
+ * Get the default time zone object currently used to create DateTimes. Does not affect existing instances.
387
+ * The default value is the system's time zone (the one set on the machine that runs this code).
388
+ * @type {Zone}
389
+ */
390
+ get:function(){return normalizeZone(defaultZone,SystemZone.instance)},
391
+ /**
392
+ * Set the default time zone to create DateTimes in. Does not affect existing instances.
393
+ * Use the value "system" to reset this value to the system's time zone.
394
+ * @type {string}
395
+ */
396
+ set:function(e){defaultZone=e},enumerable:false,configurable:true});Object.defineProperty(e,"defaultLocale",{
397
+ /**
398
+ * Get the default locale to create DateTimes with. Does not affect existing instances.
399
+ * @type {string}
400
+ */
401
+ get:function(){return defaultLocale},
402
+ /**
403
+ * Set the default locale to create DateTimes with. Does not affect existing instances.
404
+ * @type {string}
405
+ */
406
+ set:function(e){defaultLocale=e},enumerable:false,configurable:true});Object.defineProperty(e,"defaultNumberingSystem",{
407
+ /**
408
+ * Get the default numbering system to create DateTimes with. Does not affect existing instances.
409
+ * @type {string}
410
+ */
411
+ get:function(){return defaultNumberingSystem},
412
+ /**
413
+ * Set the default numbering system to create DateTimes with. Does not affect existing instances.
414
+ * @type {string}
415
+ */
416
+ set:function(e){defaultNumberingSystem=e},enumerable:false,configurable:true});Object.defineProperty(e,"defaultOutputCalendar",{
417
+ /**
418
+ * Get the default output calendar to create DateTimes with. Does not affect existing instances.
419
+ * @type {string}
420
+ */
421
+ get:function(){return defaultOutputCalendar},
422
+ /**
423
+ * Set the default output calendar to create DateTimes with. Does not affect existing instances.
424
+ * @type {string}
425
+ */
426
+ set:function(e){defaultOutputCalendar=e},enumerable:false,configurable:true});Object.defineProperty(e,"defaultWeekSettings",{
427
+ /**
428
+ * @typedef {Object} WeekSettings
429
+ * @property {number} firstDay
430
+ * @property {number} minimalDays
431
+ * @property {number[]} weekend
432
+ */
433
+ /**
434
+ * @return {WeekSettings|null}
435
+ */
436
+ get:function(){return defaultWeekSettings},
437
+ /**
438
+ * Allows overriding the default locale week settings, i.e. the start of the week, the weekend and
439
+ * how many days are required in the first week of a year.
440
+ * Does not affect existing instances.
441
+ *
442
+ * @param {WeekSettings|null} weekSettings
443
+ */
444
+ set:function(e){defaultWeekSettings=validateWeekSettings(e)},enumerable:false,configurable:true});Object.defineProperty(e,"twoDigitCutoffYear",{
445
+ /**
446
+ * Get the cutoff year for whether a 2-digit year string is interpreted in the current or previous century. Numbers higher than the cutoff will be considered to mean 19xx and numbers lower or equal to the cutoff will be considered 20xx.
447
+ * @type {number}
448
+ */
449
+ get:function(){return twoDigitCutoffYear},
450
+ /**
451
+ * Set the cutoff year for whether a 2-digit year string is interpreted in the current or previous century. Numbers higher than the cutoff will be considered to mean 19xx and numbers lower or equal to the cutoff will be considered 20xx.
452
+ * @type {number}
453
+ * @example Settings.twoDigitCutoffYear = 0 // all 'yy' are interpreted as 20th century
454
+ * @example Settings.twoDigitCutoffYear = 99 // all 'yy' are interpreted as 21st century
455
+ * @example Settings.twoDigitCutoffYear = 50 // '49' -> 2049; '50' -> 1950
456
+ * @example Settings.twoDigitCutoffYear = 1950 // interpreted as 50
457
+ * @example Settings.twoDigitCutoffYear = 2050 // ALSO interpreted as 50
458
+ */
459
+ set:function(e){twoDigitCutoffYear=e%100},enumerable:false,configurable:true});Object.defineProperty(e,"throwOnInvalid",{
460
+ /**
461
+ * Get whether Luxon will throw when it encounters invalid DateTimes, Durations, or Intervals
462
+ * @type {boolean}
463
+ */
464
+ get:function(){return throwOnInvalid},
465
+ /**
466
+ * Set whether Luxon will throw when it encounters invalid DateTimes, Durations, or Intervals
467
+ * @type {boolean}
468
+ */
469
+ set:function(e){throwOnInvalid=e},enumerable:false,configurable:true});
470
+ /**
471
+ * Reset Luxon's global caches. Should only be necessary in testing scenarios.
472
+ * @return {void}
473
+ */e.resetCaches=function(){Locale.resetCache();IANAZone.resetCache();DateTime.resetCache();resetDigitRegexCache()};return e}();var Invalid=/** @class */function(){function e(e,n){this.reason=e;this.explanation=n}e.prototype.toMessage=function(){if(this.explanation){return"".concat(this.reason,": ").concat(this.explanation)}else{return this.reason}};return e}();var nonLeapLadder=[0,31,59,90,120,151,181,212,243,273,304,334],leapLadder=[0,31,60,91,121,152,182,213,244,274,305,335];function unitOutOfRange(e,n){return new Invalid("unit out of range","you specified ".concat(n," (of type ").concat(typeof n,") as a ").concat(e,", which is invalid"))}function dayOfWeek(e,n,t){var r=new Date(Date.UTC(e,n-1,t));if(e<100&&e>=0){r.setUTCFullYear(r.getUTCFullYear()-1900)}var i=r.getUTCDay();return i===0?7:i}function computeOrdinal(e,n,t){return t+(isLeapYear(e)?leapLadder:nonLeapLadder)[n-1]}function uncomputeOrdinal(e,n){var t=isLeapYear(e)?leapLadder:nonLeapLadder,r=t.findIndex((function(e){return e<n})),i=n-t[r];return{month:r+1,day:i}}function isoWeekdayToLocal(e,n){return(e-n+7)%7+1}
474
+ /**
475
+ * @private
476
+ */function gregorianToWeek(e,n,t){if(n===void 0){n=4}if(t===void 0){t=1}var r=e.year,i=e.month,a=e.day,u=computeOrdinal(r,i,a),s=isoWeekdayToLocal(dayOfWeek(r,i,a),t);var o=Math.floor((u-s+14-n)/7),f;if(o<1){f=r-1;o=weeksInWeekYear(f,n,t)}else if(o>weeksInWeekYear(r,n,t)){f=r+1;o=1}else{f=r}return __assign({weekYear:f,weekNumber:o,weekday:s},timeObject(e))}function weekToGregorian(e,n,t){if(n===void 0){n=4}if(t===void 0){t=1}var r=e.weekYear,i=e.weekNumber,a=e.weekday,u=isoWeekdayToLocal(dayOfWeek(r,1,n),t),s=daysInYear(r);var o=i*7+a-u-7+n,f;if(o<1){f=r-1;o+=daysInYear(f)}else if(o>s){f=r+1;o-=daysInYear(r)}else{f=r}var l=uncomputeOrdinal(f,o),c=l.month,d=l.day;return __assign({year:f,month:c,day:d},timeObject(e))}function gregorianToOrdinal(e){var n=e.year,t=e.month,r=e.day;var i=computeOrdinal(n,t,r);return __assign({year:n,ordinal:i},timeObject(e))}function ordinalToGregorian(e){var n=e.year,t=e.ordinal;var r=uncomputeOrdinal(n,t),i=r.month,a=r.day;return __assign({year:n,month:i,day:a},timeObject(e))}
477
+ /**
478
+ * Check if local week units like localWeekday are used in obj.
479
+ * If so, validates that they are not mixed with ISO week units and then copies them to the normal week unit properties.
480
+ * Modifies obj in-place!
481
+ * @param obj the object values
482
+ */function usesLocalWeekValues(e,n){var t=!isUndefined(e.localWeekday)||!isUndefined(e.localWeekNumber)||!isUndefined(e.localWeekYear);if(t){var r=!isUndefined(e.weekday)||!isUndefined(e.weekNumber)||!isUndefined(e.weekYear);if(r){throw new ConflictingSpecificationError("Cannot mix locale-based week fields with ISO-based week fields")}if(!isUndefined(e.localWeekday))e.weekday=e.localWeekday;if(!isUndefined(e.localWeekNumber))e.weekNumber=e.localWeekNumber;if(!isUndefined(e.localWeekYear))e.weekYear=e.localWeekYear;delete e.localWeekday;delete e.localWeekNumber;delete e.localWeekYear;return{minDaysInFirstWeek:n.getMinDaysInFirstWeek(),startOfWeek:n.getStartOfWeek()}}else{return{minDaysInFirstWeek:4,startOfWeek:1}}}function hasInvalidWeekData(e,n,t){if(n===void 0){n=4}if(t===void 0){t=1}var r=isInteger(e.weekYear),i=integerBetween(e.weekNumber,1,weeksInWeekYear(e.weekYear,n,t)),a=integerBetween(e.weekday,1,7);if(!r){return unitOutOfRange("weekYear",e.weekYear)}else if(!i){return unitOutOfRange("week",e.weekNumber)}else if(!a){return unitOutOfRange("weekday",e.weekday)}else return false}function hasInvalidOrdinalData(e){var n=isInteger(e.year),t=integerBetween(e.ordinal,1,daysInYear(e.year));if(!n){return unitOutOfRange("year",e.year)}else if(!t){return unitOutOfRange("ordinal",e.ordinal)}else return false}function hasInvalidGregorianData(e){var n=isInteger(e.year),t=integerBetween(e.month,1,12),r=integerBetween(e.day,1,daysInMonth(e.year,e.month));if(!n){return unitOutOfRange("year",e.year)}else if(!t){return unitOutOfRange("month",e.month)}else if(!r){return unitOutOfRange("day",e.day)}else return false}function hasInvalidTimeData(e){var n=e.hour,t=e.minute,r=e.second,i=e.millisecond;var a=integerBetween(n,0,23)||n===24&&t===0&&r===0&&i===0,u=integerBetween(t,0,59),s=integerBetween(r,0,59),o=integerBetween(i,0,999);if(!a){return unitOutOfRange("hour",n)}else if(!u){return unitOutOfRange("minute",t)}else if(!s){return unitOutOfRange("second",r)}else if(!o){return unitOutOfRange("millisecond",i)}else return false}
483
+ /*
484
+ This is just a junk drawer, containing anything used across multiple classes.
485
+ Because Luxon is small(ish), this should stay small and we won't worry about splitting
486
+ it up into, say, parsingUtil.js and basicUtil.js and so on. But they are divided up by feature area.
487
+ */
488
+ /**
489
+ * @private
490
+ */
491
+ // TYPES
492
+ function isUndefined(e){return typeof e==="undefined"}function isNumber(e){return typeof e==="number"}function isInteger(e){return typeof e==="number"&&e%1===0}function isString(e){return typeof e==="string"}function isDate(e){return Object.prototype.toString.call(e)==="[object Date]"}
493
+ // CAPABILITIES
494
+ function hasRelative(){try{return typeof Intl!=="undefined"&&!!Intl.RelativeTimeFormat}catch(e){return false}}function hasLocaleWeekInfo(){try{return typeof Intl!=="undefined"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(e){return false}}
495
+ // OBJECTS AND ARRAYS
496
+ function maybeArray(e){return Array.isArray(e)?e:[e]}function bestBy(e,n,t){if(e.length===0){return undefined}return e.reduce((function(e,r){var i=[n(r),r];if(!e){return i}else if(t(e[0],i[0])===e[0]){return e}else{return i}}),null)[1]}function pick(e,n){return n.reduce((function(n,t){n[t]=e[t];return n}),{})}function hasOwnProperty(e,n){return Object.prototype.hasOwnProperty.call(e,n)}function validateWeekSettings(e){if(e==null){return null}else if(typeof e!=="object"){throw new InvalidArgumentError("Week settings must be an object")}else{if(!integerBetween(e.firstDay,1,7)||!integerBetween(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some((function(e){return!integerBetween(e,1,7)}))){throw new InvalidArgumentError("Invalid week settings")}return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}}
497
+ // NUMBERS AND STRINGS
498
+ function integerBetween(e,n,t){return isInteger(e)&&e>=n&&e<=t}
499
+ // x % n but takes the sign of n instead of x
500
+ function floorMod(e,n){return e-n*Math.floor(e/n)}function padStart(e,n){if(n===void 0){n=2}var t=e<0;var r;if(t){r="-"+(""+-e).padStart(n,"0")}else{r=(""+e).padStart(n,"0")}return r}function parseInteger(e){if(isUndefined(e)||e===null||e===""){return undefined}else{return parseInt(e,10)}}function parseFloating(e){if(isUndefined(e)||e===null||e===""){return undefined}else{return parseFloat(e)}}function parseMillis(e){
501
+ // Return undefined (instead of 0) in these cases, where fraction is not set
502
+ if(isUndefined(e)||e===null||e===""){return undefined}else{var n=parseFloat("0."+e)*1e3;return Math.floor(n)}}function roundTo(e,n,t){if(t===void 0){t=false}var r=Math.pow(10,n),i=t?Math.trunc:Math.round;return i(e*r)/r}
503
+ // DATE BASICS
504
+ function isLeapYear(e){return e%4===0&&(e%100!==0||e%400===0)}function daysInYear(e){return isLeapYear(e)?366:365}function daysInMonth(e,n){var t=floorMod(n-1,12)+1,r=e+(n-t)/12;if(t===2){return isLeapYear(r)?29:28}else{return[31,null,31,30,31,30,31,31,30,31,30,31][t-1]}}
505
+ // convert a calendar object to a local timestamp (epoch, but with the offset baked in)
506
+ function objToLocalTS(e){var n=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);
507
+ // for legacy reasons, years between 0 and 99 are interpreted as 19XX; revert that
508
+ if(e.year<100&&e.year>=0){n=new Date(n);
509
+ // set the month and day again, this is necessary because year 2000 is a leap year, but year 100 is not
510
+ // so if obj.year is in 99, but obj.day makes it roll over into year 100,
511
+ // the calculations done by Date.UTC are using year 2000 - which is incorrect
512
+ n.setUTCFullYear(e.year,e.month-1,e.day)}return+n}
513
+ // adapted from moment.js: https://github.com/moment/moment/blob/000ac1800e620f770f4eb31b5ae908f6167b0ab2/src/lib/units/week-calendar-utils.js
514
+ function firstWeekOffset(e,n,t){var r=isoWeekdayToLocal(dayOfWeek(e,1,n),t);return-r+n-1}function weeksInWeekYear(e,n,t){if(n===void 0){n=4}if(t===void 0){t=1}var r=firstWeekOffset(e,n,t);var i=firstWeekOffset(e+1,n,t);return(daysInYear(e)-r+i)/7}function untruncateYear(e){if(e>99){return e}else return e>Settings.twoDigitCutoffYear?1900+e:2e3+e}
515
+ // PARSING
516
+ function parseZoneInfo(e,n,t,r){if(r===void 0){r=null}var i=new Date(e),a={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};if(r){a.timeZone=r}var u=__assign({timeZoneName:n},a);var s=new Intl.DateTimeFormat(t,u).formatToParts(i).find((function(e){return e.type.toLowerCase()==="timezonename"}));return s?s.value:null}
517
+ // signedOffset('-5', '30') -> -330
518
+ function signedOffset(e,n){var t=parseInt(e,10);
519
+ // don't || this because we want to preserve -0
520
+ if(Number.isNaN(t)){t=0}var r=parseInt(n,10)||0,i=t<0||Object.is(t,-0)?-r:r;return t*60+i}
521
+ // COERCION
522
+ function asNumber(e){var n=Number(e);if(typeof e==="boolean"||e===""||Number.isNaN(n))throw new InvalidArgumentError("Invalid unit value ".concat(e));return n}function normalizeObject(e,n){var t={};for(var r in e){if(hasOwnProperty(e,r)){var i=e[r];if(i===undefined||i===null)continue;t[n(r)]=asNumber(i)}}return t}
523
+ /**
524
+ * Returns the offset's value as a string
525
+ * @param {number} ts - Epoch milliseconds for which to get the offset
526
+ * @param {string} format - What style of offset to return.
527
+ * Accepts 'narrow', 'short', or 'techie'. Returning '+6', '+06:00', or '+0600' respectively
528
+ * @return {string}
529
+ */function formatOffset(e,n){var t=Math.trunc(Math.abs(e/60)),r=Math.trunc(Math.abs(e%60)),i=e>=0?"+":"-";switch(n){case"short":return"".concat(i).concat(padStart(t,2),":").concat(padStart(r,2));case"narrow":return"".concat(i).concat(t).concat(r>0?":".concat(r):"");case"techie":return"".concat(i).concat(padStart(t,2)).concat(padStart(r,2));default:throw new RangeError("Value format ".concat(n," is out of range for property format"))}}function timeObject(e){return pick(e,["hour","minute","second","millisecond"])}
530
+ /**
531
+ * @private
532
+ */var monthsLong=["January","February","March","April","May","June","July","August","September","October","November","December"];var monthsShort=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];var monthsNarrow=["J","F","M","A","M","J","J","A","S","O","N","D"];function months(e){switch(e){case"narrow":return __spreadArray([],monthsNarrow,true);case"short":return __spreadArray([],monthsShort,true);case"long":return __spreadArray([],monthsLong,true);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}}var weekdaysLong=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"];var weekdaysShort=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"];var weekdaysNarrow=["M","T","W","T","F","S","S"];function weekdays(e){switch(e){case"narrow":return __spreadArray([],weekdaysNarrow,true);case"short":return __spreadArray([],weekdaysShort,true);case"long":return __spreadArray([],weekdaysLong,true);case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var meridiems=["AM","PM"];var erasLong=["Before Christ","Anno Domini"];var erasShort=["BC","AD"];var erasNarrow=["B","A"];function eras(e){switch(e){case"narrow":return __spreadArray([],erasNarrow,true);case"short":return __spreadArray([],erasShort,true);case"long":return __spreadArray([],erasLong,true);default:return null}}function meridiemForDateTime(e){return meridiems[e.hour<12?0:1]}function weekdayForDateTime(e,n){return weekdays(n)[e.weekday-1]}function monthForDateTime(e,n){return months(n)[e.month-1]}function eraForDateTime(e,n){return eras(n)[e.year<0?0:1]}function formatRelativeTime(e,n,t,r){if(t===void 0){t="always"}if(r===void 0){r=false}var i={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."]};var a=["hours","minutes","seconds"].indexOf(e)===-1;if(t==="auto"&&a){var u=e==="days";switch(n){case 1:return u?"tomorrow":"next ".concat(i[e][0]);case-1:return u?"yesterday":"last ".concat(i[e][0]);case 0:return u?"today":"this ".concat(i[e][0])}}var s=Object.is(n,-0)||n<0,o=Math.abs(n),f=o===1,l=i[e],c=r?f?l[1]:l[2]||l[1]:f?i[e][0]:e;return s?"".concat(o," ").concat(c," ago"):"in ".concat(o," ").concat(c)}function stringifyTokens(e,n){var t="";for(var r=0,i=e;r<i.length;r++){var a=i[r];if(a.literal){t+=a.val}else{t+=n(a.val)}}return t}var macroTokenToFormatOpts={D:DATE_SHORT,DD:DATE_MED,DDD:DATE_FULL,DDDD:DATE_HUGE,t:TIME_SIMPLE,tt:TIME_WITH_SECONDS,ttt:TIME_WITH_SHORT_OFFSET,tttt:TIME_WITH_LONG_OFFSET,T:TIME_24_SIMPLE,TT:TIME_24_WITH_SECONDS,TTT:TIME_24_WITH_SHORT_OFFSET,TTTT:TIME_24_WITH_LONG_OFFSET,f:DATETIME_SHORT,ff:DATETIME_MED,fff:DATETIME_FULL,ffff:DATETIME_HUGE,F:DATETIME_SHORT_WITH_SECONDS,FF:DATETIME_MED_WITH_SECONDS,FFF:DATETIME_FULL_WITH_SECONDS,FFFF:DATETIME_HUGE_WITH_SECONDS};
533
+ /**
534
+ * @private
535
+ */var Formatter=/** @class */function(){function e(e,n){this.opts=n;this.loc=e;this.systemLoc=null}e.create=function(n,t){if(t===void 0){t={}}return new e(n,t)};e.parseFormat=function(e){
536
+ // white-space is always considered a literal in user-provided formats
537
+ // the " " token has a special meaning (see unitForToken)
538
+ var n=null,t="",r=false;var i=[];for(var a=0;a<e.length;a++){var u=e.charAt(a);if(u==="'"){if(t.length>0){i.push({literal:r||/^\s+$/.test(t),val:t})}n=null;t="";r=!r}else if(r){t+=u}else if(u===n){t+=u}else{if(t.length>0){i.push({literal:/^\s+$/.test(t),val:t})}t=u;n=u}}if(t.length>0){i.push({literal:r||/^\s+$/.test(t),val:t})}return i};e.macroTokenToFormatOpts=function(e){return macroTokenToFormatOpts[e]};e.prototype.formatWithSystemDefault=function(e,n){if(this.systemLoc===null){this.systemLoc=this.loc.redefaultToSystem()}var t=this.systemLoc.dtFormatter(e,__assign(__assign({},this.opts),n));return t.format()};e.prototype.dtFormatter=function(e,n){if(n===void 0){n={}}return this.loc.dtFormatter(e,__assign(__assign({},this.opts),n))};e.prototype.formatDateTime=function(e,n){return this.dtFormatter(e,n).format()};e.prototype.formatDateTimeParts=function(e,n){return this.dtFormatter(e,n).formatToParts()};e.prototype.formatInterval=function(e,n){var t=this.dtFormatter(e.start,n);return t.dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())};e.prototype.resolvedOptions=function(e,n){return this.dtFormatter(e,n).resolvedOptions()};e.prototype.num=function(e,n){if(n===void 0){n=0}
539
+ // we get some perf out of doing this here, annoyingly
540
+ if(this.opts.forceSimple){return padStart(e,n)}var t=__assign({},this.opts);if(n>0){t.padTo=n}return this.loc.numberFormatter(t).format(e)};e.prototype.formatDateTimeFromString=function(n,t){var r=this;var i=this.loc.listingMode()==="en",a=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",u=function(e,t){return r.loc.extract(n,e,t)},s=function(e){if(n.isOffsetFixed&&n.offset===0&&e.allowZ){return"Z"}return n.isValid?n.zone.formatOffset(n.ts,e.format):""},o=function(){return i?meridiemForDateTime(n):u({hour:"numeric",hourCycle:"h12"},"dayperiod")},f=function(e,t){return i?monthForDateTime(n,e):u(t?{month:e}:{month:e,day:"numeric"},"month")},l=function(e,t){return i?weekdayForDateTime(n,e):u(t?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday")},c=function(t){var i=e.macroTokenToFormatOpts(t);if(i){return r.formatWithSystemDefault(n,i)}else{return t}},d=function(e){return i?eraForDateTime(n,e):u({era:e},"era")},h=function(e){
541
+ // Where possible: https://cldr.unicode.org/translation/date-time/date-time-symbols
542
+ switch(e){
543
+ // ms
544
+ case"S":return r.num(n.millisecond);case"u":
545
+ // falls through
546
+ case"SSS":return r.num(n.millisecond,3);
547
+ // seconds
548
+ case"s":return r.num(n.second);case"ss":return r.num(n.second,2);
549
+ // fractional seconds
550
+ case"uu":return r.num(Math.floor(n.millisecond/10),2);case"uuu":return r.num(Math.floor(n.millisecond/100));
551
+ // minutes
552
+ case"m":return r.num(n.minute);case"mm":return r.num(n.minute,2);
553
+ // hours
554
+ case"h":return r.num(n.hour%12===0?12:n.hour%12);case"hh":return r.num(n.hour%12===0?12:n.hour%12,2);case"H":return r.num(n.hour);case"HH":return r.num(n.hour,2);
555
+ // offset
556
+ case"Z":
557
+ // like +6
558
+ return s({format:"narrow",allowZ:r.opts.allowZ});case"ZZ":
559
+ // like +06:00
560
+ return s({format:"short",allowZ:r.opts.allowZ});case"ZZZ":
561
+ // like +0600
562
+ return s({format:"techie",allowZ:r.opts.allowZ});case"ZZZZ":
563
+ // like EST
564
+ return n.zone.offsetName(n.ts,{format:"short",locale:r.loc.locale});case"ZZZZZ":
565
+ // like Eastern Standard Time
566
+ return n.zone.offsetName(n.ts,{format:"long",locale:r.loc.locale});
567
+ // zone
568
+ case"z":
569
+ // like America/New_York
570
+ return n.zoneName;
571
+ // meridiems
572
+ case"a":return o();
573
+ // dates
574
+ case"d":return a?u({day:"numeric"},"day"):r.num(n.day);case"dd":return a?u({day:"2-digit"},"day"):r.num(n.day,2);
575
+ // weekdays - standalone
576
+ case"c":
577
+ // like 1
578
+ return r.num(n.weekday);case"ccc":
579
+ // like 'Tues'
580
+ return l("short",true);case"cccc":
581
+ // like 'Tuesday'
582
+ return l("long",true);case"ccccc":
583
+ // like 'T'
584
+ return l("narrow",true);
585
+ // weekdays - format
586
+ case"E":
587
+ // like 1
588
+ return r.num(n.weekday);case"EEE":
589
+ // like 'Tues'
590
+ return l("short",false);case"EEEE":
591
+ // like 'Tuesday'
592
+ return l("long",false);case"EEEEE":
593
+ // like 'T'
594
+ return l("narrow",false);
595
+ // months - standalone
596
+ case"L":
597
+ // like 1
598
+ return a?u({month:"numeric",day:"numeric"},"month"):r.num(n.month);case"LL":
599
+ // like 01, doesn't seem to work
600
+ return a?u({month:"2-digit",day:"numeric"},"month"):r.num(n.month,2);case"LLL":
601
+ // like Jan
602
+ return f("short",true);case"LLLL":
603
+ // like January
604
+ return f("long",true);case"LLLLL":
605
+ // like J
606
+ return f("narrow",true);
607
+ // months - format
608
+ case"M":
609
+ // like 1
610
+ return a?u({month:"numeric"},"month"):r.num(n.month);case"MM":
611
+ // like 01
612
+ return a?u({month:"2-digit"},"month"):r.num(n.month,2);case"MMM":
613
+ // like Jan
614
+ return f("short",false);case"MMMM":
615
+ // like January
616
+ return f("long",false);case"MMMMM":
617
+ // like J
618
+ return f("narrow",false);
619
+ // years
620
+ case"y":
621
+ // like 2014
622
+ return a?u({year:"numeric"},"year"):r.num(n.year);case"yy":
623
+ // like 14
624
+ return a?u({year:"2-digit"},"year"):r.num(n.year.toString().slice(-2),2);case"yyyy":
625
+ // like 0012
626
+ return a?u({year:"numeric"},"year"):r.num(n.year,4);case"yyyyyy":
627
+ // like 000012
628
+ return a?u({year:"numeric"},"year"):r.num(n.year,6);
629
+ // eras
630
+ case"G":
631
+ // like AD
632
+ return d("short");case"GG":
633
+ // like Anno Domini
634
+ return d("long");case"GGGGG":return d("narrow");case"kk":return r.num(n.weekYear.toString().slice(-2),2);case"kkkk":return r.num(n.weekYear,4);case"W":return r.num(n.weekNumber);case"WW":return r.num(n.weekNumber,2);case"n":return r.num(n.localWeekNumber);case"nn":return r.num(n.localWeekNumber,2);case"ii":return r.num(n.localWeekYear.toString().slice(-2),2);case"iiii":return r.num(n.localWeekYear,4);case"o":return r.num(n.ordinal);case"ooo":return r.num(n.ordinal,3);case"q":
635
+ // like 1
636
+ return r.num(n.quarter);case"qq":
637
+ // like 01
638
+ return r.num(n.quarter,2);case"X":return r.num(Math.floor(n.ts/1e3));case"x":return r.num(n.ts);default:return c(e)}};return stringifyTokens(e.parseFormat(t),h)};e.prototype.formatDurationFromString=function(n,t){var r=this;var i=function(e){switch(e[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},a=function(e){return function(n){var t=i(n);if(t){return r.num(e.get(t),n.length)}else{return n}}},u=e.parseFormat(t),s=u.reduce((function(e,n){var t=n.literal,r=n.val;return t?e:e.concat(r)}),[]),o=n.shiftTo.apply(n,s.map(i).filter((function(e){return e})));return stringifyTokens(u,a(o))};return e}();
639
+ /*
640
+ * This file handles parsing for well-specified formats. Here's how it works:
641
+ * Two things go into parsing: a regex to match with and an extractor to take apart the groups in the match.
642
+ * An extractor is just a function that takes a regex match array and returns a { year: ..., month: ... } object
643
+ * parse() does the work of executing the regex and applying the extractor. It takes multiple regex/extractor pairs to try in sequence.
644
+ * Extractors can take a "cursor" representing the offset in the match to look at. This makes it easy to combine extractors.
645
+ * combineExtractors() does the work of combining them, keeping track of the cursor through multiple extractions.
646
+ * Some extractions are super dumb and simpleParse and fromStrings help DRY them.
647
+ */var ianaRegex=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function combineRegexes(){var e=[];for(var n=0;n<arguments.length;n++){e[n]=arguments[n]}var t=e.reduce((function(e,n){return e+n.source}),"");return RegExp("^".concat(t,"$"))}function combineExtractors(){var e=[];for(var n=0;n<arguments.length;n++){e[n]=arguments[n]}return function(n){return e.reduce((function(e,t){var r=e[0],i=e[1],a=e[2];var u=t(n,a),s=u[0],o=u[1],f=u[2];return[__assign(__assign({},r),s),o||i,f]}),[{},null,1]).slice(0,2)}}function parse(e){var n=[];for(var t=1;t<arguments.length;t++){n[t-1]=arguments[t]}if(e==null){return[null,null]}for(var r=0,i=n;r<i.length;r++){var a=i[r],u=a[0],s=a[1];var o=u.exec(e);if(o){return s(o)}}return[null,null]}function simpleParse(){var e=[];for(var n=0;n<arguments.length;n++){e[n]=arguments[n]}return function(n,t){var r={};var i;for(i=0;i<e.length;i++){r[e[i]]=parseInteger(n[t+i])}return[r,null,t+i]}}
648
+ // ISO and SQL parsing
649
+ var offsetRegex=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/;var isoExtendedZone="(?:".concat(offsetRegex.source,"?(?:\\[(").concat(ianaRegex.source,")\\])?)?");var isoTimeBaseRegex=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/;var isoTimeRegex=RegExp("".concat(isoTimeBaseRegex.source).concat(isoExtendedZone));var isoTimeExtensionRegex=RegExp("(?:T".concat(isoTimeRegex.source,")?"));var isoYmdRegex=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/;var isoWeekRegex=/(\d{4})-?W(\d\d)(?:-?(\d))?/;var isoOrdinalRegex=/(\d{4})-?(\d{3})/;var extractISOWeekData=simpleParse("weekYear","weekNumber","weekDay");var extractISOOrdinalData=simpleParse("year","ordinal");var sqlYmdRegex=/(\d{4})-(\d\d)-(\d\d)/;// dumbed-down version of the ISO one
650
+ var sqlTimeRegex=RegExp("".concat(isoTimeBaseRegex.source," ?(?:").concat(offsetRegex.source,"|(").concat(ianaRegex.source,"))?"));var sqlTimeExtensionRegex=RegExp("(?: ".concat(sqlTimeRegex.source,")?"));function int(e,n,t){var r=e[n];return isUndefined(r)?t:parseInteger(r)}function extractISOYmd(e,n){var t={year:int(e,n),month:int(e,n+1,1),day:int(e,n+2,1)};return[t,null,n+3]}function extractISOTime(e,n){var t={hours:int(e,n,0),minutes:int(e,n+1,0),seconds:int(e,n+2,0),milliseconds:parseMillis(e[n+3])};return[t,null,n+4]}function extractISOOffset(e,n){var t=!e[n]&&!e[n+1],r=signedOffset(e[n+1],e[n+2]),i=t?null:FixedOffsetZone.instance(r);return[{},i,n+3]}function extractIANAZone(e,n){var t=e[n]?IANAZone.create(e[n]):null;return[{},t,n+1]}
651
+ // ISO time parsing
652
+ var isoTimeOnly=RegExp("^T?".concat(isoTimeBaseRegex.source,"$"));
653
+ // ISO duration parsing
654
+ var isoDuration=/^-?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 extractISODuration(e){var n=e[0],t=e[1],r=e[2],i=e[3],a=e[4],u=e[5],s=e[6],o=e[7],f=e[8];var l=n[0]==="-";var c=o&&o[0]==="-";var d=function(e,n){if(n===void 0){n=false}return e!==undefined&&(n||e&&l)?-e:e};return[{years:d(parseFloating(t)),months:d(parseFloating(r)),weeks:d(parseFloating(i)),days:d(parseFloating(a)),hours:d(parseFloating(u)),minutes:d(parseFloating(s)),seconds:d(parseFloating(o),o==="-0"),milliseconds:d(parseMillis(f),c)}]}
655
+ // These are a little braindead. EDT *should* tell us that we're in, say, America/New_York
656
+ // and not just that we're in -240 *right now*. But since I don't think these are used that often
657
+ // I'm just going to ignore that
658
+ var obsOffsets={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function fromStrings(e,n,t,r,i,a,u){var s={year:n.length===2?untruncateYear(parseInteger(n)):parseInteger(n),month:monthsShort.indexOf(t)+1,day:parseInteger(r),hour:parseInteger(i),minute:parseInteger(a)};if(u)s.second=parseInteger(u);if(e){s.weekday=e.length>3?weekdaysLong.indexOf(e)+1:weekdaysShort.indexOf(e)+1}return s}
659
+ // RFC 2822/5322
660
+ var rfc2822=/^(?:(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 extractRFC2822(e){var n=e[1],t=e[2],r=e[3],i=e[4],a=e[5],u=e[6],s=e[7],o=e[8],f=e[9],l=e[10],c=e[11],d=fromStrings(n,i,r,t,a,u,s);var h;if(o){h=obsOffsets[o]}else if(f){h=0}else{h=signedOffset(l,c)}return[d,new FixedOffsetZone(h)]}function preprocessRFC2822(e){
661
+ // Remove comments and folding whitespace and replace multiple-spaces with a single space
662
+ return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}
663
+ // http date
664
+ var rfc1123=/^(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$/,rfc850=/^(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$/,ascii=/^(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 extractRFC1123Or850(e){var n=e[1],t=e[2],r=e[3],i=e[4],a=e[5],u=e[6],s=e[7],o=fromStrings(n,i,r,t,a,u,s);return[o,FixedOffsetZone.utcInstance]}function extractASCII(e){var n=e[1],t=e[2],r=e[3],i=e[4],a=e[5],u=e[6],s=e[7],o=fromStrings(n,s,t,r,i,a,u);return[o,FixedOffsetZone.utcInstance]}var isoYmdWithTimeExtensionRegex=combineRegexes(isoYmdRegex,isoTimeExtensionRegex);var isoWeekWithTimeExtensionRegex=combineRegexes(isoWeekRegex,isoTimeExtensionRegex);var isoOrdinalWithTimeExtensionRegex=combineRegexes(isoOrdinalRegex,isoTimeExtensionRegex);var isoTimeCombinedRegex=combineRegexes(isoTimeRegex);var extractISOYmdTimeAndOffset=combineExtractors(extractISOYmd,extractISOTime,extractISOOffset,extractIANAZone);var extractISOWeekTimeAndOffset=combineExtractors(extractISOWeekData,extractISOTime,extractISOOffset,extractIANAZone);var extractISOOrdinalDateAndTime=combineExtractors(extractISOOrdinalData,extractISOTime,extractISOOffset,extractIANAZone);var extractISOTimeAndOffset=combineExtractors(extractISOTime,extractISOOffset,extractIANAZone);
665
+ /*
666
+ * @private
667
+ */function parseISODate(e){return parse(e,[isoYmdWithTimeExtensionRegex,extractISOYmdTimeAndOffset],[isoWeekWithTimeExtensionRegex,extractISOWeekTimeAndOffset],[isoOrdinalWithTimeExtensionRegex,extractISOOrdinalDateAndTime],[isoTimeCombinedRegex,extractISOTimeAndOffset])}function parseRFC2822Date(e){return parse(preprocessRFC2822(e),[rfc2822,extractRFC2822])}function parseHTTPDate(e){return parse(e,[rfc1123,extractRFC1123Or850],[rfc850,extractRFC1123Or850],[ascii,extractASCII])}function parseISODuration(e){return parse(e,[isoDuration,extractISODuration])}var extractISOTimeOnly=combineExtractors(extractISOTime);function parseISOTimeOnly(e){return parse(e,[isoTimeOnly,extractISOTimeOnly])}var sqlYmdWithTimeExtensionRegex=combineRegexes(sqlYmdRegex,sqlTimeExtensionRegex);var sqlTimeCombinedRegex=combineRegexes(sqlTimeRegex);var extractISOTimeOffsetAndIANAZone=combineExtractors(extractISOTime,extractISOOffset,extractIANAZone);function parseSQL(e){return parse(e,[sqlYmdWithTimeExtensionRegex,extractISOYmdTimeAndOffset],[sqlTimeCombinedRegex,extractISOTimeOffsetAndIANAZone])}var INVALID$2="Invalid Duration";
668
+ // unit conversion constants
669
+ var lowOrderMatrix={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},casualMatrix=__assign({years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3}},lowOrderMatrix),daysInYearAccurate=146097/400,daysInMonthAccurate=146097/4800,accurateMatrix=__assign({years:{quarters:4,months:12,weeks:daysInYearAccurate/7,days:daysInYearAccurate,hours:daysInYearAccurate*24,minutes:daysInYearAccurate*24*60,seconds:daysInYearAccurate*24*60*60,milliseconds:daysInYearAccurate*24*60*60*1e3},quarters:{months:3,weeks:daysInYearAccurate/28,days:daysInYearAccurate/4,hours:daysInYearAccurate*24/4,minutes:daysInYearAccurate*24*60/4,seconds:daysInYearAccurate*24*60*60/4,milliseconds:daysInYearAccurate*24*60*60*1e3/4},months:{weeks:daysInMonthAccurate/7,days:daysInMonthAccurate,hours:daysInMonthAccurate*24,minutes:daysInMonthAccurate*24*60,seconds:daysInMonthAccurate*24*60*60,milliseconds:daysInMonthAccurate*24*60*60*1e3}},lowOrderMatrix);
670
+ // units ordered by size
671
+ var orderedUnits$1=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"];var reverseUnits=orderedUnits$1.slice(0).reverse();
672
+ // clone really means "create another instance just like this one, but with these changes"
673
+ function clone$1(e,n,t){if(t===void 0){t=false}
674
+ // deep merge for vals
675
+ var r={values:t?n.values:__assign(__assign({},e.values),n.values||{}),loc:e.loc.clone(n.loc),conversionAccuracy:n.conversionAccuracy||e.conversionAccuracy,matrix:n.matrix||e.matrix};return new Duration(r)}function durationToMillis(e,n){var t;var r=(t=n.milliseconds)!==null&&t!==void 0?t:0;for(var i=0,a=reverseUnits.slice(1);i<a.length;i++){var u=a[i];if(n[u]){r+=n[u]*e[u]["milliseconds"]}}return r}
676
+ // NB: mutates parameters
677
+ function normalizeValues(e,n){
678
+ // the logic below assumes the overall value of the duration is positive
679
+ // if this is not the case, factor is used to make it so
680
+ var t=durationToMillis(e,n)<0?-1:1;orderedUnits$1.reduceRight((function(r,i){if(!isUndefined(n[i])){if(r){var a=n[r]*t;var u=e[i][r];
681
+ // if (previousVal < 0):
682
+ // lower order unit is negative (e.g. { years: 2, days: -2 })
683
+ // normalize this by reducing the higher order unit by the appropriate amount
684
+ // and increasing the lower order unit
685
+ // this can never make the higher order unit negative, because this function only operates
686
+ // on positive durations, so the amount of time represented by the lower order unit cannot
687
+ // be larger than the higher order unit
688
+ // else:
689
+ // lower order unit is positive (e.g. { years: 2, days: 450 } or { years: -2, days: 450 })
690
+ // in this case we attempt to convert as much as possible from the lower order unit into
691
+ // the higher order one
692
+
693
+ // Math.floor takes care of both of these cases, rounding away from 0
694
+ // if previousVal < 0 it makes the absolute value larger
695
+ // if previousVal >= it makes the absolute value smaller
696
+ var s=Math.floor(a/u);n[i]+=s*t;n[r]-=s*u*t}return i}else{return r}}),null);
697
+ // try to convert any decimals into smaller units if possible
698
+ // for example for { years: 2.5, days: 0, seconds: 0 } we want to get { years: 2, days: 182, hours: 12 }
699
+ orderedUnits$1.reduce((function(t,r){if(!isUndefined(n[r])){if(t){var i=n[t]%1;n[t]-=i;n[r]+=i*e[t][r]}return r}else{return t}}),null)}
700
+ // Remove all properties with a value of 0 from an object
701
+ function removeZeroes(e){var n={};for(var t=0,r=Object.entries(e);t<r.length;t++){var i=r[t],a=i[0],u=i[1];if(u!==0){n[a]=u}}return n}
702
+ /**
703
+ * A Duration object represents a period of time, like "2 months" or "1 day, 1 hour". Conceptually, it's just a map of units to their quantities, accompanied by some additional configuration and methods for creating, parsing, interrogating, transforming, and formatting them. They can be used on their own or in conjunction with other Luxon types; for example, you can use {@link DateTime#plus} to add a Duration object to a DateTime, producing another DateTime.
704
+ *
705
+ * Here is a brief overview of commonly used methods and getters in Duration:
706
+ *
707
+ * * **Creation** To create a Duration, use {@link Duration.fromMillis}, {@link Duration.fromObject}, or {@link Duration.fromISO}.
708
+ * * **Unit values** See the {@link Duration#years}, {@link Duration#months}, {@link Duration#weeks}, {@link Duration#days}, {@link Duration#hours}, {@link Duration#minutes}, {@link Duration#seconds}, {@link Duration#milliseconds} accessors.
709
+ * * **Configuration** See {@link Duration#locale} and {@link Duration#numberingSystem} accessors.
710
+ * * **Transformation** To create new Durations out of old ones use {@link Duration#plus}, {@link Duration#minus}, {@link Duration#normalize}, {@link Duration#set}, {@link Duration#reconfigure}, {@link Duration#shiftTo}, and {@link Duration#negate}.
711
+ * * **Output** To convert the Duration into other representations, see {@link Duration#as}, {@link Duration#toISO}, {@link Duration#toFormat}, and {@link Duration#toJSON}
712
+ *
713
+ * There's are more methods documented below. In addition, for more information on subtler topics like internationalization and validity, see the external documentation.
714
+ */var Duration=/** @class */function(){
715
+ /**
716
+ * @private
717
+ */
718
+ function e(e){var n=e.conversionAccuracy==="longterm"||false;var t=n?accurateMatrix:casualMatrix;if(e.matrix){t=e.matrix}
719
+ /**
720
+ * @access private
721
+ */this.values=e.values;
722
+ /**
723
+ * @access private
724
+ */this.loc=e.loc||Locale.create();
725
+ /**
726
+ * @access private
727
+ */this.conversionAccuracy=n?"longterm":"casual";
728
+ /**
729
+ * @access private
730
+ */this.invalid=e.invalid||null;
731
+ /**
732
+ * @access private
733
+ */this.matrix=t;
734
+ /**
735
+ * @access private
736
+ */this.isLuxonDuration=true}
737
+ /**
738
+ * Create Duration from a number of milliseconds.
739
+ * @param {number} count of milliseconds
740
+ * @param {Object} opts - options for parsing
741
+ * @param {string} [opts.locale='en-US'] - the locale to use
742
+ * @param {string} opts.numberingSystem - the numbering system to use
743
+ * @param {string} [opts.conversionAccuracy='casual'] - the conversion system to use
744
+ * @return {Duration}
745
+ */e.fromMillis=function(n,t){return e.fromObject({milliseconds:n},t)};
746
+ /**
747
+ * Create a Duration from a JavaScript object with keys like 'years' and 'hours'.
748
+ * If this object is empty then a zero milliseconds duration is returned.
749
+ * @param {Object} obj - the object to create the DateTime from
750
+ * @param {number} obj.years
751
+ * @param {number} obj.quarters
752
+ * @param {number} obj.months
753
+ * @param {number} obj.weeks
754
+ * @param {number} obj.days
755
+ * @param {number} obj.hours
756
+ * @param {number} obj.minutes
757
+ * @param {number} obj.seconds
758
+ * @param {number} obj.milliseconds
759
+ * @param {Object} [opts=[]] - options for creating this Duration
760
+ * @param {string} [opts.locale='en-US'] - the locale to use
761
+ * @param {string} opts.numberingSystem - the numbering system to use
762
+ * @param {string} [opts.conversionAccuracy='casual'] - the preset conversion system to use
763
+ * @param {string} [opts.matrix=Object] - the custom conversion system to use
764
+ * @return {Duration}
765
+ */e.fromObject=function(n,t){if(t===void 0){t={}}if(n==null||typeof n!=="object"){throw new InvalidArgumentError("Duration.fromObject: argument expected to be an object, got ".concat(n===null?"null":typeof n))}return new e({values:normalizeObject(n,e.normalizeUnit),loc:Locale.fromObject(t),conversionAccuracy:t.conversionAccuracy,matrix:t.matrix})};
766
+ /**
767
+ * Create a Duration from DurationLike.
768
+ *
769
+ * @param {Object | number | Duration} durationLike
770
+ * One of:
771
+ * - object with keys like 'years' and 'hours'.
772
+ * - number representing milliseconds
773
+ * - Duration instance
774
+ * @return {Duration}
775
+ */e.fromDurationLike=function(n){if(isNumber(n)){return e.fromMillis(n)}else if(e.isDuration(n)){return n}else if(typeof n==="object"){return e.fromObject(n)}else{throw new InvalidArgumentError("Unknown duration argument ".concat(n," of type ").concat(typeof n))}};
776
+ /**
777
+ * Create a Duration from an ISO 8601 duration string.
778
+ * @param {string} text - text to parse
779
+ * @param {Object} opts - options for parsing
780
+ * @param {string} [opts.locale='en-US'] - the locale to use
781
+ * @param {string} opts.numberingSystem - the numbering system to use
782
+ * @param {string} [opts.conversionAccuracy='casual'] - the preset conversion system to use
783
+ * @param {string} [opts.matrix=Object] - the preset conversion system to use
784
+ * @see https://en.wikipedia.org/wiki/ISO_8601#Durations
785
+ * @example Duration.fromISO('P3Y6M1W4DT12H30M5S').toObject() //=> { years: 3, months: 6, weeks: 1, days: 4, hours: 12, minutes: 30, seconds: 5 }
786
+ * @example Duration.fromISO('PT23H').toObject() //=> { hours: 23 }
787
+ * @example Duration.fromISO('P5Y3M').toObject() //=> { years: 5, months: 3 }
788
+ * @return {Duration}
789
+ */e.fromISO=function(n,t){var r=parseISODuration(n)[0];if(r){return e.fromObject(r,t)}else{return e.invalid("unparsable",'the input "'.concat(n,"\" can't be parsed as ISO 8601"))}};
790
+ /**
791
+ * Create a Duration from an ISO 8601 time string.
792
+ * @param {string} text - text to parse
793
+ * @param {Object} opts - options for parsing
794
+ * @param {string} [opts.locale='en-US'] - the locale to use
795
+ * @param {string} opts.numberingSystem - the numbering system to use
796
+ * @param {string} [opts.conversionAccuracy='casual'] - the preset conversion system to use
797
+ * @param {string} [opts.matrix=Object] - the conversion system to use
798
+ * @see https://en.wikipedia.org/wiki/ISO_8601#Times
799
+ * @example Duration.fromISOTime('11:22:33.444').toObject() //=> { hours: 11, minutes: 22, seconds: 33, milliseconds: 444 }
800
+ * @example Duration.fromISOTime('11:00').toObject() //=> { hours: 11, minutes: 0, seconds: 0 }
801
+ * @example Duration.fromISOTime('T11:00').toObject() //=> { hours: 11, minutes: 0, seconds: 0 }
802
+ * @example Duration.fromISOTime('1100').toObject() //=> { hours: 11, minutes: 0, seconds: 0 }
803
+ * @example Duration.fromISOTime('T1100').toObject() //=> { hours: 11, minutes: 0, seconds: 0 }
804
+ * @return {Duration}
805
+ */e.fromISOTime=function(n,t){var r=parseISOTimeOnly(n)[0];if(r){return e.fromObject(r,t)}else{return e.invalid("unparsable",'the input "'.concat(n,"\" can't be parsed as ISO 8601"))}};
806
+ /**
807
+ * Create an invalid Duration.
808
+ * @param {string} reason - simple string of why this datetime is invalid. Should not contain parameters or anything else data-dependent
809
+ * @param {string} [explanation=null] - longer explanation, may include parameters and other useful debugging information
810
+ * @return {Duration}
811
+ */e.invalid=function(n,t){if(t===void 0){t=null}if(!n){throw new InvalidArgumentError("need to specify a reason the Duration is invalid")}var r=n instanceof Invalid?n:new Invalid(n,t);if(Settings.throwOnInvalid){throw new InvalidDurationError(r)}else{return new e({invalid:r})}};
812
+ /**
813
+ * @private
814
+ */e.normalizeUnit=function(e){var n={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"}[e?e.toLowerCase():e];if(!n)throw new InvalidUnitError(e);return n};
815
+ /**
816
+ * Check if an object is a Duration. Works across context boundaries
817
+ * @param {object} o
818
+ * @return {boolean}
819
+ */e.isDuration=function(e){return e&&e.isLuxonDuration||false};Object.defineProperty(e.prototype,"locale",{
820
+ /**
821
+ * Get the locale of a Duration, such 'en-GB'
822
+ * @type {string}
823
+ */
824
+ get:function(){return this.isValid?this.loc.locale:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"numberingSystem",{
825
+ /**
826
+ * Get the numbering system of a Duration, such 'beng'. The numbering system is used when formatting the Duration
827
+ *
828
+ * @type {string}
829
+ */
830
+ get:function(){return this.isValid?this.loc.numberingSystem:null},enumerable:false,configurable:true});
831
+ /**
832
+ * Returns a string representation of this Duration formatted according to the specified format string. You may use these tokens:
833
+ * * `S` for milliseconds
834
+ * * `s` for seconds
835
+ * * `m` for minutes
836
+ * * `h` for hours
837
+ * * `d` for days
838
+ * * `w` for weeks
839
+ * * `M` for months
840
+ * * `y` for years
841
+ * Notes:
842
+ * * Add padding by repeating the token, e.g. "yy" pads the years to two digits, "hhhh" pads the hours out to four digits
843
+ * * Tokens can be escaped by wrapping with single quotes.
844
+ * * The duration will be converted to the set of units in the format string using {@link Duration#shiftTo} and the Durations's conversion accuracy setting.
845
+ * @param {string} fmt - the format string
846
+ * @param {Object} opts - options
847
+ * @param {boolean} [opts.floor=true] - floor numerical values
848
+ * @example Duration.fromObject({ years: 1, days: 6, seconds: 2 }).toFormat("y d s") //=> "1 6 2"
849
+ * @example Duration.fromObject({ years: 1, days: 6, seconds: 2 }).toFormat("yy dd sss") //=> "01 06 002"
850
+ * @example Duration.fromObject({ years: 1, days: 6, seconds: 2 }).toFormat("M S") //=> "12 518402000"
851
+ * @return {string}
852
+ */e.prototype.toFormat=function(e,n){if(n===void 0){n={}}
853
+ // reverse-compat since 1.2; we always round down now, never up, and we do it by default
854
+ var t=__assign(__assign({},n),{floor:n.round!==false&&n.floor!==false});return this.isValid?Formatter.create(this.loc,t).formatDurationFromString(this,e):INVALID$2};
855
+ /**
856
+ * Returns a string representation of a Duration with all units included.
857
+ * To modify its behavior, use `listStyle` and any Intl.NumberFormat option, though `unitDisplay` is especially relevant.
858
+ * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat#options
859
+ * @param {Object} opts - Formatting options. Accepts the same keys as the options parameter of the native `Intl.NumberFormat` constructor, as well as `listStyle`.
860
+ * @param {string} [opts.listStyle='narrow'] - How to format the merged list. Corresponds to the `style` property of the options parameter of the native `Intl.ListFormat` constructor.
861
+ * @example
862
+ * ```js
863
+ * var dur = Duration.fromObject({ days: 1, hours: 5, minutes: 6 })
864
+ * dur.toHuman() //=> '1 day, 5 hours, 6 minutes'
865
+ * dur.toHuman({ listStyle: "long" }) //=> '1 day, 5 hours, and 6 minutes'
866
+ * dur.toHuman({ unitDisplay: "short" }) //=> '1 day, 5 hr, 6 min'
867
+ * ```
868
+ */e.prototype.toHuman=function(e){var n=this;if(e===void 0){e={}}if(!this.isValid)return INVALID$2;var t=orderedUnits$1.map((function(t){var r=n.values[t];if(isUndefined(r)){return null}return n.loc.numberFormatter(__assign(__assign({style:"unit",unitDisplay:"long"},e),{unit:t.slice(0,-1)})).format(r)})).filter((function(e){return e}));return this.loc.listFormatter(__assign({type:"conjunction",style:e.listStyle||"narrow"},e)).format(t)};
869
+ /**
870
+ * Returns a JavaScript object with this Duration's values.
871
+ * @example Duration.fromObject({ years: 1, days: 6, seconds: 2 }).toObject() //=> { years: 1, days: 6, seconds: 2 }
872
+ * @return {Object}
873
+ */e.prototype.toObject=function(){if(!this.isValid)return{};return __assign({},this.values)};
874
+ /**
875
+ * Returns an ISO 8601-compliant string representation of this Duration.
876
+ * @see https://en.wikipedia.org/wiki/ISO_8601#Durations
877
+ * @example Duration.fromObject({ years: 3, seconds: 45 }).toISO() //=> 'P3YT45S'
878
+ * @example Duration.fromObject({ months: 4, seconds: 45 }).toISO() //=> 'P4MT45S'
879
+ * @example Duration.fromObject({ months: 5 }).toISO() //=> 'P5M'
880
+ * @example Duration.fromObject({ minutes: 5 }).toISO() //=> 'PT5M'
881
+ * @example Duration.fromObject({ milliseconds: 6 }).toISO() //=> 'PT0.006S'
882
+ * @return {string}
883
+ */e.prototype.toISO=function(){
884
+ // we could use the formatter, but this is an easier way to get the minimum string
885
+ if(!this.isValid)return null;var e="P";if(this.years!==0)e+=this.years+"Y";if(this.months!==0||this.quarters!==0)e+=this.months+this.quarters*3+"M";if(this.weeks!==0)e+=this.weeks+"W";if(this.days!==0)e+=this.days+"D";if(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)e+="T";if(this.hours!==0)e+=this.hours+"H";if(this.minutes!==0)e+=this.minutes+"M";if(this.seconds!==0||this.milliseconds!==0)
886
+ // this will handle "floating point madness" by removing extra decimal places
887
+ // https://stackoverflow.com/questions/588004/is-floating-point-math-broken
888
+ e+=roundTo(this.seconds+this.milliseconds/1e3,3)+"S";if(e==="P")e+="T0S";return e};
889
+ /**
890
+ * Returns an ISO 8601-compliant string representation of this Duration, formatted as a time of day.
891
+ * Note that this will return null if the duration is invalid, negative, or equal to or greater than 24 hours.
892
+ * @see https://en.wikipedia.org/wiki/ISO_8601#Times
893
+ * @param {Object} opts - options
894
+ * @param {boolean} [opts.suppressMilliseconds=false] - exclude milliseconds from the format if they're 0
895
+ * @param {boolean} [opts.suppressSeconds=false] - exclude seconds from the format if they're 0
896
+ * @param {boolean} [opts.includePrefix=false] - include the `T` prefix
897
+ * @param {string} [opts.format='extended'] - choose between the basic and extended format
898
+ * @example Duration.fromObject({ hours: 11 }).toISOTime() //=> '11:00:00.000'
899
+ * @example Duration.fromObject({ hours: 11 }).toISOTime({ suppressMilliseconds: true }) //=> '11:00:00'
900
+ * @example Duration.fromObject({ hours: 11 }).toISOTime({ suppressSeconds: true }) //=> '11:00'
901
+ * @example Duration.fromObject({ hours: 11 }).toISOTime({ includePrefix: true }) //=> 'T11:00:00.000'
902
+ * @example Duration.fromObject({ hours: 11 }).toISOTime({ format: 'basic' }) //=> '110000.000'
903
+ * @return {string}
904
+ */e.prototype.toISOTime=function(e){if(e===void 0){e={}}if(!this.isValid)return null;var n=this.toMillis();if(n<0||n>=864e5)return null;e=__assign(__assign({suppressMilliseconds:false,suppressSeconds:false,includePrefix:false,format:"extended"},e),{includeOffset:false});var t=DateTime.fromMillis(n,{zone:"UTC"});return t.toISOTime(e)};
905
+ /**
906
+ * Returns an ISO 8601 representation of this Duration appropriate for use in JSON.
907
+ * @return {string}
908
+ */e.prototype.toJSON=function(){return this.toISO()};
909
+ /**
910
+ * Returns an ISO 8601 representation of this Duration appropriate for use in debugging.
911
+ * @return {string}
912
+ */e.prototype.toString=function(){return this.toISO()};
913
+ /**
914
+ * Returns a string representation of this Duration appropriate for the REPL.
915
+ * @return {string}
916
+ */e.prototype[Symbol.for("nodejs.util.inspect.custom")]=function(){if(this.isValid){return"Duration { values: ".concat(JSON.stringify(this.values)," }")}else{return"Duration { Invalid, reason: ".concat(this.invalidReason," }")}};
917
+ /**
918
+ * Returns an milliseconds value of this Duration.
919
+ * @return {number}
920
+ */e.prototype.toMillis=function(){if(!this.isValid)return NaN;return durationToMillis(this.matrix,this.values)};
921
+ /**
922
+ * Returns an milliseconds value of this Duration. Alias of {@link toMillis}
923
+ * @return {number}
924
+ */e.prototype.valueOf=function(){return this.toMillis()};
925
+ /**
926
+ * Make this Duration longer by the specified amount. Return a newly-constructed Duration.
927
+ * @param {Duration|Object|number} duration - The amount to add. Either a Luxon Duration, a number of milliseconds, the object argument to Duration.fromObject()
928
+ * @return {Duration}
929
+ */e.prototype.plus=function(n){if(!this.isValid)return this;var t=e.fromDurationLike(n),r={};for(var i=0,a=orderedUnits$1;i<a.length;i++){var u=a[i];if(hasOwnProperty(t.values,u)||hasOwnProperty(this.values,u)){r[u]=t.get(u)+this.get(u)}}return clone$1(this,{values:r},true)};
930
+ /**
931
+ * Make this Duration shorter by the specified amount. Return a newly-constructed Duration.
932
+ * @param {Duration|Object|number} duration - The amount to subtract. Either a Luxon Duration, a number of milliseconds, the object argument to Duration.fromObject()
933
+ * @return {Duration}
934
+ */e.prototype.minus=function(n){if(!this.isValid)return this;var t=e.fromDurationLike(n);return this.plus(t.negate())};
935
+ /**
936
+ * Scale this Duration by the specified amount. Return a newly-constructed Duration.
937
+ * @param {function} fn - The function to apply to each unit. Arity is 1 or 2: the value of the unit and, optionally, the unit name. Must return a number.
938
+ * @example Duration.fromObject({ hours: 1, minutes: 30 }).mapUnits(x => x * 2) //=> { hours: 2, minutes: 60 }
939
+ * @example Duration.fromObject({ hours: 1, minutes: 30 }).mapUnits((x, u) => u === "hours" ? x * 2 : x) //=> { hours: 2, minutes: 30 }
940
+ * @return {Duration}
941
+ */e.prototype.mapUnits=function(e){if(!this.isValid)return this;var n={};for(var t=0,r=Object.keys(this.values);t<r.length;t++){var i=r[t];n[i]=asNumber(e(this.values[i],i))}return clone$1(this,{values:n},true)};
942
+ /**
943
+ * Get the value of unit.
944
+ * @param {string} unit - a unit such as 'minute' or 'day'
945
+ * @example Duration.fromObject({years: 2, days: 3}).get('years') //=> 2
946
+ * @example Duration.fromObject({years: 2, days: 3}).get('months') //=> 0
947
+ * @example Duration.fromObject({years: 2, days: 3}).get('days') //=> 3
948
+ * @return {number}
949
+ */e.prototype.get=function(n){return this[e.normalizeUnit(n)]};
950
+ /**
951
+ * "Set" the values of specified units. Return a newly-constructed Duration.
952
+ * @param {Object} values - a mapping of units to numbers
953
+ * @example dur.set({ years: 2017 })
954
+ * @example dur.set({ hours: 8, minutes: 30 })
955
+ * @return {Duration}
956
+ */e.prototype.set=function(n){if(!this.isValid)return this;var t=__assign(__assign({},this.values),normalizeObject(n,e.normalizeUnit));return clone$1(this,{values:t})};
957
+ /**
958
+ * "Set" the locale and/or numberingSystem. Returns a newly-constructed Duration.
959
+ * @example dur.reconfigure({ locale: 'en-GB' })
960
+ * @return {Duration}
961
+ */e.prototype.reconfigure=function(e){var n=e===void 0?{}:e,t=n.locale,r=n.numberingSystem,i=n.conversionAccuracy,a=n.matrix;var u=this.loc.clone({locale:t,numberingSystem:r});var s={loc:u,matrix:a,conversionAccuracy:i};return clone$1(this,s)};
962
+ /**
963
+ * Return the length of the duration in the specified unit.
964
+ * @param {string} unit - a unit such as 'minutes' or 'days'
965
+ * @example Duration.fromObject({years: 1}).as('days') //=> 365
966
+ * @example Duration.fromObject({years: 1}).as('months') //=> 12
967
+ * @example Duration.fromObject({hours: 60}).as('days') //=> 2.5
968
+ * @return {number}
969
+ */e.prototype.as=function(e){return this.isValid?this.shiftTo(e).get(e):NaN};
970
+ /**
971
+ * Reduce this Duration to its canonical representation in its current units.
972
+ * Assuming the overall value of the Duration is positive, this means:
973
+ * - excessive values for lower-order units are converted to higher-order units (if possible, see first and second example)
974
+ * - negative lower-order units are converted to higher order units (there must be such a higher order unit, otherwise
975
+ * the overall value would be negative, see third example)
976
+ * - fractional values for higher-order units are converted to lower-order units (if possible, see fourth example)
977
+ *
978
+ * If the overall value is negative, the result of this method is equivalent to `this.negate().normalize().negate()`.
979
+ * @example Duration.fromObject({ years: 2, days: 5000 }).normalize().toObject() //=> { years: 15, days: 255 }
980
+ * @example Duration.fromObject({ days: 5000 }).normalize().toObject() //=> { days: 5000 }
981
+ * @example Duration.fromObject({ hours: 12, minutes: -45 }).normalize().toObject() //=> { hours: 11, minutes: 15 }
982
+ * @example Duration.fromObject({ years: 2.5, days: 0, hours: 0 }).normalize().toObject() //=> { years: 2, days: 182, hours: 12 }
983
+ * @return {Duration}
984
+ */e.prototype.normalize=function(){if(!this.isValid)return this;var e=this.toObject();normalizeValues(this.matrix,e);return clone$1(this,{values:e},true)};
985
+ /**
986
+ * Rescale units to its largest representation
987
+ * @example Duration.fromObject({ milliseconds: 90000 }).rescale().toObject() //=> { minutes: 1, seconds: 30 }
988
+ * @return {Duration}
989
+ */e.prototype.rescale=function(){if(!this.isValid)return this;var e=removeZeroes(this.normalize().shiftToAll().toObject());return clone$1(this,{values:e},true)};
990
+ /**
991
+ * Convert this Duration into its representation in a different set of units.
992
+ * @example Duration.fromObject({ hours: 1, seconds: 30 }).shiftTo('minutes', 'milliseconds').toObject() //=> { minutes: 60, milliseconds: 30000 }
993
+ * @return {Duration}
994
+ */e.prototype.shiftTo=function(){var n=[];for(var t=0;t<arguments.length;t++){n[t]=arguments[t]}if(!this.isValid)return this;if(n.length===0){return this}n=n.map((function(n){return e.normalizeUnit(n)}));var r={},i={},a=this.toObject();var u;for(var s=0,o=orderedUnits$1;s<o.length;s++){var f=o[s];if(n.indexOf(f)>=0){u=f;var l=0;
995
+ // anything we haven't boiled down yet should get boiled to this unit
996
+ for(var c in i){l+=this.matrix[c][f]*i[c];i[c]=0}
997
+ // plus anything that's already in this unit
998
+ if(isNumber(a[f])){l+=a[f]}
999
+ // only keep the integer part for now in the hopes of putting any decimal part
1000
+ // into a smaller unit later
1001
+ var d=Math.trunc(l);r[f]=d;i[f]=(l*1e3-d*1e3)/1e3;
1002
+ // otherwise, keep it in the wings to boil it later
1003
+ }else if(isNumber(a[f])){i[f]=a[f]}}
1004
+ // anything leftover becomes the decimal for the last unit
1005
+ // lastUnit must be defined since units is not empty
1006
+ for(var h in i){if(i[h]!==0){r[u]+=h===u?i[h]:i[h]/this.matrix[u][h]}}normalizeValues(this.matrix,r);return clone$1(this,{values:r},true)};
1007
+ /**
1008
+ * Shift this Duration to all available units.
1009
+ * Same as shiftTo("years", "months", "weeks", "days", "hours", "minutes", "seconds", "milliseconds")
1010
+ * @return {Duration}
1011
+ */e.prototype.shiftToAll=function(){if(!this.isValid)return this;return this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds")};
1012
+ /**
1013
+ * Return the negative of this Duration.
1014
+ * @example Duration.fromObject({ hours: 1, seconds: 30 }).negate().toObject() //=> { hours: -1, seconds: -30 }
1015
+ * @return {Duration}
1016
+ */e.prototype.negate=function(){if(!this.isValid)return this;var e={};for(var n=0,t=Object.keys(this.values);n<t.length;n++){var r=t[n];e[r]=this.values[r]===0?0:-this.values[r]}return clone$1(this,{values:e},true)};Object.defineProperty(e.prototype,"years",{
1017
+ /**
1018
+ * Get the years.
1019
+ * @type {number}
1020
+ */
1021
+ get:function(){return this.isValid?this.values.years||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"quarters",{
1022
+ /**
1023
+ * Get the quarters.
1024
+ * @type {number}
1025
+ */
1026
+ get:function(){return this.isValid?this.values.quarters||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"months",{
1027
+ /**
1028
+ * Get the months.
1029
+ * @type {number}
1030
+ */
1031
+ get:function(){return this.isValid?this.values.months||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weeks",{
1032
+ /**
1033
+ * Get the weeks
1034
+ * @type {number}
1035
+ */
1036
+ get:function(){return this.isValid?this.values.weeks||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"days",{
1037
+ /**
1038
+ * Get the days.
1039
+ * @type {number}
1040
+ */
1041
+ get:function(){return this.isValid?this.values.days||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"hours",{
1042
+ /**
1043
+ * Get the hours.
1044
+ * @type {number}
1045
+ */
1046
+ get:function(){return this.isValid?this.values.hours||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"minutes",{
1047
+ /**
1048
+ * Get the minutes.
1049
+ * @type {number}
1050
+ */
1051
+ get:function(){return this.isValid?this.values.minutes||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"seconds",{
1052
+ /**
1053
+ * Get the seconds.
1054
+ * @return {number}
1055
+ */
1056
+ get:function(){return this.isValid?this.values.seconds||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"milliseconds",{
1057
+ /**
1058
+ * Get the milliseconds.
1059
+ * @return {number}
1060
+ */
1061
+ get:function(){return this.isValid?this.values.milliseconds||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isValid",{
1062
+ /**
1063
+ * Returns whether the Duration is invalid. Invalid durations are returned by diff operations
1064
+ * on invalid DateTimes or Intervals.
1065
+ * @return {boolean}
1066
+ */
1067
+ get:function(){return this.invalid===null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"invalidReason",{
1068
+ /**
1069
+ * Returns an error code if this Duration became invalid, or null if the Duration is valid
1070
+ * @return {string}
1071
+ */
1072
+ get:function(){return this.invalid?this.invalid.reason:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"invalidExplanation",{
1073
+ /**
1074
+ * Returns an explanation of why this Duration became invalid, or null if the Duration is valid
1075
+ * @type {string}
1076
+ */
1077
+ get:function(){return this.invalid?this.invalid.explanation:null},enumerable:false,configurable:true});
1078
+ /**
1079
+ * Equality check
1080
+ * Two Durations are equal iff they have the same units and the same values for each unit.
1081
+ * @param {Duration} other
1082
+ * @return {boolean}
1083
+ */e.prototype.equals=function(e){if(!this.isValid||!e.isValid){return false}if(!this.loc.equals(e.loc)){return false}function n(e,n){
1084
+ // Consider 0 and undefined as equal
1085
+ if(e===undefined||e===0)return n===undefined||n===0;return e===n}for(var t=0,r=orderedUnits$1;t<r.length;t++){var i=r[t];if(!n(this.values[i],e.values[i])){return false}}return true};return e}();var INVALID$1="Invalid Interval";
1086
+ // checks if the start is equal to or before the end
1087
+ function validateStartEnd(e,n){if(!e||!e.isValid){return Interval.invalid("missing or invalid start")}else if(!n||!n.isValid){return Interval.invalid("missing or invalid end")}else if(n<e){return Interval.invalid("end before start","The end of an interval must be after its start, but you had start=".concat(e.toISO()," and end=").concat(n.toISO()))}else{return null}}
1088
+ /**
1089
+ * An Interval object represents a half-open interval of time, where each endpoint is a {@link DateTime}. Conceptually, it's a container for those two endpoints, accompanied by methods for creating, parsing, interrogating, comparing, transforming, and formatting them.
1090
+ *
1091
+ * Here is a brief overview of the most commonly used methods and getters in Interval:
1092
+ *
1093
+ * * **Creation** To create an Interval, use {@link Interval.fromDateTimes}, {@link Interval.after}, {@link Interval.before}, or {@link Interval.fromISO}.
1094
+ * * **Accessors** Use {@link Interval#start} and {@link Interval#end} to get the start and end.
1095
+ * * **Interrogation** To analyze the Interval, use {@link Interval#count}, {@link Interval#length}, {@link Interval#hasSame}, {@link Interval#contains}, {@link Interval#isAfter}, or {@link Interval#isBefore}.
1096
+ * * **Transformation** To create other Intervals out of this one, use {@link Interval#set}, {@link Interval#splitAt}, {@link Interval#splitBy}, {@link Interval#divideEqually}, {@link Interval.merge}, {@link Interval.xor}, {@link Interval#union}, {@link Interval#intersection}, or {@link Interval#difference}.
1097
+ * * **Comparison** To compare this Interval to another one, use {@link Interval#equals}, {@link Interval#overlaps}, {@link Interval#abutsStart}, {@link Interval#abutsEnd}, {@link Interval#engulfs}
1098
+ * * **Output** To convert the Interval into other representations, see {@link Interval#toString}, {@link Interval#toLocaleString}, {@link Interval#toISO}, {@link Interval#toISODate}, {@link Interval#toISOTime}, {@link Interval#toFormat}, and {@link Interval#toDuration}.
1099
+ */var Interval=/** @class */function(){
1100
+ /**
1101
+ * @private
1102
+ */
1103
+ function e(e){
1104
+ /**
1105
+ * @access private
1106
+ */
1107
+ this.s=e.start;
1108
+ /**
1109
+ * @access private
1110
+ */this.e=e.end;
1111
+ /**
1112
+ * @access private
1113
+ */this.invalid=e.invalid||null;
1114
+ /**
1115
+ * @access private
1116
+ */this.isLuxonInterval=true}
1117
+ /**
1118
+ * Create an invalid Interval.
1119
+ * @param {string} reason - simple string of why this Interval is invalid. Should not contain parameters or anything else data-dependent
1120
+ * @param {string} [explanation=null] - longer explanation, may include parameters and other useful debugging information
1121
+ * @return {Interval}
1122
+ */e.invalid=function(n,t){if(t===void 0){t=null}if(!n){throw new InvalidArgumentError("need to specify a reason the Interval is invalid")}var r=n instanceof Invalid?n:new Invalid(n,t);if(Settings.throwOnInvalid){throw new InvalidIntervalError(r)}else{return new e({invalid:r})}};
1123
+ /**
1124
+ * Create an Interval from a start DateTime and an end DateTime. Inclusive of the start but not the end.
1125
+ * @param {DateTime|Date|Object} start
1126
+ * @param {DateTime|Date|Object} end
1127
+ * @return {Interval}
1128
+ */e.fromDateTimes=function(n,t){var r=friendlyDateTime(n),i=friendlyDateTime(t);var a=validateStartEnd(r,i);if(a==null){return new e({start:r,end:i})}else{return a}};
1129
+ /**
1130
+ * Create an Interval from a start DateTime and a Duration to extend to.
1131
+ * @param {DateTime|Date|Object} start
1132
+ * @param {Duration|Object|number} duration - the length of the Interval.
1133
+ * @return {Interval}
1134
+ */e.after=function(n,t){var r=Duration.fromDurationLike(t),i=friendlyDateTime(n);return e.fromDateTimes(i,i.plus(r))};
1135
+ /**
1136
+ * Create an Interval from an end DateTime and a Duration to extend backwards to.
1137
+ * @param {DateTime|Date|Object} end
1138
+ * @param {Duration|Object|number} duration - the length of the Interval.
1139
+ * @return {Interval}
1140
+ */e.before=function(n,t){var r=Duration.fromDurationLike(t),i=friendlyDateTime(n);return e.fromDateTimes(i.minus(r),i)};
1141
+ /**
1142
+ * Create an Interval from an ISO 8601 string.
1143
+ * Accepts `<start>/<end>`, `<start>/<duration>`, and `<duration>/<end>` formats.
1144
+ * @param {string} text - the ISO string to parse
1145
+ * @param {Object} [opts] - options to pass {@link DateTime#fromISO} and optionally {@link Duration#fromISO}
1146
+ * @see https://en.wikipedia.org/wiki/ISO_8601#Time_intervals
1147
+ * @return {Interval}
1148
+ */e.fromISO=function(n,t){var r=(n||"").split("/",2),i=r[0],a=r[1];if(i&&a){var u=void 0,s=void 0;try{u=DateTime.fromISO(i,t);s=u.isValid}catch(a){s=false}var o=void 0,f=void 0;try{o=DateTime.fromISO(a,t);f=o.isValid}catch(a){f=false}if(s&&f){return e.fromDateTimes(u,o)}if(s){var l=Duration.fromISO(a,t);if(l.isValid){return e.after(u,l)}}else if(f){var l=Duration.fromISO(i,t);if(l.isValid){return e.before(o,l)}}}return e.invalid("unparsable",'the input "'.concat(n,"\" can't be parsed as ISO 8601"))};
1149
+ /**
1150
+ * Check if an object is an Interval. Works across context boundaries
1151
+ * @param {object} o
1152
+ * @return {boolean}
1153
+ */e.isInterval=function(e){return e&&e.isLuxonInterval||false};Object.defineProperty(e.prototype,"start",{
1154
+ /**
1155
+ * Returns the start of the Interval
1156
+ * @type {DateTime}
1157
+ */
1158
+ get:function(){return this.isValid?this.s:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"end",{
1159
+ /**
1160
+ * Returns the end of the Interval
1161
+ * @type {DateTime}
1162
+ */
1163
+ get:function(){return this.isValid?this.e:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"lastDateTime",{
1164
+ /**
1165
+ * Returns the last DateTime included in the interval (since end is not part of the interval)
1166
+ * @type {DateTime}
1167
+ */
1168
+ get:function(){return this.isValid?this.e?this.e.minus(1):null:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isValid",{
1169
+ /**
1170
+ * Returns whether this Interval's end is at least its start, meaning that the Interval isn't 'backwards'.
1171
+ * @type {boolean}
1172
+ */
1173
+ get:function(){return this.invalidReason===null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"invalidReason",{
1174
+ /**
1175
+ * Returns an error code if this Interval is invalid, or null if the Interval is valid
1176
+ * @type {string}
1177
+ */
1178
+ get:function(){return this.invalid?this.invalid.reason:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"invalidExplanation",{
1179
+ /**
1180
+ * Returns an explanation of why this Interval became invalid, or null if the Interval is valid
1181
+ * @type {string}
1182
+ */
1183
+ get:function(){return this.invalid?this.invalid.explanation:null},enumerable:false,configurable:true});
1184
+ /**
1185
+ * Returns the length of the Interval in the specified unit.
1186
+ * @param {string} unit - the unit (such as 'hours' or 'days') to return the length in.
1187
+ * @return {number}
1188
+ */e.prototype.length=function(e){if(e===void 0){e="milliseconds"}return this.isValid?this.toDuration.apply(this,[e]).get(e):NaN};
1189
+ /**
1190
+ * Returns the count of minutes, hours, days, months, or years included in the Interval, even in part.
1191
+ * Unlike {@link Interval#length} this counts sections of the calendar, not periods of time, e.g. specifying 'day'
1192
+ * asks 'what dates are included in this interval?', not 'how many days long is this interval?'
1193
+ * @param {string} [unit='milliseconds'] - the unit of time to count.
1194
+ * @param {Object} opts - options
1195
+ * @param {boolean} [opts.useLocaleWeeks=false] - If true, use weeks based on the locale, i.e. use the locale-dependent start of the week; this operation will always use the locale of the start DateTime
1196
+ * @return {number}
1197
+ */e.prototype.count=function(e,n){if(e===void 0){e="milliseconds"}if(!this.isValid)return NaN;var t=this.start.startOf(e,n);var r;if(n===null||n===void 0?void 0:n.useLocaleWeeks){r=this.end.reconfigure({locale:t.locale})}else{r=this.end}r=r.startOf(e,n);return Math.floor(r.diff(t,e).get(e))+(r.valueOf()!==this.end.valueOf())};
1198
+ /**
1199
+ * Returns whether this Interval's start and end are both in the same unit of time
1200
+ * @param {string} unit - the unit of time to check sameness on
1201
+ * @return {boolean}
1202
+ */e.prototype.hasSame=function(e){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,e):false};
1203
+ /**
1204
+ * Return whether this Interval has the same start and end DateTimes.
1205
+ * @return {boolean}
1206
+ */e.prototype.isEmpty=function(){return this.s.valueOf()===this.e.valueOf()};
1207
+ /**
1208
+ * Return whether this Interval's start is after the specified DateTime.
1209
+ * @param {DateTime} dateTime
1210
+ * @return {boolean}
1211
+ */e.prototype.isAfter=function(e){if(!this.isValid)return false;return this.s>e};
1212
+ /**
1213
+ * Return whether this Interval's end is before the specified DateTime.
1214
+ * @param {DateTime} dateTime
1215
+ * @return {boolean}
1216
+ */e.prototype.isBefore=function(e){if(!this.isValid)return false;return this.e<=e};
1217
+ /**
1218
+ * Return whether this Interval contains the specified DateTime.
1219
+ * @param {DateTime} dateTime
1220
+ * @return {boolean}
1221
+ */e.prototype.contains=function(e){if(!this.isValid)return false;return this.s<=e&&this.e>e};
1222
+ /**
1223
+ * "Sets" the start and/or end dates. Returns a newly-constructed Interval.
1224
+ * @param {Object} values - the values to set
1225
+ * @param {DateTime} values.start - the starting DateTime
1226
+ * @param {DateTime} values.end - the ending DateTime
1227
+ * @return {Interval}
1228
+ */e.prototype.set=function(n){var t=n===void 0?{}:n,r=t.start,i=t.end;if(!this.isValid)return this;return e.fromDateTimes(r||this.s,i||this.e)};
1229
+ /**
1230
+ * Split this Interval at each of the specified DateTimes
1231
+ * @param {...DateTime} dateTimes - the unit of time to count.
1232
+ * @return {Array}
1233
+ */e.prototype.splitAt=function(){var n=this;var t=[];for(var r=0;r<arguments.length;r++){t[r]=arguments[r]}if(!this.isValid)return[];var i=t.map(friendlyDateTime).filter((function(e){return n.contains(e)})).sort((function(e,n){return e.toMillis()-n.toMillis()})),a=[];var u=this.s,s=0;while(u<this.e){var o=i[s]||this.e,f=+o>+this.e?this.e:o;a.push(e.fromDateTimes(u,f));u=f;s+=1}return a};
1234
+ /**
1235
+ * Split this Interval into smaller Intervals, each of the specified length.
1236
+ * Left over time is grouped into a smaller interval
1237
+ * @param {Duration|Object|number} duration - The length of each resulting interval.
1238
+ * @return {Array}
1239
+ */e.prototype.splitBy=function(n){var t=Duration.fromDurationLike(n);if(!this.isValid||!t.isValid||t.as("milliseconds")===0){return[]}var r=this.s,i=1,a;var u=[];while(r<this.e){var s=this.start.plus(t.mapUnits((function(e){return e*i})));a=+s>+this.e?this.e:s;u.push(e.fromDateTimes(r,a));r=a;i+=1}return u};
1240
+ /**
1241
+ * Split this Interval into the specified number of smaller intervals.
1242
+ * @param {number} numberOfParts - The number of Intervals to divide the Interval into.
1243
+ * @return {Array}
1244
+ */e.prototype.divideEqually=function(e){if(!this.isValid)return[];return this.splitBy(this.length()/e).slice(0,e)};
1245
+ /**
1246
+ * Return whether this Interval overlaps with the specified Interval
1247
+ * @param {Interval} other
1248
+ * @return {boolean}
1249
+ */e.prototype.overlaps=function(e){return this.e>e.s&&this.s<e.e};
1250
+ /**
1251
+ * Return whether this Interval's end is adjacent to the specified Interval's start.
1252
+ * @param {Interval} other
1253
+ * @return {boolean}
1254
+ */e.prototype.abutsStart=function(e){if(!this.isValid)return false;return+this.e===+e.s};
1255
+ /**
1256
+ * Return whether this Interval's start is adjacent to the specified Interval's end.
1257
+ * @param {Interval} other
1258
+ * @return {boolean}
1259
+ */e.prototype.abutsEnd=function(e){if(!this.isValid)return false;return+e.e===+this.s};
1260
+ /**
1261
+ * Returns true if this Interval fully contains the specified Interval, specifically if the intersect (of this Interval and the other Interval) is equal to the other Interval; false otherwise.
1262
+ * @param {Interval} other
1263
+ * @return {boolean}
1264
+ */e.prototype.engulfs=function(e){if(!this.isValid)return false;return this.s<=e.s&&this.e>=e.e};
1265
+ /**
1266
+ * Return whether this Interval has the same start and end as the specified Interval.
1267
+ * @param {Interval} other
1268
+ * @return {boolean}
1269
+ */e.prototype.equals=function(e){if(!this.isValid||!e.isValid){return false}return this.s.equals(e.s)&&this.e.equals(e.e)};
1270
+ /**
1271
+ * Return an Interval representing the intersection of this Interval and the specified Interval.
1272
+ * Specifically, the resulting Interval has the maximum start time and the minimum end time of the two Intervals.
1273
+ * Returns null if the intersection is empty, meaning, the intervals don't intersect.
1274
+ * @param {Interval} other
1275
+ * @return {Interval}
1276
+ */e.prototype.intersection=function(n){if(!this.isValid)return this;var t=this.s>n.s?this.s:n.s,r=this.e<n.e?this.e:n.e;if(t>=r){return null}else{return e.fromDateTimes(t,r)}};
1277
+ /**
1278
+ * Return an Interval representing the union of this Interval and the specified Interval.
1279
+ * Specifically, the resulting Interval has the minimum start time and the maximum end time of the two Intervals.
1280
+ * @param {Interval} other
1281
+ * @return {Interval}
1282
+ */e.prototype.union=function(n){if(!this.isValid)return this;var t=this.s<n.s?this.s:n.s,r=this.e>n.e?this.e:n.e;return e.fromDateTimes(t,r)};
1283
+ /**
1284
+ * Merge an array of Intervals into an equivalent minimal set of Intervals.
1285
+ * Combines overlapping and adjacent Intervals.
1286
+ * The resulting array will contain the Intervals in ascending order, that is, starting with the earliest Interval
1287
+ * and ending with the latest.
1288
+ *
1289
+ * @param {Array} intervals
1290
+ * @return {Array}
1291
+ */e.merge=function(e){var n=e.sort((function(e,n){return e.s-n.s})).reduce((function(e,n){var t=e[0],r=e[1];if(!r){return[t,n]}else if(r.overlaps(n)||r.abutsStart(n)){return[t,r.union(n)]}else{return[t.concat([r]),n]}}),[[],null]),t=n[0],r=n[1];if(r){t.push(r)}return t};
1292
+ /**
1293
+ * Return an array of Intervals representing the spans of time that only appear in one of the specified Intervals.
1294
+ * @param {Array} intervals
1295
+ * @return {Array}
1296
+ */e.xor=function(n){var t;var r=null,i=0;var a=[],u=n.map((function(e){return[{time:e.s,type:"s"},{time:e.e,type:"e"}]})),s=(t=Array.prototype).concat.apply(t,u),o=s.sort((function(e,n){return e.time-n.time}));for(var f=0,l=o;f<l.length;f++){var c=l[f];i+=c.type==="s"?1:-1;if(i===1){r=c.time}else{if(r&&+r!==+c.time){a.push(e.fromDateTimes(r,c.time))}r=null}}return e.merge(a)};
1297
+ /**
1298
+ * Return an Interval representing the span of time in this Interval that doesn't overlap with any of the specified Intervals.
1299
+ * @param {...Interval} intervals
1300
+ * @return {Array}
1301
+ */e.prototype.difference=function(){var n=this;var t=[];for(var r=0;r<arguments.length;r++){t[r]=arguments[r]}return e.xor([this].concat(t)).map((function(e){return n.intersection(e)})).filter((function(e){return e&&!e.isEmpty()}))};
1302
+ /**
1303
+ * Returns a string representation of this Interval appropriate for debugging.
1304
+ * @return {string}
1305
+ */e.prototype.toString=function(){if(!this.isValid)return INVALID$1;return"[".concat(this.s.toISO()," – ").concat(this.e.toISO(),")")};
1306
+ /**
1307
+ * Returns a string representation of this Interval appropriate for the REPL.
1308
+ * @return {string}
1309
+ */e.prototype[Symbol.for("nodejs.util.inspect.custom")]=function(){if(this.isValid){return"Interval { start: ".concat(this.s.toISO(),", end: ").concat(this.e.toISO()," }")}else{return"Interval { Invalid, reason: ".concat(this.invalidReason," }")}};
1310
+ /**
1311
+ * Returns a localized string representing this Interval. Accepts the same options as the
1312
+ * Intl.DateTimeFormat constructor and any presets defined by Luxon, such as
1313
+ * {@link DateTime.DATE_FULL} or {@link DateTime.TIME_SIMPLE}. The exact behavior of this method
1314
+ * is browser-specific, but in general it will return an appropriate representation of the
1315
+ * Interval in the assigned locale. Defaults to the system's locale if no locale has been
1316
+ * specified.
1317
+ * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat
1318
+ * @param {Object} [formatOpts=DateTime.DATE_SHORT] - Either a DateTime preset or
1319
+ * Intl.DateTimeFormat constructor options.
1320
+ * @param {Object} opts - Options to override the configuration of the start DateTime.
1321
+ * @example Interval.fromISO('2022-11-07T09:00Z/2022-11-08T09:00Z').toLocaleString(); //=> 11/7/2022 – 11/8/2022
1322
+ * @example Interval.fromISO('2022-11-07T09:00Z/2022-11-08T09:00Z').toLocaleString(DateTime.DATE_FULL); //=> November 7 – 8, 2022
1323
+ * @example Interval.fromISO('2022-11-07T09:00Z/2022-11-08T09:00Z').toLocaleString(DateTime.DATE_FULL, { locale: 'fr-FR' }); //=> 7–8 novembre 2022
1324
+ * @example Interval.fromISO('2022-11-07T17:00Z/2022-11-07T19:00Z').toLocaleString(DateTime.TIME_SIMPLE); //=> 6:00 – 8:00 PM
1325
+ * @example Interval.fromISO('2022-11-07T17:00Z/2022-11-07T19:00Z').toLocaleString({ weekday: 'short', month: 'short', day: '2-digit', hour: '2-digit', minute: '2-digit' }); //=> Mon, Nov 07, 6:00 – 8:00 p
1326
+ * @return {string}
1327
+ */e.prototype.toLocaleString=function(e,n){if(e===void 0){e=DATE_SHORT}if(n===void 0){n={}}return this.isValid?Formatter.create(this.s.loc.clone(n),e).formatInterval(this):INVALID$1};
1328
+ /**
1329
+ * Returns an ISO 8601-compliant string representation of this Interval.
1330
+ * @see https://en.wikipedia.org/wiki/ISO_8601#Time_intervals
1331
+ * @param {Object} opts - The same options as {@link DateTime#toISO}
1332
+ * @return {string}
1333
+ */e.prototype.toISO=function(e){if(!this.isValid)return INVALID$1;return"".concat(this.s.toISO(e),"/").concat(this.e.toISO(e))};
1334
+ /**
1335
+ * Returns an ISO 8601-compliant string representation of date of this Interval.
1336
+ * The time components are ignored.
1337
+ * @see https://en.wikipedia.org/wiki/ISO_8601#Time_intervals
1338
+ * @return {string}
1339
+ */e.prototype.toISODate=function(){if(!this.isValid)return INVALID$1;return"".concat(this.s.toISODate(),"/").concat(this.e.toISODate())};
1340
+ /**
1341
+ * Returns an ISO 8601-compliant string representation of time of this Interval.
1342
+ * The date components are ignored.
1343
+ * @see https://en.wikipedia.org/wiki/ISO_8601#Time_intervals
1344
+ * @param {Object} opts - The same options as {@link DateTime#toISO}
1345
+ * @return {string}
1346
+ */e.prototype.toISOTime=function(e){if(!this.isValid)return INVALID$1;return"".concat(this.s.toISOTime(e),"/").concat(this.e.toISOTime(e))};
1347
+ /**
1348
+ * Returns a string representation of this Interval formatted according to the specified format
1349
+ * string. **You may not want this.** See {@link Interval#toLocaleString} for a more flexible
1350
+ * formatting tool.
1351
+ * @param {string} dateFormat - The format string. This string formats the start and end time.
1352
+ * See {@link DateTime#toFormat} for details.
1353
+ * @param {Object} opts - Options.
1354
+ * @param {string} [opts.separator = ' – '] - A separator to place between the start and end
1355
+ * representations.
1356
+ * @return {string}
1357
+ */e.prototype.toFormat=function(e,n){var t=n===void 0?{}:n,r=t.separator,i=r===void 0?" – ":r;if(!this.isValid)return INVALID$1;return"".concat(this.s.toFormat(e)).concat(i).concat(this.e.toFormat(e))};
1358
+ /**
1359
+ * Return a Duration representing the time spanned by this interval.
1360
+ * @param {string|string[]} [unit=['milliseconds']] - the unit or units (such as 'hours' or 'days') to include in the duration.
1361
+ * @param {Object} opts - options that affect the creation of the Duration
1362
+ * @param {string} [opts.conversionAccuracy='casual'] - the conversion system to use
1363
+ * @example Interval.fromDateTimes(dt1, dt2).toDuration().toObject() //=> { milliseconds: 88489257 }
1364
+ * @example Interval.fromDateTimes(dt1, dt2).toDuration('days').toObject() //=> { days: 1.0241812152777778 }
1365
+ * @example Interval.fromDateTimes(dt1, dt2).toDuration(['hours', 'minutes']).toObject() //=> { hours: 24, minutes: 34.82095 }
1366
+ * @example Interval.fromDateTimes(dt1, dt2).toDuration(['hours', 'minutes', 'seconds']).toObject() //=> { hours: 24, minutes: 34, seconds: 49.257 }
1367
+ * @example Interval.fromDateTimes(dt1, dt2).toDuration('seconds').toObject() //=> { seconds: 88489.257 }
1368
+ * @return {Duration}
1369
+ */e.prototype.toDuration=function(e,n){if(!this.isValid){return Duration.invalid(this.invalidReason)}return this.e.diff(this.s,e,n)};
1370
+ /**
1371
+ * Run mapFn on the interval start and end, returning a new Interval from the resulting DateTimes
1372
+ * @param {function} mapFn
1373
+ * @return {Interval}
1374
+ * @example Interval.fromDateTimes(dt1, dt2).mapEndpoints(endpoint => endpoint.toUTC())
1375
+ * @example Interval.fromDateTimes(dt1, dt2).mapEndpoints(endpoint => endpoint.plus({ hours: 2 }))
1376
+ */e.prototype.mapEndpoints=function(n){return e.fromDateTimes(n(this.s),n(this.e))};return e}();
1377
+ /**
1378
+ * The Info class contains static methods for retrieving general time and date related data. For example, it has methods for finding out if a time zone has a DST, for listing the months in any supported locale, and for discovering which of Luxon features are available in the current environment.
1379
+ */var Info=/** @class */function(){function e(){}
1380
+ /**
1381
+ * Return whether the specified zone contains a DST.
1382
+ * @param {string|Zone} [zone='local'] - Zone to check. Defaults to the environment's local zone.
1383
+ * @return {boolean}
1384
+ */e.hasDST=function(e){if(e===void 0){e=Settings.defaultZone}var n=DateTime.now().setZone(e).set({month:12});return!e.isUniversal&&n.offset!==n.set({month:6}).offset};
1385
+ /**
1386
+ * Return whether the specified zone is a valid IANA specifier.
1387
+ * @param {string} zone - Zone to check
1388
+ * @return {boolean}
1389
+ */e.isValidIANAZone=function(e){return IANAZone.isValidZone(e)};
1390
+ /**
1391
+ * Converts the input into a {@link Zone} instance.
1392
+ *
1393
+ * * If `input` is already a Zone instance, it is returned unchanged.
1394
+ * * If `input` is a string containing a valid time zone name, a Zone instance
1395
+ * with that name is returned.
1396
+ * * If `input` is a string that doesn't refer to a known time zone, a Zone
1397
+ * instance with {@link Zone#isValid} == false is returned.
1398
+ * * If `input is a number, a Zone instance with the specified fixed offset
1399
+ * in minutes is returned.
1400
+ * * If `input` is `null` or `undefined`, the default zone is returned.
1401
+ * @param {string|Zone|number} [input] - the value to be converted
1402
+ * @return {Zone}
1403
+ */e.normalizeZone=function(e){return normalizeZone(e,Settings.defaultZone)};
1404
+ /**
1405
+ * Get the weekday on which the week starts according to the given locale.
1406
+ * @param {Object} opts - options
1407
+ * @param {string} [opts.locale] - the locale code
1408
+ * @param {string} [opts.locObj=null] - an existing locale object to use
1409
+ * @returns {number} the start of the week, 1 for Monday through 7 for Sunday
1410
+ */e.getStartOfWeek=function(e){var n=e===void 0?{}:e,t=n.locale,r=t===void 0?null:t,i=n.locObj,a=i===void 0?null:i;return(a||Locale.create(r)).getStartOfWeek()};
1411
+ /**
1412
+ * Get the minimum number of days necessary in a week before it is considered part of the next year according
1413
+ * to the given locale.
1414
+ * @param {Object} opts - options
1415
+ * @param {string} [opts.locale] - the locale code
1416
+ * @param {string} [opts.locObj=null] - an existing locale object to use
1417
+ * @returns {number}
1418
+ */e.getMinimumDaysInFirstWeek=function(e){var n=e===void 0?{}:e,t=n.locale,r=t===void 0?null:t,i=n.locObj,a=i===void 0?null:i;return(a||Locale.create(r)).getMinDaysInFirstWeek()};
1419
+ /**
1420
+ * Get the weekdays, which are considered the weekend according to the given locale
1421
+ * @param {Object} opts - options
1422
+ * @param {string} [opts.locale] - the locale code
1423
+ * @param {string} [opts.locObj=null] - an existing locale object to use
1424
+ * @returns {number[]} an array of weekdays, 1 for Monday through 7 for Sunday
1425
+ */e.getWeekendWeekdays=function(e){var n=e===void 0?{}:e,t=n.locale,r=t===void 0?null:t,i=n.locObj,a=i===void 0?null:i;
1426
+ // copy the array, because we cache it internally
1427
+ return(a||Locale.create(r)).getWeekendDays().slice()};
1428
+ /**
1429
+ * Return an array of standalone month names.
1430
+ * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat
1431
+ * @param {string} [length='long'] - the length of the month representation, such as "numeric", "2-digit", "narrow", "short", "long"
1432
+ * @param {Object} opts - options
1433
+ * @param {string} [opts.locale] - the locale code
1434
+ * @param {string} [opts.numberingSystem=null] - the numbering system
1435
+ * @param {string} [opts.locObj=null] - an existing locale object to use
1436
+ * @param {string} [opts.outputCalendar='gregory'] - the calendar
1437
+ * @example Info.months()[0] //=> 'January'
1438
+ * @example Info.months('short')[0] //=> 'Jan'
1439
+ * @example Info.months('numeric')[0] //=> '1'
1440
+ * @example Info.months('short', { locale: 'fr-CA' } )[0] //=> 'janv.'
1441
+ * @example Info.months('numeric', { locale: 'ar' })[0] //=> '١'
1442
+ * @example Info.months('long', { outputCalendar: 'islamic' })[0] //=> 'Rabiʻ I'
1443
+ * @return {Array}
1444
+ */e.months=function(e,n){if(e===void 0){e="long"}var t=n===void 0?{}:n,r=t.locale,i=r===void 0?null:r,a=t.numberingSystem,u=a===void 0?null:a,s=t.locObj,o=s===void 0?null:s,f=t.outputCalendar,l=f===void 0?"gregory":f;return(o||Locale.create(i,u,l)).months(e)};
1445
+ /**
1446
+ * Return an array of format month names.
1447
+ * Format months differ from standalone months in that they're meant to appear next to the day of the month. In some languages, that
1448
+ * changes the string.
1449
+ * See {@link Info#months}
1450
+ * @param {string} [length='long'] - the length of the month representation, such as "numeric", "2-digit", "narrow", "short", "long"
1451
+ * @param {Object} opts - options
1452
+ * @param {string} [opts.locale] - the locale code
1453
+ * @param {string} [opts.numberingSystem=null] - the numbering system
1454
+ * @param {string} [opts.locObj=null] - an existing locale object to use
1455
+ * @param {string} [opts.outputCalendar='gregory'] - the calendar
1456
+ * @return {Array}
1457
+ */e.monthsFormat=function(e,n){if(e===void 0){e="long"}var t=n===void 0?{}:n,r=t.locale,i=r===void 0?null:r,a=t.numberingSystem,u=a===void 0?null:a,s=t.locObj,o=s===void 0?null:s,f=t.outputCalendar,l=f===void 0?"gregory":f;return(o||Locale.create(i,u,l)).months(e,true)};
1458
+ /**
1459
+ * Return an array of standalone week names.
1460
+ * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat
1461
+ * @param {string} [length='long'] - the length of the weekday representation, such as "narrow", "short", "long".
1462
+ * @param {Object} opts - options
1463
+ * @param {string} [opts.locale] - the locale code
1464
+ * @param {string} [opts.numberingSystem=null] - the numbering system
1465
+ * @param {string} [opts.locObj=null] - an existing locale object to use
1466
+ * @example Info.weekdays()[0] //=> 'Monday'
1467
+ * @example Info.weekdays('short')[0] //=> 'Mon'
1468
+ * @example Info.weekdays('short', { locale: 'fr-CA' })[0] //=> 'lun.'
1469
+ * @example Info.weekdays('short', { locale: 'ar' })[0] //=> 'الاثنين'
1470
+ * @return {Array}
1471
+ */e.weekdays=function(e,n){if(e===void 0){e="long"}var t=n===void 0?{}:n,r=t.locale,i=r===void 0?null:r,a=t.numberingSystem,u=a===void 0?null:a,s=t.locObj,o=s===void 0?null:s;return(o||Locale.create(i,u,null)).weekdays(e)};
1472
+ /**
1473
+ * Return an array of format week names.
1474
+ * Format weekdays differ from standalone weekdays in that they're meant to appear next to more date information. In some languages, that
1475
+ * changes the string.
1476
+ * See {@link Info#weekdays}
1477
+ * @param {string} [length='long'] - the length of the month representation, such as "narrow", "short", "long".
1478
+ * @param {Object} opts - options
1479
+ * @param {string} [opts.locale=null] - the locale code
1480
+ * @param {string} [opts.numberingSystem=null] - the numbering system
1481
+ * @param {string} [opts.locObj=null] - an existing locale object to use
1482
+ * @return {Array}
1483
+ */e.weekdaysFormat=function(e,n){if(e===void 0){e="long"}var t=n===void 0?{}:n,r=t.locale,i=r===void 0?null:r,a=t.numberingSystem,u=a===void 0?null:a,s=t.locObj,o=s===void 0?null:s;return(o||Locale.create(i,u,null)).weekdays(e,true)};
1484
+ /**
1485
+ * Return an array of meridiems.
1486
+ * @param {Object} opts - options
1487
+ * @param {string} [opts.locale] - the locale code
1488
+ * @example Info.meridiems() //=> [ 'AM', 'PM' ]
1489
+ * @example Info.meridiems({ locale: 'my' }) //=> [ 'နံနက်', 'ညနေ' ]
1490
+ * @return {Array}
1491
+ */e.meridiems=function(e){var n=e===void 0?{}:e,t=n.locale,r=t===void 0?null:t;return Locale.create(r).meridiems()};
1492
+ /**
1493
+ * Return an array of eras, such as ['BC', 'AD']. The locale can be specified, but the calendar system is always Gregorian.
1494
+ * @param {string} [length='short'] - the length of the era representation, such as "short" or "long".
1495
+ * @param {Object} opts - options
1496
+ * @param {string} [opts.locale] - the locale code
1497
+ * @example Info.eras() //=> [ 'BC', 'AD' ]
1498
+ * @example Info.eras('long') //=> [ 'Before Christ', 'Anno Domini' ]
1499
+ * @example Info.eras('long', { locale: 'fr' }) //=> [ 'avant Jésus-Christ', 'après Jésus-Christ' ]
1500
+ * @return {Array}
1501
+ */e.eras=function(e,n){if(e===void 0){e="short"}var t=n===void 0?{}:n,r=t.locale,i=r===void 0?null:r;return Locale.create(i,null,"gregory").eras(e)};
1502
+ /**
1503
+ * Return the set of available features in this environment.
1504
+ * Some features of Luxon are not available in all environments. For example, on older browsers, relative time formatting support is not available. Use this function to figure out if that's the case.
1505
+ * Keys:
1506
+ * * `relative`: whether this environment supports relative time formatting
1507
+ * * `localeWeek`: whether this environment supports different weekdays for the start of the week based on the locale
1508
+ * @example Info.features() //=> { relative: false, localeWeek: true }
1509
+ * @return {Object}
1510
+ */e.features=function(){return{relative:hasRelative(),localeWeek:hasLocaleWeekInfo()}};return e}();function dayDiff(e,n){var t=function(e){return e.toUTC(0,{keepLocalTime:true}).startOf("day").valueOf()},r=t(n)-t(e);return Math.floor(Duration.fromMillis(r).as("days"))}function highOrderDiffs(e,n,t){var r=[["years",function(e,n){return n.year-e.year}],["quarters",function(e,n){return n.quarter-e.quarter+(n.year-e.year)*4}],["months",function(e,n){return n.month-e.month+(n.year-e.year)*12}],["weeks",function(e,n){var t=dayDiff(e,n);return(t-t%7)/7}],["days",dayDiff]];var i={};var a=e;var u,s;
1511
+ /* This loop tries to diff using larger units first.
1512
+ If we overshoot, we backtrack and try the next smaller unit.
1513
+ "cursor" starts out at the earlier timestamp and moves closer and closer to "later"
1514
+ as we use smaller and smaller units.
1515
+ highWater keeps track of where we would be if we added one more of the smallest unit,
1516
+ this is used later to potentially convert any difference smaller than the smallest higher order unit
1517
+ into a fraction of that smallest higher order unit
1518
+ */for(var o=0,f=r;o<f.length;o++){var l=f[o],c=l[0],d=l[1];if(t.indexOf(c)>=0){u=c;i[c]=d(e,n);s=a.plus(i);if(s>n){
1519
+ // we overshot the end point, backtrack cursor by 1
1520
+ i[c]--;e=a.plus(i);
1521
+ // if we are still overshooting now, we need to backtrack again
1522
+ // this happens in certain situations when diffing times in different zones,
1523
+ // because this calculation ignores time zones
1524
+ if(e>n){
1525
+ // keep the "overshot by 1" around as highWater
1526
+ s=e;
1527
+ // backtrack cursor by 1
1528
+ i[c]--;e=a.plus(i)}}else{e=s}}}return[e,i,s,u]}function diff(e,n,t,r){var i,a;var u=highOrderDiffs(e,n,t),s=u[0],o=u[1],f=u[2],l=u[3];var c=n-s;var d=t.filter((function(e){return["hours","minutes","seconds","milliseconds"].indexOf(e)>=0}));if(d.length===0){if(f<n){f=s.plus((i={},i[l]=1,i))}if(f!==s){o[l]=(o[l]||0)+c/(f-s)}}var h=Duration.fromObject(o,r);if(d.length>0){return(a=Duration.fromMillis(c,r)).shiftTo.apply(a,d).plus(h)}else{return h}}var MISSING_FTP="missing Intl.DateTimeFormat.formatToParts support";function intUnit(e,n){if(n===void 0){n=function(e){return e}}return{regex:e,deser:function(e){var t=e[0];return n(parseDigits(t))}}}var NBSP=String.fromCharCode(160);var spaceOrNBSP="[ ".concat(NBSP,"]");var spaceOrNBSPRegExp=new RegExp(spaceOrNBSP,"g");function fixListRegex(e){
1529
+ // make dots optional and also make them literal
1530
+ // make space and non breakable space characters interchangeable
1531
+ return e.replace(/\./g,"\\.?").replace(spaceOrNBSPRegExp,spaceOrNBSP)}function stripInsensitivities(e){return e.replace(/\./g,"").replace(spaceOrNBSPRegExp," ").toLowerCase()}function oneOf(e,n){if(e===null){return null}else{return{regex:RegExp(e.map(fixListRegex).join("|")),deser:function(t){var r=t[0];return e.findIndex((function(e){return stripInsensitivities(r)===stripInsensitivities(e)}))+n}}}}function offset(e,n){return{regex:e,deser:function(e){var n=e[1],t=e[2];return signedOffset(n,t)},groups:n}}function simple(e){return{regex:e,deser:function(e){var n=e[0];return n}}}function escapeToken(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}
1532
+ /**
1533
+ * @param token
1534
+ * @param {Locale} loc
1535
+ */function unitForToken(e,n){var t=digitRegex(n),r=digitRegex(n,"{2}"),i=digitRegex(n,"{3}"),a=digitRegex(n,"{4}"),u=digitRegex(n,"{6}"),s=digitRegex(n,"{1,2}"),o=digitRegex(n,"{1,3}"),f=digitRegex(n,"{1,6}"),l=digitRegex(n,"{1,9}"),c=digitRegex(n,"{2,4}"),d=digitRegex(n,"{4,6}"),h=function(e){return{regex:RegExp(escapeToken(e.val)),deser:function(e){var n=e[0];return n},literal:true}},m=function(m){if(e.literal){return h(m)}switch(m.val){
1536
+ // era
1537
+ case"G":return oneOf(n.eras("short"),0);case"GG":return oneOf(n.eras("long"),0);
1538
+ // years
1539
+ case"y":return intUnit(f);case"yy":return intUnit(c,untruncateYear);case"yyyy":return intUnit(a);case"yyyyy":return intUnit(d);case"yyyyyy":return intUnit(u);
1540
+ // months
1541
+ case"M":return intUnit(s);case"MM":return intUnit(r);case"MMM":return oneOf(n.months("short",true),1);case"MMMM":return oneOf(n.months("long",true),1);case"L":return intUnit(s);case"LL":return intUnit(r);case"LLL":return oneOf(n.months("short",false),1);case"LLLL":return oneOf(n.months("long",false),1);
1542
+ // dates
1543
+ case"d":return intUnit(s);case"dd":return intUnit(r);
1544
+ // ordinals
1545
+ case"o":return intUnit(o);case"ooo":return intUnit(i);
1546
+ // time
1547
+ case"HH":return intUnit(r);case"H":return intUnit(s);case"hh":return intUnit(r);case"h":return intUnit(s);case"mm":return intUnit(r);case"m":return intUnit(s);case"q":return intUnit(s);case"qq":return intUnit(r);case"s":return intUnit(s);case"ss":return intUnit(r);case"S":return intUnit(o);case"SSS":return intUnit(i);case"u":return simple(l);case"uu":return simple(s);case"uuu":return intUnit(t);
1548
+ // meridiem
1549
+ case"a":return oneOf(n.meridiems(),0);
1550
+ // weekYear (k)
1551
+ case"kkkk":return intUnit(a);case"kk":return intUnit(c,untruncateYear);
1552
+ // weekNumber (W)
1553
+ case"W":return intUnit(s);case"WW":return intUnit(r);
1554
+ // weekdays
1555
+ case"E":case"c":return intUnit(t);case"EEE":return oneOf(n.weekdays("short",false),1);case"EEEE":return oneOf(n.weekdays("long",false),1);case"ccc":return oneOf(n.weekdays("short",true),1);case"cccc":return oneOf(n.weekdays("long",true),1);
1556
+ // offset/zone
1557
+ case"Z":case"ZZ":return offset(new RegExp("([+-]".concat(s.source,")(?::(").concat(r.source,"))?")),2);case"ZZZ":return offset(new RegExp("([+-]".concat(s.source,")(").concat(r.source,")?")),2);
1558
+ // we don't support ZZZZ (PST) or ZZZZZ (Pacific Standard Time) in parsing
1559
+ // because we don't have any way to figure out what they are
1560
+ case"z":return simple(/[a-z_+-/]{1,256}?/i);
1561
+ // this special-case "token" represents a place where a macro-token expanded into a white-space literal
1562
+ // in this case we accept any non-newline white-space
1563
+ case" ":return simple(/[^\S\n\r]/);default:return h(m)}};var v=m(e)||{invalidReason:MISSING_FTP};v.token=e;return v}var partTypeStyleToTokenVal={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"}};function tokenForPart(e,n,t){var r=e.type,i=e.value;if(r==="literal"){var a=/^\s+$/.test(i);return{literal:!a,val:a?" ":i}}var u=n[r];
1564
+ // The user might have explicitly specified hour12 or hourCycle
1565
+ // if so, respect their decision
1566
+ // if not, refer back to the resolvedOpts, which are based on the locale
1567
+ var s=r;if(r==="hour"){if(n.hour12!=null){s=n.hour12?"hour12":"hour24"}else if(n.hourCycle!=null){if(n.hourCycle==="h11"||n.hourCycle==="h12"){s="hour12"}else{s="hour24"}}else{
1568
+ // tokens only differentiate between 24 hours or not,
1569
+ // so we do not need to check hourCycle here, which is less supported anyways
1570
+ s=t.hour12?"hour12":"hour24"}}var o=partTypeStyleToTokenVal[s];if(typeof o==="object"){o=o[u]}if(o){return{literal:false,val:o}}return undefined}function buildRegex(e){var n=e.map((function(e){return e.regex})).reduce((function(e,n){return"".concat(e,"(").concat(n.source,")")}),"");return["^".concat(n,"$"),e]}function match(e,n,t){var r=e.match(n);if(r){var i={};var a=1;for(var u in t){if(hasOwnProperty(t,u)){var s=t[u],o=s.groups?s.groups+1:1;if(!s.literal&&s.token){i[s.token.val[0]]=s.deser(r.slice(a,a+o))}a+=o}}return[r,i]}else{return[r,{}]}}function dateTimeFromMatches(e){var n=function(e){switch(e){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}};var t=null;var r;if(!isUndefined(e.z)){t=IANAZone.create(e.z)}if(!isUndefined(e.Z)){if(!t){t=new FixedOffsetZone(e.Z)}r=e.Z}if(!isUndefined(e.q)){e.M=(e.q-1)*3+1}if(!isUndefined(e.h)){if(e.h<12&&e.a===1){e.h+=12}else if(e.h===12&&e.a===0){e.h=0}}if(e.G===0&&e.y){e.y=-e.y}if(!isUndefined(e.u)){e.S=parseMillis(e.u)}var i=Object.keys(e).reduce((function(t,r){var i=n(r);if(i){t[i]=e[r]}return t}),{});return[i,t,r]}var dummyDateTimeCache=null;function getDummyDateTime(){if(!dummyDateTimeCache){dummyDateTimeCache=DateTime.fromMillis(1555555555555)}return dummyDateTimeCache}function maybeExpandMacroToken(e,n){if(e.literal){return e}var t=Formatter.macroTokenToFormatOpts(e.val);var r=formatOptsToTokens(t,n);if(r==null||r.includes(undefined)){return e}return r}function expandMacroTokens(e,n){var t;return(t=Array.prototype).concat.apply(t,e.map((function(e){return maybeExpandMacroToken(e,n)})))}
1571
+ /**
1572
+ * @private
1573
+ */var TokenParser=/** @class */function(){function e(e,n){this.locale=e;this.format=n;this.tokens=expandMacroTokens(Formatter.parseFormat(n),e);this.units=this.tokens.map((function(n){return unitForToken(n,e)}));this.disqualifyingUnit=this.units.find((function(e){return e.invalidReason}));if(!this.disqualifyingUnit){var t=buildRegex(this.units),r=t[0],i=t[1];this.regex=RegExp(r,"i");this.handlers=i}}e.prototype.explainFromTokens=function(e){if(!this.isValid){return{input:e,tokens:this.tokens,invalidReason:this.invalidReason}}else{var n=match(e,this.regex,this.handlers),t=n[0],r=n[1],i=r?dateTimeFromMatches(r):[null,null,undefined],a=i[0],u=i[1],s=i[2];if(hasOwnProperty(r,"a")&&hasOwnProperty(r,"H")){throw new ConflictingSpecificationError("Can't include meridiem when specifying 24-hour format")}return{input:e,tokens:this.tokens,regex:this.regex,rawMatches:t,matches:r,result:a,zone:u,specificOffset:s}}};Object.defineProperty(e.prototype,"isValid",{get:function(){return!this.disqualifyingUnit},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"invalidReason",{get:function(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null},enumerable:false,configurable:true});return e}();function explainFromTokens(e,n,t){var r=new TokenParser(e,t);return r.explainFromTokens(n)}function parseFromTokens(e,n,t){var r=explainFromTokens(e,n,t),i=r.result,a=r.zone,u=r.specificOffset,s=r.invalidReason;return[i,a,u,s]}function formatOptsToTokens(e,n){if(!e){return null}var t=Formatter.create(n,e);var r=t.dtFormatter(getDummyDateTime());var i=r.formatToParts();var a=r.resolvedOptions();return i.map((function(n){return tokenForPart(n,e,a)}))}var INVALID="Invalid DateTime";var MAX_DATE=864e13;function unsupportedZone(e){return new Invalid("unsupported zone",'the zone "'.concat(e.name,'" is not supported'))}
1574
+ // we cache week data on the DT object and this intermediates the cache
1575
+ /**
1576
+ * @param {DateTime} dt
1577
+ */function possiblyCachedWeekData(e){if(e.weekData===null){e.weekData=gregorianToWeek(e.c)}return e.weekData}
1578
+ /**
1579
+ * @param {DateTime} dt
1580
+ */function possiblyCachedLocalWeekData(e){if(e.localWeekData===null){e.localWeekData=gregorianToWeek(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())}return e.localWeekData}
1581
+ // clone really means, "make a new object with these modifications". all "setters" really use this
1582
+ // to create a new object while only changing some of the properties
1583
+ function clone(e,n){var t={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new DateTime(__assign(__assign(__assign({},t),n),{old:t}))}
1584
+ // find the right offset a given local time. The o input is our guess, which determines which
1585
+ // offset we'll pick in ambiguous cases (e.g. there are two 3 AMs b/c Fallback DST)
1586
+ function fixOffset(e,n,t){
1587
+ // Our UTC time is just a guess because our offset is just a guess
1588
+ var r=e-n*60*1e3;
1589
+ // Test whether the zone matches the offset for this ts
1590
+ var i=t.offset(r);
1591
+ // If so, offset didn't change and we're done
1592
+ if(n===i){return[r,n]}
1593
+ // If not, change the ts by the difference in the offset
1594
+ r-=(i-n)*60*1e3;
1595
+ // If that gives us the local time we want, we're done
1596
+ var a=t.offset(r);if(i===a){return[r,i]}
1597
+ // If it's different, we're in a hole time. The offset has changed, but the we don't adjust the time
1598
+ return[e-Math.min(i,a)*60*1e3,Math.max(i,a)]}
1599
+ // convert an epoch timestamp into a calendar object with the given offset
1600
+ function tsToObj(e,n){e+=n*60*1e3;var t=new Date(e);return{year:t.getUTCFullYear(),month:t.getUTCMonth()+1,day:t.getUTCDate(),hour:t.getUTCHours(),minute:t.getUTCMinutes(),second:t.getUTCSeconds(),millisecond:t.getUTCMilliseconds()}}
1601
+ // convert a calendar object to a epoch timestamp
1602
+ function objToTS(e,n,t){return fixOffset(objToLocalTS(e),n,t)}
1603
+ // create a new DT instance by adding a duration, adjusting for DSTs
1604
+ function adjustTime(e,n){var t=e.o,r=e.c.year+Math.trunc(n.years),i=e.c.month+Math.trunc(n.months)+Math.trunc(n.quarters)*3,a=__assign(__assign({},e.c),{year:r,month:i,day:Math.min(e.c.day,daysInMonth(r,i))+Math.trunc(n.days)+Math.trunc(n.weeks)*7}),u=Duration.fromObject({years:n.years-Math.trunc(n.years),quarters:n.quarters-Math.trunc(n.quarters),months:n.months-Math.trunc(n.months),weeks:n.weeks-Math.trunc(n.weeks),days:n.days-Math.trunc(n.days),hours:n.hours,minutes:n.minutes,seconds:n.seconds,milliseconds:n.milliseconds}).as("milliseconds"),s=objToLocalTS(a);var o=fixOffset(s,t,e.zone),f=o[0],l=o[1];if(u!==0){f+=u;
1605
+ // that could have changed the offset by going over a DST, but we want to keep the ts the same
1606
+ l=e.zone.offset(f)}return{ts:f,o:l}}
1607
+ // helper useful in turning the results of parsing into real dates
1608
+ // by handling the zone options
1609
+ function parseDataToDateTime(e,n,t,r,i,a){var u=t.setZone,s=t.zone;if(e&&Object.keys(e).length!==0||n){var o=n||s,f=DateTime.fromObject(e,__assign(__assign({},t),{zone:o,specificOffset:a}));return u?f:f.setZone(s)}else{return DateTime.invalid(new Invalid("unparsable",'the input "'.concat(i,"\" can't be parsed as ").concat(r)))}}
1610
+ // if you want to output a technical format (e.g. RFC 2822), this helper
1611
+ // helps handle the details
1612
+ function toTechFormat(e,n,t){if(t===void 0){t=true}return e.isValid?Formatter.create(Locale.create("en-US"),{allowZ:t,forceSimple:true}).formatDateTimeFromString(e,n):null}function toISODate(e,n){var t=e.c.year>9999||e.c.year<0;var r="";if(t&&e.c.year>=0)r+="+";r+=padStart(e.c.year,t?6:4);if(n){r+="-";r+=padStart(e.c.month);r+="-";r+=padStart(e.c.day)}else{r+=padStart(e.c.month);r+=padStart(e.c.day)}return r}function toISOTime(e,n,t,r,i,a){var u=padStart(e.c.hour);if(n){u+=":";u+=padStart(e.c.minute);if(e.c.millisecond!==0||e.c.second!==0||!t){u+=":"}}else{u+=padStart(e.c.minute)}if(e.c.millisecond!==0||e.c.second!==0||!t){u+=padStart(e.c.second);if(e.c.millisecond!==0||!r){u+=".";u+=padStart(e.c.millisecond,3)}}if(i){if(e.isOffsetFixed&&e.offset===0&&!a){u+="Z"}else if(e.o<0){u+="-";u+=padStart(Math.trunc(-e.o/60));u+=":";u+=padStart(Math.trunc(-e.o%60))}else{u+="+";u+=padStart(Math.trunc(e.o/60));u+=":";u+=padStart(Math.trunc(e.o%60))}}if(a){u+="["+e.zone.ianaName+"]"}return u}
1613
+ // defaults for unspecified units in the supported calendars
1614
+ var defaultUnitValues={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},defaultWeekUnitValues={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},defaultOrdinalUnitValues={ordinal:1,hour:0,minute:0,second:0,millisecond:0};
1615
+ // Units in the supported calendars, sorted by bigness
1616
+ var orderedUnits=["year","month","day","hour","minute","second","millisecond"],orderedWeekUnits=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],orderedOrdinalUnits=["year","ordinal","hour","minute","second","millisecond"];
1617
+ // standardize case and plurality in units
1618
+ function normalizeUnit(e){var n={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"}[e.toLowerCase()];if(!n)throw new InvalidUnitError(e);return n}function normalizeUnitWithLocalWeeks(e){switch(e.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return normalizeUnit(e)}}
1619
+ // cache offsets for zones based on the current timestamp when this function is
1620
+ // first called. When we are handling a datetime from components like (year,
1621
+ // month, day, hour) in a time zone, we need a guess about what the timezone
1622
+ // offset is so that we can convert into a UTC timestamp. One way is to find the
1623
+ // offset of now in the zone. The actual date may have a different offset (for
1624
+ // example, if we handle a date in June while we're in December in a zone that
1625
+ // observes DST), but we can check and adjust that.
1626
+
1627
+ // When handling many dates, calculating the offset for now every time is
1628
+ // expensive. It's just a guess, so we can cache the offset to use even if we
1629
+ // are right on a time change boundary (we'll just correct in the other
1630
+ // direction). Using a timestamp from first read is a slight optimization for
1631
+ // handling dates close to the current date, since those dates will usually be
1632
+ // in the same offset (we could set the timestamp statically, instead). We use a
1633
+ // single timestamp for all zones to make things a bit more predictable.
1634
+
1635
+ // This is safe for quickDT (used by local() and utc()) because we don't fill in
1636
+ // higher-order units from tsNow (as we do in fromObject, this requires that
1637
+ // offset is calculated from tsNow).
1638
+ /**
1639
+ * @param {Zone} zone
1640
+ * @return {number}
1641
+ */function guessOffsetForZone(e){if(zoneOffsetTs===undefined){zoneOffsetTs=Settings.now()}
1642
+ // Do not cache anything but IANA zones, because it is not safe to do so.
1643
+ // Guessing an offset which is not present in the zone can cause wrong results from fixOffset
1644
+ if(e.type!=="iana"){return e.offset(zoneOffsetTs)}var n=e.name;var t=zoneOffsetGuessCache.get(n);if(t===undefined){t=e.offset(zoneOffsetTs);zoneOffsetGuessCache.set(n,t)}return t}
1645
+ // this is a dumbed down version of fromObject() that runs about 60% faster
1646
+ // but doesn't do any validation, makes a bunch of assumptions about what units
1647
+ // are present, and so on.
1648
+ function quickDT(e,n){var t;var r=normalizeZone(n.zone,Settings.defaultZone);if(!r.isValid){return DateTime.invalid(unsupportedZone(r))}var i=Locale.fromObject(n);var a,u;
1649
+ // assume we have the higher-order units
1650
+ if(!isUndefined(e.year)){for(var s=0,o=orderedUnits;s<o.length;s++){var f=o[s];if(isUndefined(e[f])){e[f]=defaultUnitValues[f]}}var l=hasInvalidGregorianData(e)||hasInvalidTimeData(e);if(l){return DateTime.invalid(l)}var c=guessOffsetForZone(r);t=objToTS(e,c,r),a=t[0],u=t[1]}else{a=Settings.now()}return new DateTime({ts:a,zone:r,loc:i,o:u})}function diffRelative(e,n,t){var r=isUndefined(t.round)?true:t.round,i=function(e,i){e=roundTo(e,r||t.calendary?0:2,true);var a=n.loc.clone(t).relFormatter(t);return a.format(e,i)},a=function(r){if(t.calendary){if(!n.hasSame(e,r)){return n.startOf(r).diff(e.startOf(r),r).get(r)}else return 0}else{return n.diff(e,r).get(r)}};if(t.unit){return i(a(t.unit),t.unit)}for(var u=0,s=t.units;u<s.length;u++){var o=s[u];var f=a(o);if(Math.abs(f)>=1){return i(f,o)}}return i(e>n?-0:0,t.units[t.units.length-1])}function lastOpts(e){var n={},t;if(e.length>0&&typeof e[e.length-1]==="object"){n=e[e.length-1];t=Array.from(e).slice(0,e.length-1)}else{t=Array.from(e)}return[n,t]}
1651
+ /**
1652
+ * Timestamp to use for cached zone offset guesses (exposed for test)
1653
+ */var zoneOffsetTs;
1654
+ /**
1655
+ * Cache for zone offset guesses (exposed for test).
1656
+ *
1657
+ * This optimizes quickDT via guessOffsetForZone to avoid repeated calls of
1658
+ * zone.offset().
1659
+ */var zoneOffsetGuessCache=new Map;
1660
+ /**
1661
+ * A DateTime is an immutable data structure representing a specific date and time and accompanying methods. It contains class and instance methods for creating, parsing, interrogating, transforming, and formatting them.
1662
+ *
1663
+ * A DateTime comprises of:
1664
+ * * A timestamp. Each DateTime instance refers to a specific millisecond of the Unix epoch.
1665
+ * * A time zone. Each instance is considered in the context of a specific zone (by default the local system's zone).
1666
+ * * Configuration properties that effect how output strings are formatted, such as `locale`, `numberingSystem`, and `outputCalendar`.
1667
+ *
1668
+ * Here is a brief overview of the most commonly used functionality it provides:
1669
+ *
1670
+ * * **Creation**: To create a DateTime from its components, use one of its factory class methods: {@link DateTime.local}, {@link DateTime.utc}, and (most flexibly) {@link DateTime.fromObject}. To create one from a standard string format, use {@link DateTime.fromISO}, {@link DateTime.fromHTTP}, and {@link DateTime.fromRFC2822}. To create one from a custom string format, use {@link DateTime.fromFormat}. To create one from a native JS date, use {@link DateTime.fromJSDate}.
1671
+ * * **Gregorian calendar and time**: To examine the Gregorian properties of a DateTime individually (i.e as opposed to collectively through {@link DateTime#toObject}), use the {@link DateTime#year}, {@link DateTime#month},
1672
+ * {@link DateTime#day}, {@link DateTime#hour}, {@link DateTime#minute}, {@link DateTime#second}, {@link DateTime#millisecond} accessors.
1673
+ * * **Week calendar**: For ISO week calendar attributes, see the {@link DateTime#weekYear}, {@link DateTime#weekNumber}, and {@link DateTime#weekday} accessors.
1674
+ * * **Configuration** See the {@link DateTime#locale} and {@link DateTime#numberingSystem} accessors.
1675
+ * * **Transformation**: To transform the DateTime into other DateTimes, use {@link DateTime#set}, {@link DateTime#reconfigure}, {@link DateTime#setZone}, {@link DateTime#setLocale}, {@link DateTime.plus}, {@link DateTime#minus}, {@link DateTime#endOf}, {@link DateTime#startOf}, {@link DateTime#toUTC}, and {@link DateTime#toLocal}.
1676
+ * * **Output**: To convert the DateTime to other representations, use the {@link DateTime#toRelative}, {@link DateTime#toRelativeCalendar}, {@link DateTime#toJSON}, {@link DateTime#toISO}, {@link DateTime#toHTTP}, {@link DateTime#toObject}, {@link DateTime#toRFC2822}, {@link DateTime#toString}, {@link DateTime#toLocaleString}, {@link DateTime#toFormat}, {@link DateTime#toMillis} and {@link DateTime#toJSDate}.
1677
+ *
1678
+ * There's plenty others documented below. In addition, for more information on subtler topics like internationalization, time zones, alternative calendars, validity, and so on, see the external documentation.
1679
+ */var DateTime=/** @class */function(){
1680
+ /**
1681
+ * @access private
1682
+ */
1683
+ function e(e){var n;var t=e.zone||Settings.defaultZone;var r=e.invalid||(Number.isNaN(e.ts)?new Invalid("invalid input"):null)||(!t.isValid?unsupportedZone(t):null);
1684
+ /**
1685
+ * @access private
1686
+ */this.ts=isUndefined(e.ts)?Settings.now():e.ts;var i=null,a=null;if(!r){var u=e.old&&e.old.ts===this.ts&&e.old.zone.equals(t);if(u){n=[e.old.c,e.old.o],i=n[0],a=n[1]}else{
1687
+ // If an offset has been passed and we have not been called from
1688
+ // clone(), we can trust it and avoid the offset calculation.
1689
+ var s=isNumber(e.o)&&!e.old?e.o:t.offset(this.ts);i=tsToObj(this.ts,s);r=Number.isNaN(i.year)?new Invalid("invalid input"):null;i=r?null:i;a=r?null:s}}
1690
+ /**
1691
+ * @access private
1692
+ */this._zone=t;
1693
+ /**
1694
+ * @access private
1695
+ */this.loc=e.loc||Locale.create();
1696
+ /**
1697
+ * @access private
1698
+ */this.invalid=r;
1699
+ /**
1700
+ * @access private
1701
+ */this.weekData=null;
1702
+ /**
1703
+ * @access private
1704
+ */this.localWeekData=null;
1705
+ /**
1706
+ * @access private
1707
+ */this.c=i;
1708
+ /**
1709
+ * @access private
1710
+ */this.o=a;
1711
+ /**
1712
+ * @access private
1713
+ */this.isLuxonDateTime=true}
1714
+ // CONSTRUCT
1715
+ /**
1716
+ * Create a DateTime for the current instant, in the system's time zone.
1717
+ *
1718
+ * Use Settings to override these default values if needed.
1719
+ * @example DateTime.now().toISO() //~> now in the ISO format
1720
+ * @return {DateTime}
1721
+ */e.now=function(){return new e({})};
1722
+ /**
1723
+ * Create a local DateTime
1724
+ * @param {number} [year] - The calendar year. If omitted (as in, call `local()` with no arguments), the current time will be used
1725
+ * @param {number} [month=1] - The month, 1-indexed
1726
+ * @param {number} [day=1] - The day of the month, 1-indexed
1727
+ * @param {number} [hour=0] - The hour of the day, in 24-hour time
1728
+ * @param {number} [minute=0] - The minute of the hour, meaning a number between 0 and 59
1729
+ * @param {number} [second=0] - The second of the minute, meaning a number between 0 and 59
1730
+ * @param {number} [millisecond=0] - The millisecond of the second, meaning a number between 0 and 999
1731
+ * @example DateTime.local() //~> now
1732
+ * @example DateTime.local({ zone: "America/New_York" }) //~> now, in US east coast time
1733
+ * @example DateTime.local(2017) //~> 2017-01-01T00:00:00
1734
+ * @example DateTime.local(2017, 3) //~> 2017-03-01T00:00:00
1735
+ * @example DateTime.local(2017, 3, 12, { locale: "fr" }) //~> 2017-03-12T00:00:00, with a French locale
1736
+ * @example DateTime.local(2017, 3, 12, 5) //~> 2017-03-12T05:00:00
1737
+ * @example DateTime.local(2017, 3, 12, 5, { zone: "utc" }) //~> 2017-03-12T05:00:00, in UTC
1738
+ * @example DateTime.local(2017, 3, 12, 5, 45) //~> 2017-03-12T05:45:00
1739
+ * @example DateTime.local(2017, 3, 12, 5, 45, 10) //~> 2017-03-12T05:45:10
1740
+ * @example DateTime.local(2017, 3, 12, 5, 45, 10, 765) //~> 2017-03-12T05:45:10.765
1741
+ * @return {DateTime}
1742
+ */e.local=function(){var e=lastOpts(arguments),n=e[0],t=e[1],r=t[0],i=t[1],a=t[2],u=t[3],s=t[4],o=t[5],f=t[6];return quickDT({year:r,month:i,day:a,hour:u,minute:s,second:o,millisecond:f},n)};
1743
+ /**
1744
+ * Create a DateTime in UTC
1745
+ * @param {number} [year] - The calendar year. If omitted (as in, call `utc()` with no arguments), the current time will be used
1746
+ * @param {number} [month=1] - The month, 1-indexed
1747
+ * @param {number} [day=1] - The day of the month
1748
+ * @param {number} [hour=0] - The hour of the day, in 24-hour time
1749
+ * @param {number} [minute=0] - The minute of the hour, meaning a number between 0 and 59
1750
+ * @param {number} [second=0] - The second of the minute, meaning a number between 0 and 59
1751
+ * @param {number} [millisecond=0] - The millisecond of the second, meaning a number between 0 and 999
1752
+ * @param {Object} options - configuration options for the DateTime
1753
+ * @param {string} [options.locale] - a locale to set on the resulting DateTime instance
1754
+ * @param {string} [options.outputCalendar] - the output calendar to set on the resulting DateTime instance
1755
+ * @param {string} [options.numberingSystem] - the numbering system to set on the resulting DateTime instance
1756
+ * @param {string} [options.weekSettings] - the week settings to set on the resulting DateTime instance
1757
+ * @example DateTime.utc() //~> now
1758
+ * @example DateTime.utc(2017) //~> 2017-01-01T00:00:00Z
1759
+ * @example DateTime.utc(2017, 3) //~> 2017-03-01T00:00:00Z
1760
+ * @example DateTime.utc(2017, 3, 12) //~> 2017-03-12T00:00:00Z
1761
+ * @example DateTime.utc(2017, 3, 12, 5) //~> 2017-03-12T05:00:00Z
1762
+ * @example DateTime.utc(2017, 3, 12, 5, 45) //~> 2017-03-12T05:45:00Z
1763
+ * @example DateTime.utc(2017, 3, 12, 5, 45, { locale: "fr" }) //~> 2017-03-12T05:45:00Z with a French locale
1764
+ * @example DateTime.utc(2017, 3, 12, 5, 45, 10) //~> 2017-03-12T05:45:10Z
1765
+ * @example DateTime.utc(2017, 3, 12, 5, 45, 10, 765, { locale: "fr" }) //~> 2017-03-12T05:45:10.765Z with a French locale
1766
+ * @return {DateTime}
1767
+ */e.utc=function(){var e=lastOpts(arguments),n=e[0],t=e[1],r=t[0],i=t[1],a=t[2],u=t[3],s=t[4],o=t[5],f=t[6];n.zone=FixedOffsetZone.utcInstance;return quickDT({year:r,month:i,day:a,hour:u,minute:s,second:o,millisecond:f},n)};
1768
+ /**
1769
+ * Create a DateTime from a JavaScript Date object. Uses the default zone.
1770
+ * @param {Date} date - a JavaScript Date object
1771
+ * @param {Object} options - configuration options for the DateTime
1772
+ * @param {string|Zone} [options.zone='local'] - the zone to place the DateTime into
1773
+ * @return {DateTime}
1774
+ */e.fromJSDate=function(n,t){if(t===void 0){t={}}var r=isDate(n)?n.valueOf():NaN;if(Number.isNaN(r)){return e.invalid("invalid input")}var i=normalizeZone(t.zone,Settings.defaultZone);if(!i.isValid){return e.invalid(unsupportedZone(i))}return new e({ts:r,zone:i,loc:Locale.fromObject(t)})};
1775
+ /**
1776
+ * Create a DateTime from a number of milliseconds since the epoch (meaning since 1 January 1970 00:00:00 UTC). Uses the default zone.
1777
+ * @param {number} milliseconds - a number of milliseconds since 1970 UTC
1778
+ * @param {Object} options - configuration options for the DateTime
1779
+ * @param {string|Zone} [options.zone='local'] - the zone to place the DateTime into
1780
+ * @param {string} [options.locale] - a locale to set on the resulting DateTime instance
1781
+ * @param {string} options.outputCalendar - the output calendar to set on the resulting DateTime instance
1782
+ * @param {string} options.numberingSystem - the numbering system to set on the resulting DateTime instance
1783
+ * @param {string} options.weekSettings - the week settings to set on the resulting DateTime instance
1784
+ * @return {DateTime}
1785
+ */e.fromMillis=function(n,t){if(t===void 0){t={}}if(!isNumber(n)){throw new InvalidArgumentError("fromMillis requires a numerical input, but received a ".concat(typeof n," with value ").concat(n))}else if(n<-MAX_DATE||n>MAX_DATE){
1786
+ // this isn't perfect because we can still end up out of range because of additional shifting, but it's a start
1787
+ return e.invalid("Timestamp out of range")}else{return new e({ts:n,zone:normalizeZone(t.zone,Settings.defaultZone),loc:Locale.fromObject(t)})}};
1788
+ /**
1789
+ * Create a DateTime from a number of seconds since the epoch (meaning since 1 January 1970 00:00:00 UTC). Uses the default zone.
1790
+ * @param {number} seconds - a number of seconds since 1970 UTC
1791
+ * @param {Object} options - configuration options for the DateTime
1792
+ * @param {string|Zone} [options.zone='local'] - the zone to place the DateTime into
1793
+ * @param {string} [options.locale] - a locale to set on the resulting DateTime instance
1794
+ * @param {string} options.outputCalendar - the output calendar to set on the resulting DateTime instance
1795
+ * @param {string} options.numberingSystem - the numbering system to set on the resulting DateTime instance
1796
+ * @param {string} options.weekSettings - the week settings to set on the resulting DateTime instance
1797
+ * @return {DateTime}
1798
+ */e.fromSeconds=function(n,t){if(t===void 0){t={}}if(!isNumber(n)){throw new InvalidArgumentError("fromSeconds requires a numerical input")}else{return new e({ts:n*1e3,zone:normalizeZone(t.zone,Settings.defaultZone),loc:Locale.fromObject(t)})}};
1799
+ /**
1800
+ * Create a DateTime from a JavaScript object with keys like 'year' and 'hour' with reasonable defaults.
1801
+ * @param {Object} obj - the object to create the DateTime from
1802
+ * @param {number} obj.year - a year, such as 1987
1803
+ * @param {number} obj.month - a month, 1-12
1804
+ * @param {number} obj.day - a day of the month, 1-31, depending on the month
1805
+ * @param {number} obj.ordinal - day of the year, 1-365 or 366
1806
+ * @param {number} obj.weekYear - an ISO week year
1807
+ * @param {number} obj.weekNumber - an ISO week number, between 1 and 52 or 53, depending on the year
1808
+ * @param {number} obj.weekday - an ISO weekday, 1-7, where 1 is Monday and 7 is Sunday
1809
+ * @param {number} obj.localWeekYear - a week year, according to the locale
1810
+ * @param {number} obj.localWeekNumber - a week number, between 1 and 52 or 53, depending on the year, according to the locale
1811
+ * @param {number} obj.localWeekday - a weekday, 1-7, where 1 is the first and 7 is the last day of the week, according to the locale
1812
+ * @param {number} obj.hour - hour of the day, 0-23
1813
+ * @param {number} obj.minute - minute of the hour, 0-59
1814
+ * @param {number} obj.second - second of the minute, 0-59
1815
+ * @param {number} obj.millisecond - millisecond of the second, 0-999
1816
+ * @param {Object} opts - options for creating this DateTime
1817
+ * @param {string|Zone} [opts.zone='local'] - interpret the numbers in the context of a particular zone. Can take any value taken as the first argument to setZone()
1818
+ * @param {string} [opts.locale='system\'s locale'] - a locale to set on the resulting DateTime instance
1819
+ * @param {string} opts.outputCalendar - the output calendar to set on the resulting DateTime instance
1820
+ * @param {string} opts.numberingSystem - the numbering system to set on the resulting DateTime instance
1821
+ * @param {string} opts.weekSettings - the week settings to set on the resulting DateTime instance
1822
+ * @example DateTime.fromObject({ year: 1982, month: 5, day: 25}).toISODate() //=> '1982-05-25'
1823
+ * @example DateTime.fromObject({ year: 1982 }).toISODate() //=> '1982-01-01'
1824
+ * @example DateTime.fromObject({ hour: 10, minute: 26, second: 6 }) //~> today at 10:26:06
1825
+ * @example DateTime.fromObject({ hour: 10, minute: 26, second: 6 }, { zone: 'utc' }),
1826
+ * @example DateTime.fromObject({ hour: 10, minute: 26, second: 6 }, { zone: 'local' })
1827
+ * @example DateTime.fromObject({ hour: 10, minute: 26, second: 6 }, { zone: 'America/New_York' })
1828
+ * @example DateTime.fromObject({ weekYear: 2016, weekNumber: 2, weekday: 3 }).toISODate() //=> '2016-01-13'
1829
+ * @example DateTime.fromObject({ localWeekYear: 2022, localWeekNumber: 1, localWeekday: 1 }, { locale: "en-US" }).toISODate() //=> '2021-12-26'
1830
+ * @return {DateTime}
1831
+ */e.fromObject=function(n,t){if(t===void 0){t={}}n=n||{};var r=normalizeZone(t.zone,Settings.defaultZone);if(!r.isValid){return e.invalid(unsupportedZone(r))}var i=Locale.fromObject(t);var a=normalizeObject(n,normalizeUnitWithLocalWeeks);var u=usesLocalWeekValues(a,i),s=u.minDaysInFirstWeek,o=u.startOfWeek;var f=Settings.now(),l=!isUndefined(t.specificOffset)?t.specificOffset:r.offset(f),c=!isUndefined(a.ordinal),d=!isUndefined(a.year),h=!isUndefined(a.month)||!isUndefined(a.day),m=d||h,v=a.weekYear||a.weekNumber;
1832
+ // cases:
1833
+ // just a weekday -> this week's instance of that weekday, no worries
1834
+ // (gregorian data or ordinal) + (weekYear or weekNumber) -> error
1835
+ // (gregorian month or day) + ordinal -> error
1836
+ // otherwise just use weeks or ordinals or gregorian, depending on what's specified
1837
+ if((m||c)&&v){throw new ConflictingSpecificationError("Can't mix weekYear/weekNumber units with year/month/day or ordinals")}if(h&&c){throw new ConflictingSpecificationError("Can't mix ordinal dates with month/day")}var g=v||a.weekday&&!m;
1838
+ // configure ourselves to deal with gregorian dates or week stuff
1839
+ var b,T,y=tsToObj(f,l);if(g){b=orderedWeekUnits;T=defaultWeekUnitValues;y=gregorianToWeek(y,s,o)}else if(c){b=orderedOrdinalUnits;T=defaultOrdinalUnitValues;y=gregorianToOrdinal(y)}else{b=orderedUnits;T=defaultUnitValues}
1840
+ // set default values for missing stuff
1841
+ var O=false;for(var I=0,_=b;I<_.length;I++){var E=_[I];var p=a[E];if(!isUndefined(p)){O=true}else if(O){a[E]=T[E]}else{a[E]=y[E]}}
1842
+ // make sure the values we have are in range
1843
+ var w=g?hasInvalidWeekData(a,s,o):c?hasInvalidOrdinalData(a):hasInvalidGregorianData(a),S=w||hasInvalidTimeData(a);if(S){return e.invalid(S)}
1844
+ // compute the actual time
1845
+ var D=g?weekToGregorian(a,s,o):c?ordinalToGregorian(a):a,k=objToTS(D,l,r),M=k[0],x=k[1],N=new e({ts:M,zone:r,o:x,loc:i});
1846
+ // gregorian data + weekday serves only to validate
1847
+ if(a.weekday&&m&&n.weekday!==N.weekday){return e.invalid("mismatched weekday","you can't specify both a weekday of ".concat(a.weekday," and a date of ").concat(N.toISO()))}if(!N.isValid){return e.invalid(N.invalid)}return N};
1848
+ /**
1849
+ * Create a DateTime from an ISO 8601 string
1850
+ * @param {string} text - the ISO string
1851
+ * @param {Object} opts - options to affect the creation
1852
+ * @param {string|Zone} [opts.zone='local'] - use this zone if no offset is specified in the input string itself. Will also convert the time to this zone
1853
+ * @param {boolean} [opts.setZone=false] - override the zone with a fixed-offset zone specified in the string itself, if it specifies one
1854
+ * @param {string} [opts.locale='system's locale'] - a locale to set on the resulting DateTime instance
1855
+ * @param {string} [opts.outputCalendar] - the output calendar to set on the resulting DateTime instance
1856
+ * @param {string} [opts.numberingSystem] - the numbering system to set on the resulting DateTime instance
1857
+ * @param {string} [opts.weekSettings] - the week settings to set on the resulting DateTime instance
1858
+ * @example DateTime.fromISO('2016-05-25T09:08:34.123')
1859
+ * @example DateTime.fromISO('2016-05-25T09:08:34.123+06:00')
1860
+ * @example DateTime.fromISO('2016-05-25T09:08:34.123+06:00', {setZone: true})
1861
+ * @example DateTime.fromISO('2016-05-25T09:08:34.123', {zone: 'utc'})
1862
+ * @example DateTime.fromISO('2016-W05-4')
1863
+ * @return {DateTime}
1864
+ */e.fromISO=function(e,n){if(n===void 0){n={}}var t=parseISODate(e),r=t[0],i=t[1];return parseDataToDateTime(r,i,n,"ISO 8601",e)};
1865
+ /**
1866
+ * Create a DateTime from an RFC 2822 string
1867
+ * @param {string} text - the RFC 2822 string
1868
+ * @param {Object} opts - options to affect the creation
1869
+ * @param {string|Zone} [opts.zone='local'] - convert the time to this zone. Since the offset is always specified in the string itself, this has no effect on the interpretation of string, merely the zone the resulting DateTime is expressed in.
1870
+ * @param {boolean} [opts.setZone=false] - override the zone with a fixed-offset zone specified in the string itself, if it specifies one
1871
+ * @param {string} [opts.locale='system's locale'] - a locale to set on the resulting DateTime instance
1872
+ * @param {string} opts.outputCalendar - the output calendar to set on the resulting DateTime instance
1873
+ * @param {string} opts.numberingSystem - the numbering system to set on the resulting DateTime instance
1874
+ * @param {string} opts.weekSettings - the week settings to set on the resulting DateTime instance
1875
+ * @example DateTime.fromRFC2822('25 Nov 2016 13:23:12 GMT')
1876
+ * @example DateTime.fromRFC2822('Fri, 25 Nov 2016 13:23:12 +0600')
1877
+ * @example DateTime.fromRFC2822('25 Nov 2016 13:23 Z')
1878
+ * @return {DateTime}
1879
+ */e.fromRFC2822=function(e,n){if(n===void 0){n={}}var t=parseRFC2822Date(e),r=t[0],i=t[1];return parseDataToDateTime(r,i,n,"RFC 2822",e)};
1880
+ /**
1881
+ * Create a DateTime from an HTTP header date
1882
+ * @see https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1
1883
+ * @param {string} text - the HTTP header date
1884
+ * @param {Object} opts - options to affect the creation
1885
+ * @param {string|Zone} [opts.zone='local'] - convert the time to this zone. Since HTTP dates are always in UTC, this has no effect on the interpretation of string, merely the zone the resulting DateTime is expressed in.
1886
+ * @param {boolean} [opts.setZone=false] - override the zone with the fixed-offset zone specified in the string. For HTTP dates, this is always UTC, so this option is equivalent to setting the `zone` option to 'utc', but this option is included for consistency with similar methods.
1887
+ * @param {string} [opts.locale='system's locale'] - a locale to set on the resulting DateTime instance
1888
+ * @param {string} opts.outputCalendar - the output calendar to set on the resulting DateTime instance
1889
+ * @param {string} opts.numberingSystem - the numbering system to set on the resulting DateTime instance
1890
+ * @param {string} opts.weekSettings - the week settings to set on the resulting DateTime instance
1891
+ * @example DateTime.fromHTTP('Sun, 06 Nov 1994 08:49:37 GMT')
1892
+ * @example DateTime.fromHTTP('Sunday, 06-Nov-94 08:49:37 GMT')
1893
+ * @example DateTime.fromHTTP('Sun Nov 6 08:49:37 1994')
1894
+ * @return {DateTime}
1895
+ */e.fromHTTP=function(e,n){if(n===void 0){n={}}var t=parseHTTPDate(e),r=t[0],i=t[1];return parseDataToDateTime(r,i,n,"HTTP",n)};
1896
+ /**
1897
+ * Create a DateTime from an input string and format string.
1898
+ * Defaults to en-US if no locale has been specified, regardless of the system's locale. For a table of tokens and their interpretations, see [here](https://moment.github.io/luxon/#/parsing?id=table-of-tokens).
1899
+ * @param {string} text - the string to parse
1900
+ * @param {string} fmt - the format the string is expected to be in (see the link below for the formats)
1901
+ * @param {Object} opts - options to affect the creation
1902
+ * @param {string|Zone} [opts.zone='local'] - use this zone if no offset is specified in the input string itself. Will also convert the DateTime to this zone
1903
+ * @param {boolean} [opts.setZone=false] - override the zone with a zone specified in the string itself, if it specifies one
1904
+ * @param {string} [opts.locale='en-US'] - a locale string to use when parsing. Will also set the DateTime to this locale
1905
+ * @param {string} opts.numberingSystem - the numbering system to use when parsing. Will also set the resulting DateTime to this numbering system
1906
+ * @param {string} opts.weekSettings - the week settings to set on the resulting DateTime instance
1907
+ * @param {string} opts.outputCalendar - the output calendar to set on the resulting DateTime instance
1908
+ * @return {DateTime}
1909
+ */e.fromFormat=function(n,t,r){if(r===void 0){r={}}if(isUndefined(n)||isUndefined(t)){throw new InvalidArgumentError("fromFormat requires an input string and a format")}var i=r.locale,a=i===void 0?null:i,u=r.numberingSystem,s=u===void 0?null:u,o=Locale.fromOpts({locale:a,numberingSystem:s,defaultToEN:true}),f=parseFromTokens(o,n,t),l=f[0],c=f[1],d=f[2],h=f[3];if(h){return e.invalid(h)}else{return parseDataToDateTime(l,c,r,"format ".concat(t),n,d)}};
1910
+ /**
1911
+ * @deprecated use fromFormat instead
1912
+ */e.fromString=function(n,t,r){if(r===void 0){r={}}return e.fromFormat(n,t,r)};
1913
+ /**
1914
+ * Create a DateTime from a SQL date, time, or datetime
1915
+ * Defaults to en-US if no locale has been specified, regardless of the system's locale
1916
+ * @param {string} text - the string to parse
1917
+ * @param {Object} opts - options to affect the creation
1918
+ * @param {string|Zone} [opts.zone='local'] - use this zone if no offset is specified in the input string itself. Will also convert the DateTime to this zone
1919
+ * @param {boolean} [opts.setZone=false] - override the zone with a zone specified in the string itself, if it specifies one
1920
+ * @param {string} [opts.locale='en-US'] - a locale string to use when parsing. Will also set the DateTime to this locale
1921
+ * @param {string} opts.numberingSystem - the numbering system to use when parsing. Will also set the resulting DateTime to this numbering system
1922
+ * @param {string} opts.weekSettings - the week settings to set on the resulting DateTime instance
1923
+ * @param {string} opts.outputCalendar - the output calendar to set on the resulting DateTime instance
1924
+ * @example DateTime.fromSQL('2017-05-15')
1925
+ * @example DateTime.fromSQL('2017-05-15 09:12:34')
1926
+ * @example DateTime.fromSQL('2017-05-15 09:12:34.342')
1927
+ * @example DateTime.fromSQL('2017-05-15 09:12:34.342+06:00')
1928
+ * @example DateTime.fromSQL('2017-05-15 09:12:34.342 America/Los_Angeles')
1929
+ * @example DateTime.fromSQL('2017-05-15 09:12:34.342 America/Los_Angeles', { setZone: true })
1930
+ * @example DateTime.fromSQL('2017-05-15 09:12:34.342', { zone: 'America/Los_Angeles' })
1931
+ * @example DateTime.fromSQL('09:12:34.342')
1932
+ * @return {DateTime}
1933
+ */e.fromSQL=function(e,n){if(n===void 0){n={}}var t=parseSQL(e),r=t[0],i=t[1];return parseDataToDateTime(r,i,n,"SQL",e)};
1934
+ /**
1935
+ * Create an invalid DateTime.
1936
+ * @param {string} reason - simple string of why this DateTime is invalid. Should not contain parameters or anything else data-dependent.
1937
+ * @param {string} [explanation=null] - longer explanation, may include parameters and other useful debugging information
1938
+ * @return {DateTime}
1939
+ */e.invalid=function(n,t){if(t===void 0){t=null}if(!n){throw new InvalidArgumentError("need to specify a reason the DateTime is invalid")}var r=n instanceof Invalid?n:new Invalid(n,t);if(Settings.throwOnInvalid){throw new InvalidDateTimeError(r)}else{return new e({invalid:r})}};
1940
+ /**
1941
+ * Check if an object is an instance of DateTime. Works across context boundaries
1942
+ * @param {object} o
1943
+ * @return {boolean}
1944
+ */e.isDateTime=function(e){return e&&e.isLuxonDateTime||false};
1945
+ /**
1946
+ * Produce the format string for a set of options
1947
+ * @param formatOpts
1948
+ * @param localeOpts
1949
+ * @returns {string}
1950
+ */e.parseFormatForOpts=function(e,n){if(n===void 0){n={}}var t=formatOptsToTokens(e,Locale.fromObject(n));return!t?null:t.map((function(e){return e?e.val:null})).join("")};
1951
+ /**
1952
+ * Produce the the fully expanded format token for the locale
1953
+ * Does NOT quote characters, so quoted tokens will not round trip correctly
1954
+ * @param fmt
1955
+ * @param localeOpts
1956
+ * @returns {string}
1957
+ */e.expandFormat=function(e,n){if(n===void 0){n={}}var t=expandMacroTokens(Formatter.parseFormat(e),Locale.fromObject(n));return t.map((function(e){return e.val})).join("")};e.resetCache=function(){zoneOffsetTs=undefined;zoneOffsetGuessCache.clear()};
1958
+ // INFO
1959
+ /**
1960
+ * Get the value of unit.
1961
+ * @param {string} unit - a unit such as 'minute' or 'day'
1962
+ * @example DateTime.local(2017, 7, 4).get('month'); //=> 7
1963
+ * @example DateTime.local(2017, 7, 4).get('day'); //=> 4
1964
+ * @return {number}
1965
+ */e.prototype.get=function(e){return this[e]};Object.defineProperty(e.prototype,"isValid",{
1966
+ /**
1967
+ * Returns whether the DateTime is valid. Invalid DateTimes occur when:
1968
+ * * The DateTime was created from invalid calendar information, such as the 13th month or February 30
1969
+ * * The DateTime was created by an operation on another invalid date
1970
+ * @type {boolean}
1971
+ */
1972
+ get:function(){return this.invalid===null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"invalidReason",{
1973
+ /**
1974
+ * Returns an error code if this DateTime is invalid, or null if the DateTime is valid
1975
+ * @type {string}
1976
+ */
1977
+ get:function(){return this.invalid?this.invalid.reason:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"invalidExplanation",{
1978
+ /**
1979
+ * Returns an explanation of why this DateTime became invalid, or null if the DateTime is valid
1980
+ * @type {string}
1981
+ */
1982
+ get:function(){return this.invalid?this.invalid.explanation:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"locale",{
1983
+ /**
1984
+ * Get the locale of a DateTime, such 'en-GB'. The locale is used when formatting the DateTime
1985
+ *
1986
+ * @type {string}
1987
+ */
1988
+ get:function(){return this.isValid?this.loc.locale:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"numberingSystem",{
1989
+ /**
1990
+ * Get the numbering system of a DateTime, such 'beng'. The numbering system is used when formatting the DateTime
1991
+ *
1992
+ * @type {string}
1993
+ */
1994
+ get:function(){return this.isValid?this.loc.numberingSystem:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"outputCalendar",{
1995
+ /**
1996
+ * Get the output calendar of a DateTime, such 'islamic'. The output calendar is used when formatting the DateTime
1997
+ *
1998
+ * @type {string}
1999
+ */
2000
+ get:function(){return this.isValid?this.loc.outputCalendar:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"zone",{
2001
+ /**
2002
+ * Get the time zone associated with this DateTime.
2003
+ * @type {Zone}
2004
+ */
2005
+ get:function(){return this._zone},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"zoneName",{
2006
+ /**
2007
+ * Get the name of the time zone.
2008
+ * @type {string}
2009
+ */
2010
+ get:function(){return this.isValid?this.zone.name:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"year",{
2011
+ /**
2012
+ * Get the year
2013
+ * @example DateTime.local(2017, 5, 25).year //=> 2017
2014
+ * @type {number}
2015
+ */
2016
+ get:function(){return this.isValid?this.c.year:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"quarter",{
2017
+ /**
2018
+ * Get the quarter
2019
+ * @example DateTime.local(2017, 5, 25).quarter //=> 2
2020
+ * @type {number}
2021
+ */
2022
+ get:function(){return this.isValid?Math.ceil(this.c.month/3):NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"month",{
2023
+ /**
2024
+ * Get the month (1-12).
2025
+ * @example DateTime.local(2017, 5, 25).month //=> 5
2026
+ * @type {number}
2027
+ */
2028
+ get:function(){return this.isValid?this.c.month:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"day",{
2029
+ /**
2030
+ * Get the day of the month (1-30ish).
2031
+ * @example DateTime.local(2017, 5, 25).day //=> 25
2032
+ * @type {number}
2033
+ */
2034
+ get:function(){return this.isValid?this.c.day:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"hour",{
2035
+ /**
2036
+ * Get the hour of the day (0-23).
2037
+ * @example DateTime.local(2017, 5, 25, 9).hour //=> 9
2038
+ * @type {number}
2039
+ */
2040
+ get:function(){return this.isValid?this.c.hour:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"minute",{
2041
+ /**
2042
+ * Get the minute of the hour (0-59).
2043
+ * @example DateTime.local(2017, 5, 25, 9, 30).minute //=> 30
2044
+ * @type {number}
2045
+ */
2046
+ get:function(){return this.isValid?this.c.minute:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"second",{
2047
+ /**
2048
+ * Get the second of the minute (0-59).
2049
+ * @example DateTime.local(2017, 5, 25, 9, 30, 52).second //=> 52
2050
+ * @type {number}
2051
+ */
2052
+ get:function(){return this.isValid?this.c.second:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"millisecond",{
2053
+ /**
2054
+ * Get the millisecond of the second (0-999).
2055
+ * @example DateTime.local(2017, 5, 25, 9, 30, 52, 654).millisecond //=> 654
2056
+ * @type {number}
2057
+ */
2058
+ get:function(){return this.isValid?this.c.millisecond:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weekYear",{
2059
+ /**
2060
+ * Get the week year
2061
+ * @see https://en.wikipedia.org/wiki/ISO_week_date
2062
+ * @example DateTime.local(2014, 12, 31).weekYear //=> 2015
2063
+ * @type {number}
2064
+ */
2065
+ get:function(){return this.isValid?possiblyCachedWeekData(this).weekYear:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weekNumber",{
2066
+ /**
2067
+ * Get the week number of the week year (1-52ish).
2068
+ * @see https://en.wikipedia.org/wiki/ISO_week_date
2069
+ * @example DateTime.local(2017, 5, 25).weekNumber //=> 21
2070
+ * @type {number}
2071
+ */
2072
+ get:function(){return this.isValid?possiblyCachedWeekData(this).weekNumber:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weekday",{
2073
+ /**
2074
+ * Get the day of the week.
2075
+ * 1 is Monday and 7 is Sunday
2076
+ * @see https://en.wikipedia.org/wiki/ISO_week_date
2077
+ * @example DateTime.local(2014, 11, 31).weekday //=> 4
2078
+ * @type {number}
2079
+ */
2080
+ get:function(){return this.isValid?possiblyCachedWeekData(this).weekday:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isWeekend",{
2081
+ /**
2082
+ * Returns true if this date is on a weekend according to the locale, false otherwise
2083
+ * @returns {boolean}
2084
+ */
2085
+ get:function(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"localWeekday",{
2086
+ /**
2087
+ * Get the day of the week according to the locale.
2088
+ * 1 is the first day of the week and 7 is the last day of the week.
2089
+ * If the locale assigns Sunday as the first day of the week, then a date which is a Sunday will return 1,
2090
+ * @returns {number}
2091
+ */
2092
+ get:function(){return this.isValid?possiblyCachedLocalWeekData(this).weekday:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"localWeekNumber",{
2093
+ /**
2094
+ * Get the week number of the week year according to the locale. Different locales assign week numbers differently,
2095
+ * because the week can start on different days of the week (see localWeekday) and because a different number of days
2096
+ * is required for a week to count as the first week of a year.
2097
+ * @returns {number}
2098
+ */
2099
+ get:function(){return this.isValid?possiblyCachedLocalWeekData(this).weekNumber:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"localWeekYear",{
2100
+ /**
2101
+ * Get the week year according to the locale. Different locales assign week numbers (and therefor week years)
2102
+ * differently, see localWeekNumber.
2103
+ * @returns {number}
2104
+ */
2105
+ get:function(){return this.isValid?possiblyCachedLocalWeekData(this).weekYear:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"ordinal",{
2106
+ /**
2107
+ * Get the ordinal (meaning the day of the year)
2108
+ * @example DateTime.local(2017, 5, 25).ordinal //=> 145
2109
+ * @type {number|DateTime}
2110
+ */
2111
+ get:function(){return this.isValid?gregorianToOrdinal(this.c).ordinal:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"monthShort",{
2112
+ /**
2113
+ * Get the human readable short month name, such as 'Oct'.
2114
+ * Defaults to the system's locale if no locale has been specified
2115
+ * @example DateTime.local(2017, 10, 30).monthShort //=> Oct
2116
+ * @type {string}
2117
+ */
2118
+ get:function(){return this.isValid?Info.months("short",{locObj:this.loc})[this.month-1]:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"monthLong",{
2119
+ /**
2120
+ * Get the human readable long month name, such as 'October'.
2121
+ * Defaults to the system's locale if no locale has been specified
2122
+ * @example DateTime.local(2017, 10, 30).monthLong //=> October
2123
+ * @type {string}
2124
+ */
2125
+ get:function(){return this.isValid?Info.months("long",{locObj:this.loc})[this.month-1]:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weekdayShort",{
2126
+ /**
2127
+ * Get the human readable short weekday, such as 'Mon'.
2128
+ * Defaults to the system's locale if no locale has been specified
2129
+ * @example DateTime.local(2017, 10, 30).weekdayShort //=> Mon
2130
+ * @type {string}
2131
+ */
2132
+ get:function(){return this.isValid?Info.weekdays("short",{locObj:this.loc})[this.weekday-1]:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weekdayLong",{
2133
+ /**
2134
+ * Get the human readable long weekday, such as 'Monday'.
2135
+ * Defaults to the system's locale if no locale has been specified
2136
+ * @example DateTime.local(2017, 10, 30).weekdayLong //=> Monday
2137
+ * @type {string}
2138
+ */
2139
+ get:function(){return this.isValid?Info.weekdays("long",{locObj:this.loc})[this.weekday-1]:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"offset",{
2140
+ /**
2141
+ * Get the UTC offset of this DateTime in minutes
2142
+ * @example DateTime.now().offset //=> -240
2143
+ * @example DateTime.utc().offset //=> 0
2144
+ * @type {number}
2145
+ */
2146
+ get:function(){return this.isValid?+this.o:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"offsetNameShort",{
2147
+ /**
2148
+ * Get the short human name for the zone's current offset, for example "EST" or "EDT".
2149
+ * Defaults to the system's locale if no locale has been specified
2150
+ * @type {string}
2151
+ */
2152
+ get:function(){if(this.isValid){return this.zone.offsetName(this.ts,{format:"short",locale:this.locale})}else{return null}},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"offsetNameLong",{
2153
+ /**
2154
+ * Get the long human name for the zone's current offset, for example "Eastern Standard Time" or "Eastern Daylight Time".
2155
+ * Defaults to the system's locale if no locale has been specified
2156
+ * @type {string}
2157
+ */
2158
+ get:function(){if(this.isValid){return this.zone.offsetName(this.ts,{format:"long",locale:this.locale})}else{return null}},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isOffsetFixed",{
2159
+ /**
2160
+ * Get whether this zone's offset ever changes, as in a DST.
2161
+ * @type {boolean}
2162
+ */
2163
+ get:function(){return this.isValid?this.zone.isUniversal:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isInDST",{
2164
+ /**
2165
+ * Get whether the DateTime is in a DST.
2166
+ * @type {boolean}
2167
+ */
2168
+ get:function(){if(this.isOffsetFixed){return false}else{return this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}},enumerable:false,configurable:true});
2169
+ /**
2170
+ * Get those DateTimes which have the same local time as this DateTime, but a different offset from UTC
2171
+ * in this DateTime's zone. During DST changes local time can be ambiguous, for example
2172
+ * `2023-10-29T02:30:00` in `Europe/Berlin` can have offset `+01:00` or `+02:00`.
2173
+ * This method will return both possible DateTimes if this DateTime's local time is ambiguous.
2174
+ * @returns {DateTime[]}
2175
+ */e.prototype.getPossibleOffsets=function(){if(!this.isValid||this.isOffsetFixed){return[this]}var e=864e5;var n=6e4;var t=objToLocalTS(this.c);var r=this.zone.offset(t-e);var i=this.zone.offset(t+e);var a=this.zone.offset(t-r*n);var u=this.zone.offset(t-i*n);if(a===u){return[this]}var s=t-a*n;var o=t-u*n;var f=tsToObj(s,a);var l=tsToObj(o,u);if(f.hour===l.hour&&f.minute===l.minute&&f.second===l.second&&f.millisecond===l.millisecond){return[clone(this,{ts:s}),clone(this,{ts:o})]}return[this]};Object.defineProperty(e.prototype,"isInLeapYear",{
2176
+ /**
2177
+ * Returns true if this DateTime is in a leap year, false otherwise
2178
+ * @example DateTime.local(2016).isInLeapYear //=> true
2179
+ * @example DateTime.local(2013).isInLeapYear //=> false
2180
+ * @type {boolean}
2181
+ */
2182
+ get:function(){return isLeapYear(this.year)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"daysInMonth",{
2183
+ /**
2184
+ * Returns the number of days in this DateTime's month
2185
+ * @example DateTime.local(2016, 2).daysInMonth //=> 29
2186
+ * @example DateTime.local(2016, 3).daysInMonth //=> 31
2187
+ * @type {number}
2188
+ */
2189
+ get:function(){return daysInMonth(this.year,this.month)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"daysInYear",{
2190
+ /**
2191
+ * Returns the number of days in this DateTime's year
2192
+ * @example DateTime.local(2016).daysInYear //=> 366
2193
+ * @example DateTime.local(2013).daysInYear //=> 365
2194
+ * @type {number}
2195
+ */
2196
+ get:function(){return this.isValid?daysInYear(this.year):NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weeksInWeekYear",{
2197
+ /**
2198
+ * Returns the number of weeks in this DateTime's year
2199
+ * @see https://en.wikipedia.org/wiki/ISO_week_date
2200
+ * @example DateTime.local(2004).weeksInWeekYear //=> 53
2201
+ * @example DateTime.local(2013).weeksInWeekYear //=> 52
2202
+ * @type {number}
2203
+ */
2204
+ get:function(){return this.isValid?weeksInWeekYear(this.weekYear):NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weeksInLocalWeekYear",{
2205
+ /**
2206
+ * Returns the number of weeks in this DateTime's local week year
2207
+ * @example DateTime.local(2020, 6, {locale: 'en-US'}).weeksInLocalWeekYear //=> 52
2208
+ * @example DateTime.local(2020, 6, {locale: 'de-DE'}).weeksInLocalWeekYear //=> 53
2209
+ * @type {number}
2210
+ */
2211
+ get:function(){return this.isValid?weeksInWeekYear(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN},enumerable:false,configurable:true});
2212
+ /**
2213
+ * Returns the resolved Intl options for this DateTime.
2214
+ * This is useful in understanding the behavior of formatting methods
2215
+ * @param {Object} opts - the same options as toLocaleString
2216
+ * @return {Object}
2217
+ */e.prototype.resolvedLocaleOptions=function(e){if(e===void 0){e={}}var n=Formatter.create(this.loc.clone(e),e).resolvedOptions(this),t=n.locale,r=n.numberingSystem,i=n.calendar;return{locale:t,numberingSystem:r,outputCalendar:i}};
2218
+ // TRANSFORM
2219
+ /**
2220
+ * "Set" the DateTime's zone to UTC. Returns a newly-constructed DateTime.
2221
+ *
2222
+ * Equivalent to {@link DateTime#setZone}('utc')
2223
+ * @param {number} [offset=0] - optionally, an offset from UTC in minutes
2224
+ * @param {Object} [opts={}] - options to pass to `setZone()`
2225
+ * @return {DateTime}
2226
+ */e.prototype.toUTC=function(e,n){if(e===void 0){e=0}if(n===void 0){n={}}return this.setZone(FixedOffsetZone.instance(e),n)};
2227
+ /**
2228
+ * "Set" the DateTime's zone to the host's local zone. Returns a newly-constructed DateTime.
2229
+ *
2230
+ * Equivalent to `setZone('local')`
2231
+ * @return {DateTime}
2232
+ */e.prototype.toLocal=function(){return this.setZone(Settings.defaultZone)};
2233
+ /**
2234
+ * "Set" the DateTime's zone to specified zone. Returns a newly-constructed DateTime.
2235
+ *
2236
+ * By default, the setter keeps the underlying time the same (as in, the same timestamp), but the new instance will report different local times and consider DSTs when making computations, as with {@link DateTime#plus}. You may wish to use {@link DateTime#toLocal} and {@link DateTime#toUTC} which provide simple convenience wrappers for commonly used zones.
2237
+ * @param {string|Zone} [zone='local'] - a zone identifier. As a string, that can be any IANA zone supported by the host environment, or a fixed-offset name of the form 'UTC+3', or the strings 'local' or 'utc'. You may also supply an instance of a {@link DateTime#Zone} class.
2238
+ * @param {Object} opts - options
2239
+ * @param {boolean} [opts.keepLocalTime=false] - If true, adjust the underlying time so that the local time stays the same, but in the target zone. You should rarely need this.
2240
+ * @return {DateTime}
2241
+ */e.prototype.setZone=function(n,t){var r=t===void 0?{}:t,i=r.keepLocalTime,a=i===void 0?false:i,u=r.keepCalendarTime,s=u===void 0?false:u;n=normalizeZone(n,Settings.defaultZone);if(n.equals(this.zone)){return this}else if(!n.isValid){return e.invalid(unsupportedZone(n))}else{var o=this.ts;if(a||s){var f=n.offset(this.ts);var l=this.toObject();o=objToTS(l,f,n)[0]}return clone(this,{ts:o,zone:n})}};
2242
+ /**
2243
+ * "Set" the locale, numberingSystem, or outputCalendar. Returns a newly-constructed DateTime.
2244
+ * @param {Object} properties - the properties to set
2245
+ * @example DateTime.local(2017, 5, 25).reconfigure({ locale: 'en-GB' })
2246
+ * @return {DateTime}
2247
+ */e.prototype.reconfigure=function(e){var n=e===void 0?{}:e,t=n.locale,r=n.numberingSystem,i=n.outputCalendar;var a=this.loc.clone({locale:t,numberingSystem:r,outputCalendar:i});return clone(this,{loc:a})};
2248
+ /**
2249
+ * "Set" the locale. Returns a newly-constructed DateTime.
2250
+ * Just a convenient alias for reconfigure({ locale })
2251
+ * @example DateTime.local(2017, 5, 25).setLocale('en-GB')
2252
+ * @return {DateTime}
2253
+ */e.prototype.setLocale=function(e){return this.reconfigure({locale:e})};
2254
+ /**
2255
+ * "Set" the values of specified units. Returns a newly-constructed DateTime.
2256
+ * You can only set units with this method; for "setting" metadata, see {@link DateTime#reconfigure} and {@link DateTime#setZone}.
2257
+ *
2258
+ * This method also supports setting locale-based week units, i.e. `localWeekday`, `localWeekNumber` and `localWeekYear`.
2259
+ * They cannot be mixed with ISO-week units like `weekday`.
2260
+ * @param {Object} values - a mapping of units to numbers
2261
+ * @example dt.set({ year: 2017 })
2262
+ * @example dt.set({ hour: 8, minute: 30 })
2263
+ * @example dt.set({ weekday: 5 })
2264
+ * @example dt.set({ year: 2005, ordinal: 234 })
2265
+ * @return {DateTime}
2266
+ */e.prototype.set=function(e){if(!this.isValid)return this;var n=normalizeObject(e,normalizeUnitWithLocalWeeks);var t=usesLocalWeekValues(n,this.loc),r=t.minDaysInFirstWeek,i=t.startOfWeek;var a=!isUndefined(n.weekYear)||!isUndefined(n.weekNumber)||!isUndefined(n.weekday),u=!isUndefined(n.ordinal),s=!isUndefined(n.year),o=!isUndefined(n.month)||!isUndefined(n.day),f=s||o,l=n.weekYear||n.weekNumber;if((f||u)&&l){throw new ConflictingSpecificationError("Can't mix weekYear/weekNumber units with year/month/day or ordinals")}if(o&&u){throw new ConflictingSpecificationError("Can't mix ordinal dates with month/day")}var c;if(a){c=weekToGregorian(__assign(__assign({},gregorianToWeek(this.c,r,i)),n),r,i)}else if(!isUndefined(n.ordinal)){c=ordinalToGregorian(__assign(__assign({},gregorianToOrdinal(this.c)),n))}else{c=__assign(__assign({},this.toObject()),n);
2267
+ // if we didn't set the day but we ended up on an overflow date,
2268
+ // use the last day of the right month
2269
+ if(isUndefined(n.day)){c.day=Math.min(daysInMonth(c.year,c.month),c.day)}}var d=objToTS(c,this.o,this.zone),h=d[0],m=d[1];return clone(this,{ts:h,o:m})};
2270
+ /**
2271
+ * Add a period of time to this DateTime and return the resulting DateTime
2272
+ *
2273
+ * Adding hours, minutes, seconds, or milliseconds increases the timestamp by the right number of milliseconds. Adding days, months, or years shifts the calendar, accounting for DSTs and leap years along the way. Thus, `dt.plus({ hours: 24 })` may result in a different time than `dt.plus({ days: 1 })` if there's a DST shift in between.
2274
+ * @param {Duration|Object|number} duration - The amount to add. Either a Luxon Duration, a number of milliseconds, the object argument to Duration.fromObject()
2275
+ * @example DateTime.now().plus(123) //~> in 123 milliseconds
2276
+ * @example DateTime.now().plus({ minutes: 15 }) //~> in 15 minutes
2277
+ * @example DateTime.now().plus({ days: 1 }) //~> this time tomorrow
2278
+ * @example DateTime.now().plus({ days: -1 }) //~> this time yesterday
2279
+ * @example DateTime.now().plus({ hours: 3, minutes: 13 }) //~> in 3 hr, 13 min
2280
+ * @example DateTime.now().plus(Duration.fromObject({ hours: 3, minutes: 13 })) //~> in 3 hr, 13 min
2281
+ * @return {DateTime}
2282
+ */e.prototype.plus=function(e){if(!this.isValid)return this;var n=Duration.fromDurationLike(e);return clone(this,adjustTime(this,n))};
2283
+ /**
2284
+ * Subtract a period of time to this DateTime and return the resulting DateTime
2285
+ * See {@link DateTime#plus}
2286
+ * @param {Duration|Object|number} duration - The amount to subtract. Either a Luxon Duration, a number of milliseconds, the object argument to Duration.fromObject()
2287
+ @return {DateTime}
2288
+ */e.prototype.minus=function(e){if(!this.isValid)return this;var n=Duration.fromDurationLike(e).negate();return clone(this,adjustTime(this,n))};
2289
+ /**
2290
+ * "Set" this DateTime to the beginning of a unit of time.
2291
+ * @param {string} unit - The unit to go to the beginning of. Can be 'year', 'quarter', 'month', 'week', 'day', 'hour', 'minute', 'second', or 'millisecond'.
2292
+ * @param {Object} opts - options
2293
+ * @param {boolean} [opts.useLocaleWeeks=false] - If true, use weeks based on the locale, i.e. use the locale-dependent start of the week
2294
+ * @example DateTime.local(2014, 3, 3).startOf('month').toISODate(); //=> '2014-03-01'
2295
+ * @example DateTime.local(2014, 3, 3).startOf('year').toISODate(); //=> '2014-01-01'
2296
+ * @example DateTime.local(2014, 3, 3).startOf('week').toISODate(); //=> '2014-03-03', weeks always start on Mondays
2297
+ * @example DateTime.local(2014, 3, 3, 5, 30).startOf('day').toISOTime(); //=> '00:00.000-05:00'
2298
+ * @example DateTime.local(2014, 3, 3, 5, 30).startOf('hour').toISOTime(); //=> '05:00:00.000-05:00'
2299
+ * @return {DateTime}
2300
+ */e.prototype.startOf=function(e,n){var t=n===void 0?{}:n,r=t.useLocaleWeeks,i=r===void 0?false:r;if(!this.isValid)return this;var a={},u=Duration.normalizeUnit(e);switch(u){case"years":a.month=1;
2301
+ // falls through
2302
+ case"quarters":case"months":a.day=1;
2303
+ // falls through
2304
+ case"weeks":case"days":a.hour=0;
2305
+ // falls through
2306
+ case"hours":a.minute=0;
2307
+ // falls through
2308
+ case"minutes":a.second=0;
2309
+ // falls through
2310
+ case"seconds":a.millisecond=0;break;
2311
+ // no default, invalid units throw in normalizeUnit()
2312
+ }if(u==="weeks"){if(i){var s=this.loc.getStartOfWeek();var o=this.weekday;if(o<s){a.weekNumber=this.weekNumber-1}a.weekday=s}else{a.weekday=1}}if(u==="quarters"){var f=Math.ceil(this.month/3);a.month=(f-1)*3+1}return this.set(a)};
2313
+ /**
2314
+ * "Set" this DateTime to the end (meaning the last millisecond) of a unit of time
2315
+ * @param {string} unit - The unit to go to the end of. Can be 'year', 'quarter', 'month', 'week', 'day', 'hour', 'minute', 'second', or 'millisecond'.
2316
+ * @param {Object} opts - options
2317
+ * @param {boolean} [opts.useLocaleWeeks=false] - If true, use weeks based on the locale, i.e. use the locale-dependent start of the week
2318
+ * @example DateTime.local(2014, 3, 3).endOf('month').toISO(); //=> '2014-03-31T23:59:59.999-05:00'
2319
+ * @example DateTime.local(2014, 3, 3).endOf('year').toISO(); //=> '2014-12-31T23:59:59.999-05:00'
2320
+ * @example DateTime.local(2014, 3, 3).endOf('week').toISO(); // => '2014-03-09T23:59:59.999-05:00', weeks start on Mondays
2321
+ * @example DateTime.local(2014, 3, 3, 5, 30).endOf('day').toISO(); //=> '2014-03-03T23:59:59.999-05:00'
2322
+ * @example DateTime.local(2014, 3, 3, 5, 30).endOf('hour').toISO(); //=> '2014-03-03T05:59:59.999-05:00'
2323
+ * @return {DateTime}
2324
+ */e.prototype.endOf=function(e,n){var t;return this.isValid?this.plus((t={},t[e]=1,t)).startOf(e,n).minus(1):this};
2325
+ // OUTPUT
2326
+ /**
2327
+ * Returns a string representation of this DateTime formatted according to the specified format string.
2328
+ * **You may not want this.** See {@link DateTime#toLocaleString} for a more flexible formatting tool. For a table of tokens and their interpretations, see [here](https://moment.github.io/luxon/#/formatting?id=table-of-tokens).
2329
+ * Defaults to en-US if no locale has been specified, regardless of the system's locale.
2330
+ * @param {string} fmt - the format string
2331
+ * @param {Object} opts - opts to override the configuration options on this DateTime
2332
+ * @example DateTime.now().toFormat('yyyy LLL dd') //=> '2017 Apr 22'
2333
+ * @example DateTime.now().setLocale('fr').toFormat('yyyy LLL dd') //=> '2017 avr. 22'
2334
+ * @example DateTime.now().toFormat('yyyy LLL dd', { locale: "fr" }) //=> '2017 avr. 22'
2335
+ * @example DateTime.now().toFormat("HH 'hours and' mm 'minutes'") //=> '20 hours and 55 minutes'
2336
+ * @return {string}
2337
+ */e.prototype.toFormat=function(e,n){if(n===void 0){n={}}return this.isValid?Formatter.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,e):INVALID};
2338
+ /**
2339
+ * Returns a localized string representing this date. Accepts the same options as the Intl.DateTimeFormat constructor and any presets defined by Luxon, such as `DateTime.DATE_FULL` or `DateTime.TIME_SIMPLE`.
2340
+ * The exact behavior of this method is browser-specific, but in general it will return an appropriate representation
2341
+ * of the DateTime in the assigned locale.
2342
+ * Defaults to the system's locale if no locale has been specified
2343
+ * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat
2344
+ * @param formatOpts {Object} - Intl.DateTimeFormat constructor options and configuration options
2345
+ * @param {Object} opts - opts to override the configuration options on this DateTime
2346
+ * @example DateTime.now().toLocaleString(); //=> 4/20/2017
2347
+ * @example DateTime.now().setLocale('en-gb').toLocaleString(); //=> '20/04/2017'
2348
+ * @example DateTime.now().toLocaleString(DateTime.DATE_FULL); //=> 'April 20, 2017'
2349
+ * @example DateTime.now().toLocaleString(DateTime.DATE_FULL, { locale: 'fr' }); //=> '28 août 2022'
2350
+ * @example DateTime.now().toLocaleString(DateTime.TIME_SIMPLE); //=> '11:32 AM'
2351
+ * @example DateTime.now().toLocaleString(DateTime.DATETIME_SHORT); //=> '4/20/2017, 11:32 AM'
2352
+ * @example DateTime.now().toLocaleString({ weekday: 'long', month: 'long', day: '2-digit' }); //=> 'Thursday, April 20'
2353
+ * @example DateTime.now().toLocaleString({ weekday: 'short', month: 'short', day: '2-digit', hour: '2-digit', minute: '2-digit' }); //=> 'Thu, Apr 20, 11:27 AM'
2354
+ * @example DateTime.now().toLocaleString({ hour: '2-digit', minute: '2-digit', hourCycle: 'h23' }); //=> '11:32'
2355
+ * @return {string}
2356
+ */e.prototype.toLocaleString=function(e,n){if(e===void 0){e=DATE_SHORT}if(n===void 0){n={}}return this.isValid?Formatter.create(this.loc.clone(n),e).formatDateTime(this):INVALID};
2357
+ /**
2358
+ * Returns an array of format "parts", meaning individual tokens along with metadata. This is allows callers to post-process individual sections of the formatted output.
2359
+ * Defaults to the system's locale if no locale has been specified
2360
+ * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat/formatToParts
2361
+ * @param opts {Object} - Intl.DateTimeFormat constructor options, same as `toLocaleString`.
2362
+ * @example DateTime.now().toLocaleParts(); //=> [
2363
+ * //=> { type: 'day', value: '25' },
2364
+ * //=> { type: 'literal', value: '/' },
2365
+ * //=> { type: 'month', value: '05' },
2366
+ * //=> { type: 'literal', value: '/' },
2367
+ * //=> { type: 'year', value: '1982' }
2368
+ * //=> ]
2369
+ */e.prototype.toLocaleParts=function(e){if(e===void 0){e={}}return this.isValid?Formatter.create(this.loc.clone(e),e).formatDateTimeParts(this):[]};
2370
+ /**
2371
+ * Returns an ISO 8601-compliant string representation of this DateTime
2372
+ * @param {Object} opts - options
2373
+ * @param {boolean} [opts.suppressMilliseconds=false] - exclude milliseconds from the format if they're 0
2374
+ * @param {boolean} [opts.suppressSeconds=false] - exclude seconds from the format if they're 0
2375
+ * @param {boolean} [opts.includeOffset=true] - include the offset, such as 'Z' or '-04:00'
2376
+ * @param {boolean} [opts.extendedZone=false] - add the time zone format extension
2377
+ * @param {string} [opts.format='extended'] - choose between the basic and extended format
2378
+ * @example DateTime.utc(1983, 5, 25).toISO() //=> '1982-05-25T00:00:00.000Z'
2379
+ * @example DateTime.now().toISO() //=> '2017-04-22T20:47:05.335-04:00'
2380
+ * @example DateTime.now().toISO({ includeOffset: false }) //=> '2017-04-22T20:47:05.335'
2381
+ * @example DateTime.now().toISO({ format: 'basic' }) //=> '20170422T204705.335-0400'
2382
+ * @return {string|null}
2383
+ */e.prototype.toISO=function(e){var n=e===void 0?{}:e,t=n.format,r=t===void 0?"extended":t,i=n.suppressSeconds,a=i===void 0?false:i,u=n.suppressMilliseconds,s=u===void 0?false:u,o=n.includeOffset,f=o===void 0?true:o,l=n.extendedZone,c=l===void 0?false:l;if(!this.isValid){return null}var d=r==="extended";var h=toISODate(this,d);h+="T";h+=toISOTime(this,d,a,s,f,c);return h};
2384
+ /**
2385
+ * Returns an ISO 8601-compliant string representation of this DateTime's date component
2386
+ * @param {Object} opts - options
2387
+ * @param {string} [opts.format='extended'] - choose between the basic and extended format
2388
+ * @example DateTime.utc(1982, 5, 25).toISODate() //=> '1982-05-25'
2389
+ * @example DateTime.utc(1982, 5, 25).toISODate({ format: 'basic' }) //=> '19820525'
2390
+ * @return {string|null}
2391
+ */e.prototype.toISODate=function(e){var n=e===void 0?{}:e,t=n.format,r=t===void 0?"extended":t;if(!this.isValid){return null}return toISODate(this,r==="extended")};
2392
+ /**
2393
+ * Returns an ISO 8601-compliant string representation of this DateTime's week date
2394
+ * @example DateTime.utc(1982, 5, 25).toISOWeekDate() //=> '1982-W21-2'
2395
+ * @return {string}
2396
+ */e.prototype.toISOWeekDate=function(){return toTechFormat(this,"kkkk-'W'WW-c")};
2397
+ /**
2398
+ * Returns an ISO 8601-compliant string representation of this DateTime's time component
2399
+ * @param {Object} opts - options
2400
+ * @param {boolean} [opts.suppressMilliseconds=false] - exclude milliseconds from the format if they're 0
2401
+ * @param {boolean} [opts.suppressSeconds=false] - exclude seconds from the format if they're 0
2402
+ * @param {boolean} [opts.includeOffset=true] - include the offset, such as 'Z' or '-04:00'
2403
+ * @param {boolean} [opts.extendedZone=true] - add the time zone format extension
2404
+ * @param {boolean} [opts.includePrefix=false] - include the `T` prefix
2405
+ * @param {string} [opts.format='extended'] - choose between the basic and extended format
2406
+ * @example DateTime.utc().set({ hour: 7, minute: 34 }).toISOTime() //=> '07:34:19.361Z'
2407
+ * @example DateTime.utc().set({ hour: 7, minute: 34, seconds: 0, milliseconds: 0 }).toISOTime({ suppressSeconds: true }) //=> '07:34Z'
2408
+ * @example DateTime.utc().set({ hour: 7, minute: 34 }).toISOTime({ format: 'basic' }) //=> '073419.361Z'
2409
+ * @example DateTime.utc().set({ hour: 7, minute: 34 }).toISOTime({ includePrefix: true }) //=> 'T07:34:19.361Z'
2410
+ * @return {string}
2411
+ */e.prototype.toISOTime=function(e){var n=e===void 0?{}:e,t=n.suppressMilliseconds,r=t===void 0?false:t,i=n.suppressSeconds,a=i===void 0?false:i,u=n.includeOffset,s=u===void 0?true:u,o=n.includePrefix,f=o===void 0?false:o,l=n.extendedZone,c=l===void 0?false:l,d=n.format,h=d===void 0?"extended":d;if(!this.isValid){return null}var m=f?"T":"";return m+toISOTime(this,h==="extended",a,r,s,c)};
2412
+ /**
2413
+ * Returns an RFC 2822-compatible string representation of this DateTime
2414
+ * @example DateTime.utc(2014, 7, 13).toRFC2822() //=> 'Sun, 13 Jul 2014 00:00:00 +0000'
2415
+ * @example DateTime.local(2014, 7, 13).toRFC2822() //=> 'Sun, 13 Jul 2014 00:00:00 -0400'
2416
+ * @return {string}
2417
+ */e.prototype.toRFC2822=function(){return toTechFormat(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",false)};
2418
+ /**
2419
+ * Returns a string representation of this DateTime appropriate for use in HTTP headers. The output is always expressed in GMT.
2420
+ * Specifically, the string conforms to RFC 1123.
2421
+ * @see https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1
2422
+ * @example DateTime.utc(2014, 7, 13).toHTTP() //=> 'Sun, 13 Jul 2014 00:00:00 GMT'
2423
+ * @example DateTime.utc(2014, 7, 13, 19).toHTTP() //=> 'Sun, 13 Jul 2014 19:00:00 GMT'
2424
+ * @return {string}
2425
+ */e.prototype.toHTTP=function(){return toTechFormat(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")};
2426
+ /**
2427
+ * Returns a string representation of this DateTime appropriate for use in SQL Date
2428
+ * @example DateTime.utc(2014, 7, 13).toSQLDate() //=> '2014-07-13'
2429
+ * @return {string|null}
2430
+ */e.prototype.toSQLDate=function(){if(!this.isValid){return null}return toISODate(this,true)};
2431
+ /**
2432
+ * Returns a string representation of this DateTime appropriate for use in SQL Time
2433
+ * @param {Object} opts - options
2434
+ * @param {boolean} [opts.includeZone=false] - include the zone, such as 'America/New_York'. Overrides includeOffset.
2435
+ * @param {boolean} [opts.includeOffset=true] - include the offset, such as 'Z' or '-04:00'
2436
+ * @param {boolean} [opts.includeOffsetSpace=true] - include the space between the time and the offset, such as '05:15:16.345 -04:00'
2437
+ * @example DateTime.utc().toSQL() //=> '05:15:16.345'
2438
+ * @example DateTime.now().toSQL() //=> '05:15:16.345 -04:00'
2439
+ * @example DateTime.now().toSQL({ includeOffset: false }) //=> '05:15:16.345'
2440
+ * @example DateTime.now().toSQL({ includeZone: false }) //=> '05:15:16.345 America/New_York'
2441
+ * @return {string}
2442
+ */e.prototype.toSQLTime=function(e){var n=e===void 0?{}:e,t=n.includeOffset,r=t===void 0?true:t,i=n.includeZone,a=i===void 0?false:i,u=n.includeOffsetSpace,s=u===void 0?true:u;var o="HH:mm:ss.SSS";if(a||r){if(s){o+=" "}if(a){o+="z"}else if(r){o+="ZZ"}}return toTechFormat(this,o,true)};
2443
+ /**
2444
+ * Returns a string representation of this DateTime appropriate for use in SQL DateTime
2445
+ * @param {Object} opts - options
2446
+ * @param {boolean} [opts.includeZone=false] - include the zone, such as 'America/New_York'. Overrides includeOffset.
2447
+ * @param {boolean} [opts.includeOffset=true] - include the offset, such as 'Z' or '-04:00'
2448
+ * @param {boolean} [opts.includeOffsetSpace=true] - include the space between the time and the offset, such as '05:15:16.345 -04:00'
2449
+ * @example DateTime.utc(2014, 7, 13).toSQL() //=> '2014-07-13 00:00:00.000 Z'
2450
+ * @example DateTime.local(2014, 7, 13).toSQL() //=> '2014-07-13 00:00:00.000 -04:00'
2451
+ * @example DateTime.local(2014, 7, 13).toSQL({ includeOffset: false }) //=> '2014-07-13 00:00:00.000'
2452
+ * @example DateTime.local(2014, 7, 13).toSQL({ includeZone: true }) //=> '2014-07-13 00:00:00.000 America/New_York'
2453
+ * @return {string}
2454
+ */e.prototype.toSQL=function(e){if(e===void 0){e={}}if(!this.isValid){return null}return"".concat(this.toSQLDate()," ").concat(this.toSQLTime(e))};
2455
+ /**
2456
+ * Returns a string representation of this DateTime appropriate for debugging
2457
+ * @return {string}
2458
+ */e.prototype.toString=function(){return this.isValid?this.toISO():INVALID};
2459
+ /**
2460
+ * Returns a string representation of this DateTime appropriate for the REPL.
2461
+ * @return {string}
2462
+ */e.prototype[Symbol.for("nodejs.util.inspect.custom")]=function(){if(this.isValid){return"DateTime { ts: ".concat(this.toISO(),", zone: ").concat(this.zone.name,", locale: ").concat(this.locale," }")}else{return"DateTime { Invalid, reason: ".concat(this.invalidReason," }")}};
2463
+ /**
2464
+ * Returns the epoch milliseconds of this DateTime. Alias of {@link DateTime#toMillis}
2465
+ * @return {number}
2466
+ */e.prototype.valueOf=function(){return this.toMillis()};
2467
+ /**
2468
+ * Returns the epoch milliseconds of this DateTime.
2469
+ * @return {number}
2470
+ */e.prototype.toMillis=function(){return this.isValid?this.ts:NaN};
2471
+ /**
2472
+ * Returns the epoch seconds (including milliseconds in the fractional part) of this DateTime.
2473
+ * @return {number}
2474
+ */e.prototype.toSeconds=function(){return this.isValid?this.ts/1e3:NaN};
2475
+ /**
2476
+ * Returns the epoch seconds (as a whole number) of this DateTime.
2477
+ * @return {number}
2478
+ */e.prototype.toUnixInteger=function(){return this.isValid?Math.floor(this.ts/1e3):NaN};
2479
+ /**
2480
+ * Returns an ISO 8601 representation of this DateTime appropriate for use in JSON.
2481
+ * @return {string}
2482
+ */e.prototype.toJSON=function(){return this.toISO()};
2483
+ /**
2484
+ * Returns a BSON serializable equivalent to this DateTime.
2485
+ * @return {Date}
2486
+ */e.prototype.toBSON=function(){return this.toJSDate()};
2487
+ /**
2488
+ * Returns a JavaScript object with this DateTime's year, month, day, and so on.
2489
+ * @param opts - options for generating the object
2490
+ * @param {boolean} [opts.includeConfig=false] - include configuration attributes in the output
2491
+ * @example DateTime.now().toObject() //=> { year: 2017, month: 4, day: 22, hour: 20, minute: 49, second: 42, millisecond: 268 }
2492
+ * @return {Object}
2493
+ */e.prototype.toObject=function(e){if(e===void 0){e={}}if(!this.isValid)return{};var n=__assign({},this.c);if(e.includeConfig){n.outputCalendar=this.outputCalendar;n.numberingSystem=this.loc.numberingSystem;n.locale=this.loc.locale}return n};
2494
+ /**
2495
+ * Returns a JavaScript Date equivalent to this DateTime.
2496
+ * @return {Date}
2497
+ */e.prototype.toJSDate=function(){return new Date(this.isValid?this.ts:NaN)};
2498
+ // COMPARE
2499
+ /**
2500
+ * Return the difference between two DateTimes as a Duration.
2501
+ * @param {DateTime} otherDateTime - the DateTime to compare this one to
2502
+ * @param {string|string[]} [unit=['milliseconds']] - the unit or array of units (such as 'hours' or 'days') to include in the duration.
2503
+ * @param {Object} opts - options that affect the creation of the Duration
2504
+ * @param {string} [opts.conversionAccuracy='casual'] - the conversion system to use
2505
+ * @example
2506
+ * var i1 = DateTime.fromISO('1982-05-25T09:45'),
2507
+ * i2 = DateTime.fromISO('1983-10-14T10:30');
2508
+ * i2.diff(i1).toObject() //=> { milliseconds: 43807500000 }
2509
+ * i2.diff(i1, 'hours').toObject() //=> { hours: 12168.75 }
2510
+ * i2.diff(i1, ['months', 'days']).toObject() //=> { months: 16, days: 19.03125 }
2511
+ * i2.diff(i1, ['months', 'days', 'hours']).toObject() //=> { months: 16, days: 19, hours: 0.75 }
2512
+ * @return {Duration}
2513
+ */e.prototype.diff=function(e,n,t){if(n===void 0){n="milliseconds"}if(t===void 0){t={}}if(!this.isValid||!e.isValid){return Duration.invalid("created by diffing an invalid DateTime")}var r=__assign({locale:this.locale,numberingSystem:this.numberingSystem},t);var i=maybeArray(n).map(Duration.normalizeUnit),a=e.valueOf()>this.valueOf(),u=a?this:e,s=a?e:this,o=diff(u,s,i,r);return a?o.negate():o};
2514
+ /**
2515
+ * Return the difference between this DateTime and right now.
2516
+ * See {@link DateTime#diff}
2517
+ * @param {string|string[]} [unit=['milliseconds']] - the unit or units units (such as 'hours' or 'days') to include in the duration
2518
+ * @param {Object} opts - options that affect the creation of the Duration
2519
+ * @param {string} [opts.conversionAccuracy='casual'] - the conversion system to use
2520
+ * @return {Duration}
2521
+ */e.prototype.diffNow=function(n,t){if(n===void 0){n="milliseconds"}if(t===void 0){t={}}return this.diff(e.now(),n,t)};
2522
+ /**
2523
+ * Return an Interval spanning between this DateTime and another DateTime
2524
+ * @param {DateTime} otherDateTime - the other end point of the Interval
2525
+ * @return {Interval|DateTime}
2526
+ */e.prototype.until=function(e){return this.isValid?Interval.fromDateTimes(this,e):this};
2527
+ /**
2528
+ * Return whether this DateTime is in the same unit of time as another DateTime.
2529
+ * Higher-order units must also be identical for this function to return `true`.
2530
+ * Note that time zones are **ignored** in this comparison, which compares the **local** calendar time. Use {@link DateTime#setZone} to convert one of the dates if needed.
2531
+ * @param {DateTime} otherDateTime - the other DateTime
2532
+ * @param {string} unit - the unit of time to check sameness on
2533
+ * @param {Object} opts - options
2534
+ * @param {boolean} [opts.useLocaleWeeks=false] - If true, use weeks based on the locale, i.e. use the locale-dependent start of the week; only the locale of this DateTime is used
2535
+ * @example DateTime.now().hasSame(otherDT, 'day'); //~> true if otherDT is in the same current calendar day
2536
+ * @return {boolean}
2537
+ */e.prototype.hasSame=function(e,n,t){if(!this.isValid)return false;var r=e.valueOf();var i=this.setZone(e.zone,{keepLocalTime:true});return i.startOf(n,t)<=r&&r<=i.endOf(n,t)};
2538
+ /**
2539
+ * Equality check
2540
+ * Two DateTimes are equal if and only if they represent the same millisecond, have the same zone and location, and are both valid.
2541
+ * To compare just the millisecond values, use `+dt1 === +dt2`.
2542
+ * @param {DateTime} other - the other DateTime
2543
+ * @return {boolean}
2544
+ */e.prototype.equals=function(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)};
2545
+ /**
2546
+ * Returns a string representation of a this time relative to now, such as "in two days". Can only internationalize if your
2547
+ * platform supports Intl.RelativeTimeFormat. Rounds down by default.
2548
+ * @param {Object} options - options that affect the output
2549
+ * @param {DateTime} [options.base=DateTime.now()] - the DateTime to use as the basis to which this time is compared. Defaults to now.
2550
+ * @param {string} [options.style="long"] - the style of units, must be "long", "short", or "narrow"
2551
+ * @param {string|string[]} options.unit - use a specific unit or array of units; if omitted, or an array, the method will pick the best unit. Use an array or one of "years", "quarters", "months", "weeks", "days", "hours", "minutes", or "seconds"
2552
+ * @param {boolean} [options.round=true] - whether to round the numbers in the output.
2553
+ * @param {number} [options.padding=0] - padding in milliseconds. This allows you to round up the result if it fits inside the threshold. Don't use in combination with {round: false} because the decimal output will include the padding.
2554
+ * @param {string} options.locale - override the locale of this DateTime
2555
+ * @param {string} options.numberingSystem - override the numberingSystem of this DateTime. The Intl system may choose not to honor this
2556
+ * @example DateTime.now().plus({ days: 1 }).toRelative() //=> "in 1 day"
2557
+ * @example DateTime.now().setLocale("es").toRelative({ days: 1 }) //=> "dentro de 1 día"
2558
+ * @example DateTime.now().plus({ days: 1 }).toRelative({ locale: "fr" }) //=> "dans 23 heures"
2559
+ * @example DateTime.now().minus({ days: 2 }).toRelative() //=> "2 days ago"
2560
+ * @example DateTime.now().minus({ days: 2 }).toRelative({ unit: "hours" }) //=> "48 hours ago"
2561
+ * @example DateTime.now().minus({ hours: 36 }).toRelative({ round: false }) //=> "1.5 days ago"
2562
+ */e.prototype.toRelative=function(n){if(n===void 0){n={}}if(!this.isValid)return null;var t=n.base||e.fromObject({},{zone:this.zone}),r=n.padding?this<t?-n.padding:n.padding:0;var i=["years","months","days","hours","minutes","seconds"];var a=n.unit;if(Array.isArray(n.unit)){i=n.unit;a=undefined}return diffRelative(t,this.plus(r),__assign(__assign({},n),{numeric:"always",units:i,unit:a}))};
2563
+ /**
2564
+ * Returns a string representation of this date relative to today, such as "yesterday" or "next month".
2565
+ * Only internationalizes on platforms that supports Intl.RelativeTimeFormat.
2566
+ * @param {Object} options - options that affect the output
2567
+ * @param {DateTime} [options.base=DateTime.now()] - the DateTime to use as the basis to which this time is compared. Defaults to now.
2568
+ * @param {string} options.locale - override the locale of this DateTime
2569
+ * @param {string} options.unit - use a specific unit; if omitted, the method will pick the unit. Use one of "years", "quarters", "months", "weeks", or "days"
2570
+ * @param {string} options.numberingSystem - override the numberingSystem of this DateTime. The Intl system may choose not to honor this
2571
+ * @example DateTime.now().plus({ days: 1 }).toRelativeCalendar() //=> "tomorrow"
2572
+ * @example DateTime.now().setLocale("es").plus({ days: 1 }).toRelative() //=> ""mañana"
2573
+ * @example DateTime.now().plus({ days: 1 }).toRelativeCalendar({ locale: "fr" }) //=> "demain"
2574
+ * @example DateTime.now().minus({ days: 2 }).toRelativeCalendar() //=> "2 days ago"
2575
+ */e.prototype.toRelativeCalendar=function(n){if(n===void 0){n={}}if(!this.isValid)return null;return diffRelative(n.base||e.fromObject({},{zone:this.zone}),this,__assign(__assign({},n),{numeric:"auto",units:["years","months","days"],calendary:true}))};
2576
+ /**
2577
+ * Return the min of several date times
2578
+ * @param {...DateTime} dateTimes - the DateTimes from which to choose the minimum
2579
+ * @return {DateTime} the min DateTime, or undefined if called with no argument
2580
+ */e.min=function(){var n=[];for(var t=0;t<arguments.length;t++){n[t]=arguments[t]}if(!n.every(e.isDateTime)){throw new InvalidArgumentError("min requires all arguments be DateTimes")}return bestBy(n,(function(e){return e.valueOf()}),Math.min)};
2581
+ /**
2582
+ * Return the max of several date times
2583
+ * @param {...DateTime} dateTimes - the DateTimes from which to choose the maximum
2584
+ * @return {DateTime} the max DateTime, or undefined if called with no argument
2585
+ */e.max=function(){var n=[];for(var t=0;t<arguments.length;t++){n[t]=arguments[t]}if(!n.every(e.isDateTime)){throw new InvalidArgumentError("max requires all arguments be DateTimes")}return bestBy(n,(function(e){return e.valueOf()}),Math.max)};
2586
+ // MISC
2587
+ /**
2588
+ * Explain how a string would be parsed by fromFormat()
2589
+ * @param {string} text - the string to parse
2590
+ * @param {string} fmt - the format the string is expected to be in (see description)
2591
+ * @param {Object} options - options taken by fromFormat()
2592
+ * @return {Object}
2593
+ */e.fromFormatExplain=function(e,n,t){if(t===void 0){t={}}var r=t.locale,i=r===void 0?null:r,a=t.numberingSystem,u=a===void 0?null:a,s=Locale.fromOpts({locale:i,numberingSystem:u,defaultToEN:true});return explainFromTokens(s,e,n)};
2594
+ /**
2595
+ * @deprecated use fromFormatExplain instead
2596
+ */e.fromStringExplain=function(n,t,r){if(r===void 0){r={}}return e.fromFormatExplain(n,t,r)};
2597
+ /**
2598
+ * Build a parser for `fmt` using the given locale. This parser can be passed
2599
+ * to {@link DateTime.fromFormatParser} to a parse a date in this format. This
2600
+ * can be used to optimize cases where many dates need to be parsed in a
2601
+ * specific format.
2602
+ *
2603
+ * @param {String} fmt - the format the string is expected to be in (see
2604
+ * description)
2605
+ * @param {Object} options - options used to set locale and numberingSystem
2606
+ * for parser
2607
+ * @returns {TokenParser} - opaque object to be used
2608
+ */e.buildFormatParser=function(e,n){if(n===void 0){n={}}var t=n.locale,r=t===void 0?null:t,i=n.numberingSystem,a=i===void 0?null:i,u=Locale.fromOpts({locale:r,numberingSystem:a,defaultToEN:true});return new TokenParser(u,e)};
2609
+ /**
2610
+ * Create a DateTime from an input string and format parser.
2611
+ *
2612
+ * The format parser must have been created with the same locale as this call.
2613
+ *
2614
+ * @param {String} text - the string to parse
2615
+ * @param {TokenParser} formatParser - parser from {@link DateTime.buildFormatParser}
2616
+ * @param {Object} opts - options taken by fromFormat()
2617
+ * @returns {DateTime}
2618
+ */e.fromFormatParser=function(n,t,r){if(r===void 0){r={}}if(isUndefined(n)||isUndefined(t)){throw new InvalidArgumentError("fromFormatParser requires an input string and a format parser")}var i=r.locale,a=i===void 0?null:i,u=r.numberingSystem,s=u===void 0?null:u,o=Locale.fromOpts({locale:a,numberingSystem:s,defaultToEN:true});if(!o.equals(t.locale)){throw new InvalidArgumentError("fromFormatParser called with a locale of ".concat(o,", ")+"but the format parser was created for ".concat(t.locale))}var f=t.explainFromTokens(n),l=f.result,c=f.zone,d=f.specificOffset,h=f.invalidReason;if(h){return e.invalid(h)}else{return parseDataToDateTime(l,c,r,"format ".concat(t.format),n,d)}};Object.defineProperty(e,"DATE_SHORT",{
2619
+ // FORMAT PRESETS
2620
+ /**
2621
+ * {@link DateTime#toLocaleString} format like 10/14/1983
2622
+ * @type {Object}
2623
+ */
2624
+ get:function(){return DATE_SHORT},enumerable:false,configurable:true});Object.defineProperty(e,"DATE_MED",{
2625
+ /**
2626
+ * {@link DateTime#toLocaleString} format like 'Oct 14, 1983'
2627
+ * @type {Object}
2628
+ */
2629
+ get:function(){return DATE_MED},enumerable:false,configurable:true});Object.defineProperty(e,"DATE_MED_WITH_WEEKDAY",{
2630
+ /**
2631
+ * {@link DateTime#toLocaleString} format like 'Fri, Oct 14, 1983'
2632
+ * @type {Object}
2633
+ */
2634
+ get:function(){return DATE_MED_WITH_WEEKDAY},enumerable:false,configurable:true});Object.defineProperty(e,"DATE_FULL",{
2635
+ /**
2636
+ * {@link DateTime#toLocaleString} format like 'October 14, 1983'
2637
+ * @type {Object}
2638
+ */
2639
+ get:function(){return DATE_FULL},enumerable:false,configurable:true});Object.defineProperty(e,"DATE_HUGE",{
2640
+ /**
2641
+ * {@link DateTime#toLocaleString} format like 'Tuesday, October 14, 1983'
2642
+ * @type {Object}
2643
+ */
2644
+ get:function(){return DATE_HUGE},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_SIMPLE",{
2645
+ /**
2646
+ * {@link DateTime#toLocaleString} format like '09:30 AM'. Only 12-hour if the locale is.
2647
+ * @type {Object}
2648
+ */
2649
+ get:function(){return TIME_SIMPLE},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_WITH_SECONDS",{
2650
+ /**
2651
+ * {@link DateTime#toLocaleString} format like '09:30:23 AM'. Only 12-hour if the locale is.
2652
+ * @type {Object}
2653
+ */
2654
+ get:function(){return TIME_WITH_SECONDS},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_WITH_SHORT_OFFSET",{
2655
+ /**
2656
+ * {@link DateTime#toLocaleString} format like '09:30:23 AM EDT'. Only 12-hour if the locale is.
2657
+ * @type {Object}
2658
+ */
2659
+ get:function(){return TIME_WITH_SHORT_OFFSET},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_WITH_LONG_OFFSET",{
2660
+ /**
2661
+ * {@link DateTime#toLocaleString} format like '09:30:23 AM Eastern Daylight Time'. Only 12-hour if the locale is.
2662
+ * @type {Object}
2663
+ */
2664
+ get:function(){return TIME_WITH_LONG_OFFSET},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_24_SIMPLE",{
2665
+ /**
2666
+ * {@link DateTime#toLocaleString} format like '09:30', always 24-hour.
2667
+ * @type {Object}
2668
+ */
2669
+ get:function(){return TIME_24_SIMPLE},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_24_WITH_SECONDS",{
2670
+ /**
2671
+ * {@link DateTime#toLocaleString} format like '09:30:23', always 24-hour.
2672
+ * @type {Object}
2673
+ */
2674
+ get:function(){return TIME_24_WITH_SECONDS},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_24_WITH_SHORT_OFFSET",{
2675
+ /**
2676
+ * {@link DateTime#toLocaleString} format like '09:30:23 EDT', always 24-hour.
2677
+ * @type {Object}
2678
+ */
2679
+ get:function(){return TIME_24_WITH_SHORT_OFFSET},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_24_WITH_LONG_OFFSET",{
2680
+ /**
2681
+ * {@link DateTime#toLocaleString} format like '09:30:23 Eastern Daylight Time', always 24-hour.
2682
+ * @type {Object}
2683
+ */
2684
+ get:function(){return TIME_24_WITH_LONG_OFFSET},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_SHORT",{
2685
+ /**
2686
+ * {@link DateTime#toLocaleString} format like '10/14/1983, 9:30 AM'. Only 12-hour if the locale is.
2687
+ * @type {Object}
2688
+ */
2689
+ get:function(){return DATETIME_SHORT},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_SHORT_WITH_SECONDS",{
2690
+ /**
2691
+ * {@link DateTime#toLocaleString} format like '10/14/1983, 9:30:33 AM'. Only 12-hour if the locale is.
2692
+ * @type {Object}
2693
+ */
2694
+ get:function(){return DATETIME_SHORT_WITH_SECONDS},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_MED",{
2695
+ /**
2696
+ * {@link DateTime#toLocaleString} format like 'Oct 14, 1983, 9:30 AM'. Only 12-hour if the locale is.
2697
+ * @type {Object}
2698
+ */
2699
+ get:function(){return DATETIME_MED},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_MED_WITH_SECONDS",{
2700
+ /**
2701
+ * {@link DateTime#toLocaleString} format like 'Oct 14, 1983, 9:30:33 AM'. Only 12-hour if the locale is.
2702
+ * @type {Object}
2703
+ */
2704
+ get:function(){return DATETIME_MED_WITH_SECONDS},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_MED_WITH_WEEKDAY",{
2705
+ /**
2706
+ * {@link DateTime#toLocaleString} format like 'Fri, 14 Oct 1983, 9:30 AM'. Only 12-hour if the locale is.
2707
+ * @type {Object}
2708
+ */
2709
+ get:function(){return DATETIME_MED_WITH_WEEKDAY},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_FULL",{
2710
+ /**
2711
+ * {@link DateTime#toLocaleString} format like 'October 14, 1983, 9:30 AM EDT'. Only 12-hour if the locale is.
2712
+ * @type {Object}
2713
+ */
2714
+ get:function(){return DATETIME_FULL},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_FULL_WITH_SECONDS",{
2715
+ /**
2716
+ * {@link DateTime#toLocaleString} format like 'October 14, 1983, 9:30:33 AM EDT'. Only 12-hour if the locale is.
2717
+ * @type {Object}
2718
+ */
2719
+ get:function(){return DATETIME_FULL_WITH_SECONDS},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_HUGE",{
2720
+ /**
2721
+ * {@link DateTime#toLocaleString} format like 'Friday, October 14, 1983, 9:30 AM Eastern Daylight Time'. Only 12-hour if the locale is.
2722
+ * @type {Object}
2723
+ */
2724
+ get:function(){return DATETIME_HUGE},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_HUGE_WITH_SECONDS",{
2725
+ /**
2726
+ * {@link DateTime#toLocaleString} format like 'Friday, October 14, 1983, 9:30:33 AM Eastern Daylight Time'. Only 12-hour if the locale is.
2727
+ * @type {Object}
2728
+ */
2729
+ get:function(){return DATETIME_HUGE_WITH_SECONDS},enumerable:false,configurable:true});return e}();
2730
+ /**
2731
+ * @private
2732
+ */function friendlyDateTime(e){if(DateTime.isDateTime(e)){return e}else if(e&&e.valueOf&&isNumber(e.valueOf())){return DateTime.fromJSDate(e)}else if(e&&typeof e==="object"){return DateTime.fromObject(e)}else{throw new InvalidArgumentError("Unknown datetime argument: ".concat(e,", of type ").concat(typeof e))}}export{DateTime as D};