@siemens/ix 1.2.1 → 1.3.0-beta.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/dist/cjs/alignment-24ae2e63.js +1372 -0
- package/dist/cjs/{index-354a8c3d.js → index-17eb8998.js} +4 -3
- package/dist/cjs/index.cjs.js +5 -2
- package/dist/cjs/ix-animated-tab_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-application-header.cjs.entry.js +1 -1
- package/dist/cjs/ix-basic-navigation.cjs.entry.js +1 -1
- package/dist/cjs/ix-blind.cjs.entry.js +1 -1
- package/dist/cjs/ix-breadcrumb_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-button.cjs.entry.js +5 -3
- package/dist/cjs/ix-category-filter.cjs.entry.js +9 -9
- package/dist/cjs/ix-chip.cjs.entry.js +22 -9
- package/dist/cjs/ix-counter-pill.cjs.entry.js +2 -2
- package/dist/cjs/ix-date-picker_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-date-time-card.cjs.entry.js +1 -1
- package/dist/cjs/ix-datetime-picker.cjs.entry.js +1 -1
- package/dist/cjs/ix-drawer.cjs.entry.js +1 -1
- package/dist/cjs/ix-dropdown-button.cjs.entry.js +40 -0
- package/dist/cjs/ix-dropdown_2.cjs.entry.js +88 -42
- package/dist/cjs/ix-event-list_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-expanding-search.cjs.entry.js +3 -3
- package/dist/cjs/ix-filter-chip.cjs.entry.js +1 -1
- package/dist/cjs/ix-flip-tile_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-group-context-menu.cjs.entry.js +1 -1
- package/dist/cjs/ix-group_3.cjs.entry.js +1 -1
- package/dist/cjs/ix-icon-button.cjs.entry.js +3 -3
- package/dist/cjs/ix-icon.cjs.entry.js +1 -1
- package/dist/cjs/ix-input-group.cjs.entry.js +1 -1
- package/dist/cjs/ix-kpi.cjs.entry.js +1 -1
- package/dist/cjs/ix-map-navigation_2.cjs.entry.js +5 -4
- package/dist/cjs/ix-menu_9.cjs.entry.js +14 -95
- package/dist/cjs/ix-message-bar.cjs.entry.js +1 -1
- package/dist/cjs/ix-modal-example.cjs.entry.js +1 -1
- package/dist/cjs/ix-modal_2.cjs.entry.js +2 -2
- package/dist/cjs/ix-pill.cjs.entry.js +6 -3
- package/dist/cjs/ix-select_2.cjs.entry.js +36 -15
- package/dist/cjs/ix-spinner.cjs.entry.js +1 -1
- package/dist/cjs/ix-split-button_2.cjs.entry.js +7 -36
- package/dist/cjs/ix-tab-item.cjs.entry.js +1 -1
- package/dist/cjs/ix-tabs.cjs.entry.js +1 -1
- package/dist/cjs/ix-tile.cjs.entry.js +1 -1
- package/dist/cjs/ix-toast_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-toggle.cjs.entry.js +1 -1
- package/dist/cjs/ix-tree_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-upload.cjs.entry.js +1 -1
- package/dist/cjs/ix-validation-tooltip.cjs.entry.js +72 -27
- package/dist/cjs/ix-workflow-step_2.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{modal-a5b22d3f.js → modal-dda2f6be.js} +9 -3
- package/dist/cjs/my-component.cjs.entry.js +1 -1
- package/dist/cjs/siemens-ix.cjs.js +2 -2
- package/dist/cjs/theme-switcher-6b45e082.js +92 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/button/button.css +1 -1
- package/dist/collection/components/button/button.js +4 -2
- package/dist/collection/components/category-filter/category-filter.css +4 -4
- package/dist/collection/components/category-filter/category-filter.js +7 -7
- package/dist/collection/components/chip/chip.css +20 -0
- package/dist/collection/components/chip/chip.js +22 -9
- package/dist/collection/components/counter-pill/counter-pill.css +10 -0
- package/dist/collection/components/dropdown/alignment.js +9 -0
- package/dist/collection/components/dropdown/dropdown.css +1 -0
- package/dist/collection/components/dropdown/dropdown.js +113 -50
- package/dist/collection/components/dropdown/placement.js +1 -0
- package/dist/collection/components/dropdown-button/dropdown-button.css +81 -0
- package/dist/collection/components/dropdown-button/dropdown-button.js +191 -0
- package/dist/collection/components/expanding-search/expanding-search.css +1 -0
- package/dist/collection/components/expanding-search/expanding-search.js +1 -1
- package/dist/collection/components/icon-button/icon-button.css +3 -30
- package/dist/collection/components/icon-button/icon-button.js +2 -2
- package/dist/collection/components/map-navigation/map-navigation.js +3 -2
- package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.css +9 -4
- package/dist/collection/components/menu/menu.css +1 -1
- package/dist/collection/components/menu/menu.js +6 -21
- package/dist/collection/components/menu-avatar/menu-avatar.js +4 -30
- package/dist/collection/components/modal/modal.css +1 -0
- package/dist/collection/components/modal/modal.js +7 -1
- package/dist/collection/components/pill/pill.css +10 -0
- package/dist/collection/components/pill/pill.js +4 -1
- package/dist/collection/components/select/select.css +0 -3
- package/dist/collection/components/select/select.js +13 -12
- package/dist/collection/components/select-item/events.js +16 -0
- package/dist/collection/components/select-item/select-item.js +23 -4
- package/dist/collection/components/split-button/split-button.js +7 -36
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/utils/theme-switcher.js +86 -0
- package/dist/collection/components/validation-tooltip/validation-tooltip.css +4 -24
- package/dist/collection/components/validation-tooltip/validation-tooltip.js +75 -28
- package/dist/collection/exports.js +1 -0
- package/dist/components/alignment.js +1363 -0
- package/dist/components/button.js +5 -3
- package/dist/components/dropdown.js +88 -41
- package/dist/components/icon-button.js +3 -3
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +2 -1
- package/dist/components/ix-category-filter.js +18 -12
- package/dist/components/ix-chip.js +21 -8
- package/dist/components/ix-counter-pill.js +1 -1
- package/dist/components/ix-dropdown-button.d.ts +11 -0
- package/dist/components/ix-dropdown-button.js +86 -0
- package/dist/components/ix-expanding-search.js +2 -2
- package/dist/components/ix-map-navigation.js +3 -2
- package/dist/components/ix-menu-avatar.js +6 -19
- package/dist/components/ix-menu.js +93 -46
- package/dist/components/ix-pill.js +5 -2
- package/dist/components/ix-select.js +9 -14
- package/dist/components/ix-split-button.js +6 -35
- package/dist/components/ix-validation-tooltip.js +74 -27
- package/dist/components/map-navigation-overlay.js +1 -1
- package/dist/components/modal.js +8 -2
- package/dist/components/select-item.js +27 -1
- package/dist/esm/alignment-f63c1b89.js +1363 -0
- package/dist/esm/{index-7746a810.js → index-6f4f3582.js} +5 -3
- package/dist/esm/index.js +3 -2
- package/dist/esm/ix-animated-tab_2.entry.js +1 -1
- package/dist/esm/ix-application-header.entry.js +1 -1
- package/dist/esm/ix-basic-navigation.entry.js +1 -1
- package/dist/esm/ix-blind.entry.js +1 -1
- package/dist/esm/ix-breadcrumb_2.entry.js +1 -1
- package/dist/esm/ix-button.entry.js +5 -3
- package/dist/esm/ix-category-filter.entry.js +9 -9
- package/dist/esm/ix-chip.entry.js +22 -9
- package/dist/esm/ix-counter-pill.entry.js +2 -2
- package/dist/esm/ix-date-picker_2.entry.js +1 -1
- package/dist/esm/ix-date-time-card.entry.js +1 -1
- package/dist/esm/ix-datetime-picker.entry.js +1 -1
- package/dist/esm/ix-drawer.entry.js +1 -1
- package/dist/esm/ix-dropdown-button.entry.js +36 -0
- package/dist/esm/ix-dropdown_2.entry.js +88 -42
- package/dist/esm/ix-event-list_2.entry.js +1 -1
- package/dist/esm/ix-expanding-search.entry.js +3 -3
- package/dist/esm/ix-filter-chip.entry.js +1 -1
- package/dist/esm/ix-flip-tile_2.entry.js +1 -1
- package/dist/esm/ix-group-context-menu.entry.js +1 -1
- package/dist/esm/ix-group_3.entry.js +1 -1
- package/dist/esm/ix-icon-button.entry.js +3 -3
- package/dist/esm/ix-icon.entry.js +1 -1
- package/dist/esm/ix-input-group.entry.js +1 -1
- package/dist/esm/ix-kpi.entry.js +1 -1
- package/dist/esm/ix-map-navigation_2.entry.js +5 -4
- package/dist/esm/ix-menu_9.entry.js +14 -95
- package/dist/esm/ix-message-bar.entry.js +1 -1
- package/dist/esm/ix-modal-example.entry.js +1 -1
- package/dist/esm/ix-modal_2.entry.js +2 -2
- package/dist/esm/ix-pill.entry.js +6 -3
- package/dist/esm/ix-select_2.entry.js +36 -15
- package/dist/esm/ix-spinner.entry.js +1 -1
- package/dist/esm/ix-split-button_2.entry.js +7 -36
- package/dist/esm/ix-tab-item.entry.js +1 -1
- package/dist/esm/ix-tabs.entry.js +1 -1
- package/dist/esm/ix-tile.entry.js +1 -1
- package/dist/esm/ix-toast_2.entry.js +1 -1
- package/dist/esm/ix-toggle.entry.js +1 -1
- package/dist/esm/ix-tree_2.entry.js +1 -1
- package/dist/esm/ix-upload.entry.js +1 -1
- package/dist/esm/ix-validation-tooltip.entry.js +72 -27
- package/dist/esm/ix-workflow-step_2.entry.js +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{modal-9c9eaf8e.js → modal-df0a62f2.js} +9 -3
- package/dist/esm/my-component.entry.js +1 -1
- package/dist/esm/siemens-ix.js +2 -2
- package/dist/esm/theme-switcher-dce1aaec.js +89 -0
- package/dist/siemens-ix/index.esm.js +1 -1
- package/dist/siemens-ix/p-03d38416.entry.js +1 -0
- package/dist/siemens-ix/{p-5e4c3828.js → p-05c16b94.js} +2 -2
- package/dist/siemens-ix/p-0e357d27.entry.js +1 -0
- package/dist/siemens-ix/{p-963c5690.entry.js → p-150d7a02.entry.js} +1 -1
- package/dist/siemens-ix/p-18d02e6f.entry.js +1 -0
- package/dist/siemens-ix/{p-b2ecf415.entry.js → p-23d79e3d.entry.js} +1 -1
- package/dist/siemens-ix/{p-91eb1fdd.entry.js → p-2bc72119.entry.js} +1 -1
- package/dist/siemens-ix/p-2bd88760.entry.js +1 -0
- package/dist/siemens-ix/p-2c5abec1.js +1 -0
- package/dist/siemens-ix/{p-dfb5730f.entry.js → p-2e24ae23.entry.js} +1 -1
- package/dist/siemens-ix/{p-4d61503b.entry.js → p-33283dbf.entry.js} +1 -1
- package/dist/siemens-ix/p-35990ac7.js +1 -0
- package/dist/siemens-ix/{p-6e915c70.entry.js → p-3663f989.entry.js} +1 -1
- package/dist/siemens-ix/{p-2f3294b8.entry.js → p-418e2d14.entry.js} +1 -1
- package/dist/siemens-ix/p-43616759.entry.js +1 -0
- package/dist/siemens-ix/{p-03687070.entry.js → p-4b170382.entry.js} +1 -1
- package/dist/siemens-ix/p-4fcb5f2b.entry.js +1 -0
- package/dist/siemens-ix/p-5631ae88.entry.js +1 -0
- package/dist/siemens-ix/{p-5871e480.entry.js → p-5661957c.entry.js} +1 -1
- package/dist/siemens-ix/{p-56771b32.entry.js → p-592f1ed3.entry.js} +1 -1
- package/dist/siemens-ix/p-5bbe9943.entry.js +1 -0
- package/dist/siemens-ix/{p-05f3c48e.entry.js → p-65e61684.entry.js} +1 -1
- package/dist/siemens-ix/p-6fe3bb9c.entry.js +1 -0
- package/dist/siemens-ix/{p-5e3700c3.entry.js → p-72f851ae.entry.js} +1 -1
- package/dist/siemens-ix/{p-e5397173.entry.js → p-7f842cdc.entry.js} +1 -1
- package/dist/siemens-ix/{p-412dbb89.entry.js → p-8a7141a6.entry.js} +1 -1
- package/dist/siemens-ix/{p-10879145.entry.js → p-8b4e4718.entry.js} +1 -1
- package/dist/siemens-ix/{p-ded3a35d.entry.js → p-9b5290d4.entry.js} +1 -1
- package/dist/siemens-ix/{p-c885685e.entry.js → p-a5fa7ae5.entry.js} +1 -1
- package/dist/siemens-ix/{p-61cb7ab7.entry.js → p-a88618e3.entry.js} +1 -1
- package/dist/siemens-ix/p-ab7949ff.entry.js +1 -0
- package/dist/siemens-ix/{p-23578bb6.entry.js → p-b242bd39.entry.js} +1 -1
- package/dist/siemens-ix/p-b3d00feb.entry.js +1 -0
- package/dist/siemens-ix/p-be641020.entry.js +1 -0
- package/dist/siemens-ix/{p-19cc942a.entry.js → p-c3e90c06.entry.js} +1 -1
- package/dist/siemens-ix/{p-558623ce.entry.js → p-c993560f.entry.js} +1 -1
- package/dist/siemens-ix/{p-35d7f18d.entry.js → p-cc0f6f6b.entry.js} +1 -1
- package/dist/siemens-ix/{p-f24f1eb7.entry.js → p-d0bb8225.entry.js} +1 -1
- package/dist/siemens-ix/p-d20119c1.entry.js +1 -0
- package/dist/siemens-ix/p-dec6114f.js +1 -0
- package/dist/siemens-ix/{p-91ecd6ac.entry.js → p-e2925222.entry.js} +1 -1
- package/dist/siemens-ix/{p-1ba8c910.entry.js → p-e7621b0a.entry.js} +1 -1
- package/dist/siemens-ix/{p-494512c0.entry.js → p-ea333007.entry.js} +1 -1
- package/dist/siemens-ix/{p-8f6809f1.entry.js → p-eb150313.entry.js} +1 -1
- package/dist/siemens-ix/{p-b0c95c22.entry.js → p-eed28e55.entry.js} +1 -1
- package/dist/siemens-ix/p-f35ce089.entry.js +1 -0
- package/dist/siemens-ix/{p-2995294d.entry.js → p-f7be9635.entry.js} +1 -1
- package/dist/siemens-ix/{p-712e8945.entry.js → p-fecf0ade.entry.js} +1 -1
- package/dist/siemens-ix/siemens-ix.css +25 -3
- package/dist/siemens-ix/siemens-ix.esm.js +1 -1
- package/dist/types/components/category-filter/category-filter.d.ts +1 -0
- package/dist/types/components/chip/chip.d.ts +2 -1
- package/dist/types/components/dropdown/alignment.d.ts +2 -0
- package/dist/types/components/dropdown/dropdown.d.ts +19 -6
- package/dist/types/components/dropdown/placement.d.ts +8 -0
- package/dist/types/components/dropdown-button/dropdown-button.d.ts +37 -0
- package/dist/types/components/menu/menu.d.ts +0 -2
- package/dist/types/components/menu-avatar/menu-avatar.d.ts +1 -5
- package/dist/types/components/modal/modal.d.ts +1 -0
- package/dist/types/components/select/select.d.ts +2 -1
- package/dist/types/components/select-item/events.d.ts +9 -0
- package/dist/types/components/select-item/select-item.d.ts +3 -2
- package/dist/types/components/split-button/split-button.d.ts +4 -6
- package/dist/types/components/tree/tree.d.ts +1 -1
- package/dist/types/components/utils/theme-switcher.d.ts +19 -0
- package/dist/types/components/validation-tooltip/validation-tooltip.d.ts +12 -4
- package/dist/types/components.d.ts +86 -15
- package/dist/types/exports.d.ts +1 -0
- package/package.json +5 -6
- package/scss/components/_buttons.scss +23 -0
- package/scss/components/_dropdown.scss +2 -0
- package/dist/cjs/popper-d7a0f999.js +0 -1801
- package/dist/collection/components/utils/popover.util.js +0 -33
- package/dist/collection/components/utils/toggle-theme.js +0 -24
- package/dist/components/popover.util.js +0 -36
- package/dist/components/popper.js +0 -1799
- package/dist/esm/popper-42db9fbd.js +0 -1799
- package/dist/siemens-ix/p-080c00b1.entry.js +0 -1
- package/dist/siemens-ix/p-263949b1.js +0 -1
- package/dist/siemens-ix/p-2709fafd.entry.js +0 -1
- package/dist/siemens-ix/p-2b69b027.entry.js +0 -1
- package/dist/siemens-ix/p-6da1e24d.entry.js +0 -1
- package/dist/siemens-ix/p-7b103473.entry.js +0 -1
- package/dist/siemens-ix/p-80d27c08.entry.js +0 -1
- package/dist/siemens-ix/p-842a7652.entry.js +0 -1
- package/dist/siemens-ix/p-9a98369e.entry.js +0 -1
- package/dist/siemens-ix/p-af8213cc.entry.js +0 -1
- package/dist/siemens-ix/p-aff5f463.entry.js +0 -1
- package/dist/siemens-ix/p-bf387a1f.entry.js +0 -1
- package/dist/siemens-ix/p-f3996fc1.entry.js +0 -1
- package/dist/siemens-ix/p-f86fcdf4.js +0 -1
- package/dist/siemens-ix/p-fe28a2be.entry.js +0 -1
- package/dist/types/components/utils/popover.util.d.ts +0 -9
- package/dist/types/components/utils/toggle-theme.d.ts +0 -1
- package/src/components/animated-tab/readme.md +0 -24
- package/src/components/animated-tabs/readme.md +0 -31
- package/src/components/application-header/readme.md +0 -21
- package/src/components/basic-navigation/readme.md +0 -22
- package/src/components/blind/readme.md +0 -29
- package/src/components/breadcrumb/readme.md +0 -33
- package/src/components/breadcrumb-item/readme.md +0 -22
- package/src/components/button/readme.md +0 -27
- package/src/components/category-filter/readme.md +0 -39
- package/src/components/chip/readme.md +0 -36
- package/src/components/counter-pill/readme.md +0 -25
- package/src/components/date-picker/readme.md +0 -53
- package/src/components/date-time-card/readme.md +0 -22
- package/src/components/datetime-picker/readme.md +0 -45
- package/src/components/drawer/readme.md +0 -47
- package/src/components/dropdown/readme.md +0 -49
- package/src/components/dropdown-item/readme.md +0 -45
- package/src/components/event-list/readme.md +0 -24
- package/src/components/event-list-item/readme.md +0 -32
- package/src/components/expanding-search/readme.md +0 -32
- package/src/components/filter-chip/readme.md +0 -30
- package/src/components/flip-tile/readme.md +0 -22
- package/src/components/flip-tile-content/readme.md +0 -14
- package/src/components/group/readme.md +0 -14
- package/src/components/group-dropdown-item/readme.md +0 -22
- package/src/components/group-item/readme.md +0 -34
- package/src/components/icon/readme.md +0 -23
- package/src/components/icon-button/readme.md +0 -31
- package/src/components/input-group/readme.md +0 -14
- package/src/components/kpi/readme.md +0 -27
- package/src/components/map-navigation/readme.md +0 -54
- package/src/components/map-navigation-overlay/readme.md +0 -30
- package/src/components/menu/readme.md +0 -86
- package/src/components/menu-about/readme.md +0 -30
- package/src/components/menu-about-item/readme.md +0 -21
- package/src/components/menu-about-news/readme.md +0 -34
- package/src/components/menu-avatar/readme.md +0 -30
- package/src/components/menu-avatar-item/readme.md +0 -29
- package/src/components/menu-item/readme.md +0 -26
- package/src/components/menu-settings/readme.md +0 -30
- package/src/components/menu-settings-item/readme.md +0 -21
- package/src/components/message-bar/readme.md +0 -31
- package/src/components/modal/readme.md +0 -67
- package/src/components/modal-container/readme.md +0 -29
- package/src/components/my-component/readme.md +0 -16
- package/src/components/pill/readme.md +0 -26
- package/src/components/select/readme.md +0 -37
- package/src/components/select-item/readme.md +0 -44
- package/src/components/spinner/readme.md +0 -22
- package/src/components/split-button/readme.md +0 -36
- package/src/components/split-button-item/readme.md +0 -29
- package/src/components/tab-item/readme.md +0 -28
- package/src/components/tabs/readme.md +0 -25
- package/src/components/tile/readme.md +0 -21
- package/src/components/time-picker/readme.md +0 -51
- package/src/components/toast/readme.md +0 -36
- package/src/components/toggle/readme.md +0 -35
- package/src/components/tree/readme.md +0 -32
- package/src/components/tree-item/readme.md +0 -31
- package/src/components/upload/readme.md +0 -51
- package/src/components/validation-tooltip/readme.md +0 -31
- package/src/components/workflow-step/readme.md +0 -28
- package/src/components/workflow-steps/readme.md +0 -33
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as e,h as n,F as r,H as i,g as s}from"./p-5e4c3828.js";import{c as u}from"./p-37417714.js";var o=u((function(t,e){function n(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function r(t,e,r){return e&&n(t.prototype,e),r&&n(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function i(){return(i=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function s(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,o(t,e)}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function o(t,e){return(o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function a(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function c(t,e,n){return(c=a()?Reflect.construct.bind():function(t,e,n){var r=[null];r.push.apply(r,e);var i=new(Function.bind.apply(t,r));return n&&o(i,n.prototype),i}).apply(null,arguments)}function h(t){var e="function"==typeof Map?new Map:void 0;return(h=function(t){if(null===t||-1===Function.toString.call(t).indexOf("[native code]"))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return c(t,arguments,u(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),o(n,t)})(t)}function d(t,e){if(null==t)return{};var n,r,i={},s=Object.keys(t);for(r=0;r<s.length;r++)e.indexOf(n=s[r])>=0||(i[n]=t[n]);return i}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function f(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return l(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}Object.defineProperty(e,"__esModule",{value:!0});var v=function(t){function e(){return t.apply(this,arguments)||this}return s(e,t),e}(h(Error)),m=function(t){function e(e){return t.call(this,"Invalid DateTime: "+e.toMessage())||this}return s(e,t),e}(v),y=function(t){function e(e){return t.call(this,"Invalid Interval: "+e.toMessage())||this}return s(e,t),e}(v),k=function(t){function e(e){return t.call(this,"Invalid Duration: "+e.toMessage())||this}return s(e,t),e}(v),p=function(t){function e(){return t.apply(this,arguments)||this}return s(e,t),e}(v),g=function(t){function e(e){return t.call(this,"Invalid unit "+e)||this}return s(e,t),e}(v),w=function(t){function e(){return t.apply(this,arguments)||this}return s(e,t),e}(v),x=function(t){function e(){return t.call(this,"Zone is an abstract class")||this}return s(e,t),e}(v),b="numeric",M="short",T="long",N={year:b,month:b,day:b},E={year:b,month:M,day:b},S={year:b,month:M,day:b,weekday:M},D={year:b,month:T,day:b},I={year:b,month:T,day:b,weekday:T},O={hour:b,minute:b},A={hour:b,minute:b,second:b},C={hour:b,minute:b,second:b,timeZoneName:M},Z={hour:b,minute:b,second:b,timeZoneName:T},_={hour:b,minute:b,hourCycle:"h23"},j={hour:b,minute:b,second:b,hourCycle:"h23"},L={hour:b,minute:b,second:b,hourCycle:"h23",timeZoneName:M},z={hour:b,minute:b,second:b,hourCycle:"h23",timeZoneName:T},F={year:b,month:b,day:b,hour:b,minute:b},H={year:b,month:b,day:b,hour:b,minute:b,second:b},W={year:b,month:M,day:b,hour:b,minute:b},q={year:b,month:M,day:b,hour:b,minute:b,second:b},R={year:b,month:M,day:b,weekday:M,hour:b,minute:b},P={year:b,month:T,day:b,hour:b,minute:b,timeZoneName:M},Y={year:b,month:T,day:b,hour:b,minute:b,second:b,timeZoneName:M},G={year:b,month:T,day:b,weekday:T,hour:b,minute:b,timeZoneName:T},J={year:b,month:T,day:b,weekday:T,hour:b,minute:b,second:b,timeZoneName:T};function U(t){return void 0===t}function $(t){return"number"==typeof t}function V(t){return"number"==typeof t&&t%1==0}function B(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function K(t,e,n){if(0!==t.length)return t.reduce((function(t,r){var i=[e(r),r];return t&&n(t[0],i[0])===t[0]?t:i}),null)[1]}function Q(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function X(t,e,n){return V(t)&&t>=e&&t<=n}function tt(t,e){return void 0===e&&(e=2),t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0")}function et(t){return U(t)||null===t||""===t?void 0:parseInt(t,10)}function nt(t){return U(t)||null===t||""===t?void 0:parseFloat(t)}function rt(t){if(!U(t)&&null!==t&&""!==t){var e=1e3*parseFloat("0."+t);return Math.floor(e)}}function it(t,e,n){void 0===n&&(n=!1);var r=Math.pow(10,e);return(n?Math.trunc:Math.round)(t*r)/r}function st(t){return t%4==0&&(t%100!=0||t%400==0)}function ut(t){return st(t)?366:365}function ot(t,e){var n,r=(n=e-1)-12*Math.floor(n/12)+1;return 2===r?st(t+(e-r)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][r-1]}function at(t){var 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)).setUTCFullYear(e.getUTCFullYear()-1900),+e}function ct(t){var e=(t+Math.floor(t/4)-Math.floor(t/100)+Math.floor(t/400))%7,n=t-1,r=(n+Math.floor(n/4)-Math.floor(n/100)+Math.floor(n/400))%7;return 4===e||3===r?53:52}function ht(t){return t>99?t:t>60?1900+t:2e3+t}function dt(t,e,n,r){void 0===r&&(r=null);var s=new Date(t),u={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(u.timeZone=r);var o=i({timeZoneName:e},u),a=new Intl.DateTimeFormat(n,o).formatToParts(s).find((function(t){return"timezonename"===t.type.toLowerCase()}));return a?a.value:null}function lt(t,e){var n=parseInt(t,10);Number.isNaN(n)&&(n=0);var r=parseInt(e,10)||0;return 60*n+(n<0||Object.is(n,-0)?-r:r)}function ft(t){var e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new w("Invalid unit value "+t);return e}function vt(t,e){var n={};for(var r in t)if(Q(t,r)){var i=t[r];if(null==i)continue;n[e(r)]=ft(i)}return n}function mt(t,e){var n=Math.trunc(Math.abs(t/60)),r=Math.trunc(Math.abs(t%60)),i=t>=0?"+":"-";switch(e){case"short":return""+i+tt(n,2)+":"+tt(r,2);case"narrow":return""+i+n+(r>0?":"+r:"");case"techie":return""+i+tt(n,2)+tt(r,2);default:throw new RangeError("Value format "+e+" is out of range for property format")}}function yt(t){return function(t){return["hour","minute","second","millisecond"].reduce((function(e,n){return e[n]=t[n],e}),{})}(t)}var kt=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/,pt=["January","February","March","April","May","June","July","August","September","October","November","December"],gt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wt=["J","F","M","A","M","J","J","A","S","O","N","D"];function xt(t){switch(t){case"narrow":return[].concat(wt);case"short":return[].concat(gt);case"long":return[].concat(pt);case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}var bt=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Mt=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Tt=["M","T","W","T","F","S","S"];function Nt(t){switch(t){case"narrow":return[].concat(Tt);case"short":return[].concat(Mt);case"long":return[].concat(bt);case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var Et=["AM","PM"],St=["Before Christ","Anno Domini"],Dt=["BC","AD"],It=["B","A"];function Ot(t){switch(t){case"narrow":return[].concat(It);case"short":return[].concat(Dt);case"long":return[].concat(St);default:return null}}function At(t,e){for(var n,r="",i=f(t);!(n=i()).done;){var s=n.value;r+=s.literal?s.val:e(s.val)}return r}var Ct={D:N,DD:E,DDD:D,DDDD:I,t:O,tt:A,ttt:C,tttt:Z,T:_,TT:j,TTT:L,TTTT:z,f:F,ff:W,fff:P,ffff:G,F:H,FF:q,FFF:Y,FFFF:J},Zt=function(){function t(t,e){this.opts=e,this.loc=t,this.systemLoc=null}t.create=function(e,n){return void 0===n&&(n={}),new t(e,n)},t.parseFormat=function(t){for(var e=null,n="",r=!1,i=[],s=0;s<t.length;s++){var u=t.charAt(s);"'"===u?(n.length>0&&i.push({literal:r,val:n}),e=null,n="",r=!r):r||u===e?n+=u:(n.length>0&&i.push({literal:!1,val:n}),n=u,e=u)}return n.length>0&&i.push({literal:r,val:n}),i},t.macroTokenToFormatOpts=function(t){return Ct[t]};var e=t.prototype;return e.formatWithSystemDefault=function(t,e){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(t,i({},this.opts,e)).format()},e.formatDateTime=function(t,e){return void 0===e&&(e={}),this.loc.dtFormatter(t,i({},this.opts,e)).format()},e.formatDateTimeParts=function(t,e){return void 0===e&&(e={}),this.loc.dtFormatter(t,i({},this.opts,e)).formatToParts()},e.resolvedOptions=function(t,e){return void 0===e&&(e={}),this.loc.dtFormatter(t,i({},this.opts,e)).resolvedOptions()},e.num=function(t,e){if(void 0===e&&(e=0),this.opts.forceSimple)return tt(t,e);var n=i({},this.opts);return e>0&&(n.padTo=e),this.loc.numberFormatter(n).format(t)},e.formatDateTimeFromString=function(e,n){var r=this,i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,u=function(t,n){return r.loc.extract(e,t,n)},o=function(t){return e.isOffsetFixed&&0===e.offset&&t.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,t.format):""},a=function(t,n){return i?function(t,e){return xt(e)[t.month-1]}(e,t):u(n?{month:t}:{month:t,day:"numeric"},"month")},c=function(t,n){return i?function(t,e){return Nt(e)[t.weekday-1]}(e,t):u(n?{weekday:t}:{weekday:t,month:"long",day:"numeric"},"weekday")},h=function(t){return i?function(t,e){return Ot(e)[t.year<0?0:1]}(e,t):u({era:t},"era")};return At(t.parseFormat(n),(function(n){switch(n){case"S":return r.num(e.millisecond);case"u":case"SSS":return r.num(e.millisecond,3);case"s":return r.num(e.second);case"ss":return r.num(e.second,2);case"uu":return r.num(Math.floor(e.millisecond/10),2);case"uuu":return r.num(Math.floor(e.millisecond/100));case"m":return r.num(e.minute);case"mm":return r.num(e.minute,2);case"h":return r.num(e.hour%12==0?12:e.hour%12);case"hh":return r.num(e.hour%12==0?12:e.hour%12,2);case"H":return r.num(e.hour);case"HH":return r.num(e.hour,2);case"Z":return o({format:"narrow",allowZ:r.opts.allowZ});case"ZZ":return o({format:"short",allowZ:r.opts.allowZ});case"ZZZ":return o({format:"techie",allowZ:r.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:r.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:r.loc.locale});case"z":return e.zoneName;case"a":return i?function(t){return Et[t.hour<12?0:1]}(e):u({hour:"numeric",hourCycle:"h12"},"dayperiod");case"d":return s?u({day:"numeric"},"day"):r.num(e.day);case"dd":return s?u({day:"2-digit"},"day"):r.num(e.day,2);case"c":return r.num(e.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"E":return r.num(e.weekday);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?u({month:"numeric",day:"numeric"},"month"):r.num(e.month);case"LL":return s?u({month:"2-digit",day:"numeric"},"month"):r.num(e.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?u({month:"numeric"},"month"):r.num(e.month);case"MM":return s?u({month:"2-digit"},"month"):r.num(e.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?u({year:"numeric"},"year"):r.num(e.year);case"yy":return s?u({year:"2-digit"},"year"):r.num(e.year.toString().slice(-2),2);case"yyyy":return s?u({year:"numeric"},"year"):r.num(e.year,4);case"yyyyyy":return s?u({year:"numeric"},"year"):r.num(e.year,6);case"G":return h("short");case"GG":return h("long");case"GGGGG":return h("narrow");case"kk":return r.num(e.weekYear.toString().slice(-2),2);case"kkkk":return r.num(e.weekYear,4);case"W":return r.num(e.weekNumber);case"WW":return r.num(e.weekNumber,2);case"o":return r.num(e.ordinal);case"ooo":return r.num(e.ordinal,3);case"q":return r.num(e.quarter);case"qq":return r.num(e.quarter,2);case"X":return r.num(Math.floor(e.ts/1e3));case"x":return r.num(e.ts);default:return function(n){var i=t.macroTokenToFormatOpts(n);return i?r.formatWithSystemDefault(e,i):n}(n)}}))},e.formatDurationFromString=function(e,n){var r,i=this,s=function(t){switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},u=t.parseFormat(n),o=u.reduce((function(t,e){return e.literal?t:t.concat(e.val)}),[]),a=e.shiftTo.apply(e,o.map(s).filter((function(t){return t})));return At(u,(r=a,function(t){var e=s(t);return e?i.num(r.get(e),t.length):t}))},t}(),_t=function(){function t(t,e){this.reason=t,this.explanation=e}return t.prototype.toMessage=function(){return this.explanation?this.reason+": "+this.explanation:this.reason},t}(),jt=function(){function t(){}var e=t.prototype;return e.offsetName=function(){throw new x},e.formatOffset=function(){throw new x},e.offset=function(){throw new x},e.equals=function(){throw new x},r(t,[{key:"type",get:function(){throw new x}},{key:"name",get:function(){throw new x}},{key:"ianaName",get:function(){return this.name}},{key:"isUniversal",get:function(){throw new x}},{key:"isValid",get:function(){throw new x}}]),t}(),Lt=null,zt=function(t){function e(){return t.apply(this,arguments)||this}s(e,t);var n=e.prototype;return n.offsetName=function(t,e){return dt(t,e.format,e.locale)},n.formatOffset=function(t,e){return mt(this.offset(t),e)},n.offset=function(t){return-new Date(t).getTimezoneOffset()},n.equals=function(t){return"system"===t.type},r(e,[{key:"type",get:function(){return"system"}},{key:"name",get:function(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}},{key:"isUniversal",get:function(){return!1}},{key:"isValid",get:function(){return!0}}],[{key:"instance",get:function(){return null===Lt&&(Lt=new e),Lt}}]),e}(jt),Ft={},Ht={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6},Wt={},qt=function(t){function e(n){var r;return(r=t.call(this)||this).zoneName=n,r.valid=e.isValidZone(n),r}s(e,t),e.create=function(t){return Wt[t]||(Wt[t]=new e(t)),Wt[t]},e.resetCache=function(){Wt={},Ft={}},e.isValidSpecifier=function(t){return this.isValidZone(t)},e.isValidZone=function(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}};var n=e.prototype;return n.offsetName=function(t,e){return dt(t,e.format,e.locale,this.name)},n.formatOffset=function(t,e){return mt(this.offset(t),e)},n.offset=function(t){var e=new Date(t);if(isNaN(e))return NaN;var n,r=(Ft[n=this.name]||(Ft[n]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:n,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Ft[n]),i=r.formatToParts?function(t,e){for(var n=t.formatToParts(e),r=[],i=0;i<n.length;i++){var s=n[i],u=s.type,o=s.value,a=Ht[u];"era"===u?r[a]=o:U(a)||(r[a]=parseInt(o,10))}return r}(r,e):function(t,e){var n=t.format(e).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n);return[r[3],r[1],r[2],r[4],r[5],r[6],r[7]]}(r,e),s=i[0],u=i[1],o=i[2],a=i[4],c=i[5],h=i[6];"BC"===i[3]&&(s=1-Math.abs(s));var d=+e,l=d%1e3;return(at({year:s,month:u,day:o,hour:24===a?0:a,minute:c,second:h,millisecond:0})-(d-=l>=0?l:1e3+l))/6e4},n.equals=function(t){return"iana"===t.type&&t.name===this.name},r(e,[{key:"type",get:function(){return"iana"}},{key:"name",get:function(){return this.zoneName}},{key:"isUniversal",get:function(){return!1}},{key:"isValid",get:function(){return this.valid}}]),e}(jt),Rt=null,Pt=function(t){function e(e){var n;return(n=t.call(this)||this).fixed=e,n}s(e,t),e.instance=function(t){return 0===t?e.utcInstance:new e(t)},e.parseSpecifier=function(t){if(t){var n=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new e(lt(n[1],n[2]))}return null};var n=e.prototype;return n.offsetName=function(){return this.name},n.formatOffset=function(t,e){return mt(this.fixed,e)},n.offset=function(){return this.fixed},n.equals=function(t){return"fixed"===t.type&&t.fixed===this.fixed},r(e,[{key:"type",get:function(){return"fixed"}},{key:"name",get:function(){return 0===this.fixed?"UTC":"UTC"+mt(this.fixed,"narrow")}},{key:"ianaName",get:function(){return 0===this.fixed?"Etc/UTC":"Etc/GMT"+mt(-this.fixed,"narrow")}},{key:"isUniversal",get:function(){return!0}},{key:"isValid",get:function(){return!0}}],[{key:"utcInstance",get:function(){return null===Rt&&(Rt=new e(0)),Rt}}]),e}(jt),Yt=function(t){function e(e){var n;return(n=t.call(this)||this).zoneName=e,n}s(e,t);var n=e.prototype;return n.offsetName=function(){return null},n.formatOffset=function(){return""},n.offset=function(){return NaN},n.equals=function(){return!1},r(e,[{key:"type",get:function(){return"invalid"}},{key:"name",get:function(){return this.zoneName}},{key:"isUniversal",get:function(){return!1}},{key:"isValid",get:function(){return!1}}]),e}(jt);function Gt(t,e){if(U(t)||null===t)return e;if(t instanceof jt)return t;if("string"==typeof t){var n=t.toLowerCase();return"default"===n?e:"local"===n||"system"===n?zt.instance:"utc"===n||"gmt"===n?Pt.utcInstance:Pt.parseSpecifier(n)||qt.create(t)}return $(t)?Pt.instance(t):"object"==typeof t&&t.offset&&"number"==typeof t.offset?t:new Yt(t)}var Jt,Ut=function(){return Date.now()},$t="system",Vt=null,Bt=null,Kt=null,Qt=function(){function t(){}return t.resetCaches=function(){de.resetCache(),qt.resetCache()},r(t,null,[{key:"now",get:function(){return Ut},set:function(t){Ut=t}},{key:"defaultZone",get:function(){return Gt($t,zt.instance)},set:function(t){$t=t}},{key:"defaultLocale",get:function(){return Vt},set:function(t){Vt=t}},{key:"defaultNumberingSystem",get:function(){return Bt},set:function(t){Bt=t}},{key:"defaultOutputCalendar",get:function(){return Kt},set:function(t){Kt=t}},{key:"throwOnInvalid",get:function(){return Jt},set:function(t){Jt=t}}]),t}(),Xt=["base"],te=["padTo","floor"],ee={},ne={};function re(t,e){void 0===e&&(e={});var n=JSON.stringify([t,e]),r=ne[n];return r||(r=new Intl.DateTimeFormat(t,e),ne[n]=r),r}var ie={},se={},ue=null;function oe(t,e,n,r,i){var s=t.listingMode(n);return"error"===s?null:"en"===s?r(e):i(e)}var ae=function(){function t(t,e,n){this.padTo=n.padTo||0,this.floor=n.floor||!1;var r=d(n,te);if(!e||Object.keys(r).length>0){var s=i({useGrouping:!1},n);n.padTo>0&&(s.minimumIntegerDigits=n.padTo),this.inf=function(t,e){void 0===e&&(e={});var n=JSON.stringify([t,e]),r=ie[n];return r||(r=new Intl.NumberFormat(t,e),ie[n]=r),r}(t,s)}}return t.prototype.format=function(t){if(this.inf){var e=this.floor?Math.floor(t):t;return this.inf.format(e)}return tt(this.floor?Math.floor(t):it(t,3),this.padTo)},t}(),ce=function(){function t(t,e,n){var r;if(this.opts=n,t.zone.isUniversal){var s=t.offset/60*-1,u=s>=0?"Etc/GMT+"+s:"Etc/GMT"+s;0!==t.offset&&qt.create(u).valid?(r=u,this.dt=t):(r="UTC",this.dt=n.timeZoneName||0===t.offset?t:hr.fromMillis(t.ts+60*t.offset*1e3))}else"system"===t.zone.type?this.dt=t:(this.dt=t,r=t.zone.name);var o=i({},this.opts);r&&(o.timeZone=r),this.dtf=re(e,o)}var e=t.prototype;return e.format=function(){return this.dtf.format(this.dt.toJSDate())},e.formatToParts=function(){return this.dtf.formatToParts(this.dt.toJSDate())},e.resolvedOptions=function(){return this.dtf.resolvedOptions()},t}(),he=function(){function t(t,e,n){this.opts=i({style:"long"},n),!e&&B()&&(this.rtf=function(t,e){void 0===e&&(e={});var n=d(e,Xt),r=JSON.stringify([t,n]),i=se[r];return i||(i=new Intl.RelativeTimeFormat(t,e),se[r]=i),i}(t,n))}var e=t.prototype;return e.format=function(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,n,r){void 0===n&&(n="always"),void 0===r&&(r=!1);var i={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},s=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===n&&s){var u="days"===t;switch(e){case 1:return u?"tomorrow":"next "+i[t][0];case-1:return u?"yesterday":"last "+i[t][0];case 0:return u?"today":"this "+i[t][0]}}var o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,h=i[t],d=r?c?h[1]:h[2]||h[1]:c?i[t][0]:t;return o?a+" "+d+" ago":"in "+a+" "+d}(e,t,this.opts.numeric,"long"!==this.opts.style)},e.formatToParts=function(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]},t}(),de=function(){function t(t,e,n,r){var i=function(t){var e=t.indexOf("-u-");if(-1===e)return[t];var n,r=t.substring(0,e);try{n=re(t).resolvedOptions()}catch(t){n=re(r).resolvedOptions()}return[r,n.numberingSystem,n.calendar]}(t),s=i[1],u=i[2];this.locale=i[0],this.numberingSystem=e||s||null,this.outputCalendar=n||u||null,this.intl=function(t,e,n){return n||e?(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}t.fromOpts=function(e){return t.create(e.locale,e.numberingSystem,e.outputCalendar,e.defaultToEN)},t.create=function(e,n,r,i){void 0===i&&(i=!1);var s=e||Qt.defaultLocale;return new t(s||(i?"en-US":ue||(ue=(new Intl.DateTimeFormat).resolvedOptions().locale)),n||Qt.defaultNumberingSystem,r||Qt.defaultOutputCalendar,s)},t.resetCache=function(){ue=null,ne={},ie={},se={}},t.fromObject=function(e){var n=void 0===e?{}:e;return t.create(n.locale,n.numberingSystem,n.outputCalendar)};var e=t.prototype;return e.listingMode=function(){return this.isEnglish()&&!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar)?"en":"intl"},e.clone=function(e){return e&&0!==Object.getOwnPropertyNames(e).length?t.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,e.defaultToEN||!1):this},e.redefaultToEN=function(t){return void 0===t&&(t={}),this.clone(i({},t,{defaultToEN:!0}))},e.redefaultToSystem=function(t){return void 0===t&&(t={}),this.clone(i({},t,{defaultToEN:!1}))},e.months=function(t,e,n){var r=this;return void 0===e&&(e=!1),void 0===n&&(n=!0),oe(this,t,n,xt,(function(){var n=e?{month:t,day:"numeric"}:{month:t},i=e?"format":"standalone";return r.monthsCache[i][t]||(r.monthsCache[i][t]=function(t){for(var e=[],n=1;n<=12;n++){var r=hr.utc(2016,n,1);e.push(t(r))}return e}((function(t){return r.extract(t,n,"month")}))),r.monthsCache[i][t]}))},e.weekdays=function(t,e,n){var r=this;return void 0===e&&(e=!1),void 0===n&&(n=!0),oe(this,t,n,Nt,(function(){var n=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},i=e?"format":"standalone";return r.weekdaysCache[i][t]||(r.weekdaysCache[i][t]=function(t){for(var e=[],n=1;n<=7;n++){var r=hr.utc(2016,11,13+n);e.push(t(r))}return e}((function(t){return r.extract(t,n,"weekday")}))),r.weekdaysCache[i][t]}))},e.meridiems=function(t){var e=this;return void 0===t&&(t=!0),oe(this,void 0,t,(function(){return Et}),(function(){if(!e.meridiemCache){var t={hour:"numeric",hourCycle:"h12"};e.meridiemCache=[hr.utc(2016,11,13,9),hr.utc(2016,11,13,19)].map((function(n){return e.extract(n,t,"dayperiod")}))}return e.meridiemCache}))},e.eras=function(t,e){var n=this;return void 0===e&&(e=!0),oe(this,t,e,Ot,(function(){var e={era:t};return n.eraCache[t]||(n.eraCache[t]=[hr.utc(-40,1,1),hr.utc(2017,1,1)].map((function(t){return n.extract(t,e,"era")}))),n.eraCache[t]}))},e.extract=function(t,e,n){var r=this.dtFormatter(t,e).formatToParts().find((function(t){return t.type.toLowerCase()===n}));return r?r.value:null},e.numberFormatter=function(t){return void 0===t&&(t={}),new ae(this.intl,t.forceSimple||this.fastNumbers,t)},e.dtFormatter=function(t,e){return void 0===e&&(e={}),new ce(t,this.intl,e)},e.relFormatter=function(t){return void 0===t&&(t={}),new he(this.intl,this.isEnglish(),t)},e.listFormatter=function(t){return void 0===t&&(t={}),function(t,e){void 0===e&&(e={});var n=JSON.stringify([t,e]),r=ee[n];return r||(r=new Intl.ListFormat(t,e),ee[n]=r),r}(this.intl,t)},e.isEnglish=function(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")},e.equals=function(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar},r(t,[{key:"fastNumbers",get:function(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}}]),t}();function le(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e.reduce((function(t,e){return t+e.source}),"");return RegExp("^"+r+"$")}function fe(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return e.reduce((function(e,n){var r=e[0],s=e[1],u=n(t,e[2]),o=u[1],a=u[2];return[i({},r,u[0]),o||s,a]}),[{},null,1]).slice(0,2)}}function ve(t){if(null==t)return[null,null];for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];for(var i=0,s=n;i<s.length;i++){var u=s[i],o=u[0],a=u[1],c=o.exec(t);if(c)return a(c)}return[null,null]}function me(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t,n){var r,i={};for(r=0;r<e.length;r++)i[e[r]]=et(t[n+r]);return[i,null,n+r]}}var ye=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,ke=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,pe=RegExp(ke.source+("(?:"+ye.source+"?(?:\\[("+kt.source+")\\])?)?")),ge=RegExp("(?:T"+pe.source+")?"),we=me("weekYear","weekNumber","weekDay"),xe=me("year","ordinal"),be=RegExp(ke.source+" ?(?:"+ye.source+"|("+kt.source+"))?"),Me=RegExp("(?: "+be.source+")?");function Te(t,e,n){var r=t[e];return U(r)?n:et(r)}function Ne(t,e){return[{hours:Te(t,e,0),minutes:Te(t,e+1,0),seconds:Te(t,e+2,0),milliseconds:rt(t[e+3])},null,e+4]}function Ee(t,e){var n=!t[e]&&!t[e+1],r=lt(t[e+1],t[e+2]);return[{},n?null:Pt.instance(r),e+3]}function Se(t,e){return[{},t[e]?qt.create(t[e]):null,e+1]}var De=RegExp("^T?"+ke.source+"$"),Ie=/^-?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 Oe(t){var e=t[2],n=t[3],r=t[4],i=t[5],s=t[6],u=t[7],o=t[8],a="-"===t[0][0],c=u&&"-"===u[0],h=function(t,e){return void 0===e&&(e=!1),void 0!==t&&(e||t&&a)?-t:t};return[{years:h(nt(t[1])),months:h(nt(e)),weeks:h(nt(n)),days:h(nt(r)),hours:h(nt(i)),minutes:h(nt(s)),seconds:h(nt(u),"-0"===u),milliseconds:h(rt(o),c)}]}var Ae={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ce(t,e,n,r,i,s,u){var o={year:2===e.length?ht(et(e)):et(e),month:gt.indexOf(n)+1,day:et(r),hour:et(i),minute:et(s)};return u&&(o.second=et(u)),t&&(o.weekday=t.length>3?bt.indexOf(t)+1:Mt.indexOf(t)+1),o}var Ze=/^(?:(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 _e(t){var e,n=t[8],r=t[9],i=t[10],s=t[11],u=Ce(t[1],t[4],t[3],t[2],t[5],t[6],t[7]);return e=n?Ae[n]:r?0:lt(i,s),[u,new Pt(e)]}var je=/^(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$/,Le=/^(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$/,ze=/^(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 Fe(t){return[Ce(t[1],t[4],t[3],t[2],t[5],t[6],t[7]),Pt.utcInstance]}function He(t){return[Ce(t[1],t[7],t[2],t[3],t[4],t[5],t[6]),Pt.utcInstance]}var We=le(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,ge),qe=le(/(\d{4})-?W(\d\d)(?:-?(\d))?/,ge),Re=le(/(\d{4})-?(\d{3})/,ge),Pe=le(pe),Ye=fe((function(t,e){return[{year:Te(t,e),month:Te(t,e+1,1),day:Te(t,e+2,1)},null,e+3]}),Ne,Ee,Se),Ge=fe(we,Ne,Ee,Se),Je=fe(xe,Ne,Ee,Se),Ue=fe(Ne,Ee,Se),$e=fe(Ne),Ve=le(/(\d{4})-(\d\d)-(\d\d)/,Me),Be=le(be),Ke=fe(Ne,Ee,Se),Qe={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}},Xe=i({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}},Qe),tn=i({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}},Qe),en=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],nn=en.slice(0).reverse();function rn(t,e,n){void 0===n&&(n=!1);var r={values:n?e.values:i({},t.values,e.values||{}),loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new un(r)}function sn(t,e,n,r,i){var s=t[i][n],u=e[n]/s,o=Math.sign(u)!==Math.sign(r[i])&&0!==r[i]&&Math.abs(u)<=1?function(t){return t<0?Math.floor(t):Math.ceil(t)}(u):Math.trunc(u);r[i]+=o,e[n]-=o*s}var un=function(){function t(t){var e="longterm"===t.conversionAccuracy||!1,n=e?tn:Xe;t.matrix&&(n=t.matrix),this.values=t.values,this.loc=t.loc||de.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=n,this.isLuxonDuration=!0}t.fromMillis=function(e,n){return t.fromObject({milliseconds:e},n)},t.fromObject=function(e,n){if(void 0===n&&(n={}),null==e||"object"!=typeof e)throw new w("Duration.fromObject: argument expected to be an object, got "+(null===e?"null":typeof e));return new t({values:vt(e,t.normalizeUnit),loc:de.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})},t.fromDurationLike=function(e){if($(e))return t.fromMillis(e);if(t.isDuration(e))return e;if("object"==typeof e)return t.fromObject(e);throw new w("Unknown duration argument "+e+" of type "+typeof e)},t.fromISO=function(e,n){var r=function(t){return ve(t,[Ie,Oe])}(e)[0];return r?t.fromObject(r,n):t.invalid("unparsable",'the input "'+e+"\" can't be parsed as ISO 8601")},t.fromISOTime=function(e,n){var r=function(t){return ve(t,[De,$e])}(e)[0];return r?t.fromObject(r,n):t.invalid("unparsable",'the input "'+e+"\" can't be parsed as ISO 8601")},t.invalid=function(e,n){if(void 0===n&&(n=null),!e)throw new w("need to specify a reason the Duration is invalid");var r=e instanceof _t?e:new _t(e,n);if(Qt.throwOnInvalid)throw new k(r);return new t({invalid:r})},t.normalizeUnit=function(t){var 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 g(t);return e},t.isDuration=function(t){return t&&t.isLuxonDuration||!1};var e=t.prototype;return e.toFormat=function(t,e){void 0===e&&(e={});var n=i({},e,{floor:!1!==e.round&&!1!==e.floor});return this.isValid?Zt.create(this.loc,n).formatDurationFromString(this,t):"Invalid Duration"},e.toHuman=function(t){var e=this;void 0===t&&(t={});var n=en.map((function(n){var r=e.values[n];return U(r)?null:e.loc.numberFormatter(i({style:"unit",unitDisplay:"long"},t,{unit:n.slice(0,-1)})).format(r)})).filter((function(t){return t}));return this.loc.listFormatter(i({type:"conjunction",style:t.listStyle||"narrow"},t)).format(n)},e.toObject=function(){return this.isValid?i({},this.values):{}},e.toISO=function(){if(!this.isValid)return null;var 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+=it(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t},e.toISOTime=function(t){if(void 0===t&&(t={}),!this.isValid)return null;var e=this.toMillis();if(e<0||e>=864e5)return null;t=i({suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended"},t);var n=this.shiftTo("hours","minutes","seconds","milliseconds"),r="basic"===t.format?"hhmm":"hh:mm";t.suppressSeconds&&0===n.seconds&&0===n.milliseconds||(r+="basic"===t.format?"ss":":ss",t.suppressMilliseconds&&0===n.milliseconds||(r+=".SSS"));var s=n.toFormat(r);return t.includePrefix&&(s="T"+s),s},e.toJSON=function(){return this.toISO()},e.toString=function(){return this.toISO()},e.toMillis=function(){return this.as("milliseconds")},e.valueOf=function(){return this.toMillis()},e.plus=function(e){if(!this.isValid)return this;for(var n,r=t.fromDurationLike(e),i={},s=f(en);!(n=s()).done;){var u=n.value;(Q(r.values,u)||Q(this.values,u))&&(i[u]=r.get(u)+this.get(u))}return rn(this,{values:i},!0)},e.minus=function(e){if(!this.isValid)return this;var n=t.fromDurationLike(e);return this.plus(n.negate())},e.mapUnits=function(t){if(!this.isValid)return this;for(var e={},n=0,r=Object.keys(this.values);n<r.length;n++){var i=r[n];e[i]=ft(t(this.values[i],i))}return rn(this,{values:e},!0)},e.get=function(e){return this[t.normalizeUnit(e)]},e.set=function(e){return this.isValid?rn(this,{values:i({},this.values,vt(e,t.normalizeUnit))}):this},e.reconfigure=function(t){var e=void 0===t?{}:t,n=e.conversionAccuracy,r=e.matrix;return rn(this,{loc:this.loc.clone({locale:e.locale,numberingSystem:e.numberingSystem}),matrix:r,conversionAccuracy:n})},e.as=function(t){return this.isValid?this.shiftTo(t).get(t):NaN},e.normalize=function(){if(!this.isValid)return this;var t=this.toObject();return function(t,e){nn.reduce((function(n,r){return U(e[r])?n:(n&&sn(t,e,n,e,r),r)}),null)}(this.matrix,t),rn(this,{values:t},!0)},e.shiftTo=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];if(!this.isValid)return this;if(0===n.length)return this;n=n.map((function(e){return t.normalizeUnit(e)}));for(var i,s,u={},o={},a=this.toObject(),c=f(en);!(s=c()).done;){var h=s.value;if(n.indexOf(h)>=0){i=h;var d=0;for(var l in o)d+=this.matrix[l][h]*o[l],o[l]=0;$(a[h])&&(d+=a[h]);var v=Math.trunc(d);for(var m in u[h]=v,o[h]=(1e3*d-1e3*v)/1e3,a)en.indexOf(m)>en.indexOf(h)&&sn(this.matrix,a,m,u,h)}else $(a[h])&&(o[h]=a[h])}for(var y in o)0!==o[y]&&(u[i]+=y===i?o[y]:o[y]/this.matrix[i][y]);return rn(this,{values:u},!0).normalize()},e.negate=function(){if(!this.isValid)return this;for(var t={},e=0,n=Object.keys(this.values);e<n.length;e++){var r=n[e];t[r]=0===this.values[r]?0:-this.values[r]}return rn(this,{values:t},!0)},e.equals=function(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(var e,n=f(en);!(e=n()).done;){var r=e.value;if(s=t.values[r],!(void 0===(i=this.values[r])||0===i?void 0===s||0===s:i===s))return!1}var i,s;return!0},r(t,[{key:"locale",get:function(){return this.isValid?this.loc.locale:null}},{key:"numberingSystem",get:function(){return this.isValid?this.loc.numberingSystem:null}},{key:"years",get:function(){return this.isValid?this.values.years||0:NaN}},{key:"quarters",get:function(){return this.isValid?this.values.quarters||0:NaN}},{key:"months",get:function(){return this.isValid?this.values.months||0:NaN}},{key:"weeks",get:function(){return this.isValid?this.values.weeks||0:NaN}},{key:"days",get:function(){return this.isValid?this.values.days||0:NaN}},{key:"hours",get:function(){return this.isValid?this.values.hours||0:NaN}},{key:"minutes",get:function(){return this.isValid?this.values.minutes||0:NaN}},{key:"seconds",get:function(){return this.isValid?this.values.seconds||0:NaN}},{key:"milliseconds",get:function(){return this.isValid?this.values.milliseconds||0:NaN}},{key:"isValid",get:function(){return null===this.invalid}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}}]),t}(),on="Invalid Interval";function an(t,e){return t&&t.isValid?e&&e.isValid?e<t?cn.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:cn.invalid("missing or invalid end"):cn.invalid("missing or invalid start")}var cn=function(){function t(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}t.invalid=function(e,n){if(void 0===n&&(n=null),!e)throw new w("need to specify a reason the Interval is invalid");var r=e instanceof _t?e:new _t(e,n);if(Qt.throwOnInvalid)throw new y(r);return new t({invalid:r})},t.fromDateTimes=function(e,n){var r=dr(e),i=dr(n),s=an(r,i);return null==s?new t({start:r,end:i}):s},t.after=function(e,n){var r=un.fromDurationLike(n),i=dr(e);return t.fromDateTimes(i,i.plus(r))},t.before=function(e,n){var r=un.fromDurationLike(n),i=dr(e);return t.fromDateTimes(i.minus(r),i)},t.fromISO=function(e,n){var r=(e||"").split("/",2),i=r[0],s=r[1];if(i&&s){var u,o,a,c;try{o=(u=hr.fromISO(i,n)).isValid}catch(s){o=!1}try{c=(a=hr.fromISO(s,n)).isValid}catch(s){c=!1}if(o&&c)return t.fromDateTimes(u,a);if(o){var h=un.fromISO(s,n);if(h.isValid)return t.after(u,h)}else if(c){var d=un.fromISO(i,n);if(d.isValid)return t.before(a,d)}}return t.invalid("unparsable",'the input "'+e+"\" can't be parsed as ISO 8601")},t.isInterval=function(t){return t&&t.isLuxonInterval||!1};var e=t.prototype;return e.length=function(t){return void 0===t&&(t="milliseconds"),this.isValid?this.toDuration.apply(this,[t]).get(t):NaN},e.count=function(t){if(void 0===t&&(t="milliseconds"),!this.isValid)return NaN;var e=this.start.startOf(t),n=this.end.startOf(t);return Math.floor(n.diff(e,t).get(t))+1},e.hasSame=function(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))},e.isEmpty=function(){return this.s.valueOf()===this.e.valueOf()},e.isAfter=function(t){return!!this.isValid&&this.s>t},e.isBefore=function(t){return!!this.isValid&&this.e<=t},e.contains=function(t){return!!this.isValid&&this.s<=t&&this.e>t},e.set=function(e){var n=void 0===e?{}:e;return this.isValid?t.fromDateTimes(n.start||this.s,n.end||this.e):this},e.splitAt=function(){var e=this;if(!this.isValid)return[];for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];for(var s=r.map(dr).filter((function(t){return e.contains(t)})).sort(),u=[],o=this.s,a=0;o<this.e;){var c=s[a]||this.e,h=+c>+this.e?this.e:c;u.push(t.fromDateTimes(o,h)),o=h,a+=1}return u},e.splitBy=function(e){var n=un.fromDurationLike(e);if(!this.isValid||!n.isValid||0===n.as("milliseconds"))return[];for(var r,i=this.s,s=1,u=[];i<this.e;){var o=this.start.plus(n.mapUnits((function(t){return t*s})));u.push(t.fromDateTimes(i,r=+o>+this.e?this.e:o)),i=r,s+=1}return u},e.divideEqually=function(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]},e.overlaps=function(t){return this.e>t.s&&this.s<t.e},e.abutsStart=function(t){return!!this.isValid&&+this.e==+t.s},e.abutsEnd=function(t){return!!this.isValid&&+t.e==+this.s},e.engulfs=function(t){return!!this.isValid&&this.s<=t.s&&this.e>=t.e},e.equals=function(t){return!(!this.isValid||!t.isValid)&&this.s.equals(t.s)&&this.e.equals(t.e)},e.intersection=function(e){if(!this.isValid)return this;var n=this.s>e.s?this.s:e.s,r=this.e<e.e?this.e:e.e;return n>=r?null:t.fromDateTimes(n,r)},e.union=function(e){return this.isValid?t.fromDateTimes(this.s<e.s?this.s:e.s,this.e>e.e?this.e:e.e):this},t.merge=function(t){var e=t.sort((function(t,e){return t.s-e.s})).reduce((function(t,e){var n=t[0],r=t[1];return r?r.overlaps(e)||r.abutsStart(e)?[n,r.union(e)]:[n.concat([r]),e]:[n,e]}),[[],null]),n=e[0],r=e[1];return r&&n.push(r),n},t.xor=function(e){for(var n,r,i=null,s=0,u=[],o=e.map((function(t){return[{time:t.s,type:"s"},{time:t.e,type:"e"}]})),a=f((n=Array.prototype).concat.apply(n,o).sort((function(t,e){return t.time-e.time})));!(r=a()).done;){var c=r.value;1===(s+="s"===c.type?1:-1)?i=c.time:(i&&+i!=+c.time&&u.push(t.fromDateTimes(i,c.time)),i=null)}return t.merge(u)},e.difference=function(){for(var e=this,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return t.xor([this].concat(r)).map((function(t){return e.intersection(t)})).filter((function(t){return t&&!t.isEmpty()}))},e.toString=function(){return this.isValid?"["+this.s.toISO()+" – "+this.e.toISO()+")":on},e.toISO=function(t){return this.isValid?this.s.toISO(t)+"/"+this.e.toISO(t):on},e.toISODate=function(){return this.isValid?this.s.toISODate()+"/"+this.e.toISODate():on},e.toISOTime=function(t){return this.isValid?this.s.toISOTime(t)+"/"+this.e.toISOTime(t):on},e.toFormat=function(t,e){var n=(void 0===e?{}:e).separator,r=void 0===n?" – ":n;return this.isValid?""+this.s.toFormat(t)+r+this.e.toFormat(t):on},e.toDuration=function(t,e){return this.isValid?this.e.diff(this.s,t,e):un.invalid(this.invalidReason)},e.mapEndpoints=function(e){return t.fromDateTimes(e(this.s),e(this.e))},r(t,[{key:"start",get:function(){return this.isValid?this.s:null}},{key:"end",get:function(){return this.isValid?this.e:null}},{key:"isValid",get:function(){return null===this.invalidReason}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}}]),t}(),hn=function(){function t(){}return t.hasDST=function(t){void 0===t&&(t=Qt.defaultZone);var e=hr.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset},t.isValidIANAZone=function(t){return qt.isValidZone(t)},t.normalizeZone=function(t){return Gt(t,Qt.defaultZone)},t.months=function(t,e){void 0===t&&(t="long");var n=void 0===e?{}:e,r=n.locale,i=n.numberingSystem,s=n.locObj,u=n.outputCalendar;return((void 0===s?null:s)||de.create(void 0===r?null:r,void 0===i?null:i,void 0===u?"gregory":u)).months(t)},t.monthsFormat=function(t,e){void 0===t&&(t="long");var n=void 0===e?{}:e,r=n.locale,i=n.numberingSystem,s=n.locObj,u=n.outputCalendar;return((void 0===s?null:s)||de.create(void 0===r?null:r,void 0===i?null:i,void 0===u?"gregory":u)).months(t,!0)},t.weekdays=function(t,e){void 0===t&&(t="long");var n=void 0===e?{}:e,r=n.locale,i=n.numberingSystem,s=n.locObj;return((void 0===s?null:s)||de.create(void 0===r?null:r,void 0===i?null:i,null)).weekdays(t)},t.weekdaysFormat=function(t,e){void 0===t&&(t="long");var n=void 0===e?{}:e,r=n.locale,i=n.numberingSystem,s=n.locObj;return((void 0===s?null:s)||de.create(void 0===r?null:r,void 0===i?null:i,null)).weekdays(t,!0)},t.meridiems=function(t){var e=(void 0===t?{}:t).locale;return de.create(void 0===e?null:e).meridiems()},t.eras=function(t,e){void 0===t&&(t="short");var n=(void 0===e?{}:e).locale;return de.create(void 0===n?null:n,null,"gregory").eras(t)},t.features=function(){return{relative:B()}},t}();function dn(t,e){var n=function(t){return t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf()},r=n(e)-n(t);return Math.floor(un.fromMillis(r).as("days"))}var ln={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},fn={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]},vn=ln.hanidec.replace(/[\[|\]]/g,"").split("");function mn(t,e){return void 0===e&&(e=""),new RegExp(""+ln[t.numberingSystem||"latn"]+e)}function yn(t,e){return void 0===e&&(e=function(t){return t}),{regex:t,deser:function(t){return e(function(t){var e=parseInt(t,10);if(isNaN(e)){e="";for(var n=0;n<t.length;n++){var r=t.charCodeAt(n);if(-1!==t[n].search(ln.hanidec))e+=vn.indexOf(t[n]);else for(var i in fn){var s=fn[i],u=s[0];r>=u&&r<=s[1]&&(e+=r-u)}}return parseInt(e,10)}return e}(t[0]))}}}var kn="[ "+String.fromCharCode(160)+"]",pn=new RegExp(kn,"g");function gn(t){return t.replace(/\./g,"\\.?").replace(pn,kn)}function wn(t){return t.replace(/\./g,"").replace(pn," ").toLowerCase()}function xn(t,e){return null===t?null:{regex:RegExp(t.map(gn).join("|")),deser:function(n){var r=n[0];return t.findIndex((function(t){return wn(r)===wn(t)}))+e}}}function bn(t,e){return{regex:t,deser:function(t){return lt(t[1],t[2])},groups:e}}function Mn(t){return{regex:t,deser:function(t){return t[0]}}}var Tn={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",hour:{numeric:"h","2-digit":"hh"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}},Nn=null;function En(t,e){var n;return(n=Array.prototype).concat.apply(n,t.map((function(t){return function(t,e){if(t.literal)return t;var n=Dn(Zt.macroTokenToFormatOpts(t.val),e);return null==n||n.includes(void 0)?t:n}(t,e)})))}function Sn(t,e,n){var r=En(Zt.parseFormat(n),t),i=r.map((function(e){return n=e,i=mn(r=t),s=mn(r,"{2}"),u=mn(r,"{3}"),o=mn(r,"{4}"),a=mn(r,"{6}"),c=mn(r,"{1,2}"),h=mn(r,"{1,3}"),d=mn(r,"{1,6}"),l=mn(r,"{1,9}"),f=mn(r,"{2,4}"),v=mn(r,"{4,6}"),m=function(t){return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:function(t){return t[0]},literal:!0};var e},(y=function(t){if(n.literal)return m(t);switch(t.val){case"G":return xn(r.eras("short",!1),0);case"GG":return xn(r.eras("long",!1),0);case"y":return yn(d);case"yy":return yn(f,ht);case"yyyy":return yn(o);case"yyyyy":return yn(v);case"yyyyyy":return yn(a);case"M":return yn(c);case"MM":return yn(s);case"MMM":return xn(r.months("short",!0,!1),1);case"MMMM":return xn(r.months("long",!0,!1),1);case"L":return yn(c);case"LL":return yn(s);case"LLL":return xn(r.months("short",!1,!1),1);case"LLLL":return xn(r.months("long",!1,!1),1);case"d":return yn(c);case"dd":return yn(s);case"o":return yn(h);case"ooo":return yn(u);case"HH":return yn(s);case"H":return yn(c);case"hh":return yn(s);case"h":return yn(c);case"mm":return yn(s);case"m":case"q":return yn(c);case"qq":return yn(s);case"s":return yn(c);case"ss":return yn(s);case"S":return yn(h);case"SSS":return yn(u);case"u":return Mn(l);case"uu":return Mn(c);case"uuu":return yn(i);case"a":return xn(r.meridiems(),0);case"kkkk":return yn(o);case"kk":return yn(f,ht);case"W":return yn(c);case"WW":return yn(s);case"E":case"c":return yn(i);case"EEE":return xn(r.weekdays("short",!1,!1),1);case"EEEE":return xn(r.weekdays("long",!1,!1),1);case"ccc":return xn(r.weekdays("short",!0,!1),1);case"cccc":return xn(r.weekdays("long",!0,!1),1);case"Z":case"ZZ":return bn(new RegExp("([+-]"+c.source+")(?::("+s.source+"))?"),2);case"ZZZ":return bn(new RegExp("([+-]"+c.source+")("+s.source+")?"),2);case"z":return Mn(/[a-z_+-/]{1,256}?/i);default:return m(t)}}(n)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"}).token=n,y;var n,r,i,s,u,o,a,c,h,d,l,f,v,m,y})),s=i.find((function(t){return t.invalidReason}));if(s)return{input:e,tokens:r,invalidReason:s.invalidReason};var u=function(t){return["^"+t.map((function(t){return t.regex})).reduce((function(t,e){return t+"("+e.source+")"}),"")+"$",t]}(i),o=u[1],a=RegExp(u[0],"i"),c=function(t,e,n){var r=t.match(e);if(r){var i={},s=1;for(var u in n)if(Q(n,u)){var o=n[u],a=o.groups?o.groups+1:1;!o.literal&&o.token&&(i[o.token.val[0]]=o.deser(r.slice(s,s+a))),s+=a}return[r,i]}return[r,{}]}(e,a,o),h=c[0],d=c[1],l=d?function(t){var e,n=null;return U(t.z)||(n=qt.create(t.z)),U(t.Z)||(n||(n=new Pt(t.Z)),e=t.Z),U(t.q)||(t.M=3*(t.q-1)+1),U(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),U(t.u)||(t.S=rt(t.u)),[Object.keys(t).reduce((function(e,n){var r=function(t){switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}}(n);return r&&(e[r]=t[n]),e}),{}),n,e]}(d):[null,null,void 0],f=l[0],v=l[1],m=l[2];if(Q(d,"a")&&Q(d,"H"))throw new p("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:r,regex:a,rawMatches:h,matches:d,result:f,zone:v,specificOffset:m}}function Dn(t,e){return t?Zt.create(e,t).formatDateTimeParts((Nn||(Nn=hr.fromMillis(1555555555555)),Nn)).map((function(e){return function(t,e,n){var r=t.type;if("literal"===r)return{literal:!0,val:t.value};var i=Tn[r];return"object"==typeof i&&(i=i[n[r]]),i?{literal:!1,val:i}:void 0}(e,0,t)})):null}var In=[0,31,59,90,120,151,181,212,243,273,304,334],On=[0,31,60,91,121,152,182,213,244,274,305,335];function An(t,e){return new _t("unit out of range","you specified "+e+" (of type "+typeof e+") as a "+t+", which is invalid")}function Cn(t,e,n){var r=new Date(Date.UTC(t,e-1,n));t<100&&t>=0&&r.setUTCFullYear(r.getUTCFullYear()-1900);var i=r.getUTCDay();return 0===i?7:i}function Zn(t,e,n){return n+(st(t)?On:In)[e-1]}function _n(t,e){var n=st(t)?On:In,r=n.findIndex((function(t){return t<e}));return{month:r+1,day:e-n[r]}}function jn(t){var e,n=t.year,r=t.month,s=t.day,u=Zn(n,r,s),o=Cn(n,r,s),a=Math.floor((u-o+10)/7);return a<1?a=ct(e=n-1):a>ct(n)?(e=n+1,a=1):e=n,i({weekYear:e,weekNumber:a,weekday:o},yt(t))}function Ln(t){var e,n=t.weekYear,r=t.weekNumber,s=t.weekday,u=Cn(n,1,4),o=ut(n),a=7*r+s-u-3;a<1?a+=ut(e=n-1):a>o?(e=n+1,a-=ut(n)):e=n;var c=_n(e,a);return i({year:e,month:c.month,day:c.day},yt(t))}function zn(t){var e=t.year;return i({year:e,ordinal:Zn(e,t.month,t.day)},yt(t))}function Fn(t){var e=t.year,n=_n(e,t.ordinal);return i({year:e,month:n.month,day:n.day},yt(t))}function Hn(t){var e=V(t.year),n=X(t.month,1,12),r=X(t.day,1,ot(t.year,t.month));return e?n?!r&&An("day",t.day):An("month",t.month):An("year",t.year)}function Wn(t){var e=t.hour,n=t.minute,r=t.second,i=t.millisecond,s=X(e,0,23)||24===e&&0===n&&0===r&&0===i,u=X(n,0,59),o=X(r,0,59),a=X(i,0,999);return s?u?o?!a&&An("millisecond",i):An("second",r):An("minute",n):An("hour",e)}var qn="Invalid DateTime",Rn=864e13;function Pn(t){return new _t("unsupported zone",'the zone "'+t.name+'" is not supported')}function Yn(t){return null===t.weekData&&(t.weekData=jn(t.c)),t.weekData}function Gn(t,e){var n={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new hr(i({},n,e,{old:n}))}function Jn(t,e,n){var r=t-60*e*1e3,i=n.offset(r);if(e===i)return[r,e];var s=n.offset(r-=60*(i-e)*1e3);return i===s?[r,i]:[t-60*Math.min(i,s)*1e3,Math.max(i,s)]}function Un(t,e){var 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 $n(t,e,n){return Jn(at(t),e,n)}function Vn(t,e){var n=t.o,r=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),u=i({},t.c,{year:r,month:s,day:Math.min(t.c.day,ot(r,s))+Math.trunc(e.days)+7*Math.trunc(e.weeks)}),o=un.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"),a=Jn(at(u),n,t.zone),c=a[0],h=a[1];return 0!==o&&(h=t.zone.offset(c+=o)),{ts:c,o:h}}function Bn(t,e,n,r,s,u){var o=n.setZone,a=n.zone;if(t&&0!==Object.keys(t).length){var c=hr.fromObject(t,i({},n,{zone:e||a,specificOffset:u}));return o?c:c.setZone(a)}return hr.invalid(new _t("unparsable",'the input "'+s+"\" can't be parsed as "+r))}function Kn(t,e,n){return void 0===n&&(n=!0),t.isValid?Zt.create(de.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Qn(t,e){var n=t.c.year>9999||t.c.year<0,r="";return n&&t.c.year>=0&&(r+="+"),r+=tt(t.c.year,n?6:4),e?(r+="-",r+=tt(t.c.month),r+="-",r+=tt(t.c.day)):(r+=tt(t.c.month),r+=tt(t.c.day)),r}function Xn(t,e,n,r,i,s){var u=tt(t.c.hour);return e?(u+=":",u+=tt(t.c.minute),0===t.c.second&&n||(u+=":")):u+=tt(t.c.minute),0===t.c.second&&n||(u+=tt(t.c.second),0===t.c.millisecond&&r||(u+=".",u+=tt(t.c.millisecond,3))),i&&(t.isOffsetFixed&&0===t.offset&&!s?u+="Z":t.o<0?(u+="-",u+=tt(Math.trunc(-t.o/60)),u+=":",u+=tt(Math.trunc(-t.o%60))):(u+="+",u+=tt(Math.trunc(t.o/60)),u+=":",u+=tt(Math.trunc(t.o%60)))),s&&(u+="["+t.zone.ianaName+"]"),u}var tr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},er={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},nr={ordinal:1,hour:0,minute:0,second:0,millisecond:0},rr=["year","month","day","hour","minute","second","millisecond"],ir=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],sr=["year","ordinal","hour","minute","second","millisecond"];function ur(t){var 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 g(t);return e}function or(t,e){var n,r,i=Gt(e.zone,Qt.defaultZone),s=de.fromObject(e),u=Qt.now();if(U(t.year))n=u;else{for(var o,a=f(rr);!(o=a()).done;){var c=o.value;U(t[c])&&(t[c]=tr[c])}var h=Hn(t)||Wn(t);if(h)return hr.invalid(h);var d=$n(t,i.offset(u),i);n=d[0],r=d[1]}return new hr({ts:n,zone:i,loc:s,o:r})}function ar(t,e,n){var r=!!U(n.round)||n.round,i=function(t,i){return t=it(t,r||n.calendary?0:2,!0),e.loc.clone(n).relFormatter(n).format(t,i)},s=function(r){return n.calendary?e.hasSame(t,r)?0:e.startOf(r).diff(t.startOf(r),r).get(r):e.diff(t,r).get(r)};if(n.unit)return i(s(n.unit),n.unit);for(var u,o=f(n.units);!(u=o()).done;){var a=u.value,c=s(a);if(Math.abs(c)>=1)return i(c,a)}return i(t>e?-0:0,n.units[n.units.length-1])}function cr(t){var 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]}var hr=function(){function t(t){var e=t.zone||Qt.defaultZone,n=t.invalid||(Number.isNaN(t.ts)?new _t("invalid input"):null)||(e.isValid?null:Pn(e));this.ts=U(t.ts)?Qt.now():t.ts;var r=null,i=null;if(!n)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e)){var s=[t.old.c,t.old.o];r=s[0],i=s[1]}else{var u=e.offset(this.ts);r=Un(this.ts,u),r=(n=Number.isNaN(r.year)?new _t("invalid input"):null)?null:r,i=n?null:u}this._zone=e,this.loc=t.loc||de.create(),this.invalid=n,this.weekData=null,this.c=r,this.o=i,this.isLuxonDateTime=!0}t.now=function(){return new t({})},t.local=function(){var t=cr(arguments),e=t[0],n=t[1],r=n[0],i=n[1],s=n[2],u=n[3],o=n[4],a=n[5],c=n[6];return or({year:r,month:i,day:s,hour:u,minute:o,second:a,millisecond:c},e)},t.utc=function(){var t=cr(arguments),e=t[0],n=t[1],r=n[0],i=n[1],s=n[2],u=n[3],o=n[4],a=n[5],c=n[6];return e.zone=Pt.utcInstance,or({year:r,month:i,day:s,hour:u,minute:o,second:a,millisecond:c},e)},t.fromJSDate=function(e,n){void 0===n&&(n={});var r="[object Date]"===Object.prototype.toString.call(e)?e.valueOf():NaN;if(Number.isNaN(r))return t.invalid("invalid input");var i=Gt(n.zone,Qt.defaultZone);return i.isValid?new t({ts:r,zone:i,loc:de.fromObject(n)}):t.invalid(Pn(i))},t.fromMillis=function(e,n){if(void 0===n&&(n={}),$(e))return e<-Rn||e>Rn?t.invalid("Timestamp out of range"):new t({ts:e,zone:Gt(n.zone,Qt.defaultZone),loc:de.fromObject(n)});throw new w("fromMillis requires a numerical input, but received a "+typeof e+" with value "+e)},t.fromSeconds=function(e,n){if(void 0===n&&(n={}),$(e))return new t({ts:1e3*e,zone:Gt(n.zone,Qt.defaultZone),loc:de.fromObject(n)});throw new w("fromSeconds requires a numerical input")},t.fromObject=function(e,n){void 0===n&&(n={}),e=e||{};var r=Gt(n.zone,Qt.defaultZone);if(!r.isValid)return t.invalid(Pn(r));var i=Qt.now(),s=U(n.specificOffset)?r.offset(i):n.specificOffset,u=vt(e,ur),o=!U(u.ordinal),a=!U(u.year),c=!U(u.month)||!U(u.day),h=a||c,d=u.weekYear||u.weekNumber,l=de.fromObject(n);if((h||o)&&d)throw new p("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(c&&o)throw new p("Can't mix ordinal dates with month/day");var v,m,y=d||u.weekday&&!h,k=Un(i,s);y?(v=ir,m=er,k=jn(k)):o?(v=sr,m=nr,k=zn(k)):(v=rr,m=tr);for(var g,w=!1,x=f(v);!(g=x()).done;){var b=g.value;U(u[b])?u[b]=w?m[b]:k[b]:w=!0}var M=(y?function(t){var e=V(t.weekYear),n=X(t.weekNumber,1,ct(t.weekYear)),r=X(t.weekday,1,7);return e?n?!r&&An("weekday",t.weekday):An("week",t.week):An("weekYear",t.weekYear)}(u):o?function(t){var e=V(t.year),n=X(t.ordinal,1,ut(t.year));return e?!n&&An("ordinal",t.ordinal):An("year",t.year)}(u):Hn(u))||Wn(u);if(M)return t.invalid(M);var T=$n(y?Ln(u):o?Fn(u):u,s,r),N=new t({ts:T[0],zone:r,o:T[1],loc:l});return u.weekday&&h&&e.weekday!==N.weekday?t.invalid("mismatched weekday","you can't specify both a weekday of "+u.weekday+" and a date of "+N.toISO()):N},t.fromISO=function(t,e){void 0===e&&(e={});var n=function(t){return ve(t,[We,Ye],[qe,Ge],[Re,Je],[Pe,Ue])}(t);return Bn(n[0],n[1],e,"ISO 8601",t)},t.fromRFC2822=function(t,e){void 0===e&&(e={});var n=function(t){return ve(function(t){return t.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Ze,_e])}(t);return Bn(n[0],n[1],e,"RFC 2822",t)},t.fromHTTP=function(t,e){void 0===e&&(e={});var n=function(t){return ve(t,[je,Fe],[Le,Fe],[ze,He])}(t);return Bn(n[0],n[1],e,"HTTP",e)},t.fromFormat=function(e,n,r){if(void 0===r&&(r={}),U(e)||U(n))throw new w("fromFormat requires an input string and a format");var i,s,u=r.locale,o=r.numberingSystem,a=(i=de.fromOpts({locale:void 0===u?null:u,numberingSystem:void 0===o?null:o,defaultToEN:!0}),[(s=Sn(i,e,n)).result,s.zone,s.specificOffset,s.invalidReason]),c=a[0],h=a[1],d=a[2],l=a[3];return l?t.invalid(l):Bn(c,h,r,"format "+n,e,d)},t.fromString=function(e,n,r){return void 0===r&&(r={}),t.fromFormat(e,n,r)},t.fromSQL=function(t,e){void 0===e&&(e={});var n=function(t){return ve(t,[Ve,Ye],[Be,Ke])}(t);return Bn(n[0],n[1],e,"SQL",t)},t.invalid=function(e,n){if(void 0===n&&(n=null),!e)throw new w("need to specify a reason the DateTime is invalid");var r=e instanceof _t?e:new _t(e,n);if(Qt.throwOnInvalid)throw new m(r);return new t({invalid:r})},t.isDateTime=function(t){return t&&t.isLuxonDateTime||!1},t.parseFormatForOpts=function(t,e){void 0===e&&(e={});var n=Dn(t,de.fromObject(e));return n?n.map((function(t){return t?t.val:null})).join(""):null},t.expandFormat=function(t,e){return void 0===e&&(e={}),En(Zt.parseFormat(t),de.fromObject(e)).map((function(t){return t.val})).join("")};var e=t.prototype;return e.get=function(t){return this[t]},e.resolvedLocaleOptions=function(t){void 0===t&&(t={});var e=Zt.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e.locale,numberingSystem:e.numberingSystem,outputCalendar:e.calendar}},e.toUTC=function(t,e){return void 0===t&&(t=0),void 0===e&&(e={}),this.setZone(Pt.instance(t),e)},e.toLocal=function(){return this.setZone(Qt.defaultZone)},e.setZone=function(e,n){var r=void 0===n?{}:n,i=r.keepLocalTime,s=void 0!==i&&i,u=r.keepCalendarTime,o=void 0!==u&&u;if((e=Gt(e,Qt.defaultZone)).equals(this.zone))return this;if(e.isValid){var a=this.ts;if(s||o){var c=e.offset(this.ts);a=$n(this.toObject(),c,e)[0]}return Gn(this,{ts:a,zone:e})}return t.invalid(Pn(e))},e.reconfigure=function(t){var e=void 0===t?{}:t;return Gn(this,{loc:this.loc.clone({locale:e.locale,numberingSystem:e.numberingSystem,outputCalendar:e.outputCalendar})})},e.setLocale=function(t){return this.reconfigure({locale:t})},e.set=function(t){if(!this.isValid)return this;var e,n=vt(t,ur),r=!U(n.weekYear)||!U(n.weekNumber)||!U(n.weekday),s=!U(n.ordinal),u=!U(n.year),o=!U(n.month)||!U(n.day);if((u||o||s)&&(n.weekYear||n.weekNumber))throw new p("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(o&&s)throw new p("Can't mix ordinal dates with month/day");r?e=Ln(i({},jn(this.c),n)):U(n.ordinal)?(e=i({},this.toObject(),n),U(n.day)&&(e.day=Math.min(ot(e.year,e.month),e.day))):e=Fn(i({},zn(this.c),n));var a=$n(e,this.o,this.zone);return Gn(this,{ts:a[0],o:a[1]})},e.plus=function(t){return this.isValid?Gn(this,Vn(this,un.fromDurationLike(t))):this},e.minus=function(t){return this.isValid?Gn(this,Vn(this,un.fromDurationLike(t).negate())):this},e.startOf=function(t){if(!this.isValid)return this;var e={},n=un.normalizeUnit(t);switch(n){case"years":e.month=1;case"quarters":case"months":e.day=1;case"weeks":case"days":e.hour=0;case"hours":e.minute=0;case"minutes":e.second=0;case"seconds":e.millisecond=0}if("weeks"===n&&(e.weekday=1),"quarters"===n){var r=Math.ceil(this.month/3);e.month=3*(r-1)+1}return this.set(e)},e.endOf=function(t){var e;return this.isValid?this.plus((e={},e[t]=1,e)).startOf(t).minus(1):this},e.toFormat=function(t,e){return void 0===e&&(e={}),this.isValid?Zt.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):qn},e.toLocaleString=function(t,e){return void 0===t&&(t=N),void 0===e&&(e={}),this.isValid?Zt.create(this.loc.clone(e),t).formatDateTime(this):qn},e.toLocaleParts=function(t){return void 0===t&&(t={}),this.isValid?Zt.create(this.loc.clone(t),t).formatDateTimeParts(this):[]},e.toISO=function(t){var e=void 0===t?{}:t,n=e.format,r=e.suppressSeconds,i=void 0!==r&&r,s=e.suppressMilliseconds,u=void 0!==s&&s,o=e.includeOffset,a=void 0===o||o,c=e.extendedZone,h=void 0!==c&&c;if(!this.isValid)return null;var d="extended"===(void 0===n?"extended":n),l=Qn(this,d);return(l+="T")+Xn(this,d,i,u,a,h)},e.toISODate=function(t){var e=(void 0===t?{}:t).format;return this.isValid?Qn(this,"extended"===(void 0===e?"extended":e)):null},e.toISOWeekDate=function(){return Kn(this,"kkkk-'W'WW-c")},e.toISOTime=function(t){var e=void 0===t?{}:t,n=e.suppressMilliseconds,r=e.suppressSeconds,i=e.includeOffset,s=e.includePrefix,u=e.extendedZone,o=e.format;return this.isValid?(void 0!==s&&s?"T":"")+Xn(this,"extended"===(void 0===o?"extended":o),void 0!==r&&r,void 0!==n&&n,void 0===i||i,void 0!==u&&u):null},e.toRFC2822=function(){return Kn(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)},e.toHTTP=function(){return Kn(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")},e.toSQLDate=function(){return this.isValid?Qn(this,!0):null},e.toSQLTime=function(t){var e=void 0===t?{}:t,n=e.includeOffset,r=void 0===n||n,i=e.includeZone,s=void 0!==i&&i,u=e.includeOffsetSpace,o="HH:mm:ss.SSS";return(s||r)&&((void 0===u||u)&&(o+=" "),s?o+="z":r&&(o+="ZZ")),Kn(this,o,!0)},e.toSQL=function(t){return void 0===t&&(t={}),this.isValid?this.toSQLDate()+" "+this.toSQLTime(t):null},e.toString=function(){return this.isValid?this.toISO():qn},e.valueOf=function(){return this.toMillis()},e.toMillis=function(){return this.isValid?this.ts:NaN},e.toSeconds=function(){return this.isValid?this.ts/1e3:NaN},e.toUnixInteger=function(){return this.isValid?Math.floor(this.ts/1e3):NaN},e.toJSON=function(){return this.toISO()},e.toBSON=function(){return this.toJSDate()},e.toObject=function(t){if(void 0===t&&(t={}),!this.isValid)return{};var e=i({},this.c);return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e},e.toJSDate=function(){return new Date(this.isValid?this.ts:NaN)},e.diff=function(t,e,n){if(void 0===e&&(e="milliseconds"),void 0===n&&(n={}),!this.isValid||!t.isValid)return un.invalid("created by diffing an invalid DateTime");var r,s=i({locale:this.locale,numberingSystem:this.numberingSystem},n),u=(r=e,Array.isArray(r)?r:[r]).map(un.normalizeUnit),o=t.valueOf()>this.valueOf(),a=function(t,e,n,r){var i,s=function(t,e,n){for(var r,i,s={},u=0,o=[["years",function(t,e){return e.year-t.year}],["quarters",function(t,e){return e.quarter-t.quarter+4*(e.year-t.year)}],["months",function(t,e){return e.month-t.month+12*(e.year-t.year)}],["weeks",function(t,e){var n=dn(t,e);return(n-n%7)/7}],["days",dn]];u<o.length;u++){var a=o[u],c=a[0],h=a[1];if(n.indexOf(c)>=0){var d;r=c;var l,f=h(t,e);(i=t.plus(((d={})[c]=f,d)))>e?(t=t.plus(((l={})[c]=f-1,l)),f-=1):t=i,s[c]=f}}return[t,s,i,r]}(t,e,n),u=s[0],o=s[1],a=s[2],c=s[3],h=e-u,d=n.filter((function(t){return["hours","minutes","seconds","milliseconds"].indexOf(t)>=0}));0===d.length&&(a<e&&(a=u.plus(((i={})[c]=1,i))),a!==u&&(o[c]=(o[c]||0)+h/(a-u)));var l,f=un.fromObject(o,r);return d.length>0?(l=un.fromMillis(h,r)).shiftTo.apply(l,d).plus(f):f}(o?this:t,o?t:this,u,s);return o?a.negate():a},e.diffNow=function(e,n){return void 0===e&&(e="milliseconds"),void 0===n&&(n={}),this.diff(t.now(),e,n)},e.until=function(t){return this.isValid?cn.fromDateTimes(this,t):this},e.hasSame=function(t,e){if(!this.isValid)return!1;var n=t.valueOf(),r=this.setZone(t.zone,{keepLocalTime:!0});return r.startOf(e)<=n&&n<=r.endOf(e)},e.equals=function(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)},e.toRelative=function(e){if(void 0===e&&(e={}),!this.isValid)return null;var n=e.base||t.fromObject({},{zone:this.zone}),r=e.padding?this<n?-e.padding:e.padding:0,s=["years","months","days","hours","minutes","seconds"],u=e.unit;return Array.isArray(e.unit)&&(s=e.unit,u=void 0),ar(n,this.plus(r),i({},e,{numeric:"always",units:s,unit:u}))},e.toRelativeCalendar=function(e){return void 0===e&&(e={}),this.isValid?ar(e.base||t.fromObject({},{zone:this.zone}),this,i({},e,{numeric:"auto",units:["years","months","days"],calendary:!0})):null},t.min=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];if(!n.every(t.isDateTime))throw new w("min requires all arguments be DateTimes");return K(n,(function(t){return t.valueOf()}),Math.min)},t.max=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];if(!n.every(t.isDateTime))throw new w("max requires all arguments be DateTimes");return K(n,(function(t){return t.valueOf()}),Math.max)},t.fromFormatExplain=function(t,e,n){void 0===n&&(n={});var r=n.locale,i=n.numberingSystem;return Sn(de.fromOpts({locale:void 0===r?null:r,numberingSystem:void 0===i?null:i,defaultToEN:!0}),t,e)},t.fromStringExplain=function(e,n,r){return void 0===r&&(r={}),t.fromFormatExplain(e,n,r)},r(t,[{key:"isValid",get:function(){return null===this.invalid}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}},{key:"locale",get:function(){return this.isValid?this.loc.locale:null}},{key:"numberingSystem",get:function(){return this.isValid?this.loc.numberingSystem:null}},{key:"outputCalendar",get:function(){return this.isValid?this.loc.outputCalendar:null}},{key:"zone",get:function(){return this._zone}},{key:"zoneName",get:function(){return this.isValid?this.zone.name:null}},{key:"year",get:function(){return this.isValid?this.c.year:NaN}},{key:"quarter",get:function(){return this.isValid?Math.ceil(this.c.month/3):NaN}},{key:"month",get:function(){return this.isValid?this.c.month:NaN}},{key:"day",get:function(){return this.isValid?this.c.day:NaN}},{key:"hour",get:function(){return this.isValid?this.c.hour:NaN}},{key:"minute",get:function(){return this.isValid?this.c.minute:NaN}},{key:"second",get:function(){return this.isValid?this.c.second:NaN}},{key:"millisecond",get:function(){return this.isValid?this.c.millisecond:NaN}},{key:"weekYear",get:function(){return this.isValid?Yn(this).weekYear:NaN}},{key:"weekNumber",get:function(){return this.isValid?Yn(this).weekNumber:NaN}},{key:"weekday",get:function(){return this.isValid?Yn(this).weekday:NaN}},{key:"ordinal",get:function(){return this.isValid?zn(this.c).ordinal:NaN}},{key:"monthShort",get:function(){return this.isValid?hn.months("short",{locObj:this.loc})[this.month-1]:null}},{key:"monthLong",get:function(){return this.isValid?hn.months("long",{locObj:this.loc})[this.month-1]:null}},{key:"weekdayShort",get:function(){return this.isValid?hn.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}},{key:"weekdayLong",get:function(){return this.isValid?hn.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}},{key:"offset",get:function(){return this.isValid?+this.o:NaN}},{key:"offsetNameShort",get:function(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}},{key:"offsetNameLong",get:function(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}},{key:"isOffsetFixed",get:function(){return this.isValid?this.zone.isUniversal:null}},{key:"isInDST",get:function(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}},{key:"isInLeapYear",get:function(){return st(this.year)}},{key:"daysInMonth",get:function(){return ot(this.year,this.month)}},{key:"daysInYear",get:function(){return this.isValid?ut(this.year):NaN}},{key:"weeksInWeekYear",get:function(){return this.isValid?ct(this.weekYear):NaN}}],[{key:"DATE_SHORT",get:function(){return N}},{key:"DATE_MED",get:function(){return E}},{key:"DATE_MED_WITH_WEEKDAY",get:function(){return S}},{key:"DATE_FULL",get:function(){return D}},{key:"DATE_HUGE",get:function(){return I}},{key:"TIME_SIMPLE",get:function(){return O}},{key:"TIME_WITH_SECONDS",get:function(){return A}},{key:"TIME_WITH_SHORT_OFFSET",get:function(){return C}},{key:"TIME_WITH_LONG_OFFSET",get:function(){return Z}},{key:"TIME_24_SIMPLE",get:function(){return _}},{key:"TIME_24_WITH_SECONDS",get:function(){return j}},{key:"TIME_24_WITH_SHORT_OFFSET",get:function(){return L}},{key:"TIME_24_WITH_LONG_OFFSET",get:function(){return z}},{key:"DATETIME_SHORT",get:function(){return F}},{key:"DATETIME_SHORT_WITH_SECONDS",get:function(){return H}},{key:"DATETIME_MED",get:function(){return W}},{key:"DATETIME_MED_WITH_SECONDS",get:function(){return q}},{key:"DATETIME_MED_WITH_WEEKDAY",get:function(){return R}},{key:"DATETIME_FULL",get:function(){return P}},{key:"DATETIME_FULL_WITH_SECONDS",get:function(){return Y}},{key:"DATETIME_HUGE",get:function(){return G}},{key:"DATETIME_HUGE_WITH_SECONDS",get:function(){return J}}]),t}();function dr(t){if(hr.isDateTime(t))return t;if(t&&t.valueOf&&$(t.valueOf()))return hr.fromJSDate(t);if(t&&"object"==typeof t)return hr.fromObject(t);throw new w("Unknown datetime argument: "+t+", of type "+typeof t)}e.DateTime=hr,e.Duration=un,e.FixedOffsetZone=Pt,e.IANAZone=qt,e.Info=hn,e.Interval=cn,e.InvalidZone=Yt,e.Settings=Qt,e.SystemZone=zt,e.VERSION="3.0.4",e.Zone=jt}));const a=class{constructor(n){t(this,n),this.dateChange=e(this,"dateChange",7),this.dateRangeChange=e(this,"dateRangeChange",7),this.done=e(this,"done",7),this.dateSelect=e(this,"dateSelect",7),this.daysInWeek=7,this.dayNames=o.Info.weekdays(),this.monthNames=o.Info.months(),this.format="yyyy/LL/dd",this.range=!0,this.individual=!0,this.corners="rounded",this.from=o.DateTime.now().toFormat(this.format),this.to=null,this.minDate=void 0,this.maxDate=void 0,this.eventDelimiter=" - ",this.textSelectDate="Done",this.yearValue=this.year,this.today=o.DateTime.now(),this.monthValue=this.month,this.calendar=[],this.years=[...Array(10).keys()].map((t=>t+this.year-5)),this.tempYear=this.yearValue,this.tempMonth=this.monthValue,this.start=o.DateTime.fromObject({year:this.year,month:this.month,day:this.day}),this.end=this.to?o.DateTime.fromFormat(this.to,this.format):null,this.dropdownButtonRef=void 0,this.yearContainerRef=void 0}get year(){return o.DateTime.fromFormat(this.from,this.format).year}get day(){return o.DateTime.fromFormat(this.from,this.format).day}get month(){return o.DateTime.fromFormat(this.from,this.format).month}onDone(){var t;this.done.emit(this.getOutputFormat()),this.dateSelect.emit({from:this.start.toFormat(this.format),to:null===(t=this.end)||void 0===t?void 0:t.toFormat(this.format)})}onDateChange(){var t,e,n,r;this.dateChange.emit(this.eventDelimiter?this.getOutputFormat():{from:null===(t=this.start)||void 0===t?void 0:t.toFormat(this.format),to:null===(e=this.end)||void 0===e?void 0:e.toFormat(this.format)}),this.range&&this.dateRangeChange.emit({from:null===(n=this.start)||void 0===n?void 0:n.toFormat(this.format),to:null===(r=this.end)||void 0===r?void 0:r.toFormat(this.format)})}getStartOfMonth(t=o.DateTime.local().get("year"),e=o.DateTime.local().get("month")){return o.DateTime.local(t,e).startOf("month")}getEndOfMonth(t=o.DateTime.local().get("year"),e=o.DateTime.local().get("month")){return o.DateTime.local(t,e).endOf("month")}getDaysInMonth(t=this.getStartOfMonth(),e=this.getEndOfMonth()){return Math.ceil(e.diff(t,"days").days)}calculateCalendar(){const t=this.getStartOfMonth(this.yearValue,this.monthValue),e=this.getEndOfMonth(this.yearValue,this.monthValue),n=this.getDaysInMonth(t,e),r=6*this.daysInWeek,i=t.weekday-1,s=r-n-i;let u=[];const a=[];let c=[...new Array(r).keys()].map((t=>t+1));c.unshift(...new Array(i)),c=c.slice(0,c.length-i-s),c.push(...new Array(s)),u=c.reduce(((t,e,n)=>{const r=Math.floor(n/this.daysInWeek);return t[r]||(t[r]=[]),t[r].push(e),t}),[]);for(let t=1;t<=6;t++){const e=u[t-1],n=e.find((t=>void 0!==t))?o.DateTime.local(this.yearValue,this.monthValue,u[t-1][0]).weekNumber:void 0;a.push([n,e])}this.calendar=a}changeMonth(t){this.monthValue+t<1?(this.yearValue--,this.monthValue=12):this.monthValue+t>12?(this.yearValue++,this.monthValue=1):this.monthValue+=t,this.calculateCalendar()}selectMonth(t){this.monthValue=t,this.yearValue=this.tempYear,this.tempMonth=t}infiniteScrollYears(){const t=this.yearContainerRef.scrollTop,e=this.yearContainerRef.scrollHeight,n=0===t,r=t+this.yearContainerRef.getBoundingClientRect().height===e;this.years.length>200||(n&&(this.years=[...[...Array(5).keys()].map((t=>t+this.years[0]-5)),...this.years],this.yearContainerRef.scroll({behavior:"smooth",top:t+100})),r&&(this.years=[...this.years,...[...Array(5).keys()].map((t=>t+this.years[this.years.length-1]))],this.yearContainerRef.scroll({behavior:"smooth",top:t-50})))}selectTempYear(t,e){t.stopPropagation(),this.tempYear=e}todayClass(t){const e=o.DateTime.local(),n=o.DateTime.local(this.yearValue,this.monthValue,t);return{"calendar-item":!0,"empty-day":void 0===t,today:0===Math.ceil(n.diff(e,"days").days),selected:this.start&&n.toISO()===this.start.toISO()||this.end&&n.toISO()===this.end.toISO(),range:this.start&&this.end&&n.toISO()>this.start.toISO()&&n.toISO()<this.end.toISO(),disabled:!this.isWithinMinMax(n)||this.start&&n.toISO()<this.start.toISO()&&null===this.end&&this.range}}selectDay(t){const e=o.DateTime.local(this.yearValue,this.monthValue,t),n=void 0===t,r=null===this.start,i=null===this.end,s=null!==this.start&&null!==this.end,u=this.start&&this.start.toISO()<e.toISO(),a=this.start&&!this.end&&this.start.toISO()===e.toISO();if(!n){if(a)return this.start=null,void this.onDateChange();this.range||(this.start=e),this.range&&r&&(this.start=e),this.range&&i&&u&&(this.end=e),this.range&&s&&(this.start=e,this.end=null),this.onDateChange()}}getOutputFormat(){return this.start?this.end?[this.start.toFormat(this.format),this.end.toFormat(this.format)].join(this.eventDelimiter):this.start.toFormat(this.format):null}isWithinMinMax(t){const e=t.toISO(),n=this.minDate?o.DateTime.fromFormat(this.minDate,this.format):null,r=this.maxDate?o.DateTime.fromFormat(this.maxDate,this.format):null;return(!n||n.toISO()<=e)&&(!r||r.toISO()>=e)}componentWillLoad(){null!==this.year&&(this.yearValue=this.year),this.month&&(this.monthValue=this.month)}componentWillRender(){this.calculateCalendar()}async getCurrentDate(){var t,e;return{start:null===(t=this.start)||void 0===t?void 0:t.toFormat(this.format),end:null===(e=this.end)||void 0===e?void 0:e.toFormat(this.format)}}render(){return n(i,null,n("ix-date-time-card",{individual:this.individual,corners:this.corners},n("div",{class:"header",slot:"header"},n("ix-icon-button",{onClick:()=>this.changeMonth(-1),ghost:!0,icon:"chevron-left",variant:"Primary",class:"arrows"}),n("div",{class:"selector"},n("ix-button",{ghost:!0,ref:t=>this.dropdownButtonRef=t},n("span",{class:"fontSize capitalize"},this.monthNames[this.monthValue-1]," ",this.yearValue)),n("ix-dropdown",{class:"dropdown",trigger:this.dropdownButtonRef,placement:"bottom"},n("div",{class:"wrapper"},n("div",{class:"overflow",onScroll:()=>this.infiniteScrollYears(),ref:t=>this.yearContainerRef=t},this.years.map((t=>n("div",{class:{arrowYear:!0},onClick:e=>this.selectTempYear(e,t)},n("ix-icon",{class:{hidden:this.tempYear!==t,arrowPosition:!0},name:"chevron-right",size:"12"}),n("div",{style:{"min-width":"max-content"}},`${t}`))))),n("div",{class:"overflow"},this.monthNames.map(((t,e)=>n("div",{class:{arrowYear:!0,selected:this.tempMonth-1===e},onClick:()=>this.selectMonth(e+1)},n("ix-icon",{class:{hidden:this.tempMonth-1!==e,checkPosition:!0},name:"single-check",size:"16"}),n("div",null,n("span",{class:{capitalize:!0,monthMargin:!0}},`${t} ${this.tempYear}`))))))))),n("ix-icon-button",{onClick:()=>this.changeMonth(1),ghost:!0,icon:"chevron-right",variant:"Primary",class:"arrows"})),n("div",{class:"grid"},n("div",{class:"calendar-item week-day"}),this.dayNames.map((t=>n("div",{class:"calendar-item week-day"},t.slice(0,3)))),this.calendar.map((t=>n(r,null,n("div",{class:"calendar-item week-number"},t[0]),t[1].map((t=>n("div",{class:this.todayClass(t),onClick:()=>this.selectDay(t)},t))))))),n("div",{class:{button:!0,hidden:!this.individual}},n("ix-button",{onClick:()=>this.onDone()},this.textSelectDate))))}};a.style=".sc-ix-date-picker-h .header.sc-ix-date-picker{display:flex;align-items:center;justify-content:space-between}.sc-ix-date-picker-h .selector.sc-ix-date-picker{flex-basis:100%;display:flex;align-items:center;justify-content:center;padding:0.25rem 1rem}.sc-ix-date-picker-h .selector.sc-ix-date-picker .dropdown.sc-ix-date-picker{color:var(--theme-menu-item--color);font-size:14px;line-height:20px}.sc-ix-date-picker-h .selector.sc-ix-date-picker .fontSize.sc-ix-date-picker{font-size:16px}.sc-ix-date-picker-h .selector.sc-ix-date-picker .capitalize.sc-ix-date-picker{text-transform:capitalize}.sc-ix-date-picker-h .selector.sc-ix-date-picker .arrowYear.sc-ix-date-picker{display:flex;position:relative;padding:0.75rem 2rem;align-items:center;cursor:pointer}.sc-ix-date-picker-h .selector.sc-ix-date-picker .arrowYear.sc-ix-date-picker:hover{background-color:var(--theme-select-list-item--background--hover)}.sc-ix-date-picker-h .selector.sc-ix-date-picker .arrowYear.selected.sc-ix-date-picker{background-color:var(--theme-select-list-item--background--selected)}.sc-ix-date-picker-h .selector.sc-ix-date-picker .arrowYear.sc-ix-date-picker .arrowPosition.sc-ix-date-picker{position:absolute;left:calc(1rem - 6px);top:calc(50% - 6px)}.sc-ix-date-picker-h .selector.sc-ix-date-picker .arrowYear.sc-ix-date-picker .checkPosition.sc-ix-date-picker{position:absolute;left:calc(1rem - 6px);top:calc(50% - 8px)}.sc-ix-date-picker-h .selector.sc-ix-date-picker .arrowYear.sc-ix-date-picker .monthMargin.sc-ix-date-picker{margin-left:10px}.sc-ix-date-picker-h .wrapper.sc-ix-date-picker{display:flex}.sc-ix-date-picker-h .wrapper.sc-ix-date-picker .overflow.sc-ix-date-picker{overflow-y:scroll;max-height:250px}.sc-ix-date-picker-h .grid.sc-ix-date-picker{display:grid;grid-template-columns:repeat(8, 40px);grid-template-rows:repeat(7, 40px);align-items:center;justify-items:center;justify-content:center;color:var(--theme-datepicker-today--color)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.sc-ix-date-picker{position:relative;display:flex;justify-content:center;align-items:center;background-color:var(--theme-datepicker-day--background);border:1px solid var(--theme-datepicker-day--background);width:40px;height:40px;cursor:pointer}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.today.sc-ix-date-picker{border:1px solid var(--theme-datepicker-today--border-color)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.today.sc-ix-date-picker:hover{background-color:var(--theme-datepicker-day--background--hover)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.today.sc-ix-date-picker:active{background-color:var(--theme-datepicker-day--background--active)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.today.selected.sc-ix-date-picker{box-shadow:inset 0 0 0 1px white}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.today.selected.sc-ix-date-picker:hover{background-color:var(--theme-datepicker-day--background--selected-hover)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.today.selected.sc-ix-date-picker:active{background-color:var(--theme-datepicker-day--background--selected-active)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.today.selected.disabled.sc-ix-date-picker{pointer-events:none;background-color:var(--theme-datepicker-day--background--selected-disabled);border:1px solid var(--theme-datepicker-day--background--selected-disabled);color:var(--theme-datepicker-day--color--selected-disabled)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.today.range.sc-ix-date-picker{background-color:var(--theme-datepicker-day--background--range);color:var(--theme-datepicker-day--color--range);border:1px solid var(--theme-datepicker-today--border-color--range);box-shadow:inset 0 0 0 1px white}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.today.range.sc-ix-date-picker:hover{background-color:var(--theme-datepicker-day--background--range-hover);border:1px solid var(--theme-datepicker-today--border-color--range-hover)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.today.range.sc-ix-date-picker:active{background-color:var(--theme-datepicker-day--background--range-active);border:1px solid var(--theme-datepicker-today--border-color--range-active)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.today.range.disabled.sc-ix-date-picker{background-color:var(--theme-datepicker-day--background--range-disabled);color:var(--theme-datepicker-day--color--range-disabled);border:1px solid var(--theme-datepicker-today--border-color--range-disabled)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.today.disabled.sc-ix-date-picker{pointer-events:none;background-color:var(--theme-datepicker-day--background--disabled);color:var(--theme-datepicker-day--color--disabled);cursor:default;pointer-events:none}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.sc-ix-date-picker:hover{background-color:var(--theme-datepicker-day--background--hover)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.sc-ix-date-picker:active{background-color:var(--theme-datepicker-day--background--active)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.selected.sc-ix-date-picker{background-color:var(--theme-datepicker-day--background--selected);color:var(--theme-datepicker-day--color--selected);border:1px solid var(--theme-datepicker-day--background--selected)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.selected.sc-ix-date-picker:hover{background-color:var(--theme-datepicker-day--background--selected-hover)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.selected.sc-ix-date-picker:active{background-color:var(--theme-datepicker-day--background--selected-active)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.selected.disabled.sc-ix-date-picker{pointer-events:none;background-color:var(--theme-datepicker-day--background--selected-disabled);color:var(--theme-datepicker-day--color--selected-disabled)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.range.sc-ix-date-picker{background-color:var(--theme-datepicker-day--background--range);color:var(--theme-datepicker-day--color--range)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.range.sc-ix-date-picker:hover{background-color:var(--theme-datepicker-day--background--range-hover)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.range.sc-ix-date-picker:active{background-color:var(--theme-datepicker-day--background--range-active)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.range.disabled.sc-ix-date-picker{pointer-events:none;background-color:var(--theme-datepicker-day--background--range-disabled);color:var(--theme-datepicker-day--color--range-disabled)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.disabled.sc-ix-date-picker{pointer-events:none;background-color:var(--theme-datepicker-day--background--disabled);color:var(--theme-datepicker-day--color--disabled)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.week-day.sc-ix-date-picker{color:var(--theme-datepicker-weekday--color);font-size:12px;line-height:20px;border:none;background:none;cursor:initial}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.empty-day.sc-ix-date-picker{border:none;background:none;cursor:initial}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.week-number.sc-ix-date-picker{font-size:10px;line-height:14px;color:var(--theme-datepicker-ix--color);border:none;background:none;cursor:initial}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.sc-ix-date-picker:focus-visible{background-color:var(--theme-datepicker-day--background--selected);border:inset 1px solid var(--theme-datepicker-day--border-color--selected);color:var(--theme-datepicker-day--color--selected);font-size:14px;line-height:20px;letter-spacing:0}.sc-ix-date-picker-h .button.sc-ix-date-picker{display:flex;justify-content:flex-end}.sc-ix-date-picker-h .hidden.sc-ix-date-picker{display:none}";const c=class{constructor(n){t(this,n),this.done=e(this,"done",7),this.timeChange=e(this,"timeChange",7),this._time=o.DateTime.now(),this.format="TT",this.corners="rounded",this.individual=!0,this.showHour=!1,this.showMinutes=!1,this.showSeconds=!1,this.time=o.DateTime.now().toFormat(this.format),this.showTimeReference=void 0,this.timeReference=o.DateTime.fromFormat(this.time,this.format).toFormat("a"),this.textSelectTime="Done",this.hourInputRef=void 0,this.minuteInputRef=void 0,this.secondInputRef=void 0,this.referenceInputRef=void 0}get hour(){return this._time.hour}get minutes(){return this._time.minute}get seconds(){return this._time.second}updateInput(t,{hours:e,minutes:n,seconds:r}){e&&("up"===t?this.hourInputRef.stepUp():this.hourInputRef.stepDown()),n&&("up"===t?this.minuteInputRef.stepUp():this.minuteInputRef.stepDown()),r&&("up"===t?this.secondInputRef.stepUp():this.secondInputRef.stepDown()),this._time=this._time.set({hour:Number(this.hourInputRef.value),minute:Number(this.minuteInputRef.value),second:Number(this.secondInputRef.value)}),this.emitTimeChange()}changeReference(){this.referenceInputRef.value="PM"===this.referenceInputRef.value?"AM":"PM",this.setHourAccordingToReference(),this.emitTimeChange()}setHourAccordingToReference(){let t=Number(this.hourInputRef.value);"PM"===this.referenceInputRef.value&&(t+=12),this._time=this._time.set({hour:t})}emitTimeChange(){const t=this._time.toFormat(this.format);this.timeChange.emit(t)}componentWillLoad(){if(this._time=o.DateTime.fromFormat(this.time,this.format),void 0===this.showTimeReference){const t=Object.keys(o.DateTime.fromFormatExplain(this.time,this.format).matches);this.showTimeReference=t.includes("a")}}async getCurrentTime(){return this._time.toFormat(this.format)}render(){let t=!this.showHour,e=!this.showMinutes,r=!this.showSeconds;const s=!this.showTimeReference,u=!this.individual;this.showHour||this.showMinutes||this.showSeconds||(t=!1,e=!1,r=!1);const o=e||t,a=r||e;return n(i,null,n("ix-date-time-card",{individual:this.individual,corners:this.corners},n("div",{class:"header",slot:"header"},n("div",{class:"title"},"Time")),n("div",{class:"clock"},n("div",{class:{columns:!0,hidden:t}},n("ix-icon-button",{size:"16",onClick:()=>this.updateInput("up",{hours:!0}),ghost:!0,icon:"chevron-up",variant:"Primary",class:"arrows"}),n("input",{name:"hours",type:"number",placeholder:"00",value:this.hour,min:"0",disabled:!0,max:!0===this.showTimeReference?11:23,ref:t=>this.hourInputRef=t}),n("ix-icon-button",{size:"16",onClick:()=>this.updateInput("down",{hours:!0}),ghost:!0,icon:"chevron-down",variant:"Primary",class:"arrows"})),n("div",{class:{"column-seperator":!0,hidden:o}},":"),n("div",{class:{columns:!0,hidden:e}},n("ix-icon-button",{size:"16",onClick:()=>this.updateInput("up",{minutes:!0}),ghost:!0,icon:"chevron-up",variant:"Primary",class:"arrows"}),n("input",{name:"minutes",type:"number",placeholder:"00",value:this.minutes,min:"0",max:"59",disabled:!0,ref:t=>this.minuteInputRef=t}),n("ix-icon-button",{size:"16",onClick:()=>this.updateInput("down",{minutes:!0}),ghost:!0,icon:"chevron-down",variant:"Primary",class:"arrows"})),n("div",{class:{"column-seperator":!0,hidden:a}},":"),n("div",{class:{columns:!0,hidden:r}},n("ix-icon-button",{size:"16",onClick:()=>this.updateInput("up",{seconds:!0}),ghost:!0,icon:"chevron-up",variant:"Primary",class:"arrows"}),n("input",{name:"seconds",type:"number",placeholder:"00",value:this.seconds,disabled:!0,min:"0",max:"59",ref:t=>this.secondInputRef=t}),n("ix-icon-button",{size:"16",onClick:()=>this.updateInput("down",{seconds:!0}),ghost:!0,icon:"chevron-down",variant:"Primary",class:"arrows"})),n("div",{class:{columns:!0,"default-space":!0,hidden:s}},n("ix-icon-button",{size:"16",onClick:()=>this.changeReference(),ghost:!0,icon:"chevron-up",variant:"Primary",class:"arrows"}),n("input",{name:"reference",type:"text",ref:t=>this.referenceInputRef=t,value:this.timeReference,disabled:!0,class:"text-align"}),n("ix-icon-button",{size:"16",onClick:()=>this.changeReference(),ghost:!0,icon:"chevron-down",variant:"Primary",class:"arrows"}))),n("div",{class:{button:!0,hidden:u}},n("ix-button",{onClick:()=>this.done.emit(this._time.toFormat(this.format))},this.textSelectTime))))}get hostElement(){return s(this)}};c.style=".header.sc-ix-time-picker{display:flex;align-items:center;justify-content:center}.title.sc-ix-time-picker{display:flex;align-items:center;font-size:16px;font-weight:bold;line-height:20px;min-height:40px;color:var(--theme-datepicker-time-header--color)}.clock.sc-ix-time-picker{height:100%;display:flex;justify-content:center;align-items:center;padding:80px 0}input.sc-ix-time-picker{background-color:var(--theme-input--background);border-radius:2px;border:1px solid var(--theme-input--border-color);box-shadow:inset 0 2px 4px 0 var(--theme-color-1) 12;width:42px;height:32px;text-align:right;color:var(--theme-input--color);margin-top:0.5rem;margin-bottom:0.5rem}input.sc-ix-time-picker::-webkit-outer-spin-button,input.sc-ix-time-picker::-webkit-inner-spin-button{-webkit-appearance:none;margin:0 5px}input[type=number].sc-ix-time-picker{-moz-appearance:textfield}.columns.sc-ix-time-picker{display:flex;flex-direction:column;align-items:center}.column-seperator.sc-ix-time-picker{display:flex;align-items:center;margin:0 0.25rem}.button.sc-ix-time-picker{display:flex;justify-content:flex-end}.default-space.sc-ix-time-picker{margin-left:1rem}.text-align.sc-ix-time-picker{text-align:center}.hidden.sc-ix-time-picker{display:none}";export{a as ix_date_picker,c as ix_time_picker}
|
|
1
|
+
import{r as t,c as e,h as n,F as r,H as i,g as s}from"./p-05c16b94.js";import{c as u}from"./p-37417714.js";var o=u((function(t,e){function n(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function r(t,e,r){return e&&n(t.prototype,e),r&&n(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function i(){return(i=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function s(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,o(t,e)}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function o(t,e){return(o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function a(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function c(t,e,n){return(c=a()?Reflect.construct.bind():function(t,e,n){var r=[null];r.push.apply(r,e);var i=new(Function.bind.apply(t,r));return n&&o(i,n.prototype),i}).apply(null,arguments)}function h(t){var e="function"==typeof Map?new Map:void 0;return(h=function(t){if(null===t||-1===Function.toString.call(t).indexOf("[native code]"))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return c(t,arguments,u(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),o(n,t)})(t)}function d(t,e){if(null==t)return{};var n,r,i={},s=Object.keys(t);for(r=0;r<s.length;r++)e.indexOf(n=s[r])>=0||(i[n]=t[n]);return i}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function f(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return l(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}Object.defineProperty(e,"__esModule",{value:!0});var v=function(t){function e(){return t.apply(this,arguments)||this}return s(e,t),e}(h(Error)),m=function(t){function e(e){return t.call(this,"Invalid DateTime: "+e.toMessage())||this}return s(e,t),e}(v),y=function(t){function e(e){return t.call(this,"Invalid Interval: "+e.toMessage())||this}return s(e,t),e}(v),k=function(t){function e(e){return t.call(this,"Invalid Duration: "+e.toMessage())||this}return s(e,t),e}(v),p=function(t){function e(){return t.apply(this,arguments)||this}return s(e,t),e}(v),g=function(t){function e(e){return t.call(this,"Invalid unit "+e)||this}return s(e,t),e}(v),w=function(t){function e(){return t.apply(this,arguments)||this}return s(e,t),e}(v),x=function(t){function e(){return t.call(this,"Zone is an abstract class")||this}return s(e,t),e}(v),b="numeric",M="short",T="long",N={year:b,month:b,day:b},E={year:b,month:M,day:b},S={year:b,month:M,day:b,weekday:M},D={year:b,month:T,day:b},I={year:b,month:T,day:b,weekday:T},O={hour:b,minute:b},A={hour:b,minute:b,second:b},C={hour:b,minute:b,second:b,timeZoneName:M},Z={hour:b,minute:b,second:b,timeZoneName:T},_={hour:b,minute:b,hourCycle:"h23"},j={hour:b,minute:b,second:b,hourCycle:"h23"},L={hour:b,minute:b,second:b,hourCycle:"h23",timeZoneName:M},z={hour:b,minute:b,second:b,hourCycle:"h23",timeZoneName:T},F={year:b,month:b,day:b,hour:b,minute:b},H={year:b,month:b,day:b,hour:b,minute:b,second:b},W={year:b,month:M,day:b,hour:b,minute:b},q={year:b,month:M,day:b,hour:b,minute:b,second:b},R={year:b,month:M,day:b,weekday:M,hour:b,minute:b},P={year:b,month:T,day:b,hour:b,minute:b,timeZoneName:M},Y={year:b,month:T,day:b,hour:b,minute:b,second:b,timeZoneName:M},G={year:b,month:T,day:b,weekday:T,hour:b,minute:b,timeZoneName:T},J={year:b,month:T,day:b,weekday:T,hour:b,minute:b,second:b,timeZoneName:T};function U(t){return void 0===t}function $(t){return"number"==typeof t}function V(t){return"number"==typeof t&&t%1==0}function B(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function K(t,e,n){if(0!==t.length)return t.reduce((function(t,r){var i=[e(r),r];return t&&n(t[0],i[0])===t[0]?t:i}),null)[1]}function Q(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function X(t,e,n){return V(t)&&t>=e&&t<=n}function tt(t,e){return void 0===e&&(e=2),t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0")}function et(t){return U(t)||null===t||""===t?void 0:parseInt(t,10)}function nt(t){return U(t)||null===t||""===t?void 0:parseFloat(t)}function rt(t){if(!U(t)&&null!==t&&""!==t){var e=1e3*parseFloat("0."+t);return Math.floor(e)}}function it(t,e,n){void 0===n&&(n=!1);var r=Math.pow(10,e);return(n?Math.trunc:Math.round)(t*r)/r}function st(t){return t%4==0&&(t%100!=0||t%400==0)}function ut(t){return st(t)?366:365}function ot(t,e){var n,r=(n=e-1)-12*Math.floor(n/12)+1;return 2===r?st(t+(e-r)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][r-1]}function at(t){var 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)).setUTCFullYear(e.getUTCFullYear()-1900),+e}function ct(t){var e=(t+Math.floor(t/4)-Math.floor(t/100)+Math.floor(t/400))%7,n=t-1,r=(n+Math.floor(n/4)-Math.floor(n/100)+Math.floor(n/400))%7;return 4===e||3===r?53:52}function ht(t){return t>99?t:t>60?1900+t:2e3+t}function dt(t,e,n,r){void 0===r&&(r=null);var s=new Date(t),u={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(u.timeZone=r);var o=i({timeZoneName:e},u),a=new Intl.DateTimeFormat(n,o).formatToParts(s).find((function(t){return"timezonename"===t.type.toLowerCase()}));return a?a.value:null}function lt(t,e){var n=parseInt(t,10);Number.isNaN(n)&&(n=0);var r=parseInt(e,10)||0;return 60*n+(n<0||Object.is(n,-0)?-r:r)}function ft(t){var e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new w("Invalid unit value "+t);return e}function vt(t,e){var n={};for(var r in t)if(Q(t,r)){var i=t[r];if(null==i)continue;n[e(r)]=ft(i)}return n}function mt(t,e){var n=Math.trunc(Math.abs(t/60)),r=Math.trunc(Math.abs(t%60)),i=t>=0?"+":"-";switch(e){case"short":return""+i+tt(n,2)+":"+tt(r,2);case"narrow":return""+i+n+(r>0?":"+r:"");case"techie":return""+i+tt(n,2)+tt(r,2);default:throw new RangeError("Value format "+e+" is out of range for property format")}}function yt(t){return function(t){return["hour","minute","second","millisecond"].reduce((function(e,n){return e[n]=t[n],e}),{})}(t)}var kt=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/,pt=["January","February","March","April","May","June","July","August","September","October","November","December"],gt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wt=["J","F","M","A","M","J","J","A","S","O","N","D"];function xt(t){switch(t){case"narrow":return[].concat(wt);case"short":return[].concat(gt);case"long":return[].concat(pt);case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}var bt=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Mt=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Tt=["M","T","W","T","F","S","S"];function Nt(t){switch(t){case"narrow":return[].concat(Tt);case"short":return[].concat(Mt);case"long":return[].concat(bt);case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var Et=["AM","PM"],St=["Before Christ","Anno Domini"],Dt=["BC","AD"],It=["B","A"];function Ot(t){switch(t){case"narrow":return[].concat(It);case"short":return[].concat(Dt);case"long":return[].concat(St);default:return null}}function At(t,e){for(var n,r="",i=f(t);!(n=i()).done;){var s=n.value;r+=s.literal?s.val:e(s.val)}return r}var Ct={D:N,DD:E,DDD:D,DDDD:I,t:O,tt:A,ttt:C,tttt:Z,T:_,TT:j,TTT:L,TTTT:z,f:F,ff:W,fff:P,ffff:G,F:H,FF:q,FFF:Y,FFFF:J},Zt=function(){function t(t,e){this.opts=e,this.loc=t,this.systemLoc=null}t.create=function(e,n){return void 0===n&&(n={}),new t(e,n)},t.parseFormat=function(t){for(var e=null,n="",r=!1,i=[],s=0;s<t.length;s++){var u=t.charAt(s);"'"===u?(n.length>0&&i.push({literal:r,val:n}),e=null,n="",r=!r):r||u===e?n+=u:(n.length>0&&i.push({literal:!1,val:n}),n=u,e=u)}return n.length>0&&i.push({literal:r,val:n}),i},t.macroTokenToFormatOpts=function(t){return Ct[t]};var e=t.prototype;return e.formatWithSystemDefault=function(t,e){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(t,i({},this.opts,e)).format()},e.formatDateTime=function(t,e){return void 0===e&&(e={}),this.loc.dtFormatter(t,i({},this.opts,e)).format()},e.formatDateTimeParts=function(t,e){return void 0===e&&(e={}),this.loc.dtFormatter(t,i({},this.opts,e)).formatToParts()},e.resolvedOptions=function(t,e){return void 0===e&&(e={}),this.loc.dtFormatter(t,i({},this.opts,e)).resolvedOptions()},e.num=function(t,e){if(void 0===e&&(e=0),this.opts.forceSimple)return tt(t,e);var n=i({},this.opts);return e>0&&(n.padTo=e),this.loc.numberFormatter(n).format(t)},e.formatDateTimeFromString=function(e,n){var r=this,i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,u=function(t,n){return r.loc.extract(e,t,n)},o=function(t){return e.isOffsetFixed&&0===e.offset&&t.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,t.format):""},a=function(t,n){return i?function(t,e){return xt(e)[t.month-1]}(e,t):u(n?{month:t}:{month:t,day:"numeric"},"month")},c=function(t,n){return i?function(t,e){return Nt(e)[t.weekday-1]}(e,t):u(n?{weekday:t}:{weekday:t,month:"long",day:"numeric"},"weekday")},h=function(t){return i?function(t,e){return Ot(e)[t.year<0?0:1]}(e,t):u({era:t},"era")};return At(t.parseFormat(n),(function(n){switch(n){case"S":return r.num(e.millisecond);case"u":case"SSS":return r.num(e.millisecond,3);case"s":return r.num(e.second);case"ss":return r.num(e.second,2);case"uu":return r.num(Math.floor(e.millisecond/10),2);case"uuu":return r.num(Math.floor(e.millisecond/100));case"m":return r.num(e.minute);case"mm":return r.num(e.minute,2);case"h":return r.num(e.hour%12==0?12:e.hour%12);case"hh":return r.num(e.hour%12==0?12:e.hour%12,2);case"H":return r.num(e.hour);case"HH":return r.num(e.hour,2);case"Z":return o({format:"narrow",allowZ:r.opts.allowZ});case"ZZ":return o({format:"short",allowZ:r.opts.allowZ});case"ZZZ":return o({format:"techie",allowZ:r.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:r.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:r.loc.locale});case"z":return e.zoneName;case"a":return i?function(t){return Et[t.hour<12?0:1]}(e):u({hour:"numeric",hourCycle:"h12"},"dayperiod");case"d":return s?u({day:"numeric"},"day"):r.num(e.day);case"dd":return s?u({day:"2-digit"},"day"):r.num(e.day,2);case"c":return r.num(e.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"E":return r.num(e.weekday);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?u({month:"numeric",day:"numeric"},"month"):r.num(e.month);case"LL":return s?u({month:"2-digit",day:"numeric"},"month"):r.num(e.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?u({month:"numeric"},"month"):r.num(e.month);case"MM":return s?u({month:"2-digit"},"month"):r.num(e.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?u({year:"numeric"},"year"):r.num(e.year);case"yy":return s?u({year:"2-digit"},"year"):r.num(e.year.toString().slice(-2),2);case"yyyy":return s?u({year:"numeric"},"year"):r.num(e.year,4);case"yyyyyy":return s?u({year:"numeric"},"year"):r.num(e.year,6);case"G":return h("short");case"GG":return h("long");case"GGGGG":return h("narrow");case"kk":return r.num(e.weekYear.toString().slice(-2),2);case"kkkk":return r.num(e.weekYear,4);case"W":return r.num(e.weekNumber);case"WW":return r.num(e.weekNumber,2);case"o":return r.num(e.ordinal);case"ooo":return r.num(e.ordinal,3);case"q":return r.num(e.quarter);case"qq":return r.num(e.quarter,2);case"X":return r.num(Math.floor(e.ts/1e3));case"x":return r.num(e.ts);default:return function(n){var i=t.macroTokenToFormatOpts(n);return i?r.formatWithSystemDefault(e,i):n}(n)}}))},e.formatDurationFromString=function(e,n){var r,i=this,s=function(t){switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},u=t.parseFormat(n),o=u.reduce((function(t,e){return e.literal?t:t.concat(e.val)}),[]),a=e.shiftTo.apply(e,o.map(s).filter((function(t){return t})));return At(u,(r=a,function(t){var e=s(t);return e?i.num(r.get(e),t.length):t}))},t}(),_t=function(){function t(t,e){this.reason=t,this.explanation=e}return t.prototype.toMessage=function(){return this.explanation?this.reason+": "+this.explanation:this.reason},t}(),jt=function(){function t(){}var e=t.prototype;return e.offsetName=function(){throw new x},e.formatOffset=function(){throw new x},e.offset=function(){throw new x},e.equals=function(){throw new x},r(t,[{key:"type",get:function(){throw new x}},{key:"name",get:function(){throw new x}},{key:"ianaName",get:function(){return this.name}},{key:"isUniversal",get:function(){throw new x}},{key:"isValid",get:function(){throw new x}}]),t}(),Lt=null,zt=function(t){function e(){return t.apply(this,arguments)||this}s(e,t);var n=e.prototype;return n.offsetName=function(t,e){return dt(t,e.format,e.locale)},n.formatOffset=function(t,e){return mt(this.offset(t),e)},n.offset=function(t){return-new Date(t).getTimezoneOffset()},n.equals=function(t){return"system"===t.type},r(e,[{key:"type",get:function(){return"system"}},{key:"name",get:function(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}},{key:"isUniversal",get:function(){return!1}},{key:"isValid",get:function(){return!0}}],[{key:"instance",get:function(){return null===Lt&&(Lt=new e),Lt}}]),e}(jt),Ft={},Ht={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6},Wt={},qt=function(t){function e(n){var r;return(r=t.call(this)||this).zoneName=n,r.valid=e.isValidZone(n),r}s(e,t),e.create=function(t){return Wt[t]||(Wt[t]=new e(t)),Wt[t]},e.resetCache=function(){Wt={},Ft={}},e.isValidSpecifier=function(t){return this.isValidZone(t)},e.isValidZone=function(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}};var n=e.prototype;return n.offsetName=function(t,e){return dt(t,e.format,e.locale,this.name)},n.formatOffset=function(t,e){return mt(this.offset(t),e)},n.offset=function(t){var e=new Date(t);if(isNaN(e))return NaN;var n,r=(Ft[n=this.name]||(Ft[n]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:n,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Ft[n]),i=r.formatToParts?function(t,e){for(var n=t.formatToParts(e),r=[],i=0;i<n.length;i++){var s=n[i],u=s.type,o=s.value,a=Ht[u];"era"===u?r[a]=o:U(a)||(r[a]=parseInt(o,10))}return r}(r,e):function(t,e){var n=t.format(e).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n);return[r[3],r[1],r[2],r[4],r[5],r[6],r[7]]}(r,e),s=i[0],u=i[1],o=i[2],a=i[4],c=i[5],h=i[6];"BC"===i[3]&&(s=1-Math.abs(s));var d=+e,l=d%1e3;return(at({year:s,month:u,day:o,hour:24===a?0:a,minute:c,second:h,millisecond:0})-(d-=l>=0?l:1e3+l))/6e4},n.equals=function(t){return"iana"===t.type&&t.name===this.name},r(e,[{key:"type",get:function(){return"iana"}},{key:"name",get:function(){return this.zoneName}},{key:"isUniversal",get:function(){return!1}},{key:"isValid",get:function(){return this.valid}}]),e}(jt),Rt=null,Pt=function(t){function e(e){var n;return(n=t.call(this)||this).fixed=e,n}s(e,t),e.instance=function(t){return 0===t?e.utcInstance:new e(t)},e.parseSpecifier=function(t){if(t){var n=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new e(lt(n[1],n[2]))}return null};var n=e.prototype;return n.offsetName=function(){return this.name},n.formatOffset=function(t,e){return mt(this.fixed,e)},n.offset=function(){return this.fixed},n.equals=function(t){return"fixed"===t.type&&t.fixed===this.fixed},r(e,[{key:"type",get:function(){return"fixed"}},{key:"name",get:function(){return 0===this.fixed?"UTC":"UTC"+mt(this.fixed,"narrow")}},{key:"ianaName",get:function(){return 0===this.fixed?"Etc/UTC":"Etc/GMT"+mt(-this.fixed,"narrow")}},{key:"isUniversal",get:function(){return!0}},{key:"isValid",get:function(){return!0}}],[{key:"utcInstance",get:function(){return null===Rt&&(Rt=new e(0)),Rt}}]),e}(jt),Yt=function(t){function e(e){var n;return(n=t.call(this)||this).zoneName=e,n}s(e,t);var n=e.prototype;return n.offsetName=function(){return null},n.formatOffset=function(){return""},n.offset=function(){return NaN},n.equals=function(){return!1},r(e,[{key:"type",get:function(){return"invalid"}},{key:"name",get:function(){return this.zoneName}},{key:"isUniversal",get:function(){return!1}},{key:"isValid",get:function(){return!1}}]),e}(jt);function Gt(t,e){if(U(t)||null===t)return e;if(t instanceof jt)return t;if("string"==typeof t){var n=t.toLowerCase();return"default"===n?e:"local"===n||"system"===n?zt.instance:"utc"===n||"gmt"===n?Pt.utcInstance:Pt.parseSpecifier(n)||qt.create(t)}return $(t)?Pt.instance(t):"object"==typeof t&&t.offset&&"number"==typeof t.offset?t:new Yt(t)}var Jt,Ut=function(){return Date.now()},$t="system",Vt=null,Bt=null,Kt=null,Qt=function(){function t(){}return t.resetCaches=function(){de.resetCache(),qt.resetCache()},r(t,null,[{key:"now",get:function(){return Ut},set:function(t){Ut=t}},{key:"defaultZone",get:function(){return Gt($t,zt.instance)},set:function(t){$t=t}},{key:"defaultLocale",get:function(){return Vt},set:function(t){Vt=t}},{key:"defaultNumberingSystem",get:function(){return Bt},set:function(t){Bt=t}},{key:"defaultOutputCalendar",get:function(){return Kt},set:function(t){Kt=t}},{key:"throwOnInvalid",get:function(){return Jt},set:function(t){Jt=t}}]),t}(),Xt=["base"],te=["padTo","floor"],ee={},ne={};function re(t,e){void 0===e&&(e={});var n=JSON.stringify([t,e]),r=ne[n];return r||(r=new Intl.DateTimeFormat(t,e),ne[n]=r),r}var ie={},se={},ue=null;function oe(t,e,n,r,i){var s=t.listingMode(n);return"error"===s?null:"en"===s?r(e):i(e)}var ae=function(){function t(t,e,n){this.padTo=n.padTo||0,this.floor=n.floor||!1;var r=d(n,te);if(!e||Object.keys(r).length>0){var s=i({useGrouping:!1},n);n.padTo>0&&(s.minimumIntegerDigits=n.padTo),this.inf=function(t,e){void 0===e&&(e={});var n=JSON.stringify([t,e]),r=ie[n];return r||(r=new Intl.NumberFormat(t,e),ie[n]=r),r}(t,s)}}return t.prototype.format=function(t){if(this.inf){var e=this.floor?Math.floor(t):t;return this.inf.format(e)}return tt(this.floor?Math.floor(t):it(t,3),this.padTo)},t}(),ce=function(){function t(t,e,n){var r;if(this.opts=n,t.zone.isUniversal){var s=t.offset/60*-1,u=s>=0?"Etc/GMT+"+s:"Etc/GMT"+s;0!==t.offset&&qt.create(u).valid?(r=u,this.dt=t):(r="UTC",this.dt=n.timeZoneName||0===t.offset?t:hr.fromMillis(t.ts+60*t.offset*1e3))}else"system"===t.zone.type?this.dt=t:(this.dt=t,r=t.zone.name);var o=i({},this.opts);r&&(o.timeZone=r),this.dtf=re(e,o)}var e=t.prototype;return e.format=function(){return this.dtf.format(this.dt.toJSDate())},e.formatToParts=function(){return this.dtf.formatToParts(this.dt.toJSDate())},e.resolvedOptions=function(){return this.dtf.resolvedOptions()},t}(),he=function(){function t(t,e,n){this.opts=i({style:"long"},n),!e&&B()&&(this.rtf=function(t,e){void 0===e&&(e={});var n=d(e,Xt),r=JSON.stringify([t,n]),i=se[r];return i||(i=new Intl.RelativeTimeFormat(t,e),se[r]=i),i}(t,n))}var e=t.prototype;return e.format=function(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,n,r){void 0===n&&(n="always"),void 0===r&&(r=!1);var i={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},s=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===n&&s){var u="days"===t;switch(e){case 1:return u?"tomorrow":"next "+i[t][0];case-1:return u?"yesterday":"last "+i[t][0];case 0:return u?"today":"this "+i[t][0]}}var o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,h=i[t],d=r?c?h[1]:h[2]||h[1]:c?i[t][0]:t;return o?a+" "+d+" ago":"in "+a+" "+d}(e,t,this.opts.numeric,"long"!==this.opts.style)},e.formatToParts=function(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]},t}(),de=function(){function t(t,e,n,r){var i=function(t){var e=t.indexOf("-u-");if(-1===e)return[t];var n,r=t.substring(0,e);try{n=re(t).resolvedOptions()}catch(t){n=re(r).resolvedOptions()}return[r,n.numberingSystem,n.calendar]}(t),s=i[1],u=i[2];this.locale=i[0],this.numberingSystem=e||s||null,this.outputCalendar=n||u||null,this.intl=function(t,e,n){return n||e?(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}t.fromOpts=function(e){return t.create(e.locale,e.numberingSystem,e.outputCalendar,e.defaultToEN)},t.create=function(e,n,r,i){void 0===i&&(i=!1);var s=e||Qt.defaultLocale;return new t(s||(i?"en-US":ue||(ue=(new Intl.DateTimeFormat).resolvedOptions().locale)),n||Qt.defaultNumberingSystem,r||Qt.defaultOutputCalendar,s)},t.resetCache=function(){ue=null,ne={},ie={},se={}},t.fromObject=function(e){var n=void 0===e?{}:e;return t.create(n.locale,n.numberingSystem,n.outputCalendar)};var e=t.prototype;return e.listingMode=function(){return this.isEnglish()&&!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar)?"en":"intl"},e.clone=function(e){return e&&0!==Object.getOwnPropertyNames(e).length?t.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,e.defaultToEN||!1):this},e.redefaultToEN=function(t){return void 0===t&&(t={}),this.clone(i({},t,{defaultToEN:!0}))},e.redefaultToSystem=function(t){return void 0===t&&(t={}),this.clone(i({},t,{defaultToEN:!1}))},e.months=function(t,e,n){var r=this;return void 0===e&&(e=!1),void 0===n&&(n=!0),oe(this,t,n,xt,(function(){var n=e?{month:t,day:"numeric"}:{month:t},i=e?"format":"standalone";return r.monthsCache[i][t]||(r.monthsCache[i][t]=function(t){for(var e=[],n=1;n<=12;n++){var r=hr.utc(2016,n,1);e.push(t(r))}return e}((function(t){return r.extract(t,n,"month")}))),r.monthsCache[i][t]}))},e.weekdays=function(t,e,n){var r=this;return void 0===e&&(e=!1),void 0===n&&(n=!0),oe(this,t,n,Nt,(function(){var n=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},i=e?"format":"standalone";return r.weekdaysCache[i][t]||(r.weekdaysCache[i][t]=function(t){for(var e=[],n=1;n<=7;n++){var r=hr.utc(2016,11,13+n);e.push(t(r))}return e}((function(t){return r.extract(t,n,"weekday")}))),r.weekdaysCache[i][t]}))},e.meridiems=function(t){var e=this;return void 0===t&&(t=!0),oe(this,void 0,t,(function(){return Et}),(function(){if(!e.meridiemCache){var t={hour:"numeric",hourCycle:"h12"};e.meridiemCache=[hr.utc(2016,11,13,9),hr.utc(2016,11,13,19)].map((function(n){return e.extract(n,t,"dayperiod")}))}return e.meridiemCache}))},e.eras=function(t,e){var n=this;return void 0===e&&(e=!0),oe(this,t,e,Ot,(function(){var e={era:t};return n.eraCache[t]||(n.eraCache[t]=[hr.utc(-40,1,1),hr.utc(2017,1,1)].map((function(t){return n.extract(t,e,"era")}))),n.eraCache[t]}))},e.extract=function(t,e,n){var r=this.dtFormatter(t,e).formatToParts().find((function(t){return t.type.toLowerCase()===n}));return r?r.value:null},e.numberFormatter=function(t){return void 0===t&&(t={}),new ae(this.intl,t.forceSimple||this.fastNumbers,t)},e.dtFormatter=function(t,e){return void 0===e&&(e={}),new ce(t,this.intl,e)},e.relFormatter=function(t){return void 0===t&&(t={}),new he(this.intl,this.isEnglish(),t)},e.listFormatter=function(t){return void 0===t&&(t={}),function(t,e){void 0===e&&(e={});var n=JSON.stringify([t,e]),r=ee[n];return r||(r=new Intl.ListFormat(t,e),ee[n]=r),r}(this.intl,t)},e.isEnglish=function(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")},e.equals=function(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar},r(t,[{key:"fastNumbers",get:function(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}}]),t}();function le(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e.reduce((function(t,e){return t+e.source}),"");return RegExp("^"+r+"$")}function fe(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return e.reduce((function(e,n){var r=e[0],s=e[1],u=n(t,e[2]),o=u[1],a=u[2];return[i({},r,u[0]),o||s,a]}),[{},null,1]).slice(0,2)}}function ve(t){if(null==t)return[null,null];for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];for(var i=0,s=n;i<s.length;i++){var u=s[i],o=u[0],a=u[1],c=o.exec(t);if(c)return a(c)}return[null,null]}function me(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t,n){var r,i={};for(r=0;r<e.length;r++)i[e[r]]=et(t[n+r]);return[i,null,n+r]}}var ye=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,ke=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,pe=RegExp(ke.source+("(?:"+ye.source+"?(?:\\[("+kt.source+")\\])?)?")),ge=RegExp("(?:T"+pe.source+")?"),we=me("weekYear","weekNumber","weekDay"),xe=me("year","ordinal"),be=RegExp(ke.source+" ?(?:"+ye.source+"|("+kt.source+"))?"),Me=RegExp("(?: "+be.source+")?");function Te(t,e,n){var r=t[e];return U(r)?n:et(r)}function Ne(t,e){return[{hours:Te(t,e,0),minutes:Te(t,e+1,0),seconds:Te(t,e+2,0),milliseconds:rt(t[e+3])},null,e+4]}function Ee(t,e){var n=!t[e]&&!t[e+1],r=lt(t[e+1],t[e+2]);return[{},n?null:Pt.instance(r),e+3]}function Se(t,e){return[{},t[e]?qt.create(t[e]):null,e+1]}var De=RegExp("^T?"+ke.source+"$"),Ie=/^-?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 Oe(t){var e=t[2],n=t[3],r=t[4],i=t[5],s=t[6],u=t[7],o=t[8],a="-"===t[0][0],c=u&&"-"===u[0],h=function(t,e){return void 0===e&&(e=!1),void 0!==t&&(e||t&&a)?-t:t};return[{years:h(nt(t[1])),months:h(nt(e)),weeks:h(nt(n)),days:h(nt(r)),hours:h(nt(i)),minutes:h(nt(s)),seconds:h(nt(u),"-0"===u),milliseconds:h(rt(o),c)}]}var Ae={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ce(t,e,n,r,i,s,u){var o={year:2===e.length?ht(et(e)):et(e),month:gt.indexOf(n)+1,day:et(r),hour:et(i),minute:et(s)};return u&&(o.second=et(u)),t&&(o.weekday=t.length>3?bt.indexOf(t)+1:Mt.indexOf(t)+1),o}var Ze=/^(?:(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 _e(t){var e,n=t[8],r=t[9],i=t[10],s=t[11],u=Ce(t[1],t[4],t[3],t[2],t[5],t[6],t[7]);return e=n?Ae[n]:r?0:lt(i,s),[u,new Pt(e)]}var je=/^(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$/,Le=/^(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$/,ze=/^(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 Fe(t){return[Ce(t[1],t[4],t[3],t[2],t[5],t[6],t[7]),Pt.utcInstance]}function He(t){return[Ce(t[1],t[7],t[2],t[3],t[4],t[5],t[6]),Pt.utcInstance]}var We=le(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,ge),qe=le(/(\d{4})-?W(\d\d)(?:-?(\d))?/,ge),Re=le(/(\d{4})-?(\d{3})/,ge),Pe=le(pe),Ye=fe((function(t,e){return[{year:Te(t,e),month:Te(t,e+1,1),day:Te(t,e+2,1)},null,e+3]}),Ne,Ee,Se),Ge=fe(we,Ne,Ee,Se),Je=fe(xe,Ne,Ee,Se),Ue=fe(Ne,Ee,Se),$e=fe(Ne),Ve=le(/(\d{4})-(\d\d)-(\d\d)/,Me),Be=le(be),Ke=fe(Ne,Ee,Se),Qe={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}},Xe=i({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}},Qe),tn=i({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}},Qe),en=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],nn=en.slice(0).reverse();function rn(t,e,n){void 0===n&&(n=!1);var r={values:n?e.values:i({},t.values,e.values||{}),loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new un(r)}function sn(t,e,n,r,i){var s=t[i][n],u=e[n]/s,o=Math.sign(u)!==Math.sign(r[i])&&0!==r[i]&&Math.abs(u)<=1?function(t){return t<0?Math.floor(t):Math.ceil(t)}(u):Math.trunc(u);r[i]+=o,e[n]-=o*s}var un=function(){function t(t){var e="longterm"===t.conversionAccuracy||!1,n=e?tn:Xe;t.matrix&&(n=t.matrix),this.values=t.values,this.loc=t.loc||de.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=n,this.isLuxonDuration=!0}t.fromMillis=function(e,n){return t.fromObject({milliseconds:e},n)},t.fromObject=function(e,n){if(void 0===n&&(n={}),null==e||"object"!=typeof e)throw new w("Duration.fromObject: argument expected to be an object, got "+(null===e?"null":typeof e));return new t({values:vt(e,t.normalizeUnit),loc:de.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})},t.fromDurationLike=function(e){if($(e))return t.fromMillis(e);if(t.isDuration(e))return e;if("object"==typeof e)return t.fromObject(e);throw new w("Unknown duration argument "+e+" of type "+typeof e)},t.fromISO=function(e,n){var r=function(t){return ve(t,[Ie,Oe])}(e)[0];return r?t.fromObject(r,n):t.invalid("unparsable",'the input "'+e+"\" can't be parsed as ISO 8601")},t.fromISOTime=function(e,n){var r=function(t){return ve(t,[De,$e])}(e)[0];return r?t.fromObject(r,n):t.invalid("unparsable",'the input "'+e+"\" can't be parsed as ISO 8601")},t.invalid=function(e,n){if(void 0===n&&(n=null),!e)throw new w("need to specify a reason the Duration is invalid");var r=e instanceof _t?e:new _t(e,n);if(Qt.throwOnInvalid)throw new k(r);return new t({invalid:r})},t.normalizeUnit=function(t){var 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 g(t);return e},t.isDuration=function(t){return t&&t.isLuxonDuration||!1};var e=t.prototype;return e.toFormat=function(t,e){void 0===e&&(e={});var n=i({},e,{floor:!1!==e.round&&!1!==e.floor});return this.isValid?Zt.create(this.loc,n).formatDurationFromString(this,t):"Invalid Duration"},e.toHuman=function(t){var e=this;void 0===t&&(t={});var n=en.map((function(n){var r=e.values[n];return U(r)?null:e.loc.numberFormatter(i({style:"unit",unitDisplay:"long"},t,{unit:n.slice(0,-1)})).format(r)})).filter((function(t){return t}));return this.loc.listFormatter(i({type:"conjunction",style:t.listStyle||"narrow"},t)).format(n)},e.toObject=function(){return this.isValid?i({},this.values):{}},e.toISO=function(){if(!this.isValid)return null;var 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+=it(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t},e.toISOTime=function(t){if(void 0===t&&(t={}),!this.isValid)return null;var e=this.toMillis();if(e<0||e>=864e5)return null;t=i({suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended"},t);var n=this.shiftTo("hours","minutes","seconds","milliseconds"),r="basic"===t.format?"hhmm":"hh:mm";t.suppressSeconds&&0===n.seconds&&0===n.milliseconds||(r+="basic"===t.format?"ss":":ss",t.suppressMilliseconds&&0===n.milliseconds||(r+=".SSS"));var s=n.toFormat(r);return t.includePrefix&&(s="T"+s),s},e.toJSON=function(){return this.toISO()},e.toString=function(){return this.toISO()},e.toMillis=function(){return this.as("milliseconds")},e.valueOf=function(){return this.toMillis()},e.plus=function(e){if(!this.isValid)return this;for(var n,r=t.fromDurationLike(e),i={},s=f(en);!(n=s()).done;){var u=n.value;(Q(r.values,u)||Q(this.values,u))&&(i[u]=r.get(u)+this.get(u))}return rn(this,{values:i},!0)},e.minus=function(e){if(!this.isValid)return this;var n=t.fromDurationLike(e);return this.plus(n.negate())},e.mapUnits=function(t){if(!this.isValid)return this;for(var e={},n=0,r=Object.keys(this.values);n<r.length;n++){var i=r[n];e[i]=ft(t(this.values[i],i))}return rn(this,{values:e},!0)},e.get=function(e){return this[t.normalizeUnit(e)]},e.set=function(e){return this.isValid?rn(this,{values:i({},this.values,vt(e,t.normalizeUnit))}):this},e.reconfigure=function(t){var e=void 0===t?{}:t,n=e.conversionAccuracy,r=e.matrix;return rn(this,{loc:this.loc.clone({locale:e.locale,numberingSystem:e.numberingSystem}),matrix:r,conversionAccuracy:n})},e.as=function(t){return this.isValid?this.shiftTo(t).get(t):NaN},e.normalize=function(){if(!this.isValid)return this;var t=this.toObject();return function(t,e){nn.reduce((function(n,r){return U(e[r])?n:(n&&sn(t,e,n,e,r),r)}),null)}(this.matrix,t),rn(this,{values:t},!0)},e.shiftTo=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];if(!this.isValid)return this;if(0===n.length)return this;n=n.map((function(e){return t.normalizeUnit(e)}));for(var i,s,u={},o={},a=this.toObject(),c=f(en);!(s=c()).done;){var h=s.value;if(n.indexOf(h)>=0){i=h;var d=0;for(var l in o)d+=this.matrix[l][h]*o[l],o[l]=0;$(a[h])&&(d+=a[h]);var v=Math.trunc(d);for(var m in u[h]=v,o[h]=(1e3*d-1e3*v)/1e3,a)en.indexOf(m)>en.indexOf(h)&&sn(this.matrix,a,m,u,h)}else $(a[h])&&(o[h]=a[h])}for(var y in o)0!==o[y]&&(u[i]+=y===i?o[y]:o[y]/this.matrix[i][y]);return rn(this,{values:u},!0).normalize()},e.negate=function(){if(!this.isValid)return this;for(var t={},e=0,n=Object.keys(this.values);e<n.length;e++){var r=n[e];t[r]=0===this.values[r]?0:-this.values[r]}return rn(this,{values:t},!0)},e.equals=function(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(var e,n=f(en);!(e=n()).done;){var r=e.value;if(s=t.values[r],!(void 0===(i=this.values[r])||0===i?void 0===s||0===s:i===s))return!1}var i,s;return!0},r(t,[{key:"locale",get:function(){return this.isValid?this.loc.locale:null}},{key:"numberingSystem",get:function(){return this.isValid?this.loc.numberingSystem:null}},{key:"years",get:function(){return this.isValid?this.values.years||0:NaN}},{key:"quarters",get:function(){return this.isValid?this.values.quarters||0:NaN}},{key:"months",get:function(){return this.isValid?this.values.months||0:NaN}},{key:"weeks",get:function(){return this.isValid?this.values.weeks||0:NaN}},{key:"days",get:function(){return this.isValid?this.values.days||0:NaN}},{key:"hours",get:function(){return this.isValid?this.values.hours||0:NaN}},{key:"minutes",get:function(){return this.isValid?this.values.minutes||0:NaN}},{key:"seconds",get:function(){return this.isValid?this.values.seconds||0:NaN}},{key:"milliseconds",get:function(){return this.isValid?this.values.milliseconds||0:NaN}},{key:"isValid",get:function(){return null===this.invalid}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}}]),t}(),on="Invalid Interval";function an(t,e){return t&&t.isValid?e&&e.isValid?e<t?cn.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:cn.invalid("missing or invalid end"):cn.invalid("missing or invalid start")}var cn=function(){function t(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}t.invalid=function(e,n){if(void 0===n&&(n=null),!e)throw new w("need to specify a reason the Interval is invalid");var r=e instanceof _t?e:new _t(e,n);if(Qt.throwOnInvalid)throw new y(r);return new t({invalid:r})},t.fromDateTimes=function(e,n){var r=dr(e),i=dr(n),s=an(r,i);return null==s?new t({start:r,end:i}):s},t.after=function(e,n){var r=un.fromDurationLike(n),i=dr(e);return t.fromDateTimes(i,i.plus(r))},t.before=function(e,n){var r=un.fromDurationLike(n),i=dr(e);return t.fromDateTimes(i.minus(r),i)},t.fromISO=function(e,n){var r=(e||"").split("/",2),i=r[0],s=r[1];if(i&&s){var u,o,a,c;try{o=(u=hr.fromISO(i,n)).isValid}catch(s){o=!1}try{c=(a=hr.fromISO(s,n)).isValid}catch(s){c=!1}if(o&&c)return t.fromDateTimes(u,a);if(o){var h=un.fromISO(s,n);if(h.isValid)return t.after(u,h)}else if(c){var d=un.fromISO(i,n);if(d.isValid)return t.before(a,d)}}return t.invalid("unparsable",'the input "'+e+"\" can't be parsed as ISO 8601")},t.isInterval=function(t){return t&&t.isLuxonInterval||!1};var e=t.prototype;return e.length=function(t){return void 0===t&&(t="milliseconds"),this.isValid?this.toDuration.apply(this,[t]).get(t):NaN},e.count=function(t){if(void 0===t&&(t="milliseconds"),!this.isValid)return NaN;var e=this.start.startOf(t),n=this.end.startOf(t);return Math.floor(n.diff(e,t).get(t))+1},e.hasSame=function(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))},e.isEmpty=function(){return this.s.valueOf()===this.e.valueOf()},e.isAfter=function(t){return!!this.isValid&&this.s>t},e.isBefore=function(t){return!!this.isValid&&this.e<=t},e.contains=function(t){return!!this.isValid&&this.s<=t&&this.e>t},e.set=function(e){var n=void 0===e?{}:e;return this.isValid?t.fromDateTimes(n.start||this.s,n.end||this.e):this},e.splitAt=function(){var e=this;if(!this.isValid)return[];for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];for(var s=r.map(dr).filter((function(t){return e.contains(t)})).sort(),u=[],o=this.s,a=0;o<this.e;){var c=s[a]||this.e,h=+c>+this.e?this.e:c;u.push(t.fromDateTimes(o,h)),o=h,a+=1}return u},e.splitBy=function(e){var n=un.fromDurationLike(e);if(!this.isValid||!n.isValid||0===n.as("milliseconds"))return[];for(var r,i=this.s,s=1,u=[];i<this.e;){var o=this.start.plus(n.mapUnits((function(t){return t*s})));u.push(t.fromDateTimes(i,r=+o>+this.e?this.e:o)),i=r,s+=1}return u},e.divideEqually=function(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]},e.overlaps=function(t){return this.e>t.s&&this.s<t.e},e.abutsStart=function(t){return!!this.isValid&&+this.e==+t.s},e.abutsEnd=function(t){return!!this.isValid&&+t.e==+this.s},e.engulfs=function(t){return!!this.isValid&&this.s<=t.s&&this.e>=t.e},e.equals=function(t){return!(!this.isValid||!t.isValid)&&this.s.equals(t.s)&&this.e.equals(t.e)},e.intersection=function(e){if(!this.isValid)return this;var n=this.s>e.s?this.s:e.s,r=this.e<e.e?this.e:e.e;return n>=r?null:t.fromDateTimes(n,r)},e.union=function(e){return this.isValid?t.fromDateTimes(this.s<e.s?this.s:e.s,this.e>e.e?this.e:e.e):this},t.merge=function(t){var e=t.sort((function(t,e){return t.s-e.s})).reduce((function(t,e){var n=t[0],r=t[1];return r?r.overlaps(e)||r.abutsStart(e)?[n,r.union(e)]:[n.concat([r]),e]:[n,e]}),[[],null]),n=e[0],r=e[1];return r&&n.push(r),n},t.xor=function(e){for(var n,r,i=null,s=0,u=[],o=e.map((function(t){return[{time:t.s,type:"s"},{time:t.e,type:"e"}]})),a=f((n=Array.prototype).concat.apply(n,o).sort((function(t,e){return t.time-e.time})));!(r=a()).done;){var c=r.value;1===(s+="s"===c.type?1:-1)?i=c.time:(i&&+i!=+c.time&&u.push(t.fromDateTimes(i,c.time)),i=null)}return t.merge(u)},e.difference=function(){for(var e=this,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return t.xor([this].concat(r)).map((function(t){return e.intersection(t)})).filter((function(t){return t&&!t.isEmpty()}))},e.toString=function(){return this.isValid?"["+this.s.toISO()+" – "+this.e.toISO()+")":on},e.toISO=function(t){return this.isValid?this.s.toISO(t)+"/"+this.e.toISO(t):on},e.toISODate=function(){return this.isValid?this.s.toISODate()+"/"+this.e.toISODate():on},e.toISOTime=function(t){return this.isValid?this.s.toISOTime(t)+"/"+this.e.toISOTime(t):on},e.toFormat=function(t,e){var n=(void 0===e?{}:e).separator,r=void 0===n?" – ":n;return this.isValid?""+this.s.toFormat(t)+r+this.e.toFormat(t):on},e.toDuration=function(t,e){return this.isValid?this.e.diff(this.s,t,e):un.invalid(this.invalidReason)},e.mapEndpoints=function(e){return t.fromDateTimes(e(this.s),e(this.e))},r(t,[{key:"start",get:function(){return this.isValid?this.s:null}},{key:"end",get:function(){return this.isValid?this.e:null}},{key:"isValid",get:function(){return null===this.invalidReason}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}}]),t}(),hn=function(){function t(){}return t.hasDST=function(t){void 0===t&&(t=Qt.defaultZone);var e=hr.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset},t.isValidIANAZone=function(t){return qt.isValidZone(t)},t.normalizeZone=function(t){return Gt(t,Qt.defaultZone)},t.months=function(t,e){void 0===t&&(t="long");var n=void 0===e?{}:e,r=n.locale,i=n.numberingSystem,s=n.locObj,u=n.outputCalendar;return((void 0===s?null:s)||de.create(void 0===r?null:r,void 0===i?null:i,void 0===u?"gregory":u)).months(t)},t.monthsFormat=function(t,e){void 0===t&&(t="long");var n=void 0===e?{}:e,r=n.locale,i=n.numberingSystem,s=n.locObj,u=n.outputCalendar;return((void 0===s?null:s)||de.create(void 0===r?null:r,void 0===i?null:i,void 0===u?"gregory":u)).months(t,!0)},t.weekdays=function(t,e){void 0===t&&(t="long");var n=void 0===e?{}:e,r=n.locale,i=n.numberingSystem,s=n.locObj;return((void 0===s?null:s)||de.create(void 0===r?null:r,void 0===i?null:i,null)).weekdays(t)},t.weekdaysFormat=function(t,e){void 0===t&&(t="long");var n=void 0===e?{}:e,r=n.locale,i=n.numberingSystem,s=n.locObj;return((void 0===s?null:s)||de.create(void 0===r?null:r,void 0===i?null:i,null)).weekdays(t,!0)},t.meridiems=function(t){var e=(void 0===t?{}:t).locale;return de.create(void 0===e?null:e).meridiems()},t.eras=function(t,e){void 0===t&&(t="short");var n=(void 0===e?{}:e).locale;return de.create(void 0===n?null:n,null,"gregory").eras(t)},t.features=function(){return{relative:B()}},t}();function dn(t,e){var n=function(t){return t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf()},r=n(e)-n(t);return Math.floor(un.fromMillis(r).as("days"))}var ln={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},fn={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]},vn=ln.hanidec.replace(/[\[|\]]/g,"").split("");function mn(t,e){return void 0===e&&(e=""),new RegExp(""+ln[t.numberingSystem||"latn"]+e)}function yn(t,e){return void 0===e&&(e=function(t){return t}),{regex:t,deser:function(t){return e(function(t){var e=parseInt(t,10);if(isNaN(e)){e="";for(var n=0;n<t.length;n++){var r=t.charCodeAt(n);if(-1!==t[n].search(ln.hanidec))e+=vn.indexOf(t[n]);else for(var i in fn){var s=fn[i],u=s[0];r>=u&&r<=s[1]&&(e+=r-u)}}return parseInt(e,10)}return e}(t[0]))}}}var kn="[ "+String.fromCharCode(160)+"]",pn=new RegExp(kn,"g");function gn(t){return t.replace(/\./g,"\\.?").replace(pn,kn)}function wn(t){return t.replace(/\./g,"").replace(pn," ").toLowerCase()}function xn(t,e){return null===t?null:{regex:RegExp(t.map(gn).join("|")),deser:function(n){var r=n[0];return t.findIndex((function(t){return wn(r)===wn(t)}))+e}}}function bn(t,e){return{regex:t,deser:function(t){return lt(t[1],t[2])},groups:e}}function Mn(t){return{regex:t,deser:function(t){return t[0]}}}var Tn={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",hour:{numeric:"h","2-digit":"hh"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}},Nn=null;function En(t,e){var n;return(n=Array.prototype).concat.apply(n,t.map((function(t){return function(t,e){if(t.literal)return t;var n=Dn(Zt.macroTokenToFormatOpts(t.val),e);return null==n||n.includes(void 0)?t:n}(t,e)})))}function Sn(t,e,n){var r=En(Zt.parseFormat(n),t),i=r.map((function(e){return n=e,i=mn(r=t),s=mn(r,"{2}"),u=mn(r,"{3}"),o=mn(r,"{4}"),a=mn(r,"{6}"),c=mn(r,"{1,2}"),h=mn(r,"{1,3}"),d=mn(r,"{1,6}"),l=mn(r,"{1,9}"),f=mn(r,"{2,4}"),v=mn(r,"{4,6}"),m=function(t){return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:function(t){return t[0]},literal:!0};var e},(y=function(t){if(n.literal)return m(t);switch(t.val){case"G":return xn(r.eras("short",!1),0);case"GG":return xn(r.eras("long",!1),0);case"y":return yn(d);case"yy":return yn(f,ht);case"yyyy":return yn(o);case"yyyyy":return yn(v);case"yyyyyy":return yn(a);case"M":return yn(c);case"MM":return yn(s);case"MMM":return xn(r.months("short",!0,!1),1);case"MMMM":return xn(r.months("long",!0,!1),1);case"L":return yn(c);case"LL":return yn(s);case"LLL":return xn(r.months("short",!1,!1),1);case"LLLL":return xn(r.months("long",!1,!1),1);case"d":return yn(c);case"dd":return yn(s);case"o":return yn(h);case"ooo":return yn(u);case"HH":return yn(s);case"H":return yn(c);case"hh":return yn(s);case"h":return yn(c);case"mm":return yn(s);case"m":case"q":return yn(c);case"qq":return yn(s);case"s":return yn(c);case"ss":return yn(s);case"S":return yn(h);case"SSS":return yn(u);case"u":return Mn(l);case"uu":return Mn(c);case"uuu":return yn(i);case"a":return xn(r.meridiems(),0);case"kkkk":return yn(o);case"kk":return yn(f,ht);case"W":return yn(c);case"WW":return yn(s);case"E":case"c":return yn(i);case"EEE":return xn(r.weekdays("short",!1,!1),1);case"EEEE":return xn(r.weekdays("long",!1,!1),1);case"ccc":return xn(r.weekdays("short",!0,!1),1);case"cccc":return xn(r.weekdays("long",!0,!1),1);case"Z":case"ZZ":return bn(new RegExp("([+-]"+c.source+")(?::("+s.source+"))?"),2);case"ZZZ":return bn(new RegExp("([+-]"+c.source+")("+s.source+")?"),2);case"z":return Mn(/[a-z_+-/]{1,256}?/i);default:return m(t)}}(n)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"}).token=n,y;var n,r,i,s,u,o,a,c,h,d,l,f,v,m,y})),s=i.find((function(t){return t.invalidReason}));if(s)return{input:e,tokens:r,invalidReason:s.invalidReason};var u=function(t){return["^"+t.map((function(t){return t.regex})).reduce((function(t,e){return t+"("+e.source+")"}),"")+"$",t]}(i),o=u[1],a=RegExp(u[0],"i"),c=function(t,e,n){var r=t.match(e);if(r){var i={},s=1;for(var u in n)if(Q(n,u)){var o=n[u],a=o.groups?o.groups+1:1;!o.literal&&o.token&&(i[o.token.val[0]]=o.deser(r.slice(s,s+a))),s+=a}return[r,i]}return[r,{}]}(e,a,o),h=c[0],d=c[1],l=d?function(t){var e,n=null;return U(t.z)||(n=qt.create(t.z)),U(t.Z)||(n||(n=new Pt(t.Z)),e=t.Z),U(t.q)||(t.M=3*(t.q-1)+1),U(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),U(t.u)||(t.S=rt(t.u)),[Object.keys(t).reduce((function(e,n){var r=function(t){switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}}(n);return r&&(e[r]=t[n]),e}),{}),n,e]}(d):[null,null,void 0],f=l[0],v=l[1],m=l[2];if(Q(d,"a")&&Q(d,"H"))throw new p("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:r,regex:a,rawMatches:h,matches:d,result:f,zone:v,specificOffset:m}}function Dn(t,e){return t?Zt.create(e,t).formatDateTimeParts((Nn||(Nn=hr.fromMillis(1555555555555)),Nn)).map((function(e){return function(t,e,n){var r=t.type;if("literal"===r)return{literal:!0,val:t.value};var i=Tn[r];return"object"==typeof i&&(i=i[n[r]]),i?{literal:!1,val:i}:void 0}(e,0,t)})):null}var In=[0,31,59,90,120,151,181,212,243,273,304,334],On=[0,31,60,91,121,152,182,213,244,274,305,335];function An(t,e){return new _t("unit out of range","you specified "+e+" (of type "+typeof e+") as a "+t+", which is invalid")}function Cn(t,e,n){var r=new Date(Date.UTC(t,e-1,n));t<100&&t>=0&&r.setUTCFullYear(r.getUTCFullYear()-1900);var i=r.getUTCDay();return 0===i?7:i}function Zn(t,e,n){return n+(st(t)?On:In)[e-1]}function _n(t,e){var n=st(t)?On:In,r=n.findIndex((function(t){return t<e}));return{month:r+1,day:e-n[r]}}function jn(t){var e,n=t.year,r=t.month,s=t.day,u=Zn(n,r,s),o=Cn(n,r,s),a=Math.floor((u-o+10)/7);return a<1?a=ct(e=n-1):a>ct(n)?(e=n+1,a=1):e=n,i({weekYear:e,weekNumber:a,weekday:o},yt(t))}function Ln(t){var e,n=t.weekYear,r=t.weekNumber,s=t.weekday,u=Cn(n,1,4),o=ut(n),a=7*r+s-u-3;a<1?a+=ut(e=n-1):a>o?(e=n+1,a-=ut(n)):e=n;var c=_n(e,a);return i({year:e,month:c.month,day:c.day},yt(t))}function zn(t){var e=t.year;return i({year:e,ordinal:Zn(e,t.month,t.day)},yt(t))}function Fn(t){var e=t.year,n=_n(e,t.ordinal);return i({year:e,month:n.month,day:n.day},yt(t))}function Hn(t){var e=V(t.year),n=X(t.month,1,12),r=X(t.day,1,ot(t.year,t.month));return e?n?!r&&An("day",t.day):An("month",t.month):An("year",t.year)}function Wn(t){var e=t.hour,n=t.minute,r=t.second,i=t.millisecond,s=X(e,0,23)||24===e&&0===n&&0===r&&0===i,u=X(n,0,59),o=X(r,0,59),a=X(i,0,999);return s?u?o?!a&&An("millisecond",i):An("second",r):An("minute",n):An("hour",e)}var qn="Invalid DateTime",Rn=864e13;function Pn(t){return new _t("unsupported zone",'the zone "'+t.name+'" is not supported')}function Yn(t){return null===t.weekData&&(t.weekData=jn(t.c)),t.weekData}function Gn(t,e){var n={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new hr(i({},n,e,{old:n}))}function Jn(t,e,n){var r=t-60*e*1e3,i=n.offset(r);if(e===i)return[r,e];var s=n.offset(r-=60*(i-e)*1e3);return i===s?[r,i]:[t-60*Math.min(i,s)*1e3,Math.max(i,s)]}function Un(t,e){var 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 $n(t,e,n){return Jn(at(t),e,n)}function Vn(t,e){var n=t.o,r=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),u=i({},t.c,{year:r,month:s,day:Math.min(t.c.day,ot(r,s))+Math.trunc(e.days)+7*Math.trunc(e.weeks)}),o=un.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"),a=Jn(at(u),n,t.zone),c=a[0],h=a[1];return 0!==o&&(h=t.zone.offset(c+=o)),{ts:c,o:h}}function Bn(t,e,n,r,s,u){var o=n.setZone,a=n.zone;if(t&&0!==Object.keys(t).length){var c=hr.fromObject(t,i({},n,{zone:e||a,specificOffset:u}));return o?c:c.setZone(a)}return hr.invalid(new _t("unparsable",'the input "'+s+"\" can't be parsed as "+r))}function Kn(t,e,n){return void 0===n&&(n=!0),t.isValid?Zt.create(de.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Qn(t,e){var n=t.c.year>9999||t.c.year<0,r="";return n&&t.c.year>=0&&(r+="+"),r+=tt(t.c.year,n?6:4),e?(r+="-",r+=tt(t.c.month),r+="-",r+=tt(t.c.day)):(r+=tt(t.c.month),r+=tt(t.c.day)),r}function Xn(t,e,n,r,i,s){var u=tt(t.c.hour);return e?(u+=":",u+=tt(t.c.minute),0===t.c.second&&n||(u+=":")):u+=tt(t.c.minute),0===t.c.second&&n||(u+=tt(t.c.second),0===t.c.millisecond&&r||(u+=".",u+=tt(t.c.millisecond,3))),i&&(t.isOffsetFixed&&0===t.offset&&!s?u+="Z":t.o<0?(u+="-",u+=tt(Math.trunc(-t.o/60)),u+=":",u+=tt(Math.trunc(-t.o%60))):(u+="+",u+=tt(Math.trunc(t.o/60)),u+=":",u+=tt(Math.trunc(t.o%60)))),s&&(u+="["+t.zone.ianaName+"]"),u}var tr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},er={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},nr={ordinal:1,hour:0,minute:0,second:0,millisecond:0},rr=["year","month","day","hour","minute","second","millisecond"],ir=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],sr=["year","ordinal","hour","minute","second","millisecond"];function ur(t){var 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 g(t);return e}function or(t,e){var n,r,i=Gt(e.zone,Qt.defaultZone),s=de.fromObject(e),u=Qt.now();if(U(t.year))n=u;else{for(var o,a=f(rr);!(o=a()).done;){var c=o.value;U(t[c])&&(t[c]=tr[c])}var h=Hn(t)||Wn(t);if(h)return hr.invalid(h);var d=$n(t,i.offset(u),i);n=d[0],r=d[1]}return new hr({ts:n,zone:i,loc:s,o:r})}function ar(t,e,n){var r=!!U(n.round)||n.round,i=function(t,i){return t=it(t,r||n.calendary?0:2,!0),e.loc.clone(n).relFormatter(n).format(t,i)},s=function(r){return n.calendary?e.hasSame(t,r)?0:e.startOf(r).diff(t.startOf(r),r).get(r):e.diff(t,r).get(r)};if(n.unit)return i(s(n.unit),n.unit);for(var u,o=f(n.units);!(u=o()).done;){var a=u.value,c=s(a);if(Math.abs(c)>=1)return i(c,a)}return i(t>e?-0:0,n.units[n.units.length-1])}function cr(t){var 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]}var hr=function(){function t(t){var e=t.zone||Qt.defaultZone,n=t.invalid||(Number.isNaN(t.ts)?new _t("invalid input"):null)||(e.isValid?null:Pn(e));this.ts=U(t.ts)?Qt.now():t.ts;var r=null,i=null;if(!n)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e)){var s=[t.old.c,t.old.o];r=s[0],i=s[1]}else{var u=e.offset(this.ts);r=Un(this.ts,u),r=(n=Number.isNaN(r.year)?new _t("invalid input"):null)?null:r,i=n?null:u}this._zone=e,this.loc=t.loc||de.create(),this.invalid=n,this.weekData=null,this.c=r,this.o=i,this.isLuxonDateTime=!0}t.now=function(){return new t({})},t.local=function(){var t=cr(arguments),e=t[0],n=t[1],r=n[0],i=n[1],s=n[2],u=n[3],o=n[4],a=n[5],c=n[6];return or({year:r,month:i,day:s,hour:u,minute:o,second:a,millisecond:c},e)},t.utc=function(){var t=cr(arguments),e=t[0],n=t[1],r=n[0],i=n[1],s=n[2],u=n[3],o=n[4],a=n[5],c=n[6];return e.zone=Pt.utcInstance,or({year:r,month:i,day:s,hour:u,minute:o,second:a,millisecond:c},e)},t.fromJSDate=function(e,n){void 0===n&&(n={});var r="[object Date]"===Object.prototype.toString.call(e)?e.valueOf():NaN;if(Number.isNaN(r))return t.invalid("invalid input");var i=Gt(n.zone,Qt.defaultZone);return i.isValid?new t({ts:r,zone:i,loc:de.fromObject(n)}):t.invalid(Pn(i))},t.fromMillis=function(e,n){if(void 0===n&&(n={}),$(e))return e<-Rn||e>Rn?t.invalid("Timestamp out of range"):new t({ts:e,zone:Gt(n.zone,Qt.defaultZone),loc:de.fromObject(n)});throw new w("fromMillis requires a numerical input, but received a "+typeof e+" with value "+e)},t.fromSeconds=function(e,n){if(void 0===n&&(n={}),$(e))return new t({ts:1e3*e,zone:Gt(n.zone,Qt.defaultZone),loc:de.fromObject(n)});throw new w("fromSeconds requires a numerical input")},t.fromObject=function(e,n){void 0===n&&(n={}),e=e||{};var r=Gt(n.zone,Qt.defaultZone);if(!r.isValid)return t.invalid(Pn(r));var i=Qt.now(),s=U(n.specificOffset)?r.offset(i):n.specificOffset,u=vt(e,ur),o=!U(u.ordinal),a=!U(u.year),c=!U(u.month)||!U(u.day),h=a||c,d=u.weekYear||u.weekNumber,l=de.fromObject(n);if((h||o)&&d)throw new p("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(c&&o)throw new p("Can't mix ordinal dates with month/day");var v,m,y=d||u.weekday&&!h,k=Un(i,s);y?(v=ir,m=er,k=jn(k)):o?(v=sr,m=nr,k=zn(k)):(v=rr,m=tr);for(var g,w=!1,x=f(v);!(g=x()).done;){var b=g.value;U(u[b])?u[b]=w?m[b]:k[b]:w=!0}var M=(y?function(t){var e=V(t.weekYear),n=X(t.weekNumber,1,ct(t.weekYear)),r=X(t.weekday,1,7);return e?n?!r&&An("weekday",t.weekday):An("week",t.week):An("weekYear",t.weekYear)}(u):o?function(t){var e=V(t.year),n=X(t.ordinal,1,ut(t.year));return e?!n&&An("ordinal",t.ordinal):An("year",t.year)}(u):Hn(u))||Wn(u);if(M)return t.invalid(M);var T=$n(y?Ln(u):o?Fn(u):u,s,r),N=new t({ts:T[0],zone:r,o:T[1],loc:l});return u.weekday&&h&&e.weekday!==N.weekday?t.invalid("mismatched weekday","you can't specify both a weekday of "+u.weekday+" and a date of "+N.toISO()):N},t.fromISO=function(t,e){void 0===e&&(e={});var n=function(t){return ve(t,[We,Ye],[qe,Ge],[Re,Je],[Pe,Ue])}(t);return Bn(n[0],n[1],e,"ISO 8601",t)},t.fromRFC2822=function(t,e){void 0===e&&(e={});var n=function(t){return ve(function(t){return t.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Ze,_e])}(t);return Bn(n[0],n[1],e,"RFC 2822",t)},t.fromHTTP=function(t,e){void 0===e&&(e={});var n=function(t){return ve(t,[je,Fe],[Le,Fe],[ze,He])}(t);return Bn(n[0],n[1],e,"HTTP",e)},t.fromFormat=function(e,n,r){if(void 0===r&&(r={}),U(e)||U(n))throw new w("fromFormat requires an input string and a format");var i,s,u=r.locale,o=r.numberingSystem,a=(i=de.fromOpts({locale:void 0===u?null:u,numberingSystem:void 0===o?null:o,defaultToEN:!0}),[(s=Sn(i,e,n)).result,s.zone,s.specificOffset,s.invalidReason]),c=a[0],h=a[1],d=a[2],l=a[3];return l?t.invalid(l):Bn(c,h,r,"format "+n,e,d)},t.fromString=function(e,n,r){return void 0===r&&(r={}),t.fromFormat(e,n,r)},t.fromSQL=function(t,e){void 0===e&&(e={});var n=function(t){return ve(t,[Ve,Ye],[Be,Ke])}(t);return Bn(n[0],n[1],e,"SQL",t)},t.invalid=function(e,n){if(void 0===n&&(n=null),!e)throw new w("need to specify a reason the DateTime is invalid");var r=e instanceof _t?e:new _t(e,n);if(Qt.throwOnInvalid)throw new m(r);return new t({invalid:r})},t.isDateTime=function(t){return t&&t.isLuxonDateTime||!1},t.parseFormatForOpts=function(t,e){void 0===e&&(e={});var n=Dn(t,de.fromObject(e));return n?n.map((function(t){return t?t.val:null})).join(""):null},t.expandFormat=function(t,e){return void 0===e&&(e={}),En(Zt.parseFormat(t),de.fromObject(e)).map((function(t){return t.val})).join("")};var e=t.prototype;return e.get=function(t){return this[t]},e.resolvedLocaleOptions=function(t){void 0===t&&(t={});var e=Zt.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e.locale,numberingSystem:e.numberingSystem,outputCalendar:e.calendar}},e.toUTC=function(t,e){return void 0===t&&(t=0),void 0===e&&(e={}),this.setZone(Pt.instance(t),e)},e.toLocal=function(){return this.setZone(Qt.defaultZone)},e.setZone=function(e,n){var r=void 0===n?{}:n,i=r.keepLocalTime,s=void 0!==i&&i,u=r.keepCalendarTime,o=void 0!==u&&u;if((e=Gt(e,Qt.defaultZone)).equals(this.zone))return this;if(e.isValid){var a=this.ts;if(s||o){var c=e.offset(this.ts);a=$n(this.toObject(),c,e)[0]}return Gn(this,{ts:a,zone:e})}return t.invalid(Pn(e))},e.reconfigure=function(t){var e=void 0===t?{}:t;return Gn(this,{loc:this.loc.clone({locale:e.locale,numberingSystem:e.numberingSystem,outputCalendar:e.outputCalendar})})},e.setLocale=function(t){return this.reconfigure({locale:t})},e.set=function(t){if(!this.isValid)return this;var e,n=vt(t,ur),r=!U(n.weekYear)||!U(n.weekNumber)||!U(n.weekday),s=!U(n.ordinal),u=!U(n.year),o=!U(n.month)||!U(n.day);if((u||o||s)&&(n.weekYear||n.weekNumber))throw new p("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(o&&s)throw new p("Can't mix ordinal dates with month/day");r?e=Ln(i({},jn(this.c),n)):U(n.ordinal)?(e=i({},this.toObject(),n),U(n.day)&&(e.day=Math.min(ot(e.year,e.month),e.day))):e=Fn(i({},zn(this.c),n));var a=$n(e,this.o,this.zone);return Gn(this,{ts:a[0],o:a[1]})},e.plus=function(t){return this.isValid?Gn(this,Vn(this,un.fromDurationLike(t))):this},e.minus=function(t){return this.isValid?Gn(this,Vn(this,un.fromDurationLike(t).negate())):this},e.startOf=function(t){if(!this.isValid)return this;var e={},n=un.normalizeUnit(t);switch(n){case"years":e.month=1;case"quarters":case"months":e.day=1;case"weeks":case"days":e.hour=0;case"hours":e.minute=0;case"minutes":e.second=0;case"seconds":e.millisecond=0}if("weeks"===n&&(e.weekday=1),"quarters"===n){var r=Math.ceil(this.month/3);e.month=3*(r-1)+1}return this.set(e)},e.endOf=function(t){var e;return this.isValid?this.plus((e={},e[t]=1,e)).startOf(t).minus(1):this},e.toFormat=function(t,e){return void 0===e&&(e={}),this.isValid?Zt.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):qn},e.toLocaleString=function(t,e){return void 0===t&&(t=N),void 0===e&&(e={}),this.isValid?Zt.create(this.loc.clone(e),t).formatDateTime(this):qn},e.toLocaleParts=function(t){return void 0===t&&(t={}),this.isValid?Zt.create(this.loc.clone(t),t).formatDateTimeParts(this):[]},e.toISO=function(t){var e=void 0===t?{}:t,n=e.format,r=e.suppressSeconds,i=void 0!==r&&r,s=e.suppressMilliseconds,u=void 0!==s&&s,o=e.includeOffset,a=void 0===o||o,c=e.extendedZone,h=void 0!==c&&c;if(!this.isValid)return null;var d="extended"===(void 0===n?"extended":n),l=Qn(this,d);return(l+="T")+Xn(this,d,i,u,a,h)},e.toISODate=function(t){var e=(void 0===t?{}:t).format;return this.isValid?Qn(this,"extended"===(void 0===e?"extended":e)):null},e.toISOWeekDate=function(){return Kn(this,"kkkk-'W'WW-c")},e.toISOTime=function(t){var e=void 0===t?{}:t,n=e.suppressMilliseconds,r=e.suppressSeconds,i=e.includeOffset,s=e.includePrefix,u=e.extendedZone,o=e.format;return this.isValid?(void 0!==s&&s?"T":"")+Xn(this,"extended"===(void 0===o?"extended":o),void 0!==r&&r,void 0!==n&&n,void 0===i||i,void 0!==u&&u):null},e.toRFC2822=function(){return Kn(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)},e.toHTTP=function(){return Kn(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")},e.toSQLDate=function(){return this.isValid?Qn(this,!0):null},e.toSQLTime=function(t){var e=void 0===t?{}:t,n=e.includeOffset,r=void 0===n||n,i=e.includeZone,s=void 0!==i&&i,u=e.includeOffsetSpace,o="HH:mm:ss.SSS";return(s||r)&&((void 0===u||u)&&(o+=" "),s?o+="z":r&&(o+="ZZ")),Kn(this,o,!0)},e.toSQL=function(t){return void 0===t&&(t={}),this.isValid?this.toSQLDate()+" "+this.toSQLTime(t):null},e.toString=function(){return this.isValid?this.toISO():qn},e.valueOf=function(){return this.toMillis()},e.toMillis=function(){return this.isValid?this.ts:NaN},e.toSeconds=function(){return this.isValid?this.ts/1e3:NaN},e.toUnixInteger=function(){return this.isValid?Math.floor(this.ts/1e3):NaN},e.toJSON=function(){return this.toISO()},e.toBSON=function(){return this.toJSDate()},e.toObject=function(t){if(void 0===t&&(t={}),!this.isValid)return{};var e=i({},this.c);return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e},e.toJSDate=function(){return new Date(this.isValid?this.ts:NaN)},e.diff=function(t,e,n){if(void 0===e&&(e="milliseconds"),void 0===n&&(n={}),!this.isValid||!t.isValid)return un.invalid("created by diffing an invalid DateTime");var r,s=i({locale:this.locale,numberingSystem:this.numberingSystem},n),u=(r=e,Array.isArray(r)?r:[r]).map(un.normalizeUnit),o=t.valueOf()>this.valueOf(),a=function(t,e,n,r){var i,s=function(t,e,n){for(var r,i,s={},u=0,o=[["years",function(t,e){return e.year-t.year}],["quarters",function(t,e){return e.quarter-t.quarter+4*(e.year-t.year)}],["months",function(t,e){return e.month-t.month+12*(e.year-t.year)}],["weeks",function(t,e){var n=dn(t,e);return(n-n%7)/7}],["days",dn]];u<o.length;u++){var a=o[u],c=a[0],h=a[1];if(n.indexOf(c)>=0){var d;r=c;var l,f=h(t,e);(i=t.plus(((d={})[c]=f,d)))>e?(t=t.plus(((l={})[c]=f-1,l)),f-=1):t=i,s[c]=f}}return[t,s,i,r]}(t,e,n),u=s[0],o=s[1],a=s[2],c=s[3],h=e-u,d=n.filter((function(t){return["hours","minutes","seconds","milliseconds"].indexOf(t)>=0}));0===d.length&&(a<e&&(a=u.plus(((i={})[c]=1,i))),a!==u&&(o[c]=(o[c]||0)+h/(a-u)));var l,f=un.fromObject(o,r);return d.length>0?(l=un.fromMillis(h,r)).shiftTo.apply(l,d).plus(f):f}(o?this:t,o?t:this,u,s);return o?a.negate():a},e.diffNow=function(e,n){return void 0===e&&(e="milliseconds"),void 0===n&&(n={}),this.diff(t.now(),e,n)},e.until=function(t){return this.isValid?cn.fromDateTimes(this,t):this},e.hasSame=function(t,e){if(!this.isValid)return!1;var n=t.valueOf(),r=this.setZone(t.zone,{keepLocalTime:!0});return r.startOf(e)<=n&&n<=r.endOf(e)},e.equals=function(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)},e.toRelative=function(e){if(void 0===e&&(e={}),!this.isValid)return null;var n=e.base||t.fromObject({},{zone:this.zone}),r=e.padding?this<n?-e.padding:e.padding:0,s=["years","months","days","hours","minutes","seconds"],u=e.unit;return Array.isArray(e.unit)&&(s=e.unit,u=void 0),ar(n,this.plus(r),i({},e,{numeric:"always",units:s,unit:u}))},e.toRelativeCalendar=function(e){return void 0===e&&(e={}),this.isValid?ar(e.base||t.fromObject({},{zone:this.zone}),this,i({},e,{numeric:"auto",units:["years","months","days"],calendary:!0})):null},t.min=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];if(!n.every(t.isDateTime))throw new w("min requires all arguments be DateTimes");return K(n,(function(t){return t.valueOf()}),Math.min)},t.max=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];if(!n.every(t.isDateTime))throw new w("max requires all arguments be DateTimes");return K(n,(function(t){return t.valueOf()}),Math.max)},t.fromFormatExplain=function(t,e,n){void 0===n&&(n={});var r=n.locale,i=n.numberingSystem;return Sn(de.fromOpts({locale:void 0===r?null:r,numberingSystem:void 0===i?null:i,defaultToEN:!0}),t,e)},t.fromStringExplain=function(e,n,r){return void 0===r&&(r={}),t.fromFormatExplain(e,n,r)},r(t,[{key:"isValid",get:function(){return null===this.invalid}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}},{key:"locale",get:function(){return this.isValid?this.loc.locale:null}},{key:"numberingSystem",get:function(){return this.isValid?this.loc.numberingSystem:null}},{key:"outputCalendar",get:function(){return this.isValid?this.loc.outputCalendar:null}},{key:"zone",get:function(){return this._zone}},{key:"zoneName",get:function(){return this.isValid?this.zone.name:null}},{key:"year",get:function(){return this.isValid?this.c.year:NaN}},{key:"quarter",get:function(){return this.isValid?Math.ceil(this.c.month/3):NaN}},{key:"month",get:function(){return this.isValid?this.c.month:NaN}},{key:"day",get:function(){return this.isValid?this.c.day:NaN}},{key:"hour",get:function(){return this.isValid?this.c.hour:NaN}},{key:"minute",get:function(){return this.isValid?this.c.minute:NaN}},{key:"second",get:function(){return this.isValid?this.c.second:NaN}},{key:"millisecond",get:function(){return this.isValid?this.c.millisecond:NaN}},{key:"weekYear",get:function(){return this.isValid?Yn(this).weekYear:NaN}},{key:"weekNumber",get:function(){return this.isValid?Yn(this).weekNumber:NaN}},{key:"weekday",get:function(){return this.isValid?Yn(this).weekday:NaN}},{key:"ordinal",get:function(){return this.isValid?zn(this.c).ordinal:NaN}},{key:"monthShort",get:function(){return this.isValid?hn.months("short",{locObj:this.loc})[this.month-1]:null}},{key:"monthLong",get:function(){return this.isValid?hn.months("long",{locObj:this.loc})[this.month-1]:null}},{key:"weekdayShort",get:function(){return this.isValid?hn.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}},{key:"weekdayLong",get:function(){return this.isValid?hn.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}},{key:"offset",get:function(){return this.isValid?+this.o:NaN}},{key:"offsetNameShort",get:function(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}},{key:"offsetNameLong",get:function(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}},{key:"isOffsetFixed",get:function(){return this.isValid?this.zone.isUniversal:null}},{key:"isInDST",get:function(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}},{key:"isInLeapYear",get:function(){return st(this.year)}},{key:"daysInMonth",get:function(){return ot(this.year,this.month)}},{key:"daysInYear",get:function(){return this.isValid?ut(this.year):NaN}},{key:"weeksInWeekYear",get:function(){return this.isValid?ct(this.weekYear):NaN}}],[{key:"DATE_SHORT",get:function(){return N}},{key:"DATE_MED",get:function(){return E}},{key:"DATE_MED_WITH_WEEKDAY",get:function(){return S}},{key:"DATE_FULL",get:function(){return D}},{key:"DATE_HUGE",get:function(){return I}},{key:"TIME_SIMPLE",get:function(){return O}},{key:"TIME_WITH_SECONDS",get:function(){return A}},{key:"TIME_WITH_SHORT_OFFSET",get:function(){return C}},{key:"TIME_WITH_LONG_OFFSET",get:function(){return Z}},{key:"TIME_24_SIMPLE",get:function(){return _}},{key:"TIME_24_WITH_SECONDS",get:function(){return j}},{key:"TIME_24_WITH_SHORT_OFFSET",get:function(){return L}},{key:"TIME_24_WITH_LONG_OFFSET",get:function(){return z}},{key:"DATETIME_SHORT",get:function(){return F}},{key:"DATETIME_SHORT_WITH_SECONDS",get:function(){return H}},{key:"DATETIME_MED",get:function(){return W}},{key:"DATETIME_MED_WITH_SECONDS",get:function(){return q}},{key:"DATETIME_MED_WITH_WEEKDAY",get:function(){return R}},{key:"DATETIME_FULL",get:function(){return P}},{key:"DATETIME_FULL_WITH_SECONDS",get:function(){return Y}},{key:"DATETIME_HUGE",get:function(){return G}},{key:"DATETIME_HUGE_WITH_SECONDS",get:function(){return J}}]),t}();function dr(t){if(hr.isDateTime(t))return t;if(t&&t.valueOf&&$(t.valueOf()))return hr.fromJSDate(t);if(t&&"object"==typeof t)return hr.fromObject(t);throw new w("Unknown datetime argument: "+t+", of type "+typeof t)}e.DateTime=hr,e.Duration=un,e.FixedOffsetZone=Pt,e.IANAZone=qt,e.Info=hn,e.Interval=cn,e.InvalidZone=Yt,e.Settings=Qt,e.SystemZone=zt,e.VERSION="3.0.4",e.Zone=jt}));const a=class{constructor(n){t(this,n),this.dateChange=e(this,"dateChange",7),this.dateRangeChange=e(this,"dateRangeChange",7),this.done=e(this,"done",7),this.dateSelect=e(this,"dateSelect",7),this.daysInWeek=7,this.dayNames=o.Info.weekdays(),this.monthNames=o.Info.months(),this.format="yyyy/LL/dd",this.range=!0,this.individual=!0,this.corners="rounded",this.from=o.DateTime.now().toFormat(this.format),this.to=null,this.minDate=void 0,this.maxDate=void 0,this.eventDelimiter=" - ",this.textSelectDate="Done",this.yearValue=this.year,this.today=o.DateTime.now(),this.monthValue=this.month,this.calendar=[],this.years=[...Array(10).keys()].map((t=>t+this.year-5)),this.tempYear=this.yearValue,this.tempMonth=this.monthValue,this.start=o.DateTime.fromObject({year:this.year,month:this.month,day:this.day}),this.end=this.to?o.DateTime.fromFormat(this.to,this.format):null,this.dropdownButtonRef=void 0,this.yearContainerRef=void 0}get year(){return o.DateTime.fromFormat(this.from,this.format).year}get day(){return o.DateTime.fromFormat(this.from,this.format).day}get month(){return o.DateTime.fromFormat(this.from,this.format).month}onDone(){var t;this.done.emit(this.getOutputFormat()),this.dateSelect.emit({from:this.start.toFormat(this.format),to:null===(t=this.end)||void 0===t?void 0:t.toFormat(this.format)})}onDateChange(){var t,e,n,r;this.dateChange.emit(this.eventDelimiter?this.getOutputFormat():{from:null===(t=this.start)||void 0===t?void 0:t.toFormat(this.format),to:null===(e=this.end)||void 0===e?void 0:e.toFormat(this.format)}),this.range&&this.dateRangeChange.emit({from:null===(n=this.start)||void 0===n?void 0:n.toFormat(this.format),to:null===(r=this.end)||void 0===r?void 0:r.toFormat(this.format)})}getStartOfMonth(t=o.DateTime.local().get("year"),e=o.DateTime.local().get("month")){return o.DateTime.local(t,e).startOf("month")}getEndOfMonth(t=o.DateTime.local().get("year"),e=o.DateTime.local().get("month")){return o.DateTime.local(t,e).endOf("month")}getDaysInMonth(t=this.getStartOfMonth(),e=this.getEndOfMonth()){return Math.ceil(e.diff(t,"days").days)}calculateCalendar(){const t=this.getStartOfMonth(this.yearValue,this.monthValue),e=this.getEndOfMonth(this.yearValue,this.monthValue),n=this.getDaysInMonth(t,e),r=6*this.daysInWeek,i=t.weekday-1,s=r-n-i;let u=[];const a=[];let c=[...new Array(r).keys()].map((t=>t+1));c.unshift(...new Array(i)),c=c.slice(0,c.length-i-s),c.push(...new Array(s)),u=c.reduce(((t,e,n)=>{const r=Math.floor(n/this.daysInWeek);return t[r]||(t[r]=[]),t[r].push(e),t}),[]);for(let t=1;t<=6;t++){const e=u[t-1],n=e.find((t=>void 0!==t))?o.DateTime.local(this.yearValue,this.monthValue,u[t-1][0]).weekNumber:void 0;a.push([n,e])}this.calendar=a}changeMonth(t){this.monthValue+t<1?(this.yearValue--,this.monthValue=12):this.monthValue+t>12?(this.yearValue++,this.monthValue=1):this.monthValue+=t,this.calculateCalendar()}selectMonth(t){this.monthValue=t,this.yearValue=this.tempYear,this.tempMonth=t}infiniteScrollYears(){const t=this.yearContainerRef.scrollTop,e=this.yearContainerRef.scrollHeight,n=0===t,r=t+this.yearContainerRef.getBoundingClientRect().height===e;this.years.length>200||(n&&(this.years=[...[...Array(5).keys()].map((t=>t+this.years[0]-5)),...this.years],this.yearContainerRef.scroll({behavior:"smooth",top:t+100})),r&&(this.years=[...this.years,...[...Array(5).keys()].map((t=>t+this.years[this.years.length-1]))],this.yearContainerRef.scroll({behavior:"smooth",top:t-50})))}selectTempYear(t,e){t.stopPropagation(),this.tempYear=e}todayClass(t){const e=o.DateTime.local(),n=o.DateTime.local(this.yearValue,this.monthValue,t);return{"calendar-item":!0,"empty-day":void 0===t,today:0===Math.ceil(n.diff(e,"days").days),selected:this.start&&n.toISO()===this.start.toISO()||this.end&&n.toISO()===this.end.toISO(),range:this.start&&this.end&&n.toISO()>this.start.toISO()&&n.toISO()<this.end.toISO(),disabled:!this.isWithinMinMax(n)||this.start&&n.toISO()<this.start.toISO()&&null===this.end&&this.range}}selectDay(t){const e=o.DateTime.local(this.yearValue,this.monthValue,t),n=void 0===t,r=null===this.start,i=null===this.end,s=null!==this.start&&null!==this.end,u=this.start&&this.start.toISO()<e.toISO(),a=this.start&&!this.end&&this.start.toISO()===e.toISO();if(!n){if(a)return this.start=null,void this.onDateChange();this.range||(this.start=e),this.range&&r&&(this.start=e),this.range&&i&&u&&(this.end=e),this.range&&s&&(this.start=e,this.end=null),this.onDateChange()}}getOutputFormat(){return this.start?this.end?[this.start.toFormat(this.format),this.end.toFormat(this.format)].join(this.eventDelimiter):this.start.toFormat(this.format):null}isWithinMinMax(t){const e=t.toISO(),n=this.minDate?o.DateTime.fromFormat(this.minDate,this.format):null,r=this.maxDate?o.DateTime.fromFormat(this.maxDate,this.format):null;return(!n||n.toISO()<=e)&&(!r||r.toISO()>=e)}componentWillLoad(){null!==this.year&&(this.yearValue=this.year),this.month&&(this.monthValue=this.month)}componentWillRender(){this.calculateCalendar()}async getCurrentDate(){var t,e;return{start:null===(t=this.start)||void 0===t?void 0:t.toFormat(this.format),end:null===(e=this.end)||void 0===e?void 0:e.toFormat(this.format)}}render(){return n(i,null,n("ix-date-time-card",{individual:this.individual,corners:this.corners},n("div",{class:"header",slot:"header"},n("ix-icon-button",{onClick:()=>this.changeMonth(-1),ghost:!0,icon:"chevron-left",variant:"Primary",class:"arrows"}),n("div",{class:"selector"},n("ix-button",{ghost:!0,ref:t=>this.dropdownButtonRef=t},n("span",{class:"fontSize capitalize"},this.monthNames[this.monthValue-1]," ",this.yearValue)),n("ix-dropdown",{class:"dropdown",trigger:this.dropdownButtonRef,placement:"bottom"},n("div",{class:"wrapper"},n("div",{class:"overflow",onScroll:()=>this.infiniteScrollYears(),ref:t=>this.yearContainerRef=t},this.years.map((t=>n("div",{class:{arrowYear:!0},onClick:e=>this.selectTempYear(e,t)},n("ix-icon",{class:{hidden:this.tempYear!==t,arrowPosition:!0},name:"chevron-right",size:"12"}),n("div",{style:{"min-width":"max-content"}},`${t}`))))),n("div",{class:"overflow"},this.monthNames.map(((t,e)=>n("div",{class:{arrowYear:!0,selected:this.tempMonth-1===e},onClick:()=>this.selectMonth(e+1)},n("ix-icon",{class:{hidden:this.tempMonth-1!==e,checkPosition:!0},name:"single-check",size:"16"}),n("div",null,n("span",{class:{capitalize:!0,monthMargin:!0}},`${t} ${this.tempYear}`))))))))),n("ix-icon-button",{onClick:()=>this.changeMonth(1),ghost:!0,icon:"chevron-right",variant:"Primary",class:"arrows"})),n("div",{class:"grid"},n("div",{class:"calendar-item week-day"}),this.dayNames.map((t=>n("div",{class:"calendar-item week-day"},t.slice(0,3)))),this.calendar.map((t=>n(r,null,n("div",{class:"calendar-item week-number"},t[0]),t[1].map((t=>n("div",{class:this.todayClass(t),onClick:()=>this.selectDay(t)},t))))))),n("div",{class:{button:!0,hidden:!this.individual}},n("ix-button",{onClick:()=>this.onDone()},this.textSelectDate))))}};a.style=".sc-ix-date-picker-h .header.sc-ix-date-picker{display:flex;align-items:center;justify-content:space-between}.sc-ix-date-picker-h .selector.sc-ix-date-picker{flex-basis:100%;display:flex;align-items:center;justify-content:center;padding:0.25rem 1rem}.sc-ix-date-picker-h .selector.sc-ix-date-picker .dropdown.sc-ix-date-picker{color:var(--theme-menu-item--color);font-size:14px;line-height:20px}.sc-ix-date-picker-h .selector.sc-ix-date-picker .fontSize.sc-ix-date-picker{font-size:16px}.sc-ix-date-picker-h .selector.sc-ix-date-picker .capitalize.sc-ix-date-picker{text-transform:capitalize}.sc-ix-date-picker-h .selector.sc-ix-date-picker .arrowYear.sc-ix-date-picker{display:flex;position:relative;padding:0.75rem 2rem;align-items:center;cursor:pointer}.sc-ix-date-picker-h .selector.sc-ix-date-picker .arrowYear.sc-ix-date-picker:hover{background-color:var(--theme-select-list-item--background--hover)}.sc-ix-date-picker-h .selector.sc-ix-date-picker .arrowYear.selected.sc-ix-date-picker{background-color:var(--theme-select-list-item--background--selected)}.sc-ix-date-picker-h .selector.sc-ix-date-picker .arrowYear.sc-ix-date-picker .arrowPosition.sc-ix-date-picker{position:absolute;left:calc(1rem - 6px);top:calc(50% - 6px)}.sc-ix-date-picker-h .selector.sc-ix-date-picker .arrowYear.sc-ix-date-picker .checkPosition.sc-ix-date-picker{position:absolute;left:calc(1rem - 6px);top:calc(50% - 8px)}.sc-ix-date-picker-h .selector.sc-ix-date-picker .arrowYear.sc-ix-date-picker .monthMargin.sc-ix-date-picker{margin-left:10px}.sc-ix-date-picker-h .wrapper.sc-ix-date-picker{display:flex}.sc-ix-date-picker-h .wrapper.sc-ix-date-picker .overflow.sc-ix-date-picker{overflow-y:scroll;max-height:250px}.sc-ix-date-picker-h .grid.sc-ix-date-picker{display:grid;grid-template-columns:repeat(8, 40px);grid-template-rows:repeat(7, 40px);align-items:center;justify-items:center;justify-content:center;color:var(--theme-datepicker-today--color)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.sc-ix-date-picker{position:relative;display:flex;justify-content:center;align-items:center;background-color:var(--theme-datepicker-day--background);border:1px solid var(--theme-datepicker-day--background);width:40px;height:40px;cursor:pointer}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.today.sc-ix-date-picker{border:1px solid var(--theme-datepicker-today--border-color)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.today.sc-ix-date-picker:hover{background-color:var(--theme-datepicker-day--background--hover)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.today.sc-ix-date-picker:active{background-color:var(--theme-datepicker-day--background--active)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.today.selected.sc-ix-date-picker{box-shadow:inset 0 0 0 1px white}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.today.selected.sc-ix-date-picker:hover{background-color:var(--theme-datepicker-day--background--selected-hover)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.today.selected.sc-ix-date-picker:active{background-color:var(--theme-datepicker-day--background--selected-active)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.today.selected.disabled.sc-ix-date-picker{pointer-events:none;background-color:var(--theme-datepicker-day--background--selected-disabled);border:1px solid var(--theme-datepicker-day--background--selected-disabled);color:var(--theme-datepicker-day--color--selected-disabled)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.today.range.sc-ix-date-picker{background-color:var(--theme-datepicker-day--background--range);color:var(--theme-datepicker-day--color--range);border:1px solid var(--theme-datepicker-today--border-color--range);box-shadow:inset 0 0 0 1px white}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.today.range.sc-ix-date-picker:hover{background-color:var(--theme-datepicker-day--background--range-hover);border:1px solid var(--theme-datepicker-today--border-color--range-hover)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.today.range.sc-ix-date-picker:active{background-color:var(--theme-datepicker-day--background--range-active);border:1px solid var(--theme-datepicker-today--border-color--range-active)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.today.range.disabled.sc-ix-date-picker{background-color:var(--theme-datepicker-day--background--range-disabled);color:var(--theme-datepicker-day--color--range-disabled);border:1px solid var(--theme-datepicker-today--border-color--range-disabled)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.today.disabled.sc-ix-date-picker{pointer-events:none;background-color:var(--theme-datepicker-day--background--disabled);color:var(--theme-datepicker-day--color--disabled);cursor:default;pointer-events:none}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.sc-ix-date-picker:hover{background-color:var(--theme-datepicker-day--background--hover)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.sc-ix-date-picker:active{background-color:var(--theme-datepicker-day--background--active)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.selected.sc-ix-date-picker{background-color:var(--theme-datepicker-day--background--selected);color:var(--theme-datepicker-day--color--selected);border:1px solid var(--theme-datepicker-day--background--selected)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.selected.sc-ix-date-picker:hover{background-color:var(--theme-datepicker-day--background--selected-hover)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.selected.sc-ix-date-picker:active{background-color:var(--theme-datepicker-day--background--selected-active)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.selected.disabled.sc-ix-date-picker{pointer-events:none;background-color:var(--theme-datepicker-day--background--selected-disabled);color:var(--theme-datepicker-day--color--selected-disabled)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.range.sc-ix-date-picker{background-color:var(--theme-datepicker-day--background--range);color:var(--theme-datepicker-day--color--range)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.range.sc-ix-date-picker:hover{background-color:var(--theme-datepicker-day--background--range-hover)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.range.sc-ix-date-picker:active{background-color:var(--theme-datepicker-day--background--range-active)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.range.disabled.sc-ix-date-picker{pointer-events:none;background-color:var(--theme-datepicker-day--background--range-disabled);color:var(--theme-datepicker-day--color--range-disabled)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.disabled.sc-ix-date-picker{pointer-events:none;background-color:var(--theme-datepicker-day--background--disabled);color:var(--theme-datepicker-day--color--disabled)}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.week-day.sc-ix-date-picker{color:var(--theme-datepicker-weekday--color);font-size:12px;line-height:20px;border:none;background:none;cursor:initial}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.empty-day.sc-ix-date-picker{border:none;background:none;cursor:initial}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.week-number.sc-ix-date-picker{font-size:10px;line-height:14px;color:var(--theme-datepicker-ix--color);border:none;background:none;cursor:initial}.sc-ix-date-picker-h .grid.sc-ix-date-picker .calendar-item.sc-ix-date-picker:focus-visible{background-color:var(--theme-datepicker-day--background--selected);border:inset 1px solid var(--theme-datepicker-day--border-color--selected);color:var(--theme-datepicker-day--color--selected);font-size:14px;line-height:20px;letter-spacing:0}.sc-ix-date-picker-h .button.sc-ix-date-picker{display:flex;justify-content:flex-end}.sc-ix-date-picker-h .hidden.sc-ix-date-picker{display:none}";const c=class{constructor(n){t(this,n),this.done=e(this,"done",7),this.timeChange=e(this,"timeChange",7),this._time=o.DateTime.now(),this.format="TT",this.corners="rounded",this.individual=!0,this.showHour=!1,this.showMinutes=!1,this.showSeconds=!1,this.time=o.DateTime.now().toFormat(this.format),this.showTimeReference=void 0,this.timeReference=o.DateTime.fromFormat(this.time,this.format).toFormat("a"),this.textSelectTime="Done",this.hourInputRef=void 0,this.minuteInputRef=void 0,this.secondInputRef=void 0,this.referenceInputRef=void 0}get hour(){return this._time.hour}get minutes(){return this._time.minute}get seconds(){return this._time.second}updateInput(t,{hours:e,minutes:n,seconds:r}){e&&("up"===t?this.hourInputRef.stepUp():this.hourInputRef.stepDown()),n&&("up"===t?this.minuteInputRef.stepUp():this.minuteInputRef.stepDown()),r&&("up"===t?this.secondInputRef.stepUp():this.secondInputRef.stepDown()),this._time=this._time.set({hour:Number(this.hourInputRef.value),minute:Number(this.minuteInputRef.value),second:Number(this.secondInputRef.value)}),this.emitTimeChange()}changeReference(){this.referenceInputRef.value="PM"===this.referenceInputRef.value?"AM":"PM",this.setHourAccordingToReference(),this.emitTimeChange()}setHourAccordingToReference(){let t=Number(this.hourInputRef.value);"PM"===this.referenceInputRef.value&&(t+=12),this._time=this._time.set({hour:t})}emitTimeChange(){const t=this._time.toFormat(this.format);this.timeChange.emit(t)}componentWillLoad(){if(this._time=o.DateTime.fromFormat(this.time,this.format),void 0===this.showTimeReference){const t=Object.keys(o.DateTime.fromFormatExplain(this.time,this.format).matches);this.showTimeReference=t.includes("a")}}async getCurrentTime(){return this._time.toFormat(this.format)}render(){let t=!this.showHour,e=!this.showMinutes,r=!this.showSeconds;const s=!this.showTimeReference,u=!this.individual;this.showHour||this.showMinutes||this.showSeconds||(t=!1,e=!1,r=!1);const o=e||t,a=r||e;return n(i,null,n("ix-date-time-card",{individual:this.individual,corners:this.corners},n("div",{class:"header",slot:"header"},n("div",{class:"title"},"Time")),n("div",{class:"clock"},n("div",{class:{columns:!0,hidden:t}},n("ix-icon-button",{size:"16",onClick:()=>this.updateInput("up",{hours:!0}),ghost:!0,icon:"chevron-up",variant:"Primary",class:"arrows"}),n("input",{name:"hours",type:"number",placeholder:"00",value:this.hour,min:"0",disabled:!0,max:!0===this.showTimeReference?11:23,ref:t=>this.hourInputRef=t}),n("ix-icon-button",{size:"16",onClick:()=>this.updateInput("down",{hours:!0}),ghost:!0,icon:"chevron-down",variant:"Primary",class:"arrows"})),n("div",{class:{"column-seperator":!0,hidden:o}},":"),n("div",{class:{columns:!0,hidden:e}},n("ix-icon-button",{size:"16",onClick:()=>this.updateInput("up",{minutes:!0}),ghost:!0,icon:"chevron-up",variant:"Primary",class:"arrows"}),n("input",{name:"minutes",type:"number",placeholder:"00",value:this.minutes,min:"0",max:"59",disabled:!0,ref:t=>this.minuteInputRef=t}),n("ix-icon-button",{size:"16",onClick:()=>this.updateInput("down",{minutes:!0}),ghost:!0,icon:"chevron-down",variant:"Primary",class:"arrows"})),n("div",{class:{"column-seperator":!0,hidden:a}},":"),n("div",{class:{columns:!0,hidden:r}},n("ix-icon-button",{size:"16",onClick:()=>this.updateInput("up",{seconds:!0}),ghost:!0,icon:"chevron-up",variant:"Primary",class:"arrows"}),n("input",{name:"seconds",type:"number",placeholder:"00",value:this.seconds,disabled:!0,min:"0",max:"59",ref:t=>this.secondInputRef=t}),n("ix-icon-button",{size:"16",onClick:()=>this.updateInput("down",{seconds:!0}),ghost:!0,icon:"chevron-down",variant:"Primary",class:"arrows"})),n("div",{class:{columns:!0,"default-space":!0,hidden:s}},n("ix-icon-button",{size:"16",onClick:()=>this.changeReference(),ghost:!0,icon:"chevron-up",variant:"Primary",class:"arrows"}),n("input",{name:"reference",type:"text",ref:t=>this.referenceInputRef=t,value:this.timeReference,disabled:!0,class:"text-align"}),n("ix-icon-button",{size:"16",onClick:()=>this.changeReference(),ghost:!0,icon:"chevron-down",variant:"Primary",class:"arrows"}))),n("div",{class:{button:!0,hidden:u}},n("ix-button",{onClick:()=>this.done.emit(this._time.toFormat(this.format))},this.textSelectTime))))}get hostElement(){return s(this)}};c.style=".header.sc-ix-time-picker{display:flex;align-items:center;justify-content:center}.title.sc-ix-time-picker{display:flex;align-items:center;font-size:16px;font-weight:bold;line-height:20px;min-height:40px;color:var(--theme-datepicker-time-header--color)}.clock.sc-ix-time-picker{height:100%;display:flex;justify-content:center;align-items:center;padding:80px 0}input.sc-ix-time-picker{background-color:var(--theme-input--background);border-radius:2px;border:1px solid var(--theme-input--border-color);box-shadow:inset 0 2px 4px 0 var(--theme-color-1) 12;width:42px;height:32px;text-align:right;color:var(--theme-input--color);margin-top:0.5rem;margin-bottom:0.5rem}input.sc-ix-time-picker::-webkit-outer-spin-button,input.sc-ix-time-picker::-webkit-inner-spin-button{-webkit-appearance:none;margin:0 5px}input[type=number].sc-ix-time-picker{-moz-appearance:textfield}.columns.sc-ix-time-picker{display:flex;flex-direction:column;align-items:center}.column-seperator.sc-ix-time-picker{display:flex;align-items:center;margin:0 0.25rem}.button.sc-ix-time-picker{display:flex;justify-content:flex-end}.default-space.sc-ix-time-picker{margin-left:1rem}.text-align.sc-ix-time-picker{text-align:center}.hidden.sc-ix-time-picker{display:none}";export{a as ix_date_picker,c as ix_time_picker}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,h as o,H as t,g as
|
|
1
|
+
import{r as s,h as o,H as t,g as i}from"./p-05c16b94.js";import{d as e,c as l}from"./p-96e46f99.js";const a=class{constructor(o){s(this,o)}dismiss(){e(this.host)}close(){l(this.host,"Done!")}render(){return o(t,null,o("div",null,o("div",{class:"modal-header"},"Message headline",o("ix-icon-button",{"data-close-button":!0,ghost:!0,icon:"close",onClick:()=>this.dismiss()})),o("div",{class:"modal-body"},"Message text lorem ipsum"),o("div",{class:"modal-footer"},o("ix-button",{outline:!0,onClick:()=>this.dismiss()},"Cancel"),o("ix-button",{onClick:()=>this.close()},"OK"))))}get host(){return i(this)}};export{a as ix_modal_example}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as e,h as i,H as s,g as n,f as o}from"./p-05c16b94.js";import{a}from"./p-c8cc3bb3.js";import{t as r}from"./p-35990ac7.js";import"./p-4944ad0b.js";const m=class{constructor(i){t(this,i),this.expandChange=e(this,"expandChange",7),this.mapExpandChange=e(this,"mapExpandChange",7),this.domObserver=new MutationObserver(this.onDomChange.bind(this)),this.isVisible=t=>{var e,i;return"none"!==t.style.display&&"none"!==(null===(i=null===(e=t.parentElement)||void 0===e?void 0:e.parentElement)||void 0===i?void 0:i.style.display)},this.showSettings=!1,this.showAbout=!1,this.enableToggleTheme=!1,this.enableSettings=!0,this.enableMapExpand=!1,this.applicationName=void 0,this.applicationDescription="",this.maxVisibleMenuItems=9,this.i18nLegal="About & legal information",this.i18nSettings="Settings",this.i18nToggleTheme="Toggle theme",this.i18nExpand=" Expand",this.i18nCollapse="Collapse",this.i18nMore="More…",this.expand=!1,this.showMoreItems=!1,this.visibleMenuItems=0,this.countMoreNotifications=0,this.mapExpand=!0,this.activeTab=void 0,this.isMoreTabEmpty=!1}onWindowResize(){this.visibleMenuItems=this.getMaxTabCount()}handleNodeMutation(t){t instanceof HTMLElement&&(t.matches(".tab")&&this.onWindowResize(),t.matches("ix-menu-about")&&this.menu.contains(t)&&this.appendAbout(),t.matches("ix-menu-settings")&&this.menu.contains(t)&&this.appendSettings())}onDomChange(t){t.forEach((t=>{t.addedNodes.forEach(this.handleNodeMutation.bind(this)),t.removedNodes.forEach(this.handleNodeMutation.bind(this))}))}get popoverArea(){return this.hostElement.querySelector("#popover-area")}get overlayContainer(){return this.hostElement.querySelector(".menu-overlay")}get invisibleContainer(){return this.hostElement.querySelector(".menu-overlay-invisible")}get menu(){return this.hostElement.querySelector(".menu")}get menuItems(){return Array.from(this.hostElement.querySelectorAll("ix-menu-item:not(.internal-tab):not(.home-tab):not(.bottom-tab)")).filter(this.isVisible)}get menuBottomItems(){return Array.from(this.hostElement.querySelectorAll("ix-menu-item.bottom-tab:not(.internal-tab):not(.home-tab)")).filter(this.isVisible)}get homeTab(){return this.hostElement.querySelector("ix-menu-item.home-tab")}get moreItemsDropdown(){return this.hostElement.querySelector(".internal-tab ix-dropdown")}get isMoreItemsDropdownEmpty(){return 0===this.hostElement.querySelectorAll(".internal-tab ix-dropdown .appended").length}get moreItemsDropdownItems(){return this.hostElement.querySelectorAll(".internal-tab ix-dropdown ix-menu-item")}get activeMoreTabContainer(){return this.hostElement.querySelector(".active-more-tab")}get activeMoreTab(){return this.hostElement.querySelector(".active-more-tab ix-menu-item")}get aboutPopoverContainer(){return this.hostElement.querySelector(".about-news")}get aboutPopover(){return document.querySelector("ix-menu-about-news")}get aboutTab(){return this.hostElement.querySelector("#aboutAndLegal")}get about(){return this.hostElement.querySelector("ix-menu-about")}get settings(){return this.hostElement.querySelector("ix-menu-settings")}get isSettingsEmpty(){return 0===Array.from(this.hostElement.querySelectorAll("ix-menu-settings-item")).length}get avatarItem(){return this.hostElement.querySelector("ix-menu-avatar")}get tabsContainer(){return this.hostElement.querySelector("#menu-tabs")}showTab(t){return t+1<=this.visibleMenuItems}componentDidLoad(){var t,e,i,s;null===(t=this.settings)||void 0===t||t.addEventListener("close",(()=>{this.showSettings=!1,this.settings.show=this.showSettings})),null===(e=this.settings)||void 0===e||e.addEventListener("animationend",(()=>{this.showSettings||(this.settings.classList.add("d-none"),this.overlayContainer.classList.add("d-none"))})),null===(i=this.about)||void 0===i||i.addEventListener("close",(()=>{this.showAbout=!1,this.about.show=this.showAbout})),null===(s=this.about)||void 0===s||s.addEventListener("animationend",(()=>{this.showAbout||(this.about.classList.add("d-none"),this.overlayContainer.classList.add("d-none"))})),this.overlayContainer.classList.add("d-none"),this.onWindowResize(),this.domObserver.observe(this.hostElement,{attributes:!1,childList:!0,subtree:!0})}disconnectedCallback(){}componentWillRender(){this.appendTabs()}componentDidRender(){this.visibleMenuItems=this.getMaxTabCount(),this.appendFragments()}appendFragments(){this.appendAvatar(),this.appendAbout(),this.appendSettings(),this.appendAboutNewsPopover(),this.isMoreTabEmpty=this.isMoreItemsDropdownEmpty,this.countMoreNotifications=this.getMoreNotificationsCount()}resetActiveTab(){this.activeTab=null}isMenuItemActive(t){return t.active||t.classList.contains("active")}appendTabs(){this.activeTab=null,this.homeTab&&(this.hostElement.querySelector(".tabs-top").appendChild(this.homeTab),this.homeTab.addEventListener("click",this.resetOverlay)),this.menuItems.forEach(((t,e)=>{var i;this.showTab(e)?t.classList.remove("d-none"):(t.classList.add("d-none"),this.isMenuItemActive(t)&&(this.activeTab=t)),null===(i=this.homeTab)||void 0===i||i.classList.remove("d-none"),t.addEventListener("click",this.resetOverlay)}))}appendAvatar(){var t;const e=this.avatarItem;e&&(e.style.marginBottom="1rem",null===(t=this.hostElement.querySelector("#avatar-tab-placeholder"))||void 0===t||t.appendChild(e))}getAboutPopoverVerticalPosition(){const t=this.aboutTab.getBoundingClientRect(),e=window.innerHeight-(t.bottom-t.height/2+6+6);return a(e)}appendAboutNewsPopover(){var t;this.aboutPopover&&(this.aboutPopover.style.bottom=this.getAboutPopoverVerticalPosition(),!(null===(t=this.popoverArea)||void 0===t?void 0:t.contains(this.aboutPopover)))&&(this.aboutPopover.addEventListener("showMore",(()=>{var t;(null===(t=this.aboutPopover)||void 0===t?void 0:t.aboutItemLabel)&&(this.about.activeTabLabel=this.aboutPopover.aboutItemLabel,this.toggleAbout(!0))}).bind(this)),document.body.appendChild(this.aboutPopover))}appendSettings(){this.settings&&this.overlayContainer.appendChild(this.settings)}appendAbout(){this.about&&this.overlayContainer.appendChild(this.about)}getMoreNotificationsCount(){var t;const e=null===(t=this.moreItemsDropdown)||void 0===t?void 0:t.querySelectorAll(".appended");let i=0;return null==e||e.forEach((t=>{t.notifications&&(i+=t.notifications)})),i}getAvailableHeight(){let t=this.hostElement.clientHeight;return t-=60,this.avatarItem&&(t-=56),this.homeTab&&(t-=72),this.showAbout&&(t-=36),this.showSettings&&(t-=36),this.menuBottomItems.length&&(t-=36*this.menuBottomItems.length),this.enableMapExpand&&(t-=36),t-=72,t-=16,t}getMaxTabCount(){const t=this.getAvailableHeight(),e=Math.floor(t/48),i=this.menuItems.length;return 1===i?1:i<this.maxVisibleMenuItems?e>i?i:Math.min(e-2,i):i===this.maxVisibleMenuItems?e<this.maxVisibleMenuItems?e-2:e===this.maxVisibleMenuItems?this.maxVisibleMenuItems-2:Math.min(e,this.maxVisibleMenuItems):e===this.maxVisibleMenuItems?this.maxVisibleMenuItems-2:e>=this.maxVisibleMenuItems?this.maxVisibleMenuItems-1:Math.min(e-2,this.maxVisibleMenuItems)}async toggleMapExpand(t){this.skipAllOverlayAnimations(),this.mapExpand=void 0!==t?t:!this.mapExpand}skipAllOverlayAnimations(){this.about&&this.skipOverlayAnimationFor(this.about),this.settings&&this.skipOverlayAnimationFor(this.settings)}skipOverlayAnimationFor(t){const e="animate__animated";null==t||t.classList.remove(e),setTimeout((()=>{null==t||t.classList.add(e)}),300)}async toggleMenu(t){this.skipAllOverlayAnimations(),this.expand=void 0!==t?t:!this.expand,this.aboutPopover&&(this.aboutPopover.expanded=this.expand),this.expandChange.emit(this.expand)}async toggleSettings(t){var e;this.showAbout?this.skipAllOverlayAnimations():this.skipOverlayAnimationFor(this.about),null===(e=this.about)||void 0===e||e.classList.add("d-none"),this.resetOverlay(),this.showSettings=t,this.settings.show=this.showSettings,this.settings.classList.remove("d-none"),this.overlayContainer.classList.remove("d-none")}async toggleAbout(t){var e;this.showSettings?this.skipAllOverlayAnimations():this.skipOverlayAnimationFor(this.settings),null===(e=this.settings)||void 0===e||e.classList.add("d-none"),this.resetOverlay(),this.showAbout=t,this.about.show=this.showAbout,this.about.classList.remove("d-none"),this.overlayContainer.classList.remove("d-none")}resetOverlay(){this.showSettings=!1,this.showAbout=!1,this.settings&&(this.settings.show=this.showSettings),this.about&&(this.about.show=this.showAbout)}showMoreButton(){const t=this.menuItems.length;return 1!==t&&(t<this.maxVisibleMenuItems?this.visibleMenuItems<t:t>this.maxVisibleMenuItems?this.visibleMenuItems<this.maxVisibleMenuItems:this.visibleMenuItems<=this.maxVisibleMenuItems-2)}getCollapseText(){return this.mapExpand?this.i18nCollapse:this.i18nExpand}getCollapseIcon(){return this.mapExpand?"double-chevron-left":"double-chevron-right"}isMenuItemClicked(t){return t.composedPath().filter((t=>"ix-menu-more-tab"!==t.id)).filter((t=>"IX-MENU-ITEM"===t.tagName)).some((t=>this.tabsContainer.contains(t)))}render(){return i(s,{class:{expanded:this.expand}},i("div",{class:{menu:!0,expanded:this.expand},onClick:()=>{this.resetActiveTab()}},i("div",{onClick:async()=>this.toggleMenu(),class:{"burger-menu-button":!0,expanded:this.expand}},i("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",width:"32",height:"32"},i("rect",{class:"line line-1",x:"5",y:"9.5",width:"22",height:"2"}),i("rect",{class:"line line-2",x:"5",y:"15.5",width:"22",height:"2"}),i("rect",{class:"line line-3",x:"5",y:"21.5",width:"22",height:"2"}))),i("div",{id:"avatar-tab-placeholder"}),i("div",{id:"menu-tabs",style:{display:"contents"},onClick:t=>{this.isMenuItemClicked(t)&&this.resetOverlay()}},i("div",{class:"tabs-top"}),i("slot",null),i("div",{class:"active-more-tab"},this.activeTab?i("ix-menu-item",{class:"internal-tab",active:!0,tabIcon:this.activeTab.tabIcon},this.activeTab.innerText):null),i("ix-menu-item",{id:"ix-menu-more-tab",tabIcon:"more-menu",class:{"internal-tab":!0},style:{display:this.showMoreButton()?"block":"none"},title:"Show more",notifications:this.countMoreNotifications},this.i18nMore,i("ix-dropdown",{trigger:"ix-menu-more-tab",positioningStrategy:"fixed",placement:"right-start"},this.menuItems.filter(((t,e)=>!this.showTab(e)&&!this.isMenuItemActive(t)&&this.isVisible(t))).map((t=>i("ix-menu-item",{tabIcon:t.tabIcon,active:t.active,class:"internal-tab appended",onClick:()=>t.dispatchEvent(new CustomEvent("click"))},t.innerText)))))),i("div",{class:"bottom-tab-divider"}),this.enableSettings&&!this.isSettingsEmpty?i("ix-menu-item",{id:"settings",class:{"internal-tab":!0,"bottom-tab":!0,active:this.showSettings},tabIcon:"cogwheel",onClick:async()=>this.toggleSettings(!this.showSettings)},this.i18nSettings):null,i("slot",{name:"bottom"}),i("div",{id:"popover-area"}),this.about?i("ix-menu-item",{id:"aboutAndLegal",class:{"internal-tab":!0,"bottom-tab":!0,active:this.showAbout},tabIcon:"info",onClick:async()=>this.toggleAbout(!this.showAbout)},this.i18nLegal):null,this.enableToggleTheme?i("ix-menu-item",{id:"toggleTheme",onClick:()=>r.toggleMode(),class:"internal-tab bottom-tab",tabIcon:"bulb"},this.i18nToggleTheme):null,this.enableMapExpand?i("ix-menu-item",{id:"menu-collapse",onClick:()=>this.mapExpandChange.emit(this.mapExpand),class:"internal-tab bottom-tab",tabIcon:`${this.getCollapseIcon()}`},this.getCollapseText()):null),i("div",{class:{"menu-overlay":!0,expanded:this.expand,"d-block":this.showAbout||this.showSettings},style:{opacity:this.showAbout||this.showSettings?"1":"0"}}),i("div",{class:"menu-overlay-invisible"}))}get hostElement(){return n(this)}};m.style="ix-menu{display:flex;flex-direction:row;position:absolute;height:100%;min-height:22.75rem;z-index:var(--theme-z-index-sticky);width:auto}ix-menu .menu{display:flex;flex-direction:column;position:relative;width:4rem;height:100%;-webkit-padding-after:1rem;padding-block-end:1rem;background-color:var(--theme-nav--background);transition:width var(--animate-duration)}ix-menu .menu.expanded{box-shadow:var(--theme-navigation--box-shadow)}ix-menu .menu .burger-menu-button{display:flex;justify-content:center;margin-top:0.75rem;margin-left:0.75rem;margin-bottom:1rem;height:2rem;width:2.5rem;border-radius:0.25rem}ix-menu .menu .burger-menu-button:not(.disabled):not(:disabled).hover,ix-menu .menu .burger-menu-button:not(.disabled):not(:disabled):hover{background-color:var(--theme-ghost--background--hover)}ix-menu .menu .burger-menu-button:not(.disabled):not(:disabled).active,ix-menu .menu .burger-menu-button:not(.disabled):not(:disabled):active{background-color:var(--theme-ghost--background--active)}ix-menu .menu .burger-menu-button svg{display:inline-block;fill:var(--theme-menu-btn--color);position:relative}ix-menu .menu .burger-menu-button svg .line{opacity:1;transform:rotate(0) translateY(0) translateX(0);transition:transform 0.3s ease-in-out, opacity 0.2s ease-in-out}ix-menu .menu .burger-menu-button.expanded svg .line-1{transform:translate(0.6875rem, -0.05rem) rotate(45deg)}ix-menu .menu .burger-menu-button.expanded svg .line-2{opacity:0}ix-menu .menu .burger-menu-button.expanded svg .line-3{transform:translate(-0.75625rem, 0.8125rem) rotate(-45deg)}ix-menu .menu-overlay{display:block;position:absolute;width:calc(100vw - 4rem);height:100%;left:4rem;z-index:-1;-webkit-backdrop-filter:blur(1rem);backdrop-filter:blur(1rem);background-color:var(--theme-sidebar-overlay-blur);transition:all 300ms ease-out}ix-menu .menu-overlay-invisible{display:none}ix-menu .menu.expanded{width:16rem}ix-menu .menu-overlay.expanded{width:calc(100vw - 16rem);left:16rem}ix-menu #avatar-tab-placeholder{max-height:3rem}ix-menu .avatar{margin-bottom:2rem}ix-menu #cui-imprint .cui-imprint-product-name{margin-bottom:1rem}ix-menu #cui-imprint .cui-imprint-product-description{margin-bottom:2rem}ix-menu #cui-imprint .cui-imprint-link-container{display:flex;align-items:center}ix-menu .bottom-tab-divider{margin-top:auto}";const h=class{constructor(i){t(this,i),this.close=e(this,"close",7),this.activeTabLabel=void 0,this.label="About & legal information",this.show=!1,this.labels=[]}get aboutItems(){return Array.from(this.el.querySelectorAll("ix-menu-about-item"))}setTab(t){this.activeTabLabel=t,this.aboutItems.forEach((t=>{t.style.display="none",t.label===this.activeTabLabel&&(t.style.display="block")}))}componentWillLoad(){this.aboutItems.length&&this.setTab(this.activeTabLabel||this.aboutItems[0].label)}componentDidLoad(){o(this.el)}componentWillRender(){this.updateLabels()}updateLabels(){this.labels=this.aboutItems.map((t=>t.label))}watchActiveTabLabel(t){setTimeout((()=>this.setTab(t)))}getSelectedTabIndex(t){const e=this.aboutItems.find((e=>e.label===t));return this.aboutItems.indexOf(e)}getTabItems(){return this.aboutItems.map((({label:t})=>i("ix-tab-item",{class:{active:t===this.activeTabLabel},onClick:()=>this.setTab(t)},t)))}render(){return i(s,{class:{animate__animated:!0,animate__fadeInLeft:this.show,animate__fadeOutLeft:!this.show}},i("div",{class:"about-header"},i("h2",{class:"text-h2"},this.label),i("ix-icon-button",{ghost:!0,size:"24",icon:"close",onClick:t=>this.close.emit(t)})),i("ix-tabs",{selected:this.getSelectedTabIndex(this.activeTabLabel),class:"about-tabs"},this.getTabItems()),i("div",{class:"about-items"},i("slot",null)))}get el(){return n(this)}static get watchers(){return{activeTabLabel:["watchActiveTabLabel"]}}};h.style=".text-xs.sc-ix-menu-about{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.625rem;font-weight:400;line-height:1.4em;color:var(--theme-color-std-text)}.text-s.sc-ix-menu-about{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.75rem;font-weight:400;line-height:1.5em;color:var(--theme-color-std-text)}.text-caption.sc-ix-menu-about{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.75rem;font-weight:700;line-height:1.5em;color:var(--theme-color-std-text)}.text-caption-single.sc-ix-menu-about{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.75rem;font-weight:700;line-height:1em;color:var(--theme-color-std-text)}.text-default.sc-ix-menu-about{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text)}.text-default-single.sc-ix-menu-about{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.143em;color:var(--theme-color-std-text)}.text-default-title.sc-ix-menu-about{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:700;line-height:1.429em;color:var(--theme-color-std-text)}.text-default-title-single.sc-ix-menu-about{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:700;line-height:1.143em;color:var(--theme-color-std-text)}.text-l.sc-ix-menu-about{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:400;line-height:1.5em;color:var(--theme-color-std-text)}.text-l-single.sc-ix-menu-about{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:400;line-height:1.25em;color:var(--theme-color-std-text)}.text-l-title.sc-ix-menu-about{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:700;line-height:1.5em;color:var(--theme-color-std-text)}.text-l-title-single.sc-ix-menu-about{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:700;line-height:1.25em;color:var(--theme-color-std-text)}.text-h2.sc-ix-menu-about{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1.375rem;font-weight:700;line-height:1.455em;color:var(--theme-color-std-text)}.text-xl.sc-ix-menu-about{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1.375rem;font-weight:400;line-height:1.091em;color:var(--theme-color-std-text)}a.sc-ix-menu-about{color:var(--theme-color-primary)}.sc-ix-menu-about-h{display:block;background-color:var(--theme-nav-overlay--background);padding:0.75rem 1rem 1rem 2rem;flex-grow:1;position:absolute;width:100%;height:100%}.sc-ix-menu-about-h .about-header.sc-ix-menu-about{display:flex;justify-content:space-between;flex-direction:row;align-items:center;height:2rem;margin-bottom:0.5rem}.sc-ix-menu-about-h .about-header.sc-ix-menu-about h2.sc-ix-menu-about{color:var(--theme-nav-overlay-header--color);margin-bottom:0}.sc-ix-menu-about-h .about-tabs.sc-ix-menu-about{margin-bottom:1.5rem}.sc-ix-menu-about-h ix-menu-about-item.sc-ix-menu-about{display:none}";const l=class{constructor(e){t(this,e),this.label=void 0}render(){return i(s,null,i("slot",null))}};l.style=".sc-ix-menu-about-item-h{display:block}";const c=class{constructor(i){t(this,i),this.showMore=e(this,"showMore",7),this.closePopover=e(this,"closePopover",7),this.show=!1,this.label=void 0,this.i18nShowMore="Show more",this.aboutItemLabel=void 0,this.offsetBottom=0,this.expanded=!1}render(){return i(s,{class:{expanded:this.expanded,show:!this.show}},i("div",{class:"banner-container"},i("ix-icon",{color:"color-inv-contrast-text",name:"shout",size:"32"}),i("svg",{viewBox:"0 0 48 56",xmlns:"http://www.w3.org/2000/svg"},i("polygon",{points:"0 0 48 0 48 56 24 48 0 56"}))),i("div",{class:"cui-popover-news-header"},i("span",{class:"text-l-title"},this.label)),i("ix-icon-button",{size:"24",icon:"close-small",ghost:!0,onClick:()=>{this.show=!1,this.closePopover.emit()}}),i("slot",null),this.aboutItemLabel?i("div",{class:"cui-popover-news-footer"},i("button",{class:"btn btn-primary",onClick:t=>{this.show=!1,this.showMore.emit(t)}},this.i18nShowMore)):null,i("svg",{id:"arrow",xmlns:"http://www.w3.org/2000/svg",width:"8",height:"12",viewBox:"0 0 8 12"},i("path",{d:"M8 0 L0 6 L8 12"})))}};c.style=".sc-ix-menu-about-news-h{display:block;position:fixed;width:20rem;height:auto;background-color:var(--theme-color-1);border:var(--theme-weak-bdr-1);border-radius:0.25rem;padding:1rem;left:4rem;z-index:10000;transition:left var(--animate-duration);margin-left:0.5rem !important;box-shadow:var(--theme-box-shadow-level-2)}.expanded.sc-ix-menu-about-news-h{left:calc(4rem + 12rem)}.show.sc-ix-menu-about-news-h{display:none}.sc-ix-menu-about-news-h .banner-container.sc-ix-menu-about-news{position:absolute;top:0.0625rem;left:1rem}.sc-ix-menu-about-news-h .banner-container.sc-ix-menu-about-news svg.sc-ix-menu-about-news{position:absolute;height:3.625rem;width:3rem}.sc-ix-menu-about-news-h .banner-container.sc-ix-menu-about-news svg.sc-ix-menu-about-news polygon.sc-ix-menu-about-news{fill:var(--theme-color-primary)}.sc-ix-menu-about-news-h .banner-container.sc-ix-menu-about-news ix-icon.sc-ix-menu-about-news{margin:0.5rem;position:absolute;z-index:1}.sc-ix-menu-about-news-h .cui-popover-news-header.sc-ix-menu-about-news{margin-bottom:2rem;margin-left:4rem;margin-top:-0.25rem}.sc-ix-menu-about-news-h .popover-body.sc-ix-menu-about-news{color:var(--theme-color-std-text)}.sc-ix-menu-about-news-h .cui-popover-news-footer.sc-ix-menu-about-news{display:flex;justify-content:flex-end;margin-top:1rem}.sc-ix-menu-about-news-h #arrow.sc-ix-menu-about-news{bottom:14px;position:relative;left:-10px}.sc-ix-menu-about-news-h ix-icon-button.sc-ix-menu-about-news{top:0.5rem;right:0.5rem;position:absolute}.sc-ix-menu-about-news-h svg#arrow.sc-ix-menu-about-news{position:absolute;left:-0.5rem;bottom:0.4rem}.sc-ix-menu-about-news-h svg#arrow.sc-ix-menu-about-news path.sc-ix-menu-about-news{fill:var(--theme-color-1);stroke:var(--theme-color-weak-bdr-1)}";const u=class{constructor(i){t(this,i),this.logoutClick=e(this,"logoutClick",7),this.avatarElementId="ix-menu-avatar-id",this.top=void 0,this.bottom=void 0,this.i18nLogout="Logout"}render(){return i(s,null,i("li",{class:"nav-item top-item avatar no-hover",title:this.top,id:this.avatarElementId},i("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"},i("g",{fill:"none","fill-rule":"evenodd"},i("path",{id:"avatar-path-background",d:"M16 0C7.163 0 0 7.163 0 16s7.163 16 16 16 16-7.163\n 16-16c0-4.243-1.686-8.313-4.686-11.314C24.314 1.686 20.244 0 16 0z"}),i("path",{id:"avatar-path-person",d:"M17.897 17.91c3.8-.018 7.358 1.875 9.485 5.046-2.417 3.999-6.734 6.434-11.382\n 6.42-4.648.014-8.965-2.421-11.382-6.42 2.127-3.171 5.685-5.064\n 9.485-5.045h3.794zM15.821 2.129c3.682 0 6.667 2.984 6.667 6.666 0 3.682-2.985\n 6.667-6.667 6.667s-6.667-2.985-6.667-6.667 2.985-6.666 6.667-6.666z"}))),i("div",{class:"avatar-name"},i("span",{class:"text-default-single",title:this.top},this.top),i("span",{class:"text-default-single",title:this.bottom},this.bottom))),i("ix-dropdown",{trigger:this.avatarElementId,placement:"right-start",offset:{mainAxis:12}},i("slot",null),i("ix-menu-avatar-item",{label:this.i18nLogout,icon:"log-out",onClick:t=>{this.logoutClick.emit(t)}})))}get hostElement(){return n(this)}};u.style=".sc-ix-menu-avatar-h{display:block;position:relative;margin-bottom:0.5rem}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar{display:flex;align-items:center;height:2.5rem;max-height:2.5rem;padding-left:0.25rem;margin-left:0.75rem;margin-right:0.75rem;transition:0.15s;border-radius:1.25rem}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar>svg.sc-ix-menu-avatar{height:2rem;width:2rem;min-height:2rem;min-width:2rem}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar #avatar-path-background.sc-ix-menu-avatar{fill:var(--theme-avatar--background)}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar #avatar-path-person.sc-ix-menu-avatar{fill:var(--theme-color-4)}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar .avatar-name.sc-ix-menu-avatar{display:flex;flex-direction:column;overflow:hidden;white-space:nowrap;margin-left:1rem;line-height:1.14}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar .avatar-name.sc-ix-menu-avatar .text-default-single.sc-ix-menu-avatar{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar:not(.disabled):not(:disabled):hover{background-color:var(--theme-avatar-btn--background--hover);color:var(--theme-avatar-btn--color--hover)}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar:not(.disabled):not(:disabled):active{background-color:var(--theme-avatar-btn--background--active);color:var(--theme-avatar-btn--color--active)}";const d=class{constructor(i){t(this,i),this.itemClick=e(this,"itemClick",7),this.icon=void 0,this.label=void 0}render(){return i("ix-dropdown-item",{icon:this.icon,label:this.label,onClick:t=>this.itemClick.emit(t)})}get hostElement(){return n(this)}};d.style=".sc-ix-menu-avatar-item-h{display:block}";const b=class{constructor(e){t(this,e),this.home=!1,this.bottom=!1,this.tabIcon="document",this.notifications=void 0,this.active=void 0,this.disabled=void 0,this.title=void 0}get tabLabel(){return this.hostElement.querySelector(".tab-text")}componentDidRender(){const t=this.tabLabel.innerHTML.replace("&","&");this.title!==t&&(this.title=t)}render(){return i(s,{class:{disabled:this.disabled,"home-tab":this.home,"bottom-tab":this.bottom,active:this.active}},i("li",{class:"tab",title:this.title},i("i",{class:`glyph glyph-${this.tabIcon}`},i("div",{class:"notification"},this.notifications?i("div",{class:"pill"},this.notifications):null)),i("span",{class:"tab-text text-default"},i("slot",null))))}get hostElement(){return n(this)}};b.style='ix-menu-item{position:relative;display:block}ix-menu-item .tab{display:flex;position:relative;align-items:center;height:3rem;z-index:500;padding-left:1.25rem}ix-menu-item .tab:not(.selected){cursor:pointer}ix-menu-item .tab:not(.selected):not(.disabled):not(:disabled).hover,ix-menu-item .tab:not(.selected):not(.disabled):not(:disabled):hover{background-color:var(--theme-ghost--background--hover)}ix-menu-item .tab:not(.selected):not(.disabled):not(:disabled).active,ix-menu-item .tab:not(.selected):not(.disabled):not(:disabled):active{background-color:var(--theme-ghost--background--active)}ix-menu-item i.glyph{color:var(--theme-nav-item-primary-icon--color);position:relative}ix-menu-item .tab:focus-visible{outline:none}ix-menu-item:focus-visible{outline:none}ix-menu-item .tab:not(:last-child){margin-bottom:0.5rem}ix-menu-item .notification{display:inline-flex;position:absolute;top:-0.5rem;right:-50%}ix-menu-item .notification .pill{display:inline-flex;justify-content:center;align-items:center;height:1rem;min-width:1rem;position:relative;border-radius:6.25rem;background-color:var(--theme-color-primary);border-radius:6.25rem;font-size:0.75rem;font-weight:bold;line-height:1;font-family:Siemens Sans, Arial, sans-serif;color:var(--theme-color-primary--contrast);padding:0.25rem}ix-menu-item .tab-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--theme-nav-item-primary--color);margin:0 1.25rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}ix-menu-item.active .tab,ix-menu-item.selected .tab{background-color:var(--theme-nav-item-primary--background--selected)}ix-menu-item.active .tab::before,ix-menu-item.selected .tab::before{content:"";background-color:var(--theme-nav-item-primary--border-color--selected);height:3rem;width:0.25rem;left:0;position:absolute}ix-menu-item.active .tab>.glyph,ix-menu-item.selected .tab>.glyph{color:var(--theme-nav-item-primary-icon--color--selected)}ix-menu-item.disabled{color:var(--theme-color-weak-text);pointer-events:none;cursor:default}ix-menu-item.disabled .tab>.glyph{color:var(--theme-color-weak-text)}ix-menu-item.disabled .tab-text{color:var(--theme-color-weak-text)}ix-menu-item.home-tab,ix-menu-item[slot=home]{margin-bottom:1.5rem}ix-menu-item.bottom-tab,ix-menu-item[slot=bottom]{height:2.25rem}ix-menu-item.bottom-tab .tab,ix-menu-item[slot=bottom] .tab{height:2.25rem}ix-menu-item.bottom-tab .tab::before,ix-menu-item[slot=bottom] .tab::before{height:2.25rem}ix-menu-item.bottom-tab.active .tab,ix-menu-item.bottom-tab.selected .tab,ix-menu-item[slot=bottom].active .tab,ix-menu-item[slot=bottom].selected .tab{background-color:var(--theme-color-1)}';const g=class{constructor(i){t(this,i),this.close=e(this,"close",7),this.activeTabLabel=void 0,this.label="Settings",this.show=!1}get settingsItems(){return Array.from(this.el.querySelectorAll("ix-menu-settings-item"))}setTab(t){this.activeTabLabel=t,this.settingsItems.forEach((t=>{t.style.display="none",t.label===this.activeTabLabel&&(t.style.display="block")}))}componentWillLoad(){this.settingsItems.length&&this.setTab(this.activeTabLabel||this.settingsItems[0].label)}componentDidLoad(){o(this.el)}watchActiveTabLabel(t){this.setTab(t)}getTabItems(){return this.settingsItems.map((({label:t})=>i("ix-tab-item",{class:{active:t===this.activeTabLabel},onClick:()=>this.setTab(t)},t)))}render(){return i(s,{class:{animate__animated:!0,animate__fadeInLeft:this.show,animate__fadeOutLeft:!this.show}},i("div",{class:"settings-header"},i("h2",{class:"text-h2"},this.label),i("ix-icon-button",{ghost:!0,size:"24",icon:"close",onClick:t=>this.close.emit(t)})),i("ix-tabs",null,this.getTabItems()),i("slot",null))}get el(){return n(this)}static get watchers(){return{activeTabLabel:["watchActiveTabLabel"]}}};g.style=".text-xs.sc-ix-menu-settings{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.625rem;font-weight:400;line-height:1.4em;color:var(--theme-color-std-text)}.text-s.sc-ix-menu-settings{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.75rem;font-weight:400;line-height:1.5em;color:var(--theme-color-std-text)}.text-caption.sc-ix-menu-settings{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.75rem;font-weight:700;line-height:1.5em;color:var(--theme-color-std-text)}.text-caption-single.sc-ix-menu-settings{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.75rem;font-weight:700;line-height:1em;color:var(--theme-color-std-text)}.text-default.sc-ix-menu-settings{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text)}.text-default-single.sc-ix-menu-settings{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.143em;color:var(--theme-color-std-text)}.text-default-title.sc-ix-menu-settings{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:700;line-height:1.429em;color:var(--theme-color-std-text)}.text-default-title-single.sc-ix-menu-settings{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:700;line-height:1.143em;color:var(--theme-color-std-text)}.text-l.sc-ix-menu-settings{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:400;line-height:1.5em;color:var(--theme-color-std-text)}.text-l-single.sc-ix-menu-settings{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:400;line-height:1.25em;color:var(--theme-color-std-text)}.text-l-title.sc-ix-menu-settings{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:700;line-height:1.5em;color:var(--theme-color-std-text)}.text-l-title-single.sc-ix-menu-settings{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:700;line-height:1.25em;color:var(--theme-color-std-text)}.text-h2.sc-ix-menu-settings{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1.375rem;font-weight:700;line-height:1.455em;color:var(--theme-color-std-text)}.text-xl.sc-ix-menu-settings{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1.375rem;font-weight:400;line-height:1.091em;color:var(--theme-color-std-text)}a.sc-ix-menu-settings{color:var(--theme-color-primary)}.sc-ix-menu-settings-h{display:block;background-color:var(--theme-nav-overlay--background);padding:0.75rem 1rem 1rem 2rem;flex-grow:1;position:absolute;width:100%;height:100%}.sc-ix-menu-settings-h .settings-header.sc-ix-menu-settings{display:flex;justify-content:space-between;flex-direction:row;align-items:center;height:2rem;margin-bottom:0.5rem}.sc-ix-menu-settings-h .settings-header.sc-ix-menu-settings h2.sc-ix-menu-settings{color:var(--theme-nav-overlay-header--color);margin-bottom:0}.sc-ix-menu-settings-h .settings-tabs.sc-ix-menu-settings{margin-bottom:1.5rem}";const x=class{constructor(e){t(this,e),this.label=void 0}render(){return i(s,null,i("slot",null))}};x.style=".sc-ix-menu-settings-item-h{display:block}";export{m as ix_menu,h as ix_menu_about,l as ix_menu_about_item,c as ix_menu_about_news,u as ix_menu_avatar,d as ix_menu_avatar_item,b as ix_menu_item,g as ix_menu_settings,x as ix_menu_settings_item}
|