@maggioli-design-system/magma 2.0.0-alpha.1 → 2.0.0-beta.2
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.
- package/README.md +15 -2
- package/dist/cjs/{datetime-CVIe4VUc.js → datetime-DHnUzK2K.js} +1 -1
- package/dist/cjs/{index-BoL6yK0y.js → index-CNuKb6Lv.js} +482 -370
- package/dist/cjs/index.cjs.js +257 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/magma-components.cjs.js +3 -3
- package/dist/cjs/mds-accordion-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +7 -5
- package/dist/cjs/mds-accordion-timer.cjs.entry.js +9 -7
- package/dist/cjs/mds-accordion.cjs.entry.js +4 -4
- package/dist/cjs/mds-author.cjs.entry.js +4 -4
- package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-avatar-stack.cjs.entry.js +4 -4
- package/dist/cjs/mds-avatar.cjs.entry.js +41 -14
- package/dist/cjs/mds-badge.cjs.entry.js +8 -6
- package/dist/cjs/mds-banner_3.cjs.entry.js +33 -19
- package/dist/cjs/mds-benchmark-bar.cjs.entry.js +8 -6
- package/dist/cjs/mds-bibliography.cjs.entry.js +8 -8
- package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-breadcrumb.cjs.entry.js +7 -4
- package/dist/cjs/mds-button-dropdown.cjs.entry.js +4 -4
- package/dist/cjs/mds-button-group.cjs.entry.js +4 -4
- package/dist/cjs/mds-button_3.cjs.entry.js +44 -249
- package/dist/cjs/mds-calendar_2.cjs.entry.js +287 -144
- package/dist/cjs/mds-card-content.cjs.entry.js +4 -4
- package/dist/cjs/mds-card-footer.cjs.entry.js +4 -4
- package/dist/cjs/mds-card-header.cjs.entry.js +4 -4
- package/dist/cjs/mds-card-media.cjs.entry.js +4 -4
- package/dist/cjs/mds-card.cjs.entry.js +11 -13
- package/dist/cjs/mds-details.cjs.entry.js +7 -5
- package/dist/cjs/mds-dropdown.cjs.entry.js +42 -18
- package/dist/cjs/mds-emoji.cjs.entry.js +29 -20
- package/dist/cjs/mds-entity.cjs.entry.js +4 -4
- package/dist/cjs/mds-file-preview.cjs.entry.js +18 -6
- package/dist/cjs/mds-file.cjs.entry.js +10 -5
- package/dist/cjs/mds-filter-item.cjs.entry.js +7 -7
- package/dist/cjs/mds-filter.cjs.entry.js +5 -5
- package/dist/cjs/mds-header-bar.cjs.entry.js +8 -4
- package/dist/cjs/mds-header.cjs.entry.js +30 -16
- package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +18 -13
- package/dist/cjs/mds-hr.cjs.entry.js +4 -4
- package/dist/cjs/mds-img.cjs.entry.js +15 -8
- package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +4 -4
- package/dist/cjs/mds-input-date-range.cjs.entry.js +221 -71
- package/dist/cjs/mds-input-date.cjs.entry.js +40 -17
- package/dist/cjs/mds-input-field.cjs.entry.js +7 -7
- package/dist/cjs/mds-input-otp.cjs.entry.js +6 -6
- package/dist/cjs/mds-input-range.cjs.entry.js +19 -9
- package/dist/cjs/mds-input-select.cjs.entry.js +39 -19
- package/dist/cjs/mds-input-switch_2.cjs.entry.js +19 -10
- package/dist/cjs/mds-input-tip_2.cjs.entry.js +14 -9
- package/dist/cjs/mds-input-upload.cjs.entry.js +19 -12
- package/dist/cjs/mds-input.cjs.entry.js +39 -16
- package/dist/cjs/mds-keyboard-key.cjs.entry.js +8 -5
- package/dist/cjs/mds-keyboard.cjs.entry.js +13 -8
- package/dist/cjs/mds-kpi-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-kpi.cjs.entry.js +4 -4
- package/dist/cjs/mds-label.cjs.entry.js +7 -4
- package/dist/cjs/mds-list-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-list.cjs.entry.js +4 -4
- package/dist/cjs/mds-mention.cjs.entry.js +4 -4
- package/dist/cjs/mds-modal.cjs.entry.js +22 -15
- package/dist/cjs/mds-note.cjs.entry.js +7 -4
- package/dist/cjs/mds-notification.cjs.entry.js +11 -9
- package/dist/cjs/mds-paginator-item.cjs.entry.js +7 -7
- package/dist/cjs/mds-paginator.cjs.entry.js +4 -4
- package/dist/cjs/mds-policy-ai.cjs.entry.js +7 -4
- package/dist/cjs/mds-pref-animation.cjs.entry.js +13 -8
- package/dist/cjs/mds-pref-consumption.cjs.entry.js +13 -8
- package/dist/cjs/mds-pref-contrast.cjs.entry.js +14 -9
- package/dist/cjs/mds-pref-language-item.cjs.entry.js +7 -4
- package/dist/cjs/mds-pref-language.cjs.entry.js +8 -5
- package/dist/cjs/mds-pref-theme-variant-item.cjs.entry.js +8 -5
- package/dist/cjs/mds-pref-theme-variant.cjs.entry.js +9 -6
- package/dist/cjs/mds-pref-theme.cjs.entry.js +17 -12
- package/dist/cjs/mds-pref.cjs.entry.js +15 -8
- package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +4 -4
- package/dist/cjs/mds-price-table-features-row.cjs.entry.js +4 -4
- package/dist/cjs/mds-price-table-features.cjs.entry.js +4 -4
- package/dist/cjs/mds-price-table-header.cjs.entry.js +4 -4
- package/dist/cjs/mds-price-table-list-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-price-table-list.cjs.entry.js +4 -4
- package/dist/cjs/mds-price-table.cjs.entry.js +4 -4
- package/dist/cjs/mds-progress_2.cjs.entry.js +17 -11
- package/dist/cjs/mds-push-notification-item.cjs.entry.js +12 -7
- package/dist/cjs/mds-push-notification.cjs.entry.js +22 -10
- package/dist/cjs/mds-quote.cjs.entry.js +4 -4
- package/dist/cjs/mds-radial-menu-item.cjs.entry.js +7 -4
- package/dist/cjs/mds-radial-menu.cjs.entry.js +30 -14
- package/dist/cjs/mds-separator.cjs.entry.js +4 -4
- package/dist/cjs/mds-status-bar.cjs.entry.js +10 -5
- package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +13 -6
- package/dist/cjs/mds-stepper-bar.cjs.entry.js +8 -6
- package/dist/cjs/mds-tab-bar-item.cjs.entry.js +14 -7
- package/dist/cjs/mds-tab-bar.cjs.entry.js +4 -4
- package/dist/cjs/mds-tab_2.cjs.entry.js +28 -16
- package/dist/cjs/mds-table-body.cjs.entry.js +4 -4
- package/dist/cjs/mds-table-footer.cjs.entry.js +4 -4
- package/dist/cjs/mds-table-header-cell.cjs.entry.js +27 -12
- package/dist/cjs/mds-table-header.cjs.entry.js +13 -5
- package/dist/cjs/mds-table-row.cjs.entry.js +12 -6
- package/dist/cjs/mds-table.cjs.entry.js +11 -7
- package/dist/cjs/mds-text.cjs.entry.js +9 -7
- package/dist/cjs/mds-toast.cjs.entry.js +12 -8
- package/dist/cjs/mds-tooltip.cjs.entry.js +35 -15
- package/dist/cjs/mds-tree-item.cjs.entry.js +16 -6
- package/dist/cjs/mds-tree.cjs.entry.js +14 -8
- package/dist/cjs/mds-url-view.cjs.entry.js +10 -7
- package/dist/cjs/mds-usage.cjs.entry.js +7 -4
- package/dist/cjs/mds-video-wall.cjs.entry.js +4 -4
- package/dist/cjs/mds-zero.cjs.entry.js +4 -4
- package/dist/collection/collection-manifest.json +3 -2
- package/dist/collection/components/mds-accordion/mds-accordion.js +4 -3
- package/dist/collection/components/mds-accordion-item/mds-accordion-item.js +10 -6
- package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.js +6 -5
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +12 -7
- package/dist/collection/components/mds-author/mds-author.js +2 -2
- package/dist/collection/components/mds-avatar/mds-avatar.js +30 -9
- package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.js +6 -2
- package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.js +5 -3
- package/dist/collection/components/mds-badge/mds-badge.js +9 -6
- package/dist/collection/components/mds-banner/mds-banner.js +11 -6
- package/dist/collection/components/mds-benchmark-bar/mds-benchmark-bar.js +9 -6
- package/dist/collection/components/mds-bibliography/mds-bibliography.js +15 -10
- package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.js +8 -4
- package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.js +3 -2
- package/dist/collection/components/mds-button/mds-button.js +23 -13
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +16 -7
- package/dist/collection/components/mds-button-group/mds-button-group.js +4 -1
- package/dist/collection/components/mds-calendar/mds-calendar.css +63 -5
- package/dist/collection/components/mds-calendar/mds-calendar.js +450 -143
- package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +7 -4
- package/dist/collection/components/mds-card/mds-card.js +8 -10
- package/dist/collection/components/mds-card-content/mds-card-content.js +2 -2
- package/dist/collection/components/mds-card-footer/mds-card-footer.js +2 -2
- package/dist/collection/components/mds-card-header/mds-card-header.js +2 -2
- package/dist/collection/components/mds-card-media/mds-card-media.js +2 -2
- package/dist/collection/components/mds-chip/mds-chip.js +20 -12
- package/dist/collection/components/mds-details/mds-details.js +2 -2
- package/dist/collection/components/mds-dropdown/mds-dropdown.js +16 -10
- package/dist/collection/components/mds-emoji/mds-emoji.js +18 -7
- package/dist/collection/components/mds-entity/mds-entity.js +6 -4
- package/dist/collection/components/mds-file/mds-file.js +10 -5
- package/dist/collection/components/mds-file-preview/mds-file-preview.js +21 -8
- package/dist/collection/components/mds-filter/mds-filter.js +5 -4
- package/dist/collection/components/mds-filter-item/mds-filter-item.js +6 -5
- package/dist/collection/components/mds-header/mds-header.js +30 -17
- package/dist/collection/components/mds-header-bar/mds-header-bar.js +16 -7
- package/dist/collection/components/mds-help/mds-help.js +4 -3
- package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +19 -13
- package/dist/collection/components/mds-hr/mds-hr.js +1 -1
- package/dist/collection/components/mds-icon/mds-icon.js +2 -2
- package/dist/collection/components/mds-icon/services/icons-set.service.js +33 -1
- package/dist/collection/components/mds-img/mds-img.js +17 -9
- package/dist/collection/components/mds-input/mds-input.js +65 -30
- package/dist/collection/components/mds-input-date/mds-input-date.js +52 -22
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +37 -1
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +245 -84
- package/dist/collection/components/mds-input-date-range/test/mds-input-date-range.stories.js +10 -0
- package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.js +4 -1
- package/dist/collection/components/mds-input-field/mds-input-field.js +9 -5
- package/dist/collection/components/mds-input-otp/mds-input-otp.js +3 -3
- package/dist/collection/components/mds-input-range/mds-input-range.js +2 -1
- package/dist/collection/components/mds-input-select/mds-input-select.js +33 -16
- package/dist/collection/components/mds-input-switch/mds-input-switch.js +18 -9
- package/dist/collection/components/mds-input-tip/mds-input-tip.js +6 -2
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +11 -4
- package/dist/collection/components/mds-input-upload/mds-input-upload.js +15 -10
- package/dist/collection/components/mds-keyboard/mds-keyboard.js +13 -6
- package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +9 -5
- package/dist/collection/components/mds-kpi/mds-kpi.js +2 -2
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +1 -1
- package/dist/collection/components/mds-label/mds-label.js +11 -5
- package/dist/collection/components/mds-list/mds-list.js +2 -2
- package/dist/collection/components/mds-list-item/mds-list-item.js +8 -5
- package/dist/collection/components/mds-mention/mds-mention.js +3 -2
- package/dist/collection/components/mds-modal/mds-modal.js +25 -17
- package/dist/collection/components/mds-note/mds-note.js +8 -4
- package/dist/collection/components/mds-notification/mds-notification.js +7 -6
- package/dist/collection/components/mds-paginator/mds-paginator.js +3 -2
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +5 -5
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +7 -3
- package/dist/collection/components/mds-pref/mds-pref.js +10 -6
- package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +14 -8
- package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +14 -8
- package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +15 -9
- package/dist/collection/components/mds-pref-language/mds-pref-language.js +13 -7
- package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +7 -3
- package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +20 -13
- package/dist/collection/components/mds-pref-theme-variant/mds-pref-theme-variant.js +16 -9
- package/dist/collection/components/mds-pref-theme-variant-item/mds-pref-theme-variant-item.js +10 -5
- package/dist/collection/components/mds-price-table/mds-price-table.js +4 -1
- package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +2 -2
- package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +4 -3
- package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +2 -2
- package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +4 -1
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +2 -2
- package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +6 -2
- package/dist/collection/components/mds-progress/mds-progress.js +10 -6
- package/dist/collection/components/mds-push-notification/mds-push-notification.js +27 -15
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +17 -9
- package/dist/collection/components/mds-quote/mds-quote.js +6 -4
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +16 -8
- package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +11 -5
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +5 -3
- package/dist/collection/components/mds-separator/mds-separator.js +1 -1
- package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
- package/dist/collection/components/mds-status-bar/mds-status-bar.js +10 -5
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +7 -5
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +9 -4
- package/dist/collection/components/mds-tab/mds-tab.js +13 -9
- package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +4 -3
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +9 -5
- package/dist/collection/components/mds-tab-item/mds-tab-item.js +11 -6
- package/dist/collection/components/mds-table/mds-table.js +9 -7
- package/dist/collection/components/mds-table-body/mds-table-body.js +4 -4
- package/dist/collection/components/mds-table-cell/mds-table-cell.js +2 -2
- package/dist/collection/components/mds-table-footer/mds-table-footer.js +2 -2
- package/dist/collection/components/mds-table-header/mds-table-header.js +23 -9
- package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +21 -9
- package/dist/collection/components/mds-table-row/mds-table-row.js +16 -10
- package/dist/collection/components/mds-text/mds-text.js +15 -10
- package/dist/collection/components/mds-toast/mds-toast.js +10 -7
- package/dist/collection/components/mds-tooltip/mds-tooltip.js +9 -6
- package/dist/collection/components/mds-tree/mds-tree.js +13 -8
- package/dist/collection/components/mds-tree-item/mds-tree-item.js +21 -10
- package/dist/collection/components/mds-url-view/mds-url-view.js +10 -6
- package/dist/collection/components/mds-usage/mds-usage.js +8 -4
- package/dist/collection/components/mds-video-wall/mds-video-wall.js +6 -4
- package/dist/collection/components/mds-zero/mds-zero.js +2 -2
- package/dist/collection/index.js +15 -0
- package/dist/components/_commonjsHelpers.js +1 -32
- package/dist/components/aria.js +1 -45
- package/dist/components/arrow-back.js +1 -3
- package/dist/components/arrow-forward.js +1 -3
- package/dist/components/broken-image.js +1 -3
- package/dist/components/browser.js +1 -8
- package/dist/components/calendar-today.js +1 -3
- package/dist/components/cancel.js +1 -3
- package/dist/components/check-circle.js +1 -3
- package/dist/components/circle.js +1 -3
- package/dist/components/close.js +1 -3
- package/dist/components/clsx.js +1 -3
- package/dist/components/date.js +1 -14
- package/dist/components/done.js +1 -3
- package/dist/components/floating-controller.js +1 -200
- package/dist/components/floating-ui.dom.js +1 -1695
- package/dist/components/horizontal-rule.js +1 -3
- package/dist/components/icons-set.service.js +1 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +1 -1
- package/dist/components/keyboard-arrow-down.js +1 -3
- package/dist/components/keyboard-arrow-right.js +1 -3
- package/dist/components/keyboard-arrow-up.js +1 -3
- package/dist/components/keyboard-manager.js +1 -50
- package/dist/components/keys.js +1 -775
- package/dist/components/locale.it.js +1 -571
- package/dist/components/locale.js +1 -831
- package/dist/components/mds-accordion-item.js +1 -63
- package/dist/components/mds-accordion-timer-item.js +1 -120
- package/dist/components/mds-accordion-timer.js +1 -179
- package/dist/components/mds-accordion.js +1 -83
- package/dist/components/mds-author.js +1 -39
- package/dist/components/mds-avatar-stack-item.js +1 -6
- package/dist/components/mds-avatar-stack-item2.js +1 -78
- package/dist/components/mds-avatar-stack.js +1 -84
- package/dist/components/mds-avatar.js +1 -6
- package/dist/components/mds-avatar2.js +1 -246
- package/dist/components/mds-badge.js +1 -6
- package/dist/components/mds-badge2.js +1 -71
- package/dist/components/mds-banner.js +1 -6
- package/dist/components/mds-banner2.js +1 -177
- package/dist/components/mds-benchmark-bar.js +1 -99
- package/dist/components/mds-bibliography.js +1 -179
- package/dist/components/mds-breadcrumb-item.js +1 -70
- package/dist/components/mds-breadcrumb.js +1 -177
- package/dist/components/mds-button-dropdown.js +1 -104
- package/dist/components/mds-button-group.js +1 -35
- package/dist/components/mds-button.js +1 -6
- package/dist/components/mds-button2.js +1 -280
- package/dist/components/mds-calendar-cell.js +1 -6
- package/dist/components/mds-calendar-cell2.js +1 -86
- package/dist/components/mds-calendar.js +1 -6
- package/dist/components/mds-calendar2.js +1 -8602
- package/dist/components/mds-card-content.js +1 -35
- package/dist/components/mds-card-footer.js +1 -35
- package/dist/components/mds-card-header.js +1 -39
- package/dist/components/mds-card-media.js +1 -35
- package/dist/components/mds-card.js +1 -60
- package/dist/components/mds-chip.js +1 -6
- package/dist/components/mds-chip2.js +1 -195
- package/dist/components/mds-details.js +1 -81
- package/dist/components/mds-dropdown.js +1 -6
- package/dist/components/mds-dropdown2.js +1 -285
- package/dist/components/mds-emoji.js +3 -6971
- package/dist/components/mds-entity.js +1 -99
- package/dist/components/mds-file-preview.js +1 -6
- package/dist/components/mds-file-preview2.js +8 -359
- package/dist/components/mds-file.js +14 -7649
- package/dist/components/mds-filter-item.js +1 -6
- package/dist/components/mds-filter-item2.js +1 -67
- package/dist/components/mds-filter.js +1 -151
- package/dist/components/mds-header-bar.js +1 -88
- package/dist/components/mds-header.js +1 -256
- package/dist/components/mds-help.js +1 -6
- package/dist/components/mds-help2.js +1 -65
- package/dist/components/mds-horizontal-scroll.js +1 -267
- package/dist/components/mds-hr.js +1 -35
- package/dist/components/mds-icon.js +1 -6
- package/dist/components/mds-icon2.js +1 -313
- package/dist/components/mds-img.js +1 -6
- package/dist/components/mds-img2.js +1 -209
- package/dist/components/mds-input-date-range-preselection.js +1 -73
- package/dist/components/mds-input-date-range.js +1 -420
- package/dist/components/mds-input-date.js +1 -257
- package/dist/components/mds-input-field.js +1 -75
- package/dist/components/mds-input-otp.js +1 -156
- package/dist/components/mds-input-range.js +1 -153
- package/dist/components/mds-input-select.js +1 -236
- package/dist/components/mds-input-switch.js +1 -6
- package/dist/components/mds-input-switch2.js +1 -253
- package/dist/components/mds-input-tip-item.js +1 -6
- package/dist/components/mds-input-tip-item2.js +1 -112
- package/dist/components/mds-input-tip.js +1 -6
- package/dist/components/mds-input-tip2.js +1 -43
- package/dist/components/mds-input-upload.js +1 -753
- package/dist/components/mds-input.js +1 -6
- package/dist/components/mds-input2.js +1 -738
- package/dist/components/mds-keyboard-key.js +1 -334
- package/dist/components/mds-keyboard.js +1 -269
- package/dist/components/mds-kpi-item.js +1 -74
- package/dist/components/mds-kpi.js +1 -35
- package/dist/components/mds-label.js +1 -143
- package/dist/components/mds-list-item.js +1 -65
- package/dist/components/mds-list.js +1 -35
- package/dist/components/mds-mention.js +1 -76
- package/dist/components/mds-modal.js +1 -6
- package/dist/components/mds-modal2.js +1 -270
- package/dist/components/mds-note.js +1 -128
- package/dist/components/mds-notification.js +1 -120
- package/dist/components/mds-paginator-item.js +1 -6
- package/dist/components/mds-paginator-item2.js +1 -65
- package/dist/components/mds-paginator.js +1 -116
- package/dist/components/mds-policy-ai.js +1 -219
- package/dist/components/mds-pref-animation.js +1 -188
- package/dist/components/mds-pref-consumption.js +1 -202
- package/dist/components/mds-pref-contrast.js +1 -213
- package/dist/components/mds-pref-language-item.js +1 -306
- package/dist/components/mds-pref-language.js +1 -1025
- package/dist/components/mds-pref-theme-variant-item.js +1 -109
- package/dist/components/mds-pref-theme-variant.js +1 -213
- package/dist/components/mds-pref-theme.js +1 -333
- package/dist/components/mds-pref.js +1 -150
- package/dist/components/mds-price-table-features-cell.js +1 -49
- package/dist/components/mds-price-table-features-row.js +1 -45
- package/dist/components/mds-price-table-features.js +1 -43
- package/dist/components/mds-price-table-header.js +1 -35
- package/dist/components/mds-price-table-list-item.js +1 -54
- package/dist/components/mds-price-table-list.js +1 -48
- package/dist/components/mds-price-table.js +1 -35
- package/dist/components/mds-progress.js +1 -6
- package/dist/components/mds-progress2.js +1 -121
- package/dist/components/mds-push-notification-item.js +1 -326
- package/dist/components/mds-push-notification.js +1 -205
- package/dist/components/mds-quote.js +1 -52
- package/dist/components/mds-radial-menu-item.js +1 -80
- package/dist/components/mds-radial-menu.js +1 -248
- package/dist/components/mds-radial-progress.js +1 -6
- package/dist/components/mds-radial-progress2.js +1 -119
- package/dist/components/mds-separator.js +1 -6
- package/dist/components/mds-separator2.js +1 -32
- package/dist/components/mds-spinner.js +1 -6
- package/dist/components/mds-spinner2.js +1 -54
- package/dist/components/mds-status-bar.js +1 -98
- package/dist/components/mds-stepper-bar-item.js +1 -194
- package/dist/components/mds-stepper-bar.js +1 -136
- package/dist/components/mds-tab-bar-item.js +1 -89
- package/dist/components/mds-tab-bar.js +1 -51
- package/dist/components/mds-tab-item.js +1 -6
- package/dist/components/mds-tab-item2.js +1 -112
- package/dist/components/mds-tab.js +1 -6
- package/dist/components/mds-tab2.js +1 -261
- package/dist/components/mds-table-body.js +1 -38
- package/dist/components/mds-table-cell.js +1 -6
- package/dist/components/mds-table-cell2.js +1 -39
- package/dist/components/mds-table-footer.js +1 -35
- package/dist/components/mds-table-header-cell.js +1 -6
- package/dist/components/mds-table-header-cell2.js +1 -173
- package/dist/components/mds-table-header.js +1 -164
- package/dist/components/mds-table-row.js +1 -141
- package/dist/components/mds-table.js +1 -200
- package/dist/components/mds-text.js +1 -6
- package/dist/components/mds-text2.js +1 -324
- package/dist/components/mds-toast.js +1 -127
- package/dist/components/mds-tooltip.js +1 -6
- package/dist/components/mds-tooltip2.js +1 -177
- package/dist/components/mds-tree-item.js +1 -201
- package/dist/components/mds-tree.js +1 -121
- package/dist/components/mds-url-view.js +1 -146
- package/dist/components/mds-usage.js +1 -108
- package/dist/components/mds-video-wall.js +1 -68
- package/dist/components/mds-zero.js +1 -35
- package/dist/components/panorama.js +1 -3
- package/dist/components/remove.js +1 -3
- package/dist/components/settings.js +1 -3
- package/dist/components/slot.js +1 -48
- package/dist/components/unit.js +1 -41
- package/dist/documentation.d.ts +37 -0
- package/dist/documentation.json +1520 -707
- package/dist/esm/{datetime-C4yPBff1.js → datetime-BJtA1qmE.js} +1 -1
- package/dist/esm/{index-BfAC4pqU.js → index-CAd5312P.js} +482 -370
- package/dist/esm/index.js +256 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/magma-components.js +4 -4
- package/dist/esm/mds-accordion-item.entry.js +4 -4
- package/dist/esm/mds-accordion-timer-item.entry.js +7 -5
- package/dist/esm/mds-accordion-timer.entry.js +9 -7
- package/dist/esm/mds-accordion.entry.js +4 -4
- package/dist/esm/mds-author.entry.js +4 -4
- package/dist/esm/mds-avatar-stack-item.entry.js +4 -4
- package/dist/esm/mds-avatar-stack.entry.js +4 -4
- package/dist/esm/mds-avatar.entry.js +41 -14
- package/dist/esm/mds-badge.entry.js +8 -6
- package/dist/esm/mds-banner_3.entry.js +33 -19
- package/dist/esm/mds-benchmark-bar.entry.js +8 -6
- package/dist/esm/mds-bibliography.entry.js +8 -8
- package/dist/esm/mds-breadcrumb-item.entry.js +4 -4
- package/dist/esm/mds-breadcrumb.entry.js +7 -4
- package/dist/esm/mds-button-dropdown.entry.js +4 -4
- package/dist/esm/mds-button-group.entry.js +4 -4
- package/dist/esm/mds-button_3.entry.js +40 -245
- package/dist/esm/mds-calendar_2.entry.js +287 -144
- package/dist/esm/mds-card-content.entry.js +4 -4
- package/dist/esm/mds-card-footer.entry.js +4 -4
- package/dist/esm/mds-card-header.entry.js +4 -4
- package/dist/esm/mds-card-media.entry.js +4 -4
- package/dist/esm/mds-card.entry.js +11 -13
- package/dist/esm/mds-details.entry.js +7 -5
- package/dist/esm/mds-dropdown.entry.js +42 -18
- package/dist/esm/mds-emoji.entry.js +29 -20
- package/dist/esm/mds-entity.entry.js +4 -4
- package/dist/esm/mds-file-preview.entry.js +18 -6
- package/dist/esm/mds-file.entry.js +10 -5
- package/dist/esm/mds-filter-item.entry.js +7 -7
- package/dist/esm/mds-filter.entry.js +5 -5
- package/dist/esm/mds-header-bar.entry.js +8 -4
- package/dist/esm/mds-header.entry.js +30 -16
- package/dist/esm/mds-horizontal-scroll.entry.js +18 -13
- package/dist/esm/mds-hr.entry.js +4 -4
- package/dist/esm/mds-img.entry.js +15 -8
- package/dist/esm/mds-input-date-range-preselection.entry.js +4 -4
- package/dist/esm/mds-input-date-range.entry.js +221 -71
- package/dist/esm/mds-input-date.entry.js +40 -17
- package/dist/esm/mds-input-field.entry.js +7 -7
- package/dist/esm/mds-input-otp.entry.js +6 -6
- package/dist/esm/mds-input-range.entry.js +19 -9
- package/dist/esm/mds-input-select.entry.js +39 -19
- package/dist/esm/mds-input-switch_2.entry.js +19 -10
- package/dist/esm/mds-input-tip_2.entry.js +14 -9
- package/dist/esm/mds-input-upload.entry.js +19 -12
- package/dist/esm/mds-input.entry.js +39 -16
- package/dist/esm/mds-keyboard-key.entry.js +8 -5
- package/dist/esm/mds-keyboard.entry.js +13 -8
- package/dist/esm/mds-kpi-item.entry.js +4 -4
- package/dist/esm/mds-kpi.entry.js +4 -4
- package/dist/esm/mds-label.entry.js +7 -4
- package/dist/esm/mds-list-item.entry.js +4 -4
- package/dist/esm/mds-list.entry.js +4 -4
- package/dist/esm/mds-mention.entry.js +4 -4
- package/dist/esm/mds-modal.entry.js +22 -15
- package/dist/esm/mds-note.entry.js +7 -4
- package/dist/esm/mds-notification.entry.js +11 -9
- package/dist/esm/mds-paginator-item.entry.js +7 -7
- package/dist/esm/mds-paginator.entry.js +4 -4
- package/dist/esm/mds-policy-ai.entry.js +7 -4
- package/dist/esm/mds-pref-animation.entry.js +13 -8
- package/dist/esm/mds-pref-consumption.entry.js +13 -8
- package/dist/esm/mds-pref-contrast.entry.js +14 -9
- package/dist/esm/mds-pref-language-item.entry.js +7 -4
- package/dist/esm/mds-pref-language.entry.js +8 -5
- package/dist/esm/mds-pref-theme-variant-item.entry.js +8 -5
- package/dist/esm/mds-pref-theme-variant.entry.js +9 -6
- package/dist/esm/mds-pref-theme.entry.js +17 -12
- package/dist/esm/mds-pref.entry.js +15 -8
- package/dist/esm/mds-price-table-features-cell.entry.js +4 -4
- package/dist/esm/mds-price-table-features-row.entry.js +4 -4
- package/dist/esm/mds-price-table-features.entry.js +4 -4
- package/dist/esm/mds-price-table-header.entry.js +4 -4
- package/dist/esm/mds-price-table-list-item.entry.js +4 -4
- package/dist/esm/mds-price-table-list.entry.js +4 -4
- package/dist/esm/mds-price-table.entry.js +4 -4
- package/dist/esm/mds-progress_2.entry.js +17 -11
- package/dist/esm/mds-push-notification-item.entry.js +12 -7
- package/dist/esm/mds-push-notification.entry.js +22 -10
- package/dist/esm/mds-quote.entry.js +4 -4
- package/dist/esm/mds-radial-menu-item.entry.js +7 -4
- package/dist/esm/mds-radial-menu.entry.js +30 -14
- package/dist/esm/mds-separator.entry.js +4 -4
- package/dist/esm/mds-status-bar.entry.js +10 -5
- package/dist/esm/mds-stepper-bar-item.entry.js +13 -6
- package/dist/esm/mds-stepper-bar.entry.js +8 -6
- package/dist/esm/mds-tab-bar-item.entry.js +14 -7
- package/dist/esm/mds-tab-bar.entry.js +4 -4
- package/dist/esm/mds-tab_2.entry.js +28 -16
- package/dist/esm/mds-table-body.entry.js +4 -4
- package/dist/esm/mds-table-footer.entry.js +4 -4
- package/dist/esm/mds-table-header-cell.entry.js +27 -12
- package/dist/esm/mds-table-header.entry.js +13 -5
- package/dist/esm/mds-table-row.entry.js +12 -6
- package/dist/esm/mds-table.entry.js +11 -7
- package/dist/esm/mds-text.entry.js +9 -7
- package/dist/esm/mds-toast.entry.js +12 -8
- package/dist/esm/mds-tooltip.entry.js +35 -15
- package/dist/esm/mds-tree-item.entry.js +16 -6
- package/dist/esm/mds-tree.entry.js +14 -8
- package/dist/esm/mds-url-view.entry.js +10 -7
- package/dist/esm/mds-usage.entry.js +7 -4
- package/dist/esm/mds-video-wall.entry.js +4 -4
- package/dist/esm/mds-zero.entry.js +4 -4
- package/dist/esm-es5/{datetime-C4yPBff1.js → datetime-BJtA1qmE.js} +1 -1
- package/dist/esm-es5/index-CAd5312P.js +1 -0
- package/dist/esm-es5/index.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/magma-components.js +1 -1
- package/dist/esm-es5/mds-accordion-item.entry.js +1 -1
- package/dist/esm-es5/mds-accordion-timer-item.entry.js +1 -1
- package/dist/esm-es5/mds-accordion-timer.entry.js +1 -1
- package/dist/esm-es5/mds-accordion.entry.js +1 -1
- package/dist/esm-es5/mds-author.entry.js +1 -1
- package/dist/esm-es5/mds-avatar-stack-item.entry.js +1 -1
- package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
- package/dist/esm-es5/mds-avatar.entry.js +1 -1
- package/dist/esm-es5/mds-badge.entry.js +1 -1
- package/dist/esm-es5/mds-banner_3.entry.js +1 -1
- package/dist/esm-es5/mds-benchmark-bar.entry.js +1 -1
- package/dist/esm-es5/mds-bibliography.entry.js +1 -1
- package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
- package/dist/esm-es5/mds-breadcrumb.entry.js +1 -1
- package/dist/esm-es5/mds-button-dropdown.entry.js +1 -1
- package/dist/esm-es5/mds-button-group.entry.js +1 -1
- package/dist/esm-es5/mds-button_3.entry.js +1 -1
- package/dist/esm-es5/mds-calendar_2.entry.js +1 -1
- package/dist/esm-es5/mds-card-content.entry.js +1 -1
- package/dist/esm-es5/mds-card-footer.entry.js +1 -1
- package/dist/esm-es5/mds-card-header.entry.js +1 -1
- package/dist/esm-es5/mds-card-media.entry.js +1 -1
- package/dist/esm-es5/mds-card.entry.js +1 -1
- package/dist/esm-es5/mds-details.entry.js +1 -1
- package/dist/esm-es5/mds-dropdown.entry.js +1 -1
- package/dist/esm-es5/mds-emoji.entry.js +3 -3
- package/dist/esm-es5/mds-entity.entry.js +1 -1
- package/dist/esm-es5/mds-file-preview.entry.js +2 -2
- package/dist/esm-es5/mds-file.entry.js +2 -2
- package/dist/esm-es5/mds-filter-item.entry.js +1 -1
- package/dist/esm-es5/mds-filter.entry.js +1 -1
- package/dist/esm-es5/mds-header-bar.entry.js +1 -1
- package/dist/esm-es5/mds-header.entry.js +1 -1
- package/dist/esm-es5/mds-horizontal-scroll.entry.js +1 -1
- package/dist/esm-es5/mds-hr.entry.js +1 -1
- package/dist/esm-es5/mds-img.entry.js +1 -1
- package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
- package/dist/esm-es5/mds-input-date-range.entry.js +1 -1
- package/dist/esm-es5/mds-input-date.entry.js +1 -1
- package/dist/esm-es5/mds-input-field.entry.js +1 -1
- package/dist/esm-es5/mds-input-otp.entry.js +1 -1
- package/dist/esm-es5/mds-input-range.entry.js +1 -1
- package/dist/esm-es5/mds-input-select.entry.js +1 -1
- package/dist/esm-es5/mds-input-switch_2.entry.js +1 -1
- package/dist/esm-es5/mds-input-tip_2.entry.js +1 -1
- package/dist/esm-es5/mds-input-upload.entry.js +1 -1
- package/dist/esm-es5/mds-input.entry.js +1 -1
- package/dist/esm-es5/mds-keyboard-key.entry.js +1 -1
- package/dist/esm-es5/mds-keyboard.entry.js +1 -1
- package/dist/esm-es5/mds-kpi-item.entry.js +1 -1
- package/dist/esm-es5/mds-kpi.entry.js +1 -1
- package/dist/esm-es5/mds-label.entry.js +1 -1
- package/dist/esm-es5/mds-list-item.entry.js +1 -1
- package/dist/esm-es5/mds-list.entry.js +1 -1
- package/dist/esm-es5/mds-mention.entry.js +1 -1
- package/dist/esm-es5/mds-modal.entry.js +1 -1
- package/dist/esm-es5/mds-note.entry.js +1 -1
- package/dist/esm-es5/mds-notification.entry.js +1 -1
- package/dist/esm-es5/mds-paginator-item.entry.js +1 -1
- package/dist/esm-es5/mds-paginator.entry.js +1 -1
- package/dist/esm-es5/mds-policy-ai.entry.js +1 -1
- package/dist/esm-es5/mds-pref-animation.entry.js +1 -1
- package/dist/esm-es5/mds-pref-consumption.entry.js +1 -1
- package/dist/esm-es5/mds-pref-contrast.entry.js +1 -1
- package/dist/esm-es5/mds-pref-language-item.entry.js +1 -1
- package/dist/esm-es5/mds-pref-language.entry.js +1 -1
- package/dist/esm-es5/mds-pref-theme-variant-item.entry.js +1 -1
- package/dist/esm-es5/mds-pref-theme-variant.entry.js +1 -1
- package/dist/esm-es5/mds-pref-theme.entry.js +1 -1
- package/dist/esm-es5/mds-pref.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-features-cell.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-list-item.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-list.entry.js +1 -1
- package/dist/esm-es5/mds-price-table.entry.js +1 -1
- package/dist/esm-es5/mds-progress_2.entry.js +1 -1
- package/dist/esm-es5/mds-push-notification-item.entry.js +1 -1
- package/dist/esm-es5/mds-push-notification.entry.js +1 -1
- package/dist/esm-es5/mds-quote.entry.js +1 -1
- package/dist/esm-es5/mds-radial-menu-item.entry.js +1 -1
- package/dist/esm-es5/mds-radial-menu.entry.js +1 -1
- package/dist/esm-es5/mds-separator.entry.js +1 -1
- package/dist/esm-es5/mds-status-bar.entry.js +1 -1
- package/dist/esm-es5/mds-stepper-bar-item.entry.js +1 -1
- package/dist/esm-es5/mds-stepper-bar.entry.js +1 -1
- package/dist/esm-es5/mds-tab-bar-item.entry.js +1 -1
- package/dist/esm-es5/mds-tab-bar.entry.js +1 -1
- package/dist/esm-es5/mds-tab_2.entry.js +1 -1
- package/dist/esm-es5/mds-table-body.entry.js +1 -1
- package/dist/esm-es5/mds-table-footer.entry.js +1 -1
- package/dist/esm-es5/mds-table-header-cell.entry.js +1 -1
- package/dist/esm-es5/mds-table-header.entry.js +1 -1
- package/dist/esm-es5/mds-table-row.entry.js +1 -1
- package/dist/esm-es5/mds-table.entry.js +1 -1
- package/dist/esm-es5/mds-text.entry.js +1 -1
- package/dist/esm-es5/mds-toast.entry.js +1 -1
- package/dist/esm-es5/mds-tooltip.entry.js +1 -1
- package/dist/esm-es5/mds-tree-item.entry.js +1 -1
- package/dist/esm-es5/mds-tree.entry.js +1 -1
- package/dist/esm-es5/mds-url-view.entry.js +1 -1
- package/dist/esm-es5/mds-usage.entry.js +1 -1
- package/dist/esm-es5/mds-video-wall.entry.js +1 -1
- package/dist/esm-es5/mds-zero.entry.js +1 -1
- package/dist/hydrate/index.d.ts +12 -0
- package/dist/hydrate/index.js +6687 -1804
- package/dist/hydrate/index.mjs +6686 -1805
- package/dist/magma-components/index.esm.js +1 -0
- package/dist/magma-components/magma-components.esm.js +1 -1
- package/dist/magma-components/magma-components.js +1 -1
- package/dist/magma-components/{p-da1e08a8.system.entry.js → p-00313884.entry.js} +1 -1
- package/dist/magma-components/{p-8c757fad.entry.js → p-01dc43dd.entry.js} +1 -1
- package/dist/magma-components/p-01dca5e8.entry.js +1 -0
- package/dist/magma-components/p-030d45e3.entry.js +1 -0
- package/dist/magma-components/p-0328a23e.system.entry.js +1 -0
- package/dist/magma-components/{p-54a1e963.entry.js → p-08c6869a.entry.js} +1 -1
- package/dist/magma-components/p-09de9fc5.system.entry.js +1 -0
- package/dist/magma-components/{p-18412b69.entry.js → p-0acb46c8.entry.js} +1 -1
- package/dist/magma-components/p-0b10ef9f.system.entry.js +1 -0
- package/dist/magma-components/p-0b11f03b.entry.js +1 -0
- package/dist/magma-components/p-0be56202.system.entry.js +1 -0
- package/dist/magma-components/p-0de58147.entry.js +1 -0
- package/dist/magma-components/p-0e481e5c.system.entry.js +1 -0
- package/dist/magma-components/p-0f104850.system.entry.js +1 -0
- package/dist/magma-components/p-1073bf63.entry.js +1 -0
- package/dist/magma-components/p-11490a89.entry.js +1 -0
- package/dist/magma-components/p-137b0bbe.system.entry.js +1 -0
- package/dist/magma-components/{p-37c304a8.entry.js → p-14a98729.entry.js} +1 -1
- package/dist/magma-components/p-14d858f8.system.entry.js +1 -0
- package/dist/magma-components/p-14e918de.system.entry.js +1 -0
- package/dist/magma-components/p-154ef5b9.entry.js +1 -0
- package/dist/magma-components/p-158af6e3.entry.js +1 -0
- package/dist/magma-components/p-17427d8a.system.entry.js +1 -0
- package/dist/magma-components/p-1805592d.entry.js +1 -0
- package/dist/magma-components/p-18563022.entry.js +1 -0
- package/dist/magma-components/{p-7a88d5b1.entry.js → p-19f99447.entry.js} +1 -1
- package/dist/magma-components/p-1a56d383.system.entry.js +1 -0
- package/dist/magma-components/p-1bb7895a.system.entry.js +1 -0
- package/dist/magma-components/p-1ce791c1.system.entry.js +1 -0
- package/dist/magma-components/p-1da904c3.system.entry.js +1 -0
- package/dist/magma-components/p-20961bf1.entry.js +1 -0
- package/dist/magma-components/p-24a9ed63.system.entry.js +1 -0
- package/dist/magma-components/{p-2431bf5b.entry.js → p-26b131cf.entry.js} +1 -1
- package/dist/magma-components/p-28ebb626.entry.js +1 -0
- package/dist/magma-components/{p-25d96882.system.entry.js → p-292f4566.system.entry.js} +1 -1
- package/dist/magma-components/p-2a1d3680.system.entry.js +1 -0
- package/dist/magma-components/p-2ab75334.system.entry.js +1 -0
- package/dist/magma-components/p-2ccc796b.system.entry.js +1 -0
- package/dist/magma-components/p-2d9d0887.system.entry.js +1 -0
- package/dist/magma-components/p-2df01d02.system.entry.js +1 -0
- package/dist/magma-components/{p-2b47fe1f.entry.js → p-3145c7eb.entry.js} +1 -1
- package/dist/magma-components/p-34018dfe.entry.js +1 -0
- package/dist/magma-components/{p-86cdcab6.system.entry.js → p-35a9f1b4.system.entry.js} +3 -3
- package/dist/magma-components/p-35ec8bbd.entry.js +1 -0
- package/dist/magma-components/p-370f9463.system.entry.js +1 -0
- package/dist/magma-components/p-387948c4.system.entry.js +1 -0
- package/dist/magma-components/p-3aeecbba.system.entry.js +1 -0
- package/dist/magma-components/p-3af9132f.system.entry.js +1 -0
- package/dist/magma-components/p-3bfd085f.system.entry.js +1 -0
- package/dist/magma-components/{p-eca9aeea.entry.js → p-3c246a39.entry.js} +1 -1
- package/dist/magma-components/p-3c2bf79b.entry.js +1 -0
- package/dist/magma-components/p-3ce52f3c.entry.js +1 -0
- package/dist/magma-components/p-3e5993b4.entry.js +1 -0
- package/dist/magma-components/p-3ef80cd4.system.entry.js +1 -0
- package/dist/magma-components/{p-fb852b6f.entry.js → p-3fc3b8b4.entry.js} +1 -1
- package/dist/magma-components/p-423955d1.system.entry.js +1 -0
- package/dist/magma-components/p-42f336df.system.entry.js +1 -0
- package/dist/magma-components/p-45a85712.system.entry.js +1 -0
- package/dist/magma-components/p-460cd731.system.entry.js +1 -0
- package/dist/magma-components/p-473f6954.entry.js +1 -0
- package/dist/magma-components/p-47fa0ecf.entry.js +1 -0
- package/dist/magma-components/p-4b07fe37.entry.js +1 -0
- package/dist/magma-components/p-4b884441.entry.js +1 -0
- package/dist/magma-components/{p-1faa59ee.entry.js → p-4ba583c9.entry.js} +1 -1
- package/dist/magma-components/{p-e3090966.entry.js → p-4c08fe3e.entry.js} +1 -1
- package/dist/magma-components/p-4f490917.entry.js +1 -0
- package/dist/magma-components/p-4f98fdba.system.entry.js +1 -0
- package/dist/magma-components/p-50553954.system.entry.js +1 -0
- package/dist/magma-components/{p-74aeba83.entry.js → p-523d4716.entry.js} +1 -1
- package/dist/magma-components/p-52ccfafc.system.entry.js +1 -0
- package/dist/magma-components/p-52e2f903.entry.js +1 -0
- package/dist/magma-components/p-53195d95.system.entry.js +1 -0
- package/dist/magma-components/p-5488f51f.system.entry.js +1 -0
- package/dist/magma-components/p-553927f9.system.entry.js +1 -0
- package/dist/magma-components/p-55b4bbba.entry.js +1 -0
- package/dist/magma-components/{p-379a4998.entry.js → p-583f5ffa.entry.js} +1 -1
- package/dist/magma-components/{p-312e1512.entry.js → p-59d65cff.entry.js} +1 -1
- package/dist/magma-components/p-59f53701.system.entry.js +1 -0
- package/dist/magma-components/p-5b881091.entry.js +1 -0
- package/dist/magma-components/p-5c44d208.entry.js +1 -0
- package/dist/magma-components/p-5fdcd8e2.system.entry.js +1 -0
- package/dist/magma-components/p-5fe7b875.system.entry.js +1 -0
- package/dist/magma-components/p-614e7f83.system.entry.js +1 -0
- package/dist/magma-components/p-62cf9003.system.entry.js +1 -0
- package/dist/magma-components/{p-014d0127.entry.js → p-63898681.entry.js} +1 -1
- package/dist/magma-components/p-663a510e.entry.js +1 -0
- package/dist/magma-components/{p-a68b2bd1.entry.js → p-68f57bb1.entry.js} +1 -1
- package/dist/magma-components/p-6ae4df92.system.entry.js +1 -0
- package/dist/magma-components/p-6d268a59.entry.js +1 -0
- package/dist/magma-components/p-7306b02e.system.entry.js +17 -0
- package/dist/magma-components/p-75011fed.system.entry.js +9 -0
- package/dist/magma-components/{p-8cadef2a.entry.js → p-7595afcf.entry.js} +3 -3
- package/dist/magma-components/p-77e9bd68.entry.js +1 -0
- package/dist/magma-components/p-7d836722.entry.js +1 -0
- package/dist/magma-components/p-7e037cf3.entry.js +8 -0
- package/dist/magma-components/p-8106dbfd.system.entry.js +1 -0
- package/dist/magma-components/p-82deeaa0.system.entry.js +1 -0
- package/dist/magma-components/p-83589b83.entry.js +1 -0
- package/dist/magma-components/{p-1650e033.entry.js → p-83721814.entry.js} +2 -2
- package/dist/magma-components/p-83de0e53.system.entry.js +1 -0
- package/dist/magma-components/p-849760e7.system.entry.js +1 -0
- package/dist/magma-components/{p-76abcca3.system.entry.js → p-85ac6e54.system.entry.js} +1 -1
- package/dist/magma-components/p-87f8a213.entry.js +1 -0
- package/dist/magma-components/p-89bf698e.system.entry.js +1 -0
- package/dist/magma-components/p-89f96753.system.entry.js +1 -0
- package/dist/magma-components/p-8b3065b4.entry.js +1 -0
- package/dist/magma-components/p-8bec8ad6.system.entry.js +1 -0
- package/dist/magma-components/p-8d76853c.system.entry.js +1 -0
- package/dist/magma-components/p-8f1ce3f1.system.entry.js +1 -0
- package/dist/magma-components/p-9021fa60.entry.js +1 -0
- package/dist/magma-components/p-90b72c1c.system.entry.js +1 -0
- package/dist/magma-components/p-90d5b6df.system.entry.js +1 -0
- package/dist/magma-components/p-913372ff.entry.js +1 -0
- package/dist/magma-components/p-94093140.system.entry.js +1 -0
- package/dist/magma-components/p-944d9b27.system.entry.js +1 -0
- package/dist/magma-components/{p-2086a922.entry.js → p-94713401.entry.js} +1 -1
- package/dist/magma-components/{p-199d6fc7.entry.js → p-956b5ae6.entry.js} +1 -1
- package/dist/magma-components/p-95eae04e.entry.js +1 -0
- package/dist/magma-components/p-961a2531.entry.js +1 -0
- package/dist/magma-components/p-9658cb0c.entry.js +1 -0
- package/dist/magma-components/p-96d1a168.entry.js +1 -0
- package/dist/magma-components/p-96f6a646.entry.js +1 -0
- package/dist/magma-components/p-98435b90.system.entry.js +1 -0
- package/dist/magma-components/p-988b0c7c.entry.js +1 -0
- package/dist/magma-components/p-98a05642.system.entry.js +1 -0
- package/dist/magma-components/p-99f7a1b6.system.entry.js +1 -0
- package/dist/magma-components/p-9a1940c1.system.entry.js +1 -0
- package/dist/magma-components/p-9a89bc78.system.entry.js +1 -0
- package/dist/magma-components/p-9ad586a7.system.entry.js +1 -0
- package/dist/magma-components/p-9b52918e.system.entry.js +1 -0
- package/dist/magma-components/{p-B2gc1lkP.system.js → p-BJKToXNf.system.js} +1 -1
- package/dist/magma-components/{p-C4yPBff1.js → p-BJtA1qmE.js} +1 -1
- package/dist/magma-components/p-CAd5312P.js +2 -0
- package/dist/magma-components/p-DI5DWqw4.system.js +2 -0
- package/dist/magma-components/p-DTZViJWJ.system.js +1 -0
- package/dist/magma-components/p-a1af65e8.entry.js +1 -0
- package/dist/magma-components/p-a5473293.system.entry.js +1 -0
- package/dist/magma-components/p-a6caafcb.system.entry.js +1 -0
- package/dist/magma-components/p-a7bd4585.entry.js +1 -0
- package/dist/magma-components/p-a88fba47.system.entry.js +1 -0
- package/dist/magma-components/{p-408abcfd.entry.js → p-a959ade4.entry.js} +1 -1
- package/dist/magma-components/p-aa7d8972.entry.js +1 -0
- package/dist/magma-components/p-aa98652f.entry.js +1 -0
- package/dist/magma-components/p-aaeb0ee3.system.entry.js +1 -0
- package/dist/magma-components/p-ab89bf5b.system.entry.js +1 -0
- package/dist/magma-components/p-abc720e3.entry.js +1 -0
- package/dist/magma-components/p-abe87810.entry.js +1 -0
- package/dist/magma-components/{p-492e2cc1.entry.js → p-ac80aca8.entry.js} +1 -1
- package/dist/magma-components/p-acb07134.system.entry.js +1 -0
- package/dist/magma-components/p-acd4f96a.entry.js +1 -0
- package/dist/magma-components/{p-00649cfc.entry.js → p-af49bca2.entry.js} +1 -1
- package/dist/magma-components/{p-6ccffbff.entry.js → p-af670eaf.entry.js} +1 -1
- package/dist/magma-components/p-b14a94e0.system.entry.js +1 -0
- package/dist/magma-components/p-b2bc194a.entry.js +1 -0
- package/dist/magma-components/p-b2e76c18.system.entry.js +1 -0
- package/dist/magma-components/p-b37dff80.system.entry.js +1 -0
- package/dist/magma-components/p-b3e3226e.entry.js +1 -0
- package/dist/magma-components/p-b40f1153.entry.js +1 -0
- package/dist/magma-components/p-b4709a95.entry.js +1 -0
- package/dist/magma-components/p-b5db6527.system.entry.js +1 -0
- package/dist/magma-components/p-b764defa.entry.js +1 -0
- package/dist/magma-components/p-b9b2501e.system.entry.js +1 -0
- package/dist/magma-components/p-b9b5bcdd.system.entry.js +1 -0
- package/dist/magma-components/p-ba2a0bc1.system.entry.js +1 -0
- package/dist/magma-components/p-bb4380cd.entry.js +1 -0
- package/dist/magma-components/p-bce3a8b0.system.entry.js +1 -0
- package/dist/magma-components/p-bd2998e6.system.entry.js +1 -0
- package/dist/magma-components/p-bd3dbc2d.entry.js +1 -0
- package/dist/magma-components/p-bed57abb.entry.js +1 -0
- package/dist/magma-components/p-bfed0b7a.entry.js +1 -0
- package/dist/magma-components/p-c6177cb9.system.entry.js +1 -0
- package/dist/magma-components/p-c638556c.entry.js +1 -0
- package/dist/magma-components/{p-9b5cfdd8.entry.js → p-c6fa4a21.entry.js} +1 -1
- package/dist/magma-components/p-c8e99385.system.entry.js +1 -0
- package/dist/magma-components/{p-e69e24a3.entry.js → p-c9231987.entry.js} +1 -1
- package/dist/magma-components/p-c9c51ba6.system.entry.js +1 -0
- package/dist/magma-components/p-cc53b30c.entry.js +1 -0
- package/dist/magma-components/{p-823a5efc.entry.js → p-ccc0521c.entry.js} +1 -1
- package/dist/magma-components/p-cd71630e.system.entry.js +1 -0
- package/dist/magma-components/p-cd879243.system.entry.js +1 -0
- package/dist/magma-components/{p-c288b9a1.entry.js → p-ce064d47.entry.js} +1 -1
- package/dist/magma-components/{p-d4a1c10f.system.entry.js → p-d1eea8ca.system.entry.js} +1 -1
- package/dist/magma-components/p-d2537229.system.entry.js +1 -0
- package/dist/magma-components/p-d2617a1a.entry.js +1 -0
- package/dist/magma-components/p-d41c4637.system.entry.js +1 -0
- package/dist/magma-components/{p-a2d2cb35.entry.js → p-d88f44aa.entry.js} +1 -1
- package/dist/magma-components/p-dae9ae8e.system.entry.js +1 -0
- package/dist/magma-components/{p-b9d6a1f7.entry.js → p-dd860de4.entry.js} +1 -1
- package/dist/magma-components/p-df87e2f5.system.entry.js +1 -0
- package/dist/magma-components/p-dfe082be.system.entry.js +1 -0
- package/dist/magma-components/{p-1b165893.entry.js → p-e00ba5a0.entry.js} +1 -1
- package/dist/magma-components/p-e0d12fa2.system.entry.js +1 -0
- package/dist/magma-components/{p-6e94ea64.entry.js → p-e2cd11c3.entry.js} +1 -1
- package/dist/magma-components/p-e5fb3081.system.entry.js +1 -0
- package/dist/magma-components/{p-08f81a0c.entry.js → p-e67a6452.entry.js} +1 -1
- package/dist/magma-components/p-e6d8c9e3.system.entry.js +1 -0
- package/dist/magma-components/p-e71aecc1.entry.js +1 -0
- package/dist/magma-components/p-eac692ea.system.entry.js +1 -0
- package/dist/magma-components/p-ecf2e98d.system.entry.js +1 -0
- package/dist/magma-components/p-ed6d1453.system.entry.js +1 -0
- package/dist/magma-components/p-f289eb5a.entry.js +1 -0
- package/dist/magma-components/p-f3604c99.entry.js +1 -0
- package/dist/magma-components/{p-f56acab0.entry.js → p-f3dbca34.entry.js} +1 -1
- package/dist/magma-components/p-f4b4bdf2.system.entry.js +1 -0
- package/dist/magma-components/p-f56d16f7.entry.js +1 -0
- package/dist/magma-components/p-f8014852.system.entry.js +1 -0
- package/dist/magma-components/{p-41e50837.entry.js → p-f851100d.entry.js} +1 -1
- package/dist/magma-components/{p-6f7bce81.entry.js → p-f8d5adce.entry.js} +1 -1
- package/dist/magma-components/p-fa427f75.system.entry.js +1 -0
- package/dist/magma-components/p-fa6a05b5.entry.js +1 -0
- package/dist/magma-components/p-fb8b0104.entry.js +1 -0
- package/dist/magma-components/p-fcf59139.system.entry.js +1 -0
- package/dist/magma-components/p-fe3d5720.system.entry.js +1 -0
- package/dist/magma-components/p-fe85ad8e.system.entry.js +1 -0
- package/dist/magma-components/p-ffae137a.entry.js +1 -0
- package/dist/magma-components/p-oCzRm29V.system.js +1 -0
- package/dist/stats.json +4561 -2983
- package/dist/types/components/mds-accordion/mds-accordion.d.ts +1 -1
- package/dist/types/components/mds-accordion-item/mds-accordion-item.d.ts +1 -1
- package/dist/types/components/mds-accordion-timer/mds-accordion-timer.d.ts +1 -1
- package/dist/types/components/mds-accordion-timer-item/mds-accordion-timer-item.d.ts +1 -1
- package/dist/types/components/mds-author/mds-author.d.ts +1 -1
- package/dist/types/components/mds-avatar-stack/mds-avatar-stack.d.ts +3 -0
- package/dist/types/components/mds-badge/mds-badge.d.ts +1 -1
- package/dist/types/components/mds-banner/mds-banner.d.ts +4 -1
- package/dist/types/components/mds-benchmark-bar/mds-benchmark-bar.d.ts +1 -1
- package/dist/types/components/mds-breadcrumb/mds-breadcrumb.d.ts +4 -1
- package/dist/types/components/mds-button/mds-button.d.ts +1 -1
- package/dist/types/components/mds-button-dropdown/mds-button-dropdown.d.ts +3 -0
- package/dist/types/components/mds-button-group/mds-button-group.d.ts +3 -0
- package/dist/types/components/mds-calendar/mds-calendar.d.ts +75 -8
- package/dist/types/components/mds-card-content/mds-card-content.d.ts +1 -1
- package/dist/types/components/mds-card-footer/mds-card-footer.d.ts +1 -1
- package/dist/types/components/mds-card-header/mds-card-header.d.ts +1 -1
- package/dist/types/components/mds-card-media/mds-card-media.d.ts +1 -1
- package/dist/types/components/mds-chip/mds-chip.d.ts +3 -0
- package/dist/types/components/mds-details/mds-details.d.ts +1 -1
- package/dist/types/components/mds-dropdown/mds-dropdown.d.ts +4 -4
- package/dist/types/components/mds-emoji/mds-emoji.d.ts +7 -0
- package/dist/types/components/mds-entity/mds-entity.d.ts +1 -1
- package/dist/types/components/mds-file/mds-file.d.ts +3 -0
- package/dist/types/components/mds-file-preview/mds-file-preview.d.ts +3 -0
- package/dist/types/components/mds-filter/mds-filter.d.ts +1 -1
- package/dist/types/components/mds-filter-item/mds-filter-item.d.ts +1 -1
- package/dist/types/components/mds-header/mds-header.d.ts +5 -1
- package/dist/types/components/mds-header-bar/mds-header-bar.d.ts +5 -1
- package/dist/types/components/mds-help/mds-help.d.ts +1 -1
- package/dist/types/components/mds-horizontal-scroll/mds-horizontal-scroll.d.ts +1 -1
- package/dist/types/components/mds-icon/services/icons-set.service.d.ts +2 -1
- package/dist/types/components/mds-img/mds-img.d.ts +3 -0
- package/dist/types/components/mds-input/mds-input.d.ts +15 -0
- package/dist/types/components/mds-input-date/mds-input-date.d.ts +19 -1
- package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +38 -4
- package/dist/types/components/mds-input-date-range/test/mds-input-date-range.stories.d.ts +12 -0
- package/dist/types/components/mds-input-date-range-preselection/mds-input-date-range-preselection.d.ts +3 -0
- package/dist/types/components/mds-input-field/mds-input-field.d.ts +3 -0
- package/dist/types/components/mds-input-range/mds-input-range.d.ts +2 -1
- package/dist/types/components/mds-input-select/mds-input-select.d.ts +4 -0
- package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +4 -1
- package/dist/types/components/mds-input-tip/mds-input-tip.d.ts +3 -0
- package/dist/types/components/mds-input-tip-item/mds-input-tip-item.d.ts +6 -0
- package/dist/types/components/mds-input-upload/mds-input-upload.d.ts +3 -0
- package/dist/types/components/mds-keyboard/mds-keyboard.d.ts +7 -1
- package/dist/types/components/mds-keyboard-key/mds-keyboard-key.d.ts +3 -0
- package/dist/types/components/mds-keyboard-key/meta/icons.d.ts +1 -1
- package/dist/types/components/mds-kpi/mds-kpi.d.ts +1 -1
- package/dist/types/components/mds-label/mds-label.d.ts +4 -1
- package/dist/types/components/mds-list/mds-list.d.ts +1 -1
- package/dist/types/components/mds-list-item/mds-list-item.d.ts +1 -1
- package/dist/types/components/mds-modal/mds-modal.d.ts +4 -1
- package/dist/types/components/mds-note/mds-note.d.ts +4 -1
- package/dist/types/components/mds-paginator-item/mds-paginator-item.d.ts +2 -2
- package/dist/types/components/mds-policy-ai/mds-policy-ai.d.ts +3 -0
- package/dist/types/components/mds-pref/mds-pref.d.ts +4 -1
- package/dist/types/components/mds-pref-animation/mds-pref-animation.d.ts +3 -0
- package/dist/types/components/mds-pref-consumption/mds-pref-consumption.d.ts +3 -0
- package/dist/types/components/mds-pref-contrast/mds-pref-contrast.d.ts +3 -0
- package/dist/types/components/mds-pref-language/mds-pref-language.d.ts +4 -1
- package/dist/types/components/mds-pref-language-item/mds-pref-language-item.d.ts +3 -0
- package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +3 -0
- package/dist/types/components/mds-pref-theme-variant/mds-pref-theme-variant.d.ts +4 -1
- package/dist/types/components/mds-pref-theme-variant-item/mds-pref-theme-variant-item.d.ts +3 -0
- package/dist/types/components/mds-price-table/mds-price-table.d.ts +3 -0
- package/dist/types/components/mds-price-table-features/mds-price-table-features.d.ts +1 -1
- package/dist/types/components/mds-price-table-features-cell/mds-price-table-features-cell.d.ts +1 -1
- package/dist/types/components/mds-price-table-features-row/mds-price-table-features-row.d.ts +1 -1
- package/dist/types/components/mds-price-table-header/mds-price-table-header.d.ts +3 -0
- package/dist/types/components/mds-price-table-list/mds-price-table-list.d.ts +1 -1
- package/dist/types/components/mds-price-table-list-item/mds-price-table-list-item.d.ts +3 -0
- package/dist/types/components/mds-push-notification/mds-push-notification.d.ts +12 -4
- package/dist/types/components/mds-push-notification-item/mds-push-notification-item.d.ts +3 -0
- package/dist/types/components/mds-quote/mds-quote.d.ts +1 -1
- package/dist/types/components/mds-radial-menu/mds-radial-menu.d.ts +3 -0
- package/dist/types/components/mds-radial-menu-item/mds-radial-menu-item.d.ts +3 -0
- package/dist/types/components/mds-status-bar/mds-status-bar.d.ts +4 -1
- package/dist/types/components/mds-stepper-bar/mds-stepper-bar.d.ts +1 -1
- package/dist/types/components/mds-stepper-bar-item/mds-stepper-bar-item.d.ts +3 -0
- package/dist/types/components/mds-tab/mds-tab.d.ts +1 -1
- package/dist/types/components/mds-tab-bar/mds-tab-bar.d.ts +1 -1
- package/dist/types/components/mds-tab-bar-item/mds-tab-bar-item.d.ts +4 -1
- package/dist/types/components/mds-table/mds-table.d.ts +5 -2
- package/dist/types/components/mds-table-body/mds-table-body.d.ts +7 -1
- package/dist/types/components/mds-table-cell/mds-table-cell.d.ts +1 -1
- package/dist/types/components/mds-table-footer/mds-table-footer.d.ts +1 -1
- package/dist/types/components/mds-table-header/mds-table-header.d.ts +12 -1
- package/dist/types/components/mds-table-header-cell/mds-table-header-cell.d.ts +3 -0
- package/dist/types/components/mds-table-row/mds-table-row.d.ts +19 -1
- package/dist/types/components/mds-text/mds-text.d.ts +1 -1
- package/dist/types/components/mds-toast/mds-toast.d.ts +1 -1
- package/dist/types/components/mds-tooltip/mds-tooltip.d.ts +1 -1
- package/dist/types/components/mds-tree/mds-tree.d.ts +1 -1
- package/dist/types/components/mds-tree-item/mds-tree-item.d.ts +10 -1
- package/dist/types/components/mds-url-view/mds-url-view.d.ts +4 -1
- package/dist/types/components/mds-usage/mds-usage.d.ts +4 -1
- package/dist/types/components/mds-video-wall/mds-video-wall.d.ts +1 -1
- package/dist/types/components/mds-zero/mds-zero.d.ts +1 -1
- package/dist/types/components.d.ts +1316 -219
- package/dist/types/index.d.ts +15 -0
- package/dist/types/stencil-public-runtime.d.ts +110 -5
- package/package.json +57 -11
- package/dist/esm-es5/index-BfAC4pqU.js +0 -1
- package/dist/magma-components/p-0130bb78.system.entry.js +0 -1
- package/dist/magma-components/p-01ed6d96.system.entry.js +0 -1
- package/dist/magma-components/p-01ff9d4c.system.entry.js +0 -1
- package/dist/magma-components/p-020e7201.entry.js +0 -1
- package/dist/magma-components/p-0228b956.entry.js +0 -1
- package/dist/magma-components/p-0291dd4c.entry.js +0 -1
- package/dist/magma-components/p-035d53f9.system.entry.js +0 -1
- package/dist/magma-components/p-03fc3cb6.system.entry.js +0 -1
- package/dist/magma-components/p-05069088.system.entry.js +0 -1
- package/dist/magma-components/p-0515681e.system.entry.js +0 -1
- package/dist/magma-components/p-0c530d94.system.entry.js +0 -1
- package/dist/magma-components/p-0e5f654a.entry.js +0 -1
- package/dist/magma-components/p-12a177ab.entry.js +0 -1
- package/dist/magma-components/p-12ba0511.system.entry.js +0 -1
- package/dist/magma-components/p-156af42d.entry.js +0 -1
- package/dist/magma-components/p-15b809ad.entry.js +0 -1
- package/dist/magma-components/p-15d3742b.entry.js +0 -1
- package/dist/magma-components/p-189867fe.system.entry.js +0 -1
- package/dist/magma-components/p-18b16f64.system.entry.js +0 -1
- package/dist/magma-components/p-1ed337e0.entry.js +0 -1
- package/dist/magma-components/p-1eebabf2.entry.js +0 -1
- package/dist/magma-components/p-1f29eafd.entry.js +0 -1
- package/dist/magma-components/p-1ffda3d3.entry.js +0 -1
- package/dist/magma-components/p-20a0e4ed.entry.js +0 -1
- package/dist/magma-components/p-23bdb4b9.entry.js +0 -1
- package/dist/magma-components/p-243cd6ac.entry.js +0 -1
- package/dist/magma-components/p-2445abc7.entry.js +0 -1
- package/dist/magma-components/p-262d9b35.system.entry.js +0 -1
- package/dist/magma-components/p-2634fdb6.system.entry.js +0 -1
- package/dist/magma-components/p-26a6c88d.system.entry.js +0 -1
- package/dist/magma-components/p-26aa7c0a.entry.js +0 -1
- package/dist/magma-components/p-273da050.system.entry.js +0 -1
- package/dist/magma-components/p-28d0a199.entry.js +0 -1
- package/dist/magma-components/p-29666107.system.entry.js +0 -1
- package/dist/magma-components/p-2c591bb6.system.entry.js +0 -1
- package/dist/magma-components/p-2ea972ee.entry.js +0 -1
- package/dist/magma-components/p-2f9a4987.entry.js +0 -1
- package/dist/magma-components/p-2ff9602e.system.entry.js +0 -1
- package/dist/magma-components/p-306e8c38.system.entry.js +0 -1
- package/dist/magma-components/p-311501ee.entry.js +0 -1
- package/dist/magma-components/p-3174b23d.entry.js +0 -1
- package/dist/magma-components/p-3310f321.entry.js +0 -1
- package/dist/magma-components/p-3498386e.entry.js +0 -1
- package/dist/magma-components/p-35347823.system.entry.js +0 -1
- package/dist/magma-components/p-366a19e8.entry.js +0 -1
- package/dist/magma-components/p-378f31a6.system.entry.js +0 -1
- package/dist/magma-components/p-37ed33dd.system.entry.js +0 -1
- package/dist/magma-components/p-37fc281b.system.entry.js +0 -1
- package/dist/magma-components/p-3d26511d.entry.js +0 -1
- package/dist/magma-components/p-3ee572f8.entry.js +0 -1
- package/dist/magma-components/p-40f01f36.system.entry.js +0 -1
- package/dist/magma-components/p-4173feeb.entry.js +0 -1
- package/dist/magma-components/p-424c3870.system.entry.js +0 -1
- package/dist/magma-components/p-425d8aa7.system.entry.js +0 -1
- package/dist/magma-components/p-4337ae15.system.entry.js +0 -1
- package/dist/magma-components/p-4576a939.entry.js +0 -1
- package/dist/magma-components/p-47af67d2.system.entry.js +0 -1
- package/dist/magma-components/p-4c135083.system.entry.js +0 -17
- package/dist/magma-components/p-4cec5cdd.system.entry.js +0 -1
- package/dist/magma-components/p-4dc6a848.system.entry.js +0 -1
- package/dist/magma-components/p-4de2320c.system.entry.js +0 -1
- package/dist/magma-components/p-4e62891c.system.entry.js +0 -1
- package/dist/magma-components/p-50260c87.entry.js +0 -1
- package/dist/magma-components/p-50dae232.entry.js +0 -1
- package/dist/magma-components/p-532ab129.system.entry.js +0 -1
- package/dist/magma-components/p-54c5f7c1.entry.js +0 -1
- package/dist/magma-components/p-54f4ca42.system.entry.js +0 -1
- package/dist/magma-components/p-5846c25b.system.entry.js +0 -1
- package/dist/magma-components/p-588942b7.system.entry.js +0 -1
- package/dist/magma-components/p-58dda765.system.entry.js +0 -1
- package/dist/magma-components/p-5cd12f3a.entry.js +0 -1
- package/dist/magma-components/p-5f73aa83.system.entry.js +0 -1
- package/dist/magma-components/p-6062f434.entry.js +0 -1
- package/dist/magma-components/p-60911cb6.system.entry.js +0 -1
- package/dist/magma-components/p-62e44706.entry.js +0 -1
- package/dist/magma-components/p-67586c4c.system.entry.js +0 -1
- package/dist/magma-components/p-67a980ba.system.entry.js +0 -1
- package/dist/magma-components/p-68489eef.system.entry.js +0 -1
- package/dist/magma-components/p-697204cf.system.entry.js +0 -1
- package/dist/magma-components/p-69f23add.system.entry.js +0 -1
- package/dist/magma-components/p-6ce95afa.entry.js +0 -1
- package/dist/magma-components/p-6f008516.system.entry.js +0 -1
- package/dist/magma-components/p-75ace8e3.entry.js +0 -1
- package/dist/magma-components/p-78657972.system.entry.js +0 -1
- package/dist/magma-components/p-7b437b69.system.entry.js +0 -1
- package/dist/magma-components/p-81cc57c3.system.entry.js +0 -1
- package/dist/magma-components/p-83f64f85.system.entry.js +0 -1
- package/dist/magma-components/p-85f80db8.system.entry.js +0 -1
- package/dist/magma-components/p-862cabb7.entry.js +0 -1
- package/dist/magma-components/p-88a64306.system.entry.js +0 -1
- package/dist/magma-components/p-8904037f.system.entry.js +0 -1
- package/dist/magma-components/p-8a06e18f.system.entry.js +0 -1
- package/dist/magma-components/p-8b3a86e9.system.entry.js +0 -1
- package/dist/magma-components/p-8dc2ff30.entry.js +0 -1
- package/dist/magma-components/p-8e65b812.system.entry.js +0 -1
- package/dist/magma-components/p-9671bf48.system.entry.js +0 -1
- package/dist/magma-components/p-96b887e1.system.entry.js +0 -1
- package/dist/magma-components/p-9a9197b4.system.entry.js +0 -1
- package/dist/magma-components/p-9d276d82.entry.js +0 -1
- package/dist/magma-components/p-9d413aae.system.entry.js +0 -1
- package/dist/magma-components/p-9ed86996.entry.js +0 -1
- package/dist/magma-components/p-BfAC4pqU.js +0 -2
- package/dist/magma-components/p-C3FmKB70.system.js +0 -1
- package/dist/magma-components/p-DQqgZ0cY.system.js +0 -2
- package/dist/magma-components/p-YWpyar7R.system.js +0 -1
- package/dist/magma-components/p-a301089d.system.entry.js +0 -1
- package/dist/magma-components/p-a3b7c3a4.system.entry.js +0 -1
- package/dist/magma-components/p-a8045692.entry.js +0 -8
- package/dist/magma-components/p-a80cccaf.system.entry.js +0 -1
- package/dist/magma-components/p-a97f5bcf.entry.js +0 -1
- package/dist/magma-components/p-aa36fa23.system.entry.js +0 -1
- package/dist/magma-components/p-ab9f8323.system.entry.js +0 -1
- package/dist/magma-components/p-ac58144b.system.entry.js +0 -1
- package/dist/magma-components/p-ac83e397.system.entry.js +0 -1
- package/dist/magma-components/p-b095c76c.system.entry.js +0 -1
- package/dist/magma-components/p-b099c62f.system.entry.js +0 -1
- package/dist/magma-components/p-b1ed5b11.system.entry.js +0 -1
- package/dist/magma-components/p-b357828f.entry.js +0 -1
- package/dist/magma-components/p-b3a2264a.system.entry.js +0 -1
- package/dist/magma-components/p-b3c10df3.system.entry.js +0 -1
- package/dist/magma-components/p-b3f73660.system.entry.js +0 -1
- package/dist/magma-components/p-b4365088.entry.js +0 -1
- package/dist/magma-components/p-b56cbc41.entry.js +0 -1
- package/dist/magma-components/p-b7095315.entry.js +0 -1
- package/dist/magma-components/p-b73122dd.entry.js +0 -1
- package/dist/magma-components/p-b7c13b8f.entry.js +0 -1
- package/dist/magma-components/p-b9accbfe.entry.js +0 -1
- package/dist/magma-components/p-bc187c3e.system.entry.js +0 -1
- package/dist/magma-components/p-bcd19fac.entry.js +0 -1
- package/dist/magma-components/p-bd4d2dde.entry.js +0 -1
- package/dist/magma-components/p-be5f3afa.system.entry.js +0 -1
- package/dist/magma-components/p-bed25376.system.entry.js +0 -1
- package/dist/magma-components/p-c0c4d65e.system.entry.js +0 -1
- package/dist/magma-components/p-c409307f.system.entry.js +0 -1
- package/dist/magma-components/p-c6410cd5.entry.js +0 -1
- package/dist/magma-components/p-c8349720.entry.js +0 -1
- package/dist/magma-components/p-cb329d03.system.entry.js +0 -1
- package/dist/magma-components/p-cd80c3d4.entry.js +0 -1
- package/dist/magma-components/p-ce6e9905.system.entry.js +0 -1
- package/dist/magma-components/p-cfd475d8.system.entry.js +0 -1
- package/dist/magma-components/p-d057243f.system.entry.js +0 -1
- package/dist/magma-components/p-d1188a0a.system.entry.js +0 -9
- package/dist/magma-components/p-d1574fd4.system.entry.js +0 -1
- package/dist/magma-components/p-d1d1d3f9.entry.js +0 -1
- package/dist/magma-components/p-d5aa3d8f.system.entry.js +0 -1
- package/dist/magma-components/p-d7b05354.system.entry.js +0 -1
- package/dist/magma-components/p-d87a0a3c.system.entry.js +0 -1
- package/dist/magma-components/p-dd905ce6.entry.js +0 -1
- package/dist/magma-components/p-de2cf21a.entry.js +0 -1
- package/dist/magma-components/p-e285b234.system.entry.js +0 -1
- package/dist/magma-components/p-e4b2f4a5.entry.js +0 -1
- package/dist/magma-components/p-e5bb0588.system.entry.js +0 -1
- package/dist/magma-components/p-e8a68ec6.system.entry.js +0 -1
- package/dist/magma-components/p-eaf44e56.entry.js +0 -1
- package/dist/magma-components/p-ec80755e.entry.js +0 -1
- package/dist/magma-components/p-ec86fabf.system.entry.js +0 -1
- package/dist/magma-components/p-ed988ff9.entry.js +0 -1
- package/dist/magma-components/p-ef766346.system.entry.js +0 -1
- package/dist/magma-components/p-f02b5c85.system.entry.js +0 -1
- package/dist/magma-components/p-f0df5249.entry.js +0 -1
- package/dist/magma-components/p-f1418e28.system.entry.js +0 -1
- package/dist/magma-components/p-f483796b.system.entry.js +0 -1
- package/dist/magma-components/p-f528e98a.entry.js +0 -1
- package/dist/magma-components/p-f69095c5.entry.js +0 -1
- package/dist/magma-components/p-f6bffd82.entry.js +0 -1
- package/dist/magma-components/p-f7023e4e.system.entry.js +0 -1
- package/dist/magma-components/p-f8f2b590.system.entry.js +0 -1
- package/dist/magma-components/p-f902cb3a.system.entry.js +0 -1
- package/dist/magma-components/p-f962b4dc.entry.js +0 -1
- package/dist/magma-components/p-fa038ac2.entry.js +0 -1
- package/dist/magma-components/p-fbf60d0d.system.entry.js +0 -1
- package/dist/magma-components/p-fdf44de5.system.entry.js +0 -1
- package/dist/magma-components/p-ffeeb010.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
class t extends Error{}class e extends t{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class n extends t{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class r extends t{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class s extends t{}class i extends t{constructor(t){super(`Invalid unit ${t}`)}}class u extends t{}class o extends t{constructor(){super("Zone is an abstract class")}}const a="numeric",c="short",h="long",l={year:a,month:a,day:a},d={year:a,month:c,day:a},m={year:a,month:c,day:a,weekday:c},f={year:a,month:h,day:a},y={year:a,month:h,day:a,weekday:h},g={hour:a,minute:a},w={hour:a,minute:a,second:a},p={hour:a,minute:a,second:a,timeZoneName:c},S={hour:a,minute:a,second:a,timeZoneName:h},M={hour:a,minute:a,hourCycle:"h23"},k={hour:a,minute:a,second:a,hourCycle:"h23"},T={hour:a,minute:a,second:a,hourCycle:"h23",timeZoneName:c},N={hour:a,minute:a,second:a,hourCycle:"h23",timeZoneName:h},b={year:a,month:a,day:a,hour:a,minute:a},E={year:a,month:a,day:a,hour:a,minute:a,second:a},v={year:a,month:c,day:a,hour:a,minute:a},D={year:a,month:c,day:a,hour:a,minute:a,second:a},O={year:a,month:c,day:a,weekday:c,hour:a,minute:a},$={year:a,month:h,day:a,hour:a,minute:a,timeZoneName:c},I={year:a,month:h,day:a,hour:a,minute:a,second:a,timeZoneName:c},x={year:a,month:h,day:a,weekday:h,hour:a,minute:a,timeZoneName:h},F={year:a,month:h,day:a,weekday:h,hour:a,minute:a,second:a,timeZoneName:h};class Z{get type(){throw new o}get name(){throw new o}get ianaName(){return this.name}get isUniversal(){throw new o}offsetName(t,e){throw new o}formatOffset(t,e){throw new o}offset(t){throw new o}equals(t){throw new o}get isValid(){throw new o}}let W=null;class L extends Z{static get instance(){return null===W&&(W=new L),W}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:n}){return ee(t,e,n)}formatOffset(t,e){return ie(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const A=new Map,C={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6},_=new Map;class q extends Z{static create(t){let e=_.get(t);return void 0===e&&_.set(t,e=new q(t)),e}static resetCache(){_.clear(),A.clear()}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=q.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:n}){return ee(t,e,n,this.name)}formatOffset(t,e){return ie(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const n=function(t){let e=A.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),A.set(t,e)),e}(this.name);let[r,s,i,u,o,a,c]=n.formatToParts?function(t,e){const n=t.formatToParts(e),r=[];for(let t=0;t<n.length;t++){const{type:e,value:s}=n[t],i=C[e];"era"===e?r[i]=s:Wt(i)||(r[i]=parseInt(s,10))}return r}(n,e):function(t,e){const n=t.format(e).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,s,i,u,o,a,c,h]=r;return[u,s,i,o,a,c,h]}(n,e);"BC"===u&&(r=1-Math.abs(r));let h=+e;const l=h%1e3;return h-=l>=0?l:1e3+l,(Qt({year:r,month:s,day:i,hour:24===o?0:o,minute:a,second:c,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let j={};const H=new Map;function z(t,e={}){const n=JSON.stringify([t,e]);let r=H.get(n);return void 0===r&&(r=new Intl.DateTimeFormat(t,e),H.set(n,r)),r}const R=new Map,J=new Map;let U=null;const G=new Map;function P(t){let e=G.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),G.set(t,e)),e}const Y=new Map;function V(t,e,n,r){const s=t.listingMode();return"error"===s?null:"en"===s?n(e):r(e)}class B{constructor(t,e,n){this.padTo=n.padTo||0,this.floor=n.floor||!1;const{padTo:r,floor:s,...i}=n;if(!e||Object.keys(i).length>0){const e={useGrouping:!1,...n};n.padTo>0&&(e.minimumIntegerDigits=n.padTo),this.inf=function(t,e={}){const n=JSON.stringify([t,e]);let r=R.get(n);return void 0===r&&(r=new Intl.NumberFormat(t,e),R.set(n,r)),r}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Rt(this.floor?Math.floor(t):Pt(t,3),this.padTo)}}class Q{constructor(t,e,n){let r;if(this.opts=n,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,n=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&q.create(n).valid?(r=n,this.dt=t):(r="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,r=t.zone.name):(r="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const s={...this.opts};s.timeZone=s.timeZone||r,this.dtf=z(e,s)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class K{constructor(t,e,n){this.opts={style:"long",...n},!e&&Ct()&&(this.rtf=function(t,e={}){const{base:n,...r}=e,s=JSON.stringify([t,r]);let i=J.get(s);return void 0===i&&(i=new Intl.RelativeTimeFormat(t,e),J.set(s,i)),i}(t,n))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,n="always",r=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},i=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===n&&i){const n="days"===t;switch(e){case 1:return n?"tomorrow":`next ${s[t][0]}`;case-1:return n?"yesterday":`last ${s[t][0]}`;case 0:return n?"today":`this ${s[t][0]}`}}const u=Object.is(e,-0)||e<0,o=Math.abs(e),a=1===o,c=s[t],h=r?a?c[1]:c[2]||c[1]:a?s[t][0]:t;return u?`${o} ${h} ago`:`in ${o} ${h}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const X={firstDay:1,minimalDays:4,weekend:[6,7]};class tt{static fromOpts(t){return tt.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,n,r,s=!1){const i=t||pt.defaultLocale,u=i||(s?"en-US":U||(U=(new Intl.DateTimeFormat).resolvedOptions().locale,U)),o=e||pt.defaultNumberingSystem,a=n||pt.defaultOutputCalendar,c=Ht(r)||pt.defaultWeekSettings;return new tt(u,o,a,c,i)}static resetCache(){U=null,H.clear(),R.clear(),J.clear(),G.clear(),Y.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:n,weekSettings:r}={}){return tt.create(t,e,n,r)}constructor(t,e,n,r,s){const[i,u,o]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const n=t.indexOf("-u-");if(-1===n)return[t];{let e,r;try{e=z(t).resolvedOptions(),r=t}catch(s){const i=t.substring(0,n);e=z(i).resolvedOptions(),r=i}const{numberingSystem:s,calendar:i}=e;return[r,s,i]}}(t);this.locale=i,this.numberingSystem=e||u||null,this.outputCalendar=n||o||null,this.weekSettings=r,this.intl=function(t,e,n){return n||e?(t.includes("-u-")||(t+="-u"),n&&(t+=`-ca-${n}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=s,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===P(t.locale).numberingSystem)),this.fastNumbersCached}listingMode(){return this.isEnglish()&&!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar)?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?tt.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Ht(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return V(this,t,he,(()=>{const n=e?{month:t,day:"numeric"}:{month:t},r=e?"format":"standalone";return this.monthsCache[r][t]||(this.monthsCache[r][t]=function(t){const e=[];for(let n=1;n<=12;n++){const r=hr.utc(2009,n,1);e.push(t(r))}return e}((t=>this.extract(t,n,"month")))),this.monthsCache[r][t]}))}weekdays(t,e=!1){return V(this,t,fe,(()=>{const n=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},r=e?"format":"standalone";return this.weekdaysCache[r][t]||(this.weekdaysCache[r][t]=function(t){const e=[];for(let n=1;n<=7;n++){const r=hr.utc(2016,11,13+n);e.push(t(r))}return e}((t=>this.extract(t,n,"weekday")))),this.weekdaysCache[r][t]}))}meridiems(){return V(this,void 0,(()=>ye),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[hr.utc(2016,11,13,9),hr.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return V(this,t,Se,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[hr.utc(-40,1,1),hr.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,n){const r=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===n));return r?r.value:null}numberFormatter(t={}){return new B(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Q(t,this.intl,e)}relFormatter(t={}){return new K(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const n=JSON.stringify([t,e]);let r=j[n];return r||(r=new Intl.ListFormat(t,e),j[n]=r),r}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||P(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:_t()?function(t){let e=Y.get(t);if(!e){const n=new Intl.Locale(t);e="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,"minimalDays"in e||(e={...X,...e}),Y.set(t,e)}return e}(this.locale):X}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let et=null;class nt extends Z{static get utcInstance(){return null===et&&(et=new nt(0)),et}static instance(t){return 0===t?nt.utcInstance:new nt(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new nt(ne(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${ie(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${ie(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return ie(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class rt extends Z{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function st(t,e){if(Wt(t)||null===t)return e;if(t instanceof Z)return t;if("string"==typeof t){const n=t.toLowerCase();return"default"===n?e:"local"===n||"system"===n?L.instance:"utc"===n||"gmt"===n?nt.utcInstance:nt.parseSpecifier(n)||q.create(t)}return Lt(t)?nt.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new rt(t)}const it={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},ut={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},ot=it.hanidec.replace(/[\[|\]]/g,"").split(""),at=new Map;function ct({numberingSystem:t},e=""){const n=t||"latn";let r=at.get(n);void 0===r&&(r=new Map,at.set(n,r));let s=r.get(e);return void 0===s&&(s=new RegExp(`${it[n]}${e}`),r.set(e,s)),s}let ht,lt=()=>Date.now(),dt="system",mt=null,ft=null,yt=null,gt=60,wt=null;class pt{static get now(){return lt}static set now(t){lt=t}static set defaultZone(t){dt=t}static get defaultZone(){return st(dt,L.instance)}static get defaultLocale(){return mt}static set defaultLocale(t){mt=t}static get defaultNumberingSystem(){return ft}static set defaultNumberingSystem(t){ft=t}static get defaultOutputCalendar(){return yt}static set defaultOutputCalendar(t){yt=t}static get defaultWeekSettings(){return wt}static set defaultWeekSettings(t){wt=Ht(t)}static get twoDigitCutoffYear(){return gt}static set twoDigitCutoffYear(t){gt=t%100}static get throwOnInvalid(){return ht}static set throwOnInvalid(t){ht=t}static resetCaches(){tt.resetCache(),q.resetCache(),hr.resetCache(),at.clear()}}class St{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Mt=[0,31,59,90,120,151,181,212,243,273,304,334],kt=[0,31,60,91,121,152,182,213,244,274,305,335];function Tt(t,e){return new St("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function Nt(t,e,n){const r=new Date(Date.UTC(t,e-1,n));t<100&&t>=0&&r.setUTCFullYear(r.getUTCFullYear()-1900);const s=r.getUTCDay();return 0===s?7:s}function bt(t,e,n){return n+(Yt(t)?kt:Mt)[e-1]}function Et(t,e){const n=Yt(t)?kt:Mt,r=n.findIndex((t=>t<e));return{month:r+1,day:e-n[r]}}function vt(t,e){return(t-e+7)%7+1}function Dt(t,e=4,n=1){const{year:r,month:s,day:i}=t,u=bt(r,s,i),o=vt(Nt(r,s,i),n);let a,c=Math.floor((u-o+14-e)/7);return c<1?(a=r-1,c=Xt(a,e,n)):c>Xt(r,e,n)?(a=r+1,c=1):a=r,{weekYear:a,weekNumber:c,weekday:o,...ue(t)}}function Ot(t,e=4,n=1){const{weekYear:r,weekNumber:s,weekday:i}=t,u=vt(Nt(r,1,e),n),o=Vt(r);let a,c=7*s+i-u-7+e;c<1?(a=r-1,c+=Vt(a)):c>o?(a=r+1,c-=Vt(r)):a=r;const{month:h,day:l}=Et(a,c);return{year:a,month:h,day:l,...ue(t)}}function $t(t){const{year:e,month:n,day:r}=t;return{year:e,ordinal:bt(e,n,r),...ue(t)}}function It(t){const{year:e,ordinal:n}=t,{month:r,day:s}=Et(e,n);return{year:e,month:r,day:s,...ue(t)}}function xt(t,e){if(!Wt(t.localWeekday)||!Wt(t.localWeekNumber)||!Wt(t.localWeekYear)){if(!Wt(t.weekday)||!Wt(t.weekNumber)||!Wt(t.weekYear))throw new s("Cannot mix locale-based week fields with ISO-based week fields");return Wt(t.localWeekday)||(t.weekday=t.localWeekday),Wt(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Wt(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function Ft(t){const e=At(t.year),n=zt(t.month,1,12),r=zt(t.day,1,Bt(t.year,t.month));return e?n?!r&&Tt("day",t.day):Tt("month",t.month):Tt("year",t.year)}function Zt(t){const{hour:e,minute:n,second:r,millisecond:s}=t,i=zt(e,0,23)||24===e&&0===n&&0===r&&0===s,u=zt(n,0,59),o=zt(r,0,59),a=zt(s,0,999);return i?u?o?!a&&Tt("millisecond",s):Tt("second",r):Tt("minute",n):Tt("hour",e)}function Wt(t){return void 0===t}function Lt(t){return"number"==typeof t}function At(t){return"number"==typeof t&&t%1==0}function Ct(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function _t(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function qt(t,e,n){if(0!==t.length)return t.reduce(((t,r)=>{const s=[e(r),r];return t&&n(t[0],s[0])===t[0]?t:s}),null)[1]}function jt(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Ht(t){if(null==t)return null;if("object"!=typeof t)throw new u("Week settings must be an object");if(!zt(t.firstDay,1,7)||!zt(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!zt(t,1,7))))throw new u("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function zt(t,e,n){return At(t)&&t>=e&&t<=n}function Rt(t,e=2){let n;return n=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),n}function Jt(t){return Wt(t)||null===t||""===t?void 0:parseInt(t,10)}function Ut(t){return Wt(t)||null===t||""===t?void 0:parseFloat(t)}function Gt(t){if(!Wt(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Pt(t,e,n=!1){const r=10**e;return(n?Math.trunc:Math.round)(t*r)/r}function Yt(t){return t%4==0&&(t%100!=0||t%400==0)}function Vt(t){return Yt(t)?366:365}function Bt(t,e){const n=(r=e-1)-12*Math.floor(r/12)+1;var r;return 2===n?Yt(t+(e-n)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function Qt(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Kt(t,e,n){return-vt(Nt(t,1,e),n)+e-1}function Xt(t,e=4,n=1){const r=Kt(t,e,n),s=Kt(t+1,e,n);return(Vt(t)-r+s)/7}function te(t){return t>99?t:t>pt.twoDigitCutoffYear?1900+t:2e3+t}function ee(t,e,n,r=null){const s=new Date(t),i={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(i.timeZone=r);const u={timeZoneName:e,...i},o=new Intl.DateTimeFormat(n,u).formatToParts(s).find((t=>"timezonename"===t.type.toLowerCase()));return o?o.value:null}function ne(t,e){let n=parseInt(t,10);Number.isNaN(n)&&(n=0);const r=parseInt(e,10)||0;return 60*n+(n<0||Object.is(n,-0)?-r:r)}function re(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new u(`Invalid unit value ${t}`);return e}function se(t,e){const n={};for(const r in t)if(jt(t,r)){const s=t[r];if(null==s)continue;n[e(r)]=re(s)}return n}function ie(t,e){const n=Math.trunc(Math.abs(t/60)),r=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${Rt(n,2)}:${Rt(r,2)}`;case"narrow":return`${s}${n}${r>0?`:${r}`:""}`;case"techie":return`${s}${Rt(n,2)}${Rt(r,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function ue(t){return function(t){return["hour","minute","second","millisecond"].reduce(((e,n)=>(e[n]=t[n],e)),{})}(t)}const oe=["January","February","March","April","May","June","July","August","September","October","November","December"],ae=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],ce=["J","F","M","A","M","J","J","A","S","O","N","D"];function he(t){switch(t){case"narrow":return[...ce];case"short":return[...ae];case"long":return[...oe];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const le=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],de=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],me=["M","T","W","T","F","S","S"];function fe(t){switch(t){case"narrow":return[...me];case"short":return[...de];case"long":return[...le];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const ye=["AM","PM"],ge=["Before Christ","Anno Domini"],we=["BC","AD"],pe=["B","A"];function Se(t){switch(t){case"narrow":return[...pe];case"short":return[...we];case"long":return[...ge];default:return null}}function Me(t,e){let n="";for(const r of t)n+=r.literal?r.val:e(r.val);return n}const ke={D:l,DD:d,DDD:f,DDDD:y,t:g,tt:w,ttt:p,tttt:S,T:M,TT:k,TTT:T,TTTT:N,f:b,ff:v,fff:$,ffff:x,F:E,FF:D,FFF:I,FFFF:F};class Te{static create(t,e={}){return new Te(t,e)}static parseFormat(t){let e=null,n="",r=!1;const s=[];for(let i=0;i<t.length;i++){const u=t.charAt(i);"'"===u?(n.length>0&&s.push({literal:r||/^\s+$/.test(n),val:n}),e=null,n="",r=!r):r||u===e?n+=u:(n.length>0&&s.push({literal:/^\s+$/.test(n),val:n}),n=u,e=u)}return n.length>0&&s.push({literal:r||/^\s+$/.test(n),val:n}),s}static macroTokenToFormatOpts(t){return ke[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Rt(t,e);const n={...this.opts};return e>0&&(n.padTo=e),this.loc.numberFormatter(n).format(t)}formatDateTimeFromString(t,e){const n="en"===this.loc.listingMode(),r=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,s=(e,n)=>this.loc.extract(t,e,n),i=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",u=(e,r)=>n?function(t,e){return he(e)[t.month-1]}(t,e):s(r?{month:e}:{month:e,day:"numeric"},"month"),o=(e,r)=>n?function(t,e){return fe(e)[t.weekday-1]}(t,e):s(r?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),a=e=>{const n=Te.macroTokenToFormatOpts(e);return n?this.formatWithSystemDefault(t,n):e},c=e=>n?function(t,e){return Se(e)[t.year<0?0:1]}(t,e):s({era:e},"era");return Me(Te.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return i({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return i({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return i({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return n?function(t){return ye[t.hour<12?0:1]}(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod");case"d":return r?s({day:"numeric"},"day"):this.num(t.day);case"dd":return r?s({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return o("short",!0);case"cccc":return o("long",!0);case"ccccc":return o("narrow",!0);case"EEE":return o("short",!1);case"EEEE":return o("long",!1);case"EEEEE":return o("narrow",!1);case"L":return r?s({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return r?s({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return u("short",!0);case"LLLL":return u("long",!0);case"LLLLL":return u("narrow",!0);case"M":return r?s({month:"numeric"},"month"):this.num(t.month);case"MM":return r?s({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return u("short",!1);case"MMMM":return u("long",!1);case"MMMMM":return u("narrow",!1);case"y":return r?s({year:"numeric"},"year"):this.num(t.year);case"yy":return r?s({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return r?s({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return r?s({year:"numeric"},"year"):this.num(t.year,6);case"G":return c("short");case"GG":return c("long");case"GGGGG":return c("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return a(e)}}))}formatDurationFromString(t,e){const n=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},r=Te.parseFormat(e),s=r.reduce(((t,{literal:e,val:n})=>e?t:t.concat(n)),[]);return Me(r,(t=>e=>{const r=n(e);return r?this.num(t.get(r),e.length):e})(t.shiftTo(...s.map(n).filter((t=>t)))))}}const Ne=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function be(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function Ee(...t){return e=>t.reduce((([t,n,r],s)=>{const[i,u,o]=s(e,r);return[{...t,...i},u||n,o]}),[{},null,1]).slice(0,2)}function ve(t,...e){if(null==t)return[null,null];for(const[n,r]of e){const e=n.exec(t);if(e)return r(e)}return[null,null]}function De(...t){return(e,n)=>{const r={};let s;for(s=0;s<t.length;s++)r[t[s]]=Jt(e[n+s]);return[r,null,n+s]}}const Oe=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,$e=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Ie=RegExp(`${$e.source}(?:${Oe.source}?(?:\\[(${Ne.source})\\])?)?`),xe=RegExp(`(?:T${Ie.source})?`),Fe=De("weekYear","weekNumber","weekDay"),Ze=De("year","ordinal"),We=RegExp(`${$e.source} ?(?:${Oe.source}|(${Ne.source}))?`),Le=RegExp(`(?: ${We.source})?`);function Ae(t,e,n){const r=t[e];return Wt(r)?n:Jt(r)}function Ce(t,e){return[{hours:Ae(t,e,0),minutes:Ae(t,e+1,0),seconds:Ae(t,e+2,0),milliseconds:Gt(t[e+3])},null,e+4]}function _e(t,e){const n=!t[e]&&!t[e+1],r=ne(t[e+1],t[e+2]);return[{},n?null:nt.instance(r),e+3]}function qe(t,e){return[{},t[e]?q.create(t[e]):null,e+1]}const je=RegExp(`^T?${$e.source}$`),He=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function ze(t){const[e,n,r,s,i,u,o,a,c]=t,h="-"===e[0],l=a&&"-"===a[0],d=(t,e=!1)=>void 0!==t&&(e||t&&h)?-t:t;return[{years:d(Ut(n)),months:d(Ut(r)),weeks:d(Ut(s)),days:d(Ut(i)),hours:d(Ut(u)),minutes:d(Ut(o)),seconds:d(Ut(a),"-0"===a),milliseconds:d(Gt(c),l)}]}const Re={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Je(t,e,n,r,s,i,u){const o={year:2===e.length?te(Jt(e)):Jt(e),month:ae.indexOf(n)+1,day:Jt(r),hour:Jt(s),minute:Jt(i)};return u&&(o.second=Jt(u)),t&&(o.weekday=t.length>3?le.indexOf(t)+1:de.indexOf(t)+1),o}const Ue=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Ge(t){const[,e,n,r,s,i,u,o,a,c,h,l]=t,d=Je(e,s,r,n,i,u,o);let m;return m=a?Re[a]:c?0:ne(h,l),[d,new nt(m)]}const Pe=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Ye=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Ve=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Be(t){const[,e,n,r,s,i,u,o]=t;return[Je(e,s,r,n,i,u,o),nt.utcInstance]}function Qe(t){const[,e,n,r,s,i,u,o]=t;return[Je(e,o,n,r,s,i,u),nt.utcInstance]}const Ke=be(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,xe),Xe=be(/(\d{4})-?W(\d\d)(?:-?(\d))?/,xe),tn=be(/(\d{4})-?(\d{3})/,xe),en=be(Ie),nn=Ee((function(t,e){return[{year:Ae(t,e),month:Ae(t,e+1,1),day:Ae(t,e+2,1)},null,e+3]}),Ce,_e,qe),rn=Ee(Fe,Ce,_e,qe),sn=Ee(Ze,Ce,_e,qe),un=Ee(Ce,_e,qe),on=Ee(Ce),an=be(/(\d{4})-(\d\d)-(\d\d)/,Le),cn=be(We),hn=Ee(Ce,_e,qe),ln="Invalid Duration",dn={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},mn={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...dn},fn={years:{quarters:4,months:12,weeks:52.1775,days:365.2425,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:30.436875,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...dn},yn=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],gn=yn.slice(0).reverse();function wn(t,e,n=!1){const r={values:n?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new Mn(r)}function pn(t,e){let n=e.milliseconds??0;for(const r of gn.slice(1))e[r]&&(n+=e[r]*t[r].milliseconds);return n}function Sn(t,e){const n=pn(t,e)<0?-1:1;yn.reduceRight(((r,s)=>{if(Wt(e[s]))return r;if(r){const i=t[s][r],u=Math.floor(e[r]*n/i);e[s]+=u*n,e[r]-=u*i*n}return s}),null),yn.reduce(((n,r)=>{if(Wt(e[r]))return n;if(n){const s=e[n]%1;e[n]-=s,e[r]+=s*t[n][r]}return r}),null)}class Mn{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let n=e?fn:mn;t.matrix&&(n=t.matrix),this.values=t.values,this.loc=t.loc||tt.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=n,this.isLuxonDuration=!0}static fromMillis(t,e){return Mn.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new u("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new Mn({values:se(t,Mn.normalizeUnit),loc:tt.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Lt(t))return Mn.fromMillis(t);if(Mn.isDuration(t))return t;if("object"==typeof t)return Mn.fromObject(t);throw new u(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[n]=function(t){return ve(t,[He,ze])}(t);return n?Mn.fromObject(n,e):Mn.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[n]=function(t){return ve(t,[je,on])}(t);return n?Mn.fromObject(n,e):Mn.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new u("need to specify a reason the Duration is invalid");const n=t instanceof St?t:new St(t,e);if(pt.throwOnInvalid)throw new r(n);return new Mn({invalid:n})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new i(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const n={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?Te.create(this.loc,n).formatDurationFromString(this,t):ln}toHuman(t={}){if(!this.isValid)return ln;const e=yn.map((e=>{const n=this.values[e];return Wt(n)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(n)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=Pt(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();return e<0||e>=864e5?null:(t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1},hr.fromMillis(e,{zone:"UTC"}).toISOTime(t))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?pn(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=Mn.fromDurationLike(t),n={};for(const t of yn)(jt(e.values,t)||jt(this.values,t))&&(n[t]=e.get(t)+this.get(t));return wn(this,{values:n},!0)}minus(t){if(!this.isValid)return this;const e=Mn.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const n of Object.keys(this.values))e[n]=re(t(this.values[n],n));return wn(this,{values:e},!0)}get(t){return this[Mn.normalizeUnit(t)]}set(t){return this.isValid?wn(this,{values:{...this.values,...se(t,Mn.normalizeUnit)}}):this}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:n,matrix:r}={}){return wn(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:r,conversionAccuracy:n})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return Sn(this.matrix,t),wn(this,{values:t},!0)}rescale(){return this.isValid?wn(this,{values:function(t){const e={};for(const[n,r]of Object.entries(t))0!==r&&(e[n]=r);return e}(this.normalize().shiftToAll().toObject())},!0):this}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>Mn.normalizeUnit(t)));const e={},n={},r=this.toObject();let s;for(const i of yn)if(t.indexOf(i)>=0){s=i;let t=0;for(const e in n)t+=this.matrix[e][i]*n[e],n[e]=0;Lt(r[i])&&(t+=r[i]);const u=Math.trunc(t);e[i]=u,n[i]=(1e3*t-1e3*u)/1e3}else Lt(r[i])&&(n[i]=r[i]);for(const t in n)0!==n[t]&&(e[s]+=t===s?n[t]:n[t]/this.matrix[s][t]);return Sn(this.matrix,e),wn(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return wn(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const r of yn)if(n=t.values[r],!(void 0===(e=this.values[r])||0===e?void 0===n||0===n:e===n))return!1;var e,n;return!0}}const kn="Invalid Interval";class Tn{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new u("need to specify a reason the Interval is invalid");const r=t instanceof St?t:new St(t,e);if(pt.throwOnInvalid)throw new n(r);return new Tn({invalid:r})}static fromDateTimes(t,e){const n=lr(t),r=lr(e),s=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?Tn.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:Tn.invalid("missing or invalid end"):Tn.invalid("missing or invalid start")}(n,r);return null==s?new Tn({start:n,end:r}):s}static after(t,e){const n=Mn.fromDurationLike(e),r=lr(t);return Tn.fromDateTimes(r,r.plus(n))}static before(t,e){const n=Mn.fromDurationLike(e),r=lr(t);return Tn.fromDateTimes(r.minus(n),r)}static fromISO(t,e){const[n,r]=(t||"").split("/",2);if(n&&r){let t,s,i,u;try{t=hr.fromISO(n,e),s=t.isValid}catch(r){s=!1}try{i=hr.fromISO(r,e),u=i.isValid}catch(r){u=!1}if(s&&u)return Tn.fromDateTimes(t,i);if(s){const n=Mn.fromISO(r,e);if(n.isValid)return Tn.after(t,n)}else if(u){const t=Mn.fromISO(n,e);if(t.isValid)return Tn.before(i,t)}}return Tn.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const n=this.start.startOf(t,e);let r;return r=e?.useLocaleWeeks?this.end.reconfigure({locale:n.locale}):this.end,r=r.startOf(t,e),Math.floor(r.diff(n,t).get(t))+(r.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&this.s<=t&&this.e>t}set({start:t,end:e}={}){return this.isValid?Tn.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(lr).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),n=[];let{s:r}=this,s=0;for(;r<this.e;){const t=e[s]||this.e,i=+t>+this.e?this.e:t;n.push(Tn.fromDateTimes(r,i)),r=i,s+=1}return n}splitBy(t){const e=Mn.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let n,{s:r}=this,s=1;const i=[];for(;r<this.e;){const t=this.start.plus(e.mapUnits((t=>t*s)));n=+t>+this.e?this.e:t,i.push(Tn.fromDateTimes(r,n)),r=n,s+=1}return i}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e==+t.s}abutsEnd(t){return!!this.isValid&&+t.e==+this.s}engulfs(t){return!!this.isValid&&this.s<=t.s&&this.e>=t.e}equals(t){return!(!this.isValid||!t.isValid)&&this.s.equals(t.s)&&this.e.equals(t.e)}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,n=this.e<t.e?this.e:t.e;return e>=n?null:Tn.fromDateTimes(e,n)}union(t){return this.isValid?Tn.fromDateTimes(this.s<t.s?this.s:t.s,this.e>t.e?this.e:t.e):this}static merge(t){const[e,n]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],n)=>e?e.overlaps(n)||e.abutsStart(n)?[t,e.union(n)]:[t.concat([e]),n]:[t,n]),[[],null]);return n&&e.push(n),e}static xor(t){let e=null,n=0;const r=[],s=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),i=Array.prototype.concat(...s).sort(((t,e)=>t.time-e.time));for(const t of i)n+="s"===t.type?1:-1,1===n?e=t.time:(e&&+e!=+t.time&&r.push(Tn.fromDateTimes(e,t.time)),e=null);return Tn.merge(r)}difference(...t){return Tn.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:kn}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=l,e={}){return this.isValid?Te.create(this.s.loc.clone(e),t).formatInterval(this):kn}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:kn}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:kn}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:kn}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:kn}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):Mn.invalid(this.invalidReason)}mapEndpoints(t){return Tn.fromDateTimes(t(this.s),t(this.e))}}class Nn{static hasDST(t=pt.defaultZone){const e=hr.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return q.isValidZone(t)}static normalizeZone(t){return st(t,pt.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||tt.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||tt.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||tt.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:n=null,locObj:r=null,outputCalendar:s="gregory"}={}){return(r||tt.create(e,n,s)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:n=null,locObj:r=null,outputCalendar:s="gregory"}={}){return(r||tt.create(e,n,s)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:n=null,locObj:r=null}={}){return(r||tt.create(e,n,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:n=null,locObj:r=null}={}){return(r||tt.create(e,n,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return tt.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return tt.create(e,null,"gregory").eras(t)}static features(){return{relative:Ct(),localeWeek:_t()}}}function bn(t,e){const n=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),r=n(e)-n(t);return Math.floor(Mn.fromMillis(r).as("days"))}function En(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let n=0;n<t.length;n++){const r=t.charCodeAt(n);if(-1!==t[n].search(it.hanidec))e+=ot.indexOf(t[n]);else for(const t in ut){const[n,s]=ut[t];r>=n&&r<=s&&(e+=r-n)}}return parseInt(e,10)}return e}(t))}}const vn=`[ ${String.fromCharCode(160)}]`,Dn=new RegExp(vn,"g");function On(t){return t.replace(/\./g,"\\.?").replace(Dn,vn)}function $n(t){return t.replace(/\./g,"").replace(Dn," ").toLowerCase()}function In(t,e){return null===t?null:{regex:RegExp(t.map(On).join("|")),deser:([n])=>t.findIndex((t=>$n(n)===$n(t)))+e}}function xn(t,e){return{regex:t,deser:([,t,e])=>ne(t,e),groups:e}}function Fn(t){return{regex:t,deser:([t])=>t}}const Zn={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Wn=null;function Ln(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const n=_n(Te.macroTokenToFormatOpts(t.val),e);return null==n||n.includes(void 0)?t:n}(t,e))))}class An{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Ln(Te.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const n=ct(e),r=ct(e,"{2}"),s=ct(e,"{3}"),i=ct(e,"{4}"),u=ct(e,"{6}"),o=ct(e,"{1,2}"),a=ct(e,"{1,3}"),c=ct(e,"{1,6}"),h=ct(e,"{1,9}"),l=ct(e,"{2,4}"),d=ct(e,"{4,6}"),m=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},f=(f=>{if(t.literal)return m(f);switch(f.val){case"G":return In(e.eras("short"),0);case"GG":return In(e.eras("long"),0);case"y":return En(c);case"yy":case"kk":return En(l,te);case"yyyy":case"kkkk":return En(i);case"yyyyy":return En(d);case"yyyyyy":return En(u);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return En(o);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return En(r);case"MMM":return In(e.months("short",!0),1);case"MMMM":return In(e.months("long",!0),1);case"LLL":return In(e.months("short",!1),1);case"LLLL":return In(e.months("long",!1),1);case"o":case"S":return En(a);case"ooo":case"SSS":return En(s);case"u":return Fn(h);case"uu":return Fn(o);case"uuu":case"E":case"c":return En(n);case"a":return In(e.meridiems(),0);case"EEE":return In(e.weekdays("short",!1),1);case"EEEE":return In(e.weekdays("long",!1),1);case"ccc":return In(e.weekdays("short",!0),1);case"cccc":return In(e.weekdays("long",!0),1);case"Z":case"ZZ":return xn(new RegExp(`([+-]${o.source})(?::(${r.source}))?`),2);case"ZZZ":return xn(new RegExp(`([+-]${o.source})(${r.source})?`),2);case"z":return Fn(/[a-z_+-/]{1,256}?/i);case" ":return Fn(/[^\S\n\r]/);default:return m(f)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return f.token=t,f}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=[`^${(n=this.units).map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"")}$`,n];this.regex=RegExp(t,"i"),this.handlers=e}var n}explainFromTokens(t){if(this.isValid){const[e,n]=function(t,e,n){const r=t.match(e);if(r){const t={};let e=1;for(const s in n)if(jt(n,s)){const i=n[s],u=i.groups?i.groups+1:1;!i.literal&&i.token&&(t[i.token.val[0]]=i.deser(r.slice(e,e+u))),e+=u}return[r,t]}return[r,{}]}(t,this.regex,this.handlers),[r,i,u]=n?function(t){let e,n=null;return Wt(t.z)||(n=q.create(t.z)),Wt(t.Z)||(n||(n=new nt(t.Z)),e=t.Z),Wt(t.q)||(t.M=3*(t.q-1)+1),Wt(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),Wt(t.u)||(t.S=Gt(t.u)),[Object.keys(t).reduce(((e,n)=>{const r=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(n);return r&&(e[r]=t[n]),e}),{}),n,e]}(n):[null,null,void 0];if(jt(n,"a")&&jt(n,"H"))throw new s("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:n,result:r,zone:i,specificOffset:u}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Cn(t,e,n){return new An(t,n).explainFromTokens(e)}function _n(t,e){if(!t)return null;const n=Te.create(e,t).dtFormatter((Wn||(Wn=hr.fromMillis(1555555555555)),Wn)),r=n.formatToParts(),s=n.resolvedOptions();return r.map((e=>function(t,e,n){const{type:r,value:s}=t;if("literal"===r){const t=/^\s+$/.test(s);return{literal:!t,val:t?" ":s}}let i=r;"hour"===r&&(i=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":n.hour12?"hour12":"hour24");let u=Zn[i];if("object"==typeof u&&(u=u[e[r]]),u)return{literal:!1,val:u}}(e,t,s)))}const qn="Invalid DateTime";function jn(t){return new St("unsupported zone",`the zone "${t.name}" is not supported`)}function Hn(t){return null===t.weekData&&(t.weekData=Dt(t.c)),t.weekData}function zn(t){return null===t.localWeekData&&(t.localWeekData=Dt(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Rn(t,e){const n={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new hr({...n,...e,old:n})}function Jn(t,e,n){let r=t-60*e*1e3;const s=n.offset(r);if(e===s)return[r,e];r-=60*(s-e)*1e3;const i=n.offset(r);return s===i?[r,s]:[t-60*Math.min(s,i)*1e3,Math.max(s,i)]}function Un(t,e){const n=new Date(t+=60*e*1e3);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function Gn(t,e,n){return Jn(Qt(t),e,n)}function Pn(t,e){const n=t.o,r=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),i={...t.c,year:r,month:s,day:Math.min(t.c.day,Bt(r,s))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},u=Mn.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),o=Qt(i);let[a,c]=Jn(o,n,t.zone);return 0!==u&&(a+=u,c=t.zone.offset(a)),{ts:a,o:c}}function Yn(t,e,n,r,s,i){const{setZone:u,zone:o}=n;if(t&&0!==Object.keys(t).length||e){const r=e||o,s=hr.fromObject(t,{...n,zone:r,specificOffset:i});return u?s:s.setZone(o)}return hr.invalid(new St("unparsable",`the input "${s}" can't be parsed as ${r}`))}function Vn(t,e,n=!0){return t.isValid?Te.create(tt.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Bn(t,e){const n=t.c.year>9999||t.c.year<0;let r="";return n&&t.c.year>=0&&(r+="+"),r+=Rt(t.c.year,n?6:4),e?(r+="-",r+=Rt(t.c.month),r+="-",r+=Rt(t.c.day)):(r+=Rt(t.c.month),r+=Rt(t.c.day)),r}function Qn(t,e,n,r,s,i){let u=Rt(t.c.hour);return e?(u+=":",u+=Rt(t.c.minute),0===t.c.millisecond&&0===t.c.second&&n||(u+=":")):u+=Rt(t.c.minute),0===t.c.millisecond&&0===t.c.second&&n||(u+=Rt(t.c.second),0===t.c.millisecond&&r||(u+=".",u+=Rt(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!i?u+="Z":t.o<0?(u+="-",u+=Rt(Math.trunc(-t.o/60)),u+=":",u+=Rt(Math.trunc(-t.o%60))):(u+="+",u+=Rt(Math.trunc(t.o/60)),u+=":",u+=Rt(Math.trunc(t.o%60)))),i&&(u+="["+t.zone.ianaName+"]"),u}const Kn={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Xn={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},tr={ordinal:1,hour:0,minute:0,second:0,millisecond:0},er=["year","month","day","hour","minute","second","millisecond"],nr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],rr=["year","ordinal","hour","minute","second","millisecond"];function sr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new i(t);return e}(t)}}function ir(t,e){const n=st(e.zone,pt.defaultZone);if(!n.isValid)return hr.invalid(jn(n));const r=tt.fromObject(e);let s,i;if(Wt(t.year))s=pt.now();else{for(const e of er)Wt(t[e])&&(t[e]=Kn[e]);const e=Ft(t)||Zt(t);if(e)return hr.invalid(e);const r=function(t){if(void 0===ar&&(ar=pt.now()),"iana"!==t.type)return t.offset(ar);const e=t.name;let n=cr.get(e);return void 0===n&&(n=t.offset(ar),cr.set(e,n)),n}(n);[s,i]=Gn(t,r,n)}return new hr({ts:s,zone:n,loc:r,o:i})}function ur(t,e,n){const r=!!Wt(n.round)||n.round,s=(t,s)=>(t=Pt(t,r||n.calendary?0:2,!0),e.loc.clone(n).relFormatter(n).format(t,s)),i=r=>n.calendary?e.hasSame(t,r)?0:e.startOf(r).diff(t.startOf(r),r).get(r):e.diff(t,r).get(r);if(n.unit)return s(i(n.unit),n.unit);for(const t of n.units){const e=i(t);if(Math.abs(e)>=1)return s(e,t)}return s(t>e?-0:0,n.units[n.units.length-1])}function or(t){let e,n={};return t.length>0&&"object"==typeof t[t.length-1]?(n=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[n,e]}let ar;const cr=new Map;class hr{constructor(t){const e=t.zone||pt.defaultZone;let n=t.invalid||(Number.isNaN(t.ts)?new St("invalid input"):null)||(e.isValid?null:jn(e));this.ts=Wt(t.ts)?pt.now():t.ts;let r=null,s=null;if(!n)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[r,s]=[t.old.c,t.old.o];else{const i=Lt(t.o)&&!t.old?t.o:e.offset(this.ts);r=Un(this.ts,i),n=Number.isNaN(r.year)?new St("invalid input"):null,r=n?null:r,s=n?null:i}this._zone=e,this.loc=t.loc||tt.create(),this.invalid=n,this.weekData=null,this.localWeekData=null,this.c=r,this.o=s,this.isLuxonDateTime=!0}static now(){return new hr({})}static local(){const[t,e]=or(arguments),[n,r,s,i,u,o,a]=e;return ir({year:n,month:r,day:s,hour:i,minute:u,second:o,millisecond:a},t)}static utc(){const[t,e]=or(arguments),[n,r,s,i,u,o,a]=e;return t.zone=nt.utcInstance,ir({year:n,month:r,day:s,hour:i,minute:u,second:o,millisecond:a},t)}static fromJSDate(t,e={}){const n="[object Date]"===Object.prototype.toString.call(t)?t.valueOf():NaN;if(Number.isNaN(n))return hr.invalid("invalid input");const r=st(e.zone,pt.defaultZone);return r.isValid?new hr({ts:n,zone:r,loc:tt.fromObject(e)}):hr.invalid(jn(r))}static fromMillis(t,e={}){if(Lt(t))return t<-864e13||t>864e13?hr.invalid("Timestamp out of range"):new hr({ts:t,zone:st(e.zone,pt.defaultZone),loc:tt.fromObject(e)});throw new u(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Lt(t))return new hr({ts:1e3*t,zone:st(e.zone,pt.defaultZone),loc:tt.fromObject(e)});throw new u("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const n=st(e.zone,pt.defaultZone);if(!n.isValid)return hr.invalid(jn(n));const r=tt.fromObject(e),i=se(t,sr),{minDaysInFirstWeek:u,startOfWeek:o}=xt(i,r),a=pt.now(),c=Wt(e.specificOffset)?n.offset(a):e.specificOffset,h=!Wt(i.ordinal),l=!Wt(i.year),d=!Wt(i.month)||!Wt(i.day),m=l||d,f=i.weekYear||i.weekNumber;if((m||h)&&f)throw new s("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(d&&h)throw new s("Can't mix ordinal dates with month/day");const y=f||i.weekday&&!m;let g,w,p=Un(a,c);y?(g=nr,w=Xn,p=Dt(p,u,o)):h?(g=rr,w=tr,p=$t(p)):(g=er,w=Kn);let S=!1;for(const t of g)Wt(i[t])?i[t]=S?w[t]:p[t]:S=!0;const M=y?function(t,e=4,n=1){const r=At(t.weekYear),s=zt(t.weekNumber,1,Xt(t.weekYear,e,n)),i=zt(t.weekday,1,7);return r?s?!i&&Tt("weekday",t.weekday):Tt("week",t.weekNumber):Tt("weekYear",t.weekYear)}(i,u,o):h?function(t){const e=At(t.year),n=zt(t.ordinal,1,Vt(t.year));return e?!n&&Tt("ordinal",t.ordinal):Tt("year",t.year)}(i):Ft(i),k=M||Zt(i);if(k)return hr.invalid(k);const T=y?Ot(i,u,o):h?It(i):i,[N,b]=Gn(T,c,n),E=new hr({ts:N,zone:n,o:b,loc:r});return i.weekday&&m&&t.weekday!==E.weekday?hr.invalid("mismatched weekday",`you can't specify both a weekday of ${i.weekday} and a date of ${E.toISO()}`):E.isValid?E:hr.invalid(E.invalid)}static fromISO(t,e={}){const[n,r]=function(t){return ve(t,[Ke,nn],[Xe,rn],[tn,sn],[en,un])}(t);return Yn(n,r,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[n,r]=function(t){return ve(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Ue,Ge])}(t);return Yn(n,r,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[n,r]=function(t){return ve(t,[Pe,Be],[Ye,Be],[Ve,Qe])}(t);return Yn(n,r,e,"HTTP",e)}static fromFormat(t,e,n={}){if(Wt(t)||Wt(e))throw new u("fromFormat requires an input string and a format");const{locale:r=null,numberingSystem:s=null}=n,i=tt.fromOpts({locale:r,numberingSystem:s,defaultToEN:!0}),[o,a,c,h]=function(t,e,n){const{result:r,zone:s,specificOffset:i,invalidReason:u}=Cn(t,e,n);return[r,s,i,u]}(i,t,e);return h?hr.invalid(h):Yn(o,a,n,`format ${e}`,t,c)}static fromString(t,e,n={}){return hr.fromFormat(t,e,n)}static fromSQL(t,e={}){const[n,r]=function(t){return ve(t,[an,nn],[cn,hn])}(t);return Yn(n,r,e,"SQL",t)}static invalid(t,n=null){if(!t)throw new u("need to specify a reason the DateTime is invalid");const r=t instanceof St?t:new St(t,n);if(pt.throwOnInvalid)throw new e(r);return new hr({invalid:r})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const n=_n(t,tt.fromObject(e));return n?n.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Ln(Te.parseFormat(t),tt.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){ar=void 0,cr.clear()}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Hn(this).weekYear:NaN}get weekNumber(){return this.isValid?Hn(this).weekNumber:NaN}get weekday(){return this.isValid?Hn(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?zn(this).weekday:NaN}get localWeekNumber(){return this.isValid?zn(this).weekNumber:NaN}get localWeekYear(){return this.isValid?zn(this).weekYear:NaN}get ordinal(){return this.isValid?$t(this.c).ordinal:NaN}get monthShort(){return this.isValid?Nn.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Nn.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Nn.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Nn.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,n=Qt(this.c),r=this.zone.offset(n-t),s=this.zone.offset(n+t),i=this.zone.offset(n-r*e),u=this.zone.offset(n-s*e);if(i===u)return[this];const o=n-i*e,a=n-u*e,c=Un(o,i),h=Un(a,u);return c.hour===h.hour&&c.minute===h.minute&&c.second===h.second&&c.millisecond===h.millisecond?[Rn(this,{ts:o}),Rn(this,{ts:a})]:[this]}get isInLeapYear(){return Yt(this.year)}get daysInMonth(){return Bt(this.year,this.month)}get daysInYear(){return this.isValid?Vt(this.year):NaN}get weeksInWeekYear(){return this.isValid?Xt(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Xt(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:n,calendar:r}=Te.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:n,outputCalendar:r}}toUTC(t=0,e={}){return this.setZone(nt.instance(t),e)}toLocal(){return this.setZone(pt.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:n=!1}={}){if((t=st(t,pt.defaultZone)).equals(this.zone))return this;if(t.isValid){let r=this.ts;if(e||n){const e=t.offset(this.ts),n=this.toObject();[r]=Gn(n,e,t)}return Rn(this,{ts:r,zone:t})}return hr.invalid(jn(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:n}={}){return Rn(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:n})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=se(t,sr),{minDaysInFirstWeek:n,startOfWeek:r}=xt(e,this.loc),i=!Wt(e.weekYear)||!Wt(e.weekNumber)||!Wt(e.weekday),u=!Wt(e.ordinal),o=!Wt(e.year),a=!Wt(e.month)||!Wt(e.day);if((o||a||u)&&(e.weekYear||e.weekNumber))throw new s("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&u)throw new s("Can't mix ordinal dates with month/day");let c;i?c=Ot({...Dt(this.c,n,r),...e},n,r):Wt(e.ordinal)?(c={...this.toObject(),...e},Wt(e.day)&&(c.day=Math.min(Bt(c.year,c.month),c.day))):c=It({...$t(this.c),...e});const[h,l]=Gn(c,this.o,this.zone);return Rn(this,{ts:h,o:l})}plus(t){return this.isValid?Rn(this,Pn(this,Mn.fromDurationLike(t))):this}minus(t){return this.isValid?Rn(this,Pn(this,Mn.fromDurationLike(t).negate())):this}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const n={},r=Mn.normalizeUnit(t);switch(r){case"years":n.month=1;case"quarters":case"months":n.day=1;case"weeks":case"days":n.hour=0;case"hours":n.minute=0;case"minutes":n.second=0;case"seconds":n.millisecond=0}if("weeks"===r)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(n.weekNumber=this.weekNumber-1),n.weekday=t}else n.weekday=1;if("quarters"===r){const t=Math.ceil(this.month/3);n.month=3*(t-1)+1}return this.set(n)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?Te.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):qn}toLocaleString(t=l,e={}){return this.isValid?Te.create(this.loc.clone(e),t).formatDateTime(this):qn}toLocaleParts(t={}){return this.isValid?Te.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:n=!1,includeOffset:r=!0,extendedZone:s=!1}={}){if(!this.isValid)return null;const i="extended"===t;let u=Bn(this,i);return u+="T",u+=Qn(this,i,e,n,r,s),u}toISODate({format:t="extended"}={}){return this.isValid?Bn(this,"extended"===t):null}toISOWeekDate(){return Vn(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:n=!0,includePrefix:r=!1,extendedZone:s=!1,format:i="extended"}={}){return this.isValid?(r?"T":"")+Qn(this,"extended"===i,e,t,n,s):null}toRFC2822(){return Vn(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Vn(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Bn(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:n=!0}={}){let r="HH:mm:ss.SSS";return(e||t)&&(n&&(r+=" "),e?r+="z":t&&(r+="ZZ")),Vn(this,r,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():qn}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",n={}){if(!this.isValid||!t.isValid)return Mn.invalid("created by diffing an invalid DateTime");const r={locale:this.locale,numberingSystem:this.numberingSystem,...n},s=(o=e,Array.isArray(o)?o:[o]).map(Mn.normalizeUnit),i=t.valueOf()>this.valueOf(),u=function(t,e,n,r){let[s,i,u,o]=function(t,e,n){const r=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const n=bn(t,e);return(n-n%7)/7}],["days",bn]],s={},i=t;let u,o;for(const[a,c]of r)n.indexOf(a)>=0&&(u=a,s[a]=c(t,e),o=i.plus(s),o>e?(s[a]--,(t=i.plus(s))>e&&(o=t,s[a]--,t=i.plus(s))):t=o);return[t,s,o,u]}(t,e,n);const a=e-s,c=n.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===c.length&&(u<e&&(u=s.plus({[o]:1})),u!==s&&(i[o]=(i[o]||0)+a/(u-s)));const h=Mn.fromObject(i,r);return c.length>0?Mn.fromMillis(a,r).shiftTo(...c).plus(h):h}(i?this:t,i?t:this,s,r);var o;return i?u.negate():u}diffNow(t="milliseconds",e={}){return this.diff(hr.now(),t,e)}until(t){return this.isValid?Tn.fromDateTimes(this,t):this}hasSame(t,e,n){if(!this.isValid)return!1;const r=t.valueOf(),s=this.setZone(t.zone,{keepLocalTime:!0});return s.startOf(e,n)<=r&&r<=s.endOf(e,n)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||hr.fromObject({},{zone:this.zone}),n=t.padding?this<e?-t.padding:t.padding:0;let r=["years","months","days","hours","minutes","seconds"],s=t.unit;return Array.isArray(t.unit)&&(r=t.unit,s=void 0),ur(e,this.plus(n),{...t,numeric:"always",units:r,unit:s})}toRelativeCalendar(t={}){return this.isValid?ur(t.base||hr.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(hr.isDateTime))throw new u("min requires all arguments be DateTimes");return qt(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(hr.isDateTime))throw new u("max requires all arguments be DateTimes");return qt(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,n={}){const{locale:r=null,numberingSystem:s=null}=n;return Cn(tt.fromOpts({locale:r,numberingSystem:s,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,n={}){return hr.fromFormatExplain(t,e,n)}static buildFormatParser(t,e={}){const{locale:n=null,numberingSystem:r=null}=e,s=tt.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0});return new An(s,t)}static fromFormatParser(t,e,n={}){if(Wt(t)||Wt(e))throw new u("fromFormatParser requires an input string and a format parser");const{locale:r=null,numberingSystem:s=null}=n,i=tt.fromOpts({locale:r,numberingSystem:s,defaultToEN:!0});if(!i.equals(e.locale))throw new u(`fromFormatParser called with a locale of ${i}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:h}=e.explainFromTokens(t);return h?hr.invalid(h):Yn(o,a,n,`format ${e.format}`,t,c)}static get DATE_SHORT(){return l}static get DATE_MED(){return d}static get DATE_MED_WITH_WEEKDAY(){return m}static get DATE_FULL(){return f}static get DATE_HUGE(){return y}static get TIME_SIMPLE(){return g}static get TIME_WITH_SECONDS(){return w}static get TIME_WITH_SHORT_OFFSET(){return p}static get TIME_WITH_LONG_OFFSET(){return S}static get TIME_24_SIMPLE(){return M}static get TIME_24_WITH_SECONDS(){return k}static get TIME_24_WITH_SHORT_OFFSET(){return T}static get TIME_24_WITH_LONG_OFFSET(){return N}static get DATETIME_SHORT(){return b}static get DATETIME_SHORT_WITH_SECONDS(){return E}static get DATETIME_MED(){return v}static get DATETIME_MED_WITH_SECONDS(){return D}static get DATETIME_MED_WITH_WEEKDAY(){return O}static get DATETIME_FULL(){return $}static get DATETIME_FULL_WITH_SECONDS(){return I}static get DATETIME_HUGE(){return x}static get DATETIME_HUGE_WITH_SECONDS(){return F}}function lr(t){if(hr.isDateTime(t))return t;if(t&&t.valueOf&&Lt(t.valueOf()))return hr.fromJSDate(t);if(t&&"object"==typeof t)return hr.fromObject(t);throw new u(`Unknown datetime argument: ${t}, of type ${typeof t}`)}export{hr as D}
|
|
1
|
+
class t extends Error{}class e extends t{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class n extends t{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class r extends t{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class s extends t{}class i extends t{constructor(t){super(`Invalid unit ${t}`)}}class u extends t{}class o extends t{constructor(){super("Zone is an abstract class")}}const a="numeric",c="short",h="long",l={year:a,month:a,day:a},d={year:a,month:c,day:a},m={year:a,month:c,day:a,weekday:c},f={year:a,month:h,day:a},y={year:a,month:h,day:a,weekday:h},g={hour:a,minute:a},w={hour:a,minute:a,second:a},p={hour:a,minute:a,second:a,timeZoneName:c},S={hour:a,minute:a,second:a,timeZoneName:h},M={hour:a,minute:a,hourCycle:"h23"},k={hour:a,minute:a,second:a,hourCycle:"h23"},T={hour:a,minute:a,second:a,hourCycle:"h23",timeZoneName:c},N={hour:a,minute:a,second:a,hourCycle:"h23",timeZoneName:h},b={year:a,month:a,day:a,hour:a,minute:a},E={year:a,month:a,day:a,hour:a,minute:a,second:a},v={year:a,month:c,day:a,hour:a,minute:a},D={year:a,month:c,day:a,hour:a,minute:a,second:a},O={year:a,month:c,day:a,weekday:c,hour:a,minute:a},$={year:a,month:h,day:a,hour:a,minute:a,timeZoneName:c},I={year:a,month:h,day:a,hour:a,minute:a,second:a,timeZoneName:c},x={year:a,month:h,day:a,weekday:h,hour:a,minute:a,timeZoneName:h},F={year:a,month:h,day:a,weekday:h,hour:a,minute:a,second:a,timeZoneName:h};class Z{get type(){throw new o}get name(){throw new o}get ianaName(){return this.name}get isUniversal(){throw new o}offsetName(t,e){throw new o}formatOffset(t,e){throw new o}offset(t){throw new o}equals(t){throw new o}get isValid(){throw new o}}let W=null;class L extends Z{static get instance(){return null===W&&(W=new L),W}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:n}){return ee(t,e,n)}formatOffset(t,e){return ie(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const A=new Map,C={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6},_=new Map;class q extends Z{static create(t){let e=_.get(t);return void 0===e&&_.set(t,e=new q(t)),e}static resetCache(){_.clear(),A.clear()}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=q.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:n}){return ee(t,e,n,this.name)}formatOffset(t,e){return ie(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const n=function(t){let e=A.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),A.set(t,e)),e}(this.name);let[r,s,i,u,o,a,c]=n.formatToParts?function(t,e){const n=t.formatToParts(e),r=[];for(let t=0;t<n.length;t++){const{type:e,value:s}=n[t],i=C[e];"era"===e?r[i]=s:Wt(i)||(r[i]=parseInt(s,10))}return r}(n,e):function(t,e){const n=t.format(e).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,s,i,u,o,a,c,h]=r;return[u,s,i,o,a,c,h]}(n,e);"BC"===u&&(r=1-Math.abs(r));let h=+e;const l=h%1e3;return h-=l>=0?l:1e3+l,(Qt({year:r,month:s,day:i,hour:24===o?0:o,minute:a,second:c,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let j={};const H=new Map;function z(t,e={}){const n=JSON.stringify([t,e]);let r=H.get(n);return void 0===r&&(r=new Intl.DateTimeFormat(t,e),H.set(n,r)),r}const R=new Map,J=new Map;let U=null;const G=new Map;function P(t){let e=G.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),G.set(t,e)),e}const Y=new Map;function V(t,e,n,r){const s=t.listingMode();return"error"===s?null:"en"===s?n(e):r(e)}class B{constructor(t,e,n){this.padTo=n.padTo||0,this.floor=n.floor||!1;const{padTo:r,floor:s,...i}=n;if(!e||Object.keys(i).length>0){const e={useGrouping:!1,...n};n.padTo>0&&(e.minimumIntegerDigits=n.padTo),this.inf=function(t,e={}){const n=JSON.stringify([t,e]);let r=R.get(n);return void 0===r&&(r=new Intl.NumberFormat(t,e),R.set(n,r)),r}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Rt(this.floor?Math.floor(t):Pt(t,3),this.padTo)}}class Q{constructor(t,e,n){let r;if(this.opts=n,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,n=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&q.create(n).valid?(r=n,this.dt=t):(r="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,r=t.zone.name):(r="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const s={...this.opts};s.timeZone=s.timeZone||r,this.dtf=z(e,s)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class K{constructor(t,e,n){this.opts={style:"long",...n},!e&&Ct()&&(this.rtf=function(t,e={}){const{base:n,...r}=e,s=JSON.stringify([t,r]);let i=J.get(s);return void 0===i&&(i=new Intl.RelativeTimeFormat(t,e),J.set(s,i)),i}(t,n))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,n="always",r=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},i=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===n&&i){const n="days"===t;switch(e){case 1:return n?"tomorrow":`next ${s[t][0]}`;case-1:return n?"yesterday":`last ${s[t][0]}`;case 0:return n?"today":`this ${s[t][0]}`}}const u=Object.is(e,-0)||e<0,o=Math.abs(e),a=1===o,c=s[t],h=r?a?c[1]:c[2]||c[1]:a?s[t][0]:t;return u?`${o} ${h} ago`:`in ${o} ${h}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const X={firstDay:1,minimalDays:4,weekend:[6,7]};class tt{static fromOpts(t){return tt.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,n,r,s=!1){const i=t||pt.defaultLocale,u=i||(s?"en-US":U||(U=(new Intl.DateTimeFormat).resolvedOptions().locale,U)),o=e||pt.defaultNumberingSystem,a=n||pt.defaultOutputCalendar,c=Ht(r)||pt.defaultWeekSettings;return new tt(u,o,a,c,i)}static resetCache(){U=null,H.clear(),R.clear(),J.clear(),G.clear(),Y.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:n,weekSettings:r}={}){return tt.create(t,e,n,r)}constructor(t,e,n,r,s){const[i,u,o]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const n=t.indexOf("-u-");if(-1===n)return[t];{let e,r;try{e=z(t).resolvedOptions(),r=t}catch(s){const i=t.substring(0,n);e=z(i).resolvedOptions(),r=i}const{numberingSystem:s,calendar:i}=e;return[r,s,i]}}(t);this.locale=i,this.numberingSystem=e||u||null,this.outputCalendar=n||o||null,this.weekSettings=r,this.intl=function(t,e,n){return n||e?(t.includes("-u-")||(t+="-u"),n&&(t+=`-ca-${n}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=s,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===P(t.locale).numberingSystem)),this.fastNumbersCached}listingMode(){return this.isEnglish()&&!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar)?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?tt.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Ht(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return V(this,t,he,(()=>{const n=e?{month:t,day:"numeric"}:{month:t},r=e?"format":"standalone";return this.monthsCache[r][t]||(this.monthsCache[r][t]=function(t){const e=[];for(let n=1;n<=12;n++){const r=lr.utc(2009,n,1);e.push(t(r))}return e}((t=>this.extract(t,n,"month")))),this.monthsCache[r][t]}))}weekdays(t,e=!1){return V(this,t,fe,(()=>{const n=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},r=e?"format":"standalone";return this.weekdaysCache[r][t]||(this.weekdaysCache[r][t]=function(t){const e=[];for(let n=1;n<=7;n++){const r=lr.utc(2016,11,13+n);e.push(t(r))}return e}((t=>this.extract(t,n,"weekday")))),this.weekdaysCache[r][t]}))}meridiems(){return V(this,void 0,(()=>ye),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[lr.utc(2016,11,13,9),lr.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return V(this,t,Se,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[lr.utc(-40,1,1),lr.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,n){const r=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===n));return r?r.value:null}numberFormatter(t={}){return new B(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Q(t,this.intl,e)}relFormatter(t={}){return new K(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const n=JSON.stringify([t,e]);let r=j[n];return r||(r=new Intl.ListFormat(t,e),j[n]=r),r}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||P(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:_t()?function(t){let e=Y.get(t);if(!e){const n=new Intl.Locale(t);e="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,"minimalDays"in e||(e={...X,...e}),Y.set(t,e)}return e}(this.locale):X}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let et=null;class nt extends Z{static get utcInstance(){return null===et&&(et=new nt(0)),et}static instance(t){return 0===t?nt.utcInstance:new nt(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new nt(ne(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${ie(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${ie(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return ie(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class rt extends Z{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function st(t,e){if(Wt(t)||null===t)return e;if(t instanceof Z)return t;if("string"==typeof t){const n=t.toLowerCase();return"default"===n?e:"local"===n||"system"===n?L.instance:"utc"===n||"gmt"===n?nt.utcInstance:nt.parseSpecifier(n)||q.create(t)}return Lt(t)?nt.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new rt(t)}const it={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},ut={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},ot=it.hanidec.replace(/[\[|\]]/g,"").split(""),at=new Map;function ct({numberingSystem:t},e=""){const n=t||"latn";let r=at.get(n);void 0===r&&(r=new Map,at.set(n,r));let s=r.get(e);return void 0===s&&(s=new RegExp(`${it[n]}${e}`),r.set(e,s)),s}let ht,lt=()=>Date.now(),dt="system",mt=null,ft=null,yt=null,gt=60,wt=null;class pt{static get now(){return lt}static set now(t){lt=t}static set defaultZone(t){dt=t}static get defaultZone(){return st(dt,L.instance)}static get defaultLocale(){return mt}static set defaultLocale(t){mt=t}static get defaultNumberingSystem(){return ft}static set defaultNumberingSystem(t){ft=t}static get defaultOutputCalendar(){return yt}static set defaultOutputCalendar(t){yt=t}static get defaultWeekSettings(){return wt}static set defaultWeekSettings(t){wt=Ht(t)}static get twoDigitCutoffYear(){return gt}static set twoDigitCutoffYear(t){gt=t%100}static get throwOnInvalid(){return ht}static set throwOnInvalid(t){ht=t}static resetCaches(){tt.resetCache(),q.resetCache(),lr.resetCache(),at.clear()}}class St{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Mt=[0,31,59,90,120,151,181,212,243,273,304,334],kt=[0,31,60,91,121,152,182,213,244,274,305,335];function Tt(t,e){return new St("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function Nt(t,e,n){const r=new Date(Date.UTC(t,e-1,n));t<100&&t>=0&&r.setUTCFullYear(r.getUTCFullYear()-1900);const s=r.getUTCDay();return 0===s?7:s}function bt(t,e,n){return n+(Yt(t)?kt:Mt)[e-1]}function Et(t,e){const n=Yt(t)?kt:Mt,r=n.findIndex((t=>t<e));return{month:r+1,day:e-n[r]}}function vt(t,e){return(t-e+7)%7+1}function Dt(t,e=4,n=1){const{year:r,month:s,day:i}=t,u=bt(r,s,i),o=vt(Nt(r,s,i),n);let a,c=Math.floor((u-o+14-e)/7);return c<1?(a=r-1,c=Xt(a,e,n)):c>Xt(r,e,n)?(a=r+1,c=1):a=r,{weekYear:a,weekNumber:c,weekday:o,...ue(t)}}function Ot(t,e=4,n=1){const{weekYear:r,weekNumber:s,weekday:i}=t,u=vt(Nt(r,1,e),n),o=Vt(r);let a,c=7*s+i-u-7+e;c<1?(a=r-1,c+=Vt(a)):c>o?(a=r+1,c-=Vt(r)):a=r;const{month:h,day:l}=Et(a,c);return{year:a,month:h,day:l,...ue(t)}}function $t(t){const{year:e,month:n,day:r}=t;return{year:e,ordinal:bt(e,n,r),...ue(t)}}function It(t){const{year:e,ordinal:n}=t,{month:r,day:s}=Et(e,n);return{year:e,month:r,day:s,...ue(t)}}function xt(t,e){if(!Wt(t.localWeekday)||!Wt(t.localWeekNumber)||!Wt(t.localWeekYear)){if(!Wt(t.weekday)||!Wt(t.weekNumber)||!Wt(t.weekYear))throw new s("Cannot mix locale-based week fields with ISO-based week fields");return Wt(t.localWeekday)||(t.weekday=t.localWeekday),Wt(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Wt(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function Ft(t){const e=At(t.year),n=zt(t.month,1,12),r=zt(t.day,1,Bt(t.year,t.month));return e?n?!r&&Tt("day",t.day):Tt("month",t.month):Tt("year",t.year)}function Zt(t){const{hour:e,minute:n,second:r,millisecond:s}=t,i=zt(e,0,23)||24===e&&0===n&&0===r&&0===s,u=zt(n,0,59),o=zt(r,0,59),a=zt(s,0,999);return i?u?o?!a&&Tt("millisecond",s):Tt("second",r):Tt("minute",n):Tt("hour",e)}function Wt(t){return void 0===t}function Lt(t){return"number"==typeof t}function At(t){return"number"==typeof t&&t%1==0}function Ct(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function _t(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function qt(t,e,n){if(0!==t.length)return t.reduce(((t,r)=>{const s=[e(r),r];return t&&n(t[0],s[0])===t[0]?t:s}),null)[1]}function jt(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Ht(t){if(null==t)return null;if("object"!=typeof t)throw new u("Week settings must be an object");if(!zt(t.firstDay,1,7)||!zt(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!zt(t,1,7))))throw new u("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function zt(t,e,n){return At(t)&&t>=e&&t<=n}function Rt(t,e=2){let n;return n=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),n}function Jt(t){return Wt(t)||null===t||""===t?void 0:parseInt(t,10)}function Ut(t){return Wt(t)||null===t||""===t?void 0:parseFloat(t)}function Gt(t){if(!Wt(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Pt(t,e,n=!1){const r=10**e;return(n?Math.trunc:Math.round)(t*r)/r}function Yt(t){return t%4==0&&(t%100!=0||t%400==0)}function Vt(t){return Yt(t)?366:365}function Bt(t,e){const n=(r=e-1)-12*Math.floor(r/12)+1;var r;return 2===n?Yt(t+(e-n)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function Qt(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Kt(t,e,n){return-vt(Nt(t,1,e),n)+e-1}function Xt(t,e=4,n=1){const r=Kt(t,e,n),s=Kt(t+1,e,n);return(Vt(t)-r+s)/7}function te(t){return t>99?t:t>pt.twoDigitCutoffYear?1900+t:2e3+t}function ee(t,e,n,r=null){const s=new Date(t),i={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(i.timeZone=r);const u={timeZoneName:e,...i},o=new Intl.DateTimeFormat(n,u).formatToParts(s).find((t=>"timezonename"===t.type.toLowerCase()));return o?o.value:null}function ne(t,e){let n=parseInt(t,10);Number.isNaN(n)&&(n=0);const r=parseInt(e,10)||0;return 60*n+(n<0||Object.is(n,-0)?-r:r)}function re(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new u(`Invalid unit value ${t}`);return e}function se(t,e){const n={};for(const r in t)if(jt(t,r)){const s=t[r];if(null==s)continue;n[e(r)]=re(s)}return n}function ie(t,e){const n=Math.trunc(Math.abs(t/60)),r=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${Rt(n,2)}:${Rt(r,2)}`;case"narrow":return`${s}${n}${r>0?`:${r}`:""}`;case"techie":return`${s}${Rt(n,2)}${Rt(r,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function ue(t){return function(t){return["hour","minute","second","millisecond"].reduce(((e,n)=>(e[n]=t[n],e)),{})}(t)}const oe=["January","February","March","April","May","June","July","August","September","October","November","December"],ae=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],ce=["J","F","M","A","M","J","J","A","S","O","N","D"];function he(t){switch(t){case"narrow":return[...ce];case"short":return[...ae];case"long":return[...oe];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const le=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],de=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],me=["M","T","W","T","F","S","S"];function fe(t){switch(t){case"narrow":return[...me];case"short":return[...de];case"long":return[...le];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const ye=["AM","PM"],ge=["Before Christ","Anno Domini"],we=["BC","AD"],pe=["B","A"];function Se(t){switch(t){case"narrow":return[...pe];case"short":return[...we];case"long":return[...ge];default:return null}}function Me(t,e){let n="";for(const r of t)n+=r.literal?r.val:e(r.val);return n}const ke={D:l,DD:d,DDD:f,DDDD:y,t:g,tt:w,ttt:p,tttt:S,T:M,TT:k,TTT:T,TTTT:N,f:b,ff:v,fff:$,ffff:x,F:E,FF:D,FFF:I,FFFF:F};class Te{static create(t,e={}){return new Te(t,e)}static parseFormat(t){let e=null,n="",r=!1;const s=[];for(let i=0;i<t.length;i++){const u=t.charAt(i);"'"===u?(n.length>0&&s.push({literal:r||/^\s+$/.test(n),val:n}),e=null,n="",r=!r):r||u===e?n+=u:(n.length>0&&s.push({literal:/^\s+$/.test(n),val:n}),n=u,e=u)}return n.length>0&&s.push({literal:r||/^\s+$/.test(n),val:n}),s}static macroTokenToFormatOpts(t){return ke[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Rt(t,e);const n={...this.opts};return e>0&&(n.padTo=e),this.loc.numberFormatter(n).format(t)}formatDateTimeFromString(t,e){const n="en"===this.loc.listingMode(),r=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,s=(e,n)=>this.loc.extract(t,e,n),i=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",u=(e,r)=>n?function(t,e){return he(e)[t.month-1]}(t,e):s(r?{month:e}:{month:e,day:"numeric"},"month"),o=(e,r)=>n?function(t,e){return fe(e)[t.weekday-1]}(t,e):s(r?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),a=e=>{const n=Te.macroTokenToFormatOpts(e);return n?this.formatWithSystemDefault(t,n):e},c=e=>n?function(t,e){return Se(e)[t.year<0?0:1]}(t,e):s({era:e},"era");return Me(Te.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return i({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return i({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return i({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return n?function(t){return ye[t.hour<12?0:1]}(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod");case"d":return r?s({day:"numeric"},"day"):this.num(t.day);case"dd":return r?s({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return o("short",!0);case"cccc":return o("long",!0);case"ccccc":return o("narrow",!0);case"EEE":return o("short",!1);case"EEEE":return o("long",!1);case"EEEEE":return o("narrow",!1);case"L":return r?s({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return r?s({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return u("short",!0);case"LLLL":return u("long",!0);case"LLLLL":return u("narrow",!0);case"M":return r?s({month:"numeric"},"month"):this.num(t.month);case"MM":return r?s({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return u("short",!1);case"MMMM":return u("long",!1);case"MMMMM":return u("narrow",!1);case"y":return r?s({year:"numeric"},"year"):this.num(t.year);case"yy":return r?s({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return r?s({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return r?s({year:"numeric"},"year"):this.num(t.year,6);case"G":return c("short");case"GG":return c("long");case"GGGGG":return c("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return a(e)}}))}formatDurationFromString(t,e){const n=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},r=Te.parseFormat(e),s=r.reduce(((t,{literal:e,val:n})=>e?t:t.concat(n)),[]);return Me(r,(t=>e=>{const r=n(e);return r?this.num(t.get(r),e.length):e})(t.shiftTo(...s.map(n).filter((t=>t)))))}}const Ne=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function be(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function Ee(...t){return e=>t.reduce((([t,n,r],s)=>{const[i,u,o]=s(e,r);return[{...t,...i},u||n,o]}),[{},null,1]).slice(0,2)}function ve(t,...e){if(null==t)return[null,null];for(const[n,r]of e){const e=n.exec(t);if(e)return r(e)}return[null,null]}function De(...t){return(e,n)=>{const r={};let s;for(s=0;s<t.length;s++)r[t[s]]=Jt(e[n+s]);return[r,null,n+s]}}const Oe=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,$e=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Ie=RegExp(`${$e.source}(?:${Oe.source}?(?:\\[(${Ne.source})\\])?)?`),xe=RegExp(`(?:T${Ie.source})?`),Fe=De("weekYear","weekNumber","weekDay"),Ze=De("year","ordinal"),We=RegExp(`${$e.source} ?(?:${Oe.source}|(${Ne.source}))?`),Le=RegExp(`(?: ${We.source})?`);function Ae(t,e,n){const r=t[e];return Wt(r)?n:Jt(r)}function Ce(t,e){return[{hours:Ae(t,e,0),minutes:Ae(t,e+1,0),seconds:Ae(t,e+2,0),milliseconds:Gt(t[e+3])},null,e+4]}function _e(t,e){const n=!t[e]&&!t[e+1],r=ne(t[e+1],t[e+2]);return[{},n?null:nt.instance(r),e+3]}function qe(t,e){return[{},t[e]?q.create(t[e]):null,e+1]}const je=RegExp(`^T?${$e.source}$`),He=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function ze(t){const[e,n,r,s,i,u,o,a,c]=t,h="-"===e[0],l=a&&"-"===a[0],d=(t,e=!1)=>void 0!==t&&(e||t&&h)?-t:t;return[{years:d(Ut(n)),months:d(Ut(r)),weeks:d(Ut(s)),days:d(Ut(i)),hours:d(Ut(u)),minutes:d(Ut(o)),seconds:d(Ut(a),"-0"===a),milliseconds:d(Gt(c),l)}]}const Re={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Je(t,e,n,r,s,i,u){const o={year:2===e.length?te(Jt(e)):Jt(e),month:ae.indexOf(n)+1,day:Jt(r),hour:Jt(s),minute:Jt(i)};return u&&(o.second=Jt(u)),t&&(o.weekday=t.length>3?le.indexOf(t)+1:de.indexOf(t)+1),o}const Ue=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Ge(t){const[,e,n,r,s,i,u,o,a,c,h,l]=t,d=Je(e,s,r,n,i,u,o);let m;return m=a?Re[a]:c?0:ne(h,l),[d,new nt(m)]}const Pe=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Ye=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Ve=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Be(t){const[,e,n,r,s,i,u,o]=t;return[Je(e,s,r,n,i,u,o),nt.utcInstance]}function Qe(t){const[,e,n,r,s,i,u,o]=t;return[Je(e,o,n,r,s,i,u),nt.utcInstance]}const Ke=be(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,xe),Xe=be(/(\d{4})-?W(\d\d)(?:-?(\d))?/,xe),tn=be(/(\d{4})-?(\d{3})/,xe),en=be(Ie),nn=Ee((function(t,e){return[{year:Ae(t,e),month:Ae(t,e+1,1),day:Ae(t,e+2,1)},null,e+3]}),Ce,_e,qe),rn=Ee(Fe,Ce,_e,qe),sn=Ee(Ze,Ce,_e,qe),un=Ee(Ce,_e,qe),on=Ee(Ce),an=be(/(\d{4})-(\d\d)-(\d\d)/,Le),cn=be(We),hn=Ee(Ce,_e,qe),ln="Invalid Duration",dn={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},mn={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...dn},fn={years:{quarters:4,months:12,weeks:52.1775,days:365.2425,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:30.436875,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...dn},yn=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],gn=yn.slice(0).reverse();function wn(t,e,n=!1){const r={values:n?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new Mn(r)}function pn(t,e){let n=e.milliseconds??0;for(const r of gn.slice(1))e[r]&&(n+=e[r]*t[r].milliseconds);return n}function Sn(t,e){const n=pn(t,e)<0?-1:1;yn.reduceRight(((r,s)=>{if(Wt(e[s]))return r;if(r){const i=t[s][r],u=Math.floor(e[r]*n/i);e[s]+=u*n,e[r]-=u*i*n}return s}),null),yn.reduce(((n,r)=>{if(Wt(e[r]))return n;if(n){const s=e[n]%1;e[n]-=s,e[r]+=s*t[n][r]}return r}),null)}class Mn{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let n=e?fn:mn;t.matrix&&(n=t.matrix),this.values=t.values,this.loc=t.loc||tt.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=n,this.isLuxonDuration=!0}static fromMillis(t,e){return Mn.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new u("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new Mn({values:se(t,Mn.normalizeUnit),loc:tt.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Lt(t))return Mn.fromMillis(t);if(Mn.isDuration(t))return t;if("object"==typeof t)return Mn.fromObject(t);throw new u(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[n]=function(t){return ve(t,[He,ze])}(t);return n?Mn.fromObject(n,e):Mn.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[n]=function(t){return ve(t,[je,on])}(t);return n?Mn.fromObject(n,e):Mn.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new u("need to specify a reason the Duration is invalid");const n=t instanceof St?t:new St(t,e);if(pt.throwOnInvalid)throw new r(n);return new Mn({invalid:n})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new i(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const n={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?Te.create(this.loc,n).formatDurationFromString(this,t):ln}toHuman(t={}){if(!this.isValid)return ln;const e=yn.map((e=>{const n=this.values[e];return Wt(n)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(n)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=Pt(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();return e<0||e>=864e5?null:(t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1},lr.fromMillis(e,{zone:"UTC"}).toISOTime(t))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?pn(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=Mn.fromDurationLike(t),n={};for(const t of yn)(jt(e.values,t)||jt(this.values,t))&&(n[t]=e.get(t)+this.get(t));return wn(this,{values:n},!0)}minus(t){if(!this.isValid)return this;const e=Mn.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const n of Object.keys(this.values))e[n]=re(t(this.values[n],n));return wn(this,{values:e},!0)}get(t){return this[Mn.normalizeUnit(t)]}set(t){return this.isValid?wn(this,{values:{...this.values,...se(t,Mn.normalizeUnit)}}):this}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:n,matrix:r}={}){return wn(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:r,conversionAccuracy:n})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return Sn(this.matrix,t),wn(this,{values:t},!0)}rescale(){return this.isValid?wn(this,{values:function(t){const e={};for(const[n,r]of Object.entries(t))0!==r&&(e[n]=r);return e}(this.normalize().shiftToAll().toObject())},!0):this}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>Mn.normalizeUnit(t)));const e={},n={},r=this.toObject();let s;for(const i of yn)if(t.indexOf(i)>=0){s=i;let t=0;for(const e in n)t+=this.matrix[e][i]*n[e],n[e]=0;Lt(r[i])&&(t+=r[i]);const u=Math.trunc(t);e[i]=u,n[i]=(1e3*t-1e3*u)/1e3}else Lt(r[i])&&(n[i]=r[i]);for(const t in n)0!==n[t]&&(e[s]+=t===s?n[t]:n[t]/this.matrix[s][t]);return Sn(this.matrix,e),wn(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return wn(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const r of yn)if(n=t.values[r],!(void 0===(e=this.values[r])||0===e?void 0===n||0===n:e===n))return!1;var e,n;return!0}}const kn="Invalid Interval";class Tn{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new u("need to specify a reason the Interval is invalid");const r=t instanceof St?t:new St(t,e);if(pt.throwOnInvalid)throw new n(r);return new Tn({invalid:r})}static fromDateTimes(t,e){const n=dr(t),r=dr(e),s=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?Tn.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:Tn.invalid("missing or invalid end"):Tn.invalid("missing or invalid start")}(n,r);return null==s?new Tn({start:n,end:r}):s}static after(t,e){const n=Mn.fromDurationLike(e),r=dr(t);return Tn.fromDateTimes(r,r.plus(n))}static before(t,e){const n=Mn.fromDurationLike(e),r=dr(t);return Tn.fromDateTimes(r.minus(n),r)}static fromISO(t,e){const[n,r]=(t||"").split("/",2);if(n&&r){let t,s,i,u;try{t=lr.fromISO(n,e),s=t.isValid}catch(r){s=!1}try{i=lr.fromISO(r,e),u=i.isValid}catch(r){u=!1}if(s&&u)return Tn.fromDateTimes(t,i);if(s){const n=Mn.fromISO(r,e);if(n.isValid)return Tn.after(t,n)}else if(u){const t=Mn.fromISO(n,e);if(t.isValid)return Tn.before(i,t)}}return Tn.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const n=this.start.startOf(t,e);let r;return r=e?.useLocaleWeeks?this.end.reconfigure({locale:n.locale}):this.end,r=r.startOf(t,e),Math.floor(r.diff(n,t).get(t))+(r.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&this.s<=t&&this.e>t}set({start:t,end:e}={}){return this.isValid?Tn.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(dr).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),n=[];let{s:r}=this,s=0;for(;r<this.e;){const t=e[s]||this.e,i=+t>+this.e?this.e:t;n.push(Tn.fromDateTimes(r,i)),r=i,s+=1}return n}splitBy(t){const e=Mn.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let n,{s:r}=this,s=1;const i=[];for(;r<this.e;){const t=this.start.plus(e.mapUnits((t=>t*s)));n=+t>+this.e?this.e:t,i.push(Tn.fromDateTimes(r,n)),r=n,s+=1}return i}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e==+t.s}abutsEnd(t){return!!this.isValid&&+t.e==+this.s}engulfs(t){return!!this.isValid&&this.s<=t.s&&this.e>=t.e}equals(t){return!(!this.isValid||!t.isValid)&&this.s.equals(t.s)&&this.e.equals(t.e)}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,n=this.e<t.e?this.e:t.e;return e>=n?null:Tn.fromDateTimes(e,n)}union(t){return this.isValid?Tn.fromDateTimes(this.s<t.s?this.s:t.s,this.e>t.e?this.e:t.e):this}static merge(t){const[e,n]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],n)=>e?e.overlaps(n)||e.abutsStart(n)?[t,e.union(n)]:[t.concat([e]),n]:[t,n]),[[],null]);return n&&e.push(n),e}static xor(t){let e=null,n=0;const r=[],s=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),i=Array.prototype.concat(...s).sort(((t,e)=>t.time-e.time));for(const t of i)n+="s"===t.type?1:-1,1===n?e=t.time:(e&&+e!=+t.time&&r.push(Tn.fromDateTimes(e,t.time)),e=null);return Tn.merge(r)}difference(...t){return Tn.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:kn}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=l,e={}){return this.isValid?Te.create(this.s.loc.clone(e),t).formatInterval(this):kn}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:kn}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:kn}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:kn}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:kn}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):Mn.invalid(this.invalidReason)}mapEndpoints(t){return Tn.fromDateTimes(t(this.s),t(this.e))}}class Nn{static hasDST(t=pt.defaultZone){const e=lr.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return q.isValidZone(t)}static normalizeZone(t){return st(t,pt.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||tt.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||tt.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||tt.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:n=null,locObj:r=null,outputCalendar:s="gregory"}={}){return(r||tt.create(e,n,s)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:n=null,locObj:r=null,outputCalendar:s="gregory"}={}){return(r||tt.create(e,n,s)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:n=null,locObj:r=null}={}){return(r||tt.create(e,n,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:n=null,locObj:r=null}={}){return(r||tt.create(e,n,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return tt.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return tt.create(e,null,"gregory").eras(t)}static features(){return{relative:Ct(),localeWeek:_t()}}}function bn(t,e){const n=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),r=n(e)-n(t);return Math.floor(Mn.fromMillis(r).as("days"))}function En(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let n=0;n<t.length;n++){const r=t.charCodeAt(n);if(-1!==t[n].search(it.hanidec))e+=ot.indexOf(t[n]);else for(const t in ut){const[n,s]=ut[t];r>=n&&r<=s&&(e+=r-n)}}return parseInt(e,10)}return e}(t))}}const vn=`[ ${String.fromCharCode(160)}]`,Dn=new RegExp(vn,"g");function On(t){return t.replace(/\./g,"\\.?").replace(Dn,vn)}function $n(t){return t.replace(/\./g,"").replace(Dn," ").toLowerCase()}function In(t,e){return null===t?null:{regex:RegExp(t.map(On).join("|")),deser:([n])=>t.findIndex((t=>$n(n)===$n(t)))+e}}function xn(t,e){return{regex:t,deser:([,t,e])=>ne(t,e),groups:e}}function Fn(t){return{regex:t,deser:([t])=>t}}const Zn={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Wn=null;function Ln(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const n=_n(Te.macroTokenToFormatOpts(t.val),e);return null==n||n.includes(void 0)?t:n}(t,e))))}class An{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Ln(Te.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const n=ct(e),r=ct(e,"{2}"),s=ct(e,"{3}"),i=ct(e,"{4}"),u=ct(e,"{6}"),o=ct(e,"{1,2}"),a=ct(e,"{1,3}"),c=ct(e,"{1,6}"),h=ct(e,"{1,9}"),l=ct(e,"{2,4}"),d=ct(e,"{4,6}"),m=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},f=(f=>{if(t.literal)return m(f);switch(f.val){case"G":return In(e.eras("short"),0);case"GG":return In(e.eras("long"),0);case"y":return En(c);case"yy":case"kk":return En(l,te);case"yyyy":case"kkkk":return En(i);case"yyyyy":return En(d);case"yyyyyy":return En(u);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return En(o);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return En(r);case"MMM":return In(e.months("short",!0),1);case"MMMM":return In(e.months("long",!0),1);case"LLL":return In(e.months("short",!1),1);case"LLLL":return In(e.months("long",!1),1);case"o":case"S":return En(a);case"ooo":case"SSS":return En(s);case"u":return Fn(h);case"uu":return Fn(o);case"uuu":case"E":case"c":return En(n);case"a":return In(e.meridiems(),0);case"EEE":return In(e.weekdays("short",!1),1);case"EEEE":return In(e.weekdays("long",!1),1);case"ccc":return In(e.weekdays("short",!0),1);case"cccc":return In(e.weekdays("long",!0),1);case"Z":case"ZZ":return xn(new RegExp(`([+-]${o.source})(?::(${r.source}))?`),2);case"ZZZ":return xn(new RegExp(`([+-]${o.source})(${r.source})?`),2);case"z":return Fn(/[a-z_+-/]{1,256}?/i);case" ":return Fn(/[^\S\n\r]/);default:return m(f)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return f.token=t,f}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=[`^${(n=this.units).map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"")}$`,n];this.regex=RegExp(t,"i"),this.handlers=e}var n}explainFromTokens(t){if(this.isValid){const[e,n]=function(t,e,n){const r=t.match(e);if(r){const t={};let e=1;for(const s in n)if(jt(n,s)){const i=n[s],u=i.groups?i.groups+1:1;!i.literal&&i.token&&(t[i.token.val[0]]=i.deser(r.slice(e,e+u))),e+=u}return[r,t]}return[r,{}]}(t,this.regex,this.handlers),[r,i,u]=n?function(t){let e,n=null;return Wt(t.z)||(n=q.create(t.z)),Wt(t.Z)||(n||(n=new nt(t.Z)),e=t.Z),Wt(t.q)||(t.M=3*(t.q-1)+1),Wt(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),Wt(t.u)||(t.S=Gt(t.u)),[Object.keys(t).reduce(((e,n)=>{const r=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(n);return r&&(e[r]=t[n]),e}),{}),n,e]}(n):[null,null,void 0];if(jt(n,"a")&&jt(n,"H"))throw new s("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:n,result:r,zone:i,specificOffset:u}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Cn(t,e,n){return new An(t,n).explainFromTokens(e)}function _n(t,e){if(!t)return null;const n=Te.create(e,t).dtFormatter((Wn||(Wn=lr.fromMillis(1555555555555)),Wn)),r=n.formatToParts(),s=n.resolvedOptions();return r.map((e=>function(t,e,n){const{type:r,value:s}=t;if("literal"===r){const t=/^\s+$/.test(s);return{literal:!t,val:t?" ":s}}let i=r;"hour"===r&&(i=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":n.hour12?"hour12":"hour24");let u=Zn[i];if("object"==typeof u&&(u=u[e[r]]),u)return{literal:!1,val:u}}(e,t,s)))}const qn="Invalid DateTime",jn=864e13;function Hn(t){return new St("unsupported zone",`the zone "${t.name}" is not supported`)}function zn(t){return null===t.weekData&&(t.weekData=Dt(t.c)),t.weekData}function Rn(t){return null===t.localWeekData&&(t.localWeekData=Dt(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Jn(t,e){const n={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new lr({...n,...e,old:n})}function Un(t,e,n){let r=t-60*e*1e3;const s=n.offset(r);if(e===s)return[r,e];r-=60*(s-e)*1e3;const i=n.offset(r);return s===i?[r,s]:[t-60*Math.min(s,i)*1e3,Math.max(s,i)]}function Gn(t,e){const n=new Date(t+=60*e*1e3);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function Pn(t,e,n){return Un(Qt(t),e,n)}function Yn(t,e){const n=t.o,r=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),i={...t.c,year:r,month:s,day:Math.min(t.c.day,Bt(r,s))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},u=Mn.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),o=Qt(i);let[a,c]=Un(o,n,t.zone);return 0!==u&&(a+=u,c=t.zone.offset(a)),{ts:a,o:c}}function Vn(t,e,n,r,s,i){const{setZone:u,zone:o}=n;if(t&&0!==Object.keys(t).length||e){const r=e||o,s=lr.fromObject(t,{...n,zone:r,specificOffset:i});return u?s:s.setZone(o)}return lr.invalid(new St("unparsable",`the input "${s}" can't be parsed as ${r}`))}function Bn(t,e,n=!0){return t.isValid?Te.create(tt.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Qn(t,e){const n=t.c.year>9999||t.c.year<0;let r="";return n&&t.c.year>=0&&(r+="+"),r+=Rt(t.c.year,n?6:4),e?(r+="-",r+=Rt(t.c.month),r+="-",r+=Rt(t.c.day)):(r+=Rt(t.c.month),r+=Rt(t.c.day)),r}function Kn(t,e,n,r,s,i){let u=Rt(t.c.hour);return e?(u+=":",u+=Rt(t.c.minute),0===t.c.millisecond&&0===t.c.second&&n||(u+=":")):u+=Rt(t.c.minute),0===t.c.millisecond&&0===t.c.second&&n||(u+=Rt(t.c.second),0===t.c.millisecond&&r||(u+=".",u+=Rt(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!i?u+="Z":t.o<0?(u+="-",u+=Rt(Math.trunc(-t.o/60)),u+=":",u+=Rt(Math.trunc(-t.o%60))):(u+="+",u+=Rt(Math.trunc(t.o/60)),u+=":",u+=Rt(Math.trunc(t.o%60)))),i&&(u+="["+t.zone.ianaName+"]"),u}const Xn={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},tr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},er={ordinal:1,hour:0,minute:0,second:0,millisecond:0},nr=["year","month","day","hour","minute","second","millisecond"],rr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],sr=["year","ordinal","hour","minute","second","millisecond"];function ir(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new i(t);return e}(t)}}function ur(t,e){const n=st(e.zone,pt.defaultZone);if(!n.isValid)return lr.invalid(Hn(n));const r=tt.fromObject(e);let s,i;if(Wt(t.year))s=pt.now();else{for(const e of nr)Wt(t[e])&&(t[e]=Xn[e]);const e=Ft(t)||Zt(t);if(e)return lr.invalid(e);const r=function(t){if(void 0===cr&&(cr=pt.now()),"iana"!==t.type)return t.offset(cr);const e=t.name;let n=hr.get(e);return void 0===n&&(n=t.offset(cr),hr.set(e,n)),n}(n);[s,i]=Pn(t,r,n)}return new lr({ts:s,zone:n,loc:r,o:i})}function or(t,e,n){const r=!!Wt(n.round)||n.round,s=(t,s)=>(t=Pt(t,r||n.calendary?0:2,!0),e.loc.clone(n).relFormatter(n).format(t,s)),i=r=>n.calendary?e.hasSame(t,r)?0:e.startOf(r).diff(t.startOf(r),r).get(r):e.diff(t,r).get(r);if(n.unit)return s(i(n.unit),n.unit);for(const t of n.units){const e=i(t);if(Math.abs(e)>=1)return s(e,t)}return s(t>e?-0:0,n.units[n.units.length-1])}function ar(t){let e,n={};return t.length>0&&"object"==typeof t[t.length-1]?(n=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[n,e]}let cr;const hr=new Map;class lr{constructor(t){const e=t.zone||pt.defaultZone;let n=t.invalid||(Number.isNaN(t.ts)?new St("invalid input"):null)||(e.isValid?null:Hn(e));this.ts=Wt(t.ts)?pt.now():t.ts;let r=null,s=null;if(!n)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[r,s]=[t.old.c,t.old.o];else{const i=Lt(t.o)&&!t.old?t.o:e.offset(this.ts);r=Gn(this.ts,i),n=Number.isNaN(r.year)?new St("invalid input"):null,r=n?null:r,s=n?null:i}this._zone=e,this.loc=t.loc||tt.create(),this.invalid=n,this.weekData=null,this.localWeekData=null,this.c=r,this.o=s,this.isLuxonDateTime=!0}static now(){return new lr({})}static local(){const[t,e]=ar(arguments),[n,r,s,i,u,o,a]=e;return ur({year:n,month:r,day:s,hour:i,minute:u,second:o,millisecond:a},t)}static utc(){const[t,e]=ar(arguments),[n,r,s,i,u,o,a]=e;return t.zone=nt.utcInstance,ur({year:n,month:r,day:s,hour:i,minute:u,second:o,millisecond:a},t)}static fromJSDate(t,e={}){const n="[object Date]"===Object.prototype.toString.call(t)?t.valueOf():NaN;if(Number.isNaN(n))return lr.invalid("invalid input");const r=st(e.zone,pt.defaultZone);return r.isValid?new lr({ts:n,zone:r,loc:tt.fromObject(e)}):lr.invalid(Hn(r))}static fromMillis(t,e={}){if(Lt(t))return t<-jn||t>jn?lr.invalid("Timestamp out of range"):new lr({ts:t,zone:st(e.zone,pt.defaultZone),loc:tt.fromObject(e)});throw new u(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Lt(t))return new lr({ts:1e3*t,zone:st(e.zone,pt.defaultZone),loc:tt.fromObject(e)});throw new u("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const n=st(e.zone,pt.defaultZone);if(!n.isValid)return lr.invalid(Hn(n));const r=tt.fromObject(e),i=se(t,ir),{minDaysInFirstWeek:u,startOfWeek:o}=xt(i,r),a=pt.now(),c=Wt(e.specificOffset)?n.offset(a):e.specificOffset,h=!Wt(i.ordinal),l=!Wt(i.year),d=!Wt(i.month)||!Wt(i.day),m=l||d,f=i.weekYear||i.weekNumber;if((m||h)&&f)throw new s("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(d&&h)throw new s("Can't mix ordinal dates with month/day");const y=f||i.weekday&&!m;let g,w,p=Gn(a,c);y?(g=rr,w=tr,p=Dt(p,u,o)):h?(g=sr,w=er,p=$t(p)):(g=nr,w=Xn);let S=!1;for(const t of g)Wt(i[t])?i[t]=S?w[t]:p[t]:S=!0;const M=y?function(t,e=4,n=1){const r=At(t.weekYear),s=zt(t.weekNumber,1,Xt(t.weekYear,e,n)),i=zt(t.weekday,1,7);return r?s?!i&&Tt("weekday",t.weekday):Tt("week",t.weekNumber):Tt("weekYear",t.weekYear)}(i,u,o):h?function(t){const e=At(t.year),n=zt(t.ordinal,1,Vt(t.year));return e?!n&&Tt("ordinal",t.ordinal):Tt("year",t.year)}(i):Ft(i),k=M||Zt(i);if(k)return lr.invalid(k);const T=y?Ot(i,u,o):h?It(i):i,[N,b]=Pn(T,c,n),E=new lr({ts:N,zone:n,o:b,loc:r});return i.weekday&&m&&t.weekday!==E.weekday?lr.invalid("mismatched weekday",`you can't specify both a weekday of ${i.weekday} and a date of ${E.toISO()}`):E.isValid?E:lr.invalid(E.invalid)}static fromISO(t,e={}){const[n,r]=function(t){return ve(t,[Ke,nn],[Xe,rn],[tn,sn],[en,un])}(t);return Vn(n,r,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[n,r]=function(t){return ve(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Ue,Ge])}(t);return Vn(n,r,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[n,r]=function(t){return ve(t,[Pe,Be],[Ye,Be],[Ve,Qe])}(t);return Vn(n,r,e,"HTTP",e)}static fromFormat(t,e,n={}){if(Wt(t)||Wt(e))throw new u("fromFormat requires an input string and a format");const{locale:r=null,numberingSystem:s=null}=n,i=tt.fromOpts({locale:r,numberingSystem:s,defaultToEN:!0}),[o,a,c,h]=function(t,e,n){const{result:r,zone:s,specificOffset:i,invalidReason:u}=Cn(t,e,n);return[r,s,i,u]}(i,t,e);return h?lr.invalid(h):Vn(o,a,n,`format ${e}`,t,c)}static fromString(t,e,n={}){return lr.fromFormat(t,e,n)}static fromSQL(t,e={}){const[n,r]=function(t){return ve(t,[an,nn],[cn,hn])}(t);return Vn(n,r,e,"SQL",t)}static invalid(t,n=null){if(!t)throw new u("need to specify a reason the DateTime is invalid");const r=t instanceof St?t:new St(t,n);if(pt.throwOnInvalid)throw new e(r);return new lr({invalid:r})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const n=_n(t,tt.fromObject(e));return n?n.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Ln(Te.parseFormat(t),tt.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){cr=void 0,hr.clear()}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?zn(this).weekYear:NaN}get weekNumber(){return this.isValid?zn(this).weekNumber:NaN}get weekday(){return this.isValid?zn(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Rn(this).weekday:NaN}get localWeekNumber(){return this.isValid?Rn(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Rn(this).weekYear:NaN}get ordinal(){return this.isValid?$t(this.c).ordinal:NaN}get monthShort(){return this.isValid?Nn.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Nn.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Nn.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Nn.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,n=Qt(this.c),r=this.zone.offset(n-t),s=this.zone.offset(n+t),i=this.zone.offset(n-r*e),u=this.zone.offset(n-s*e);if(i===u)return[this];const o=n-i*e,a=n-u*e,c=Gn(o,i),h=Gn(a,u);return c.hour===h.hour&&c.minute===h.minute&&c.second===h.second&&c.millisecond===h.millisecond?[Jn(this,{ts:o}),Jn(this,{ts:a})]:[this]}get isInLeapYear(){return Yt(this.year)}get daysInMonth(){return Bt(this.year,this.month)}get daysInYear(){return this.isValid?Vt(this.year):NaN}get weeksInWeekYear(){return this.isValid?Xt(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Xt(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:n,calendar:r}=Te.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:n,outputCalendar:r}}toUTC(t=0,e={}){return this.setZone(nt.instance(t),e)}toLocal(){return this.setZone(pt.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:n=!1}={}){if((t=st(t,pt.defaultZone)).equals(this.zone))return this;if(t.isValid){let r=this.ts;if(e||n){const e=t.offset(this.ts),n=this.toObject();[r]=Pn(n,e,t)}return Jn(this,{ts:r,zone:t})}return lr.invalid(Hn(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:n}={}){return Jn(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:n})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=se(t,ir),{minDaysInFirstWeek:n,startOfWeek:r}=xt(e,this.loc),i=!Wt(e.weekYear)||!Wt(e.weekNumber)||!Wt(e.weekday),u=!Wt(e.ordinal),o=!Wt(e.year),a=!Wt(e.month)||!Wt(e.day);if((o||a||u)&&(e.weekYear||e.weekNumber))throw new s("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&u)throw new s("Can't mix ordinal dates with month/day");let c;i?c=Ot({...Dt(this.c,n,r),...e},n,r):Wt(e.ordinal)?(c={...this.toObject(),...e},Wt(e.day)&&(c.day=Math.min(Bt(c.year,c.month),c.day))):c=It({...$t(this.c),...e});const[h,l]=Pn(c,this.o,this.zone);return Jn(this,{ts:h,o:l})}plus(t){return this.isValid?Jn(this,Yn(this,Mn.fromDurationLike(t))):this}minus(t){return this.isValid?Jn(this,Yn(this,Mn.fromDurationLike(t).negate())):this}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const n={},r=Mn.normalizeUnit(t);switch(r){case"years":n.month=1;case"quarters":case"months":n.day=1;case"weeks":case"days":n.hour=0;case"hours":n.minute=0;case"minutes":n.second=0;case"seconds":n.millisecond=0}if("weeks"===r)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(n.weekNumber=this.weekNumber-1),n.weekday=t}else n.weekday=1;if("quarters"===r){const t=Math.ceil(this.month/3);n.month=3*(t-1)+1}return this.set(n)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?Te.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):qn}toLocaleString(t=l,e={}){return this.isValid?Te.create(this.loc.clone(e),t).formatDateTime(this):qn}toLocaleParts(t={}){return this.isValid?Te.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:n=!1,includeOffset:r=!0,extendedZone:s=!1}={}){if(!this.isValid)return null;const i="extended"===t;let u=Qn(this,i);return u+="T",u+=Kn(this,i,e,n,r,s),u}toISODate({format:t="extended"}={}){return this.isValid?Qn(this,"extended"===t):null}toISOWeekDate(){return Bn(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:n=!0,includePrefix:r=!1,extendedZone:s=!1,format:i="extended"}={}){return this.isValid?(r?"T":"")+Kn(this,"extended"===i,e,t,n,s):null}toRFC2822(){return Bn(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Bn(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Qn(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:n=!0}={}){let r="HH:mm:ss.SSS";return(e||t)&&(n&&(r+=" "),e?r+="z":t&&(r+="ZZ")),Bn(this,r,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():qn}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",n={}){if(!this.isValid||!t.isValid)return Mn.invalid("created by diffing an invalid DateTime");const r={locale:this.locale,numberingSystem:this.numberingSystem,...n},s=(o=e,Array.isArray(o)?o:[o]).map(Mn.normalizeUnit),i=t.valueOf()>this.valueOf(),u=function(t,e,n,r){let[s,i,u,o]=function(t,e,n){const r=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const n=bn(t,e);return(n-n%7)/7}],["days",bn]],s={},i=t;let u,o;for(const[a,c]of r)n.indexOf(a)>=0&&(u=a,s[a]=c(t,e),o=i.plus(s),o>e?(s[a]--,(t=i.plus(s))>e&&(o=t,s[a]--,t=i.plus(s))):t=o);return[t,s,o,u]}(t,e,n);const a=e-s,c=n.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===c.length&&(u<e&&(u=s.plus({[o]:1})),u!==s&&(i[o]=(i[o]||0)+a/(u-s)));const h=Mn.fromObject(i,r);return c.length>0?Mn.fromMillis(a,r).shiftTo(...c).plus(h):h}(i?this:t,i?t:this,s,r);var o;return i?u.negate():u}diffNow(t="milliseconds",e={}){return this.diff(lr.now(),t,e)}until(t){return this.isValid?Tn.fromDateTimes(this,t):this}hasSame(t,e,n){if(!this.isValid)return!1;const r=t.valueOf(),s=this.setZone(t.zone,{keepLocalTime:!0});return s.startOf(e,n)<=r&&r<=s.endOf(e,n)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||lr.fromObject({},{zone:this.zone}),n=t.padding?this<e?-t.padding:t.padding:0;let r=["years","months","days","hours","minutes","seconds"],s=t.unit;return Array.isArray(t.unit)&&(r=t.unit,s=void 0),or(e,this.plus(n),{...t,numeric:"always",units:r,unit:s})}toRelativeCalendar(t={}){return this.isValid?or(t.base||lr.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(lr.isDateTime))throw new u("min requires all arguments be DateTimes");return qt(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(lr.isDateTime))throw new u("max requires all arguments be DateTimes");return qt(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,n={}){const{locale:r=null,numberingSystem:s=null}=n;return Cn(tt.fromOpts({locale:r,numberingSystem:s,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,n={}){return lr.fromFormatExplain(t,e,n)}static buildFormatParser(t,e={}){const{locale:n=null,numberingSystem:r=null}=e,s=tt.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0});return new An(s,t)}static fromFormatParser(t,e,n={}){if(Wt(t)||Wt(e))throw new u("fromFormatParser requires an input string and a format parser");const{locale:r=null,numberingSystem:s=null}=n,i=tt.fromOpts({locale:r,numberingSystem:s,defaultToEN:!0});if(!i.equals(e.locale))throw new u(`fromFormatParser called with a locale of ${i}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:h}=e.explainFromTokens(t);return h?lr.invalid(h):Vn(o,a,n,`format ${e.format}`,t,c)}static get DATE_SHORT(){return l}static get DATE_MED(){return d}static get DATE_MED_WITH_WEEKDAY(){return m}static get DATE_FULL(){return f}static get DATE_HUGE(){return y}static get TIME_SIMPLE(){return g}static get TIME_WITH_SECONDS(){return w}static get TIME_WITH_SHORT_OFFSET(){return p}static get TIME_WITH_LONG_OFFSET(){return S}static get TIME_24_SIMPLE(){return M}static get TIME_24_WITH_SECONDS(){return k}static get TIME_24_WITH_SHORT_OFFSET(){return T}static get TIME_24_WITH_LONG_OFFSET(){return N}static get DATETIME_SHORT(){return b}static get DATETIME_SHORT_WITH_SECONDS(){return E}static get DATETIME_MED(){return v}static get DATETIME_MED_WITH_SECONDS(){return D}static get DATETIME_MED_WITH_WEEKDAY(){return O}static get DATETIME_FULL(){return $}static get DATETIME_FULL_WITH_SECONDS(){return I}static get DATETIME_HUGE(){return x}static get DATETIME_HUGE_WITH_SECONDS(){return F}}function dr(t){if(lr.isDateTime(t))return t;if(t&&t.valueOf&&Lt(t.valueOf()))return lr.fromJSDate(t);if(t&&"object"==typeof t)return lr.fromObject(t);throw new u(`Unknown datetime argument: ${t}, of type ${typeof t}`)}export{lr as D}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var t=(t=>(t.Undefined="undefined",t.Null="null",t.String="string",t.Number="number",t.SpecialNumber="number",t.Boolean="boolean",t.BigInt="bigint",t))(t||{}),n=(t=>(t.Array="array",t.Date="date",t.Map="map",t.Object="object",t.RegularExpression="regexp",t.Set="set",t.Channel="channel",t.Symbol="symbol",t))(n||{}),e="type",o="value",l="serialized:";function s(t,n,e){const o="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==o;){const o=Object.getOwnPropertyDescriptor(t,n);if(o&&(!e||o.get))return o;t=Object.getPrototypeOf(t)}}var i,r=(t,n)=>{var e;Object.entries(null!=(e=n.o.t)?e:{}).map((([e,[o]])=>{if(31&o||32&o){const o=t[e],l=s(Object.getPrototypeOf(t),e,!0)||Object.getOwnPropertyDescriptor(t,e);l&&Object.defineProperty(t,e,{get(){return l.get.call(this)},set(t){l.set.call(this,t)},configurable:!0,enumerable:!0}),n.l.has(e)?t[e]=n.l.get(e):void 0!==o&&(t[e]=o)}}))},c=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},u=(t,n)=>{n&&(t.__stencil__getHostRef=()=>n,n.i=t,512&n.o.u&&r(t,n))},f=(t,n)=>n in t,a=(t,n)=>(0,console.error)(t,n),d=new Map,p=new Map,h="s-id",$="sty-id",v="c-id",m="http://www.w3.org/1999/xlink",y=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],b="undefined"!=typeof window?window:{},g={u:0,p:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,n,e,o)=>t.addEventListener(n,e,o),rel:(t,n,e,o)=>t.removeEventListener(n,e,o),ce:(t,n)=>new CustomEvent(t,n)},w=t=>Promise.resolve(t),j=(()=>{try{return!!b.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),S=!!j&&(()=>!!b.document&&Object.getOwnPropertyDescriptor(b.document.adoptedStyleSheets,"length").writable)(),O=!1,k=[],x=[],C=(t,n)=>e=>{t.push(e),O||(O=!0,n&&4&g.u?N(M):g.raf(M))},E=t=>{for(let n=0;n<t.length;n++)try{t[n](performance.now())}catch(t){a(t)}t.length=0},M=()=>{E(k),E(x),(O=k.length>0)&&g.raf(M)},N=t=>w().then(t),I=C(x,!0);function A(){const t=this.attachShadow({mode:"open"});void 0===i&&(i=null),i&&(S?t.adoptedStyleSheets.push(i):t.adoptedStyleSheets=[...t.adoptedStyleSheets,i])}var L=(t,n,e,o)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const l=document.createTextNode("");if(l["s-nr"]=t,!n["s-cr"]||!n["s-cr"].parentNode)return;const s=n["s-cr"].parentNode,i=R(s,"appendChild");if(void 0!==o){l["s-oo"]=o;const t=R(s,"childNodes"),n=[l];t.forEach((t=>{t["s-nr"]&&n.push(t)})),n.sort(((t,n)=>!t["s-oo"]||t["s-oo"]<(n["s-oo"]||0)?-1:!n["s-oo"]||n["s-oo"]<t["s-oo"]?1:0)),n.forEach((t=>i.call(s,t)))}else i.call(s,l);t["s-ol"]=l,t["s-sh"]=n["s-hn"]};function R(t,n){if("__"+n in t){const e=t["__"+n];return"function"!=typeof e?e:e.bind(t)}return"function"!=typeof t[n]?t[n]:t[n].bind(t)}function D(t){var n,e,o;return null!=(o=null==(e=null==(n=t.head)?void 0:n.querySelector('meta[name="csp-nonce"]'))?void 0:e.getAttribute("content"))?o:void 0}var P=new WeakMap,T=(t,n,e)=>{let o=p.get(t);j&&e?(o=o||new CSSStyleSheet,"string"==typeof o?o=n:o.replaceSync(n)):o=n,p.set(t,o)},U=(t,n)=>{var e,o,l;const s=H(n),i=p.get(s);if(!b.document)return s;if(t=11===t.nodeType?t:b.document,i)if("string"==typeof i){let l,r=P.get(t=t.head||t);r||P.set(t,r=new Set);const c=t.querySelector(`[${$}="${s}"]`);if(c)c.textContent=i;else if(!r.has(s)){l=b.document.createElement("style"),l.textContent=i;const c=null!=(e=g.h)?e:D(b.document);if(null!=c&&l.setAttribute("nonce",c),!(1&n.u))if("HEAD"===t.nodeName){const n=t.querySelectorAll("link[rel=preconnect]"),e=n.length>0?n[n.length-1].nextSibling:t.querySelector("style");t.insertBefore(l,(null==e?void 0:e.parentNode)===t?e:null)}else if("host"in t)if(j){const n=new(null!=(o=t.defaultView)?o:t.ownerDocument.defaultView).CSSStyleSheet;n.replaceSync(i),S?t.adoptedStyleSheets.unshift(n):t.adoptedStyleSheets=[n,...t.adoptedStyleSheets]}else{const n=t.querySelector("style");n?n.textContent=i+n.textContent:t.prepend(l)}else t.append(l);1&n.u&&t.insertBefore(l,null),4&n.u&&(l.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),r&&r.add(s)}}else{let n=P.get(t);if(n||P.set(t,n=new Set),!n.has(s)){const e=null!=(l=t.defaultView)?l:t.ownerDocument.defaultView;let o;if(i.constructor===e.CSSStyleSheet)o=i;else{o=new e.CSSStyleSheet;for(let t=0;t<i.cssRules.length;t++)o.insertRule(i.cssRules[t].cssText,t)}if(S?t.adoptedStyleSheets.push(o):t.adoptedStyleSheets=[...t.adoptedStyleSheets,o],n.add(s),"host"in t){const n=t.querySelector(`[${$}="${s}"]`);n&&I((()=>n.remove()))}}}return s},H=t=>"sc-"+t.$,V=t=>t.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),_=t=>"object"==(t=typeof t)||"function"===t,z=(t,n,...e)=>{let o=null,l=null,s=!1,i=!1;const r=[],c=n=>{for(let e=0;e<n.length;e++)o=n[e],Array.isArray(o)?c(o):null!=o&&"boolean"!=typeof o&&((s="function"!=typeof t&&!_(o))&&(o+=""),s&&i?r[r.length-1].v+=o:r.push(s?F(null,o):o),i=s)};if(c(e),n){n.key&&(l=n.key);{const t=n.className||n.class;t&&(n.class="object"!=typeof t?t:Object.keys(t).filter((n=>t[n])).join(" "))}}if("function"==typeof t)return t(null===n?{}:n,r,B);const u=F(t,null);return u.m=n,r.length>0&&(u.j=r),u.S=l,u},F=(t,n)=>({u:0,O:t,v:null!=n?n:null,k:null,j:null,m:null,S:null}),W={},B={forEach:(t,n)=>t.map(q).forEach(n),map:(t,n)=>t.map(q).map(n).map(Y)},q=t=>({vattrs:t.m,vchildren:t.j,vkey:t.S,vname:t.C,vtag:t.O,vtext:t.v}),Y=t=>{if("function"==typeof t.vtag){const n={...t.vattrs};return t.vkey&&(n.key=t.vkey),t.vname&&(n.name=t.vname),z(t.vtag,n,...t.vchildren||[])}const n=F(t.vtag,t.vtext);return n.m=t.vattrs,n.j=t.vchildren,n.S=t.vkey,n.C=t.vname,n},G=(t,n,e,o,l,s,i,r=[])=>{let c,u,f,a;if(1===s.nodeType){if(c=s.getAttribute(v),c&&(u=c.split("."),u[0]===i||"0"===u[0])){f=Z({u:0,M:u[0],N:u[1],I:u[2],A:u[3],O:s.tagName.toLowerCase(),k:s,m:{class:s.className||""}}),n.push(f),s.removeAttribute(v),t.j||(t.j=[]);const l=f.k.getAttribute("s-sn");"string"==typeof l&&("slot-fb"===f.O&&K(l,u[2],f,s,t,n,e,o,r),f.k["s-sn"]=l,f.k.removeAttribute("s-sn")),void 0!==f.A&&(t.j[f.A]=f),t=f,o&&"0"===f.I&&(o[f.A]=f.k)}if(s.shadowRoot)for(a=s.shadowRoot.childNodes.length-1;a>=0;a--)G(t,n,e,o,l,s.shadowRoot.childNodes[a],i,r);const d=s.__childNodes||s.childNodes;for(a=d.length-1;a>=0;a--)G(t,n,e,o,l,d[a],i,r)}else if(8===s.nodeType)u=s.nodeValue.split("."),(u[1]===i||"0"===u[1])&&(c=u[0],f=Z({M:u[1],N:u[2],I:u[3],A:u[4]||"0",k:s,m:null,j:null,S:null,C:null,O:null,v:null}),"t"===c?(f.k=X(s,3),f.k&&3===f.k.nodeType&&(f.v=f.k.textContent,n.push(f),s.remove(),i===f.M&&(t.j||(t.j=[]),t.j[f.A]=f),o&&"0"===f.I&&(o[f.A]=f.k))):"c"===c?(f.k=X(s,8),f.k&&8===f.k.nodeType&&(n.push(f),s.remove())):f.M===i&&("s"===c?K(s["s-sn"]=u[5]||"",u[2],f,s,t,n,e,o,r):"r"===c&&o&&s.remove()));else if(t&&"style"===t.O){const n=F(null,s.textContent);n.k=s,n.A="0",t.j=[n]}return t},J=(t,n)=>{if(1===t.nodeType){const e=t[h]||t.getAttribute(h);e&&n.set(e,t);let o=0;if(t.shadowRoot)for(;o<t.shadowRoot.childNodes.length;o++)J(t.shadowRoot.childNodes[o],n);const l=t.__childNodes||t.childNodes;for(o=0;o<l.length;o++)J(l[o],n)}else if(8===t.nodeType){const e=t.nodeValue.split(".");"o"===e[0]&&(n.set(e[1]+"."+e[2],t),t.nodeValue="",t["s-en"]=e[3])}},Z=t=>({u:0,M:null,N:null,I:null,A:"0",k:null,m:null,j:null,S:null,C:null,O:null,v:null,...t});function K(t,n,e,o,l,s,i,r,c){o["s-sr"]=!0,e.C=t||null,e.O="slot";const u=(null==l?void 0:l.k)?l.k["s-id"]||l.k.getAttribute("s-id"):"";if(r&&b.document){const s=e.k=b.document.createElement(e.O);e.C&&e.k.setAttribute("name",t),l.k.shadowRoot&&u&&u!==e.M?R(l.k,"insertBefore")(s,R(l.k,"children")[0]):R(R(o,"parentNode"),"insertBefore")(s,o),Q(c,n,t,o,e.M),o.remove(),"0"===e.I&&(r[e.A]=e.k)}else{const s=e.k,i=u&&u!==e.M&&l.k.shadowRoot;Q(c,n,t,o,i?u:e.M),function(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const n=n=>function(t){const e=[],o=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const l=this["s-cr"].parentElement;return(l.__childNodes?l.childNodes:(t=>{const n=[];for(let e=0;e<t.length;e++){const o=t[e]["s-nr"]||void 0;o&&o.isConnected&&n.push(o)}return n})(l.childNodes)).forEach((t=>{o===(t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0)(t)&&e.push(t)})),n?e.filter((t=>1===t.nodeType)):e}.bind(t);t.assignedElements=n(!0),t.assignedNodes=n(!1)}(o),i&&l.k.insertBefore(s,l.k.children[0])}s.push(e),i.push(e),l.j||(l.j=[]),l.j[e.A]=e}var Q=(t,n,e,o,l)=>{var s,i;let r=o.nextSibling;if(t[n]=t[n]||[],r&&!(null==(s=r.nodeValue)?void 0:s.startsWith("s.")))do{!r||(r.getAttribute&&r.getAttribute("slot")||r["s-sn"])!==e&&(""!==e||r["s-sn"]||r.getAttribute&&r.getAttribute("slot")||8!==r.nodeType&&3!==r.nodeType)||(r["s-sn"]=e,t[n].push({slot:o,node:r,hostId:l})),r=null==r?void 0:r.nextSibling}while(r&&!(null==(i=r.nodeValue)?void 0:i.startsWith("s.")))},X=(t,n)=>{let e=t;do{e=e.nextSibling}while(e&&(e.nodeType!==n||!e.nodeValue));return e},tt=t=>{if(!t)return;const n=Object.keys(t);if(0===n.length)return;let e=!1;for(const o of n){if(e)break;for(const n of t[o])if("string"==typeof n){e=!0;break}}if(!e)return t;const o={};for(const e of n)o[e]=t[e].map((t=>"string"==typeof t?{[t]:0}:t));return o},nt=class l{static fromLocalValue(t){const n=t[e],s=o in t?t[o]:void 0;switch(n){case"string":case"boolean":return s;case"bigint":return BigInt(s);case"undefined":return;case"null":return null;case"number":return"NaN"===s?NaN:"-0"===s?-0:"Infinity"===s?1/0:"-Infinity"===s?-1/0:s;case"array":return s.map((t=>l.fromLocalValue(t)));case"date":return new Date(s);case"map":const t=new Map;for(const[n,e]of s){const o="object"==typeof n&&null!==n?l.fromLocalValue(n):n,s=l.fromLocalValue(e);t.set(o,s)}return t;case"object":const e={};for(const[t,n]of s)e[t]=l.fromLocalValue(n);return e;case"regexp":const{pattern:o,flags:i}=s;return RegExp(o,i);case"set":const r=new Set;for(const t of s)r.add(l.fromLocalValue(t));return r;case"symbol":return Symbol(s);default:throw Error("Unsupported type: "+n)}}static fromLocalValueArray(t){return t.map((t=>l.fromLocalValue(t)))}static isLocalValueObject(l){if("object"!=typeof l||null===l)return!1;if(!l.hasOwnProperty(e))return!1;const s=l[e];return!!Object.values({...t,...n}).includes(s)&&("null"===s||"undefined"===s||l.hasOwnProperty(o))}};var et,ot=(t,n,e)=>"string"==typeof t&&t.startsWith(l)?t=function(t){return"string"==typeof t&&t.startsWith(l)?nt.fromLocalValue(JSON.parse(function(t){const n=atob(t),e=new Uint8Array(n.length);for(let t=0;t<n.length;t++)e[t]=n.charCodeAt(t);return(new TextDecoder).decode(e)}(t.slice(11)))):t}(t):null==t||_(t)?t:4&n?(e&&"string"==typeof t||"false"!==t)&&(""===t||!!t):2&n?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&n?t+"":t,lt=t=>{var n;return null==(n=c(t))?void 0:n.$hostElement$},st=(t,n)=>{const e=lt(t);return{emit:t=>it(e,n,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},it=(t,n,e)=>{const o=g.ce(n,e);return t.dispatchEvent(o),o},rt=(t,n,e,o,l,s,i)=>{if(e===o)return;let r=f(t,n),u=n.toLowerCase();if("class"===n){const n=t.classList,l=ut(e);let s=ut(o);if((t["s-si"]||t["s-sc"])&&i){const e=t["s-sc"]||t["s-si"];s.push(e),l.forEach((t=>{t.startsWith(e)&&s.push(t)})),s=[...new Set(s)].filter((t=>t)),n.add(...s)}else n.remove(...l.filter((t=>t&&!s.includes(t)))),n.add(...s.filter((t=>t&&!l.includes(t))))}else if("style"===n){for(const n in e)o&&null!=o[n]||(n.includes("-")?t.style.removeProperty(n):t.style[n]="");for(const n in o)e&&o[n]===e[n]||(n.includes("-")?t.style.setProperty(n,o[n]):t.style[n]=o[n])}else if("key"===n);else if("ref"===n)o&&Ot(o,t);else if(r||"o"!==n[0]||"n"!==n[1]){if("a"===n[0]&&n.startsWith("attr:")){const e=n.slice(5);let l;{const n=c(t);if(n&&n.o&&n.o.t){const t=n.o.t[e];t&&t[1]&&(l=t[1])}}return l||(l=e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==o||!1===o?!1===o&&""!==t.getAttribute(l)||t.removeAttribute(l):t.setAttribute(l,!0===o?"":o))}if("p"===n[0]&&n.startsWith("prop:")){const e=n.slice(5);try{t[e]=o}catch(t){}return}{const i=_(o);if((r||i&&null!==o)&&!l)try{if(t.tagName.includes("-"))t[n]!==o&&(t[n]=o);else{const l=null==o?"":o;"list"===n?r=!1:null!=e&&t[n]===l||("function"==typeof t.__lookupSetter__(n)?t[n]=l:t.setAttribute(n,l))}}catch(t){}let c=!1;u!==(u=u.replace(/^xlink\:?/,""))&&(n=u,c=!0),null==o||!1===o?!1===o&&""!==t.getAttribute(n)||(c?t.removeAttributeNS(m,n):t.removeAttribute(n)):(!r||4&s||l)&&!i&&1===t.nodeType&&(o=!0===o?"":o,c?t.setAttributeNS(m,n,o):t.setAttribute(n,o))}}else if(n="-"===n[2]?n.slice(3):f(b,u)?u.slice(2):u[2]+n.slice(3),e||o){const l=n.endsWith(ft);n=n.replace(at,""),e&&g.rel(t,n,e,l),o&&g.ael(t,n,o,l)}},ct=/\s/,ut=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(ct):[]),ft="Capture",at=RegExp(ft+"$"),dt=(t,n,e,o)=>{const l=11===n.k.nodeType&&n.k.host?n.k.host:n.k,s=t&&t.m||{},i=n.m||{};for(const t of pt(Object.keys(s)))t in i||rt(l,t,s[t],void 0,e,n.u,o);for(const t of pt(Object.keys(i)))rt(l,t,s[t],i[t],e,n.u,o)};function pt(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var ht=!1,$t=!1,vt=[],mt=[],yt=(t,n,e)=>{const o=n.j[e];let l,s,i=0;if(null!=o.v)l=o.k=b.document.createTextNode(o.v);else{if(!b.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(l=o.k=b.document.createElement(o.O),dt(null,o,$t),o.j){const n="template"===o.O?l.content:l;for(i=0;i<o.j.length;++i)s=yt(t,o,i),s&&n.appendChild(s)}}return l["s-hn"]=et,l},bt=(t,n,e,o,l,s)=>{let i,r=t;for(r.shadowRoot&&r.tagName===et&&(r=r.shadowRoot),"template"===e.O&&(r=r.content);l<=s;++l)o[l]&&(i=yt(null,e,l),i&&(o[l].k=i,kt(r,i,n)))},gt=(t,n,e)=>{for(let o=n;o<=e;++o){const n=t[o];if(n){const t=n.k;St(n),t&&t.remove()}}},wt=(t,n,e=!1)=>t.O===n.O&&(e?(e&&!t.S&&n.S&&(t.S=n.S),!0):t.S===n.S),jt=(t,n,e=!1)=>{const o=n.k=t.k,l=t.j,s=n.j,i=n.v;null==i?("slot"!==n.O||ht||t.C!==n.C&&(n.k["s-sn"]=n.C||"",(t=>{g.u|=1;const n=t.closest(et.toLowerCase());if(null!=n){const e=Array.from(n.__childNodes||n.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of e?o.reverse():o)null!=t["s-sh"]&&(kt(n,t,null!=e?e:null),t["s-sh"]=void 0)}g.u&=-2})(n.k.parentElement)),dt(t,n,$t,e),null!==l&&null!==s?((t,n,e,o,l=!1)=>{let s,i,r=0,c=0,u=0,f=0,a=n.length-1,d=n[0],p=n[a],h=o.length-1,$=o[0],v=o[h];const m="template"===e.O?t.content:t;for(;r<=a&&c<=h;)if(null==d)d=n[++r];else if(null==p)p=n[--a];else if(null==$)$=o[++c];else if(null==v)v=o[--h];else if(wt(d,$,l))jt(d,$,l),d=n[++r],$=o[++c];else if(wt(p,v,l))jt(p,v,l),p=n[--a],v=o[--h];else if(wt(d,v,l))jt(d,v,l),kt(m,d.k,p.k.nextSibling),d=n[++r],v=o[--h];else if(wt(p,$,l))jt(p,$,l),kt(m,p.k,d.k),p=n[--a],$=o[++c];else{for(u=-1,f=r;f<=a;++f)if(n[f]&&null!==n[f].S&&n[f].S===$.S){u=f;break}u>=0?(i=n[u],i.O!==$.O?s=yt(n&&n[c],e,u):(jt(i,$,l),n[u]=void 0,s=i.k),$=o[++c]):(s=yt(n&&n[c],e,c),$=o[++c]),s&&kt(d.k.parentNode,s,d.k)}r>a?bt(t,null==o[h+1]?null:o[h+1].k,e,o,c,h):c>h&>(n,r,a)})(o,l,n,s,e):null!==s?(null!==t.v&&(o.textContent=""),bt(o,null,n,s,0,s.length-1)):e||null===l?e&&null!==l&&null===s&&(n.j=l):gt(l,0,l.length-1)):t.v!==i&&(o.data=i)},St=t=>{t.m&&t.m.ref&&vt.push((()=>t.m.ref(null))),t.j&&t.j.map(St)},Ot=(t,n)=>{mt.push((()=>t(n)))},kt=(t,n,e)=>t.__insertBefore?t.__insertBefore(n,e):null==t?void 0:t.insertBefore(n,e),xt=(t,n)=>{if(n&&!t.L&&n["s-p"]){const e=n["s-p"].push(new Promise((o=>t.L=()=>{n["s-p"].splice(e-1,1),o()})))}},Ct=(t,n)=>{if(t.u|=16,4&t.u)return void(t.u|=512);xt(t,t.R);const e=()=>Et(t,n);if(!n)return I(e);queueMicrotask((()=>{e()}))},Et=(t,n)=>{const e=t.$hostElement$,o=t.i;if(!o)throw Error(`Can't render component <${e.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return n?(t.u|=256,t.D&&(t.D.map((([t,n])=>Dt(o,t,n,e))),t.D=void 0),t.P.length&&t.P.forEach((t=>t(e))),l=Dt(o,"componentWillLoad",void 0,e)):l=Dt(o,"componentWillUpdate",void 0,e),l=Mt(l,(()=>Dt(o,"componentWillRender",void 0,e))),Mt(l,(()=>It(t,o,n)))},Mt=(t,n)=>Nt(t)?t.then(n).catch((t=>{console.error(t),n()})):n(),Nt=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,It=async(t,n,e)=>{var o;const l=t.$hostElement$,s=l["s-rc"];e&&(t=>{const n=t.o,e=t.$hostElement$,o=n.u,l=U(e.shadowRoot?e.shadowRoot:e.getRootNode(),n);10&o&&(e["s-sc"]=l,e.classList.add(l+"-h"))})(t);At(t,n,l,e),s&&(s.map((t=>t())),l["s-rc"]=void 0);{const n=null!=(o=l["s-p"])?o:[],e=()=>Lt(t);0===n.length?e():(Promise.all(n).then(e).catch(e),t.u|=4,n.length=0)}},At=(t,n,e,o)=>{try{n=n.render(),t.u&=-17,t.u|=2,((t,n,e=!1)=>{const o=t.$hostElement$,l=t.o,s=t.T||F(null,null),i=(t=>t&&t.O===W)(n)?n:z(null,null,n);if(et=o.tagName,l.U&&(i.m=i.m||{},l.U.forEach((([t,n])=>{i.m[n]=o[t]}))),e&&i.m)for(const t of Object.keys(i.m))o.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(i.m[t]=o[t]);i.O=null,i.u|=4,t.T=i,i.k=s.k=o.shadowRoot||o,ht=!(!(1&l.u)||128&l.u),jt(s,i,e),vt.forEach((t=>t())),vt.length=0,mt.forEach((t=>t())),mt.length=0})(t,n,o)}catch(n){a(n,t.$hostElement$)}return null},Lt=t=>{const n=t.$hostElement$,e=t.i,o=t.R;Dt(e,"componentDidRender",void 0,n),64&t.u?Dt(e,"componentDidUpdate",void 0,n):(t.u|=64,Pt(n),Dt(e,"componentDidLoad",void 0,n),t.H(n),o||Rt()),t.V(n),t.L&&(t.L(),t.L=void 0),512&t.u&&N((()=>Ct(t,!1))),t.u&=-517},Rt=()=>{var t;N((()=>it(b,"appload",{detail:{namespace:"magma-components"}}))),(null==(t=g._)?void 0:t.size)&&g._.clear()},Dt=(t,n,e,o)=>{if(t&&t[n])try{return t[n](e)}catch(t){a(t,o)}},Pt=t=>t.setAttribute("hydrated",""),Tt=(t,n,e,o)=>{const l=c(t);if(!l)return;if(!l)throw Error(`Couldn't find host element for "${o.$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const s=l.$hostElement$,i=l.l.get(n),r=l.u,u=l.i;if(e=ot(e,o.t[n][0],!!(64&o.u)),!(8&r&&void 0!==i||e===i||Number.isNaN(i)&&Number.isNaN(e))){if(l.l.set(n,e),o.F){const t=o.F[n];t&&t.map((t=>{try{const[[o,s]]=Object.entries(t);(128&r||1&s)&&(u?u[o](e,i,n):l.P.push((()=>{l.i[o](e,i,n)})))}catch(t){a(t,s)}}))}if(2&r){if(u.componentShouldUpdate&&!1===u.componentShouldUpdate(e,i,n)&&!(16&r))return;16&r||Ct(l,!1)}}},Ut=(t,n,e)=>{var o,l;const i=t.prototype;64&n.u&&1&e&&y.forEach((t=>{Object.defineProperty(i,t,{value(...n){var e;const o=c(this),l=null==o?void 0:o.i;if(l){const e=l[t];"function"==typeof e&&e.call(l,...n)}else null==(e=null==o?void 0:o.W)||e.then((e=>{const o=e[t];"function"==typeof o&&o.call(e,...n)}))}})}));{t.watchers&&!n.F&&(n.F=tt(t.watchers)),t.deserializers&&!n.B&&(n.B=t.deserializers),t.serializers&&!n.q&&(n.q=t.serializers);const r=Object.entries(null!=(o=n.t)?o:{});if(r.map((([t,[o]])=>{if(31&o||2&e&&32&o){const{get:l,set:r}=s(i,t)||{};l&&(n.t[t][0]|=2048),r&&(n.t[t][0]|=4096),(1&e||!l)&&Object.defineProperty(i,t,{get(){{if(!(2048&n.t[t][0]))return((t,n)=>c(this).l.get(n))(0,t);const e=c(this),o=e?e.i:i;if(!o)return;return o[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(i,t,{set(l){const s=c(this);if(s){if(r)return void 0===(32&o?this[t]:s.$hostElement$[t])&&s.l.get(t)&&(l=s.l.get(t)),r.call(this,ot(l,o,!!(64&n.u))),void Tt(this,t,l=32&o?this[t]:s.$hostElement$[t],n);{if(!(1&e&&4096&n.t[t][0]))return Tt(this,t,l,n),void(1&e&&!s.i&&s.P.push((()=>{4096&n.t[t][0]&&s.i[t]!==s.l.get(t)&&(s.i[t]=l)})));const i=()=>{const e=s.i[t];!s.l.get(t)&&e&&s.l.set(t,e),s.i[t]=ot(l,o,!!(64&n.u)),Tt(this,t,s.i[t],n)};s.i?i():s.P.push((()=>{i()}))}}}})}else 1&e&&64&o&&Object.defineProperty(i,t,{value(...n){var e;const o=c(this);return null==(e=null==o?void 0:o.Y)?void 0:e.then((()=>{var e;return null==(e=o.i)?void 0:e[t](...n)}))}})})),1&e){const e=new Map;i.attributeChangedCallback=function(t,o,l){g.jmp((()=>{var s;const u=e.get(t),f=c(this);if(this.hasOwnProperty(u)&&(l=this[u],delete this[u]),i.hasOwnProperty(u)&&"number"==typeof this[u]&&this[u]==l)return;if(null==u){const e=null==f?void 0:f.u;if(f&&e&&!(8&e)&&l!==o){const i=f.i,r=null==(s=n.F)?void 0:s[t];null==r||r.forEach((n=>{const[[s,r]]=Object.entries(n);null!=i[s]&&(128&e||1&r)&&i[s].call(i,l,o,t)}))}return}const a=r.find((([t])=>t===u)),d=a&&4&a[1][0],p=d&&null===l&&void 0===this[u];d&&(l=null!==l&&"false"!==l);const h=Object.getOwnPropertyDescriptor(i,u);p||l==this[u]||h.get&&!h.set||(this[u]=l)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(l=n.F)?l:{}),...r.filter((([t,n])=>31&n[0])).map((([t,o])=>{var l;const s=o[1]||t;return e.set(s,t),512&o[0]&&(null==(l=n.U)||l.push([t,s])),s}))]))}}return t},Ht=(t,n)=>{Dt(t,"connectedCallback",void 0,n)},Vt=t=>{if(!(1&g.u)){const n=c(t);if(!n)return;const e=n.o,o=()=>{};if(1&n.u)Ft(t,n,e.G),(null==n?void 0:n.i)?Ht(n.i,t):(null==n?void 0:n.W)&&n.W.then((()=>Ht(n.i,t)));else{let o;if(n.u|=1,o=t.getAttribute(h),o){if(1&e.u){const n=U(t.shadowRoot,e);t.classList.remove(n+"-h",n+"-s")}((t,n,e,o)=>{var l,s,i,r;const u=t.shadowRoot,f=[],a=[],d=u?[]:null,p=F(n,null);p.k=t,!b.document||g._&&g._.size||J(b.document.body,g._=new Map),t[h]=e,t.removeAttribute(h),o.T=G(p,f,[],d,t,t,e,a);let $=0;const v=f.length;let m;for(;$<v;$++){m=f[$];const e=m.M+"."+m.N,o=g._.get(e),s=m.k;if(u){if((null==(l=m.O)?void 0:(""+l).includes("-"))&&"slot-fb"!==m.O&&!m.k.shadowRoot){const t=c(m.k);if(t){const n=H(t.o),e=b.document.querySelector(`style[sty-id="${n}"]`);e&&d.unshift(e.cloneNode(!0))}}}else s["s-hn"]=n.toUpperCase(),"slot"===m.O&&(s["s-cr"]=t["s-cr"]);"slot"===m.O&&(m.C=m.k["s-sn"]||m.k.name||null,m.j?(m.u|=2,m.k.childNodes.length||m.j.forEach((t=>{m.k.appendChild(t.k)}))):m.u|=1),o&&o.isConnected&&(o.parentElement.shadowRoot&&""===o["s-en"]&&o.parentNode.insertBefore(s,o.nextSibling),o.parentNode.removeChild(o),u||(s["s-oo"]=parseInt(m.N))),o&&!o["s-id"]&&g._.delete(e)}const y=[],w=a.length;let j,S,O,k,x=0,C=0;for(;x<w;x++)if(j=a[x],j&&j.length)for(O=j.length,S=0;S<O;S++){if(k=j[S],y[k.hostId]||(y[k.hostId]=g._.get(k.hostId)),!y[k.hostId])continue;const t=y[k.hostId];t.shadowRoot&&k.node.parentElement!==t&&t.insertBefore(k.node,null==(i=null==(s=j[S-1])?void 0:s.node)?void 0:i.nextSibling),t.shadowRoot&&u||(k.slot["s-cr"]||(k.slot["s-cr"]=t["s-cr"],k.slot["s-cr"]=!k.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0]),L(k.node,k.slot,0,k.node["s-oo"]||C),(null==(r=k.node.parentElement)?void 0:r.shadowRoot)&&k.node.getAttribute&&k.node.getAttribute("slot")&&k.node.removeAttribute("slot")),C=(k.node["s-oo"]||C)+1}if(u&&!u.childNodes.length){let n=0;const e=d.length;if(e){for(;n<e;n++){const t=d[n];t&&u.appendChild(t)}Array.from(t.childNodes).forEach((t=>{"string"!=typeof t["s-en"]&&"string"!=typeof t["s-sn"]&&(1===t.nodeType&&t.slot&&t.hidden?t.removeAttribute("hidden"):8!==t.nodeType||t.nodeValue||t.parentNode.removeChild(t))}))}}o.$hostElement$=t})(t,e.$,o,n)}{let e=t;for(;e=e.parentNode||e.host;)if(1===e.nodeType&&e.hasAttribute("s-id")&&e["s-p"]||e["s-p"]){xt(n,n.R=e);break}}e.t&&Object.entries(e.t).map((([n,[e]])=>{if(31&e&&Object.prototype.hasOwnProperty.call(t,n)){const e=t[n];delete t[n],t[n]=e}})),(async(t,n,e)=>{let o;try{if(!(32&n.u)){if(n.u|=32,e.J){const l=((t,n)=>{const e=t.$.replace(/-/g,"_"),o=t.J;if(!o)return;const l=d.get(o);return l?l[e]:import(`./${o}.entry.js`).then((t=>(d.set(o,t),t[e])),(t=>{a(t,n.$hostElement$)}))
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(e,n);if(l&&"then"in l){const t=()=>{};o=await l,t()}else o=l;if(!o)throw Error(`Constructor for "${e.$}#${n.Z}" was not found`);o.isProxied||(e.F=tt(o.watchers),e.q=o.serializers,e.B=o.deserializers,Ut(o,e,2),o.isProxied=!0);const s=()=>{};n.u|=8;try{new o(n)}catch(n){a(n,t)}n.u&=-9,n.u|=128,s(),Ht(n.i,t)}else o=t.constructor,customElements.whenDefined(t.localName).then((()=>n.u|=128));if(o&&o.style){let t;"string"==typeof o.style&&(t=o.style);const n=H(e);if(!p.has(n)){const o=()=>{};T(n,t,!!(1&e.u)),o()}}}const l=n.R,s=()=>Ct(n,!0);l&&l["s-rc"]?l["s-rc"].push(s):s()}catch(e){a(e,t),n.L&&(n.L(),n.L=void 0),n.H&&n.H(t)}})(t,n,e)}o()}},_t=(t,n)=>{Dt(t,"disconnectedCallback",void 0,n||t)},zt=(t,n={})=>{var e;if(!b.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const o=[],l=n.exclude||[],s=b.customElements,i=b.document.head,r=i.querySelector("meta[charset]"),u=b.document.createElement("style"),f=[];let a,d=!0;if(Object.assign(g,n),g.p=new URL(n.resourcesUrl||"./",b.document.baseURI).href,g.u|=2,(()=>{if(!b.document)return;const t=b.document.querySelectorAll(`[${$}]`);let n=0;for(;n<t.length;n++)T(t[n].getAttribute($),V(t[n].innerHTML),!0)})(),t.map((t=>{t[1].map((n=>{var e,i;const r={u:n[0],$:n[1],t:n[2],G:n[3]};r.t=n[2],r.G=n[3],r.U=[],r.F=tt(n[4]),r.q=null!=(e=n[5])?e:{},r.B=null!=(i=n[6])?i:{};const u=r.$,p=class extends HTMLElement{"s-p";"s-rc";hasRegisteredEventListeners=!1;constructor(t){if(super(t),((t,n)=>{const e={u:0,$hostElement$:t,o:n,l:new Map,K:new Map};e.Y=new Promise((t=>e.V=t)),e.W=new Promise((t=>e.H=t)),t["s-p"]=[],t["s-rc"]=[],e.P=[];const o=e;t.__stencil__getHostRef=()=>o})(t=this,r),1&r.u)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${r.$}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else A.call(t,r)}connectedCallback(){const t=c(this);t&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Ft(this,t,r.G)),a&&(clearTimeout(a),a=null),d?f.push(this):g.jmp((()=>Vt(this))))}disconnectedCallback(){g.jmp((()=>(async t=>{if(!(1&g.u)){const n=c(t);(null==n?void 0:n.X)&&(n.X.map((t=>t())),n.X=void 0),(null==n?void 0:n.i)?_t(n.i,t):(null==n?void 0:n.W)&&n.W.then((()=>_t(n.i,t)))}P.has(t)&&P.delete(t),t.shadowRoot&&P.has(t.shadowRoot)&&P.delete(t.shadowRoot)})(this))),g.raf((()=>{var t;const n=c(this);if(!n)return;const e=f.findIndex((t=>t===this));e>-1&&f.splice(e,1),(null==(t=null==n?void 0:n.T)?void 0:t.k)instanceof Node&&!n.T.k.isConnected&&delete n.T.k}))}componentOnReady(){var t;return null==(t=c(this))?void 0:t.W}};64&r.u&&(p.formAssociated=!0),r.J=t[0],l.includes(u)||s.get(u)||(o.push(u),s.define(u,Ut(p,r,1)))}))})),o.length>0&&(u.textContent+=o.sort()+"{visibility:hidden}[hydrated]{visibility:inherit}",u.innerHTML.length)){u.setAttribute("data-styles","");const t=null!=(e=g.h)?e:D(b.document);null!=t&&u.setAttribute("nonce",t),i.insertBefore(u,r?r.nextSibling:i.firstChild)}d=!1,f.length?f.map((t=>t.connectedCallback())):g.jmp((()=>a=setTimeout(Rt,30)))},Ft=(t,n,e)=>{e&&b.document&&e.map((([e,o,l])=>{const s=t,i=Wt(n,l),r=Bt(e);g.ael(s,o,i,r),(n.X=n.X||[]).push((()=>g.rel(s,o,i,r)))}))},Wt=(t,n)=>e=>{var o;try{256&t.u?null==(o=t.i)||o[n](e):(t.D=t.D||[]).push([n,e])}catch(n){a(n,t.$hostElement$)}},Bt=t=>({passive:!!(1&t),capture:!!(2&t)}),qt=t=>g.h=t;export{W as H,zt as b,st as c,lt as g,z as h,w as p,u as r,qt as s}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var __extends=this&&this.__extends||function(){var r=function(n,e){r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var e in n)if(Object.prototype.hasOwnProperty.call(n,e))r[e]=n[e]};return r(n,e)};return function(n,e){if(typeof e!=="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(n,e);function t(){this.constructor=n}n.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(r){for(var n,e=1,t=arguments.length;e<t;e++){n=arguments[e];for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i))r[i]=n[i]}return r};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(r,n,e,t){function i(r){return r instanceof e?r:new e((function(n){n(r)}))}return new(e||(e=Promise))((function(e,a){function f(r){try{o(t.next(r))}catch(r){a(r)}}function u(r){try{o(t["throw"](r))}catch(r){a(r)}}function o(r){r.done?e(r.value):i(r.value).then(f,u)}o((t=t.apply(r,n||[])).next())}))};var __generator=this&&this.__generator||function(r,n){var e={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},t,i,a,f=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return f.next=u(0),f["throw"]=u(1),f["return"]=u(2),typeof Symbol==="function"&&(f[Symbol.iterator]=function(){return this}),f;function u(r){return function(n){return o([r,n])}}function o(u){if(t)throw new TypeError("Generator is already executing.");while(f&&(f=0,u[0]&&(e=0)),e)try{if(t=1,i&&(a=u[0]&2?i["return"]:u[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;if(i=0,a)u=[u[0]&2,a.value];switch(u[0]){case 0:case 1:a=u;break;case 4:e.label++;return{value:u[1],done:false};case 5:e.label++;i=u[1];u=[0];continue;case 7:u=e.ops.pop();e.trys.pop();continue;default:if(!(a=e.trys,a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){e.label=u[1];break}if(u[0]===6&&e.label<a[1]){e.label=a[1];a=u;break}if(a&&e.label<a[2]){e.label=a[2];e.ops.push(u);break}if(a[2])e.ops.pop();e.trys.pop();continue}u=n.call(r,e)}catch(r){u=[6,r];i=0}finally{t=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(r,n,e){if(e||arguments.length===2)for(var t=0,i=n.length,a;t<i;t++){if(a||!(t in n)){if(!a)a=Array.prototype.slice.call(n,0,t);a[t]=n[t]}}return r.concat(a||Array.prototype.slice.call(n))};System.register([],(function(r,n){"use strict";return{execute:function(){var e=this;var t="magma-components";var i={hotModuleReplacement:false,hydratedSelectorName:"hydrated",lazyLoad:true,propChangeCallback:true,state:true,updatable:true};var a=function(r){r["Undefined"]="undefined";r["Null"]="null";r["String"]="string";r["Number"]="number";r["SpecialNumber"]="number";r["Boolean"]="boolean";r["BigInt"]="bigint";return r}(a||{});var f=function(r){r["Array"]="array";r["Date"]="date";r["Map"]="map";r["Object"]="object";r["RegularExpression"]="regexp";r["Set"]="set";r["Channel"]="channel";r["Symbol"]="symbol";return r}(f||{});var u="type";var o="value";var l="serialized:";function v(r,n,e){var t=typeof HTMLElement!=="undefined"?HTMLElement.prototype:null;while(r&&r!==t){var i=Object.getOwnPropertyDescriptor(r,n);if(i&&(!e||i.get))return i;r=Object.getPrototypeOf(r)}return void 0}var c=function(r,n){var e;var t=n.t;var i=Object.entries((e=t.i)!=null?e:{});i.map((function(e){var t=e[0],i=e[1][0];if(i&31||i&32){var a=r[t];var f=v(Object.getPrototypeOf(r),t,true)||Object.getOwnPropertyDescriptor(r,t);if(f){Object.defineProperty(r,t,{get:function(){return f.get.call(this)},set:function(r){f.set.call(this,r)},configurable:true,enumerable:true})}if(n.u.has(t)){r[t]=n.u.get(t)}else if(a!==void 0){r[t]=a}}}))};var s=function(r){if(r.__stencil__getHostRef){return r.__stencil__getHostRef()}return void 0};var d=r("r",(function(r,n){if(!n)return;r.__stencil__getHostRef=function(){return n};n.o=r;if(n.t.l&512&&i.state){c(r,n)}}));var p=function(r,n){var e={l:0,$hostElement$:r,t:n,u:new Map,v:new Map};{e.p=new Promise((function(r){return e.h=r}))}{e.m=new Promise((function(r){return e.$=r}));r["s-p"]=[];r["s-rc"]=[]}{e._=[]}var t=e;r.__stencil__getHostRef=function(){return t};return t};var h=function(r,n){return n in r};var y=function(r,n){return(0,console.error)(r,n)};var m=new Map;var b=function(r,e,t){var i=r.j.replace(/-/g,"_");var a=r.S;if(!a){return void 0}var f=m.get(a);if(f){return f[i]}
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return n.import("./".concat(a,".entry.js").concat("")).then((function(r){{m.set(a,r)}return r[i]}),(function(r){y(r,e.$hostElement$)}))};var $=new Map;var w="r";var g="o";var _="s";var j="t";var S="c";var O="s-id";var k="sty-id";var A="c-id";var x="{visibility:hidden}[hydrated]{visibility:inherit}";var C="slot-fb{display:contents}slot-fb[hidden]{display:none}";var E="http://www.w3.org/1999/xlink";var I=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"];var M=typeof window!=="undefined"?window:{};var N={l:0,O:"",jmp:function(r){return r()},raf:function(r){return requestAnimationFrame(r)},ael:function(r,n,e,t){return r.addEventListener(n,e,t)},rel:function(r,n,e,t){return r.removeEventListener(n,e,t)},ce:function(r,n){return new CustomEvent(r,n)}};var D=function(){var r;var n=false;try{(r=M.document)==null?void 0:r.addEventListener("e",null,Object.defineProperty({},"passive",{get:function(){n=true}}))}catch(r){}return n}();var R=r("p",(function(r){return Promise.resolve(r)}));var T=function(){try{if(!M.document.adoptedStyleSheets){return false}new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(r){}return false}();var U=T?function(){return!!M.document&&Object.getOwnPropertyDescriptor(M.document.adoptedStyleSheets,"length").writable}():false;var P=false;var L=[];var H=[];var z=function(r,n){return function(e){r.push(e);if(!P){P=true;if(n&&N.l&4){B(W)}else{N.raf(W)}}}};var F=function(r){for(var n=0;n<r.length;n++){try{r[n](performance.now())}catch(r){y(r)}}r.length=0};var W=function(){F(L);{F(H);if(P=L.length>0){N.raf(W)}}};var B=function(r){return R().then(r)};var V=z(H,true);function q(r){return void 0}var G;function Y(r){var n;var e={mode:"open"};var t=this.attachShadow(e);if(G===void 0)G=(n=q())!=null?n:null;if(G){if(U){t.adoptedStyleSheets.push(G)}else{t.adoptedStyleSheets=__spreadArray(__spreadArray([],t.adoptedStyleSheets,true),[G],false)}}}var J=function(r){var n=[];for(var e=0;e<r.length;e++){var t=r[e]["s-nr"]||void 0;if(t&&t.isConnected){n.push(t)}}return n};var Z=function(r,n,e,t){if(r["s-ol"]&&r["s-ol"].isConnected){return}var i=document.createTextNode("");i["s-nr"]=r;if(!n["s-cr"]||!n["s-cr"].parentNode)return;var a=n["s-cr"].parentNode;var f=X(a,"appendChild");if(typeof t!=="undefined"){i["s-oo"]=t;var u=X(a,"childNodes");var o=[i];u.forEach((function(r){if(r["s-nr"])o.push(r)}));o.sort((function(r,n){if(!r["s-oo"]||r["s-oo"]<(n["s-oo"]||0))return-1;else if(!n["s-oo"]||n["s-oo"]<r["s-oo"])return 1;return 0}));o.forEach((function(r){return f.call(a,r)}))}else{f.call(a,i)}r["s-ol"]=i;r["s-sh"]=n["s-hn"]};var K=function(r){return typeof r["s-sn"]==="string"?r["s-sn"]:r.nodeType===1&&r.getAttribute("slot")||void 0};function Q(r){if(r.assignedElements||r.assignedNodes||!r["s-sr"])return;var n=function(n){return function(r){var e=[];var t=this["s-sn"];if(r==null?void 0:r.flatten){console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ")}var i=this["s-cr"].parentElement;var a=i.__childNodes?i.childNodes:J(i.childNodes);a.forEach((function(r){if(t===K(r)){e.push(r)}}));if(n){return e.filter((function(r){return r.nodeType===1}))}return e}.bind(r)};r.assignedElements=n(true);r.assignedNodes=n(false)}function X(r,n){if("__"+n in r){var e=r["__"+n];if(typeof e!=="function")return e;return e.bind(r)}else{if(typeof r[n]!=="function")return r[n];return r[n].bind(r)}}var rr=function(r,n){if(n===void 0){n=""}{return function(){return}}};var nr=function(r,n){{return function(){return}}};function er(r){var n,e,t;return(t=(e=(n=r.head)==null?void 0:n.querySelector('meta[name="csp-nonce"]'))==null?void 0:e.getAttribute("content"))!=null?t:void 0}var tr=new WeakMap;var ir=function(r,n,e){var t=$.get(r);if(T&&e){t=t||new CSSStyleSheet;if(typeof t==="string"){t=n}else{t.replaceSync(n)}}else{t=n}$.set(r,t)};var ar=function(r,n,e){var t,i,a;var f=ur(n);var u=$.get(f);if(!M.document){return f}r=r.nodeType===11?r:M.document;if(u){if(typeof u==="string"){r=r.head||r;var o=tr.get(r);var l=void 0;if(!o){tr.set(r,o=new Set)}var v=r.querySelector("[".concat(k,'="').concat(f,'"]'));if(v){v.textContent=u}else if(!o.has(f)){l=M.document.createElement("style");l.textContent=u;var c=(t=N.k)!=null?t:er(M.document);if(c!=null){l.setAttribute("nonce",c)}if(!(n.l&1)){if(r.nodeName==="HEAD"){var s=r.querySelectorAll("link[rel=preconnect]");var d=s.length>0?s[s.length-1].nextSibling:r.querySelector("style");r.insertBefore(l,(d==null?void 0:d.parentNode)===r?d:null)}else if("host"in r){if(T){var p=(i=r.defaultView)!=null?i:r.ownerDocument.defaultView;var h=new p.CSSStyleSheet;h.replaceSync(u);if(U){r.adoptedStyleSheets.unshift(h)}else{r.adoptedStyleSheets=__spreadArray([h],r.adoptedStyleSheets,true)}}else{var y=r.querySelector("style");if(y&&true){y.textContent=u+y.textContent}else{r.prepend(l)}}}else{r.append(l)}}if(n.l&1){r.insertBefore(l,null)}if(n.l&4){l.textContent+=C}if(o){o.add(f)}}}else{var o=tr.get(r);if(!o){tr.set(r,o=new Set)}if(!o.has(f)){var p=(a=r.defaultView)!=null?a:r.ownerDocument.defaultView;var h=void 0;if(u.constructor===p.CSSStyleSheet){h=u}else{h=new p.CSSStyleSheet;for(var m=0;m<u.cssRules.length;m++){h.insertRule(u.cssRules[m].cssText,m)}}if(U){r.adoptedStyleSheets.push(h)}else{r.adoptedStyleSheets=__spreadArray(__spreadArray([],r.adoptedStyleSheets,true),[h],false)}o.add(f);if("host"in r){var b=r.querySelector("[".concat(k,'="').concat(f,'"]'));if(b){V((function(){return b.remove()}))}}}}}return f};var fr=function(r){var n=r.t;var e=r.$hostElement$;var t=n.l;var i=rr("attachStyles",n.j);var a=ar(e.shadowRoot?e.shadowRoot:e.getRootNode(),n);if(t&10){e["s-sc"]=a;e.classList.add(a+"-h")}i()};var ur=function(r,n){return"sc-"+r.j};var or=function(r){return r.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{")};var lr=function(){if(!M.document){return}var r=M.document.querySelectorAll("[".concat(k,"]"));var n=0;for(;n<r.length;n++){ir(r[n].getAttribute(k),or(r[n].innerHTML),true)}};var vr=function(r){r=typeof r;return r==="object"||r==="function"};var cr=r("h",(function(r,n){var e=[];for(var t=2;t<arguments.length;t++){e[t-2]=arguments[t]}if(typeof r==="string"){r=xn(r)}var i=null;var a=null;var f=false;var u=false;var o=[];var l=function(n){for(var e=0;e<n.length;e++){i=n[e];if(Array.isArray(i)){l(i)}else if(i!=null&&typeof i!=="boolean"){if(f=typeof r!=="function"&&!vr(i)){i=String(i)}if(f&&u){o[o.length-1].A+=i}else{o.push(f?sr(null,i):i)}u=f}}};l(e);if(n){if(n.key){a=n.key}{var v=n.className||n.class;if(v){n.class=typeof v!=="object"?v:Object.keys(v).filter((function(r){return v[r]})).join(" ")}}}if(typeof r==="function"){return r(n===null?{}:n,o,hr)}var c=sr(r,null);c.C=n;if(o.length>0){c.I=o}{c.M=a}return c}));var sr=function(r,n){var e={l:0,N:r,A:n!=null?n:null,D:null,I:null};{e.C=null}{e.M=null}return e};var dr=r("H",{});var pr=function(r){return r&&r.N===dr};var hr={forEach:function(r,n){return r.map(yr).forEach(n)},map:function(r,n){return r.map(yr).map(n).map(mr)}};var yr=function(r){return{vattrs:r.C,vchildren:r.I,vkey:r.M,vname:r.R,vtag:r.N,vtext:r.A}};var mr=function(r){if(typeof r.vtag==="function"){var n=__assign({},r.vattrs);if(r.vkey){n.key=r.vkey}if(r.vname){n.name=r.vname}return cr.apply(void 0,__spreadArray([r.vtag,n],r.vchildren||[],false))}var e=sr(r.vtag,r.vtext);e.C=r.vattrs;e.I=r.vchildren;e.M=r.vkey;e.R=r.vname;return e};var br=function(r,n,e,t){var i,a,f,u;var o=rr("hydrateClient",n);var l=r.shadowRoot;var v=[];var c=[];var d=[];var p=l?[]:null;var h=sr(n,null);h.D=r;if(M.document&&(!N.T||!N.T.size)){wr(M.document.body,N.T=new Map)}r[O]=e;r.removeAttribute(O);t.U=$r(h,v,c,p,r,r,e,d);var y=0;var m=v.length;var b;for(y;y<m;y++){b=v[y];var $=b.P+"."+b.L;var w=N.T.get($);var g=b.D;if(!l){g["s-hn"]=xn(n).toUpperCase();if(b.N==="slot"){g["s-cr"]=r["s-cr"]}}else if(((i=b.N)==null?void 0:i.toString().includes("-"))&&b.N!=="slot-fb"&&!b.D.shadowRoot){var _=s(b.D);if(_){var j=ur(_.t);var S=M.document.querySelector('style[sty-id="'.concat(j,'"]'));if(S){p.unshift(S.cloneNode(true))}}}if(b.N==="slot"){b.R=b.D["s-sn"]||b.D["name"]||null;if(b.I){b.l|=2;if(!b.D.childNodes.length){b.I.forEach((function(r){b.D.appendChild(r.D)}))}}else{b.l|=1}}if(w&&w.isConnected){if(w.parentElement.shadowRoot&&w["s-en"]===""){w.parentNode.insertBefore(g,w.nextSibling)}w.parentNode.removeChild(w);if(!l){g["s-oo"]=parseInt(b.L)}}if(w&&!w["s-id"]){N.T.delete($)}}var k=[];var A=d.length;var x=0;var C;var E;var I;var D;var R=0;for(x;x<A;x++){C=d[x];if(!C||!C.length)continue;I=C.length;E=0;for(E;E<I;E++){D=C[E];if(!k[D.hostId]){k[D.hostId]=N.T.get(D.hostId)}if(!k[D.hostId])continue;var T=k[D.hostId];if(T.shadowRoot&&D.node.parentElement!==T){T.insertBefore(D.node,(f=(a=C[E-1])==null?void 0:a.node)==null?void 0:f.nextSibling)}if(!T.shadowRoot||!l){if(!D.slot["s-cr"]){D.slot["s-cr"]=T["s-cr"];if(!D.slot["s-cr"]&&T.shadowRoot){D.slot["s-cr"]=T}else{D.slot["s-cr"]=(T.__childNodes||T.childNodes)[0]}}Z(D.node,D.slot,false,D.node["s-oo"]||R);if(((u=D.node.parentElement)==null?void 0:u.shadowRoot)&&D.node["getAttribute"]&&D.node.getAttribute("slot")){D.node.removeAttribute("slot")}}R=(D.node["s-oo"]||R)+1}}if(l&&!l.childNodes.length){var U=0;var P=p.length;if(P){for(U;U<P;U++){var g=p[U];if(g){l.appendChild(g)}}Array.from(r.childNodes).forEach((function(r){if(typeof r["s-en"]!=="string"&&typeof r["s-sn"]!=="string"){if(r.nodeType===1&&r.slot&&r.hidden){r.removeAttribute("hidden")}else if(r.nodeType===8&&!r.nodeValue){r.parentNode.removeChild(r)}}}))}}t.$hostElement$=r;o()};var $r=function(r,n,e,t,i,a,f,u){if(u===void 0){u=[]}var o;var l;var v;var c;if(a.nodeType===1){o=a.getAttribute(A);if(o){l=o.split(".");if(l[0]===f||l[0]==="0"){v=gr({l:0,P:l[0],L:l[1],H:l[2],F:l[3],N:a.tagName.toLowerCase(),D:a,C:{class:a.className||""}});n.push(v);a.removeAttribute(A);if(!r.I){r.I=[]}var s=v.D.getAttribute("s-sn");if(typeof s==="string"){if(v.N==="slot-fb"){_r(s,l[2],v,a,r,n,e,t,u)}v.D["s-sn"]=s;v.D.removeAttribute("s-sn")}if(v.F!==void 0){r.I[v.F]=v}r=v;if(t&&v.H==="0"){t[v.F]=v.D}}}if(a.shadowRoot){for(c=a.shadowRoot.childNodes.length-1;c>=0;c--){$r(r,n,e,t,i,a.shadowRoot.childNodes[c],f,u)}}var d=a.__childNodes||a.childNodes;for(c=d.length-1;c>=0;c--){$r(r,n,e,t,i,d[c],f,u)}}else if(a.nodeType===8){l=a.nodeValue.split(".");if(l[1]===f||l[1]==="0"){o=l[0];v=gr({P:l[1],L:l[2],H:l[3],F:l[4]||"0",D:a,C:null,I:null,M:null,R:null,N:null,A:null});if(o===j){v.D=Sr(a,3);if(v.D&&v.D.nodeType===3){v.A=v.D.textContent;n.push(v);a.remove();if(f===v.P){if(!r.I){r.I=[]}r.I[v.F]=v}if(t&&v.H==="0"){t[v.F]=v.D}}}else if(o===S){v.D=Sr(a,8);if(v.D&&v.D.nodeType===8){n.push(v);a.remove()}}else if(v.P===f){if(o===_){var s=a["s-sn"]=l[5]||"";_r(s,l[2],v,a,r,n,e,t,u)}else if(o===w){if(t){a.remove()}}}}}else if(r&&r.N==="style"){var p=sr(null,a.textContent);p.D=a;p.F="0";r.I=[p]}return r};var wr=function(r,n){if(r.nodeType===1){var e=r[O]||r.getAttribute(O);if(e){n.set(e,r)}var t=0;if(r.shadowRoot){for(;t<r.shadowRoot.childNodes.length;t++){wr(r.shadowRoot.childNodes[t],n)}}var i=r.__childNodes||r.childNodes;for(t=0;t<i.length;t++){wr(i[t],n)}}else if(r.nodeType===8){var a=r.nodeValue.split(".");if(a[0]===g){n.set(a[1]+"."+a[2],r);r.nodeValue="";r["s-en"]=a[3]}}};var gr=function(r){var n={l:0,P:null,L:null,H:null,F:"0",D:null,C:null,I:null,M:null,R:null,N:null,A:null};return __assign(__assign({},n),r)};function _r(r,n,e,t,i,a,f,u,o){t["s-sr"]=true;e.R=r||null;e.N="slot";var l=(i==null?void 0:i.D)?i.D["s-id"]||i.D.getAttribute("s-id"):"";if(u&&M.document){var v=e.D=M.document.createElement(e.N);if(e.R){e.D.setAttribute("name",r)}if(i.D.shadowRoot&&l&&l!==e.P){X(i.D,"insertBefore")(v,X(i.D,"children")[0])}else{X(X(t,"parentNode"),"insertBefore")(v,t)}jr(o,n,r,t,e.P);t.remove();if(e.H==="0"){u[e.F]=e.D}}else{var v=e.D;var c=l&&l!==e.P&&i.D.shadowRoot;jr(o,n,r,t,c?l:e.P);Q(t);if(c){i.D.insertBefore(v,i.D.children[0])}}a.push(e);f.push(e);if(!i.I){i.I=[]}i.I[e.F]=e}var jr=function(r,n,e,t,i){var a,f;var u=t.nextSibling;r[n]=r[n]||[];if(!u||((a=u.nodeValue)==null?void 0:a.startsWith(_+".")))return;do{if(u&&((u["getAttribute"]&&u.getAttribute("slot")||u["s-sn"])===e||e===""&&!u["s-sn"]&&(!u["getAttribute"]||!u.getAttribute("slot"))&&(u.nodeType===8||u.nodeType===3))){u["s-sn"]=e;r[n].push({slot:t,node:u,hostId:i})}u=u==null?void 0:u.nextSibling}while(u&&!((f=u.nodeValue)==null?void 0:f.startsWith(_+".")))};var Sr=function(r,n){var e=r;do{e=e.nextSibling}while(e&&(e.nodeType!==n||!e.nodeValue));return e};var Or=function(r){if(!r)return void 0;var n=Object.keys(r);if(n.length===0)return void 0;var e=false;for(var t=0,i=n;t<i.length;t++){var a=i[t];if(e)break;for(var f=0,u=r[a];f<u.length;f++){var o=u[f];if(typeof o==="string"){e=true;break}}}if(!e)return r;var l={};for(var v=0,c=n;v<c.length;v++){var a=c[v];l[a]=r[a].map((function(r){var n;return typeof r==="string"?(n={},n[r]=0,n):r}))}return l};var kr=function(){function r(){}r.fromLocalValue=function(n){var e=n[u];var t=o in n?n[o]:void 0;switch(e){case"string":return t;case"boolean":return t;case"bigint":return BigInt(t);case"undefined":return void 0;case"null":return null;case"number":if(t==="NaN")return NaN;if(t==="-0")return-0;if(t==="Infinity")return Infinity;if(t==="-Infinity")return-Infinity;return t;case"array":return t.map((function(n){return r.fromLocalValue(n)}));case"date":return new Date(t);case"map":var i=new Map;for(var a=0,f=t;a<f.length;a++){var l=f[a],v=l[0],c=l[1];var s=typeof v==="object"&&v!==null?r.fromLocalValue(v):v;var d=r.fromLocalValue(c);i.set(s,d)}return i;case"object":var p={};for(var h=0,y=t;h<y.length;h++){var m=y[h],v=m[0],c=m[1];p[v]=r.fromLocalValue(c)}return p;case"regexp":var b=t.pattern,$=t.flags;return new RegExp(b,$);case"set":var w=new Set;for(var g=0,_=t;g<_.length;g++){var j=_[g];w.add(r.fromLocalValue(j))}return w;case"symbol":return Symbol(t);default:throw new Error("Unsupported type: ".concat(e))}};r.fromLocalValueArray=function(n){return n.map((function(n){return r.fromLocalValue(n)}))};r.isLocalValueObject=function(r){if(typeof r!=="object"||r===null){return false}if(!r.hasOwnProperty(u)){return false}var n=r[u];var e=Object.values(__assign(__assign({},a),f)).includes(n);if(!e){return false}if(n!=="null"&&n!=="undefined"){return r.hasOwnProperty(o)}return true};return r}();function Ar(r){var n=atob(r);var e=new Uint8Array(n.length);for(var t=0;t<n.length;t++){e[t]=n.charCodeAt(t)}return(new TextDecoder).decode(e)}function xr(r){if(typeof r!=="string"||!r.startsWith(l)){return r}return kr.fromLocalValue(JSON.parse(Ar(r.slice(l.length))))}var Cr=function(r,n,e){if(typeof r==="string"&&r.startsWith(l)){r=xr(r);return r}if(r!=null&&!vr(r)){if(n&4){if(e&&typeof r==="string"){return r===""||!!r}else{return r==="false"?false:r===""||!!r}}if(n&2){return typeof r==="string"?parseFloat(r):typeof r==="number"?r:NaN}if(n&1){return String(r)}return r}return r};var Er=r("g",(function(r){var n;return(n=s(r))==null?void 0:n.$hostElement$}));var Ir=r("c",(function(r,n,e){var t=Er(r);return{emit:function(r){return Mr(t,n,{bubbles:true,composed:true,cancelable:true,detail:r})}}}));var Mr=function(r,n,e){var t=N.ce(n,e);r.dispatchEvent(t);return t};var Nr=function(r,n,e,t,i,a,f){if(e===t){return}var u=h(r,n);var o=n.toLowerCase();if(n==="class"){var l=r.classList;var v=Rr(e);var c=Rr(t);if((r["s-si"]||r["s-sc"])&&f){var d=r["s-sc"]||r["s-si"];c.push(d);v.forEach((function(r){if(r.startsWith(d))c.push(r)}));c=__spreadArray([],new Set(c),true).filter((function(r){return r}));l.add.apply(l,c)}else{l.remove.apply(l,v.filter((function(r){return r&&!c.includes(r)})));l.add.apply(l,c.filter((function(r){return r&&!v.includes(r)})))}}else if(n==="style"){{for(var p in e){if(!t||t[p]==null){if(p.includes("-")){r.style.removeProperty(p)}else{r.style[p]=""}}}}for(var p in t){if(!e||t[p]!==e[p]){if(p.includes("-")){r.style.setProperty(p,t[p])}else{r.style[p]=t[p]}}}}else if(n==="key");else if(n==="ref"){if(t){Xr(t,r)}}else if(!u&&n[0]==="o"&&n[1]==="n"){if(n[2]==="-"){n=n.slice(3)}else if(h(M,o)){n=o.slice(2)}else{n=o[2]+n.slice(3)}if(e||t){var y=n.endsWith(Tr);n=n.replace(Ur,"");if(e){N.rel(r,n,e,y)}if(t){N.ael(r,n,t,y)}}}else if(n[0]==="a"&&n.startsWith("attr:")){var m=n.slice(5);var b=void 0;{var $=s(r);if($&&$.t&&$.t.i){var w=$.t.i[m];if(w&&w[1]){b=w[1]}}}if(!b){b=m.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}if(t==null||t===false){if(t!==false||r.getAttribute(b)===""){r.removeAttribute(b)}}else{r.setAttribute(b,t===true?"":t)}return}else if(n[0]==="p"&&n.startsWith("prop:")){var m=n.slice(5);try{r[m]=t}catch(r){}return}else{var g=vr(t);if((u||g&&t!==null)&&!i){try{if(!r.tagName.includes("-")){var _=t==null?"":t;if(n==="list"){u=false}else if(e==null||r[n]!==_){if(typeof r.__lookupSetter__(n)==="function"){r[n]=_}else{r.setAttribute(n,_)}}}else if(r[n]!==t){r[n]=t}}catch(r){}}var j=false;{if(o!==(o=o.replace(/^xlink\:?/,""))){n=o;j=true}}if(t==null||t===false){if(t!==false||r.getAttribute(n)===""){if(j){r.removeAttributeNS(E,n)}else{r.removeAttribute(n)}}}else if((!u||a&4||i)&&!g&&r.nodeType===1){t=t===true?"":t;if(j){r.setAttributeNS(E,n,t)}else{r.setAttribute(n,t)}}}};var Dr=/\s/;var Rr=function(r){if(typeof r==="object"&&r&&"baseVal"in r){r=r.baseVal}if(!r||typeof r!=="string"){return[]}return r.split(Dr)};var Tr="Capture";var Ur=new RegExp(Tr+"$");var Pr=function(r,n,e,t){var i=n.D.nodeType===11&&n.D.host?n.D.host:n.D;var a=r&&r.C||{};var f=n.C||{};{for(var u=0,o=Lr(Object.keys(a));u<o.length;u++){var l=o[u];if(!(l in f)){Nr(i,l,a[l],void 0,e,n.l,t)}}}for(var v=0,c=Lr(Object.keys(f));v<c.length;v++){var l=c[v];Nr(i,l,a[l],f[l],e,n.l,t)}};function Lr(r){return r.includes("ref")?__spreadArray(__spreadArray([],r.filter((function(r){return r!=="ref"})),true),["ref"],false):r}var Hr;var zr=false;var Fr=false;var Wr=[];var Br=[];var Vr=function(r,n,e){var t=n.I[e];var i=0;var a;var f;if(t.A!=null){a=t.D=M.document.createTextNode(t.A)}else{if(!M.document){throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.")}a=t.D=M.document.createElement(t.N);{Pr(null,t,Fr)}if(t.I){var u=t.N==="template"?a.content:a;for(i=0;i<t.I.length;++i){f=Vr(r,t,i);if(f){u.appendChild(f)}}}}a["s-hn"]=Hr;return a};var qr=function(r){N.l|=1;var n=r.closest(Hr.toLowerCase());if(n!=null){var e=Array.from(n.__childNodes||n.childNodes).find((function(r){return r["s-cr"]}));var t=Array.from(r.__childNodes||r.childNodes);for(var i=0,a=e?t.reverse():t;i<a.length;i++){var f=a[i];if(f["s-sh"]!=null){nn(n,f,e!=null?e:null);f["s-sh"]=void 0}}}N.l&=-2};var Gr=function(r,n,e,t,i,a){var f=r;var u;if(f.shadowRoot&&f.tagName===Hr){f=f.shadowRoot}if(e.N==="template"){f=f.content}for(;i<=a;++i){if(t[i]){u=Vr(null,e,i);if(u){t[i].D=u;nn(f,u,n)}}}};var Yr=function(r,n,e){for(var t=n;t<=e;++t){var i=r[t];if(i){var a=i.D;Qr(i);if(a){a.remove()}}}};var Jr=function(r,n,e,t,i){if(i===void 0){i=false}var a=0;var f=0;var u=0;var o=0;var l=n.length-1;var v=n[0];var c=n[l];var s=t.length-1;var d=t[0];var p=t[s];var h;var y;var m=e.N==="template"?r.content:r;while(a<=l&&f<=s){if(v==null){v=n[++a]}else if(c==null){c=n[--l]}else if(d==null){d=t[++f]}else if(p==null){p=t[--s]}else if(Zr(v,d,i)){Kr(v,d,i);v=n[++a];d=t[++f]}else if(Zr(c,p,i)){Kr(c,p,i);c=n[--l];p=t[--s]}else if(Zr(v,p,i)){Kr(v,p,i);nn(m,v.D,c.D.nextSibling);v=n[++a];p=t[--s]}else if(Zr(c,d,i)){Kr(c,d,i);nn(m,c.D,v.D);c=n[--l];d=t[++f]}else{u=-1;{for(o=a;o<=l;++o){if(n[o]&&n[o].M!==null&&n[o].M===d.M){u=o;break}}}if(u>=0){y=n[u];if(y.N!==d.N){h=Vr(n&&n[f],e,u)}else{Kr(y,d,i);n[u]=void 0;h=y.D}d=t[++f]}else{h=Vr(n&&n[f],e,f);d=t[++f]}if(h){{nn(v.D.parentNode,h,v.D)}}}}if(a>l){Gr(r,t[s+1]==null?null:t[s+1].D,e,t,f,s)}else if(f>s){Yr(n,a,l)}};var Zr=function(r,n,e){if(e===void 0){e=false}if(r.N===n.N){if(!e){return r.M===n.M}if(e&&!r.M&&n.M){r.M=n.M}return true}return false};var Kr=function(r,n,e){if(e===void 0){e=false}var t=n.D=r.D;var a=r.I;var f=n.I;var u=n.N;var o=n.A;if(o==null){{if(u==="slot"&&!zr){if(r.R!==n.R){n.D["s-sn"]=n.R||"";qr(n.D.parentElement)}}Pr(r,n,Fr,e)}if(a!==null&&f!==null){Jr(t,a,n,f,e)}else if(f!==null){if(r.A!==null){t.textContent=""}Gr(t,null,n,f,0,f.length-1)}else if(!e&&i.updatable&&a!==null){Yr(a,0,a.length-1)}else if(e&&i.updatable&&a!==null&&f===null){n.I=a}}else if(r.A!==o){t.data=o}};var Qr=function(r){{if(r.C&&r.C.ref){Wr.push((function(){return r.C.ref(null)}))}r.I&&r.I.map(Qr)}};var Xr=function(r,n){{Br.push((function(){return r(n)}))}};var rn=function(){{Wr.forEach((function(r){return r()}));Wr.length=0;Br.forEach((function(r){return r()}));Br.length=0}};var nn=function(r,n,e,t){if(r.__insertBefore){return r.__insertBefore(n,e)}else{return r==null?void 0:r.insertBefore(n,e)}};var en=function(r,n,e){if(e===void 0){e=false}var t=r.$hostElement$;var i=r.t;var a=r.U||sr(null,null);var f=pr(n);var u=f?n:cr(null,null,n);Hr=t.tagName;if(i.W){u.C=u.C||{};i.W.forEach((function(r){var n=r[0],e=r[1];{u.C[e]=t[n]}}))}if(e&&u.C){for(var o=0,l=Object.keys(u.C);o<l.length;o++){var v=l[o];if(t.hasAttribute(v)&&!["key","ref","style","class"].includes(v)){u.C[v]=t[v]}}}u.N=null;u.l|=4;r.U=u;u.D=a.D=t.shadowRoot||t;zr=!!(i.l&1)&&!(i.l&128);Kr(a,u,e);rn()};var tn=function(r,n){if(n&&!r.B&&n["s-p"]){var e=n["s-p"].push(new Promise((function(t){return r.B=function(){n["s-p"].splice(e-1,1);t()}})))}};var an=function(r,n){{r.l|=16}if(r.l&4){r.l|=512;return}tn(r,r.V);var e=function(){return fn(r,n)};if(n){queueMicrotask((function(){e()}));return}return V(e)};var fn=function(r,n){var e=r.$hostElement$;var t=rr("scheduleUpdate",r.t.j);var i=r.o;if(!i){throw new Error("Can't render component <".concat(e.tagName.toLowerCase()," /> with invalid Stencil runtime! Make sure this imported component is compiled with a `externalRuntime: true` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime"))}var a;if(n){{{r.l|=256;if(r.q){r.q.map((function(r){var n=r[0],t=r[1];return dn(i,n,t,e)}));r.q=void 0}}if(r._.length){r._.forEach((function(r){return r(e)}))}}a=dn(i,"componentWillLoad",void 0,e)}else{a=dn(i,"componentWillUpdate",void 0,e)}a=un(a,(function(){return dn(i,"componentWillRender",void 0,e)}));t();return un(a,(function(){return ln(r,i,n)}))};var un=function(r,n){return on(r)?r.then(n).catch((function(r){console.error(r);n()})):n()};var on=function(r){return r instanceof Promise||r&&r.then&&typeof r.then==="function"};var ln=function(r,n,t){return __awaiter(e,void 0,void 0,(function(){var e,i,a,f,u,o,l;return __generator(this,(function(v){i=r.$hostElement$;a=rr("update",r.t.j);f=i["s-rc"];if(t){fr(r)}u=rr("render",r.t.j);{vn(r,n,i,t)}if(f){f.map((function(r){return r()}));i["s-rc"]=void 0}u();a();{o=(e=i["s-p"])!=null?e:[];l=function(){return cn(r)};if(o.length===0){l()}else{Promise.all(o).then(l).catch(l);r.l|=4;o.length=0}}return[2]}))}))};var vn=function(r,n,e,t){try{n=n.render();{r.l&=-17}{r.l|=2}{{{en(r,n,t)}}}}catch(n){y(n,r.$hostElement$)}return null};var cn=function(r){var n=r.t.j;var e=r.$hostElement$;var t=rr("postUpdate",n);var i=r.o;var a=r.V;dn(i,"componentDidRender",void 0,e);if(!(r.l&64)){r.l|=64;{pn(e)}dn(i,"componentDidLoad",void 0,e);t();{r.$(e);if(!a){sn()}}}else{dn(i,"componentDidUpdate",void 0,e);t()}{r.h(e)}{if(r.B){r.B();r.B=void 0}if(r.l&512){B((function(){return an(r,false)}))}r.l&=-517}};var sn=function(r){var n;B((function(){return Mr(M,"appload",{detail:{namespace:t}})}));{if((n=N.T)==null?void 0:n.size){N.T.clear()}}};var dn=function(r,n,e,t){if(r&&r[n]){try{return r[n](e)}catch(r){y(r,t)}}return void 0};var pn=function(r){var n;return r.setAttribute((n=i.hydratedSelectorName)!=null?n:"hydrated","")};var hn=function(r,n){return s(r).u.get(n)};var yn=function(r,n,e,t){var i=s(r);if(!i){return}if(!i){throw new Error("Couldn't find host element for \"".concat(t.j,'" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).'))}var a=i.$hostElement$;var f=i.u.get(n);var u=i.l;var o=i.o;e=Cr(e,t.i[n][0],!!(t.l&64));var l=Number.isNaN(f)&&Number.isNaN(e);var v=e!==f&&!l;if((!(u&8)||f===void 0)&&v){i.u.set(n,e);if(t.G){var c=t.G[n];if(c){c.map((function(r){try{var t=Object.entries(r)[0],l=t[0],v=t[1];if(u&128||v&1){if(!o){i._.push((function(){i.o[l](e,f,n)}))}else{o[l](e,f,n)}}}catch(r){y(r,a)}}))}}if(u&2){if(o.componentShouldUpdate){var d=o.componentShouldUpdate(e,f,n);if(d===false&&!(u&16)){return}}if(!(u&16)){an(i,false)}}}};var mn=function(r,n,e){var t,a;var f=r.prototype;if(n.l&64&&e&1){I.forEach((function(r){Object.defineProperty(f,r,{value:function(){var n=[];for(var e=0;e<arguments.length;e++){n[e]=arguments[e]}var t;var i=s(this);var a=i==null?void 0:i.o;if(!a){(t=i==null?void 0:i.m)==null?void 0:t.then((function(e){var t=e[r];typeof t==="function"&&t.call.apply(t,__spreadArray([e],n,false))}))}else{var f=a[r];typeof f==="function"&&f.call.apply(f,__spreadArray([a],n,false))}}})}))}if(n.i||i.propChangeCallback){{if(r.watchers&&!n.G){n.G=Or(r.watchers)}if(r.deserializers&&!n.Y){n.Y=r.deserializers}if(r.serializers&&!n.J){n.J=r.serializers}}var u=Object.entries((t=n.i)!=null?t:{});u.map((function(r){var t=r[0],i=r[1][0];if(i&31||e&2&&i&32){var a=v(f,t)||{},u=a.get,o=a.set;if(u)n.i[t][0]|=2048;if(o)n.i[t][0]|=4096;if(e&1||!u){Object.defineProperty(f,t,{get:function(){{if((n.i[t][0]&2048)===0){return hn(this,t)}var r=s(this);var e=r?r.o:f;if(!e)return;return e[t]}},configurable:true,enumerable:true})}Object.defineProperty(f,t,{set:function(r){var a=this;var f=s(this);if(!f){return}if(o){var u=i&32?this[t]:f.$hostElement$[t];if(typeof u==="undefined"&&f.u.get(t)){r=f.u.get(t)}o.apply(this,[Cr(r,i,!!(n.l&64))]);r=i&32?this[t]:f.$hostElement$[t];yn(this,t,r,n);return}{if((e&1)===0||(n.i[t][0]&4096)===0){yn(this,t,r,n);if(e&1&&!f.o){f._.push((function(){if(n.i[t][0]&4096&&f.o[t]!==f.u.get(t)){f.o[t]=r}}))}return}var l=function(){var e=f.o[t];if(!f.u.get(t)&&e){f.u.set(t,e)}f.o[t]=Cr(r,i,!!(n.l&64));yn(a,t,f.o[t],n)};if(f.o){l()}else{f._.push((function(){l()}))}}}})}else if(e&1&&i&64){Object.defineProperty(f,t,{value:function(){var r=[];for(var n=0;n<arguments.length;n++){r[n]=arguments[n]}var e;var i=s(this);return(e=i==null?void 0:i.p)==null?void 0:e.then((function(){var n;return(n=i.o)==null?void 0:n[t].apply(n,r)}))}})}}));if(e&1){var o=new Map;f.attributeChangedCallback=function(r,e,t){var a=this;N.jmp((function(){var l;var v=o.get(r);var c=s(a);if(a.hasOwnProperty(v)&&i.lazyLoad){t=a[v];delete a[v]}if(f.hasOwnProperty(v)&&typeof a[v]==="number"&&a[v]==t){return}else if(v==null){var d=c==null?void 0:c.l;if(c&&d&&!(d&8)&&t!==e){var p=c.o;var h=(l=n.G)==null?void 0:l[r];h==null?void 0:h.forEach((function(n){var i=Object.entries(n)[0],a=i[0],f=i[1];if(p[a]!=null&&(d&128||f&1)){p[a].call(p,t,e,r)}}))}return}var y=u.find((function(r){var n=r[0];return n===v}));var m=y&&y[1][0]&4;var b=m&&t===null&&a[v]===void 0;if(m){t=t===null||t==="false"?false:true}var $=Object.getOwnPropertyDescriptor(f,v);if(!b&&t!=a[v]&&(!$.get||!!$.set)){a[v]=t}}))};r.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((a=n.G)!=null?a:{}),true),u.filter((function(r){var n=r[0],e=r[1];return e[0]&31})).map((function(r){var e=r[0],t=r[1];var i;var a=t[1]||e;o.set(a,e);if(t[0]&512){(i=n.W)==null?void 0:i.push([e,a])}return a})),true)))}}return r};var bn=function(r,n,t,a){return __awaiter(e,void 0,void 0,(function(){var e,a,f,u,o,l,v,c,s,d,p,h;return __generator(this,(function(m){switch(m.label){case 0:m.trys.push([0,7,,8]);if(!((n.l&32)===0))return[3,6];n.l|=32;a=t.S;if(!a)return[3,4];f=b(t,n);if(!(f&&"then"in f))return[3,2];u=nr();return[4,f];case 1:e=m.sent();u();return[3,3];case 2:e=f;m.label=3;case 3:if(!e){throw new Error('Constructor for "'.concat(t.j,"#").concat(n.Z,'" was not found'))}if(!e.isProxied){{t.G=Or(e.watchers);t.J=e.serializers;t.Y=e.deserializers}mn(e,t,2);e.isProxied=true}o=rr("createInstance",t.j);{n.l|=8}try{new e(n)}catch(n){y(n,r)}{n.l&=-9}{n.l|=128}o();{$n(n.o,r)}return[3,5];case 4:e=r.constructor;l=r.localName;customElements.whenDefined(l).then((function(){return n.l|=128}));m.label=5;case 5:if(e&&e.style){v=void 0;if(typeof e.style==="string"){v=e.style}c=ur(t);if(!$.has(c)||i.hotModuleReplacement){s=rr("registerStyles",t.j);ir(c,v,!!(t.l&1));s()}}m.label=6;case 6:d=n.V;p=function(){return an(n,true)};if(d&&d["s-rc"]){d["s-rc"].push(p)}else{p()}return[3,8];case 7:h=m.sent();y(h,r);if(n.B){n.B();n.B=void 0}if(n.$){n.$(r)}return[3,8];case 8:return[2]}}))}))};var $n=function(r,n){{dn(r,"connectedCallback",void 0,n)}};var wn=function(r){if((N.l&1)===0){var n=s(r);if(!n){return}var e=n.t;var t=rr("connectedCallback",e.j);if(!(n.l&1)){n.l|=1;var i=void 0;{i=r.getAttribute(O);if(i){if(e.l&1){var a=ar(r.shadowRoot,e);r.classList.remove(a+"-h",a+"-s")}br(r,e.j,i,n)}}{var f=r;while(f=f.parentNode||f.host){if(f.nodeType===1&&f.hasAttribute("s-id")&&f["s-p"]||f["s-p"]){tn(n,n.V=f);break}}}if(e.i){Object.entries(e.i).map((function(n){var e=n[0],t=n[1][0];if(t&31&&Object.prototype.hasOwnProperty.call(r,e)){var i=r[e];delete r[e];r[e]=i}}))}{bn(r,n,e)}}else{Sn(r,n,e.K);if(n==null?void 0:n.o){$n(n.o,r)}else if(n==null?void 0:n.m){n.m.then((function(){return $n(n.o,r)}))}}t()}};var gn=function(r,n){{dn(r,"disconnectedCallback",void 0,n||r)}};var _n=function(r){return __awaiter(e,void 0,void 0,(function(){var n;return __generator(this,(function(e){if((N.l&1)===0){n=s(r);{if(n==null?void 0:n.X){n.X.map((function(r){return r()}));n.X=void 0}}if(n==null?void 0:n.o){gn(n.o,r)}else if(n==null?void 0:n.m){n.m.then((function(){return gn(n.o,r)}))}}if(tr.has(r)){tr.delete(r)}if(r.shadowRoot&&tr.has(r.shadowRoot)){tr.delete(r.shadowRoot)}return[2]}))}))};var jn=r("b",(function(r,n){if(n===void 0){n={}}var e;if(!M.document){console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");return}var t=rr();var i=[];var a=n.exclude||[];var f=M.customElements;var u=M.document.head;var o=u.querySelector("meta[charset]");var l=M.document.createElement("style");var v=[];var c;var d=true;Object.assign(N,n);N.O=new URL(n.resourcesUrl||"./",M.document.baseURI).href;{N.l|=2}{lr()}r.map((function(r){r[1].map((function(n){var e,t;var u={l:n[0],j:n[1],i:n[2],K:n[3]};{u.i=n[2]}{u.K=n[3]}{u.W=[]}{u.G=Or(n[4]);u.J=(e=n[5])!=null?e:{};u.Y=(t=n[6])!=null?t:{}}var o=xn(u.j);var l=function(r){__extends(n,r);function n(n){var e=r.call(this,n)||this;e.hasRegisteredEventListeners=false;n=e;p(n,u);if(u.l&1){{if(!n.shadowRoot){Y.call(n,u)}else{if(n.shadowRoot.mode!=="open"){throw new Error("Unable to re-use existing shadow root for ".concat(u.j,"! Mode is set to ").concat(n.shadowRoot.mode," but Stencil only supports open shadow roots."))}}}}return e}n.prototype.connectedCallback=function(){var r=this;var n=s(this);if(!n){return}if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true;Sn(this,n,u.K)}if(c){clearTimeout(c);c=null}if(d){v.push(this)}else{N.jmp((function(){return wn(r)}))}};n.prototype.disconnectedCallback=function(){var r=this;N.jmp((function(){return _n(r)}));N.raf((function(){var n;var e=s(r);if(!e){return}var t=v.findIndex((function(n){return n===r}));if(t>-1){v.splice(t,1)}if(((n=e==null?void 0:e.U)==null?void 0:n.D)instanceof Node&&!e.U.D.isConnected){delete e.U.D}}))};n.prototype.componentOnReady=function(){var r;return(r=s(this))==null?void 0:r.m};return n}(HTMLElement);if(u.l&64){l.formAssociated=true}u.S=r[0];if(!a.includes(o)&&!f.get(o)){i.push(o);f.define(o,mn(l,u,1))}}))}));if(i.length>0){{l.textContent+=i.sort()+x}if(l.innerHTML.length){l.setAttribute("data-styles","");var h=(e=N.k)!=null?e:er(M.document);if(h!=null){l.setAttribute("nonce",h)}u.insertBefore(l,o?o.nextSibling:u.firstChild)}}d=false;if(v.length){v.map((function(r){return r.connectedCallback()}))}else{{N.jmp((function(){return c=setTimeout(sn,30)}))}}t()}));var Sn=function(r,n,e,t){if(e&&M.document){e.map((function(e){var t=e[0],i=e[1],a=e[2];var f=r;var u=On(n,a);var o=kn(t);N.ael(f,i,u,o);(n.X=n.X||[]).push((function(){return N.rel(f,i,u,o)}))}))}};var On=function(r,n){return function(e){var t;try{{if(r.l&256){(t=r.o)==null?void 0:t[n](e)}else{(r.q=r.q||[]).push([n,e])}}}catch(n){y(n,r.$hostElement$)}}};var kn=function(r){return D?{passive:(r&1)!==0,capture:(r&2)!==0}:(r&2)!==0};var An=r("s",(function(r){return N.k=r}));function xn(r){return r}}}}));
|