@maggioli-design-system/magma 2.4.0 → 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +1 -1
- package/CHANGELOG.md +36 -0
- package/agents/assets.md +10 -0
- package/agents/components.md +2 -1
- package/agents/conventions.md +5 -0
- package/dist/cjs/{floating-controller-BxER7sig.js → floating-controller-DaFymQCT.js} +2 -2
- package/dist/cjs/{index-B_qgSpWL.js → index-BQNHYWJg.js} +5 -1
- package/dist/cjs/{index-B5DKRaVO.js → index-CWTZb9W2.js} +1 -1
- package/dist/cjs/index.cjs.js +3 -63
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{locale-D9XY8LN9.js → locale-Os4wg65H.js} +1 -1
- package/dist/cjs/magma-components.cjs.js +2 -2
- package/dist/cjs/mds-accordion-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-accordion-timer.cjs.entry.js +2 -2
- package/dist/cjs/mds-accordion.cjs.entry.js +3 -3
- package/dist/cjs/mds-author.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar-stack.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar.cjs.entry.js +2 -2
- package/dist/cjs/mds-badge.cjs.entry.js +2 -2
- package/dist/cjs/mds-banner_3.cjs.entry.js +6 -6
- package/dist/cjs/mds-benchmark-bar.cjs.entry.js +1 -1
- package/dist/cjs/mds-bibliography.cjs.entry.js +1 -1
- package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-breadcrumb.cjs.entry.js +3 -3
- package/dist/cjs/mds-button-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
- package/dist/cjs/mds-button_3.cjs.entry.js +8 -7
- package/dist/cjs/mds-calendar_2.cjs.entry.js +4 -4
- package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
- package/dist/cjs/mds-card-footer.cjs.entry.js +1 -1
- package/dist/cjs/mds-card-header.cjs.entry.js +1 -1
- package/dist/cjs/mds-card-media.cjs.entry.js +1 -1
- package/dist/cjs/mds-card.cjs.entry.js +3 -3
- package/dist/cjs/mds-details.cjs.entry.js +3 -3
- package/dist/cjs/mds-dropdown.cjs.entry.js +5 -5
- package/dist/cjs/mds-emoji.cjs.entry.js +38 -8
- package/dist/cjs/mds-entity.cjs.entry.js +4 -4
- package/dist/cjs/mds-file-preview.cjs.entry.js +4 -4
- package/dist/cjs/mds-file.cjs.entry.js +3 -3
- package/dist/cjs/mds-filter-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-filter.cjs.entry.js +4 -4
- package/dist/cjs/mds-header-bar.cjs.entry.js +4 -4
- package/dist/cjs/mds-header.cjs.entry.js +3 -3
- package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +5 -5
- package/dist/cjs/mds-hr.cjs.entry.js +2 -2
- package/dist/cjs/mds-img.cjs.entry.js +3 -3
- package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-date-range.cjs.entry.js +4 -4
- package/dist/cjs/mds-input-date.cjs.entry.js +5 -5
- package/dist/cjs/mds-input-field.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-otp.cjs.entry.js +3 -3
- package/dist/cjs/mds-input-range.cjs.entry.js +2 -2
- package/dist/cjs/mds-input-select.cjs.entry.js +5 -5
- package/dist/cjs/mds-input-switch_2.cjs.entry.js +7 -7
- package/dist/cjs/mds-input-tip_2.cjs.entry.js +3 -3
- package/dist/cjs/mds-input-upload.cjs.entry.js +4 -4
- package/dist/cjs/mds-input.cjs.entry.js +5 -5
- package/dist/cjs/mds-keyboard-key.cjs.entry.js +4 -4
- package/dist/cjs/mds-keyboard.cjs.entry.js +4 -4
- package/dist/cjs/mds-kpi-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-kpi.cjs.entry.js +2 -2
- package/dist/cjs/mds-label.cjs.entry.js +3 -3
- package/dist/cjs/mds-link.cjs.entry.js +147 -0
- package/dist/cjs/mds-list-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-list.cjs.entry.js +2 -2
- package/dist/cjs/mds-mention.cjs.entry.js +4 -4
- package/dist/cjs/mds-modal.cjs.entry.js +8 -8
- package/dist/cjs/mds-note.cjs.entry.js +5 -5
- package/dist/cjs/mds-notification.cjs.entry.js +4 -4
- package/dist/cjs/mds-paginator-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-paginator.cjs.entry.js +5 -5
- package/dist/cjs/mds-policy-ai.cjs.entry.js +4 -4
- package/dist/cjs/mds-pref-animation.cjs.entry.js +4 -4
- package/dist/cjs/mds-pref-consumption.cjs.entry.js +4 -4
- package/dist/cjs/mds-pref-contrast.cjs.entry.js +4 -4
- package/dist/cjs/mds-pref-language-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-pref-language.cjs.entry.js +4 -4
- package/dist/cjs/mds-pref-mode.cjs.entry.js +6 -6
- package/dist/cjs/mds-pref-theme-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-pref-theme.cjs.entry.js +4 -4
- package/dist/cjs/mds-pref.cjs.entry.js +4 -4
- package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +3 -3
- package/dist/cjs/mds-price-table-features-row.cjs.entry.js +3 -3
- package/dist/cjs/mds-price-table-features.cjs.entry.js +3 -3
- package/dist/cjs/mds-price-table-header.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-list-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-list.cjs.entry.js +3 -3
- package/dist/cjs/mds-price-table.cjs.entry.js +2 -2
- package/dist/cjs/mds-progress_2.cjs.entry.js +5 -5
- package/dist/cjs/mds-push-notification-item.cjs.entry.js +6 -6
- package/dist/cjs/mds-push-notification.cjs.entry.js +6 -6
- package/dist/cjs/mds-quote.cjs.entry.js +3 -3
- package/dist/cjs/mds-radial-menu-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-radial-menu.cjs.entry.js +7 -7
- package/dist/cjs/mds-separator.cjs.entry.js +3 -3
- package/dist/cjs/mds-status-bar.cjs.entry.js +4 -4
- package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +5 -5
- package/dist/cjs/mds-stepper-bar.cjs.entry.js +2 -2
- package/dist/cjs/mds-tab-bar-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-tab-bar.cjs.entry.js +3 -3
- package/dist/cjs/mds-tab_2.cjs.entry.js +7 -7
- package/dist/cjs/mds-table-body.cjs.entry.js +3 -3
- package/dist/cjs/mds-table-footer.cjs.entry.js +3 -3
- package/dist/cjs/mds-table-header-cell.cjs.entry.js +3 -3
- package/dist/cjs/mds-table-header.cjs.entry.js +4 -4
- package/dist/cjs/mds-table-row.cjs.entry.js +6 -6
- package/dist/cjs/mds-table.cjs.entry.js +5 -5
- package/dist/cjs/mds-text.cjs.entry.js +3 -3
- package/dist/cjs/mds-toast-region.cjs.entry.js +2 -2
- package/dist/cjs/mds-toast.cjs.entry.js +6 -6
- package/dist/cjs/mds-tooltip.cjs.entry.js +6 -6
- package/dist/cjs/mds-tree-item.cjs.entry.js +6 -6
- package/dist/cjs/mds-tree.cjs.entry.js +3 -3
- package/dist/cjs/mds-url-view.cjs.entry.js +4 -4
- package/dist/cjs/mds-usage.cjs.entry.js +4 -4
- package/dist/cjs/mds-video-wall.cjs.entry.js +3 -3
- package/dist/cjs/mds-zero.cjs.entry.js +4 -4
- package/dist/cjs/navigation-5yeOyO6F.js +64 -0
- package/dist/cjs/{preference-C8BcoA3M.js → preference-CQQ3eb9W.js} +1 -1
- package/dist/cjs/{unit-Cm341q1R.js → unit-JdmHaLT3.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/common/unit.js +1 -1
- package/dist/collection/components/mds-accordion/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion/documentation.json +1 -1
- package/dist/collection/components/mds-accordion/mds-accordion.css +2 -2
- package/dist/collection/components/mds-accordion-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion-item/documentation.json +1 -1
- package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +9 -9
- package/dist/collection/components/mds-accordion-timer/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion-timer/documentation.json +1 -1
- package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.css +1 -1
- package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion-timer-item/documentation.json +1 -1
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +2 -2
- package/dist/collection/components/mds-author/AGENTS.md +1 -1
- package/dist/collection/components/mds-author/documentation.json +1 -1
- package/dist/collection/components/mds-avatar/AGENTS.md +1 -1
- package/dist/collection/components/mds-avatar/documentation.json +1 -1
- package/dist/collection/components/mds-avatar-stack/AGENTS.md +1 -1
- package/dist/collection/components/mds-avatar-stack/documentation.json +1 -1
- package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-avatar-stack-item/documentation.json +1 -1
- package/dist/collection/components/mds-badge/AGENTS.md +1 -1
- package/dist/collection/components/mds-badge/documentation.json +1 -1
- package/dist/collection/components/mds-banner/AGENTS.md +1 -1
- package/dist/collection/components/mds-banner/documentation.json +1 -1
- package/dist/collection/components/mds-banner/mds-banner.css +3 -3
- package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-benchmark-bar/documentation.json +1 -1
- package/dist/collection/components/mds-bibliography/AGENTS.md +1 -1
- package/dist/collection/components/mds-bibliography/documentation.json +1 -1
- package/dist/collection/components/mds-breadcrumb/AGENTS.md +1 -1
- package/dist/collection/components/mds-breadcrumb/documentation.json +1 -1
- package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-breadcrumb-item/documentation.json +1 -1
- package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.css +1 -1
- package/dist/collection/components/mds-button/AGENTS.md +1 -1
- package/dist/collection/components/mds-button/antipattern.md +16 -0
- package/dist/collection/components/mds-button/documentation.json +2 -2
- package/dist/collection/components/mds-button/mds-button.css +4 -2
- package/dist/collection/components/mds-button-dropdown/AGENTS.md +1 -1
- package/dist/collection/components/mds-button-dropdown/documentation.json +1 -1
- package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
- package/dist/collection/components/mds-button-group/documentation.json +1 -1
- package/dist/collection/components/mds-calendar/AGENTS.md +1 -1
- package/dist/collection/components/mds-calendar/documentation.json +1 -1
- package/dist/collection/components/mds-calendar/mds-calendar.css +8 -8
- package/dist/collection/components/mds-calendar-cell/AGENTS.md +1 -1
- package/dist/collection/components/mds-calendar-cell/documentation.json +1 -1
- package/dist/collection/components/mds-card/AGENTS.md +2 -1
- package/dist/collection/components/mds-card/documentation.json +2 -2
- package/dist/collection/components/mds-card/mds-card.css +9 -5
- package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-content/documentation.json +1 -1
- package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-footer/documentation.json +1 -1
- package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-header/documentation.json +1 -1
- package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-media/documentation.json +1 -1
- package/dist/collection/components/mds-chip/AGENTS.md +1 -1
- package/dist/collection/components/mds-chip/documentation.json +1 -1
- package/dist/collection/components/mds-chip/mds-chip.css +1 -1
- package/dist/collection/components/mds-details/AGENTS.md +1 -1
- package/dist/collection/components/mds-details/documentation.json +1 -1
- package/dist/collection/components/mds-details/mds-details.css +2 -2
- package/dist/collection/components/mds-dropdown/AGENTS.md +1 -1
- package/dist/collection/components/mds-dropdown/documentation.json +1 -1
- package/dist/collection/components/mds-dropdown/mds-dropdown.css +23 -23
- package/dist/collection/components/mds-emoji/AGENTS.md +2 -2
- package/dist/collection/components/mds-emoji/documentation.json +2 -2
- package/dist/collection/components/mds-emoji/mds-emoji.css +11 -5
- package/dist/collection/components/mds-emoji/mds-emoji.js +34 -4
- package/dist/collection/components/mds-entity/AGENTS.md +3 -2
- package/dist/collection/components/mds-entity/documentation.json +11 -3
- package/dist/collection/components/mds-entity/mds-entity.css +1 -1
- package/dist/collection/components/mds-entity/mds-entity.js +2 -1
- package/dist/collection/components/mds-entity/pattern.md +10 -0
- package/dist/collection/components/mds-file/AGENTS.md +1 -1
- package/dist/collection/components/mds-file/documentation.json +1 -1
- package/dist/collection/components/mds-file-preview/AGENTS.md +1 -1
- package/dist/collection/components/mds-file-preview/documentation.json +1 -1
- package/dist/collection/components/mds-file-preview/mds-file-preview.css +2 -2
- package/dist/collection/components/mds-filter/AGENTS.md +1 -1
- package/dist/collection/components/mds-filter/documentation.json +1 -1
- package/dist/collection/components/mds-filter/mds-filter.css +1 -1
- package/dist/collection/components/mds-filter-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-filter-item/documentation.json +1 -1
- package/dist/collection/components/mds-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-header/documentation.json +1 -1
- package/dist/collection/components/mds-header/mds-header.css +4 -4
- package/dist/collection/components/mds-header-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-header-bar/documentation.json +1 -1
- package/dist/collection/components/mds-header-bar/mds-header-bar.css +1 -1
- package/dist/collection/components/mds-help/AGENTS.md +1 -1
- package/dist/collection/components/mds-help/documentation.json +1 -1
- package/dist/collection/components/mds-help/mds-help.css +7 -5
- package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +1 -1
- package/dist/collection/components/mds-horizontal-scroll/documentation.json +1 -1
- package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.css +2 -2
- package/dist/collection/components/mds-hr/AGENTS.md +1 -1
- package/dist/collection/components/mds-hr/documentation.json +1 -1
- package/dist/collection/components/mds-icon/AGENTS.md +2 -2
- package/dist/collection/components/mds-icon/documentation.json +5 -1
- package/dist/collection/components/mds-img/AGENTS.md +1 -1
- package/dist/collection/components/mds-img/documentation.json +1 -1
- package/dist/collection/components/mds-input/AGENTS.md +1 -1
- package/dist/collection/components/mds-input/documentation.json +1 -1
- package/dist/collection/components/mds-input/mds-input.css +8 -8
- package/dist/collection/components/mds-input-date/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-date/documentation.json +1 -1
- package/dist/collection/components/mds-input-date/mds-input-date.css +6 -6
- package/dist/collection/components/mds-input-date-range/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-date-range/documentation.json +1 -1
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +11 -11
- package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-date-range-preselection/documentation.json +1 -1
- package/dist/collection/components/mds-input-field/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-field/documentation.json +1 -1
- package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-otp/documentation.json +1 -1
- package/dist/collection/components/mds-input-range/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-range/documentation.json +1 -1
- package/dist/collection/components/mds-input-select/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-select/documentation.json +1 -1
- package/dist/collection/components/mds-input-select/mds-input-select.css +5 -5
- package/dist/collection/components/mds-input-switch/AGENTS.md +3 -3
- package/dist/collection/components/mds-input-switch/documentation.json +3 -3
- package/dist/collection/components/mds-input-switch/mds-input-switch.css +12 -10
- package/dist/collection/components/mds-input-switch/mds-input-switch.js +4 -4
- package/dist/collection/components/mds-input-tip/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-tip/documentation.json +1 -1
- package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-tip-item/documentation.json +1 -1
- package/dist/collection/components/mds-input-upload/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-upload/documentation.json +1 -1
- package/dist/collection/components/mds-input-upload/mds-input-upload.css +2 -2
- package/dist/collection/components/mds-keyboard/AGENTS.md +1 -1
- package/dist/collection/components/mds-keyboard/documentation.json +1 -1
- package/dist/collection/components/mds-keyboard/mds-keyboard.css +5 -5
- package/dist/collection/components/mds-keyboard-key/AGENTS.md +1 -1
- package/dist/collection/components/mds-keyboard-key/documentation.json +1 -1
- package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.css +2 -2
- package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
- package/dist/collection/components/mds-kpi/documentation.json +1 -1
- package/dist/collection/components/mds-kpi/mds-kpi.css +1 -1
- package/dist/collection/components/mds-kpi-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-kpi-item/documentation.json +1 -1
- package/dist/collection/components/mds-label/AGENTS.md +1 -1
- package/dist/collection/components/mds-label/documentation.json +1 -1
- package/dist/collection/components/mds-link/AGENTS.md +81 -0
- package/dist/collection/components/mds-link/antipattern.md +96 -0
- package/dist/collection/components/mds-link/documentation.json +407 -0
- package/dist/collection/components/mds-link/mds-link.css +301 -0
- package/dist/collection/components/mds-link/mds-link.js +335 -0
- package/dist/collection/components/mds-link/meta/dictionary.js +3 -0
- package/dist/collection/components/mds-link/meta/types.js +1 -0
- package/dist/collection/components/mds-link/pattern.md +100 -0
- package/dist/collection/components/mds-list/AGENTS.md +1 -1
- package/dist/collection/components/mds-list/documentation.json +1 -1
- package/dist/collection/components/mds-list/mds-list.js +1 -1
- package/dist/collection/components/mds-list-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-list-item/documentation.json +1 -1
- package/dist/collection/components/mds-list-item/mds-list-item.css +4 -4
- package/dist/collection/components/mds-list-item/mds-list-item.js +1 -1
- package/dist/collection/components/mds-mention/AGENTS.md +1 -1
- package/dist/collection/components/mds-mention/documentation.json +1 -1
- package/dist/collection/components/mds-mention/mds-mention.js +1 -1
- package/dist/collection/components/mds-modal/AGENTS.md +1 -1
- package/dist/collection/components/mds-modal/documentation.json +1 -1
- package/dist/collection/components/mds-modal/mds-modal.css +5 -5
- package/dist/collection/components/mds-modal/mds-modal.js +3 -3
- package/dist/collection/components/mds-note/AGENTS.md +1 -1
- package/dist/collection/components/mds-note/documentation.json +1 -1
- package/dist/collection/components/mds-note/mds-note.css +3 -3
- package/dist/collection/components/mds-note/mds-note.js +1 -1
- package/dist/collection/components/mds-notification/AGENTS.md +1 -1
- package/dist/collection/components/mds-notification/documentation.json +1 -1
- package/dist/collection/components/mds-notification/mds-notification.css +22 -22
- package/dist/collection/components/mds-notification/mds-notification.js +1 -1
- package/dist/collection/components/mds-paginator/AGENTS.md +1 -1
- package/dist/collection/components/mds-paginator/documentation.json +1 -1
- package/dist/collection/components/mds-paginator/mds-paginator.css +1 -1
- package/dist/collection/components/mds-paginator/mds-paginator.js +1 -1
- package/dist/collection/components/mds-paginator-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-paginator-item/documentation.json +1 -1
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +1 -1
- package/dist/collection/components/mds-policy-ai/AGENTS.md +1 -1
- package/dist/collection/components/mds-policy-ai/documentation.json +1 -1
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -1
- package/dist/collection/components/mds-pref/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref/documentation.json +1 -1
- package/dist/collection/components/mds-pref/mds-pref.js +1 -1
- package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-animation/documentation.json +1 -1
- package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +1 -1
- package/dist/collection/components/mds-pref-consumption/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-consumption/documentation.json +1 -1
- package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +1 -1
- package/dist/collection/components/mds-pref-contrast/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-contrast/documentation.json +1 -1
- package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +1 -1
- package/dist/collection/components/mds-pref-language/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-language/documentation.json +1 -1
- package/dist/collection/components/mds-pref-language/mds-pref-language.js +1 -1
- package/dist/collection/components/mds-pref-language-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-language-item/documentation.json +1 -1
- package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +1 -1
- package/dist/collection/components/mds-pref-mode/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-mode/documentation.json +1 -1
- package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +2 -2
- package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +1 -1
- package/dist/collection/components/mds-pref-theme/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-theme/documentation.json +1 -1
- package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +1 -1
- package/dist/collection/components/mds-pref-theme-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-theme-item/documentation.json +1 -1
- package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +1 -1
- package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table/documentation.json +1 -1
- package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
- package/dist/collection/components/mds-price-table-features/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-features/documentation.json +1 -1
- package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
- package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-features-cell/documentation.json +1 -1
- package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +1 -1
- package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-features-row/documentation.json +1 -1
- package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
- package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-header/documentation.json +1 -1
- package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
- package/dist/collection/components/mds-price-table-list/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-list/documentation.json +1 -1
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +1 -1
- package/dist/collection/components/mds-price-table-list-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-list-item/documentation.json +1 -1
- package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
- package/dist/collection/components/mds-progress/AGENTS.md +1 -1
- package/dist/collection/components/mds-progress/documentation.json +1 -1
- package/dist/collection/components/mds-progress/mds-progress.css +2 -0
- package/dist/collection/components/mds-progress/mds-progress.js +1 -1
- package/dist/collection/components/mds-push-notification/AGENTS.md +1 -1
- package/dist/collection/components/mds-push-notification/documentation.json +1 -1
- package/dist/collection/components/mds-push-notification/mds-push-notification.css +4 -4
- package/dist/collection/components/mds-push-notification/mds-push-notification.js +1 -1
- package/dist/collection/components/mds-push-notification-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-push-notification-item/documentation.json +1 -1
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +2 -2
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +2 -2
- package/dist/collection/components/mds-quote/AGENTS.md +1 -1
- package/dist/collection/components/mds-quote/documentation.json +1 -1
- package/dist/collection/components/mds-quote/mds-quote.js +1 -1
- package/dist/collection/components/mds-radial-menu/AGENTS.md +1 -1
- package/dist/collection/components/mds-radial-menu/documentation.json +1 -1
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.css +8 -6
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +1 -1
- package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-radial-menu-item/documentation.json +1 -1
- package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.css +2 -2
- package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
- package/dist/collection/components/mds-radial-progress/AGENTS.md +1 -1
- package/dist/collection/components/mds-radial-progress/documentation.json +1 -1
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +1 -1
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
- package/dist/collection/components/mds-separator/AGENTS.md +1 -1
- package/dist/collection/components/mds-separator/documentation.json +1 -1
- package/dist/collection/components/mds-separator/mds-separator.js +1 -1
- package/dist/collection/components/mds-spinner/AGENTS.md +1 -1
- package/dist/collection/components/mds-spinner/documentation.json +1 -1
- package/dist/collection/components/mds-spinner/mds-spinner.css +6 -0
- package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
- package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-status-bar/documentation.json +1 -1
- package/dist/collection/components/mds-status-bar/mds-status-bar.css +3 -3
- package/dist/collection/components/mds-status-bar/mds-status-bar.js +1 -1
- package/dist/collection/components/mds-stepper-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-stepper-bar/documentation.json +1 -1
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +1 -1
- package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-stepper-bar-item/documentation.json +1 -1
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +4 -2
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +1 -1
- package/dist/collection/components/mds-tab/AGENTS.md +1 -1
- package/dist/collection/components/mds-tab/documentation.json +1 -1
- package/dist/collection/components/mds-tab/mds-tab.css +9 -7
- package/dist/collection/components/mds-tab/mds-tab.js +2 -2
- package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-tab-bar/documentation.json +1 -1
- package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +1 -1
- package/dist/collection/components/mds-tab-bar-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-tab-bar-item/documentation.json +1 -1
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +2 -2
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +1 -1
- package/dist/collection/components/mds-tab-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-tab-item/documentation.json +1 -1
- package/dist/collection/components/mds-tab-item/mds-tab-item.js +1 -1
- package/dist/collection/components/mds-table/AGENTS.md +1 -1
- package/dist/collection/components/mds-table/documentation.json +1 -1
- package/dist/collection/components/mds-table/mds-table.css +1 -1
- package/dist/collection/components/mds-table/mds-table.js +1 -1
- package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-body/documentation.json +1 -1
- package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
- package/dist/collection/components/mds-table-cell/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-cell/documentation.json +1 -1
- package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
- package/dist/collection/components/mds-table-footer/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-footer/documentation.json +1 -1
- package/dist/collection/components/mds-table-footer/mds-table-footer.js +1 -1
- package/dist/collection/components/mds-table-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-header/documentation.json +1 -1
- package/dist/collection/components/mds-table-header/mds-table-header.js +1 -1
- package/dist/collection/components/mds-table-header-cell/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-header-cell/documentation.json +1 -1
- package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +1 -1
- package/dist/collection/components/mds-table-row/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-row/documentation.json +1 -1
- package/dist/collection/components/mds-table-row/mds-table-row.css +1 -1
- package/dist/collection/components/mds-table-row/mds-table-row.js +2 -2
- package/dist/collection/components/mds-text/AGENTS.md +2 -2
- package/dist/collection/components/mds-text/antipattern.md +1 -1
- package/dist/collection/components/mds-text/documentation.json +4 -4
- package/dist/collection/components/mds-text/mds-text.js +1 -1
- package/dist/collection/components/mds-text/pattern.md +10 -0
- package/dist/collection/components/mds-toast/AGENTS.md +1 -1
- package/dist/collection/components/mds-toast/documentation.json +1 -1
- package/dist/collection/components/mds-toast/mds-toast.css +2 -2
- package/dist/collection/components/mds-toast/mds-toast.js +1 -1
- package/dist/collection/components/mds-toast-region/AGENTS.md +1 -1
- package/dist/collection/components/mds-toast-region/documentation.json +1 -1
- package/dist/collection/components/mds-toast-region/mds-toast-region.js +1 -1
- package/dist/collection/components/mds-tooltip/AGENTS.md +1 -1
- package/dist/collection/components/mds-tooltip/documentation.json +1 -1
- package/dist/collection/components/mds-tooltip/mds-tooltip.css +25 -25
- package/dist/collection/components/mds-tooltip/mds-tooltip.js +1 -1
- package/dist/collection/components/mds-tree/AGENTS.md +1 -1
- package/dist/collection/components/mds-tree/documentation.json +1 -1
- package/dist/collection/components/mds-tree/mds-tree.css +1 -1
- package/dist/collection/components/mds-tree/mds-tree.js +1 -1
- package/dist/collection/components/mds-tree-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-tree-item/documentation.json +1 -1
- package/dist/collection/components/mds-tree-item/mds-tree-item.css +8 -6
- package/dist/collection/components/mds-tree-item/mds-tree-item.js +1 -1
- package/dist/collection/components/mds-url-view/AGENTS.md +1 -1
- package/dist/collection/components/mds-url-view/documentation.json +1 -1
- package/dist/collection/components/mds-url-view/mds-url-view.js +1 -1
- package/dist/collection/components/mds-usage/AGENTS.md +1 -1
- package/dist/collection/components/mds-usage/documentation.json +1 -1
- package/dist/collection/components/mds-usage/mds-usage.js +1 -1
- package/dist/collection/components/mds-video-wall/AGENTS.md +1 -1
- package/dist/collection/components/mds-video-wall/documentation.json +1 -1
- package/dist/collection/components/mds-video-wall/mds-video-wall.js +1 -1
- package/dist/collection/components/mds-zero/AGENTS.md +1 -1
- package/dist/collection/components/mds-zero/documentation.json +1 -1
- package/dist/collection/components/mds-zero/mds-zero.css +2 -2
- package/dist/collection/components/mds-zero/mds-zero.js +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +1 -1
- package/dist/components/mds-accordion-item.js +1 -1
- package/dist/components/mds-accordion-timer-item.js +1 -1
- package/dist/components/mds-accordion-timer.js +1 -1
- package/dist/components/mds-accordion.js +1 -1
- package/dist/components/mds-author.js +1 -1
- package/dist/components/mds-avatar-stack-item.js +1 -1
- package/dist/components/mds-avatar-stack.js +1 -1
- package/dist/components/mds-avatar.js +1 -1
- package/dist/components/mds-badge.js +1 -1
- package/dist/components/mds-banner.js +1 -1
- package/dist/components/mds-benchmark-bar.js +1 -1
- package/dist/components/mds-bibliography.js +1 -1
- package/dist/components/mds-breadcrumb-item.js +1 -1
- package/dist/components/mds-breadcrumb.js +1 -1
- package/dist/components/mds-button-dropdown.js +1 -1
- package/dist/components/mds-button-group.js +1 -1
- package/dist/components/mds-button.js +1 -1
- package/dist/components/mds-calendar-cell.js +1 -1
- package/dist/components/mds-calendar.js +1 -1
- package/dist/components/mds-card-content.js +1 -1
- package/dist/components/mds-card-footer.js +1 -1
- package/dist/components/mds-card-header.js +1 -1
- package/dist/components/mds-card-media.js +1 -1
- package/dist/components/mds-card.js +1 -1
- package/dist/components/mds-chip.js +1 -1
- package/dist/components/mds-details.js +1 -1
- package/dist/components/mds-dropdown.js +1 -1
- package/dist/components/mds-emoji.js +3 -3
- package/dist/components/mds-entity.js +1 -1
- package/dist/components/mds-file-preview.js +1 -1
- package/dist/components/mds-file.js +1 -1
- package/dist/components/mds-filter-item.js +1 -1
- package/dist/components/mds-filter.js +1 -1
- package/dist/components/mds-header-bar.js +1 -1
- package/dist/components/mds-header.js +1 -1
- package/dist/components/mds-help.js +1 -1
- package/dist/components/mds-horizontal-scroll.js +1 -1
- package/dist/components/mds-hr.js +1 -1
- package/dist/components/mds-icon.js +1 -1
- package/dist/components/mds-img.js +1 -1
- package/dist/components/mds-input-date-range-preselection.js +1 -1
- package/dist/components/mds-input-date-range.js +1 -1
- package/dist/components/mds-input-date.js +1 -1
- package/dist/components/mds-input-field.js +1 -1
- package/dist/components/mds-input-otp.js +1 -1
- package/dist/components/mds-input-range.js +1 -1
- package/dist/components/mds-input-select.js +1 -1
- package/dist/components/mds-input-switch.js +1 -1
- package/dist/components/mds-input-tip-item.js +1 -1
- package/dist/components/mds-input-tip.js +1 -1
- package/dist/components/mds-input-upload.js +1 -1
- package/dist/components/mds-input.js +1 -1
- package/dist/components/mds-keyboard-key.js +1 -1
- package/dist/components/mds-keyboard.js +1 -1
- package/dist/components/mds-kpi-item.js +1 -1
- package/dist/components/mds-kpi.js +1 -1
- package/dist/components/mds-label.js +1 -1
- package/dist/components/mds-link.d.ts +11 -0
- package/dist/components/mds-link.js +1 -0
- package/dist/components/mds-list-item.js +1 -1
- package/dist/components/mds-list.js +1 -1
- package/dist/components/mds-mention.js +1 -1
- package/dist/components/mds-modal.js +1 -1
- package/dist/components/mds-note.js +1 -1
- package/dist/components/mds-notification.js +1 -1
- package/dist/components/mds-paginator-item.js +1 -1
- package/dist/components/mds-paginator.js +1 -1
- package/dist/components/mds-policy-ai.js +1 -1
- package/dist/components/mds-pref-animation.js +1 -1
- package/dist/components/mds-pref-consumption.js +1 -1
- package/dist/components/mds-pref-contrast.js +1 -1
- package/dist/components/mds-pref-language-item.js +1 -1
- package/dist/components/mds-pref-language.js +1 -1
- package/dist/components/mds-pref-mode.js +1 -1
- package/dist/components/mds-pref-theme-item.js +1 -1
- package/dist/components/mds-pref-theme.js +1 -1
- package/dist/components/mds-pref.js +1 -1
- package/dist/components/mds-price-table-features-cell.js +1 -1
- package/dist/components/mds-price-table-features-row.js +1 -1
- package/dist/components/mds-price-table-features.js +1 -1
- package/dist/components/mds-price-table-header.js +1 -1
- package/dist/components/mds-price-table-list-item.js +1 -1
- package/dist/components/mds-price-table-list.js +1 -1
- package/dist/components/mds-price-table.js +1 -1
- package/dist/components/mds-progress.js +1 -1
- package/dist/components/mds-push-notification-item.js +1 -1
- package/dist/components/mds-push-notification.js +1 -1
- package/dist/components/mds-quote.js +1 -1
- package/dist/components/mds-radial-menu-item.js +1 -1
- package/dist/components/mds-radial-menu.js +1 -1
- package/dist/components/mds-radial-progress.js +1 -1
- package/dist/components/mds-separator.js +1 -1
- package/dist/components/mds-spinner.js +1 -1
- package/dist/components/mds-status-bar.js +1 -1
- package/dist/components/mds-stepper-bar-item.js +1 -1
- package/dist/components/mds-stepper-bar.js +1 -1
- package/dist/components/mds-tab-bar-item.js +1 -1
- package/dist/components/mds-tab-bar.js +1 -1
- package/dist/components/mds-tab-item.js +1 -1
- package/dist/components/mds-tab.js +1 -1
- package/dist/components/mds-table-body.js +1 -1
- package/dist/components/mds-table-cell.js +1 -1
- package/dist/components/mds-table-footer.js +1 -1
- package/dist/components/mds-table-header-cell.js +1 -1
- package/dist/components/mds-table-header.js +1 -1
- package/dist/components/mds-table-row.js +1 -1
- package/dist/components/mds-table.js +1 -1
- package/dist/components/mds-text.js +1 -1
- package/dist/components/mds-toast-region.js +1 -1
- package/dist/components/mds-toast.js +1 -1
- package/dist/components/mds-tooltip.js +1 -1
- package/dist/components/mds-tree-item.js +1 -1
- package/dist/components/mds-tree.js +1 -1
- package/dist/components/mds-url-view.js +1 -1
- package/dist/components/mds-usage.js +1 -1
- package/dist/components/mds-video-wall.js +1 -1
- package/dist/components/mds-zero.js +1 -1
- package/dist/components/p-B0AnE3sA.js +1 -0
- package/dist/{magma-components/p-BmT_DEV2.js → components/p-B8x-d2fx.js} +2 -2
- package/dist/components/{p-Didp833Z.js → p-BU3bsIX2.js} +1 -1
- package/dist/components/{p-NlPseOAv.js → p-BbK4qeM7.js} +1 -1
- package/dist/components/p-BbTcXgbr.js +1 -0
- package/dist/components/p-BwJQB6rG.js +1 -0
- package/dist/components/p-Bz1eiKqd.js +1 -0
- package/dist/components/p-C1CTahjH.js +1 -0
- package/dist/components/{p-BLiWCyrD.js → p-C4XdTZQ-.js} +1 -1
- package/dist/components/p-C99SMdU_.js +1 -0
- package/dist/components/{p-BFisF7aN.js → p-CHHEp_7y.js} +1 -1
- package/dist/components/{p-DSxDXNWp.js → p-CLe_N2_H.js} +1 -1
- package/dist/components/{p-DezdwzYQ.js → p-CNF3u0Li.js} +1 -1
- package/dist/components/p-CNZ8_QvE.js +8 -0
- package/dist/components/{p-DaptTdaU.js → p-CSxW5f2f.js} +1 -1
- package/dist/components/{p-BlnEiKN4.js → p-CVRN4LDc.js} +1 -1
- package/dist/components/p-CWk1SCJg.js +1 -0
- package/dist/components/{p-sM-eFjwq.js → p-Cd8id3Br.js} +1 -1
- package/dist/components/p-CfQETwAK.js +1 -0
- package/dist/components/p-ClPv-Ljc.js +1 -0
- package/dist/components/{p-cIZniMh0.js → p-Cmn1DJAB.js} +1 -1
- package/dist/components/{p-fhAmrBfl.js → p-D-DdDIb9.js} +1 -1
- package/dist/components/{p-D4JiVIoh.js → p-D2d9eOLi.js} +1 -1
- package/dist/components/p-D8wd-EZX.js +1 -0
- package/dist/components/{p-B1bYa-o0.js → p-DCrdKrky.js} +1 -1
- package/dist/components/{p-D_0rjNZp.js → p-DF3PrYBI.js} +1 -1
- package/dist/components/p-DNeEn8Rr.js +1 -0
- package/dist/components/{p-Bg5E4Wnq.js → p-DiUUZ7ZA.js} +1 -1
- package/dist/components/{p-DACnmwad.js → p-DkUdrGHq.js} +1 -1
- package/dist/components/{p-BL220gRU.js → p-Dm-OUwDe.js} +1 -1
- package/dist/components/p-DnySYX0L.js +1 -0
- package/dist/components/{p-B2p5a1Y8.js → p-TZJN-ygm.js} +1 -1
- package/dist/components/{p-B6B6q5kP.js → p-ZuubAcA3.js} +1 -1
- package/dist/{magma-components/p-ZaZnuNvg.js → components/p-jasGzfhE.js} +1 -1
- package/dist/components/p-nsbhb0lz.js +1 -0
- package/dist/components/{p-JPhOaOXe.js → p-s1CktmPS.js} +1 -1
- package/dist/components/{p-NOw8-OrM.js → p-uqwixjju.js} +1 -1
- package/dist/documentation.json +431 -11
- package/dist/esm/{floating-controller-BV0E_Juq.js → floating-controller-BVlbYYkf.js} +2 -2
- package/dist/esm/{index-CPRkNQdE.js → index-CvLLN-QH.js} +5 -1
- package/dist/esm/{index-DI_6NAg0.js → index-D2_gI0qp.js} +1 -1
- package/dist/esm/index.js +3 -63
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{locale-DfpXg7qZ.js → locale-BQmO6K_S.js} +1 -1
- package/dist/esm/magma-components.js +3 -3
- package/dist/esm/mds-accordion-item.entry.js +3 -3
- package/dist/esm/mds-accordion-timer-item.entry.js +3 -3
- package/dist/esm/mds-accordion-timer.entry.js +2 -2
- package/dist/esm/mds-accordion.entry.js +3 -3
- package/dist/esm/mds-author.entry.js +1 -1
- package/dist/esm/mds-avatar-stack-item.entry.js +1 -1
- package/dist/esm/mds-avatar-stack.entry.js +1 -1
- package/dist/esm/mds-avatar.entry.js +2 -2
- package/dist/esm/mds-badge.entry.js +2 -2
- package/dist/esm/mds-banner_3.entry.js +6 -6
- package/dist/esm/mds-benchmark-bar.entry.js +1 -1
- package/dist/esm/mds-bibliography.entry.js +1 -1
- package/dist/esm/mds-breadcrumb-item.entry.js +2 -2
- package/dist/esm/mds-breadcrumb.entry.js +3 -3
- package/dist/esm/mds-button-dropdown.entry.js +3 -3
- package/dist/esm/mds-button-group.entry.js +1 -1
- package/dist/esm/mds-button_3.entry.js +6 -5
- package/dist/esm/mds-calendar_2.entry.js +4 -4
- package/dist/esm/mds-card-content.entry.js +1 -1
- package/dist/esm/mds-card-footer.entry.js +1 -1
- package/dist/esm/mds-card-header.entry.js +1 -1
- package/dist/esm/mds-card-media.entry.js +1 -1
- package/dist/esm/mds-card.entry.js +3 -3
- package/dist/esm/mds-details.entry.js +3 -3
- package/dist/esm/mds-dropdown.entry.js +5 -5
- package/dist/esm/mds-emoji.entry.js +38 -8
- package/dist/esm/mds-entity.entry.js +4 -4
- package/dist/esm/mds-file-preview.entry.js +4 -4
- package/dist/esm/mds-file.entry.js +3 -3
- package/dist/esm/mds-filter-item.entry.js +3 -3
- package/dist/esm/mds-filter.entry.js +4 -4
- package/dist/esm/mds-header-bar.entry.js +4 -4
- package/dist/esm/mds-header.entry.js +3 -3
- package/dist/esm/mds-horizontal-scroll.entry.js +5 -5
- package/dist/esm/mds-hr.entry.js +2 -2
- package/dist/esm/mds-img.entry.js +3 -3
- package/dist/esm/mds-input-date-range-preselection.entry.js +1 -1
- package/dist/esm/mds-input-date-range.entry.js +4 -4
- package/dist/esm/mds-input-date.entry.js +5 -5
- package/dist/esm/mds-input-field.entry.js +1 -1
- package/dist/esm/mds-input-otp.entry.js +3 -3
- package/dist/esm/mds-input-range.entry.js +2 -2
- package/dist/esm/mds-input-select.entry.js +5 -5
- package/dist/esm/mds-input-switch_2.entry.js +7 -7
- package/dist/esm/mds-input-tip_2.entry.js +3 -3
- package/dist/esm/mds-input-upload.entry.js +4 -4
- package/dist/esm/mds-input.entry.js +5 -5
- package/dist/esm/mds-keyboard-key.entry.js +4 -4
- package/dist/esm/mds-keyboard.entry.js +4 -4
- package/dist/esm/mds-kpi-item.entry.js +2 -2
- package/dist/esm/mds-kpi.entry.js +2 -2
- package/dist/esm/mds-label.entry.js +3 -3
- package/dist/esm/mds-link.entry.js +145 -0
- package/dist/esm/mds-list-item.entry.js +3 -3
- package/dist/esm/mds-list.entry.js +2 -2
- package/dist/esm/mds-mention.entry.js +4 -4
- package/dist/esm/mds-modal.entry.js +8 -8
- package/dist/esm/mds-note.entry.js +5 -5
- package/dist/esm/mds-notification.entry.js +4 -4
- package/dist/esm/mds-paginator-item.entry.js +3 -3
- package/dist/esm/mds-paginator.entry.js +5 -5
- package/dist/esm/mds-policy-ai.entry.js +4 -4
- package/dist/esm/mds-pref-animation.entry.js +4 -4
- package/dist/esm/mds-pref-consumption.entry.js +4 -4
- package/dist/esm/mds-pref-contrast.entry.js +4 -4
- package/dist/esm/mds-pref-language-item.entry.js +4 -4
- package/dist/esm/mds-pref-language.entry.js +4 -4
- package/dist/esm/mds-pref-mode.entry.js +6 -6
- package/dist/esm/mds-pref-theme-item.entry.js +2 -2
- package/dist/esm/mds-pref-theme.entry.js +4 -4
- package/dist/esm/mds-pref.entry.js +4 -4
- package/dist/esm/mds-price-table-features-cell.entry.js +3 -3
- package/dist/esm/mds-price-table-features-row.entry.js +3 -3
- package/dist/esm/mds-price-table-features.entry.js +3 -3
- package/dist/esm/mds-price-table-header.entry.js +2 -2
- package/dist/esm/mds-price-table-list-item.entry.js +2 -2
- package/dist/esm/mds-price-table-list.entry.js +3 -3
- package/dist/esm/mds-price-table.entry.js +2 -2
- package/dist/esm/mds-progress_2.entry.js +5 -5
- package/dist/esm/mds-push-notification-item.entry.js +6 -6
- package/dist/esm/mds-push-notification.entry.js +6 -6
- package/dist/esm/mds-quote.entry.js +3 -3
- package/dist/esm/mds-radial-menu-item.entry.js +3 -3
- package/dist/esm/mds-radial-menu.entry.js +7 -7
- package/dist/esm/mds-separator.entry.js +3 -3
- package/dist/esm/mds-status-bar.entry.js +4 -4
- package/dist/esm/mds-stepper-bar-item.entry.js +5 -5
- package/dist/esm/mds-stepper-bar.entry.js +2 -2
- package/dist/esm/mds-tab-bar-item.entry.js +4 -4
- package/dist/esm/mds-tab-bar.entry.js +3 -3
- package/dist/esm/mds-tab_2.entry.js +7 -7
- package/dist/esm/mds-table-body.entry.js +3 -3
- package/dist/esm/mds-table-footer.entry.js +3 -3
- package/dist/esm/mds-table-header-cell.entry.js +3 -3
- package/dist/esm/mds-table-header.entry.js +4 -4
- package/dist/esm/mds-table-row.entry.js +6 -6
- package/dist/esm/mds-table.entry.js +5 -5
- package/dist/esm/mds-text.entry.js +3 -3
- package/dist/esm/mds-toast-region.entry.js +2 -2
- package/dist/esm/mds-toast.entry.js +6 -6
- package/dist/esm/mds-tooltip.entry.js +6 -6
- package/dist/esm/mds-tree-item.entry.js +6 -6
- package/dist/esm/mds-tree.entry.js +3 -3
- package/dist/esm/mds-url-view.entry.js +4 -4
- package/dist/esm/mds-usage.entry.js +4 -4
- package/dist/esm/mds-video-wall.entry.js +3 -3
- package/dist/esm/mds-zero.entry.js +4 -4
- package/dist/esm/navigation-Bz1eiKqd.js +62 -0
- package/dist/esm/polyfills/core-js.js +0 -0
- package/dist/esm/polyfills/dom.js +0 -0
- package/dist/esm/polyfills/es5-html-element.js +0 -0
- package/dist/esm/polyfills/index.js +0 -0
- package/dist/esm/polyfills/system.js +0 -0
- package/dist/esm/{preference-Ch1zJnqq.js → preference-C5XjgGCb.js} +1 -1
- package/dist/esm/{unit-D8eZRaSQ.js → unit-CWk1SCJg.js} +1 -1
- package/dist/esm-es5/{floating-controller-BV0E_Juq.js → floating-controller-BVlbYYkf.js} +1 -1
- package/dist/esm-es5/{index-CPRkNQdE.js → index-CvLLN-QH.js} +4 -2
- package/dist/esm-es5/{index-DI_6NAg0.js → index-D2_gI0qp.js} +1 -1
- package/dist/esm-es5/index.js +20 -37
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{locale-DfpXg7qZ.js → locale-BQmO6K_S.js} +1 -1
- package/dist/esm-es5/magma-components.js +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/esm-es5/mds-badge.entry.js +1 -1
- package/dist/esm-es5/mds-banner_3.entry.js +3 -3
- 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 +2 -2
- 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 +15 -15
- package/dist/esm-es5/mds-emoji.entry.js +271 -251
- package/dist/esm-es5/mds-entity.entry.js +1 -1
- package/dist/esm-es5/mds-file-preview.entry.js +10 -10
- package/dist/esm-es5/mds-file.entry.js +1 -1
- 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 +2 -2
- 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 +15 -15
- 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 +3 -3
- 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 +2 -2
- 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-link.entry.js +39 -0
- package/dist/esm-es5/mds-list-item.entry.js +2 -2
- package/dist/esm-es5/mds-list.entry.js +1 -1
- package/dist/esm-es5/mds-mention.entry.js +2 -2
- package/dist/esm-es5/mds-modal.entry.js +3 -3
- package/dist/esm-es5/mds-note.entry.js +2 -2
- package/dist/esm-es5/mds-notification.entry.js +8 -8
- package/dist/esm-es5/mds-paginator-item.entry.js +2 -2
- package/dist/esm-es5/mds-paginator.entry.js +2 -2
- package/dist/esm-es5/mds-policy-ai.entry.js +2 -2
- package/dist/esm-es5/mds-pref-animation.entry.js +2 -2
- package/dist/esm-es5/mds-pref-consumption.entry.js +2 -2
- package/dist/esm-es5/mds-pref-contrast.entry.js +2 -2
- package/dist/esm-es5/mds-pref-language-item.entry.js +2 -2
- package/dist/esm-es5/mds-pref-language.entry.js +2 -2
- package/dist/esm-es5/mds-pref-mode.entry.js +2 -2
- package/dist/esm-es5/mds-pref-theme-item.entry.js +3 -3
- package/dist/esm-es5/mds-pref-theme.entry.js +2 -2
- package/dist/esm-es5/mds-pref.entry.js +2 -2
- package/dist/esm-es5/mds-price-table-features-cell.entry.js +2 -2
- 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 +2 -2
- package/dist/esm-es5/mds-price-table-list.entry.js +2 -2
- package/dist/esm-es5/mds-price-table.entry.js +1 -1
- package/dist/esm-es5/mds-progress_2.entry.js +3 -3
- package/dist/esm-es5/mds-push-notification-item.entry.js +2 -2
- package/dist/esm-es5/mds-push-notification.entry.js +2 -2
- package/dist/esm-es5/mds-quote.entry.js +2 -2
- package/dist/esm-es5/mds-radial-menu-item.entry.js +2 -2
- package/dist/esm-es5/mds-radial-menu.entry.js +4 -4
- package/dist/esm-es5/mds-separator.entry.js +1 -1
- package/dist/esm-es5/mds-status-bar.entry.js +2 -2
- package/dist/esm-es5/mds-stepper-bar-item.entry.js +2 -2
- package/dist/esm-es5/mds-stepper-bar.entry.js +2 -2
- package/dist/esm-es5/mds-tab-bar-item.entry.js +2 -2
- package/dist/esm-es5/mds-tab-bar.entry.js +2 -2
- package/dist/esm-es5/mds-tab_2.entry.js +3 -3
- package/dist/esm-es5/mds-table-body.entry.js +1 -1
- package/dist/esm-es5/mds-table-footer.entry.js +2 -2
- package/dist/esm-es5/mds-table-header-cell.entry.js +2 -2
- package/dist/esm-es5/mds-table-header.entry.js +2 -2
- package/dist/esm-es5/mds-table-row.entry.js +2 -2
- package/dist/esm-es5/mds-table.entry.js +2 -2
- package/dist/esm-es5/mds-text.entry.js +2 -2
- package/dist/esm-es5/mds-toast-region.entry.js +3 -3
- package/dist/esm-es5/mds-toast.entry.js +2 -2
- package/dist/esm-es5/mds-tooltip.entry.js +3 -3
- package/dist/esm-es5/mds-tree-item.entry.js +2 -2
- package/dist/esm-es5/mds-tree.entry.js +2 -2
- package/dist/esm-es5/mds-url-view.entry.js +2 -2
- package/dist/esm-es5/mds-usage.entry.js +2 -2
- package/dist/esm-es5/mds-video-wall.entry.js +2 -2
- package/dist/esm-es5/mds-zero.entry.js +1 -1
- package/dist/esm-es5/navigation-Bz1eiKqd.js +17 -0
- package/dist/esm-es5/{preference-Ch1zJnqq.js → preference-C5XjgGCb.js} +4 -4
- package/dist/esm-es5/unit-CWk1SCJg.js +1 -0
- package/dist/hydrate/index.js +496 -304
- package/dist/hydrate/index.mjs +496 -304
- package/dist/magma-components/index.esm.js +1 -1
- package/dist/magma-components/magma-components.esm.js +1 -1
- package/dist/magma-components/magma-components.js +1 -1
- package/dist/magma-components/{p-028f3717.entry.js → p-000c315c.entry.js} +1 -1
- package/dist/magma-components/{p-4fdda209.system.entry.js → p-0033cb92.system.entry.js} +2 -2
- package/dist/magma-components/{p-2a2b7c43.entry.js → p-0148cf0a.entry.js} +1 -1
- package/dist/magma-components/{p-6c91b00d.system.entry.js → p-02298ed0.system.entry.js} +2 -2
- package/dist/magma-components/p-02fe26b4.system.entry.js +35 -0
- package/dist/magma-components/p-05ed801b.system.entry.js +14 -0
- package/dist/magma-components/{p-a1ca2441.system.entry.js → p-0679c988.system.entry.js} +1 -1
- package/dist/magma-components/{p-3bb26611.entry.js → p-068e30a5.entry.js} +1 -1
- package/dist/magma-components/{p-1f9ebc0d.entry.js → p-06ccc40d.entry.js} +1 -1
- package/dist/magma-components/{p-926ef760.entry.js → p-06fde29d.entry.js} +1 -1
- package/dist/magma-components/{p-176e6d9d.system.entry.js → p-08370fc2.system.entry.js} +1 -1
- package/dist/magma-components/{p-e032e77f.system.entry.js → p-083dceb8.system.entry.js} +1 -1
- package/dist/magma-components/{p-a136e6fe.system.entry.js → p-09a7b578.system.entry.js} +1 -1
- package/dist/magma-components/{p-e6ed6e12.entry.js → p-09f621ea.entry.js} +1 -1
- package/dist/magma-components/p-0a8e8525.entry.js +1 -0
- package/dist/magma-components/p-0b3e4a97.system.entry.js +39 -0
- package/dist/magma-components/p-0d32e196.system.entry.js +81 -0
- package/dist/magma-components/{p-0f47fd37.system.entry.js → p-0e887379.system.entry.js} +2 -2
- package/dist/magma-components/p-0eb3558a.entry.js +1 -0
- package/dist/magma-components/p-104ba54e.system.entry.js +13 -0
- package/dist/magma-components/{p-8d8c9c90.entry.js → p-15ffdcf6.entry.js} +1 -1
- package/dist/magma-components/{p-3ac09ace.entry.js → p-1908f808.entry.js} +1 -1
- package/dist/magma-components/{p-c4286fb7.system.entry.js → p-1d2220f0.system.entry.js} +1 -1
- package/dist/magma-components/{p-eebf450c.system.entry.js → p-1e18fcc5.system.entry.js} +2 -2
- package/dist/magma-components/{p-36ad5759.system.entry.js → p-1eee93c8.system.entry.js} +1 -1
- package/dist/magma-components/p-1f623b75.entry.js +1 -0
- package/dist/magma-components/{p-a1443292.entry.js → p-1faa4f71.entry.js} +1 -1
- package/dist/magma-components/{p-af704402.system.entry.js → p-21547758.system.entry.js} +1 -1
- package/dist/magma-components/{p-0dd4b006.entry.js → p-221c2f0d.entry.js} +1 -1
- package/dist/magma-components/{p-0727d8f9.entry.js → p-23722401.entry.js} +1 -1
- package/dist/magma-components/p-23c057a9.entry.js +1 -0
- package/dist/magma-components/p-23fabd66.system.entry.js +1 -0
- package/dist/magma-components/{p-a40443ca.system.entry.js → p-2431fbfa.system.entry.js} +1 -1
- package/dist/magma-components/{p-3fb98529.system.entry.js → p-244676d3.system.entry.js} +1 -1
- package/dist/magma-components/{p-cc0cb701.entry.js → p-254ee71d.entry.js} +1 -1
- package/dist/magma-components/{p-a2ec6eac.entry.js → p-25a6e977.entry.js} +1 -1
- package/dist/magma-components/p-26451eb6.entry.js +1 -0
- package/dist/magma-components/p-26b9f2b7.system.entry.js +80 -0
- package/dist/magma-components/{p-2362b91a.entry.js → p-278c362d.entry.js} +1 -1
- package/dist/magma-components/{p-3725c2c1.entry.js → p-287601bb.entry.js} +1 -1
- package/dist/magma-components/{p-b62bbd07.entry.js → p-29162c98.entry.js} +1 -1
- package/dist/magma-components/{p-166c0190.entry.js → p-29450db3.entry.js} +1 -1
- package/dist/magma-components/{p-916a26e4.entry.js → p-295d8fab.entry.js} +1 -1
- package/dist/magma-components/p-29ab84bf.system.entry.js +41 -0
- package/dist/magma-components/p-2a964578.entry.js +1 -0
- package/dist/magma-components/{p-a7bad4e8.entry.js → p-2aac4003.entry.js} +1 -1
- package/dist/magma-components/p-2c845743.system.entry.js +1 -0
- package/dist/magma-components/{p-be32b7a9.system.entry.js → p-2cbd532a.system.entry.js} +1 -1
- package/dist/magma-components/{p-e471decd.system.entry.js → p-2cdf450c.system.entry.js} +1 -1
- package/dist/magma-components/{p-3ba5ddae.entry.js → p-2d3b5eb5.entry.js} +1 -1
- package/dist/magma-components/{p-5219eba6.system.entry.js → p-2e48f88d.system.entry.js} +2 -2
- package/dist/magma-components/{p-8f5f2dfe.system.entry.js → p-2eb4efcd.system.entry.js} +2 -2
- package/dist/magma-components/{p-c89c2e30.entry.js → p-30be5c39.entry.js} +1 -1
- package/dist/magma-components/{p-62e65f3b.entry.js → p-335244bb.entry.js} +1 -1
- package/dist/magma-components/{p-e49818c4.entry.js → p-336f56a4.entry.js} +1 -1
- package/dist/magma-components/p-34c2daa9.system.entry.js +25 -0
- package/dist/magma-components/p-357724ab.entry.js +1 -0
- package/dist/magma-components/{p-911dc847.entry.js → p-358aa5e7.entry.js} +1 -1
- package/dist/magma-components/p-377d0661.entry.js +1 -0
- package/dist/magma-components/{p-23bf1afa.system.entry.js → p-396d95a1.system.entry.js} +2 -2
- package/dist/magma-components/{p-e5ab1f4f.entry.js → p-3abaa053.entry.js} +1 -1
- package/dist/magma-components/{p-0c9bdfff.system.entry.js → p-3beea731.system.entry.js} +1 -1
- package/dist/magma-components/{p-a61623f9.system.entry.js → p-3d162e99.system.entry.js} +2 -2
- package/dist/magma-components/p-3d95e688.system.entry.js +111 -0
- package/dist/magma-components/{p-721b625a.system.entry.js → p-3dc81ab9.system.entry.js} +9 -9
- package/dist/magma-components/{p-6bc4114c.system.entry.js → p-3df07021.system.entry.js} +1 -1
- package/dist/magma-components/p-3fb46ab9.system.entry.js +1 -0
- package/dist/magma-components/{p-4a051ef5.system.entry.js → p-3fd8ff0e.system.entry.js} +2 -2
- package/dist/magma-components/{p-f43379ef.entry.js → p-41a0f896.entry.js} +1 -1
- package/dist/magma-components/{p-4d079b1a.system.entry.js → p-41a28f2a.system.entry.js} +3 -3
- package/dist/magma-components/p-42e50f25.system.entry.js +55 -0
- package/dist/magma-components/{p-95328cc7.system.entry.js → p-458eb34c.system.entry.js} +2 -2
- package/dist/magma-components/p-464e6431.entry.js +1 -0
- package/dist/magma-components/p-471227f2.system.entry.js +27 -0
- package/dist/magma-components/{p-8e08ae08.system.entry.js → p-47717251.system.entry.js} +3 -3
- package/dist/magma-components/p-4776ac1f.entry.js +1 -0
- package/dist/magma-components/{p-b919ce62.entry.js → p-4792ff7f.entry.js} +1 -1
- package/dist/magma-components/p-481897a7.entry.js +1 -0
- package/dist/magma-components/{p-72cc4977.system.entry.js → p-4bc3335f.system.entry.js} +1 -1
- package/dist/magma-components/{p-b58363e2.system.entry.js → p-4bc47ff0.system.entry.js} +2 -2
- package/dist/magma-components/{p-648ec03b.system.entry.js → p-4c6da1db.system.entry.js} +5 -5
- package/dist/magma-components/{p-5b21eb78.entry.js → p-4cabfdbc.entry.js} +1 -1
- package/dist/magma-components/{p-f30cdd34.system.entry.js → p-4d485e1f.system.entry.js} +1 -1
- package/dist/magma-components/{p-da532544.system.entry.js → p-52d905fe.system.entry.js} +1 -1
- package/dist/magma-components/{p-23ce0824.entry.js → p-5435f2a9.entry.js} +1 -1
- package/dist/magma-components/{p-29d4605e.system.entry.js → p-5533b60d.system.entry.js} +4 -4
- package/dist/magma-components/p-55746791.entry.js +1 -0
- package/dist/magma-components/{p-37b801d0.system.entry.js → p-577ae081.system.entry.js} +2 -2
- package/dist/magma-components/{p-52d5d104.system.entry.js → p-57839384.system.entry.js} +2 -2
- package/dist/magma-components/p-5c4e41d3.system.entry.js +54 -0
- package/dist/magma-components/p-5cfa0dce.entry.js +1 -0
- package/dist/magma-components/{p-9bdca8b4.entry.js → p-5da14e81.entry.js} +1 -1
- package/dist/magma-components/{p-f7af41fb.system.entry.js → p-5ef0fb69.system.entry.js} +2 -2
- package/dist/magma-components/{p-a4f46de1.system.entry.js → p-5f8db04c.system.entry.js} +2 -2
- package/dist/magma-components/p-617370e7.system.entry.js +98 -0
- package/dist/magma-components/{p-0bcf3bb6.entry.js → p-62fc9695.entry.js} +1 -1
- package/dist/magma-components/{p-d9551916.system.entry.js → p-632ad925.system.entry.js} +22 -22
- package/dist/magma-components/{p-4ea00c22.entry.js → p-63b10a6e.entry.js} +1 -1
- package/dist/magma-components/{p-b40ef7ab.system.entry.js → p-642925b7.system.entry.js} +2 -2
- package/dist/magma-components/{p-32bfb09c.entry.js → p-6436178a.entry.js} +1 -1
- package/dist/magma-components/p-644e64a0.entry.js +1 -0
- package/dist/magma-components/p-6560b426.system.entry.js +4 -0
- package/dist/magma-components/p-656b00df.system.entry.js +34 -0
- package/dist/magma-components/{p-f88c202e.entry.js → p-67eb3881.entry.js} +1 -1
- package/dist/magma-components/p-69abd1d1.entry.js +1 -0
- package/dist/magma-components/{p-5ea3be82.system.entry.js → p-6a2d67d1.system.entry.js} +2 -2
- package/dist/magma-components/p-6e32bf99.entry.js +1 -0
- package/dist/magma-components/{p-7497b39d.system.entry.js → p-6f81c9ef.system.entry.js} +2 -2
- package/dist/magma-components/p-70d38284.entry.js +1 -0
- package/dist/magma-components/{p-1f5cd2b5.entry.js → p-71cbc840.entry.js} +1 -1
- package/dist/magma-components/{p-4582aa3e.system.entry.js → p-729c89f9.system.entry.js} +1 -1
- package/dist/magma-components/p-72ad419d.system.entry.js +10 -0
- package/dist/magma-components/p-73833405.entry.js +18 -0
- package/dist/magma-components/{p-aa8653b1.system.entry.js → p-74f515c3.system.entry.js} +2 -2
- package/dist/magma-components/{p-f3763382.entry.js → p-762a6b7b.entry.js} +1 -1
- package/dist/magma-components/p-772c18f4.entry.js +1 -0
- package/dist/magma-components/p-77939a25.system.entry.js +20 -0
- package/dist/magma-components/{p-88ac5d50.entry.js → p-791a6a6f.entry.js} +1 -1
- package/dist/magma-components/{p-11feeebf.system.entry.js → p-7961c335.system.entry.js} +1 -1
- package/dist/magma-components/{p-3871807a.entry.js → p-7bf46d43.entry.js} +1 -1
- package/dist/magma-components/p-7c217aa5.entry.js +1 -0
- package/dist/magma-components/{p-2abfc393.entry.js → p-7ec1ea2e.entry.js} +1 -1
- package/dist/magma-components/{p-db75bf05.system.entry.js → p-7fde3025.system.entry.js} +3 -3
- package/dist/magma-components/{p-38a9e862.entry.js → p-808b9277.entry.js} +1 -1
- package/dist/magma-components/{p-11e50140.system.entry.js → p-80eea067.system.entry.js} +2 -2
- package/dist/magma-components/p-8173ed07.entry.js +8 -0
- package/dist/magma-components/{p-8059aa67.system.entry.js → p-81e02997.system.entry.js} +3 -3
- package/dist/magma-components/{p-47f7366c.entry.js → p-8258733b.entry.js} +1 -1
- package/dist/magma-components/{p-f5a08dca.system.entry.js → p-8279056b.system.entry.js} +2 -2
- package/dist/magma-components/{p-d8d87750.system.entry.js → p-835d79e5.system.entry.js} +1 -1
- package/dist/magma-components/{p-288f3cfe.entry.js → p-837d31b8.entry.js} +1 -1
- package/dist/magma-components/{p-342770d2.system.entry.js → p-84777b38.system.entry.js} +2 -2
- package/dist/magma-components/{p-88be542e.system.entry.js → p-84ed22ea.system.entry.js} +2 -2
- package/dist/magma-components/{p-dfbecf72.system.entry.js → p-860bce85.system.entry.js} +3 -3
- package/dist/magma-components/p-8645533a.entry.js +1 -0
- package/dist/magma-components/{p-7d548a19.entry.js → p-8680f63e.entry.js} +1 -1
- package/dist/magma-components/{p-f9b5a5ec.entry.js → p-86cf87fb.entry.js} +1 -1
- package/dist/magma-components/{p-007968a8.system.entry.js → p-8740403e.system.entry.js} +3 -3
- package/dist/magma-components/p-87ce9d6c.entry.js +1 -0
- package/dist/magma-components/{p-20469b7a.system.entry.js → p-880f3eac.system.entry.js} +1 -1
- package/dist/magma-components/{p-fcaa81b3.entry.js → p-89d4b6e9.entry.js} +1 -1
- package/dist/magma-components/{p-5d9b1fe5.entry.js → p-8a76097f.entry.js} +1 -1
- package/dist/magma-components/{p-e8b9d639.entry.js → p-8a9544aa.entry.js} +1 -1
- package/dist/magma-components/{p-1fe66383.system.entry.js → p-8ab9ff37.system.entry.js} +1 -1
- package/dist/magma-components/p-8d6470fb.system.entry.js +13 -0
- package/dist/magma-components/p-8f63f1a1.system.entry.js +35 -0
- package/dist/magma-components/{p-3093af30.system.entry.js → p-8f7daab1.system.entry.js} +1 -1
- package/dist/magma-components/{p-cc109576.entry.js → p-919f9dce.entry.js} +1 -1
- package/dist/magma-components/p-9250ec26.system.entry.js +7 -0
- package/dist/magma-components/{p-547f657e.system.entry.js → p-94289f3d.system.entry.js} +5 -5
- package/dist/magma-components/{p-b514bd3a.system.entry.js → p-95478664.system.entry.js} +1 -1
- package/dist/magma-components/p-96bb36b9.entry.js +1 -0
- package/dist/magma-components/{p-ecb87d38.entry.js → p-9745dc51.entry.js} +1 -1
- package/dist/magma-components/p-984dd850.entry.js +1 -0
- package/dist/magma-components/{p-8b081ba9.entry.js → p-9855b517.entry.js} +1 -1
- package/dist/magma-components/{p-2f3c6105.entry.js → p-9a3ddc91.entry.js} +1 -1
- package/dist/magma-components/{p-9e7d02e5.entry.js → p-9f8ce68f.entry.js} +1 -1
- package/dist/magma-components/p-9fc385aa.entry.js +1 -0
- package/dist/magma-components/p-B-nayZ3E.system.js +1 -0
- package/dist/magma-components/p-B8zYiZQY.system.js +5 -0
- package/dist/magma-components/{p-CmzGV0XD.system.js → p-BZP13mns.system.js} +1 -1
- package/dist/magma-components/p-BoDvZoCN.system.js +18 -0
- package/dist/magma-components/p-Bz1eiKqd.js +1 -0
- package/dist/{components/p-Dleapw-k.js → magma-components/p-CLhuNxYQ.js} +1 -1
- package/dist/magma-components/p-CWk1SCJg.js +1 -0
- package/dist/magma-components/{p-5vJawLPw.system.js → p-CZuIEo2v.system.js} +1 -1
- package/dist/magma-components/{p-CPRkNQdE.js → p-CvLLN-QH.js} +1 -1
- package/dist/magma-components/{p-LUd56iG_.system.js → p-DXAjcaHM.system.js} +1 -1
- package/dist/magma-components/{p-C1ailvfu.system.js → p-OOCOFWC0.system.js} +18 -18
- package/dist/{components/p-B9dgiq4u.js → magma-components/p-Raj-urIN.js} +1 -1
- package/dist/magma-components/{p-zQY2FlcD.js → p-U5iXN1wy.js} +1 -1
- package/dist/magma-components/p-VOjLCGlK.system.js +90 -0
- package/dist/magma-components/p-a70fb4fb.system.entry.js +105 -0
- package/dist/magma-components/{p-1809e47d.system.entry.js → p-a76a9f92.system.entry.js} +153 -133
- package/dist/magma-components/p-a7c01334.entry.js +1 -0
- package/dist/magma-components/p-a8e1ce2f.entry.js +1 -0
- package/dist/magma-components/{p-d0c0c195.entry.js → p-a9ba496d.entry.js} +1 -1
- package/dist/magma-components/{p-ef4d07ba.entry.js → p-ab00b7b9.entry.js} +1 -1
- package/dist/magma-components/p-ab4b617d.entry.js +1 -0
- package/dist/magma-components/p-ae3bf24c.system.entry.js +12 -0
- package/dist/magma-components/{p-495a70e2.entry.js → p-b23bee0c.entry.js} +1 -1
- package/dist/magma-components/p-b476435f.entry.js +1 -0
- package/dist/magma-components/p-b5789a7c.entry.js +1 -0
- package/dist/magma-components/{p-bc30508b.entry.js → p-b738d3c1.entry.js} +1 -1
- package/dist/magma-components/{p-ff4276d3.system.entry.js → p-bd97e368.system.entry.js} +1 -1
- package/dist/magma-components/p-bf0cb77d.system.entry.js +29 -0
- package/dist/magma-components/{p-6b2fff4b.system.entry.js → p-c3a3caae.system.entry.js} +1 -1
- package/dist/magma-components/{p-890bae38.system.entry.js → p-c3c487aa.system.entry.js} +1 -1
- package/dist/magma-components/{p-a47a9f11.system.entry.js → p-c50e20cf.system.entry.js} +1 -1
- package/dist/magma-components/p-c6819aad.entry.js +1 -0
- package/dist/magma-components/p-ca1969c5.entry.js +1 -0
- package/dist/magma-components/p-cbb80188.entry.js +1 -0
- package/dist/magma-components/{p-cc88c963.system.entry.js → p-cc9659e1.system.entry.js} +1 -1
- package/dist/magma-components/{p-da6cf595.system.entry.js → p-ccc40c6a.system.entry.js} +2 -2
- package/dist/magma-components/p-cf6f54e5.system.entry.js +9 -0
- package/dist/magma-components/p-d0a93a14.system.entry.js +22 -0
- package/dist/magma-components/{p-dbf69d54.system.entry.js → p-d0bfdb44.system.entry.js} +2 -2
- package/dist/magma-components/p-d37fe692.system.entry.js +10 -0
- package/dist/magma-components/{p-c1d8a25e.entry.js → p-d3d74616.entry.js} +1 -1
- package/dist/magma-components/{p-da9afc4b.system.entry.js → p-d48c40ab.system.entry.js} +2 -2
- package/dist/magma-components/{p-b728638c.system.entry.js → p-d561062f.system.entry.js} +4 -4
- package/dist/magma-components/p-d6b38d8a.entry.js +1 -0
- package/dist/magma-components/p-d8ae0f02.system.entry.js +15 -0
- package/dist/magma-components/{p-25576b51.system.entry.js → p-d92ccce5.system.entry.js} +2 -2
- package/dist/magma-components/{p-a2d10402.system.entry.js → p-d980c3d2.system.entry.js} +1 -1
- package/dist/magma-components/p-da24a265.entry.js +1 -0
- package/dist/magma-components/p-dbd34e3b.entry.js +1 -0
- package/dist/magma-components/{p-21fe0fef.system.entry.js → p-dc1a5826.system.entry.js} +1 -1
- package/dist/magma-components/p-e1383302.entry.js +1 -0
- package/dist/magma-components/{p-95486c6a.system.entry.js → p-e39518b4.system.entry.js} +2 -2
- package/dist/magma-components/{p-b509fb36.entry.js → p-e3a65644.entry.js} +1 -1
- package/dist/magma-components/{p-1a5411a8.entry.js → p-e5950aee.entry.js} +1 -1
- package/dist/magma-components/{p-3a88fc9b.system.entry.js → p-e5d41024.system.entry.js} +1 -1
- package/dist/magma-components/{p-14b40c21.entry.js → p-e5eb2390.entry.js} +1 -1
- package/dist/magma-components/{p-8ba250d6.system.entry.js → p-edf003f1.system.entry.js} +1 -1
- package/dist/magma-components/p-f1aafe07.entry.js +1 -0
- package/dist/magma-components/{p-69b37755.system.entry.js → p-f2f992c2.system.entry.js} +2 -2
- package/dist/magma-components/{p-1287fb51.entry.js → p-f35608b2.entry.js} +1 -1
- package/dist/magma-components/{p-b940888d.entry.js → p-f4d80d9a.entry.js} +1 -1
- package/dist/magma-components/{p-fd53a51c.entry.js → p-f588cf9e.entry.js} +1 -1
- package/dist/magma-components/{p-a53f6a94.system.entry.js → p-f66675f5.system.entry.js} +2 -2
- package/dist/magma-components/{p-4225484c.entry.js → p-f670ed20.entry.js} +1 -1
- package/dist/magma-components/{p-96f973e3.entry.js → p-f7147d05.entry.js} +1 -1
- package/dist/magma-components/{p-4f24ccf3.entry.js → p-f78c1699.entry.js} +1 -1
- package/dist/magma-components/{p-f48843b7.system.entry.js → p-f82c2b7e.system.entry.js} +1 -1
- package/dist/magma-components/{p-ce2ef293.system.entry.js → p-f889d413.system.entry.js} +7 -7
- package/dist/magma-components/{p-70a911e8.entry.js → p-fac6f123.entry.js} +1 -1
- package/dist/magma-components/{p-90fe332f.entry.js → p-fc2d1134.entry.js} +1 -1
- package/dist/magma-components/{p-C25F_FlB.js → p-iX3kcwYg.js} +1 -1
- package/dist/magma-components/{p-D8596ytD.system.js → p-mGgjNqBm.system.js} +6 -6
- package/dist/stats.json +3560 -2714
- package/dist/types/components/mds-emoji/mds-emoji.d.ts +2 -0
- package/dist/types/components/mds-entity/mds-entity.d.ts +1 -0
- package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +3 -3
- package/dist/types/components/mds-link/mds-link.d.ts +71 -0
- package/dist/types/components/mds-link/meta/dictionary.d.ts +3 -0
- package/dist/types/components/mds-link/meta/types.d.ts +3 -0
- package/dist/types/components.d.ts +103 -4
- package/package.json +11 -10
- package/dist/components/p-2gaGDQwL.js +0 -1
- package/dist/components/p-AFBkzOrP.js +0 -1
- package/dist/components/p-BN5kmfLJ.js +0 -8
- package/dist/components/p-BUr3NqxM.js +0 -1
- package/dist/components/p-BjFCjSw6.js +0 -1
- package/dist/components/p-CIWWmisz.js +0 -1
- package/dist/components/p-CJyTL7Mj.js +0 -1
- package/dist/components/p-CylHulxe.js +0 -1
- package/dist/components/p-D3_jgpKd.js +0 -1
- package/dist/components/p-D8eZRaSQ.js +0 -1
- package/dist/components/p-DGGk8PS_.js +0 -1
- package/dist/components/p-DYpfVn7a.js +0 -1
- package/dist/components/p-wHQGpA62.js +0 -1
- package/dist/esm-es5/unit-D8eZRaSQ.js +0 -1
- package/dist/magma-components/p-0b5fe949.entry.js +0 -1
- package/dist/magma-components/p-0b7a884e.system.entry.js +0 -29
- package/dist/magma-components/p-12a2f8e2.system.entry.js +0 -13
- package/dist/magma-components/p-1989c0b4.entry.js +0 -8
- package/dist/magma-components/p-20608f69.system.entry.js +0 -35
- package/dist/magma-components/p-2061e567.entry.js +0 -1
- package/dist/magma-components/p-21c2d7bd.entry.js +0 -1
- package/dist/magma-components/p-2294945a.system.entry.js +0 -34
- package/dist/magma-components/p-2aab3752.entry.js +0 -1
- package/dist/magma-components/p-2c4d2717.entry.js +0 -1
- package/dist/magma-components/p-2d7d9e4f.entry.js +0 -1
- package/dist/magma-components/p-3b36319a.entry.js +0 -1
- package/dist/magma-components/p-3e1b21bd.entry.js +0 -1
- package/dist/magma-components/p-3eaeb263.system.entry.js +0 -25
- package/dist/magma-components/p-4116e328.system.entry.js +0 -1
- package/dist/magma-components/p-4191bf22.entry.js +0 -1
- package/dist/magma-components/p-4260da67.system.entry.js +0 -12
- package/dist/magma-components/p-43338a07.entry.js +0 -1
- package/dist/magma-components/p-4c2dad1e.system.entry.js +0 -81
- package/dist/magma-components/p-505fb7d4.entry.js +0 -1
- package/dist/magma-components/p-51a869ee.entry.js +0 -1
- package/dist/magma-components/p-52a85b97.system.entry.js +0 -9
- package/dist/magma-components/p-53bcfdbb.entry.js +0 -1
- package/dist/magma-components/p-5439125d.system.entry.js +0 -10
- package/dist/magma-components/p-5a2deba5.entry.js +0 -1
- package/dist/magma-components/p-6b01ef3b.entry.js +0 -1
- package/dist/magma-components/p-6da68fd5.entry.js +0 -1
- package/dist/magma-components/p-6ebbcd7b.system.entry.js +0 -14
- package/dist/magma-components/p-70f5536c.system.entry.js +0 -15
- package/dist/magma-components/p-765ff9a3.system.entry.js +0 -98
- package/dist/magma-components/p-7a568cbf.entry.js +0 -1
- package/dist/magma-components/p-7f776dff.entry.js +0 -1
- package/dist/magma-components/p-811272a9.entry.js +0 -1
- package/dist/magma-components/p-87b15008.entry.js +0 -1
- package/dist/magma-components/p-8a4a2b5a.entry.js +0 -1
- package/dist/magma-components/p-93d8b236.system.entry.js +0 -10
- package/dist/magma-components/p-972ff8a9.entry.js +0 -18
- package/dist/magma-components/p-9a28bd8d.system.entry.js +0 -20
- package/dist/magma-components/p-9caf411a.system.entry.js +0 -13
- package/dist/magma-components/p-9e4e1a86.system.entry.js +0 -111
- package/dist/magma-components/p-BHS0WXNt.system.js +0 -107
- package/dist/magma-components/p-D8eZRaSQ.js +0 -1
- package/dist/magma-components/p-QYez4sql.system.js +0 -5
- package/dist/magma-components/p-_X0N_X__.system.js +0 -1
- package/dist/magma-components/p-a08d20c2.system.entry.js +0 -1
- package/dist/magma-components/p-a51f849a.entry.js +0 -1
- package/dist/magma-components/p-a6fe6b4c.system.entry.js +0 -1
- package/dist/magma-components/p-a8593847.entry.js +0 -1
- package/dist/magma-components/p-ac4109e3.entry.js +0 -1
- package/dist/magma-components/p-b36d54e1.system.entry.js +0 -41
- package/dist/magma-components/p-b48fc62e.entry.js +0 -1
- package/dist/magma-components/p-b6b7dc40.entry.js +0 -1
- package/dist/magma-components/p-b9e0b31d.entry.js +0 -1
- package/dist/magma-components/p-bba4c7eb.entry.js +0 -1
- package/dist/magma-components/p-be741e35.entry.js +0 -1
- package/dist/magma-components/p-c3622315.entry.js +0 -1
- package/dist/magma-components/p-c6db7a0f.system.entry.js +0 -22
- package/dist/magma-components/p-ca8e0927.system.entry.js +0 -7
- package/dist/magma-components/p-d0f257d9.system.entry.js +0 -80
- package/dist/magma-components/p-d3678561.system.entry.js +0 -35
- package/dist/magma-components/p-daf9c8ca.system.entry.js +0 -4
- package/dist/magma-components/p-dba5a6da.entry.js +0 -1
- package/dist/magma-components/p-dbb82d72.system.entry.js +0 -54
- package/dist/magma-components/p-dc3ef031.system.entry.js +0 -27
- package/dist/magma-components/p-dd8fb2f8.system.entry.js +0 -105
- package/dist/magma-components/p-e15a874b.entry.js +0 -1
- package/dist/magma-components/p-e954b5c5.entry.js +0 -1
- package/dist/magma-components/p-eba7cfb3.entry.js +0 -1
- package/dist/magma-components/p-f28e048b.system.entry.js +0 -55
- package/dist/magma-components/p-f454c06b.entry.js +0 -1
- package/dist/magma-components/p-f7f6881a.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as e,d as n,h as s,c as r,t as i}from"./p-B2p5a1Y8.js";import{p as a}from"./p-BlnEiKN4.js";import{s as o}from"./p-CACEYk42.js";import{h as u}from"./p-DWIIDHSa.js";import{c as h}from"./p-ChV9xqsO.js";import{L as l}from"./p-B9dgiq4u.js";import{d as c}from"./p-BUr3NqxM.js";import{d}from"./p-BFisF7aN.js";import{d as m}from"./p-cIZniMh0.js";import{d as f}from"./p-B6B6q5kP.js";import{d as y}from"./p-DezdwzYQ.js";class g extends Error{}class w extends g{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class p extends g{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class v extends g{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class b extends g{}class k extends g{constructor(t){super(`Invalid unit ${t}`)}}class M extends g{}class S extends g{constructor(){super("Zone is an abstract class")}}const D="numeric",N="short",T="long",E={year:D,month:D,day:D},x={year:D,month:N,day:D},I={year:D,month:N,day:D,weekday:N},O={year:D,month:T,day:D},$={year:D,month:T,day:D,weekday:T},F={hour:D,minute:D},L={hour:D,minute:D,second:D},A={hour:D,minute:D,second:D,timeZoneName:N},C={hour:D,minute:D,second:D,timeZoneName:T},W={hour:D,minute:D,hourCycle:"h23"},Z={hour:D,minute:D,second:D,hourCycle:"h23"},q={hour:D,minute:D,second:D,hourCycle:"h23",timeZoneName:N},_={hour:D,minute:D,second:D,hourCycle:"h23",timeZoneName:T},j={year:D,month:D,day:D,hour:D,minute:D},z={year:D,month:D,day:D,hour:D,minute:D,second:D},H={year:D,month:N,day:D,hour:D,minute:D},Y={year:D,month:N,day:D,hour:D,minute:D,second:D},P={year:D,month:N,day:D,weekday:N,hour:D,minute:D},R={year:D,month:T,day:D,hour:D,minute:D,timeZoneName:N},U={year:D,month:T,day:D,hour:D,minute:D,second:D,timeZoneName:N},J={year:D,month:T,day:D,weekday:T,hour:D,minute:D,timeZoneName:T},G={year:D,month:T,day:D,weekday:T,hour:D,minute:D,second:D,timeZoneName:T};class B{get type(){throw new S}get name(){throw new S}get ianaName(){return this.name}get isUniversal(){throw new S}offsetName(t,e){throw new S}formatOffset(t,e){throw new S}offset(t){throw new S}equals(t){throw new S}get isValid(){throw new S}}let V=null;class Q extends B{static get instance(){return null===V&&(V=new Q),V}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:n}){return we(t,e,n)}formatOffset(t,e){return ke(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const K=new Map,X={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6},tt=new Map;class et extends B{static create(t){let e=tt.get(t);return void 0===e&&tt.set(t,e=new et(t)),e}static resetCache(){tt.clear(),K.clear()}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=et.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:n}){return we(t,e,n,this.name)}formatOffset(t,e){return ke(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const n=function(t){let e=K.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),K.set(t,e)),e}(this.name);let[s,r,i,a,o,u,h]=n.formatToParts?function(t,e){const n=t.formatToParts(e),s=[];for(let t=0;t<n.length;t++){const{type:e,value:r}=n[t],i=X[e];"era"===e?s[i]=r:Vt(i)||(s[i]=parseInt(r,10))}return s}(n,e):function(t,e){const n=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,r,i,a,o,u,h,l]=s;return[a,r,i,o,u,h,l]}(n,e);"BC"===a&&(s=1-Math.abs(s));let l=+e;const c=l%1e3;return l-=c>=0?c:1e3+c,(me({year:s,month:r,day:i,hour:24===o?0:o,minute:u,second:h,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let nt={};const st=new Map;function rt(t,e={}){const n=JSON.stringify([t,e]);let s=st.get(n);return void 0===s&&(s=new Intl.DateTimeFormat(t,e),st.set(n,s)),s}const it=new Map,at=new Map;let ot=null;const ut=new Map;function ht(t){let e=ut.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),ut.set(t,e)),e}const lt=new Map;function ct(t,e,n,s){const r=t.listingMode();return"error"===r?null:"en"===r?n(e):s(e)}class dt{constructor(t,e,n){this.padTo=n.padTo||0,this.floor=n.floor||!1;const{padTo:s,floor:r,...i}=n;if(!e||Object.keys(i).length>0){const e={useGrouping:!1,...n};n.padTo>0&&(e.minimumIntegerDigits=n.padTo),this.inf=function(t,e={}){const n=JSON.stringify([t,e]);let s=it.get(n);return void 0===s&&(s=new Intl.NumberFormat(t,e),it.set(n,s)),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return ie(this.floor?Math.floor(t):he(t,3),this.padTo)}}class mt{constructor(t,e,n){let s;if(this.opts=n,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,n=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&et.create(n).valid?(s=n,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const r={...this.opts};r.timeZone=r.timeZone||s,this.dtf=rt(e,r)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class ft{constructor(t,e,n){this.opts={style:"long",...n},!e&&Xt()&&(this.rtf=function(t,e={}){const{base:n,...s}=e,r=JSON.stringify([t,s]);let i=at.get(r);return void 0===i&&(i=new Intl.RelativeTimeFormat(t,e),at.set(r,i)),i}(t,n))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,n="always",s=!1){const r={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},i=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===n&&i){const n="days"===t;switch(e){case 1:return n?"tomorrow":`next ${r[t][0]}`;case-1:return n?"yesterday":`last ${r[t][0]}`;case 0:return n?"today":`this ${r[t][0]}`}}const a=Object.is(e,-0)||e<0,o=Math.abs(e),u=1===o,h=r[t],l=s?u?h[1]:h[2]||h[1]:u?r[t][0]:t;return a?`${o} ${l} ago`:`in ${o} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const yt={firstDay:1,minimalDays:4,weekend:[6,7]};class gt{static fromOpts(t){return gt.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,n,s,r=!1){const i=t||At.defaultLocale,a=i||(r?"en-US":ot||(ot=(new Intl.DateTimeFormat).resolvedOptions().locale,ot)),o=e||At.defaultNumberingSystem,u=n||At.defaultOutputCalendar,h=se(s)||At.defaultWeekSettings;return new gt(a,o,u,h,i)}static resetCache(){ot=null,st.clear(),it.clear(),at.clear(),ut.clear(),lt.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:n,weekSettings:s}={}){return gt.create(t,e,n,s)}constructor(t,e,n,s,r){const[i,a,o]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const n=t.indexOf("-u-");if(-1===n)return[t];{let e,s;try{e=rt(t).resolvedOptions(),s=t}catch(r){const i=t.substring(0,n);e=rt(i).resolvedOptions(),s=i}const{numberingSystem:r,calendar:i}=e;return[s,r,i]}}(t);this.locale=i,this.numberingSystem=e||a||null,this.outputCalendar=n||o||null,this.weekSettings=s,this.intl=function(t,e,n){return n||e?(t.includes("-u-")||(t+="-u"),n&&(t+=`-ca-${n}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=r,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===ht(t.locale).numberingSystem)),this.fastNumbersCached}listingMode(){return this.isEnglish()&&!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar)?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?gt.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,se(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return ct(this,t,Te,(()=>{const n="ja"===this.intl||this.intl.startsWith("ja-"),s=(e&=!n)?{month:t,day:"numeric"}:{month:t},r=e?"format":"standalone";return this.monthsCache[r][t]||(this.monthsCache[r][t]=function(t){const e=[];for(let n=1;n<=12;n++){const s=Is.utc(2009,n,1);e.push(t(s))}return e}(n?t=>this.dtFormatter(t,s).format():t=>this.extract(t,s,"month"))),this.monthsCache[r][t]}))}weekdays(t,e=!1){return ct(this,t,Oe,(()=>{const n=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let n=1;n<=7;n++){const s=Is.utc(2016,11,13+n);e.push(t(s))}return e}((t=>this.extract(t,n,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return ct(this,void 0,(()=>$e),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[Is.utc(2016,11,13,9),Is.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return ct(this,t,Ce,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[Is.utc(-40,1,1),Is.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,n){const s=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===n));return s?s.value:null}numberFormatter(t={}){return new dt(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new mt(t,this.intl,e)}relFormatter(t={}){return new ft(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const n=JSON.stringify([t,e]);let s=nt[n];return s||(s=new Intl.ListFormat(t,e),nt[n]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||ht(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:te()?function(t){let e=lt.get(t);if(!e){const n=new Intl.Locale(t);e="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,"minimalDays"in e||(e={...yt,...e}),lt.set(t,e)}return e}(this.locale):yt}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let wt=null;class pt extends B{static get utcInstance(){return null===wt&&(wt=new pt(0)),wt}static instance(t){return 0===t?pt.utcInstance:new pt(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new pt(pe(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${ke(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${ke(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return ke(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class vt extends B{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function bt(t,e){if(Vt(t)||null===t)return e;if(t instanceof B)return t;if("string"==typeof t){const n=t.toLowerCase();return"default"===n?e:"local"===n||"system"===n?Q.instance:"utc"===n||"gmt"===n?pt.utcInstance:pt.parseSpecifier(n)||et.create(t)}return Qt(t)?pt.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new vt(t)}const kt={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Mt={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},St=kt.hanidec.replace(/[\[|\]]/g,"").split(""),Dt=new Map;function Nt({numberingSystem:t},e=""){const n=t||"latn";let s=Dt.get(n);void 0===s&&(s=new Map,Dt.set(n,s));let r=s.get(e);return void 0===r&&(r=new RegExp(`${kt[n]}${e}`),s.set(e,r)),r}let Tt,Et=()=>Date.now(),xt="system",It=null,Ot=null,$t=null,Ft=60,Lt=null;class At{static get now(){return Et}static set now(t){Et=t}static set defaultZone(t){xt=t}static get defaultZone(){return bt(xt,Q.instance)}static get defaultLocale(){return It}static set defaultLocale(t){It=t}static get defaultNumberingSystem(){return Ot}static set defaultNumberingSystem(t){Ot=t}static get defaultOutputCalendar(){return $t}static set defaultOutputCalendar(t){$t=t}static get defaultWeekSettings(){return Lt}static set defaultWeekSettings(t){Lt=se(t)}static get twoDigitCutoffYear(){return Ft}static set twoDigitCutoffYear(t){Ft=t%100}static get throwOnInvalid(){return Tt}static set throwOnInvalid(t){Tt=t}static resetCaches(){gt.resetCache(),et.resetCache(),Is.resetCache(),Dt.clear()}}class Ct{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Wt=[0,31,59,90,120,151,181,212,243,273,304,334],Zt=[0,31,60,91,121,152,182,213,244,274,305,335];function qt(t,e){return new Ct("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function _t(t,e,n){const s=new Date(Date.UTC(t,e-1,n));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const r=s.getUTCDay();return 0===r?7:r}function jt(t,e,n){return n+(le(t)?Zt:Wt)[e-1]}function zt(t,e){const n=le(t)?Zt:Wt,s=n.findIndex((t=>t<e));return{month:s+1,day:e-n[s]}}function Ht(t,e){return(t-e+7)%7+1}function Yt(t,e=4,n=1){const{year:s,month:r,day:i}=t,a=jt(s,r,i),o=Ht(_t(s,r,i),n);let u,h=Math.floor((a-o+14-e)/7);return h<1?(u=s-1,h=ye(u,e,n)):h>ye(s,e,n)?(u=s+1,h=1):u=s,{weekYear:u,weekNumber:h,weekday:o,...Me(t)}}function Pt(t,e=4,n=1){const{weekYear:s,weekNumber:r,weekday:i}=t,a=Ht(_t(s,1,e),n),o=ce(s);let u,h=7*r+i-a-7+e;h<1?(u=s-1,h+=ce(u)):h>o?(u=s+1,h-=ce(s)):u=s;const{month:l,day:c}=zt(u,h);return{year:u,month:l,day:c,...Me(t)}}function Rt(t){const{year:e,month:n,day:s}=t;return{year:e,ordinal:jt(e,n,s),...Me(t)}}function Ut(t){const{year:e,ordinal:n}=t,{month:s,day:r}=zt(e,n);return{year:e,month:s,day:r,...Me(t)}}function Jt(t,e){if(!Vt(t.localWeekday)||!Vt(t.localWeekNumber)||!Vt(t.localWeekYear)){if(!Vt(t.weekday)||!Vt(t.weekNumber)||!Vt(t.weekYear))throw new b("Cannot mix locale-based week fields with ISO-based week fields");return Vt(t.localWeekday)||(t.weekday=t.localWeekday),Vt(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Vt(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function Gt(t){const e=Kt(t.year),n=re(t.month,1,12),s=re(t.day,1,de(t.year,t.month));return e?n?!s&&qt("day",t.day):qt("month",t.month):qt("year",t.year)}function Bt(t){const{hour:e,minute:n,second:s,millisecond:r}=t,i=re(e,0,23)||24===e&&0===n&&0===s&&0===r,a=re(n,0,59),o=re(s,0,59),u=re(r,0,999);return i?a?o?!u&&qt("millisecond",r):qt("second",s):qt("minute",n):qt("hour",e)}function Vt(t){return void 0===t}function Qt(t){return"number"==typeof t}function Kt(t){return"number"==typeof t&&t%1==0}function Xt(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function te(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function ee(t,e,n){if(0!==t.length)return t.reduce(((t,s)=>{const r=[e(s),s];return t&&n(t[0],r[0])===t[0]?t:r}),null)[1]}function ne(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function se(t){if(null==t)return null;if("object"!=typeof t)throw new M("Week settings must be an object");if(!re(t.firstDay,1,7)||!re(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!re(t,1,7))))throw new M("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function re(t,e,n){return Kt(t)&&t>=e&&t<=n}function ie(t,e=2){let n;return n=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),n}function ae(t){return Vt(t)||null===t||""===t?void 0:parseInt(t,10)}function oe(t){return Vt(t)||null===t||""===t?void 0:parseFloat(t)}function ue(t){if(!Vt(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function he(t,e,n="round"){const s=10**e;switch(n){case"expand":return t>0?Math.ceil(t*s)/s:Math.floor(t*s)/s;case"trunc":return Math.trunc(t*s)/s;case"round":return Math.round(t*s)/s;case"floor":return Math.floor(t*s)/s;case"ceil":return Math.ceil(t*s)/s;default:throw new RangeError(`Value rounding ${n} is out of range`)}}function le(t){return t%4==0&&(t%100!=0||t%400==0)}function ce(t){return le(t)?366:365}function de(t,e){const n=(s=e-1)-12*Math.floor(s/12)+1;var s;return 2===n?le(t+(e-n)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function me(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function fe(t,e,n){return-Ht(_t(t,1,e),n)+e-1}function ye(t,e=4,n=1){const s=fe(t,e,n),r=fe(t+1,e,n);return(ce(t)-s+r)/7}function ge(t){return t>99?t:t>At.twoDigitCutoffYear?1900+t:2e3+t}function we(t,e,n,s=null){const r=new Date(t),i={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(i.timeZone=s);const a={timeZoneName:e,...i},o=new Intl.DateTimeFormat(n,a).formatToParts(r).find((t=>"timezonename"===t.type.toLowerCase()));return o?o.value:null}function pe(t,e){let n=parseInt(t,10);Number.isNaN(n)&&(n=0);const s=parseInt(e,10)||0;return 60*n+(n<0||Object.is(n,-0)?-s:s)}function ve(t){const e=Number(t);if("boolean"==typeof t||""===t||!Number.isFinite(e))throw new M(`Invalid unit value ${t}`);return e}function be(t,e){const n={};for(const s in t)if(ne(t,s)){const r=t[s];if(null==r)continue;n[e(s)]=ve(r)}return n}function ke(t,e){const n=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),r=t>=0?"+":"-";switch(e){case"short":return`${r}${ie(n,2)}:${ie(s,2)}`;case"narrow":return`${r}${n}${s>0?`:${s}`:""}`;case"techie":return`${r}${ie(n,2)}${ie(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Me(t){return function(t){return["hour","minute","second","millisecond"].reduce(((e,n)=>(e[n]=t[n],e)),{})}(t)}const Se=["January","February","March","April","May","June","July","August","September","October","November","December"],De=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ne=["J","F","M","A","M","J","J","A","S","O","N","D"];function Te(t){switch(t){case"narrow":return[...Ne];case"short":return[...De];case"long":return[...Se];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Ee=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],xe=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Ie=["M","T","W","T","F","S","S"];function Oe(t){switch(t){case"narrow":return[...Ie];case"short":return[...xe];case"long":return[...Ee];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const $e=["AM","PM"],Fe=["Before Christ","Anno Domini"],Le=["BC","AD"],Ae=["B","A"];function Ce(t){switch(t){case"narrow":return[...Ae];case"short":return[...Le];case"long":return[...Fe];default:return null}}function We(t,e){let n="";for(const s of t)n+=s.literal?s.val:e(s.val);return n}const Ze={D:E,DD:x,DDD:O,DDDD:$,t:F,tt:L,ttt:A,tttt:C,T:W,TT:Z,TTT:q,TTTT:_,f:j,ff:H,fff:R,ffff:J,F:z,FF:Y,FFF:U,FFFF:G};class qe{static create(t,e={}){return new qe(t,e)}static parseFormat(t){let e=null,n="",s=!1;const r=[];for(let i=0;i<t.length;i++){const a=t.charAt(i);"'"===a?((n.length>0||s)&&r.push({literal:s||/^\s+$/.test(n),val:""===n?"'":n}),e=null,n="",s=!s):s||a===e?n+=a:(n.length>0&&r.push({literal:/^\s+$/.test(n),val:n}),n=a,e=a)}return n.length>0&&r.push({literal:s||/^\s+$/.test(n),val:n}),r}static macroTokenToFormatOpts(t){return Ze[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0,n){if(this.opts.forceSimple)return ie(t,e);const s={...this.opts};return e>0&&(s.padTo=e),n&&(s.signDisplay=n),this.loc.numberFormatter(s).format(t)}formatDateTimeFromString(t,e){const n="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,r=(e,n)=>this.loc.extract(t,e,n),i=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",a=(e,s)=>n?function(t,e){return Te(e)[t.month-1]}(t,e):r(s?{month:e}:{month:e,day:"numeric"},"month"),o=(e,s)=>n?function(t,e){return Oe(e)[t.weekday-1]}(t,e):r(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const n=qe.macroTokenToFormatOpts(e);return n?this.formatWithSystemDefault(t,n):e},h=e=>n?function(t,e){return Ce(e)[t.year<0?0:1]}(t,e):r({era:e},"era");return We(qe.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return i({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return i({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return i({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return n?function(t){return $e[t.hour<12?0:1]}(t):r({hour:"numeric",hourCycle:"h12"},"dayperiod");case"d":return s?r({day:"numeric"},"day"):this.num(t.day);case"dd":return s?r({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return o("short",!0);case"cccc":return o("long",!0);case"ccccc":return o("narrow",!0);case"EEE":return o("short",!1);case"EEEE":return o("long",!1);case"EEEEE":return o("narrow",!1);case"L":return s?r({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?r({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?r({month:"numeric"},"month"):this.num(t.month);case"MM":return s?r({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?r({year:"numeric"},"year"):this.num(t.year);case"yy":return s?r({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?r({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?r({year:"numeric"},"year"):this.num(t.year,6);case"G":return h("short");case"GG":return h("long");case"GGGGG":return h("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const n="negativeLargestOnly"===this.opts.signMode?-1:1,s=t=>{switch(t[0]){case"S":return"milliseconds";case"s":return"seconds";case"m":return"minutes";case"h":return"hours";case"d":return"days";case"w":return"weeks";case"M":return"months";case"y":return"years";default:return null}},r=qe.parseFormat(e),i=r.reduce(((t,{literal:e,val:n})=>e?t:t.concat(n)),[]),a=t.shiftTo(...i.map(s).filter((t=>t)));return We(r,((t,e)=>r=>{const i=s(r);if(i){const s=e.isNegativeDuration&&i!==e.largestUnit?n:1;let a;return a="negativeLargestOnly"===this.opts.signMode&&i!==e.largestUnit?"never":"all"===this.opts.signMode?"always":"auto",this.num(t.get(i)*s,r.length,a)}return r})(a,{isNegativeDuration:a<0,largestUnit:Object.keys(a.values)[0]}))}}const _e=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function je(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function ze(...t){return e=>t.reduce((([t,n,s],r)=>{const[i,a,o]=r(e,s);return[{...t,...i},a||n,o]}),[{},null,1]).slice(0,2)}function He(t,...e){if(null==t)return[null,null];for(const[n,s]of e){const e=n.exec(t);if(e)return s(e)}return[null,null]}function Ye(...t){return(e,n)=>{const s={};let r;for(r=0;r<t.length;r++)s[t[r]]=ae(e[n+r]);return[s,null,n+r]}}const Pe=/(?:([Zz])|([+-]\d\d)(?::?(\d\d))?)/,Re=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Ue=RegExp(`${Re.source}(?:${Pe.source}?(?:\\[(${_e.source})\\])?)?`),Je=RegExp(`(?:[Tt]${Ue.source})?`),Ge=Ye("weekYear","weekNumber","weekDay"),Be=Ye("year","ordinal"),Ve=RegExp(`${Re.source} ?(?:${Pe.source}|(${_e.source}))?`),Qe=RegExp(`(?: ${Ve.source})?`);function Ke(t,e,n){const s=t[e];return Vt(s)?n:ae(s)}function Xe(t,e){return[{hours:Ke(t,e,0),minutes:Ke(t,e+1,0),seconds:Ke(t,e+2,0),milliseconds:ue(t[e+3])},null,e+4]}function tn(t,e){const n=!t[e]&&!t[e+1],s=pe(t[e+1],t[e+2]);return[{},n?null:pt.instance(s),e+3]}function en(t,e){return[{},t[e]?et.create(t[e]):null,e+1]}const nn=RegExp(`^T?${Re.source}$`),sn=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function rn(t){const[e,n,s,r,i,a,o,u,h]=t,l="-"===e[0],c=u&&"-"===u[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(oe(n)),months:d(oe(s)),weeks:d(oe(r)),days:d(oe(i)),hours:d(oe(a)),minutes:d(oe(o)),seconds:d(oe(u),"-0"===u),milliseconds:d(ue(h),c)}]}const an={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function on(t,e,n,s,r,i,a){const o={year:2===e.length?ge(ae(e)):ae(e),month:De.indexOf(n)+1,day:ae(s),hour:ae(r),minute:ae(i)};return a&&(o.second=ae(a)),t&&(o.weekday=t.length>3?Ee.indexOf(t)+1:xe.indexOf(t)+1),o}const un=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function hn(t){const[,e,n,s,r,i,a,o,u,h,l,c]=t,d=on(e,r,s,n,i,a,o);let m;return m=u?an[u]:h?0:pe(l,c),[d,new pt(m)]}const ln=/^(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$/,cn=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,dn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function mn(t){const[,e,n,s,r,i,a,o]=t;return[on(e,r,s,n,i,a,o),pt.utcInstance]}function fn(t){const[,e,n,s,r,i,a,o]=t;return[on(e,o,n,s,r,i,a),pt.utcInstance]}const yn=je(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Je),gn=je(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Je),wn=je(/(\d{4})-?(\d{3})/,Je),pn=je(Ue),vn=ze((function(t,e){return[{year:Ke(t,e),month:Ke(t,e+1,1),day:Ke(t,e+2,1)},null,e+3]}),Xe,tn,en),bn=ze(Ge,Xe,tn,en),kn=ze(Be,Xe,tn,en),Mn=ze(Xe,tn,en),Sn=ze(Xe),Dn=je(/(\d{4})-(\d\d)-(\d\d)/,Qe),Nn=je(Ve),Tn=ze(Xe,tn,en),En="Invalid Duration",xn={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},In={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...xn},On={years:{quarters:4,months:12,weeks:52.1775,days:365.2425,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:30.436875,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...xn},$n=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Fn=$n.slice(0).reverse();function Ln(t,e,n=!1){const s={values:n?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new Zn(s)}function An(t,e){let n=e.milliseconds??0;for(const s of Fn.slice(1))e[s]&&(n+=e[s]*t[s].milliseconds);return n}function Cn(t,e){const n=An(t,e)<0?-1:1;$n.reduceRight(((s,r)=>{if(Vt(e[r]))return s;if(s){const i=t[r][s],a=Math.floor(e[s]*n/i);e[r]+=a*n,e[s]-=a*i*n}return r}),null),$n.reduce(((n,s)=>{if(Vt(e[s]))return n;if(n){const r=e[n]%1;e[n]-=r,e[s]+=r*t[n][s]}return s}),null)}function Wn(t){const e={};for(const[n,s]of Object.entries(t))0!==s&&(e[n]=s);return e}class Zn{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let n=e?On:In;t.matrix&&(n=t.matrix),this.values=t.values,this.loc=t.loc||gt.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=n,this.isLuxonDuration=!0}static fromMillis(t,e){return Zn.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new M("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new Zn({values:be(t,Zn.normalizeUnit),loc:gt.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Qt(t))return Zn.fromMillis(t);if(Zn.isDuration(t))return t;if("object"==typeof t)return Zn.fromObject(t);throw new M(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[n]=function(t){return He(t,[sn,rn])}(t);return n?Zn.fromObject(n,e):Zn.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[n]=function(t){return He(t,[nn,Sn])}(t);return n?Zn.fromObject(n,e):Zn.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new M("need to specify a reason the Duration is invalid");const n=t instanceof Ct?t:new Ct(t,e);if(At.throwOnInvalid)throw new v(n);return new Zn({invalid:n})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new k(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const n={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?qe.create(this.loc,n).formatDurationFromString(this,t):En}toHuman(t={}){if(!this.isValid)return En;const e=!1!==t.showZeros,n=$n.map((n=>{const s=this.values[n];return Vt(s)||0===s&&!e?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:n.slice(0,-1)}).format(s)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(n)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=he(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},Is.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?An(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=Zn.fromDurationLike(t),n={};for(const t of $n)(ne(e.values,t)||ne(this.values,t))&&(n[t]=e.get(t)+this.get(t));return Ln(this,{values:n},!0)}minus(t){if(!this.isValid)return this;const e=Zn.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const n of Object.keys(this.values))e[n]=ve(t(this.values[n],n));return Ln(this,{values:e},!0)}get(t){return this[Zn.normalizeUnit(t)]}set(t){return this.isValid?Ln(this,{values:{...this.values,...be(t,Zn.normalizeUnit)}}):this}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:n,matrix:s}={}){return Ln(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:n})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return Cn(this.matrix,t),Ln(this,{values:t},!0)}rescale(){return this.isValid?Ln(this,{values:Wn(this.normalize().shiftToAll().toObject())},!0):this}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>Zn.normalizeUnit(t)));const e={},n={},s=this.toObject();let r;for(const i of $n)if(t.indexOf(i)>=0){r=i;let t=0;for(const e in n)t+=this.matrix[e][i]*n[e],n[e]=0;Qt(s[i])&&(t+=s[i]);const a=Math.trunc(t);e[i]=a,n[i]=(1e3*t-1e3*a)/1e3}else Qt(s[i])&&(n[i]=s[i]);for(const t in n)0!==n[t]&&(e[r]+=t===r?n[t]:n[t]/this.matrix[r][t]);return Cn(this.matrix,e),Ln(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return Ln(this,{values:t},!0)}removeZeros(){return this.isValid?Ln(this,{values:Wn(this.values)},!0):this}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const s of $n)if(n=t.values[s],!(void 0===(e=this.values[s])||0===e?void 0===n||0===n:e===n))return!1;var e,n;return!0}}const qn="Invalid Interval";class _n{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new M("need to specify a reason the Interval is invalid");const n=t instanceof Ct?t:new Ct(t,e);if(At.throwOnInvalid)throw new p(n);return new _n({invalid:n})}static fromDateTimes(t,e){const n=Os(t),s=Os(e),r=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?_n.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:_n.invalid("missing or invalid end"):_n.invalid("missing or invalid start")}(n,s);return null==r?new _n({start:n,end:s}):r}static after(t,e){const n=Zn.fromDurationLike(e),s=Os(t);return _n.fromDateTimes(s,s.plus(n))}static before(t,e){const n=Zn.fromDurationLike(e),s=Os(t);return _n.fromDateTimes(s.minus(n),s)}static fromISO(t,e){const[n,s]=(t||"").split("/",2);if(n&&s){let t,r,i,a;try{t=Is.fromISO(n,e),r=t.isValid}catch(s){r=!1}try{i=Is.fromISO(s,e),a=i.isValid}catch(s){a=!1}if(r&&a)return _n.fromDateTimes(t,i);if(r){const n=Zn.fromISO(s,e);if(n.isValid)return _n.after(t,n)}else if(a){const t=Zn.fromISO(n,e);if(t.isValid)return _n.before(i,t)}}return _n.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const n=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:n.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(n,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&this.s<=t&&this.e>t}set({start:t,end:e}={}){return this.isValid?_n.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(Os).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),n=[];let{s}=this,r=0;for(;s<this.e;){const t=e[r]||this.e,i=+t>+this.e?this.e:t;n.push(_n.fromDateTimes(s,i)),s=i,r+=1}return n}splitBy(t){const e=Zn.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let n,{s}=this,r=1;const i=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits((t=>t*r)));n=+t>+this.e?this.e:t,i.push(_n.fromDateTimes(s,n)),s=n,r+=1}return i}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e==+t.s}abutsEnd(t){return!!this.isValid&&+t.e==+this.s}engulfs(t){return!!this.isValid&&this.s<=t.s&&this.e>=t.e}equals(t){return!(!this.isValid||!t.isValid)&&this.s.equals(t.s)&&this.e.equals(t.e)}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,n=this.e<t.e?this.e:t.e;return e>=n?null:_n.fromDateTimes(e,n)}union(t){return this.isValid?_n.fromDateTimes(this.s<t.s?this.s:t.s,this.e>t.e?this.e:t.e):this}static merge(t){const[e,n]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],n)=>e?e.overlaps(n)||e.abutsStart(n)?[t,e.union(n)]:[t.concat([e]),n]:[t,n]),[[],null]);return n&&e.push(n),e}static xor(t){let e=null,n=0;const s=[],r=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),i=Array.prototype.concat(...r).sort(((t,e)=>t.time-e.time));for(const t of i)n+="s"===t.type?1:-1,1===n?e=t.time:(e&&+e!=+t.time&&s.push(_n.fromDateTimes(e,t.time)),e=null);return _n.merge(s)}difference(...t){return _n.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:qn}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=E,e={}){return this.isValid?qe.create(this.s.loc.clone(e),t).formatInterval(this):qn}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:qn}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:qn}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:qn}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:qn}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):Zn.invalid(this.invalidReason)}mapEndpoints(t){return _n.fromDateTimes(t(this.s),t(this.e))}}class jn{static hasDST(t=At.defaultZone){const e=Is.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return et.isValidZone(t)}static normalizeZone(t){return bt(t,At.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||gt.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||gt.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||gt.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:n=null,locObj:s=null,outputCalendar:r="gregory"}={}){return(s||gt.create(e,n,r)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:n=null,locObj:s=null,outputCalendar:r="gregory"}={}){return(s||gt.create(e,n,r)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:n=null,locObj:s=null}={}){return(s||gt.create(e,n,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:n=null,locObj:s=null}={}){return(s||gt.create(e,n,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return gt.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return gt.create(e,null,"gregory").eras(t)}static features(){return{relative:Xt(),localeWeek:te()}}}function zn(t,e){const n=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=n(e)-n(t);return Math.floor(Zn.fromMillis(s).as("days"))}function Hn(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let n=0;n<t.length;n++){const s=t.charCodeAt(n);if(-1!==t[n].search(kt.hanidec))e+=St.indexOf(t[n]);else for(const t in Mt){const[n,r]=Mt[t];s>=n&&s<=r&&(e+=s-n)}}return parseInt(e,10)}return e}(t))}}const Yn=`[ ${String.fromCharCode(160)}]`,Pn=new RegExp(Yn,"g");function Rn(t){return t.replace(/\./g,"\\.?").replace(Pn,Yn)}function Un(t){return t.replace(/\./g,"").replace(Pn," ").toLowerCase()}function Jn(t,e){return null===t?null:{regex:RegExp(t.map(Rn).join("|")),deser:([n])=>t.findIndex((t=>Un(n)===Un(t)))+e}}function Gn(t,e){return{regex:t,deser:([,t,e])=>pe(t,e),groups:e}}function Bn(t){return{regex:t,deser:([t])=>t}}const Vn={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Qn=null;function Kn(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const n=es(qe.macroTokenToFormatOpts(t.val),e);return null==n||n.includes(void 0)?t:n}(t,e))))}class Xn{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Kn(qe.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const n=Nt(e),s=Nt(e,"{2}"),r=Nt(e,"{3}"),i=Nt(e,"{4}"),a=Nt(e,"{6}"),o=Nt(e,"{1,2}"),u=Nt(e,"{1,3}"),h=Nt(e,"{1,6}"),l=Nt(e,"{1,9}"),c=Nt(e,"{2,4}"),d=Nt(e,"{4,6}"),m=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},f=(f=>{if(t.literal)return m(f);switch(f.val){case"G":return Jn(e.eras("short"),0);case"GG":return Jn(e.eras("long"),0);case"y":return Hn(h);case"yy":case"kk":return Hn(c,ge);case"yyyy":case"kkkk":return Hn(i);case"yyyyy":return Hn(d);case"yyyyyy":return Hn(a);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Hn(o);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Hn(s);case"MMM":return Jn(e.months("short",!0),1);case"MMMM":return Jn(e.months("long",!0),1);case"LLL":return Jn(e.months("short",!1),1);case"LLLL":return Jn(e.months("long",!1),1);case"o":case"S":return Hn(u);case"ooo":case"SSS":return Hn(r);case"u":return Bn(l);case"uu":return Bn(o);case"uuu":case"E":case"c":return Hn(n);case"a":return Jn(e.meridiems(),0);case"EEE":return Jn(e.weekdays("short",!1),1);case"EEEE":return Jn(e.weekdays("long",!1),1);case"ccc":return Jn(e.weekdays("short",!0),1);case"cccc":return Jn(e.weekdays("long",!0),1);case"Z":case"ZZ":return Gn(new RegExp(`([+-]${o.source})(?::(${s.source}))?`),2);case"ZZZ":return Gn(new RegExp(`([+-]${o.source})(${s.source})?`),2);case"z":return Bn(/[a-z_+-/]{1,256}?/i);case" ":return Bn(/[^\S\n\r]/);default:return m(f)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return f.token=t,f}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=[`^${(n=this.units).map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"")}$`,n];this.regex=RegExp(t,"i"),this.handlers=e}var n}explainFromTokens(t){if(this.isValid){const[e,n]=function(t,e,n){const s=t.match(e);if(s){const t={};let e=1;for(const r in n)if(ne(n,r)){const i=n[r],a=i.groups?i.groups+1:1;!i.literal&&i.token&&(t[i.token.val[0]]=i.deser(s.slice(e,e+a))),e+=a}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,r,i]=n?function(t){let e,n=null;return Vt(t.z)||(n=et.create(t.z)),Vt(t.Z)||(n||(n=new pt(t.Z)),e=t.Z),Vt(t.q)||(t.M=3*(t.q-1)+1),Vt(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),Vt(t.u)||(t.S=ue(t.u)),[Object.keys(t).reduce(((e,n)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(n);return s&&(e[s]=t[n]),e}),{}),n,e]}(n):[null,null,void 0];if(ne(n,"a")&&ne(n,"H"))throw new b("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:n,result:s,zone:r,specificOffset:i}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function ts(t,e,n){return new Xn(t,n).explainFromTokens(e)}function es(t,e){if(!t)return null;const n=qe.create(e,t).dtFormatter((Qn||(Qn=Is.fromMillis(1555555555555)),Qn)),s=n.formatToParts(),r=n.resolvedOptions();return s.map((e=>function(t,e,n){const{type:s,value:r}=t;if("literal"===s){const t=/^\s+$/.test(r);return{literal:!t,val:t?" ":r}}let i=s;"hour"===s&&(i=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":n.hour12?"hour12":"hour24");let a=Vn[i];if("object"==typeof a&&(a=a[e[s]]),a)return{literal:!1,val:a}}(e,t,r)))}const ns="Invalid DateTime",ss=864e13;function rs(t){return new Ct("unsupported zone",`the zone "${t.name}" is not supported`)}function is(t){return null===t.weekData&&(t.weekData=Yt(t.c)),t.weekData}function as(t){return null===t.localWeekData&&(t.localWeekData=Yt(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function os(t,e){const n={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new Is({...n,...e,old:n})}function us(t,e,n){let s=t-60*e*1e3;const r=n.offset(s);if(e===r)return[s,e];s-=60*(r-e)*1e3;const i=n.offset(s);return r===i?[s,r]:[t-60*Math.min(r,i)*1e3,Math.max(r,i)]}function hs(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 ls(t,e,n){return us(me(t),e,n)}function cs(t,e){const n=t.o,s=t.c.year+Math.trunc(e.years),r=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),i={...t.c,year:s,month:r,day:Math.min(t.c.day,de(s,r))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},a=Zn.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),o=me(i);let[u,h]=us(o,n,t.zone);return 0!==a&&(u+=a,h=t.zone.offset(u)),{ts:u,o:h}}function ds(t,e,n,s,r,i){const{setZone:a,zone:o}=n;if(t&&0!==Object.keys(t).length||e){const s=e||o,r=Is.fromObject(t,{...n,zone:s,specificOffset:i});return a?r:r.setZone(o)}return Is.invalid(new Ct("unparsable",`the input "${r}" can't be parsed as ${s}`))}function ms(t,e,n=!0){return t.isValid?qe.create(gt.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(t,e):null}function fs(t,e,n){const s=t.c.year>9999||t.c.year<0;let r="";if(s&&t.c.year>=0&&(r+="+"),r+=ie(t.c.year,s?6:4),"year"===n)return r;if(e){if(r+="-",r+=ie(t.c.month),"month"===n)return r;r+="-"}else if(r+=ie(t.c.month),"month"===n)return r;return r+=ie(t.c.day),r}function ys(t,e,n,s,r,i,a){let o=!n||0!==t.c.millisecond||0!==t.c.second,u="";switch(a){case"day":case"month":case"year":break;default:if(u+=ie(t.c.hour),"hour"===a)break;if(e){if(u+=":",u+=ie(t.c.minute),"minute"===a)break;o&&(u+=":",u+=ie(t.c.second))}else{if(u+=ie(t.c.minute),"minute"===a)break;o&&(u+=ie(t.c.second))}if("second"===a)break;!o||s&&0===t.c.millisecond||(u+=".",u+=ie(t.c.millisecond,3))}return r&&(t.isOffsetFixed&&0===t.offset&&!i?u+="Z":t.o<0?(u+="-",u+=ie(Math.trunc(-t.o/60)),u+=":",u+=ie(Math.trunc(-t.o%60))):(u+="+",u+=ie(Math.trunc(t.o/60)),u+=":",u+=ie(Math.trunc(t.o%60)))),i&&(u+="["+t.zone.ianaName+"]"),u}const gs={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},ws={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},ps={ordinal:1,hour:0,minute:0,second:0,millisecond:0},vs=["year","month","day","hour","minute","second","millisecond"],bs=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ks=["year","ordinal","hour","minute","second","millisecond"];function Ms(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new k(t);return e}function Ss(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return Ms(t)}}function Ds(t,e){const n=bt(e.zone,At.defaultZone);if(!n.isValid)return Is.invalid(rs(n));const s=gt.fromObject(e);let r,i;if(Vt(t.year))r=At.now();else{for(const e of vs)Vt(t[e])&&(t[e]=gs[e]);const e=Gt(t)||Bt(t);if(e)return Is.invalid(e);const s=function(t){if(void 0===Es&&(Es=At.now()),"iana"!==t.type)return t.offset(Es);const e=t.name;let n=xs.get(e);return void 0===n&&(n=t.offset(Es),xs.set(e,n)),n}(n);[r,i]=ls(t,s,n)}return new Is({ts:r,zone:n,loc:s,o:i})}function Ns(t,e,n){const s=!!Vt(n.round)||n.round,r=Vt(n.rounding)?"trunc":n.rounding,i=(t,i)=>(t=he(t,s||n.calendary?0:2,n.calendary?"round":r),e.loc.clone(n).relFormatter(n).format(t,i)),a=s=>n.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(n.unit)return i(a(n.unit),n.unit);for(const t of n.units){const e=a(t);if(Math.abs(e)>=1)return i(e,t)}return i(t>e?-0:0,n.units[n.units.length-1])}function Ts(t){let e,n={};return t.length>0&&"object"==typeof t[t.length-1]?(n=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[n,e]}let Es;const xs=new Map;class Is{constructor(t){const e=t.zone||At.defaultZone;let n=t.invalid||(Number.isNaN(t.ts)?new Ct("invalid input"):null)||(e.isValid?null:rs(e));this.ts=Vt(t.ts)?At.now():t.ts;let s=null,r=null;if(!n)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,r]=[t.old.c,t.old.o];else{const i=Qt(t.o)&&!t.old?t.o:e.offset(this.ts);s=hs(this.ts,i),n=Number.isNaN(s.year)?new Ct("invalid input"):null,s=n?null:s,r=n?null:i}this._zone=e,this.loc=t.loc||gt.create(),this.invalid=n,this.weekData=null,this.localWeekData=null,this.c=s,this.o=r,this.isLuxonDateTime=!0}static now(){return new Is({})}static local(){const[t,e]=Ts(arguments),[n,s,r,i,a,o,u]=e;return Ds({year:n,month:s,day:r,hour:i,minute:a,second:o,millisecond:u},t)}static utc(){const[t,e]=Ts(arguments),[n,s,r,i,a,o,u]=e;return t.zone=pt.utcInstance,Ds({year:n,month:s,day:r,hour:i,minute:a,second:o,millisecond:u},t)}static fromJSDate(t,e={}){const n="[object Date]"===Object.prototype.toString.call(t)?t.valueOf():NaN;if(Number.isNaN(n))return Is.invalid("invalid input");const s=bt(e.zone,At.defaultZone);return s.isValid?new Is({ts:n,zone:s,loc:gt.fromObject(e)}):Is.invalid(rs(s))}static fromMillis(t,e={}){if(Qt(t))return t<-ss||t>ss?Is.invalid("Timestamp out of range"):new Is({ts:t,zone:bt(e.zone,At.defaultZone),loc:gt.fromObject(e)});throw new M(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Qt(t))return new Is({ts:1e3*t,zone:bt(e.zone,At.defaultZone),loc:gt.fromObject(e)});throw new M("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const n=bt(e.zone,At.defaultZone);if(!n.isValid)return Is.invalid(rs(n));const s=gt.fromObject(e),r=be(t,Ss),{minDaysInFirstWeek:i,startOfWeek:a}=Jt(r,s),o=At.now(),u=Vt(e.specificOffset)?n.offset(o):e.specificOffset,h=!Vt(r.ordinal),l=!Vt(r.year),c=!Vt(r.month)||!Vt(r.day),d=l||c,m=r.weekYear||r.weekNumber;if((d||h)&&m)throw new b("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(c&&h)throw new b("Can't mix ordinal dates with month/day");const f=m||r.weekday&&!d;let y,g,w=hs(o,u);f?(y=bs,g=ws,w=Yt(w,i,a)):h?(y=ks,g=ps,w=Rt(w)):(y=vs,g=gs);let p=!1;for(const t of y)Vt(r[t])?r[t]=p?g[t]:w[t]:p=!0;const v=f?function(t,e=4,n=1){const s=Kt(t.weekYear),r=re(t.weekNumber,1,ye(t.weekYear,e,n)),i=re(t.weekday,1,7);return s?r?!i&&qt("weekday",t.weekday):qt("week",t.weekNumber):qt("weekYear",t.weekYear)}(r,i,a):h?function(t){const e=Kt(t.year),n=re(t.ordinal,1,ce(t.year));return e?!n&&qt("ordinal",t.ordinal):qt("year",t.year)}(r):Gt(r),k=v||Bt(r);if(k)return Is.invalid(k);const M=f?Pt(r,i,a):h?Ut(r):r,[S,D]=ls(M,u,n),N=new Is({ts:S,zone:n,o:D,loc:s});return r.weekday&&d&&t.weekday!==N.weekday?Is.invalid("mismatched weekday",`you can't specify both a weekday of ${r.weekday} and a date of ${N.toISO()}`):N.isValid?N:Is.invalid(N.invalid)}static fromISO(t,e={}){const[n,s]=function(t){return He(t,[yn,vn],[gn,bn],[wn,kn],[pn,Mn])}(t);return ds(n,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[n,s]=function(t){return He(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[un,hn])}(t);return ds(n,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[n,s]=function(t){return He(t,[ln,mn],[cn,mn],[dn,fn])}(t);return ds(n,s,e,"HTTP",e)}static fromFormat(t,e,n={}){if(Vt(t)||Vt(e))throw new M("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:r=null}=n,i=gt.fromOpts({locale:s,numberingSystem:r,defaultToEN:!0}),[a,o,u,h]=function(t,e,n){const{result:s,zone:r,specificOffset:i,invalidReason:a}=ts(t,e,n);return[s,r,i,a]}(i,t,e);return h?Is.invalid(h):ds(a,o,n,`format ${e}`,t,u)}static fromString(t,e,n={}){return Is.fromFormat(t,e,n)}static fromSQL(t,e={}){const[n,s]=function(t){return He(t,[Dn,vn],[Nn,Tn])}(t);return ds(n,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new M("need to specify a reason the DateTime is invalid");const n=t instanceof Ct?t:new Ct(t,e);if(At.throwOnInvalid)throw new w(n);return new Is({invalid:n})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const n=es(t,gt.fromObject(e));return n?n.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Kn(qe.parseFormat(t),gt.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){Es=void 0,xs.clear()}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?is(this).weekYear:NaN}get weekNumber(){return this.isValid?is(this).weekNumber:NaN}get weekday(){return this.isValid?is(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?as(this).weekday:NaN}get localWeekNumber(){return this.isValid?as(this).weekNumber:NaN}get localWeekYear(){return this.isValid?as(this).weekYear:NaN}get ordinal(){return this.isValid?Rt(this.c).ordinal:NaN}get monthShort(){return this.isValid?jn.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?jn.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?jn.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?jn.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,n=me(this.c),s=this.zone.offset(n-t),r=this.zone.offset(n+t),i=this.zone.offset(n-s*e),a=this.zone.offset(n-r*e);if(i===a)return[this];const o=n-i*e,u=n-a*e,h=hs(o,i),l=hs(u,a);return h.hour===l.hour&&h.minute===l.minute&&h.second===l.second&&h.millisecond===l.millisecond?[os(this,{ts:o}),os(this,{ts:u})]:[this]}get isInLeapYear(){return le(this.year)}get daysInMonth(){return de(this.year,this.month)}get daysInYear(){return this.isValid?ce(this.year):NaN}get weeksInWeekYear(){return this.isValid?ye(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?ye(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:n,calendar:s}=qe.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:n,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(pt.instance(t),e)}toLocal(){return this.setZone(At.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:n=!1}={}){if((t=bt(t,At.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||n){const e=t.offset(this.ts),n=this.toObject();[s]=ls(n,e,t)}return os(this,{ts:s,zone:t})}return Is.invalid(rs(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:n}={}){return os(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:n})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=be(t,Ss),{minDaysInFirstWeek:n,startOfWeek:s}=Jt(e,this.loc),r=!Vt(e.weekYear)||!Vt(e.weekNumber)||!Vt(e.weekday),i=!Vt(e.ordinal),a=!Vt(e.year),o=!Vt(e.month)||!Vt(e.day);if((a||o||i)&&(e.weekYear||e.weekNumber))throw new b("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(o&&i)throw new b("Can't mix ordinal dates with month/day");let u;r?u=Pt({...Yt(this.c,n,s),...e},n,s):Vt(e.ordinal)?(u={...this.toObject(),...e},Vt(e.day)&&(u.day=Math.min(de(u.year,u.month),u.day))):u=Ut({...Rt(this.c),...e});const[h,l]=ls(u,this.o,this.zone);return os(this,{ts:h,o:l})}plus(t){return this.isValid?os(this,cs(this,Zn.fromDurationLike(t))):this}minus(t){return this.isValid?os(this,cs(this,Zn.fromDurationLike(t).negate())):this}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const n={},s=Zn.normalizeUnit(t);switch(s){case"years":n.month=1;case"quarters":case"months":n.day=1;case"weeks":case"days":n.hour=0;case"hours":n.minute=0;case"minutes":n.second=0;case"seconds":n.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(n.weekNumber=this.weekNumber-1),n.weekday=t}else n.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);n.month=3*(t-1)+1}return this.set(n)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?qe.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):ns}toLocaleString(t=E,e={}){return this.isValid?qe.create(this.loc.clone(e),t).formatDateTime(this):ns}toLocaleParts(t={}){return this.isValid?qe.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:n=!1,includeOffset:s=!0,extendedZone:r=!1,precision:i="milliseconds"}={}){if(!this.isValid)return null;const a="extended"===t;let o=fs(this,a,i=Ms(i));return vs.indexOf(i)>=3&&(o+="T"),o+=ys(this,a,e,n,s,r,i),o}toISODate({format:t="extended",precision:e="day"}={}){return this.isValid?fs(this,"extended"===t,Ms(e)):null}toISOWeekDate(){return ms(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:n=!0,includePrefix:s=!1,extendedZone:r=!1,format:i="extended",precision:a="milliseconds"}={}){return this.isValid?(a=Ms(a),(s&&vs.indexOf(a)>=3?"T":"")+ys(this,"extended"===i,e,t,n,r,a)):null}toRFC2822(){return ms(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return ms(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?fs(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:n=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(n&&(s+=" "),e?s+="z":t&&(s+="ZZ")),ms(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():ns}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",n={}){if(!this.isValid||!t.isValid)return Zn.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...n},r=(o=e,Array.isArray(o)?o:[o]).map(Zn.normalizeUnit),i=t.valueOf()>this.valueOf(),a=function(t,e,n,s){let[r,i,a,o]=function(t,e,n){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const n=zn(t,e);return(n-n%7)/7}],["days",zn]],r={},i=t;let a,o;for(const[u,h]of s)n.indexOf(u)>=0&&(a=u,r[u]=h(t,e),o=i.plus(r),o>e?(r[u]--,(t=i.plus(r))>e&&(o=t,r[u]--,t=i.plus(r))):t=o);return[t,r,o,a]}(t,e,n);const u=e-r,h=n.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===h.length&&(a<e&&(a=r.plus({[o]:1})),a!==r&&(i[o]=(i[o]||0)+u/(a-r)));const l=Zn.fromObject(i,s);return h.length>0?Zn.fromMillis(u,s).shiftTo(...h).plus(l):l}(i?this:t,i?t:this,r,s);var o;return i?a.negate():a}diffNow(t="milliseconds",e={}){return this.diff(Is.now(),t,e)}until(t){return this.isValid?_n.fromDateTimes(this,t):this}hasSame(t,e,n){if(!this.isValid)return!1;const s=t.valueOf(),r=this.setZone(t.zone,{keepLocalTime:!0});return r.startOf(e,n)<=s&&s<=r.endOf(e,n)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||Is.fromObject({},{zone:this.zone}),n=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],r=t.unit;return Array.isArray(t.unit)&&(s=t.unit,r=void 0),Ns(e,this.plus(n),{...t,numeric:"always",units:s,unit:r})}toRelativeCalendar(t={}){return this.isValid?Ns(t.base||Is.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(Is.isDateTime))throw new M("min requires all arguments be DateTimes");return ee(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(Is.isDateTime))throw new M("max requires all arguments be DateTimes");return ee(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,n={}){const{locale:s=null,numberingSystem:r=null}=n;return ts(gt.fromOpts({locale:s,numberingSystem:r,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,n={}){return Is.fromFormatExplain(t,e,n)}static buildFormatParser(t,e={}){const{locale:n=null,numberingSystem:s=null}=e,r=gt.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0});return new Xn(r,t)}static fromFormatParser(t,e,n={}){if(Vt(t)||Vt(e))throw new M("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:r=null}=n,i=gt.fromOpts({locale:s,numberingSystem:r,defaultToEN:!0});if(!i.equals(e.locale))throw new M(`fromFormatParser called with a locale of ${i}, but the format parser was created for ${e.locale}`);const{result:a,zone:o,specificOffset:u,invalidReason:h}=e.explainFromTokens(t);return h?Is.invalid(h):ds(a,o,n,`format ${e.format}`,t,u)}static get DATE_SHORT(){return E}static get DATE_MED(){return x}static get DATE_MED_WITH_WEEKDAY(){return I}static get DATE_FULL(){return O}static get DATE_HUGE(){return $}static get TIME_SIMPLE(){return F}static get TIME_WITH_SECONDS(){return L}static get TIME_WITH_SHORT_OFFSET(){return A}static get TIME_WITH_LONG_OFFSET(){return C}static get TIME_24_SIMPLE(){return W}static get TIME_24_WITH_SECONDS(){return Z}static get TIME_24_WITH_SHORT_OFFSET(){return q}static get TIME_24_WITH_LONG_OFFSET(){return _}static get DATETIME_SHORT(){return j}static get DATETIME_SHORT_WITH_SECONDS(){return z}static get DATETIME_MED(){return H}static get DATETIME_MED_WITH_SECONDS(){return Y}static get DATETIME_MED_WITH_WEEKDAY(){return P}static get DATETIME_FULL(){return R}static get DATETIME_FULL_WITH_SECONDS(){return U}static get DATETIME_HUGE(){return J}static get DATETIME_HUGE_WITH_SECONDS(){return G}}function Os(t){if(Is.isDateTime(t))return t;if(t&&t.valueOf&&Qt(t.valueOf()))return Is.fromJSDate(t);if(t&&"object"==typeof t)return Is.fromObject(t);throw new M(`Unknown datetime argument: ${t}, of type ${typeof t}`)}var $s={nextMonth:"Επόμενος μήνας",nextYears:"Επόμενα έτη",previousMonth:"Προηγούμενος μήνας",previousYears:"Προηγούμενα έτη"},Fs={nextMonth:"Next month",nextYears:"Next years",previousMonth:"Previous month",previousYears:"Previous years"},Ls={nextMonth:"Mes siguiente",nextYears:"Años siguientes",previousMonth:"Mes anterior",previousYears:"Años anteriores"},As={nextMonth:"Mese successivo",nextYears:"Anni successivi",previousMonth:"Mese precedente",previousYears:"Anni precedenti"};const Cs=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.datesEmitter=n(this,"mdsCalendarChange",7),this.navigationEmitter=n(this,"mdsCalendarNavigate",7),this.hoverEmitter=n(this,"mdsCalendarHover",7),this.checkPreselectionsEmitter=n(this,"mdsCalendarPreselect",7),this.t=new l({el:$s,en:Fs,es:Ls,it:As}),this.hasPreselection=!1,this.currentDate=Is.now(),this.weekDaysinMonth=[],this.weekdays=[],this.startDateIdentifier=null,this.endDateIdentifier=null,this.isFirstClick=!0,this.currentView="calendar",this.selectedYear=this.currentDate.year,this.singlePicker=!1,this.hidePreviousButton=!1,this.hideNextButton=!1,this.disableMonthYearSelection=!1,this.hidePreselection=!1,this.hideToday=!1,this.viewDate=null,this.hoverDate=null,this.startDate=null,this.endDate=null,this.min=null,this.max=null,this.internalStartDate=this.startDate,this.internalEndDate=this.endDate,this.internalHoverDate=null,this.currentMonth="",this.currentYear="",this.updatePreselection=()=>{this.hasPreselection=u(this.host,"preselection")||null!==this.host.querySelector(".date-preselection--has-preselection")},this.handleMouseOver=t=>{const e=t.target;if(!e.matches("mds-calendar-cell")||this.singlePicker||null===this.internalStartDate||""===this.internalStartDate||null!==this.internalEndDate&&""!==this.internalEndDate)return;const n=e.getAttribute("date");null!==n&&""!==n&&(n!==this.internalHoverDate&&(this.internalHoverDate=n,requestAnimationFrame((()=>this.setDates()))),this.hoverEmitter.emit({hoverDate:n}))},this.handleMouseLeave=()=>{const t=null!==this.internalHoverDate;this.internalHoverDate=null,this.singlePicker||null===this.internalStartDate||""===this.internalStartDate||null!==this.internalEndDate&&""!==this.internalEndDate||(t&&requestAnimationFrame((()=>this.setDates())),null!==this.hoverDate&&""!==this.hoverDate&&this.hoverEmitter.emit({hoverDate:null}))},this.handleMonthActionClick=t=>{t.stopPropagation(),this.disableMonthYearSelection?t.preventDefault():(this.currentView="months"===this.currentView?"calendar":"months",requestAnimationFrame((()=>{this.updateCalendar().then((()=>this.setDates()))})))},this.handleYearActionClick=t=>{t.stopPropagation(),this.disableMonthYearSelection?t.preventDefault():(this.currentView="years"===this.currentView?"calendar":"years",requestAnimationFrame((()=>{this.updateCalendar().then((()=>this.setDates()))})))},this.handlePrev=t=>{"calendar"===this.currentView?(t.stopPropagation(),this.changeMonth(-1)):"years"===this.currentView?(t.stopPropagation(),this.selectedYear-=10):t.stopPropagation()},this.handleNext=t=>{"calendar"===this.currentView?(t.stopPropagation(),this.changeMonth(1)):"years"===this.currentView?(t.stopPropagation(),this.selectedYear+=10):t.stopPropagation()},this.handleCellClick=t=>e=>{e.stopPropagation();const n=e.currentTarget;this.singlePicker?this.handleSingleSelection(n,t):this.handleRange(n,t)},this.handleMonthSelect=t=>e=>{e.stopPropagation(),this.currentDate=this.currentDate.set({month:t}),this.currentMonth=this.currentDate.toFormat("MMMM"),this.currentView="calendar",this.updateCalendar().then((()=>{requestAnimationFrame((()=>this.setDates()))}))},this.handleYearSelect=t=>e=>{e.stopPropagation(),this.currentDate=this.currentDate.set({year:t}),this.currentYear=t.toString(),this.currentView="calendar",this.updateCalendar().then((()=>{requestAnimationFrame((()=>this.setDates()))}))}}handleStartDate(t){const e=this.parseDateProp(t,"start-date");null!==e?(this.internalStartDate=e,this.startDateTime=Is.fromISO(e),this.startDateIdentifier=this.startDateTime.toISODate(),null!==this.internalEndDate&&""!==this.internalEndDate?this.orderRange():this.singlePicker||(this.isFirstClick=!1),this.updateDates()):(this.internalStartDate=null,this.startDateIdentifier=null,this.startDateTime=null,this.isFirstClick=!0,this.updateDates())}handleEndDate(t){if(this.singlePicker)return console.warn("singlePicker is enabled, endDate cannot be set"),void(this.internalEndDate=null);const e=this.parseDateProp(t,"end-date");null!==e?(this.internalEndDate=e,this.endDateTime=Is.fromISO(e),this.endDateIdentifier=this.endDateTime.toISODate(),null!==this.internalStartDate&&""!==this.internalStartDate&&this.orderRange(),this.updateDates()):(this.internalEndDate=null,this.endDateIdentifier=null,this.endDateTime=null,this.updateDates())}handleViewDate(t){if(null!==t&&""!==t){const e=Is.fromISO(t.toString());e.isValid&&(this.currentDate=e,this.updateCalendar().then((()=>{requestAnimationFrame((()=>this.setDates()))})))}}handleHoverDate(){requestAnimationFrame((()=>this.setDates()))}orderRange(){if(null===this.internalStartDate||null===this.internalEndDate)return;const t=Is.fromISO(this.internalStartDate),e=Is.fromISO(this.internalEndDate);t<=e||(console.warn("mds-calendar: startDate is after endDate, swapping values"),[this.internalStartDate,this.internalEndDate]=[this.internalEndDate,this.internalStartDate],this.startDateTime=e,this.endDateTime=t,this.startDateIdentifier=e.toISODate(),this.endDateIdentifier=t.toISODate())}parseDateProp(t,e){if(null===t||""===t)return null;const n=o(t.toString());return null!==n&&Is.fromISO(n).isValid?n:(console.warn(`mds-calendar: ignoring the invalid ${e} "${t}"`),null)}componentWillLoad(){if(this.internalStartDate=this.parseDateProp(this.internalStartDate,"start-date"),this.internalEndDate=this.parseDateProp(this.internalEndDate,"end-date"),this.singlePicker&&null!==this.internalEndDate&&(console.warn("singlePicker is enabled, endDate cannot be set"),this.internalEndDate=null),this.orderRange(),null!==this.viewDate&&""!==this.viewDate){const t=Is.fromISO(this.viewDate.toString());t.isValid&&(this.currentDate=t)}else null!==this.internalStartDate&&(this.startDateTime=Is.fromISO(this.internalStartDate),this.currentDate=this.startDateTime);null!==this.internalEndDate&&(this.endDateTime=Is.fromISO(this.internalEndDate)),this.updateCalendar()}componentDidLoad(){var t,e,n;this.updatePreselection(),null===(e=null===(t=this.host)||void 0===t?void 0:t.shadowRoot)||void 0===e||e.addEventListener("mouseover",this.handleMouseOver),null===(n=this.host)||void 0===n||n.addEventListener("mouseleave",this.handleMouseLeave),this.setDates()}disconnectedCallback(){var t,e,n;null===(e=null===(t=this.host)||void 0===t?void 0:t.shadowRoot)||void 0===e||e.removeEventListener("mouseover",this.handleMouseOver),null===(n=this.host)||void 0===n||n.removeEventListener("mouseleave",this.handleMouseLeave)}async updateCurrentDate(t){return this.currentDate=Is.fromISO(t),await this.updateCalendar(),await new Promise((t=>{requestAnimationFrame((()=>{this.setDates(),t()}))})),Promise.resolve()}resolveHoverDate(){return null!==this.hoverDate&&""!==this.hoverDate?this.hoverDate:this.internalHoverDate}updateDates(){this.updateCalendar().then((()=>{requestAnimationFrame((()=>this.setDates()))}))}async updateCalendar(){try{const t=this.currentDate.startOf("week");this.weekdays=Array.from({length:7}).map(((e,n)=>t.setLocale(a.state.language).plus({days:n}).toFormat("ccc"))),this.calculateWeekDaysInMonth(),this.currentMonth=this.currentDate.setLocale(a.state.language).toFormat("MMMM"),this.currentMonthNumber=this.currentDate.month,this.currentYear=this.currentDate.toFormat("yyyy")}catch(t){console.error("Error while updating the calendar:",t)}}setDates(){const t=this.host;if(null==t)return;const{shadowRoot:e}=t;if(!e)return;const n=e.querySelectorAll("mds-calendar-cell[selection], mds-calendar-cell[preview]");if(this.singlePicker)this.setSingleSelection(n,e);else{const t=this.resolveHoverDate();null===t||null!==this.internalEndDate&&""!==this.internalEndDate?this.setRangeSelection(n,e):this.setHoverSelection(n,e,t)}}clearSelectionState(t){t.forEach((t=>{t.removeAttribute("selection"),t.removeAttribute("preview")}))}setRangeSelection(t,e){if(this.clearSelectionState(t),null===this.internalStartDate||""===this.internalStartDate)return;if(this.startDateTime=Is.fromISO(this.internalStartDate.toString()),null===this.internalEndDate||""===this.internalEndDate)return this.startDateIdentifier=this.startDateTime.toISODate(),this.isFirstClick=!1,void e.querySelectorAll("mds-calendar-cell").forEach((t=>{t.getAttribute("date")===this.startDateTime.toFormat("yyyy-MM-dd")&&(t.setAttribute("selection","single"),t.setAttribute("preview","true"))}));this.endDateTime=Is.fromISO(this.internalEndDate.toString()),this.startDateIdentifier=this.startDateTime.toISODate(),this.endDateIdentifier=this.endDateTime.toISODate();const n=e.querySelectorAll("mds-calendar-cell");if(null!=n){let t;for(let e=0;e<n.length;e++){const s=n[e].getAttribute("date");if(null!==s&&""!==s){const r=Is.fromISO(s);r.toFormat("yyyy-MM-dd")===this.startDateTime.toFormat("yyyy-MM-dd")&&n[e].setAttribute("selection","start"),r.toFormat("yyyy-MM-dd")===this.endDateTime.toFormat("yyyy-MM-dd")&&(this.startDateTime.equals(this.endDateTime)?n[e].setAttribute("selection","single"):n[e].setAttribute("selection","end")),t=r>this.startDateTime&&r<this.endDateTime,t&&n[e].setAttribute("selection","middle")}}}}setHoverSelection(t,e,n){if(this.clearSelectionState(t),null===this.internalStartDate||""===this.internalStartDate)return void this.setRangeSelection(t,e);const s=Is.fromISO(this.internalStartDate),r=Is.fromISO(n);if(!s.isValid||!r.isValid)return void this.setRangeSelection(t,e);const i=s<=r;Array.from(e.querySelectorAll("mds-calendar-cell")).forEach((t=>{const e=t.getAttribute("date");if(null===e||""===e)return;const n=Is.fromISO(e);if(!n.isValid)return;if(!(i?n>=s&&n<=r:n>=r&&n<=s))return;t.setAttribute("preview","true");let a="middle";s.equals(r)&&n.equals(s)?a="single":n.equals(s)?a=i?"start":"end":n.equals(r)&&(a=i?"end":"start"),t.setAttribute("selection",a)}))}setSingleSelection(t,e){if(this.clearSelectionState(t),null===this.internalStartDate||""===this.internalStartDate)return;this.startDateTime=Is.fromISO(this.internalStartDate.toString());const n=e.querySelectorAll("mds-calendar-cell");if(null!=n)for(let t=0;t<n.length;t++){const e=n[t].getAttribute("date");null!==e&&""!==e&&Is.fromISO(e).toFormat("yyyy-MM-dd")===this.startDateTime.toFormat("yyyy-MM-dd")&&n[t].setAttribute("selection","single")}}changeMonth(t){this.currentDate=this.currentDate.plus({months:t}),this.updateCalendar().then((()=>{requestAnimationFrame((()=>this.setDates()))})),this.navigationEmitter.emit({currentDate:this.currentDate.toISODate(),delta:t})}calculateWeekDaysInMonth(){const t=this.currentDate.startOf("month"),e=this.currentDate.endOf("month"),n=[];for(let e=t.minus({days:t.weekday-1});e<t;e=e.plus({days:1}))n.push({date:e,isCurrentMonth:!1});for(let s=t;s<=e;s=s.plus({days:1}))n.push({date:s,isCurrentMonth:!0});const s=7-e.weekday,r=e.plus({days:1});for(let t=r;t<r.plus({days:s});t=t.plus({days:1}))n.push({date:t,isCurrentMonth:!1});this.weekDaysinMonth=n}handleRange(t,e){if(!this.singlePicker&&(null===this.endDate||""===this.endDate)&&(null===this.internalEndDate||""===this.internalEndDate)&&this.isFirstClick){const t=this.parseDateProp(this.startDate||this.host.getAttribute("start-date"),"start-date");null!==t&&(this.internalStartDate=t,this.startDateTime=Is.fromISO(t),this.startDateIdentifier=this.startDateTime.toISODate(),this.isFirstClick=!1)}if(null!==this.startDateIdentifier&&""!==this.startDateIdentifier&&null!==this.endDateIdentifier&&""!==this.endDateIdentifier&&(()=>{this.internalStartDate=null,this.internalEndDate=null,this.startDateIdentifier=null,this.startDateTime=null,this.endDateIdentifier=null,this.endDateTime=null,this.isFirstClick=!0;const t=this.host;requestAnimationFrame((()=>{var e;null===(e=null==t?void 0:t.shadowRoot)||void 0===e||e.querySelectorAll("mds-calendar-cell[selection]").forEach((t=>{t.removeAttribute("selection"),t.removeAttribute("preview")}))}))})(),this.isFirstClick){this.startDateIdentifier=e.toISODate(),this.startDateTime=e,this.internalStartDate=this.startDateTime.toISO().split("T")[0],this.isFirstClick=!1;const n=this.host;return requestAnimationFrame((()=>{var t;null===(t=null==n?void 0:n.shadowRoot)||void 0===t||t.querySelectorAll("mds-calendar-cell[selection]").forEach((t=>{t.removeAttribute("selection")}))})),requestAnimationFrame((()=>{t.setAttribute("selection","single"),t.setAttribute("preview","true")})),void this.datesEmitter.emit({startDate:this.internalStartDate})}null!==this.startDateIdentifier&&""!==this.startDateIdentifier&&Is.fromISO(this.startDateIdentifier)<Is.fromISO(t.getAttribute("date"))?(this.endDateIdentifier=t.getAttribute("date"),this.endDateTime=e,this.internalEndDate=this.endDateTime.toISO().split("T")[0]):(this.endDateIdentifier=this.startDateIdentifier,this.endDateTime=this.startDateTime,this.internalEndDate=this.internalStartDate,this.startDateIdentifier=t.getAttribute("date"),this.startDateTime=e,this.internalStartDate=this.startDateTime.toISO().split("T")[0]),requestAnimationFrame((()=>this.setDates())),null!==this.internalStartDate&&""!==this.internalStartDate&&null!==this.internalEndDate&&""!==this.internalEndDate&&(this.datesEmitter.emit({startDate:this.internalStartDate,endDate:this.internalEndDate}),this.checkPreselectionsEmitter.emit())}handleSingleSelection(t,e){var n;const s=this.host;null===(n=null==s?void 0:s.shadowRoot)||void 0===n||n.querySelectorAll("mds-calendar-cell[selection]").forEach((t=>{t.removeAttribute("selection")})),this.startDateIdentifier=t.getAttribute("date"),this.startDateTime=e,this.internalStartDate=this.startDateTime.toISO().split("T")[0],this.isFirstClick=!1,t.setAttribute("selection","single"),null!==this.internalStartDate&&""!==this.internalStartDate&&this.datesEmitter.emit({startDate:this.internalStartDate})}isDateDisabled(t){return null!==this.min&&""!==this.min&&t<Is.fromISO(this.min)||null!==this.max&&""!==this.max&&t>Is.fromISO(this.max)||void 0}render(){return s(r,{key:"8611a2c99c4cd736e76f1b7ede71aaf4f98fc00b"},s("div",{key:"2722b2e4b90c64e0d1247931380fdba8f634da1a",class:h("calendar-preselection",this.hasPreselection&&!this.hidePreselection&&"calendar-preselection--has-preselection")},s("slot",{key:"3dbd57162a6b22bfd51c163a476b90498c81e757",name:"preselection",onSlotchange:this.updatePreselection})),s("div",{key:"29e894b84333a08efa15cd46dc2015ac8d8a9663",class:"calendar-view"},s("nav",{key:"5383cd78806d501699f6d41e883aab92b79a2456"},!this.hidePreviousButton&&s("mds-button",{key:"f9c65eb580f1ab80c74b7ac002d56ca5bddbc4ae","aria-label":this.t.get("years"===this.currentView?"previousYears":"previousMonth"),class:"action-back",disabled:"months"===this.currentView,icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M17.77 3.77L16 2L6 12l10 10l1.77-1.77L9.54 12z"/></svg>',variant:"dark",tone:"text",onClick:this.handlePrev}),s("div",{key:"4979c86c0979effdd2104de726c5711f079bb5c7",class:"select-month-or-year"},("calendar"===this.currentView||"months"===this.currentView)&&s("mds-button",{key:"ca34dd25e152dd700f69e4367d1d6647b38b9768",class:"action-month",truncate:"none",variant:"dark",tone:"text",label:this.currentMonth,onClick:this.handleMonthActionClick}),("calendar"===this.currentView||"years"===this.currentView)&&s("mds-button",{key:"853f39d4f660f27fad3ca55ce4970495115d40de",class:"action-year",truncate:"none",variant:"dark",tone:"text",label:this.currentYear,onClick:this.handleYearActionClick})),!this.hideNextButton&&s("mds-button",{key:"ea639d7b4fa5ff27d2f059ecbd7db49ba60e2642","aria-label":this.t.get("years"===this.currentView?"nextYears":"nextMonth"),class:"action-forward",disabled:"months"===this.currentView,icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M6.23 20.23L8 22l10-10L8 2L6.23 3.77L14.46 12z"/></svg>',variant:"dark",tone:"text",onClick:this.handleNext})),"calendar"===this.currentView&&s("section",{key:"89f888f30c42fc106d29b7b3e2b69555db02805f",class:"month-view"},s("header",{key:"56c800fd0acb55f7843d055e7465f18e0df9e295",class:"month-view__days-names"},this.weekdays.map((t=>s("mds-button",{class:"week-day-name",variant:"dark",tone:"text",label:t})))),s("div",{key:"f03c98174586cb5b86c86dbc3fe7763359a984fc",class:"month-view__cells"},this.weekDaysinMonth.map(((t,e)=>s("mds-calendar-cell",{key:e,today:!this.hideToday&&Is.now().toFormat("yyyy-MM-dd")===t.date.toFormat("yyyy-MM-dd"),date:t.date.toFormat("yyyy-MM-dd"),month:t.isCurrentMonth?"current":"other",disabled:this.isDateDisabled(t.date),onClick:this.handleCellClick(t.date),title:t.date.setLocale(a.state.language).toFormat("cccc d LLLL").replace(/^./,(t=>t.toUpperCase())),label:t.date.toFormat("dd")}))))),"months"===this.currentView&&s("section",{key:"a96f215d14da90cf1d66cead45dc6120678f1313",class:"month-selection"},s("header",{key:"54fffeb45ff37884669e27142c763d2003351da0",class:"month-view__month-names"},Array.from({length:12}).map(((t,e)=>{const n=Is.local().set({month:e+1}).setLocale(a.state.language).toFormat("MMMM");return s("mds-button",{class:"action",variant:"dark",tone:"text",label:n,onClick:this.handleMonthSelect(e+1)})})))),"years"===this.currentView&&s("section",{key:"eeade1ee73a96c0a4e2ee9d0b0986feec7652077",class:"year-selection"},s("header",{key:"1dd18af4c5ddb8d77c0930d3362716967350f229",class:"month-view__years"},Array.from({length:12}).map(((t,e)=>{const n=this.selectedYear+e;return s("mds-button",{class:"action",variant:"dark",tone:"text",label:`${n}`,onClick:this.handleYearSelect(n)})}))))))}get host(){return this}static get watchers(){return{startDate:[{handleStartDate:0}],endDate:[{handleEndDate:0}],viewDate:[{handleViewDate:0}],hoverDate:[{handleHoverDate:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-calendar-cell):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-calendar-day-number-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-calendar-cell-gap:calc(var(--spacing,.0025rem)*50);--mds-calendar-cell-other-month-visibility:visible;--mds-calendar-border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));--mds-calendar-background:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));--mds-calendar-padding:calc(var(--spacing,.0025rem)*400);--mds-calendar-select-month-or-year-height:calc(var(--spacing,.0025rem)*900);--mds-calendar-select-month-or-year-width:14rem;--mds-calendar-max-width:480px;background-color:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));border-radius:var(--mds-calendar-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)));corner-shape:var(--magma-corner-shape,squircle);cursor:auto;display:inline-flex;inline-size:100%;max-width:var(--mds-calendar-max-width,480px);min-width:min-content;overflow:hidden}.calendar-view{background-color:var(--mds-calendar-background,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));border-radius:inherit;box-sizing:border-box;corner-shape:inherit;display:grid;flex:auto;width:100%}.calendar-preselection,.calendar-view{padding:var(--mds-calendar-padding,calc(var(--spacing,.0025rem)*400))}.calendar-preselection{display:none;gap:calc(var(--spacing,.0025rem)*50);grid-auto-rows:min-content}.calendar-preselection--has-preselection{display:grid}nav{display:flex;gap:calc(var(--spacing,.0025rem)*200);justify-content:space-between;min-width:0}.action{justify-content:left;min-width:min-content;padding-left:calc(var(--spacing,.0025rem)*200);padding-right:calc(var(--spacing,.0025rem)*200)}.action-back,.action-forward{flex-shrink:0}.select-month-or-year{background-color:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));block-size:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));border-radius:min(var(--mds-calendar-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px))),var(--magma-corner-cap,.5) * var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900)));box-sizing:border-box;corner-shape:var(--magma-corner-shape,squircle);align-items:stretch;display:flex;flex:0 0 var(--mds-calendar-select-month-or-year-width,14rem);height:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));inline-size:var(--mds-calendar-select-month-or-year-width,14rem);justify-content:flex-start;max-block-size:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));max-height:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));max-inline-size:var(--mds-calendar-select-month-or-year-width,14rem);min-block-size:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));min-height:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));min-inline-size:var(--mds-calendar-select-month-or-year-width,14rem);overflow:hidden}.action-month,.action-year{--mds-button-radius:0;align-self:stretch;block-size:100%;box-sizing:border-box;cursor:default;height:100%;max-block-size:100%;max-height:100%;min-block-size:0;min-height:0;padding-left:calc(var(--spacing,.0025rem)*200);padding-right:calc(var(--spacing,.0025rem)*200)}.action-month{flex:auto;min-width:0}.action-year{flex:0 0 4.5rem}.action-month::part(label),.action-year::part(label){overflow:visible;text-overflow:clip;white-space:nowrap}.week-day-name{align-items:center;block-size:calc(var(--spacing,.0025rem)*1200);inline-size:100%;min-height:auto;padding:0}.month-view__cells,.month-view__days-names{display:grid;gap:var(--mds-calendar-cell-gap);grid-template-columns:repeat(7,minmax(1px,100%));min-width:0}.month-view{display:grid}.month-view__month-names,.month-view__years{display:grid;gap:var(--mds-calendar-cell-gap);grid-template-columns:repeat(3,minmax(1px,100%));min-width:0}"}},[257,"mds-calendar",{singlePicker:[4,"single-picker"],hidePreviousButton:[4,"hide-previous-button"],hideNextButton:[4,"hide-next-button"],disableMonthYearSelection:[4,"disable-month-year-selection"],hidePreselection:[4,"hide-preselection"],hideToday:[4,"hide-today"],viewDate:[513,"view-date"],hoverDate:[513,"hover-date"],startDate:[513,"start-date"],endDate:[513,"end-date"],min:[513],max:[513],hasPreselection:[32],currentDate:[32],weekDaysinMonth:[32],weekdays:[32],startDateIdentifier:[32],endDateIdentifier:[32],isFirstClick:[32],currentView:[32],selectedYear:[32],internalStartDate:[32],internalEndDate:[32],currentMonth:[32],currentYear:[32],updateCurrentDate:[64]},void 0,{startDate:[{handleStartDate:0}],endDate:[{handleEndDate:0}],viewDate:[{handleViewDate:0}],hoverDate:[{handleHoverDate:0}]}]);function Ws(){"undefined"!=typeof customElements&&["mds-calendar","mds-button","mds-calendar-cell","mds-icon","mds-spinner","mds-text"].forEach((t=>{switch(t){case"mds-calendar":customElements.get(i(t))||customElements.define(i(t),Cs);break;case"mds-button":customElements.get(i(t))||c();break;case"mds-calendar-cell":customElements.get(i(t))||d();break;case"mds-icon":customElements.get(i(t))||m();break;case"mds-spinner":customElements.get(i(t))||f();break;case"mds-text":customElements.get(i(t))||y()}}))}export{Is as D,Cs as M,Ws as d}
|
|
1
|
+
import{p as t,H as e,d as n,h as s,c as r,t as i}from"./p-TZJN-ygm.js";import{p as a}from"./p-CVRN4LDc.js";import{s as o}from"./p-CACEYk42.js";import{h as u}from"./p-DWIIDHSa.js";import{c as h}from"./p-ChV9xqsO.js";import{L as l}from"./p-B8x-d2fx.js";import{d as c}from"./p-ClPv-Ljc.js";import{d}from"./p-CHHEp_7y.js";import{d as m}from"./p-Cmn1DJAB.js";import{d as f}from"./p-ZuubAcA3.js";import{d as y}from"./p-CNF3u0Li.js";class g extends Error{}class w extends g{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class p extends g{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class v extends g{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class b extends g{}class k extends g{constructor(t){super(`Invalid unit ${t}`)}}class M extends g{}class S extends g{constructor(){super("Zone is an abstract class")}}const D="numeric",N="short",T="long",E={year:D,month:D,day:D},x={year:D,month:N,day:D},O={year:D,month:N,day:D,weekday:N},$={year:D,month:T,day:D},I={year:D,month:T,day:D,weekday:T},F={hour:D,minute:D},L={hour:D,minute:D,second:D},C={hour:D,minute:D,second:D,timeZoneName:N},A={hour:D,minute:D,second:D,timeZoneName:T},Z={hour:D,minute:D,hourCycle:"h23"},W={hour:D,minute:D,second:D,hourCycle:"h23"},_={hour:D,minute:D,second:D,hourCycle:"h23",timeZoneName:N},q={hour:D,minute:D,second:D,hourCycle:"h23",timeZoneName:T},j={year:D,month:D,day:D,hour:D,minute:D},H={year:D,month:D,day:D,hour:D,minute:D,second:D},z={year:D,month:N,day:D,hour:D,minute:D},P={year:D,month:N,day:D,hour:D,minute:D,second:D},R={year:D,month:N,day:D,weekday:N,hour:D,minute:D},Y={year:D,month:T,day:D,hour:D,minute:D,timeZoneName:N},J={year:D,month:T,day:D,hour:D,minute:D,second:D,timeZoneName:N},U={year:D,month:T,day:D,weekday:T,hour:D,minute:D,timeZoneName:T},G={year:D,month:T,day:D,weekday:T,hour:D,minute:D,second:D,timeZoneName:T};class V{get type(){throw new S}get name(){throw new S}get ianaName(){return this.name}get isUniversal(){throw new S}offsetName(t,e){throw new S}formatOffset(t,e){throw new S}offset(t){throw new S}equals(t){throw new S}get isValid(){throw new S}}let B=null;class Q extends V{static get instance(){return null===B&&(B=new Q),B}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:n}){return we(t,e,n)}formatOffset(t,e){return ke(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const K=new Map,X={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6},tt=new Map;class et extends V{static create(t){let e=tt.get(t);return void 0===e&&tt.set(t,e=new et(t)),e}static resetCache(){tt.clear(),K.clear()}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=et.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:n}){return we(t,e,n,this.name)}formatOffset(t,e){return ke(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const n=function(t){let e=K.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),K.set(t,e)),e}(this.name);let[s,r,i,a,o,u,h]=n.formatToParts?function(t,e){const n=t.formatToParts(e),s=[];for(let t=0;t<n.length;t++){const{type:e,value:r}=n[t],i=X[e];"era"===e?s[i]=r:Bt(i)||(s[i]=parseInt(r,10))}return s}(n,e):function(t,e){const n=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,r,i,a,o,u,h,l]=s;return[a,r,i,o,u,h,l]}(n,e);"BC"===a&&(s=1-Math.abs(s));let l=+e;const c=l%1e3;return l-=c>=0?c:1e3+c,(me({year:s,month:r,day:i,hour:24===o?0:o,minute:u,second:h,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let nt={};const st=new Map;function rt(t,e={}){const n=JSON.stringify([t,e]);let s=st.get(n);return void 0===s&&(s=new Intl.DateTimeFormat(t,e),st.set(n,s)),s}const it=new Map,at=new Map;let ot=null;const ut=new Map;function ht(t){let e=ut.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),ut.set(t,e)),e}const lt=new Map;function ct(t,e,n,s){const r=t.listingMode();return"error"===r?null:"en"===r?n(e):s(e)}class dt{constructor(t,e,n){this.padTo=n.padTo||0,this.floor=n.floor||!1;const{padTo:s,floor:r,...i}=n;if(!e||Object.keys(i).length>0){const e={useGrouping:!1,...n};n.padTo>0&&(e.minimumIntegerDigits=n.padTo),this.inf=function(t,e={}){const n=JSON.stringify([t,e]);let s=it.get(n);return void 0===s&&(s=new Intl.NumberFormat(t,e),it.set(n,s)),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return ie(this.floor?Math.floor(t):he(t,3),this.padTo)}}class mt{constructor(t,e,n){let s;if(this.opts=n,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,n=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&et.create(n).valid?(s=n,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const r={...this.opts};r.timeZone=r.timeZone||s,this.dtf=rt(e,r)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class ft{constructor(t,e,n){this.opts={style:"long",...n},!e&&Xt()&&(this.rtf=function(t,e={}){const{base:n,...s}=e,r=JSON.stringify([t,s]);let i=at.get(r);return void 0===i&&(i=new Intl.RelativeTimeFormat(t,e),at.set(r,i)),i}(t,n))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,n="always",s=!1){const r={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},i=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===n&&i){const n="days"===t;switch(e){case 1:return n?"tomorrow":`next ${r[t][0]}`;case-1:return n?"yesterday":`last ${r[t][0]}`;case 0:return n?"today":`this ${r[t][0]}`}}const a=Object.is(e,-0)||e<0,o=Math.abs(e),u=1===o,h=r[t],l=s?u?h[1]:h[2]||h[1]:u?r[t][0]:t;return a?`${o} ${l} ago`:`in ${o} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const yt={firstDay:1,minimalDays:4,weekend:[6,7]};class gt{static fromOpts(t){return gt.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,n,s,r=!1){const i=t||Ct.defaultLocale,a=i||(r?"en-US":ot||(ot=(new Intl.DateTimeFormat).resolvedOptions().locale,ot)),o=e||Ct.defaultNumberingSystem,u=n||Ct.defaultOutputCalendar,h=se(s)||Ct.defaultWeekSettings;return new gt(a,o,u,h,i)}static resetCache(){ot=null,st.clear(),it.clear(),at.clear(),ut.clear(),lt.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:n,weekSettings:s}={}){return gt.create(t,e,n,s)}constructor(t,e,n,s,r){const[i,a,o]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const n=t.indexOf("-u-");if(-1===n)return[t];{let e,s;try{e=rt(t).resolvedOptions(),s=t}catch(r){const i=t.substring(0,n);e=rt(i).resolvedOptions(),s=i}const{numberingSystem:r,calendar:i}=e;return[s,r,i]}}(t);this.locale=i,this.numberingSystem=e||a||null,this.outputCalendar=n||o||null,this.weekSettings=s,this.intl=function(t,e,n){return n||e?(t.includes("-u-")||(t+="-u"),n&&(t+=`-ca-${n}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=r,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===ht(t.locale).numberingSystem)),this.fastNumbersCached}listingMode(){return this.isEnglish()&&!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar)?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?gt.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,se(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return ct(this,t,Te,(()=>{const n="ja"===this.intl||this.intl.startsWith("ja-"),s=(e&=!n)?{month:t,day:"numeric"}:{month:t},r=e?"format":"standalone";return this.monthsCache[r][t]||(this.monthsCache[r][t]=function(t){const e=[];for(let n=1;n<=12;n++){const s=Os.utc(2009,n,1);e.push(t(s))}return e}(n?t=>this.dtFormatter(t,s).format():t=>this.extract(t,s,"month"))),this.monthsCache[r][t]}))}weekdays(t,e=!1){return ct(this,t,$e,(()=>{const n=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let n=1;n<=7;n++){const s=Os.utc(2016,11,13+n);e.push(t(s))}return e}((t=>this.extract(t,n,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return ct(this,void 0,(()=>Ie),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[Os.utc(2016,11,13,9),Os.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return ct(this,t,Ae,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[Os.utc(-40,1,1),Os.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,n){const s=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===n));return s?s.value:null}numberFormatter(t={}){return new dt(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new mt(t,this.intl,e)}relFormatter(t={}){return new ft(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const n=JSON.stringify([t,e]);let s=nt[n];return s||(s=new Intl.ListFormat(t,e),nt[n]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||ht(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:te()?function(t){let e=lt.get(t);if(!e){const n=new Intl.Locale(t);e="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,"minimalDays"in e||(e={...yt,...e}),lt.set(t,e)}return e}(this.locale):yt}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let wt=null;class pt extends V{static get utcInstance(){return null===wt&&(wt=new pt(0)),wt}static instance(t){return 0===t?pt.utcInstance:new pt(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new pt(pe(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${ke(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${ke(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return ke(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class vt extends V{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function bt(t,e){if(Bt(t)||null===t)return e;if(t instanceof V)return t;if("string"==typeof t){const n=t.toLowerCase();return"default"===n?e:"local"===n||"system"===n?Q.instance:"utc"===n||"gmt"===n?pt.utcInstance:pt.parseSpecifier(n)||et.create(t)}return Qt(t)?pt.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new vt(t)}const kt={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Mt={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},St=kt.hanidec.replace(/[\[|\]]/g,"").split(""),Dt=new Map;function Nt({numberingSystem:t},e=""){const n=t||"latn";let s=Dt.get(n);void 0===s&&(s=new Map,Dt.set(n,s));let r=s.get(e);return void 0===r&&(r=new RegExp(`${kt[n]}${e}`),s.set(e,r)),r}let Tt,Et=()=>Date.now(),xt="system",Ot=null,$t=null,It=null,Ft=60,Lt=null;class Ct{static get now(){return Et}static set now(t){Et=t}static set defaultZone(t){xt=t}static get defaultZone(){return bt(xt,Q.instance)}static get defaultLocale(){return Ot}static set defaultLocale(t){Ot=t}static get defaultNumberingSystem(){return $t}static set defaultNumberingSystem(t){$t=t}static get defaultOutputCalendar(){return It}static set defaultOutputCalendar(t){It=t}static get defaultWeekSettings(){return Lt}static set defaultWeekSettings(t){Lt=se(t)}static get twoDigitCutoffYear(){return Ft}static set twoDigitCutoffYear(t){Ft=t%100}static get throwOnInvalid(){return Tt}static set throwOnInvalid(t){Tt=t}static resetCaches(){gt.resetCache(),et.resetCache(),Os.resetCache(),Dt.clear()}}class At{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Zt=[0,31,59,90,120,151,181,212,243,273,304,334],Wt=[0,31,60,91,121,152,182,213,244,274,305,335];function _t(t,e){return new At("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function qt(t,e,n){const s=new Date(Date.UTC(t,e-1,n));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const r=s.getUTCDay();return 0===r?7:r}function jt(t,e,n){return n+(le(t)?Wt:Zt)[e-1]}function Ht(t,e){const n=le(t)?Wt:Zt,s=n.findIndex((t=>t<e));return{month:s+1,day:e-n[s]}}function zt(t,e){return(t-e+7)%7+1}function Pt(t,e=4,n=1){const{year:s,month:r,day:i}=t,a=jt(s,r,i),o=zt(qt(s,r,i),n);let u,h=Math.floor((a-o+14-e)/7);return h<1?(u=s-1,h=ye(u,e,n)):h>ye(s,e,n)?(u=s+1,h=1):u=s,{weekYear:u,weekNumber:h,weekday:o,...Me(t)}}function Rt(t,e=4,n=1){const{weekYear:s,weekNumber:r,weekday:i}=t,a=zt(qt(s,1,e),n),o=ce(s);let u,h=7*r+i-a-7+e;h<1?(u=s-1,h+=ce(u)):h>o?(u=s+1,h-=ce(s)):u=s;const{month:l,day:c}=Ht(u,h);return{year:u,month:l,day:c,...Me(t)}}function Yt(t){const{year:e,month:n,day:s}=t;return{year:e,ordinal:jt(e,n,s),...Me(t)}}function Jt(t){const{year:e,ordinal:n}=t,{month:s,day:r}=Ht(e,n);return{year:e,month:s,day:r,...Me(t)}}function Ut(t,e){if(!Bt(t.localWeekday)||!Bt(t.localWeekNumber)||!Bt(t.localWeekYear)){if(!Bt(t.weekday)||!Bt(t.weekNumber)||!Bt(t.weekYear))throw new b("Cannot mix locale-based week fields with ISO-based week fields");return Bt(t.localWeekday)||(t.weekday=t.localWeekday),Bt(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Bt(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function Gt(t){const e=Kt(t.year),n=re(t.month,1,12),s=re(t.day,1,de(t.year,t.month));return e?n?!s&&_t("day",t.day):_t("month",t.month):_t("year",t.year)}function Vt(t){const{hour:e,minute:n,second:s,millisecond:r}=t,i=re(e,0,23)||24===e&&0===n&&0===s&&0===r,a=re(n,0,59),o=re(s,0,59),u=re(r,0,999);return i?a?o?!u&&_t("millisecond",r):_t("second",s):_t("minute",n):_t("hour",e)}function Bt(t){return void 0===t}function Qt(t){return"number"==typeof t}function Kt(t){return"number"==typeof t&&t%1==0}function Xt(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function te(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function ee(t,e,n){if(0!==t.length)return t.reduce(((t,s)=>{const r=[e(s),s];return t&&n(t[0],r[0])===t[0]?t:r}),null)[1]}function ne(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function se(t){if(null==t)return null;if("object"!=typeof t)throw new M("Week settings must be an object");if(!re(t.firstDay,1,7)||!re(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!re(t,1,7))))throw new M("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function re(t,e,n){return Kt(t)&&t>=e&&t<=n}function ie(t,e=2){let n;return n=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),n}function ae(t){return Bt(t)||null===t||""===t?void 0:parseInt(t,10)}function oe(t){return Bt(t)||null===t||""===t?void 0:parseFloat(t)}function ue(t){if(!Bt(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function he(t,e,n="round"){const s=10**e;switch(n){case"expand":return t>0?Math.ceil(t*s)/s:Math.floor(t*s)/s;case"trunc":return Math.trunc(t*s)/s;case"round":return Math.round(t*s)/s;case"floor":return Math.floor(t*s)/s;case"ceil":return Math.ceil(t*s)/s;default:throw new RangeError(`Value rounding ${n} is out of range`)}}function le(t){return t%4==0&&(t%100!=0||t%400==0)}function ce(t){return le(t)?366:365}function de(t,e){const n=(s=e-1)-12*Math.floor(s/12)+1;var s;return 2===n?le(t+(e-n)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function me(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function fe(t,e,n){return-zt(qt(t,1,e),n)+e-1}function ye(t,e=4,n=1){const s=fe(t,e,n),r=fe(t+1,e,n);return(ce(t)-s+r)/7}function ge(t){return t>99?t:t>Ct.twoDigitCutoffYear?1900+t:2e3+t}function we(t,e,n,s=null){const r=new Date(t),i={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(i.timeZone=s);const a={timeZoneName:e,...i},o=new Intl.DateTimeFormat(n,a).formatToParts(r).find((t=>"timezonename"===t.type.toLowerCase()));return o?o.value:null}function pe(t,e){let n=parseInt(t,10);Number.isNaN(n)&&(n=0);const s=parseInt(e,10)||0;return 60*n+(n<0||Object.is(n,-0)?-s:s)}function ve(t){const e=Number(t);if("boolean"==typeof t||""===t||!Number.isFinite(e))throw new M(`Invalid unit value ${t}`);return e}function be(t,e){const n={};for(const s in t)if(ne(t,s)){const r=t[s];if(null==r)continue;n[e(s)]=ve(r)}return n}function ke(t,e){const n=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),r=t>=0?"+":"-";switch(e){case"short":return`${r}${ie(n,2)}:${ie(s,2)}`;case"narrow":return`${r}${n}${s>0?`:${s}`:""}`;case"techie":return`${r}${ie(n,2)}${ie(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Me(t){return function(t){return["hour","minute","second","millisecond"].reduce(((e,n)=>(e[n]=t[n],e)),{})}(t)}const Se=["January","February","March","April","May","June","July","August","September","October","November","December"],De=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ne=["J","F","M","A","M","J","J","A","S","O","N","D"];function Te(t){switch(t){case"narrow":return[...Ne];case"short":return[...De];case"long":return[...Se];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Ee=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],xe=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Oe=["M","T","W","T","F","S","S"];function $e(t){switch(t){case"narrow":return[...Oe];case"short":return[...xe];case"long":return[...Ee];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Ie=["AM","PM"],Fe=["Before Christ","Anno Domini"],Le=["BC","AD"],Ce=["B","A"];function Ae(t){switch(t){case"narrow":return[...Ce];case"short":return[...Le];case"long":return[...Fe];default:return null}}function Ze(t,e){let n="";for(const s of t)n+=s.literal?s.val:e(s.val);return n}const We={D:E,DD:x,DDD:$,DDDD:I,t:F,tt:L,ttt:C,tttt:A,T:Z,TT:W,TTT:_,TTTT:q,f:j,ff:z,fff:Y,ffff:U,F:H,FF:P,FFF:J,FFFF:G};class _e{static create(t,e={}){return new _e(t,e)}static parseFormat(t){let e=null,n="",s=!1;const r=[];for(let i=0;i<t.length;i++){const a=t.charAt(i);"'"===a?((n.length>0||s)&&r.push({literal:s||/^\s+$/.test(n),val:""===n?"'":n}),e=null,n="",s=!s):s||a===e?n+=a:(n.length>0&&r.push({literal:/^\s+$/.test(n),val:n}),n=a,e=a)}return n.length>0&&r.push({literal:s||/^\s+$/.test(n),val:n}),r}static macroTokenToFormatOpts(t){return We[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0,n){if(this.opts.forceSimple)return ie(t,e);const s={...this.opts};return e>0&&(s.padTo=e),n&&(s.signDisplay=n),this.loc.numberFormatter(s).format(t)}formatDateTimeFromString(t,e){const n="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,r=(e,n)=>this.loc.extract(t,e,n),i=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",a=(e,s)=>n?function(t,e){return Te(e)[t.month-1]}(t,e):r(s?{month:e}:{month:e,day:"numeric"},"month"),o=(e,s)=>n?function(t,e){return $e(e)[t.weekday-1]}(t,e):r(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const n=_e.macroTokenToFormatOpts(e);return n?this.formatWithSystemDefault(t,n):e},h=e=>n?function(t,e){return Ae(e)[t.year<0?0:1]}(t,e):r({era:e},"era");return Ze(_e.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return i({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return i({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return i({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return n?function(t){return Ie[t.hour<12?0:1]}(t):r({hour:"numeric",hourCycle:"h12"},"dayperiod");case"d":return s?r({day:"numeric"},"day"):this.num(t.day);case"dd":return s?r({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return o("short",!0);case"cccc":return o("long",!0);case"ccccc":return o("narrow",!0);case"EEE":return o("short",!1);case"EEEE":return o("long",!1);case"EEEEE":return o("narrow",!1);case"L":return s?r({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?r({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?r({month:"numeric"},"month"):this.num(t.month);case"MM":return s?r({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?r({year:"numeric"},"year"):this.num(t.year);case"yy":return s?r({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?r({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?r({year:"numeric"},"year"):this.num(t.year,6);case"G":return h("short");case"GG":return h("long");case"GGGGG":return h("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const n="negativeLargestOnly"===this.opts.signMode?-1:1,s=t=>{switch(t[0]){case"S":return"milliseconds";case"s":return"seconds";case"m":return"minutes";case"h":return"hours";case"d":return"days";case"w":return"weeks";case"M":return"months";case"y":return"years";default:return null}},r=_e.parseFormat(e),i=r.reduce(((t,{literal:e,val:n})=>e?t:t.concat(n)),[]),a=t.shiftTo(...i.map(s).filter((t=>t)));return Ze(r,((t,e)=>r=>{const i=s(r);if(i){const s=e.isNegativeDuration&&i!==e.largestUnit?n:1;let a;return a="negativeLargestOnly"===this.opts.signMode&&i!==e.largestUnit?"never":"all"===this.opts.signMode?"always":"auto",this.num(t.get(i)*s,r.length,a)}return r})(a,{isNegativeDuration:a<0,largestUnit:Object.keys(a.values)[0]}))}}const qe=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function je(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function He(...t){return e=>t.reduce((([t,n,s],r)=>{const[i,a,o]=r(e,s);return[{...t,...i},a||n,o]}),[{},null,1]).slice(0,2)}function ze(t,...e){if(null==t)return[null,null];for(const[n,s]of e){const e=n.exec(t);if(e)return s(e)}return[null,null]}function Pe(...t){return(e,n)=>{const s={};let r;for(r=0;r<t.length;r++)s[t[r]]=ae(e[n+r]);return[s,null,n+r]}}const Re=/(?:([Zz])|([+-]\d\d)(?::?(\d\d))?)/,Ye=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Je=RegExp(`${Ye.source}(?:${Re.source}?(?:\\[(${qe.source})\\])?)?`),Ue=RegExp(`(?:[Tt]${Je.source})?`),Ge=Pe("weekYear","weekNumber","weekDay"),Ve=Pe("year","ordinal"),Be=RegExp(`${Ye.source} ?(?:${Re.source}|(${qe.source}))?`),Qe=RegExp(`(?: ${Be.source})?`);function Ke(t,e,n){const s=t[e];return Bt(s)?n:ae(s)}function Xe(t,e){return[{hours:Ke(t,e,0),minutes:Ke(t,e+1,0),seconds:Ke(t,e+2,0),milliseconds:ue(t[e+3])},null,e+4]}function tn(t,e){const n=!t[e]&&!t[e+1],s=pe(t[e+1],t[e+2]);return[{},n?null:pt.instance(s),e+3]}function en(t,e){return[{},t[e]?et.create(t[e]):null,e+1]}const nn=RegExp(`^T?${Ye.source}$`),sn=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function rn(t){const[e,n,s,r,i,a,o,u,h]=t,l="-"===e[0],c=u&&"-"===u[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(oe(n)),months:d(oe(s)),weeks:d(oe(r)),days:d(oe(i)),hours:d(oe(a)),minutes:d(oe(o)),seconds:d(oe(u),"-0"===u),milliseconds:d(ue(h),c)}]}const an={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function on(t,e,n,s,r,i,a){const o={year:2===e.length?ge(ae(e)):ae(e),month:De.indexOf(n)+1,day:ae(s),hour:ae(r),minute:ae(i)};return a&&(o.second=ae(a)),t&&(o.weekday=t.length>3?Ee.indexOf(t)+1:xe.indexOf(t)+1),o}const un=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function hn(t){const[,e,n,s,r,i,a,o,u,h,l,c]=t,d=on(e,r,s,n,i,a,o);let m;return m=u?an[u]:h?0:pe(l,c),[d,new pt(m)]}const ln=/^(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$/,cn=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,dn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function mn(t){const[,e,n,s,r,i,a,o]=t;return[on(e,r,s,n,i,a,o),pt.utcInstance]}function fn(t){const[,e,n,s,r,i,a,o]=t;return[on(e,o,n,s,r,i,a),pt.utcInstance]}const yn=je(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Ue),gn=je(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Ue),wn=je(/(\d{4})-?(\d{3})/,Ue),pn=je(Je),vn=He((function(t,e){return[{year:Ke(t,e),month:Ke(t,e+1,1),day:Ke(t,e+2,1)},null,e+3]}),Xe,tn,en),bn=He(Ge,Xe,tn,en),kn=He(Ve,Xe,tn,en),Mn=He(Xe,tn,en),Sn=He(Xe),Dn=je(/(\d{4})-(\d\d)-(\d\d)/,Qe),Nn=je(Be),Tn=He(Xe,tn,en),En="Invalid Duration",xn={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},On={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...xn},$n={years:{quarters:4,months:12,weeks:52.1775,days:365.2425,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:30.436875,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...xn},In=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Fn=In.slice(0).reverse();function Ln(t,e,n=!1){const s={values:n?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new Wn(s)}function Cn(t,e){let n=e.milliseconds??0;for(const s of Fn.slice(1))e[s]&&(n+=e[s]*t[s].milliseconds);return n}function An(t,e){const n=Cn(t,e)<0?-1:1;In.reduceRight(((s,r)=>{if(Bt(e[r]))return s;if(s){const i=t[r][s],a=Math.floor(e[s]*n/i);e[r]+=a*n,e[s]-=a*i*n}return r}),null),In.reduce(((n,s)=>{if(Bt(e[s]))return n;if(n){const r=e[n]%1;e[n]-=r,e[s]+=r*t[n][s]}return s}),null)}function Zn(t){const e={};for(const[n,s]of Object.entries(t))0!==s&&(e[n]=s);return e}class Wn{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let n=e?$n:On;t.matrix&&(n=t.matrix),this.values=t.values,this.loc=t.loc||gt.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=n,this.isLuxonDuration=!0}static fromMillis(t,e){return Wn.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new M("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new Wn({values:be(t,Wn.normalizeUnit),loc:gt.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Qt(t))return Wn.fromMillis(t);if(Wn.isDuration(t))return t;if("object"==typeof t)return Wn.fromObject(t);throw new M(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[n]=function(t){return ze(t,[sn,rn])}(t);return n?Wn.fromObject(n,e):Wn.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[n]=function(t){return ze(t,[nn,Sn])}(t);return n?Wn.fromObject(n,e):Wn.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new M("need to specify a reason the Duration is invalid");const n=t instanceof At?t:new At(t,e);if(Ct.throwOnInvalid)throw new v(n);return new Wn({invalid:n})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new k(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const n={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?_e.create(this.loc,n).formatDurationFromString(this,t):En}toHuman(t={}){if(!this.isValid)return En;const e=!1!==t.showZeros,n=In.map((n=>{const s=this.values[n];return Bt(s)||0===s&&!e?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:n.slice(0,-1)}).format(s)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(n)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=he(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},Os.fromMillis(e,{zone:"UTC"}).toISOTime(t))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?Cn(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=Wn.fromDurationLike(t),n={};for(const t of In)(ne(e.values,t)||ne(this.values,t))&&(n[t]=e.get(t)+this.get(t));return Ln(this,{values:n},!0)}minus(t){if(!this.isValid)return this;const e=Wn.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const n of Object.keys(this.values))e[n]=ve(t(this.values[n],n));return Ln(this,{values:e},!0)}get(t){return this[Wn.normalizeUnit(t)]}set(t){return this.isValid?Ln(this,{values:{...this.values,...be(t,Wn.normalizeUnit)}}):this}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:n,matrix:s}={}){return Ln(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:n})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return An(this.matrix,t),Ln(this,{values:t},!0)}rescale(){return this.isValid?Ln(this,{values:Zn(this.normalize().shiftToAll().toObject())},!0):this}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>Wn.normalizeUnit(t)));const e={},n={},s=this.toObject();let r;for(const i of In)if(t.indexOf(i)>=0){r=i;let t=0;for(const e in n)t+=this.matrix[e][i]*n[e],n[e]=0;Qt(s[i])&&(t+=s[i]);const a=Math.trunc(t);e[i]=a,n[i]=(1e3*t-1e3*a)/1e3}else Qt(s[i])&&(n[i]=s[i]);for(const t in n)0!==n[t]&&(e[r]+=t===r?n[t]:n[t]/this.matrix[r][t]);return An(this.matrix,e),Ln(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return Ln(this,{values:t},!0)}removeZeros(){return this.isValid?Ln(this,{values:Zn(this.values)},!0):this}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const s of In)if(n=t.values[s],!(void 0===(e=this.values[s])||0===e?void 0===n||0===n:e===n))return!1;var e,n;return!0}}const _n="Invalid Interval";class qn{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new M("need to specify a reason the Interval is invalid");const n=t instanceof At?t:new At(t,e);if(Ct.throwOnInvalid)throw new p(n);return new qn({invalid:n})}static fromDateTimes(t,e){const n=$s(t),s=$s(e),r=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?qn.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:qn.invalid("missing or invalid end"):qn.invalid("missing or invalid start")}(n,s);return null==r?new qn({start:n,end:s}):r}static after(t,e){const n=Wn.fromDurationLike(e),s=$s(t);return qn.fromDateTimes(s,s.plus(n))}static before(t,e){const n=Wn.fromDurationLike(e),s=$s(t);return qn.fromDateTimes(s.minus(n),s)}static fromISO(t,e){const[n,s]=(t||"").split("/",2);if(n&&s){let t,r,i,a;try{t=Os.fromISO(n,e),r=t.isValid}catch(s){r=!1}try{i=Os.fromISO(s,e),a=i.isValid}catch(s){a=!1}if(r&&a)return qn.fromDateTimes(t,i);if(r){const n=Wn.fromISO(s,e);if(n.isValid)return qn.after(t,n)}else if(a){const t=Wn.fromISO(n,e);if(t.isValid)return qn.before(i,t)}}return qn.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const n=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:n.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(n,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&this.s<=t&&this.e>t}set({start:t,end:e}={}){return this.isValid?qn.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map($s).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),n=[];let{s}=this,r=0;for(;s<this.e;){const t=e[r]||this.e,i=+t>+this.e?this.e:t;n.push(qn.fromDateTimes(s,i)),s=i,r+=1}return n}splitBy(t){const e=Wn.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let n,{s}=this,r=1;const i=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits((t=>t*r)));n=+t>+this.e?this.e:t,i.push(qn.fromDateTimes(s,n)),s=n,r+=1}return i}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e==+t.s}abutsEnd(t){return!!this.isValid&&+t.e==+this.s}engulfs(t){return!!this.isValid&&this.s<=t.s&&this.e>=t.e}equals(t){return!(!this.isValid||!t.isValid)&&this.s.equals(t.s)&&this.e.equals(t.e)}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,n=this.e<t.e?this.e:t.e;return e>=n?null:qn.fromDateTimes(e,n)}union(t){return this.isValid?qn.fromDateTimes(this.s<t.s?this.s:t.s,this.e>t.e?this.e:t.e):this}static merge(t){const[e,n]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],n)=>e?e.overlaps(n)||e.abutsStart(n)?[t,e.union(n)]:[t.concat([e]),n]:[t,n]),[[],null]);return n&&e.push(n),e}static xor(t){let e=null,n=0;const s=[],r=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),i=Array.prototype.concat(...r).sort(((t,e)=>t.time-e.time));for(const t of i)n+="s"===t.type?1:-1,1===n?e=t.time:(e&&+e!=+t.time&&s.push(qn.fromDateTimes(e,t.time)),e=null);return qn.merge(s)}difference(...t){return qn.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:_n}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=E,e={}){return this.isValid?_e.create(this.s.loc.clone(e),t).formatInterval(this):_n}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:_n}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:_n}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:_n}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:_n}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):Wn.invalid(this.invalidReason)}mapEndpoints(t){return qn.fromDateTimes(t(this.s),t(this.e))}}class jn{static hasDST(t=Ct.defaultZone){const e=Os.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return et.isValidZone(t)}static normalizeZone(t){return bt(t,Ct.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||gt.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||gt.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||gt.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:n=null,locObj:s=null,outputCalendar:r="gregory"}={}){return(s||gt.create(e,n,r)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:n=null,locObj:s=null,outputCalendar:r="gregory"}={}){return(s||gt.create(e,n,r)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:n=null,locObj:s=null}={}){return(s||gt.create(e,n,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:n=null,locObj:s=null}={}){return(s||gt.create(e,n,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return gt.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return gt.create(e,null,"gregory").eras(t)}static features(){return{relative:Xt(),localeWeek:te()}}}function Hn(t,e){const n=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=n(e)-n(t);return Math.floor(Wn.fromMillis(s).as("days"))}function zn(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let n=0;n<t.length;n++){const s=t.charCodeAt(n);if(-1!==t[n].search(kt.hanidec))e+=St.indexOf(t[n]);else for(const t in Mt){const[n,r]=Mt[t];s>=n&&s<=r&&(e+=s-n)}}return parseInt(e,10)}return e}(t))}}const Pn=`[ ${String.fromCharCode(160)}]`,Rn=new RegExp(Pn,"g");function Yn(t){return t.replace(/\./g,"\\.?").replace(Rn,Pn)}function Jn(t){return t.replace(/\./g,"").replace(Rn," ").toLowerCase()}function Un(t,e){return null===t?null:{regex:RegExp(t.map(Yn).join("|")),deser:([n])=>t.findIndex((t=>Jn(n)===Jn(t)))+e}}function Gn(t,e){return{regex:t,deser:([,t,e])=>pe(t,e),groups:e}}function Vn(t){return{regex:t,deser:([t])=>t}}const Bn={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Qn=null;function Kn(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const n=es(_e.macroTokenToFormatOpts(t.val),e);return null==n||n.includes(void 0)?t:n}(t,e))))}class Xn{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Kn(_e.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const n=Nt(e),s=Nt(e,"{2}"),r=Nt(e,"{3}"),i=Nt(e,"{4}"),a=Nt(e,"{6}"),o=Nt(e,"{1,2}"),u=Nt(e,"{1,3}"),h=Nt(e,"{1,6}"),l=Nt(e,"{1,9}"),c=Nt(e,"{2,4}"),d=Nt(e,"{4,6}"),m=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},f=(f=>{if(t.literal)return m(f);switch(f.val){case"G":return Un(e.eras("short"),0);case"GG":return Un(e.eras("long"),0);case"y":return zn(h);case"yy":case"kk":return zn(c,ge);case"yyyy":case"kkkk":return zn(i);case"yyyyy":return zn(d);case"yyyyyy":return zn(a);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return zn(o);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return zn(s);case"MMM":return Un(e.months("short",!0),1);case"MMMM":return Un(e.months("long",!0),1);case"LLL":return Un(e.months("short",!1),1);case"LLLL":return Un(e.months("long",!1),1);case"o":case"S":return zn(u);case"ooo":case"SSS":return zn(r);case"u":return Vn(l);case"uu":return Vn(o);case"uuu":case"E":case"c":return zn(n);case"a":return Un(e.meridiems(),0);case"EEE":return Un(e.weekdays("short",!1),1);case"EEEE":return Un(e.weekdays("long",!1),1);case"ccc":return Un(e.weekdays("short",!0),1);case"cccc":return Un(e.weekdays("long",!0),1);case"Z":case"ZZ":return Gn(new RegExp(`([+-]${o.source})(?::(${s.source}))?`),2);case"ZZZ":return Gn(new RegExp(`([+-]${o.source})(${s.source})?`),2);case"z":return Vn(/[a-z_+-/]{1,256}?/i);case" ":return Vn(/[^\S\n\r]/);default:return m(f)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return f.token=t,f}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=[`^${(n=this.units).map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"")}$`,n];this.regex=RegExp(t,"i"),this.handlers=e}var n}explainFromTokens(t){if(this.isValid){const[e,n]=function(t,e,n){const s=t.match(e);if(s){const t={};let e=1;for(const r in n)if(ne(n,r)){const i=n[r],a=i.groups?i.groups+1:1;!i.literal&&i.token&&(t[i.token.val[0]]=i.deser(s.slice(e,e+a))),e+=a}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,r,i]=n?function(t){let e,n=null;return Bt(t.z)||(n=et.create(t.z)),Bt(t.Z)||(n||(n=new pt(t.Z)),e=t.Z),Bt(t.q)||(t.M=3*(t.q-1)+1),Bt(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),Bt(t.u)||(t.S=ue(t.u)),[Object.keys(t).reduce(((e,n)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(n);return s&&(e[s]=t[n]),e}),{}),n,e]}(n):[null,null,void 0];if(ne(n,"a")&&ne(n,"H"))throw new b("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:n,result:s,zone:r,specificOffset:i}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function ts(t,e,n){return new Xn(t,n).explainFromTokens(e)}function es(t,e){if(!t)return null;const n=_e.create(e,t).dtFormatter((Qn||(Qn=Os.fromMillis(1555555555555)),Qn)),s=n.formatToParts(),r=n.resolvedOptions();return s.map((e=>function(t,e,n){const{type:s,value:r}=t;if("literal"===s){const t=/^\s+$/.test(r);return{literal:!t,val:t?" ":r}}let i=s;"hour"===s&&(i=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":n.hour12?"hour12":"hour24");let a=Bn[i];if("object"==typeof a&&(a=a[e[s]]),a)return{literal:!1,val:a}}(e,t,r)))}const ns="Invalid DateTime",ss=864e13;function rs(t){return new At("unsupported zone",`the zone "${t.name}" is not supported`)}function is(t){return null===t.weekData&&(t.weekData=Pt(t.c)),t.weekData}function as(t){return null===t.localWeekData&&(t.localWeekData=Pt(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function os(t,e){const n={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new Os({...n,...e,old:n})}function us(t,e,n){let s=t-60*e*1e3;const r=n.offset(s);if(e===r)return[s,e];s-=60*(r-e)*1e3;const i=n.offset(s);return r===i?[s,r]:[t-60*Math.min(r,i)*1e3,Math.max(r,i)]}function hs(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 ls(t,e,n){return us(me(t),e,n)}function cs(t,e){const n=t.o,s=t.c.year+Math.trunc(e.years),r=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),i={...t.c,year:s,month:r,day:Math.min(t.c.day,de(s,r))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},a=Wn.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),o=me(i);let[u,h]=us(o,n,t.zone);return 0!==a&&(u+=a,h=t.zone.offset(u)),{ts:u,o:h}}function ds(t,e,n,s,r,i){const{setZone:a,zone:o}=n;if(t&&0!==Object.keys(t).length||e){const s=e||o,r=Os.fromObject(t,{...n,zone:s,specificOffset:i});return a?r:r.setZone(o)}return Os.invalid(new At("unparsable",`the input "${r}" can't be parsed as ${s}`))}function ms(t,e,n=!0){return t.isValid?_e.create(gt.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(t,e):null}function fs(t,e,n){const s=t.c.year>9999||t.c.year<0;let r="";if(s&&t.c.year>=0&&(r+="+"),r+=ie(t.c.year,s?6:4),"year"===n)return r;if(e){if(r+="-",r+=ie(t.c.month),"month"===n)return r;r+="-"}else if(r+=ie(t.c.month),"month"===n)return r;return r+=ie(t.c.day),r}function ys(t,e,n,s,r,i,a){let o=!n||0!==t.c.millisecond||0!==t.c.second,u="";switch(a){case"day":case"month":case"year":break;default:if(u+=ie(t.c.hour),"hour"===a)break;if(e){if(u+=":",u+=ie(t.c.minute),"minute"===a)break;o&&(u+=":",u+=ie(t.c.second))}else{if(u+=ie(t.c.minute),"minute"===a)break;o&&(u+=ie(t.c.second))}if("second"===a)break;!o||s&&0===t.c.millisecond||(u+=".",u+=ie(t.c.millisecond,3))}return r&&(t.isOffsetFixed&&0===t.offset&&!i?u+="Z":t.o<0?(u+="-",u+=ie(Math.trunc(-t.o/60)),u+=":",u+=ie(Math.trunc(-t.o%60))):(u+="+",u+=ie(Math.trunc(t.o/60)),u+=":",u+=ie(Math.trunc(t.o%60)))),i&&(u+="["+t.zone.ianaName+"]"),u}const gs={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},ws={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},ps={ordinal:1,hour:0,minute:0,second:0,millisecond:0},vs=["year","month","day","hour","minute","second","millisecond"],bs=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ks=["year","ordinal","hour","minute","second","millisecond"];function Ms(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new k(t);return e}function Ss(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return Ms(t)}}function Ds(t,e){const n=bt(e.zone,Ct.defaultZone);if(!n.isValid)return Os.invalid(rs(n));const s=gt.fromObject(e);let r,i;if(Bt(t.year))r=Ct.now();else{for(const e of vs)Bt(t[e])&&(t[e]=gs[e]);const e=Gt(t)||Vt(t);if(e)return Os.invalid(e);const s=function(t){if(void 0===Es&&(Es=Ct.now()),"iana"!==t.type)return t.offset(Es);const e=t.name;let n=xs.get(e);return void 0===n&&(n=t.offset(Es),xs.set(e,n)),n}(n);[r,i]=ls(t,s,n)}return new Os({ts:r,zone:n,loc:s,o:i})}function Ns(t,e,n){const s=!!Bt(n.round)||n.round,r=Bt(n.rounding)?"trunc":n.rounding,i=(t,i)=>(t=he(t,s||n.calendary?0:2,n.calendary?"round":r),e.loc.clone(n).relFormatter(n).format(t,i)),a=s=>n.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(n.unit)return i(a(n.unit),n.unit);for(const t of n.units){const e=a(t);if(Math.abs(e)>=1)return i(e,t)}return i(t>e?-0:0,n.units[n.units.length-1])}function Ts(t){let e,n={};return t.length>0&&"object"==typeof t[t.length-1]?(n=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[n,e]}let Es;const xs=new Map;class Os{constructor(t){const e=t.zone||Ct.defaultZone;let n=t.invalid||(Number.isNaN(t.ts)?new At("invalid input"):null)||(e.isValid?null:rs(e));this.ts=Bt(t.ts)?Ct.now():t.ts;let s=null,r=null;if(!n)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,r]=[t.old.c,t.old.o];else{const i=Qt(t.o)&&!t.old?t.o:e.offset(this.ts);s=hs(this.ts,i),n=Number.isNaN(s.year)?new At("invalid input"):null,s=n?null:s,r=n?null:i}this._zone=e,this.loc=t.loc||gt.create(),this.invalid=n,this.weekData=null,this.localWeekData=null,this.c=s,this.o=r,this.isLuxonDateTime=!0}static now(){return new Os({})}static local(){const[t,e]=Ts(arguments),[n,s,r,i,a,o,u]=e;return Ds({year:n,month:s,day:r,hour:i,minute:a,second:o,millisecond:u},t)}static utc(){const[t,e]=Ts(arguments),[n,s,r,i,a,o,u]=e;return t.zone=pt.utcInstance,Ds({year:n,month:s,day:r,hour:i,minute:a,second:o,millisecond:u},t)}static fromJSDate(t,e={}){const n="[object Date]"===Object.prototype.toString.call(t)?t.valueOf():NaN;if(Number.isNaN(n))return Os.invalid("invalid input");const s=bt(e.zone,Ct.defaultZone);return s.isValid?new Os({ts:n,zone:s,loc:gt.fromObject(e)}):Os.invalid(rs(s))}static fromMillis(t,e={}){if(Qt(t))return t<-ss||t>ss?Os.invalid("Timestamp out of range"):new Os({ts:t,zone:bt(e.zone,Ct.defaultZone),loc:gt.fromObject(e)});throw new M(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Qt(t))return new Os({ts:1e3*t,zone:bt(e.zone,Ct.defaultZone),loc:gt.fromObject(e)});throw new M("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const n=bt(e.zone,Ct.defaultZone);if(!n.isValid)return Os.invalid(rs(n));const s=gt.fromObject(e),r=be(t,Ss),{minDaysInFirstWeek:i,startOfWeek:a}=Ut(r,s),o=Ct.now(),u=Bt(e.specificOffset)?n.offset(o):e.specificOffset,h=!Bt(r.ordinal),l=!Bt(r.year),c=!Bt(r.month)||!Bt(r.day),d=l||c,m=r.weekYear||r.weekNumber;if((d||h)&&m)throw new b("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(c&&h)throw new b("Can't mix ordinal dates with month/day");const f=m||r.weekday&&!d;let y,g,w=hs(o,u);f?(y=bs,g=ws,w=Pt(w,i,a)):h?(y=ks,g=ps,w=Yt(w)):(y=vs,g=gs);let p=!1;for(const t of y)Bt(r[t])?r[t]=p?g[t]:w[t]:p=!0;const v=f?function(t,e=4,n=1){const s=Kt(t.weekYear),r=re(t.weekNumber,1,ye(t.weekYear,e,n)),i=re(t.weekday,1,7);return s?r?!i&&_t("weekday",t.weekday):_t("week",t.weekNumber):_t("weekYear",t.weekYear)}(r,i,a):h?function(t){const e=Kt(t.year),n=re(t.ordinal,1,ce(t.year));return e?!n&&_t("ordinal",t.ordinal):_t("year",t.year)}(r):Gt(r),k=v||Vt(r);if(k)return Os.invalid(k);const M=f?Rt(r,i,a):h?Jt(r):r,[S,D]=ls(M,u,n),N=new Os({ts:S,zone:n,o:D,loc:s});return r.weekday&&d&&t.weekday!==N.weekday?Os.invalid("mismatched weekday",`you can't specify both a weekday of ${r.weekday} and a date of ${N.toISO()}`):N.isValid?N:Os.invalid(N.invalid)}static fromISO(t,e={}){const[n,s]=function(t){return ze(t,[yn,vn],[gn,bn],[wn,kn],[pn,Mn])}(t);return ds(n,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[n,s]=function(t){return ze(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[un,hn])}(t);return ds(n,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[n,s]=function(t){return ze(t,[ln,mn],[cn,mn],[dn,fn])}(t);return ds(n,s,e,"HTTP",e)}static fromFormat(t,e,n={}){if(Bt(t)||Bt(e))throw new M("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:r=null}=n,i=gt.fromOpts({locale:s,numberingSystem:r,defaultToEN:!0}),[a,o,u,h]=function(t,e,n){const{result:s,zone:r,specificOffset:i,invalidReason:a}=ts(t,e,n);return[s,r,i,a]}(i,t,e);return h?Os.invalid(h):ds(a,o,n,`format ${e}`,t,u)}static fromString(t,e,n={}){return Os.fromFormat(t,e,n)}static fromSQL(t,e={}){const[n,s]=function(t){return ze(t,[Dn,vn],[Nn,Tn])}(t);return ds(n,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new M("need to specify a reason the DateTime is invalid");const n=t instanceof At?t:new At(t,e);if(Ct.throwOnInvalid)throw new w(n);return new Os({invalid:n})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const n=es(t,gt.fromObject(e));return n?n.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Kn(_e.parseFormat(t),gt.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){Es=void 0,xs.clear()}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?is(this).weekYear:NaN}get weekNumber(){return this.isValid?is(this).weekNumber:NaN}get weekday(){return this.isValid?is(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?as(this).weekday:NaN}get localWeekNumber(){return this.isValid?as(this).weekNumber:NaN}get localWeekYear(){return this.isValid?as(this).weekYear:NaN}get ordinal(){return this.isValid?Yt(this.c).ordinal:NaN}get monthShort(){return this.isValid?jn.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?jn.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?jn.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?jn.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,n=me(this.c),s=this.zone.offset(n-t),r=this.zone.offset(n+t),i=this.zone.offset(n-s*e),a=this.zone.offset(n-r*e);if(i===a)return[this];const o=n-i*e,u=n-a*e,h=hs(o,i),l=hs(u,a);return h.hour===l.hour&&h.minute===l.minute&&h.second===l.second&&h.millisecond===l.millisecond?[os(this,{ts:o}),os(this,{ts:u})]:[this]}get isInLeapYear(){return le(this.year)}get daysInMonth(){return de(this.year,this.month)}get daysInYear(){return this.isValid?ce(this.year):NaN}get weeksInWeekYear(){return this.isValid?ye(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?ye(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:n,calendar:s}=_e.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:n,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(pt.instance(t),e)}toLocal(){return this.setZone(Ct.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:n=!1}={}){if((t=bt(t,Ct.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||n){const e=t.offset(this.ts),n=this.toObject();[s]=ls(n,e,t)}return os(this,{ts:s,zone:t})}return Os.invalid(rs(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:n}={}){return os(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:n})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=be(t,Ss),{minDaysInFirstWeek:n,startOfWeek:s}=Ut(e,this.loc),r=!Bt(e.weekYear)||!Bt(e.weekNumber)||!Bt(e.weekday),i=!Bt(e.ordinal),a=!Bt(e.year),o=!Bt(e.month)||!Bt(e.day);if((a||o||i)&&(e.weekYear||e.weekNumber))throw new b("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(o&&i)throw new b("Can't mix ordinal dates with month/day");let u;r?u=Rt({...Pt(this.c,n,s),...e},n,s):Bt(e.ordinal)?(u={...this.toObject(),...e},Bt(e.day)&&(u.day=Math.min(de(u.year,u.month),u.day))):u=Jt({...Yt(this.c),...e});const[h,l]=ls(u,this.o,this.zone);return os(this,{ts:h,o:l})}plus(t){return this.isValid?os(this,cs(this,Wn.fromDurationLike(t))):this}minus(t){return this.isValid?os(this,cs(this,Wn.fromDurationLike(t).negate())):this}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const n={},s=Wn.normalizeUnit(t);switch(s){case"years":n.month=1;case"quarters":case"months":n.day=1;case"weeks":case"days":n.hour=0;case"hours":n.minute=0;case"minutes":n.second=0;case"seconds":n.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(n.weekNumber=this.weekNumber-1),n.weekday=t}else n.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);n.month=3*(t-1)+1}return this.set(n)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?_e.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):ns}toLocaleString(t=E,e={}){return this.isValid?_e.create(this.loc.clone(e),t).formatDateTime(this):ns}toLocaleParts(t={}){return this.isValid?_e.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:n=!1,includeOffset:s=!0,extendedZone:r=!1,precision:i="milliseconds"}={}){if(!this.isValid)return null;const a="extended"===t;let o=fs(this,a,i=Ms(i));return vs.indexOf(i)>=3&&(o+="T"),o+=ys(this,a,e,n,s,r,i),o}toISODate({format:t="extended",precision:e="day"}={}){return this.isValid?fs(this,"extended"===t,Ms(e)):null}toISOWeekDate(){return ms(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:n=!0,includePrefix:s=!1,extendedZone:r=!1,format:i="extended",precision:a="milliseconds"}={}){return this.isValid?(a=Ms(a),(s&&vs.indexOf(a)>=3?"T":"")+ys(this,"extended"===i,e,t,n,r,a)):null}toRFC2822(){return ms(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return ms(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?fs(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:n=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(n&&(s+=" "),e?s+="z":t&&(s+="ZZ")),ms(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():ns}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",n={}){if(!this.isValid||!t.isValid)return Wn.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...n},r=(o=e,Array.isArray(o)?o:[o]).map(Wn.normalizeUnit),i=t.valueOf()>this.valueOf(),a=function(t,e,n,s){let[r,i,a,o]=function(t,e,n){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const n=Hn(t,e);return(n-n%7)/7}],["days",Hn]],r={},i=t;let a,o;for(const[u,h]of s)n.indexOf(u)>=0&&(a=u,r[u]=h(t,e),o=i.plus(r),o>e?(r[u]--,(t=i.plus(r))>e&&(o=t,r[u]--,t=i.plus(r))):t=o);return[t,r,o,a]}(t,e,n);const u=e-r,h=n.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===h.length&&(a<e&&(a=r.plus({[o]:1})),a!==r&&(i[o]=(i[o]||0)+u/(a-r)));const l=Wn.fromObject(i,s);return h.length>0?Wn.fromMillis(u,s).shiftTo(...h).plus(l):l}(i?this:t,i?t:this,r,s);var o;return i?a.negate():a}diffNow(t="milliseconds",e={}){return this.diff(Os.now(),t,e)}until(t){return this.isValid?qn.fromDateTimes(this,t):this}hasSame(t,e,n){if(!this.isValid)return!1;const s=t.valueOf(),r=this.setZone(t.zone,{keepLocalTime:!0});return r.startOf(e,n)<=s&&s<=r.endOf(e,n)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||Os.fromObject({},{zone:this.zone}),n=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],r=t.unit;return Array.isArray(t.unit)&&(s=t.unit,r=void 0),Ns(e,this.plus(n),{...t,numeric:"always",units:s,unit:r})}toRelativeCalendar(t={}){return this.isValid?Ns(t.base||Os.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(Os.isDateTime))throw new M("min requires all arguments be DateTimes");return ee(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(Os.isDateTime))throw new M("max requires all arguments be DateTimes");return ee(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,n={}){const{locale:s=null,numberingSystem:r=null}=n;return ts(gt.fromOpts({locale:s,numberingSystem:r,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,n={}){return Os.fromFormatExplain(t,e,n)}static buildFormatParser(t,e={}){const{locale:n=null,numberingSystem:s=null}=e,r=gt.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0});return new Xn(r,t)}static fromFormatParser(t,e,n={}){if(Bt(t)||Bt(e))throw new M("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:r=null}=n,i=gt.fromOpts({locale:s,numberingSystem:r,defaultToEN:!0});if(!i.equals(e.locale))throw new M(`fromFormatParser called with a locale of ${i}, but the format parser was created for ${e.locale}`);const{result:a,zone:o,specificOffset:u,invalidReason:h}=e.explainFromTokens(t);return h?Os.invalid(h):ds(a,o,n,`format ${e.format}`,t,u)}static get DATE_SHORT(){return E}static get DATE_MED(){return x}static get DATE_MED_WITH_WEEKDAY(){return O}static get DATE_FULL(){return $}static get DATE_HUGE(){return I}static get TIME_SIMPLE(){return F}static get TIME_WITH_SECONDS(){return L}static get TIME_WITH_SHORT_OFFSET(){return C}static get TIME_WITH_LONG_OFFSET(){return A}static get TIME_24_SIMPLE(){return Z}static get TIME_24_WITH_SECONDS(){return W}static get TIME_24_WITH_SHORT_OFFSET(){return _}static get TIME_24_WITH_LONG_OFFSET(){return q}static get DATETIME_SHORT(){return j}static get DATETIME_SHORT_WITH_SECONDS(){return H}static get DATETIME_MED(){return z}static get DATETIME_MED_WITH_SECONDS(){return P}static get DATETIME_MED_WITH_WEEKDAY(){return R}static get DATETIME_FULL(){return Y}static get DATETIME_FULL_WITH_SECONDS(){return J}static get DATETIME_HUGE(){return U}static get DATETIME_HUGE_WITH_SECONDS(){return G}}function $s(t){if(Os.isDateTime(t))return t;if(t&&t.valueOf&&Qt(t.valueOf()))return Os.fromJSDate(t);if(t&&"object"==typeof t)return Os.fromObject(t);throw new M(`Unknown datetime argument: ${t}, of type ${typeof t}`)}var Is={nextMonth:"Επόμενος μήνας",nextYears:"Επόμενα έτη",previousMonth:"Προηγούμενος μήνας",previousYears:"Προηγούμενα έτη"},Fs={nextMonth:"Next month",nextYears:"Next years",previousMonth:"Previous month",previousYears:"Previous years"},Ls={nextMonth:"Mes siguiente",nextYears:"Años siguientes",previousMonth:"Mes anterior",previousYears:"Años anteriores"},Cs={nextMonth:"Mese successivo",nextYears:"Anni successivi",previousMonth:"Mese precedente",previousYears:"Anni precedenti"};const As=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.datesEmitter=n(this,"mdsCalendarChange",7),this.navigationEmitter=n(this,"mdsCalendarNavigate",7),this.hoverEmitter=n(this,"mdsCalendarHover",7),this.checkPreselectionsEmitter=n(this,"mdsCalendarPreselect",7),this.t=new l({el:Is,en:Fs,es:Ls,it:Cs}),this.hasPreselection=!1,this.currentDate=Os.now(),this.weekDaysinMonth=[],this.weekdays=[],this.startDateIdentifier=null,this.endDateIdentifier=null,this.isFirstClick=!0,this.currentView="calendar",this.selectedYear=this.currentDate.year,this.singlePicker=!1,this.hidePreviousButton=!1,this.hideNextButton=!1,this.disableMonthYearSelection=!1,this.hidePreselection=!1,this.hideToday=!1,this.viewDate=null,this.hoverDate=null,this.startDate=null,this.endDate=null,this.min=null,this.max=null,this.internalStartDate=this.startDate,this.internalEndDate=this.endDate,this.internalHoverDate=null,this.currentMonth="",this.currentYear="",this.updatePreselection=()=>{this.hasPreselection=u(this.host,"preselection")||null!==this.host.querySelector(".date-preselection--has-preselection")},this.handleMouseOver=t=>{const e=t.target;if(!e.matches("mds-calendar-cell")||this.singlePicker||null===this.internalStartDate||""===this.internalStartDate||null!==this.internalEndDate&&""!==this.internalEndDate)return;const n=e.getAttribute("date");null!==n&&""!==n&&(n!==this.internalHoverDate&&(this.internalHoverDate=n,requestAnimationFrame((()=>this.setDates()))),this.hoverEmitter.emit({hoverDate:n}))},this.handleMouseLeave=()=>{const t=null!==this.internalHoverDate;this.internalHoverDate=null,this.singlePicker||null===this.internalStartDate||""===this.internalStartDate||null!==this.internalEndDate&&""!==this.internalEndDate||(t&&requestAnimationFrame((()=>this.setDates())),null!==this.hoverDate&&""!==this.hoverDate&&this.hoverEmitter.emit({hoverDate:null}))},this.handleMonthActionClick=t=>{t.stopPropagation(),this.disableMonthYearSelection?t.preventDefault():(this.currentView="months"===this.currentView?"calendar":"months",requestAnimationFrame((()=>{this.updateCalendar().then((()=>this.setDates()))})))},this.handleYearActionClick=t=>{t.stopPropagation(),this.disableMonthYearSelection?t.preventDefault():(this.currentView="years"===this.currentView?"calendar":"years",requestAnimationFrame((()=>{this.updateCalendar().then((()=>this.setDates()))})))},this.handlePrev=t=>{"calendar"===this.currentView?(t.stopPropagation(),this.changeMonth(-1)):"years"===this.currentView?(t.stopPropagation(),this.selectedYear-=10):t.stopPropagation()},this.handleNext=t=>{"calendar"===this.currentView?(t.stopPropagation(),this.changeMonth(1)):"years"===this.currentView?(t.stopPropagation(),this.selectedYear+=10):t.stopPropagation()},this.handleCellClick=t=>e=>{e.stopPropagation();const n=e.currentTarget;this.singlePicker?this.handleSingleSelection(n,t):this.handleRange(n,t)},this.handleMonthSelect=t=>e=>{e.stopPropagation(),this.currentDate=this.currentDate.set({month:t}),this.currentMonth=this.currentDate.toFormat("MMMM"),this.currentView="calendar",this.updateCalendar().then((()=>{requestAnimationFrame((()=>this.setDates()))}))},this.handleYearSelect=t=>e=>{e.stopPropagation(),this.currentDate=this.currentDate.set({year:t}),this.currentYear=t.toString(),this.currentView="calendar",this.updateCalendar().then((()=>{requestAnimationFrame((()=>this.setDates()))}))}}handleStartDate(t){const e=this.parseDateProp(t,"start-date");null!==e?(this.internalStartDate=e,this.startDateTime=Os.fromISO(e),this.startDateIdentifier=this.startDateTime.toISODate(),null!==this.internalEndDate&&""!==this.internalEndDate?this.orderRange():this.singlePicker||(this.isFirstClick=!1),this.updateDates()):(this.internalStartDate=null,this.startDateIdentifier=null,this.startDateTime=null,this.isFirstClick=!0,this.updateDates())}handleEndDate(t){if(this.singlePicker)return console.warn("singlePicker is enabled, endDate cannot be set"),void(this.internalEndDate=null);const e=this.parseDateProp(t,"end-date");null!==e?(this.internalEndDate=e,this.endDateTime=Os.fromISO(e),this.endDateIdentifier=this.endDateTime.toISODate(),null!==this.internalStartDate&&""!==this.internalStartDate&&this.orderRange(),this.updateDates()):(this.internalEndDate=null,this.endDateIdentifier=null,this.endDateTime=null,this.updateDates())}handleViewDate(t){if(null!==t&&""!==t){const e=Os.fromISO(t.toString());e.isValid&&(this.currentDate=e,this.updateCalendar().then((()=>{requestAnimationFrame((()=>this.setDates()))})))}}handleHoverDate(){requestAnimationFrame((()=>this.setDates()))}orderRange(){if(null===this.internalStartDate||null===this.internalEndDate)return;const t=Os.fromISO(this.internalStartDate),e=Os.fromISO(this.internalEndDate);t<=e||(console.warn("mds-calendar: startDate is after endDate, swapping values"),[this.internalStartDate,this.internalEndDate]=[this.internalEndDate,this.internalStartDate],this.startDateTime=e,this.endDateTime=t,this.startDateIdentifier=e.toISODate(),this.endDateIdentifier=t.toISODate())}parseDateProp(t,e){if(null===t||""===t)return null;const n=o(t.toString());return null!==n&&Os.fromISO(n).isValid?n:(console.warn(`mds-calendar: ignoring the invalid ${e} "${t}"`),null)}componentWillLoad(){if(this.internalStartDate=this.parseDateProp(this.internalStartDate,"start-date"),this.internalEndDate=this.parseDateProp(this.internalEndDate,"end-date"),this.singlePicker&&null!==this.internalEndDate&&(console.warn("singlePicker is enabled, endDate cannot be set"),this.internalEndDate=null),this.orderRange(),null!==this.viewDate&&""!==this.viewDate){const t=Os.fromISO(this.viewDate.toString());t.isValid&&(this.currentDate=t)}else null!==this.internalStartDate&&(this.startDateTime=Os.fromISO(this.internalStartDate),this.currentDate=this.startDateTime);null!==this.internalEndDate&&(this.endDateTime=Os.fromISO(this.internalEndDate)),this.updateCalendar()}componentDidLoad(){var t,e,n;this.updatePreselection(),null===(e=null===(t=this.host)||void 0===t?void 0:t.shadowRoot)||void 0===e||e.addEventListener("mouseover",this.handleMouseOver),null===(n=this.host)||void 0===n||n.addEventListener("mouseleave",this.handleMouseLeave),this.setDates()}disconnectedCallback(){var t,e,n;null===(e=null===(t=this.host)||void 0===t?void 0:t.shadowRoot)||void 0===e||e.removeEventListener("mouseover",this.handleMouseOver),null===(n=this.host)||void 0===n||n.removeEventListener("mouseleave",this.handleMouseLeave)}async updateCurrentDate(t){return this.currentDate=Os.fromISO(t),await this.updateCalendar(),await new Promise((t=>{requestAnimationFrame((()=>{this.setDates(),t()}))})),Promise.resolve()}resolveHoverDate(){return null!==this.hoverDate&&""!==this.hoverDate?this.hoverDate:this.internalHoverDate}updateDates(){this.updateCalendar().then((()=>{requestAnimationFrame((()=>this.setDates()))}))}async updateCalendar(){try{const t=this.currentDate.startOf("week");this.weekdays=Array.from({length:7}).map(((e,n)=>t.setLocale(a.state.language).plus({days:n}).toFormat("ccc"))),this.calculateWeekDaysInMonth(),this.currentMonth=this.currentDate.setLocale(a.state.language).toFormat("MMMM"),this.currentMonthNumber=this.currentDate.month,this.currentYear=this.currentDate.toFormat("yyyy")}catch(t){console.error("Error while updating the calendar:",t)}}setDates(){const t=this.host;if(null==t)return;const{shadowRoot:e}=t;if(!e)return;const n=e.querySelectorAll("mds-calendar-cell[selection], mds-calendar-cell[preview]");if(this.singlePicker)this.setSingleSelection(n,e);else{const t=this.resolveHoverDate();null===t||null!==this.internalEndDate&&""!==this.internalEndDate?this.setRangeSelection(n,e):this.setHoverSelection(n,e,t)}}clearSelectionState(t){t.forEach((t=>{t.removeAttribute("selection"),t.removeAttribute("preview")}))}setRangeSelection(t,e){if(this.clearSelectionState(t),null===this.internalStartDate||""===this.internalStartDate)return;if(this.startDateTime=Os.fromISO(this.internalStartDate.toString()),null===this.internalEndDate||""===this.internalEndDate)return this.startDateIdentifier=this.startDateTime.toISODate(),this.isFirstClick=!1,void e.querySelectorAll("mds-calendar-cell").forEach((t=>{t.getAttribute("date")===this.startDateTime.toFormat("yyyy-MM-dd")&&(t.setAttribute("selection","single"),t.setAttribute("preview","true"))}));this.endDateTime=Os.fromISO(this.internalEndDate.toString()),this.startDateIdentifier=this.startDateTime.toISODate(),this.endDateIdentifier=this.endDateTime.toISODate();const n=e.querySelectorAll("mds-calendar-cell");if(null!=n){let t;for(let e=0;e<n.length;e++){const s=n[e].getAttribute("date");if(null!==s&&""!==s){const r=Os.fromISO(s);r.toFormat("yyyy-MM-dd")===this.startDateTime.toFormat("yyyy-MM-dd")&&n[e].setAttribute("selection","start"),r.toFormat("yyyy-MM-dd")===this.endDateTime.toFormat("yyyy-MM-dd")&&(this.startDateTime.equals(this.endDateTime)?n[e].setAttribute("selection","single"):n[e].setAttribute("selection","end")),t=r>this.startDateTime&&r<this.endDateTime,t&&n[e].setAttribute("selection","middle")}}}}setHoverSelection(t,e,n){if(this.clearSelectionState(t),null===this.internalStartDate||""===this.internalStartDate)return void this.setRangeSelection(t,e);const s=Os.fromISO(this.internalStartDate),r=Os.fromISO(n);if(!s.isValid||!r.isValid)return void this.setRangeSelection(t,e);const i=s<=r;Array.from(e.querySelectorAll("mds-calendar-cell")).forEach((t=>{const e=t.getAttribute("date");if(null===e||""===e)return;const n=Os.fromISO(e);if(!n.isValid)return;if(!(i?n>=s&&n<=r:n>=r&&n<=s))return;t.setAttribute("preview","true");let a="middle";s.equals(r)&&n.equals(s)?a="single":n.equals(s)?a=i?"start":"end":n.equals(r)&&(a=i?"end":"start"),t.setAttribute("selection",a)}))}setSingleSelection(t,e){if(this.clearSelectionState(t),null===this.internalStartDate||""===this.internalStartDate)return;this.startDateTime=Os.fromISO(this.internalStartDate.toString());const n=e.querySelectorAll("mds-calendar-cell");if(null!=n)for(let t=0;t<n.length;t++){const e=n[t].getAttribute("date");null!==e&&""!==e&&Os.fromISO(e).toFormat("yyyy-MM-dd")===this.startDateTime.toFormat("yyyy-MM-dd")&&n[t].setAttribute("selection","single")}}changeMonth(t){this.currentDate=this.currentDate.plus({months:t}),this.updateCalendar().then((()=>{requestAnimationFrame((()=>this.setDates()))})),this.navigationEmitter.emit({currentDate:this.currentDate.toISODate(),delta:t})}calculateWeekDaysInMonth(){const t=this.currentDate.startOf("month"),e=this.currentDate.endOf("month"),n=[];for(let e=t.minus({days:t.weekday-1});e<t;e=e.plus({days:1}))n.push({date:e,isCurrentMonth:!1});for(let s=t;s<=e;s=s.plus({days:1}))n.push({date:s,isCurrentMonth:!0});const s=7-e.weekday,r=e.plus({days:1});for(let t=r;t<r.plus({days:s});t=t.plus({days:1}))n.push({date:t,isCurrentMonth:!1});this.weekDaysinMonth=n}handleRange(t,e){if(!this.singlePicker&&(null===this.endDate||""===this.endDate)&&(null===this.internalEndDate||""===this.internalEndDate)&&this.isFirstClick){const t=this.parseDateProp(this.startDate||this.host.getAttribute("start-date"),"start-date");null!==t&&(this.internalStartDate=t,this.startDateTime=Os.fromISO(t),this.startDateIdentifier=this.startDateTime.toISODate(),this.isFirstClick=!1)}if(null!==this.startDateIdentifier&&""!==this.startDateIdentifier&&null!==this.endDateIdentifier&&""!==this.endDateIdentifier&&(()=>{this.internalStartDate=null,this.internalEndDate=null,this.startDateIdentifier=null,this.startDateTime=null,this.endDateIdentifier=null,this.endDateTime=null,this.isFirstClick=!0;const t=this.host;requestAnimationFrame((()=>{var e;null===(e=null==t?void 0:t.shadowRoot)||void 0===e||e.querySelectorAll("mds-calendar-cell[selection]").forEach((t=>{t.removeAttribute("selection"),t.removeAttribute("preview")}))}))})(),this.isFirstClick){this.startDateIdentifier=e.toISODate(),this.startDateTime=e,this.internalStartDate=this.startDateTime.toISO().split("T")[0],this.isFirstClick=!1;const n=this.host;return requestAnimationFrame((()=>{var t;null===(t=null==n?void 0:n.shadowRoot)||void 0===t||t.querySelectorAll("mds-calendar-cell[selection]").forEach((t=>{t.removeAttribute("selection")}))})),requestAnimationFrame((()=>{t.setAttribute("selection","single"),t.setAttribute("preview","true")})),void this.datesEmitter.emit({startDate:this.internalStartDate})}null!==this.startDateIdentifier&&""!==this.startDateIdentifier&&Os.fromISO(this.startDateIdentifier)<Os.fromISO(t.getAttribute("date"))?(this.endDateIdentifier=t.getAttribute("date"),this.endDateTime=e,this.internalEndDate=this.endDateTime.toISO().split("T")[0]):(this.endDateIdentifier=this.startDateIdentifier,this.endDateTime=this.startDateTime,this.internalEndDate=this.internalStartDate,this.startDateIdentifier=t.getAttribute("date"),this.startDateTime=e,this.internalStartDate=this.startDateTime.toISO().split("T")[0]),requestAnimationFrame((()=>this.setDates())),null!==this.internalStartDate&&""!==this.internalStartDate&&null!==this.internalEndDate&&""!==this.internalEndDate&&(this.datesEmitter.emit({startDate:this.internalStartDate,endDate:this.internalEndDate}),this.checkPreselectionsEmitter.emit())}handleSingleSelection(t,e){var n;const s=this.host;null===(n=null==s?void 0:s.shadowRoot)||void 0===n||n.querySelectorAll("mds-calendar-cell[selection]").forEach((t=>{t.removeAttribute("selection")})),this.startDateIdentifier=t.getAttribute("date"),this.startDateTime=e,this.internalStartDate=this.startDateTime.toISO().split("T")[0],this.isFirstClick=!1,t.setAttribute("selection","single"),null!==this.internalStartDate&&""!==this.internalStartDate&&this.datesEmitter.emit({startDate:this.internalStartDate})}isDateDisabled(t){return null!==this.min&&""!==this.min&&t<Os.fromISO(this.min)||null!==this.max&&""!==this.max&&t>Os.fromISO(this.max)||void 0}render(){return s(r,{key:"8611a2c99c4cd736e76f1b7ede71aaf4f98fc00b"},s("div",{key:"2722b2e4b90c64e0d1247931380fdba8f634da1a",class:h("calendar-preselection",this.hasPreselection&&!this.hidePreselection&&"calendar-preselection--has-preselection")},s("slot",{key:"3dbd57162a6b22bfd51c163a476b90498c81e757",name:"preselection",onSlotchange:this.updatePreselection})),s("div",{key:"29e894b84333a08efa15cd46dc2015ac8d8a9663",class:"calendar-view"},s("nav",{key:"5383cd78806d501699f6d41e883aab92b79a2456"},!this.hidePreviousButton&&s("mds-button",{key:"f9c65eb580f1ab80c74b7ac002d56ca5bddbc4ae","aria-label":this.t.get("years"===this.currentView?"previousYears":"previousMonth"),class:"action-back",disabled:"months"===this.currentView,icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M17.77 3.77L16 2L6 12l10 10l1.77-1.77L9.54 12z"/></svg>',variant:"dark",tone:"text",onClick:this.handlePrev}),s("div",{key:"4979c86c0979effdd2104de726c5711f079bb5c7",class:"select-month-or-year"},("calendar"===this.currentView||"months"===this.currentView)&&s("mds-button",{key:"ca34dd25e152dd700f69e4367d1d6647b38b9768",class:"action-month",truncate:"none",variant:"dark",tone:"text",label:this.currentMonth,onClick:this.handleMonthActionClick}),("calendar"===this.currentView||"years"===this.currentView)&&s("mds-button",{key:"853f39d4f660f27fad3ca55ce4970495115d40de",class:"action-year",truncate:"none",variant:"dark",tone:"text",label:this.currentYear,onClick:this.handleYearActionClick})),!this.hideNextButton&&s("mds-button",{key:"ea639d7b4fa5ff27d2f059ecbd7db49ba60e2642","aria-label":this.t.get("years"===this.currentView?"nextYears":"nextMonth"),class:"action-forward",disabled:"months"===this.currentView,icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M6.23 20.23L8 22l10-10L8 2L6.23 3.77L14.46 12z"/></svg>',variant:"dark",tone:"text",onClick:this.handleNext})),"calendar"===this.currentView&&s("section",{key:"89f888f30c42fc106d29b7b3e2b69555db02805f",class:"month-view"},s("header",{key:"56c800fd0acb55f7843d055e7465f18e0df9e295",class:"month-view__days-names"},this.weekdays.map((t=>s("mds-button",{class:"week-day-name",variant:"dark",tone:"text",label:t})))),s("div",{key:"f03c98174586cb5b86c86dbc3fe7763359a984fc",class:"month-view__cells"},this.weekDaysinMonth.map(((t,e)=>s("mds-calendar-cell",{key:e,today:!this.hideToday&&Os.now().toFormat("yyyy-MM-dd")===t.date.toFormat("yyyy-MM-dd"),date:t.date.toFormat("yyyy-MM-dd"),month:t.isCurrentMonth?"current":"other",disabled:this.isDateDisabled(t.date),onClick:this.handleCellClick(t.date),title:t.date.setLocale(a.state.language).toFormat("cccc d LLLL").replace(/^./,(t=>t.toUpperCase())),label:t.date.toFormat("dd")}))))),"months"===this.currentView&&s("section",{key:"a96f215d14da90cf1d66cead45dc6120678f1313",class:"month-selection"},s("header",{key:"54fffeb45ff37884669e27142c763d2003351da0",class:"month-view__month-names"},Array.from({length:12}).map(((t,e)=>{const n=Os.local().set({month:e+1}).setLocale(a.state.language).toFormat("MMMM");return s("mds-button",{class:"action",variant:"dark",tone:"text",label:n,onClick:this.handleMonthSelect(e+1)})})))),"years"===this.currentView&&s("section",{key:"eeade1ee73a96c0a4e2ee9d0b0986feec7652077",class:"year-selection"},s("header",{key:"1dd18af4c5ddb8d77c0930d3362716967350f229",class:"month-view__years"},Array.from({length:12}).map(((t,e)=>{const n=this.selectedYear+e;return s("mds-button",{class:"action",variant:"dark",tone:"text",label:`${n}`,onClick:this.handleYearSelect(n)})}))))))}get host(){return this}static get watchers(){return{startDate:[{handleStartDate:0}],endDate:[{handleEndDate:0}],viewDate:[{handleViewDate:0}],hoverDate:[{handleHoverDate:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-calendar-cell):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-calendar-day-number-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-calendar-cell-gap:calc(var(--spacing,.0025rem)*50);--mds-calendar-cell-other-month-visibility:visible;--mds-calendar-border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));--mds-calendar-background:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));--mds-calendar-padding:calc(var(--spacing,.0025rem)*400);--mds-calendar-select-month-or-year-height:calc(var(--spacing,.0025rem)*900);--mds-calendar-select-month-or-year-width:calc(var(--spacing,.0025rem)*5600);--mds-calendar-max-width:calc(var(--spacing,.0025rem)*12000);background-color:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));border-radius:var(--mds-calendar-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)));corner-shape:var(--magma-corner-shape,squircle);cursor:auto;display:inline-flex;inline-size:100%;max-width:var(--mds-calendar-max-width,calc(var(--spacing,.0025rem)*12000));min-width:min-content;overflow:hidden}.calendar-view{background-color:var(--mds-calendar-background,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));border-radius:inherit;box-sizing:border-box;corner-shape:inherit;display:grid;flex:auto;width:100%}.calendar-preselection,.calendar-view{padding:var(--mds-calendar-padding,calc(var(--spacing,.0025rem)*400))}.calendar-preselection{display:none;gap:calc(var(--spacing,.0025rem)*50);grid-auto-rows:min-content}.calendar-preselection--has-preselection{display:grid}nav{display:flex;gap:calc(var(--spacing,.0025rem)*200);justify-content:space-between;min-width:0}.action{justify-content:left;min-width:min-content;padding-left:calc(var(--spacing,.0025rem)*200);padding-right:calc(var(--spacing,.0025rem)*200)}.action-back,.action-forward{flex-shrink:0}.select-month-or-year{background-color:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));block-size:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));border-radius:min(var(--mds-calendar-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px))),var(--magma-corner-cap,.5) * var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900)));box-sizing:border-box;corner-shape:var(--magma-corner-shape,squircle);align-items:stretch;display:flex;flex:0 0 var(--mds-calendar-select-month-or-year-width,calc(var(--spacing,.0025rem)*5600));height:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));inline-size:var(--mds-calendar-select-month-or-year-width,calc(var(--spacing,.0025rem)*5600));justify-content:flex-start;max-block-size:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));max-height:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));max-inline-size:var(--mds-calendar-select-month-or-year-width,calc(var(--spacing,.0025rem)*5600));min-block-size:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));min-height:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));min-inline-size:var(--mds-calendar-select-month-or-year-width,calc(var(--spacing,.0025rem)*5600));overflow:hidden}.action-month,.action-year{--mds-button-radius:0;align-self:stretch;block-size:100%;box-sizing:border-box;cursor:default;height:100%;max-block-size:100%;max-height:100%;min-block-size:0;min-height:0;padding-left:calc(var(--spacing,.0025rem)*200);padding-right:calc(var(--spacing,.0025rem)*200)}.action-month{flex:auto;min-width:0}.action-year{flex:0 0 calc(var(--spacing,.0025rem)*1800)}.action-month::part(label),.action-year::part(label){overflow:visible;text-overflow:clip;white-space:nowrap}.week-day-name{align-items:center;block-size:calc(var(--spacing,.0025rem)*1200);inline-size:100%;min-height:auto;padding:0}.month-view__cells,.month-view__days-names{display:grid;gap:var(--mds-calendar-cell-gap);grid-template-columns:repeat(7,minmax(1px,100%));min-width:0}.month-view{display:grid}.month-view__month-names,.month-view__years{display:grid;gap:var(--mds-calendar-cell-gap);grid-template-columns:repeat(3,minmax(1px,100%));min-width:0}"}},[257,"mds-calendar",{singlePicker:[4,"single-picker"],hidePreviousButton:[4,"hide-previous-button"],hideNextButton:[4,"hide-next-button"],disableMonthYearSelection:[4,"disable-month-year-selection"],hidePreselection:[4,"hide-preselection"],hideToday:[4,"hide-today"],viewDate:[513,"view-date"],hoverDate:[513,"hover-date"],startDate:[513,"start-date"],endDate:[513,"end-date"],min:[513],max:[513],hasPreselection:[32],currentDate:[32],weekDaysinMonth:[32],weekdays:[32],startDateIdentifier:[32],endDateIdentifier:[32],isFirstClick:[32],currentView:[32],selectedYear:[32],internalStartDate:[32],internalEndDate:[32],currentMonth:[32],currentYear:[32],updateCurrentDate:[64]},void 0,{startDate:[{handleStartDate:0}],endDate:[{handleEndDate:0}],viewDate:[{handleViewDate:0}],hoverDate:[{handleHoverDate:0}]}]);function Zs(){"undefined"!=typeof customElements&&["mds-calendar","mds-button","mds-calendar-cell","mds-icon","mds-spinner","mds-text"].forEach((t=>{switch(t){case"mds-calendar":customElements.get(i(t))||customElements.define(i(t),As);break;case"mds-button":customElements.get(i(t))||c();break;case"mds-calendar-cell":customElements.get(i(t))||d();break;case"mds-icon":customElements.get(i(t))||m();break;case"mds-spinner":customElements.get(i(t))||f();break;case"mds-text":customElements.get(i(t))||y()}}))}export{Os as D,As as M,Zs as d}
|