genesys-cloud-client-auth 1.0.0-develop.7 → 1.0.0-release.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -459
- package/dist/assets/_commonjsHelpers-c9e3b764-Cg_zQLRJ.js +1 -0
- package/dist/assets/after-next-render-07a41f53-C_KTwidI.js +1 -0
- package/dist/assets/browser-ponyfill-BV2ki90r.js +2 -0
- package/dist/assets/capitalize-first-letter-404638dd-DDlMtXXu.js +1 -0
- package/dist/assets/clamp-1fc36648-DnrAwabn.js +1 -0
- package/dist/assets/en-1f9d79e6-D5hlE5o5.js +1 -0
- package/dist/assets/en-25a315a0-C7J6_avI.js +1 -0
- package/dist/assets/en-abdadc27-BNKVS-iZ.js +1 -0
- package/dist/assets/en-bf740e9b-BzgaeZ-2.js +1 -0
- package/dist/assets/event-is-from-60a4bc72-BUOfvQpd.js +1 -0
- package/dist/assets/find-element-by-id-d0ce6208-DntMpzyb.js +1 -0
- package/dist/assets/floating-ui.dom.esm-17bec7ce-CxvcWuX2.js +1 -0
- package/dist/assets/focus-input-element-8a137b12-hXwZ4F3C.js +1 -0
- package/dist/assets/get-closest-element-728b9f18-C_5KDHD-.js +1 -0
- package/dist/assets/get-closest-element-7b2f7d5b-kuMVup89.js +1 -0
- package/dist/assets/get-slot-41f866aa-DJNt4BpD.js +1 -0
- package/dist/assets/get-slot-text-content-95a85429-DTSoMW52.js +1 -0
- package/dist/assets/get-valid-timezone-3bde2dae-BFRWJz7Q.js +1 -0
- package/dist/assets/gux-accordion-section.entry-jbdbmuX_.js +1 -0
- package/dist/assets/gux-accordion.entry-ClKYUH6r.js +1 -0
- package/dist/assets/gux-action-button.entry-Co04Z0OV.js +1 -0
- package/dist/assets/gux-action-toast-legacy.entry-BZZz3CuU.js +1 -0
- package/dist/assets/gux-advanced-dropdown-legacy.entry-Cw6SQUDA.js +1 -0
- package/dist/assets/gux-all-row-select.entry-Ce72rVHx.js +1 -0
- package/dist/assets/gux-announce-beta.entry-0-IPzB8z.js +1 -0
- package/dist/assets/gux-avatar-beta.entry-D7eNcgqk.js +1 -0
- package/dist/assets/gux-avatar-change-photo-beta.entry-CdbjnSh2.js +1 -0
- package/dist/assets/gux-avatar-focusable-beta.entry-C-N-FSgY.js +1 -0
- package/dist/assets/gux-avatar-group-add-item-beta_3.entry-DovXgXMY.js +1 -0
- package/dist/assets/gux-avatar-group-beta.entry-C-IcLXpk.js +1 -0
- package/dist/assets/gux-avatar-group-item-beta.entry-CaxTOEY_.js +1 -0
- package/dist/assets/gux-avatar-group.service-0e62fde4-Bkuc2736.js +1 -0
- package/dist/assets/gux-avatar.service-43c1b4e1-EzKA_VVN.js +1 -0
- package/dist/assets/gux-badge.entry-Cn9m8u98.js +1 -0
- package/dist/assets/gux-blank-state.entry-BpvRIMLX.js +65 -0
- package/dist/assets/gux-breadcrumb-item.entry-Ca_9aDAs.js +1 -0
- package/dist/assets/gux-breadcrumbs.entry-C_roghwh.js +1 -0
- package/dist/assets/gux-button-multi.entry-CBr3g1_V.js +1 -0
- package/dist/assets/gux-button-slot.entry-WiCUBCa6.js +1 -0
- package/dist/assets/gux-button_2.entry-C9uy7zui.js +1 -0
- package/dist/assets/gux-calendar-beta.entry-Bqerz9AU.js +4 -0
- package/dist/assets/gux-calendar.entry-B62CdDSA.js +1 -0
- package/dist/assets/gux-card.entry-L6pDaqgo.js +1 -0
- package/dist/assets/gux-column-manager-item.entry-gcrXPu9C.js +1 -0
- package/dist/assets/gux-column-manager.entry-BWdhUqSz.js +1 -0
- package/dist/assets/gux-column-manager.service-90a02975-GGjVHfbH.js +1 -0
- package/dist/assets/gux-content-search.entry-Bk320YeT.js +1 -0
- package/dist/assets/gux-context-menu.entry-sV-Bg8Mm.js +1 -0
- package/dist/assets/gux-copy-to-clipboard.entry-D4z3pxQw.js +1 -0
- package/dist/assets/gux-create-option.entry-B_Vv8g0K.js +1 -0
- package/dist/assets/gux-cta-group.entry-BrnioXQs.js +1 -0
- package/dist/assets/gux-date-beta.entry-lwFmRCvN.js +1 -0
- package/dist/assets/gux-date-time-beta.entry-HNedVv5e.js +1 -0
- package/dist/assets/gux-datepicker.entry-Cr-qDrmu.js +1 -0
- package/dist/assets/gux-day-beta.entry-CW80EHbX.js +1 -0
- package/dist/assets/gux-disclosure-button-legacy.entry-G2Tlcri7.js +1 -0
- package/dist/assets/gux-dismiss-button.entry-DchQFWKl.js +1 -0
- package/dist/assets/gux-dropdown-multi-tag.entry-Cc9VNZOZ.js +1 -0
- package/dist/assets/gux-dropdown-multi.entry-DjZKxJal.js +1 -0
- package/dist/assets/gux-dropdown-option.entry-CZDjtkrF.js +1 -0
- package/dist/assets/gux-dropdown_3.entry-CKiZXOT7.js +1 -0
- package/dist/assets/gux-file-list-item.entry-Dp9PwoBM.js +5 -0
- package/dist/assets/gux-flag-icon-beta.entry-BTUoPqVd.js +1 -0
- package/dist/assets/gux-flyout-menu.entry-DqSGjmSN.js +1 -0
- package/dist/assets/gux-form-beta.entry-C990wv4b.js +1 -0
- package/dist/assets/gux-form-description.entry-SptrEE0d.js +1 -0
- package/dist/assets/gux-form-field-checkbox-group-beta.entry-CCZf0hdH.js +1 -0
- package/dist/assets/gux-form-field-checkbox.entry-DFJSjM7x.js +1 -0
- package/dist/assets/gux-form-field-color.entry-dM32AJCZ.js +1 -0
- package/dist/assets/gux-form-field-container-3dd7c6ff-CbHwJYu_.js +1 -0
- package/dist/assets/gux-form-field-dropdown.entry-qCBeETvx.js +1 -0
- package/dist/assets/gux-form-field-error-acb40a19-CkSp2BAb.js +1 -0
- package/dist/assets/gux-form-field-fieldset-container-6cb3610f-BUiTa12q.js +1 -0
- package/dist/assets/gux-form-field-file-beta.entry-DcnNIHKz.js +1 -0
- package/dist/assets/gux-form-field-file.entry-Dk7BocgF.js +1 -0
- package/dist/assets/gux-form-field-input-clear-button.entry-Dp1QY-09.js +1 -0
- package/dist/assets/gux-form-field-label-indicator.entry-bUtvVW_r.js +1 -0
- package/dist/assets/gux-form-field-number_2.entry-DaVKhHUj.js +1 -0
- package/dist/assets/gux-form-field-phone.entry-DXsintqd.js +1 -0
- package/dist/assets/gux-form-field-radio-group-beta.entry-PbhhpeBG.js +1 -0
- package/dist/assets/gux-form-field-radio.entry-n3Vla1Pu.js +1 -0
- package/dist/assets/gux-form-field-range.entry-C-pjfWNA.js +1 -0
- package/dist/assets/gux-form-field-search.entry-C-bK5ayb.js +1 -0
- package/dist/assets/gux-form-field-select.entry-DQdel3gO.js +1 -0
- package/dist/assets/gux-form-field-text-like.entry-CBFPlQHU.js +1 -0
- package/dist/assets/gux-form-field-textarea.entry-COFKxheF.js +1 -0
- package/dist/assets/gux-form-field-time-picker.entry-CaDEWBkZ.js +1 -0
- package/dist/assets/gux-form-field-time-zone-picker.entry-rl7fBaGA.js +1 -0
- package/dist/assets/gux-form-field.service-173b5dfc-D3T_t5F5.js +1 -0
- package/dist/assets/gux-form-fieldset-heading.entry-Cm0x7EQq.js +1 -0
- package/dist/assets/gux-form-footer.entry-DbhwkP6b.js +1 -0
- package/dist/assets/gux-form-heading.entry-DoUhRicG.js +1 -0
- package/dist/assets/gux-icon-tooltip-beta.entry-DNtzdBoU.js +1 -0
- package/dist/assets/gux-icon.entry-B97smlnI.js +1 -0
- package/dist/assets/gux-inline-alert.entry-DJZxwXFy.js +1 -0
- package/dist/assets/gux-label-info-beta.entry-Bi2PlCDo.js +1 -0
- package/dist/assets/gux-link-beta.entry-BI2qsXNR.js +1 -0
- package/dist/assets/gux-list-divider.entry-BHrFeHB6.js +1 -0
- package/dist/assets/gux-list-item.entry-DRUfS0q6.js +1 -0
- package/dist/assets/gux-list.entry-D9KN4yJ5.js +1 -0
- package/dist/assets/gux-list.service-5da368db-BTJJSzQi.js +1 -0
- package/dist/assets/gux-listbox-multi.entry-6t0q-9T1.js +1 -0
- package/dist/assets/gux-listbox.service-1b2f1a6e-CG-s36UI.js +1 -0
- package/dist/assets/gux-loading-message.entry-D1ze4_H5.js +66 -0
- package/dist/assets/gux-menu-option.entry-BxQFHxSk.js +1 -0
- package/dist/assets/gux-menu.common-b2a4d472-CSLYc6Td.js +1 -0
- package/dist/assets/gux-menu.entry-B-osnTh0.js +1 -0
- package/dist/assets/gux-modal-legacy.entry-DstohKCK.js +1 -0
- package/dist/assets/gux-modal-side-panel-beta.entry-C9FvyVTE.js +1 -0
- package/dist/assets/gux-modal.entry-srOdsW8Q.js +1 -0
- package/dist/assets/gux-month-calendar.entry-BeuXd1Lv.js +1 -0
- package/dist/assets/gux-month-list_2.entry-CYygxLTh.js +1 -0
- package/dist/assets/gux-month-picker-beta.entry-DOJMMNNx.js +1 -0
- package/dist/assets/gux-notification-toast-legacy.entry-dxK7iMAC.js +1 -0
- package/dist/assets/gux-option-group-beta.entry-BUy0S9Yx.js +1 -0
- package/dist/assets/gux-option-icon.entry-Bn-fNLNn.js +1 -0
- package/dist/assets/gux-option-multi.entry-Bu-QHc6m.js +1 -0
- package/dist/assets/gux-page-loading-spinner.entry-DMtT-DYz.js +1 -0
- package/dist/assets/gux-pagination-buttons-legacy_3.entry-CuYkOJdn.js +1 -0
- package/dist/assets/gux-pagination-buttons_2.entry-DmbE78vc.js +1 -0
- package/dist/assets/gux-pagination-cursor.entry-BTAFd0O2.js +1 -0
- package/dist/assets/gux-pagination-items-per-page.entry-DvwN5uz6.js +1 -0
- package/dist/assets/gux-pagination-legacy.entry-CBCQXwVe.js +1 -0
- package/dist/assets/gux-pagination.entry-IX-ErtEu.js +1 -0
- package/dist/assets/gux-phone-input-beta.entry-CjYWM42M.js +7 -0
- package/dist/assets/gux-popover-beta.entry-DAvQpLoO.js +1 -0
- package/dist/assets/gux-popover-list-beta.entry-D4i4pSCR.js +1 -0
- package/dist/assets/gux-popover-list.entry-B6Kj5sN5.js +1 -0
- package/dist/assets/gux-popup.entry-BHYs6DQm.js +1 -0
- package/dist/assets/gux-radial-loading.entry-CG8hkP1l.js +1 -0
- package/dist/assets/gux-radial-progress.entry-Bne8tE1g.js +1 -0
- package/dist/assets/gux-rating.entry--bhU3vZ-.js +1 -0
- package/dist/assets/gux-rich-highlight-list-item.entry-CSqOpcBg.js +1 -0
- package/dist/assets/gux-rich-style-list-item_3.entry-CZq1B1uh.js +1 -0
- package/dist/assets/gux-rich-text-editor-action-group.entry-DpooAfXe.js +1 -0
- package/dist/assets/gux-rich-text-editor-action-link.entry-BEOpCIyh.js +1 -0
- package/dist/assets/gux-rich-text-editor-action-rich-style.entry-rwzf60gc.js +1 -0
- package/dist/assets/gux-rich-text-editor-action-text-highlight.entry-BaiCEtST.js +1 -0
- package/dist/assets/gux-rich-text-editor-action.entry-wBuqVeIv.js +1 -0
- package/dist/assets/gux-rich-text-editor-beta.entry-Cw_BO3yc.js +1 -0
- package/dist/assets/gux-rich-text-editor-list.entry-CdJ7d-sN.js +1 -0
- package/dist/assets/gux-rich-text-editor.service-dcce5e51-BQ3X9qeR.js +1 -0
- package/dist/assets/gux-row-select.entry-DNQoUPfo.js +1 -0
- package/dist/assets/gux-screen-reader-beta.entry-CIizYbtx.js +1 -0
- package/dist/assets/gux-segmented-control-beta.entry-Lg-TCK-1.js +1 -0
- package/dist/assets/gux-segmented-control-item.entry-DDTIGwB3.js +1 -0
- package/dist/assets/gux-selector-card-beta.entry-df35Lfih.js +1 -0
- package/dist/assets/gux-selector-cards-beta.entry-HqqnLkUG.js +1 -0
- package/dist/assets/gux-side-panel-beta.entry-BUo5l_ej.js +1 -0
- package/dist/assets/gux-side-panel-heading.entry-NHumDrZj.js +1 -0
- package/dist/assets/gux-simple-toast-legacy.entry-BOuwoL-n.js +1 -0
- package/dist/assets/gux-skip-navigation-item.entry-DdXOJO27.js +1 -0
- package/dist/assets/gux-skip-navigation-list.entry-CuUU-ew0.js +1 -0
- package/dist/assets/gux-sort-control.entry-CbDxt8g0.js +1 -0
- package/dist/assets/gux-submenu.entry-BIlJzQjJ.js +1 -0
- package/dist/assets/gux-switch-item.entry-Cgtmox8R.js +1 -0
- package/dist/assets/gux-switch-legacy.entry-DsGOmtPe.js +1 -0
- package/dist/assets/gux-tab-advanced-list.entry-BtLAOPFJ.js +6 -0
- package/dist/assets/gux-tab-advanced-panel.entry-DIpz0Cfq.js +1 -0
- package/dist/assets/gux-tab-advanced.entry-BJITyN8b.js +1 -0
- package/dist/assets/gux-tab-list.entry-C7TvqKuP.js +1 -0
- package/dist/assets/gux-tab-panel.entry-C2d5THOw.js +1 -0
- package/dist/assets/gux-tab.entry-C4cHFqyb.js +1 -0
- package/dist/assets/gux-table-select-menu.entry-B0sGVIcE.js +1 -0
- package/dist/assets/gux-table-toolbar-action.entry-6BqIINZe.js +1 -0
- package/dist/assets/gux-table-toolbar-custom-action.entry-kKhiKsjX.js +1 -0
- package/dist/assets/gux-table-toolbar-menu-button.entry-CRgm9k5e.js +1 -0
- package/dist/assets/gux-table-toolbar.entry-Ba-W7m77.js +1 -0
- package/dist/assets/gux-table.entry-Du_lBgt-.js +4 -0
- package/dist/assets/gux-tabs-advanced.entry-spkmmAd3.js +1 -0
- package/dist/assets/gux-tabs.entry-BEULiyba.js +1 -0
- package/dist/assets/gux-tag.entry-BqkYTi8D.js +1 -0
- package/dist/assets/gux-text-highlight.entry-DOOZoYpX.js +1 -0
- package/dist/assets/gux-time-beta.entry-Ch9EsUkg.js +1 -0
- package/dist/assets/gux-time-picker.entry-Cq4RImXx.js +1 -0
- package/dist/assets/gux-time-zone-beta.entry-De8gNsNd.js +1 -0
- package/dist/assets/gux-time-zone-picker-beta.entry-Bqx6c6Qf.js +1 -0
- package/dist/assets/gux-toast.entry-F3efkRwy.js +1 -0
- package/dist/assets/gux-toggle-slider.entry-DcoVYfs5.js +1 -0
- package/dist/assets/gux-toggle.entry-Cu3eAfan.js +1 -0
- package/dist/assets/gux-tooltip-base-beta_2.entry-1gOdb2cF.js +1 -0
- package/dist/assets/gux-tooltip-pointer-beta.entry-D-hRxe26.js +1 -0
- package/dist/assets/gux-tooltip-title.entry-DjR4NFSD.js +1 -0
- package/dist/assets/gux-tooltip_2.entry-CKPibHyg.js +1 -0
- package/dist/assets/has-slot-f24a46a6-D7GdaS0G.js +1 -0
- package/dist/assets/index-4f1356d9-DSfDpFAA.js +3 -0
- package/dist/assets/index-CGOI1bSc.css +1 -0
- package/dist/assets/index-CWixJ8vL.js +53 -0
- package/dist/assets/index.umd-c0335c3a-dA6NRMYB.js +7 -0
- package/dist/assets/intl-93dbfa3b-BWr_j3mE.js +1 -0
- package/dist/assets/iso-dates-c6c7180d-MS_uLuKn.js +1 -0
- package/dist/assets/log-error-274efeb7-BpRSdGLj.js +1 -0
- package/dist/assets/on-attribute-change-33919964-C8j0fVsi.js +1 -0
- package/dist/assets/on-click-outside-6c2e399b-BC2t0a8o.js +1 -0
- package/dist/assets/on-input-disabled-state-change-27395154-_B452ZSd.js +1 -0
- package/dist/assets/on-mutation-751e68e4-BRlz63Dw.js +1 -0
- package/dist/assets/on-mutation-a222fe93-BUuUxYmY.js +1 -0
- package/dist/assets/on-resize-c9d0d33c-RQFUwEyO.js +1 -0
- package/dist/assets/overflow-detection-7e4fbf13-BN_H74hs.js +1 -0
- package/dist/assets/prevent-browser-validation-styling-3983eb0a-8P9I4Sy5.js +1 -0
- package/dist/assets/random-html-id-81ac821b-D30kRngR.js +1 -0
- package/dist/assets/simulate-native-event-e0631897-BcLDngo1.js +1 -0
- package/dist/assets/time-zone-b2752992-DBIrkcHc.js +1 -0
- package/dist/assets/usage-36c49ec0-Dlq6IjQJ.js +1 -0
- package/dist/assets/use-regional-dates-20f9c0e5-C5bTvd2o.js +1 -0
- package/dist/assets/when-event-is-from-2aac15f0-B4cyA2sH.js +1 -0
- package/dist/assets/year-month-values-7461d213-BGOpTfvI.js +1 -0
- package/dist/deploy-info.json +5 -9
- package/dist/genesys-cloud-client-auth.browser.min.js +1 -1
- package/dist/genesys-cloud-client-auth.browser.min.js.map +1 -1
- package/dist/i18n/ar.json +8 -8
- package/dist/i18n/cs.json +8 -8
- package/dist/i18n/da.json +10 -0
- package/dist/i18n/de.json +8 -8
- package/dist/i18n/en-us.json +8 -8
- package/dist/i18n/es.json +8 -8
- package/dist/i18n/fi.json +10 -0
- package/dist/i18n/fr.json +8 -8
- package/dist/i18n/he.json +8 -8
- package/dist/i18n/hi.json +2 -0
- package/dist/i18n/it.json +8 -8
- package/dist/i18n/ja.json +8 -8
- package/dist/i18n/ko.json +8 -8
- package/dist/i18n/nl.json +8 -8
- package/dist/i18n/no.json +8 -8
- package/dist/i18n/pl.json +8 -8
- package/dist/i18n/pt-br.json +8 -8
- package/dist/i18n/pt-pt.json +8 -8
- package/dist/i18n/ru.json +8 -8
- package/dist/i18n/sv.json +8 -8
- package/dist/i18n/th.json +8 -8
- package/dist/i18n/tr.json +8 -8
- package/dist/i18n/uk.json +10 -0
- package/dist/i18n/zh-cn.json +8 -8
- package/dist/i18n/zh-tw.json +8 -8
- package/dist/index.html +14 -1
- package/dist/lib/cjs/authenticator.d.ts +2 -1
- package/dist/lib/cjs/authenticator.js +13 -6
- package/dist/lib/cjs/authenticator.js.map +1 -1
- package/dist/lib/cjs/index.js.map +1 -1
- package/dist/lib/cjs/parse-redirect.js +5 -5
- package/dist/lib/cjs/parse-redirect.js.map +1 -1
- package/dist/lib/cjs/types.d.ts +5 -1
- package/dist/lib/cjs/utils.d.ts +1 -1
- package/dist/lib/cjs/utils.js +2 -2
- package/dist/lib/cjs/utils.js.map +1 -1
- package/dist/lib/cjs/version.js +0 -1
- package/dist/lib/cjs/version.js.map +1 -1
- package/dist/lib/es/authenticator.d.ts +2 -1
- package/dist/lib/es/authenticator.js +10 -3
- package/dist/lib/es/authenticator.js.map +1 -1
- package/dist/lib/es/index.js.map +1 -1
- package/dist/lib/es/parse-redirect.js.map +1 -1
- package/dist/lib/es/types.d.ts +5 -1
- package/dist/lib/es/utils.d.ts +1 -1
- package/dist/lib/es/utils.js.map +1 -1
- package/dist/lib/es/version.js +0 -1
- package/dist/lib/es/version.js.map +1 -1
- package/dist/manifest.json +3 -7
- package/dist/v1/genesys-cloud-client-auth.browser.min.js +1 -1
- package/dist/v1.0.0/genesys-cloud-client-auth.browser.min.js +1 -1
- package/dist/vite.svg +1 -0
- package/package.json +72 -73
- package/CHANGELOG.md +0 -16
- package/LICENSE +0 -21
- package/dist/asset-manifest.json +0 -198
- package/dist/favicon.ico +0 -0
- package/dist/robots.txt +0 -3
- package/dist/static/css/main.045d96b0.css +0 -2
- package/dist/static/css/main.045d96b0.css.map +0 -1
- package/dist/static/js/1089.fb722233.chunk.js +0 -2
- package/dist/static/js/1089.fb722233.chunk.js.map +0 -1
- package/dist/static/js/1158.76a41325.chunk.js +0 -2
- package/dist/static/js/1158.76a41325.chunk.js.map +0 -1
- package/dist/static/js/1166.1486fbcd.chunk.js +0 -2
- package/dist/static/js/1166.1486fbcd.chunk.js.map +0 -1
- package/dist/static/js/131.3f61f67c.chunk.js +0 -2
- package/dist/static/js/131.3f61f67c.chunk.js.map +0 -1
- package/dist/static/js/1344.19a70535.chunk.js +0 -2
- package/dist/static/js/1344.19a70535.chunk.js.map +0 -1
- package/dist/static/js/1433.d57f6003.chunk.js +0 -2
- package/dist/static/js/1433.d57f6003.chunk.js.map +0 -1
- package/dist/static/js/1498.98292821.chunk.js +0 -2
- package/dist/static/js/1498.98292821.chunk.js.map +0 -1
- package/dist/static/js/1507.84125ab7.chunk.js +0 -2
- package/dist/static/js/1507.84125ab7.chunk.js.map +0 -1
- package/dist/static/js/1544.fcbc0609.chunk.js +0 -2
- package/dist/static/js/1544.fcbc0609.chunk.js.map +0 -1
- package/dist/static/js/1642.13e001a0.chunk.js +0 -2
- package/dist/static/js/1642.13e001a0.chunk.js.map +0 -1
- package/dist/static/js/1697.c1eba654.chunk.js +0 -2
- package/dist/static/js/1697.c1eba654.chunk.js.map +0 -1
- package/dist/static/js/1718.d222d0d2.chunk.js +0 -2
- package/dist/static/js/1718.d222d0d2.chunk.js.map +0 -1
- package/dist/static/js/1978.b9b0b630.chunk.js +0 -2
- package/dist/static/js/1978.b9b0b630.chunk.js.map +0 -1
- package/dist/static/js/2131.e90e6224.chunk.js +0 -2
- package/dist/static/js/2131.e90e6224.chunk.js.map +0 -1
- package/dist/static/js/2291.98b84fa5.chunk.js +0 -2
- package/dist/static/js/2291.98b84fa5.chunk.js.map +0 -1
- package/dist/static/js/2361.28c72454.chunk.js +0 -2
- package/dist/static/js/2361.28c72454.chunk.js.map +0 -1
- package/dist/static/js/2609.69b7ee3f.chunk.js +0 -2
- package/dist/static/js/2609.69b7ee3f.chunk.js.map +0 -1
- package/dist/static/js/2618.08776cf8.chunk.js +0 -2
- package/dist/static/js/2618.08776cf8.chunk.js.map +0 -1
- package/dist/static/js/2657.08f5fe94.chunk.js +0 -2
- package/dist/static/js/2657.08f5fe94.chunk.js.map +0 -1
- package/dist/static/js/2939.a53af515.chunk.js +0 -2
- package/dist/static/js/2939.a53af515.chunk.js.map +0 -1
- package/dist/static/js/2959.b68475ee.chunk.js +0 -2
- package/dist/static/js/2959.b68475ee.chunk.js.map +0 -1
- package/dist/static/js/3183.0483907e.chunk.js +0 -2
- package/dist/static/js/3183.0483907e.chunk.js.map +0 -1
- package/dist/static/js/3184.b5c03e4a.chunk.js +0 -2
- package/dist/static/js/3184.b5c03e4a.chunk.js.map +0 -1
- package/dist/static/js/3326.58fe8ed8.chunk.js +0 -2
- package/dist/static/js/3326.58fe8ed8.chunk.js.map +0 -1
- package/dist/static/js/3431.330e6907.chunk.js +0 -2
- package/dist/static/js/3431.330e6907.chunk.js.map +0 -1
- package/dist/static/js/3466.d53f9938.chunk.js +0 -2
- package/dist/static/js/3466.d53f9938.chunk.js.map +0 -1
- package/dist/static/js/3534.ee2022f0.chunk.js +0 -2
- package/dist/static/js/3534.ee2022f0.chunk.js.map +0 -1
- package/dist/static/js/3649.47036a0d.chunk.js +0 -2
- package/dist/static/js/3649.47036a0d.chunk.js.map +0 -1
- package/dist/static/js/3821.dbe9ef88.chunk.js +0 -2
- package/dist/static/js/3821.dbe9ef88.chunk.js.map +0 -1
- package/dist/static/js/3982.1668cd90.chunk.js +0 -2
- package/dist/static/js/3982.1668cd90.chunk.js.map +0 -1
- package/dist/static/js/4173.64f75901.chunk.js +0 -2
- package/dist/static/js/4173.64f75901.chunk.js.map +0 -1
- package/dist/static/js/4192.35098ff0.chunk.js +0 -2
- package/dist/static/js/4192.35098ff0.chunk.js.map +0 -1
- package/dist/static/js/4202.6a101f57.chunk.js +0 -2
- package/dist/static/js/4202.6a101f57.chunk.js.map +0 -1
- package/dist/static/js/4242.625e5aa9.chunk.js +0 -2
- package/dist/static/js/4242.625e5aa9.chunk.js.map +0 -1
- package/dist/static/js/4248.d69f59fd.chunk.js +0 -2
- package/dist/static/js/4248.d69f59fd.chunk.js.map +0 -1
- package/dist/static/js/4618.2b652181.chunk.js +0 -2
- package/dist/static/js/4618.2b652181.chunk.js.map +0 -1
- package/dist/static/js/4774.03877b96.chunk.js +0 -2
- package/dist/static/js/4774.03877b96.chunk.js.map +0 -1
- package/dist/static/js/4777.07210d5d.chunk.js +0 -2
- package/dist/static/js/4777.07210d5d.chunk.js.map +0 -1
- package/dist/static/js/4826.f3719274.chunk.js +0 -2
- package/dist/static/js/4826.f3719274.chunk.js.map +0 -1
- package/dist/static/js/501.3f46836b.chunk.js +0 -2
- package/dist/static/js/501.3f46836b.chunk.js.map +0 -1
- package/dist/static/js/5122.046ab4b7.chunk.js +0 -2
- package/dist/static/js/5122.046ab4b7.chunk.js.map +0 -1
- package/dist/static/js/5160.465b3a5d.chunk.js +0 -2
- package/dist/static/js/5160.465b3a5d.chunk.js.map +0 -1
- package/dist/static/js/546.40835589.chunk.js +0 -2
- package/dist/static/js/546.40835589.chunk.js.map +0 -1
- package/dist/static/js/5503.cc3b1fda.chunk.js +0 -2
- package/dist/static/js/5503.cc3b1fda.chunk.js.map +0 -1
- package/dist/static/js/5572.565c5d80.chunk.js +0 -2
- package/dist/static/js/5572.565c5d80.chunk.js.map +0 -1
- package/dist/static/js/599.a5cb72b5.chunk.js +0 -2
- package/dist/static/js/599.a5cb72b5.chunk.js.map +0 -1
- package/dist/static/js/6033.174d7635.chunk.js +0 -2
- package/dist/static/js/6033.174d7635.chunk.js.map +0 -1
- package/dist/static/js/6069.5c81dae7.chunk.js +0 -2
- package/dist/static/js/6069.5c81dae7.chunk.js.map +0 -1
- package/dist/static/js/6151.c5cf5a85.chunk.js +0 -2
- package/dist/static/js/6151.c5cf5a85.chunk.js.map +0 -1
- package/dist/static/js/6237.a9b576a4.chunk.js +0 -2
- package/dist/static/js/6237.a9b576a4.chunk.js.map +0 -1
- package/dist/static/js/6326.156b4248.chunk.js +0 -2
- package/dist/static/js/6326.156b4248.chunk.js.map +0 -1
- package/dist/static/js/6474.03947fd7.chunk.js +0 -2
- package/dist/static/js/6474.03947fd7.chunk.js.map +0 -1
- package/dist/static/js/6571.301eecac.chunk.js +0 -2
- package/dist/static/js/6571.301eecac.chunk.js.map +0 -1
- package/dist/static/js/6632.0676b230.chunk.js +0 -2
- package/dist/static/js/6632.0676b230.chunk.js.map +0 -1
- package/dist/static/js/6769.fcdb896c.chunk.js +0 -2
- package/dist/static/js/6769.fcdb896c.chunk.js.map +0 -1
- package/dist/static/js/6982.60585ab3.chunk.js +0 -2
- package/dist/static/js/6982.60585ab3.chunk.js.map +0 -1
- package/dist/static/js/7076.37939eb2.chunk.js +0 -2
- package/dist/static/js/7076.37939eb2.chunk.js.map +0 -1
- package/dist/static/js/7120.0b0ef311.chunk.js +0 -3
- package/dist/static/js/7120.0b0ef311.chunk.js.LICENSE.txt +0 -6
- package/dist/static/js/7120.0b0ef311.chunk.js.map +0 -1
- package/dist/static/js/7150.840301cb.chunk.js +0 -2
- package/dist/static/js/7150.840301cb.chunk.js.map +0 -1
- package/dist/static/js/7153.250bf93b.chunk.js +0 -2
- package/dist/static/js/7153.250bf93b.chunk.js.map +0 -1
- package/dist/static/js/7307.8656856b.chunk.js +0 -2
- package/dist/static/js/7307.8656856b.chunk.js.map +0 -1
- package/dist/static/js/742.64af67d8.chunk.js +0 -2
- package/dist/static/js/742.64af67d8.chunk.js.map +0 -1
- package/dist/static/js/754.b1c84197.chunk.js +0 -2
- package/dist/static/js/754.b1c84197.chunk.js.map +0 -1
- package/dist/static/js/7610.97a0a5b5.chunk.js +0 -2
- package/dist/static/js/7610.97a0a5b5.chunk.js.map +0 -1
- package/dist/static/js/765.2a78cffe.chunk.js +0 -2
- package/dist/static/js/765.2a78cffe.chunk.js.map +0 -1
- package/dist/static/js/7803.bfe8c40f.chunk.js +0 -2
- package/dist/static/js/7803.bfe8c40f.chunk.js.map +0 -1
- package/dist/static/js/7895.629e8650.chunk.js +0 -2
- package/dist/static/js/7895.629e8650.chunk.js.map +0 -1
- package/dist/static/js/8025.ecb1d6bc.chunk.js +0 -2
- package/dist/static/js/8025.ecb1d6bc.chunk.js.map +0 -1
- package/dist/static/js/8086.ef9f2d3b.chunk.js +0 -2
- package/dist/static/js/8086.ef9f2d3b.chunk.js.map +0 -1
- package/dist/static/js/8105.46b996bf.chunk.js +0 -2
- package/dist/static/js/8105.46b996bf.chunk.js.map +0 -1
- package/dist/static/js/819.a55f578b.chunk.js +0 -2
- package/dist/static/js/819.a55f578b.chunk.js.map +0 -1
- package/dist/static/js/8300.e15dbcd8.chunk.js +0 -2
- package/dist/static/js/8300.e15dbcd8.chunk.js.map +0 -1
- package/dist/static/js/8324.b769efff.chunk.js +0 -2
- package/dist/static/js/8324.b769efff.chunk.js.map +0 -1
- package/dist/static/js/8366.b2c2daee.chunk.js +0 -2
- package/dist/static/js/8366.b2c2daee.chunk.js.map +0 -1
- package/dist/static/js/8524.95396ee8.chunk.js +0 -2
- package/dist/static/js/8524.95396ee8.chunk.js.map +0 -1
- package/dist/static/js/8644.c87452a5.chunk.js +0 -2
- package/dist/static/js/8644.c87452a5.chunk.js.map +0 -1
- package/dist/static/js/8674.d4aa33fd.chunk.js +0 -2
- package/dist/static/js/8674.d4aa33fd.chunk.js.map +0 -1
- package/dist/static/js/8717.76b643a4.chunk.js +0 -2
- package/dist/static/js/8717.76b643a4.chunk.js.map +0 -1
- package/dist/static/js/872.5c96c93a.chunk.js +0 -2
- package/dist/static/js/872.5c96c93a.chunk.js.map +0 -1
- package/dist/static/js/8762.d3fad692.chunk.js +0 -2
- package/dist/static/js/8762.d3fad692.chunk.js.map +0 -1
- package/dist/static/js/8782.af6b6665.chunk.js +0 -3
- package/dist/static/js/8782.af6b6665.chunk.js.LICENSE.txt +0 -14
- package/dist/static/js/8782.af6b6665.chunk.js.map +0 -1
- package/dist/static/js/894.a8fe019e.chunk.js +0 -2
- package/dist/static/js/894.a8fe019e.chunk.js.map +0 -1
- package/dist/static/js/9057.702da8f9.chunk.js +0 -2
- package/dist/static/js/9057.702da8f9.chunk.js.map +0 -1
- package/dist/static/js/9090.60a5cb5b.chunk.js +0 -2
- package/dist/static/js/9090.60a5cb5b.chunk.js.map +0 -1
- package/dist/static/js/9117.200d2100.chunk.js +0 -2
- package/dist/static/js/9117.200d2100.chunk.js.map +0 -1
- package/dist/static/js/9131.d5d0ab82.chunk.js +0 -2
- package/dist/static/js/9131.d5d0ab82.chunk.js.map +0 -1
- package/dist/static/js/9296.e374c7dc.chunk.js +0 -2
- package/dist/static/js/9296.e374c7dc.chunk.js.map +0 -1
- package/dist/static/js/932.4f62c387.chunk.js +0 -2
- package/dist/static/js/932.4f62c387.chunk.js.map +0 -1
- package/dist/static/js/9584.967e5482.chunk.js +0 -2
- package/dist/static/js/9584.967e5482.chunk.js.map +0 -1
- package/dist/static/js/9679.87a204b1.chunk.js +0 -2
- package/dist/static/js/9679.87a204b1.chunk.js.map +0 -1
- package/dist/static/js/9745.63a6678a.chunk.js +0 -2
- package/dist/static/js/9745.63a6678a.chunk.js.map +0 -1
- package/dist/static/js/9750.1310ef55.chunk.js +0 -2
- package/dist/static/js/9750.1310ef55.chunk.js.map +0 -1
- package/dist/static/js/main.88b7f5a4.js +0 -3
- package/dist/static/js/main.88b7f5a4.js.LICENSE.txt +0 -43
- package/dist/static/js/main.88b7f5a4.js.map +0 -1
- package/dist/static/media/getFetch.c780682470504fffbd04.cjs +0 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import{c as ml}from"./_commonjsHelpers-c9e3b764-Cg_zQLRJ.js";var Vu={exports:{}};(function(fl,$u){(function(Wt,Gt){Gt($u)})(ml,function(Wt){function Gt(a,n){var e=Object.keys(a);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(a);n&&(t=t.filter(function(r){return Object.getOwnPropertyDescriptor(a,r).enumerable})),e.push.apply(e,t)}return e}function de(a){for(var n=1;n<arguments.length;n++){var e=arguments[n]!=null?arguments[n]:{};n%2?Gt(Object(e),!0).forEach(function(t){ji(a,t,e[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(e)):Gt(Object(e)).forEach(function(t){Object.defineProperty(a,t,Object.getOwnPropertyDescriptor(e,t))})}return a}function Me(a){return Me=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Me(a)}function ae(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function")}function $a(a,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(a,eo(t.key),t)}}function oe(a,n,e){return n&&$a(a.prototype,n),e&&$a(a,e),Object.defineProperty(a,"prototype",{writable:!1}),a}function ji(a,n,e){return(n=eo(n))in a?Object.defineProperty(a,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):a[n]=e,a}function Ie(a,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function");a.prototype=Object.create(n&&n.prototype,{constructor:{value:a,writable:!0,configurable:!0}}),Object.defineProperty(a,"prototype",{writable:!1}),n&>(a,n)}function _n(a){return _n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},_n(a)}function gt(a,n){return gt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,r){return t.__proto__=r,t},gt(a,n)}function Ka(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Li(a,n,e){return Li=Ka()?Reflect.construct.bind():function(r,i,o){var l=[null];l.push.apply(l,i);var s=new(Function.bind.apply(r,l));return o&>(s,o.prototype),s},Li.apply(null,arguments)}function Ui(a){var n=typeof Map=="function"?new Map:void 0;return Ui=function(t){if(t===null||!function(o){return Function.toString.call(o).indexOf("[native code]")!==-1}(t))return t;if(typeof t!="function")throw new TypeError("Super expression must either be null or a function");if(n!==void 0){if(n.has(t))return n.get(t);n.set(t,r)}function r(){return Li(t,arguments,_n(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),gt(r,t)},Ui(a)}function Xa(a){if(a===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}function Qa(a,n){if(n&&(typeof n=="object"||typeof n=="function"))return n;if(n!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Xa(a)}function Fe(a){var n=Ka();return function(){var t,r=_n(a);if(n){var i=_n(this).constructor;t=Reflect.construct(r,arguments,i)}else t=r.apply(this,arguments);return Qa(this,t)}}function Ku(a,n){for(;!Object.prototype.hasOwnProperty.call(a,n)&&(a=_n(a))!==null;);return a}function xi(){return xi=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(n,e,t){var r=Ku(n,e);if(r){var i=Object.getOwnPropertyDescriptor(r,e);return i.get?i.get.call(arguments.length<3?n:t):i.value}},xi.apply(this,arguments)}function Ar(a,n){return function(t){if(Array.isArray(t))return t}(a)||function(t,r){var i=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(i!=null){var o,l,s,c,d=[],h=!0,f=!1;try{if(s=(i=i.call(t)).next,r===0){if(Object(i)!==i)return;h=!1}else for(;!(h=(o=s.call(i)).done)&&(d.push(o.value),d.length!==r);h=!0);}catch(v){f=!0,l=v}finally{try{if(!h&&i.return!=null&&(c=i.return(),Object(c)!==c))return}finally{if(f)throw l}}return d}}(a,n)||Zi(a,n)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Mr(a){return function(e){if(Array.isArray(e))return qi(e)}(a)||function(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}(a)||Zi(a)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
3
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Zi(a,n){if(a){if(typeof a=="string")return qi(a,n);var e=Object.prototype.toString.call(a).slice(8,-1);return e==="Object"&&a.constructor&&(e=a.constructor.name),e==="Map"||e==="Set"?Array.from(a):e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?qi(a,n):void 0}}function qi(a,n){(n==null||n>a.length)&&(n=a.length);for(var e=0,t=new Array(n);e<n;e++)t[e]=a[e];return t}function je(a,n){var e=typeof Symbol<"u"&&a[Symbol.iterator]||a["@@iterator"];if(!e){if(Array.isArray(a)||(e=Zi(a))||n){e&&(a=e);var t=0,r=function(){};return{s:r,n:function(){return t>=a.length?{done:!0}:{done:!1,value:a[t++]}},e:function(s){throw s},f:r}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
4
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i,o=!0,l=!1;return{s:function(){e=e.call(a)},n:function(){var s=e.next();return o=s.done,s},e:function(s){l=!0,i=s},f:function(){try{o||e.return==null||e.return()}finally{if(l)throw i}}}}function eo(a){var n=function(t,r){if(typeof t!="object"||t===null)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var o=i.call(t,r);if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(t)}(a,"string");return typeof n=="symbol"?n:String(n)}var m=function(a){Ie(e,a);var n=Fe(e);function e(t,r){var i;if(ae(this,e),(i=n.call(this,t)).sign=r,Object.setPrototypeOf(Xa(i),e.prototype),t>e.__kMaxLength)throw new RangeError("Maximum BigInt size exceeded");return Qa(i)}return oe(e,[{key:"toDebugString",value:function(){var r,i=["BigInt["],o=je(this);try{for(o.s();!(r=o.n()).done;){var l=r.value;i.push((l&&(l>>>0).toString(16))+", ")}}catch(s){o.e(s)}finally{o.f()}return i.push("]"),i.join("")}},{key:"toString",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10;if(2>r||36<r)throw new RangeError("toString() radix argument must be between 2 and 36");return this.length===0?"0":(r&r-1)==0?e.__toStringBasePowerOfTwo(this,r):e.__toStringGeneric(this,r,!1)}},{key:"valueOf",value:function(){throw new Error("Convert JSBI instances to native numbers using `toNumber`.")}},{key:"__copy",value:function(){for(var r=new e(this.length,this.sign),i=0;i<this.length;i++)r[i]=this[i];return r}},{key:"__trim",value:function(){for(var r=this.length,i=this[r-1];i===0;)i=this[--r-1],this.pop();return r===0&&(this.sign=!1),this}},{key:"__initializeDigits",value:function(){for(var r=0;r<this.length;r++)this[r]=0}},{key:"__clzmsd",value:function(){return e.__clz30(this.__digit(this.length-1))}},{key:"__inplaceMultiplyAdd",value:function(r,i,o){o>this.length&&(o=this.length);for(var l=32767&r,s=r>>>15,c=0,d=i,h=0;h<o;h++){var f=this.__digit(h),v=32767&f,g=f>>>15,y=e.__imul(v,l),D=e.__imul(v,s),p=e.__imul(g,l),w=d+y+c;c=w>>>30,w&=1073741823,c+=(w+=((32767&D)<<15)+((32767&p)<<15))>>>30,d=e.__imul(g,s)+(D>>>15)+(p>>>15),this.__setDigit(h,1073741823&w)}if(c!=0||d!==0)throw new Error("implementation bug")}},{key:"__inplaceAdd",value:function(r,i,o){for(var l=0,s=0;s<o;s++){var c=this.__halfDigit(i+s)+r.__halfDigit(s)+l;l=c>>>15,this.__setHalfDigit(i+s,32767&c)}return l}},{key:"__inplaceSub",value:function(r,i,o){var l=0;if(1&i){i>>=1;for(var s=this.__digit(i),c=32767&s,d=0;d<o-1>>>1;d++){var h=r.__digit(d),f=(s>>>15)-(32767&h)-l;l=1&f>>>15,this.__setDigit(i+d,(32767&f)<<15|32767&c),l=1&(c=(32767&(s=this.__digit(i+d+1)))-(h>>>15)-l)>>>15}var v=r.__digit(d),g=(s>>>15)-(32767&v)-l;if(l=1&g>>>15,this.__setDigit(i+d,(32767&g)<<15|32767&c),i+d+1>=this.length)throw new RangeError("out of bounds");(1&o)==0&&(l=1&(c=(32767&(s=this.__digit(i+d+1)))-(v>>>15)-l)>>>15,this.__setDigit(i+r.length,1073709056&s|32767&c))}else{i>>=1;for(var y=0;y<r.length-1;y++){var D=this.__digit(i+y),p=r.__digit(y),w=(32767&D)-(32767&p)-l,_=(D>>>15)-(p>>>15)-(l=1&w>>>15);l=1&_>>>15,this.__setDigit(i+y,(32767&_)<<15|32767&w)}var T=this.__digit(i+y),b=r.__digit(y),C=(32767&T)-(32767&b)-l;l=1&C>>>15;var k=0;(1&o)==0&&(l=1&(k=(T>>>15)-(b>>>15)-l)>>>15),this.__setDigit(i+y,(32767&k)<<15|32767&C)}return l}},{key:"__inplaceRightShift",value:function(r){if(r!==0){for(var i=this.__digit(0)>>>r,o=this.length-1,l=0;l<o;l++){var s=this.__digit(l+1);this.__setDigit(l,1073741823&s<<30-r|i),i=s>>>r}this.__setDigit(o,i)}}},{key:"__digit",value:function(r){return this[r]}},{key:"__unsignedDigit",value:function(r){return this[r]>>>0}},{key:"__setDigit",value:function(r,i){this[r]=0|i}},{key:"__setDigitGrow",value:function(r,i){this[r]=0|i}},{key:"__halfDigitLength",value:function(){var r=this.length;return 32767>=this.__unsignedDigit(r-1)?2*r-1:2*r}},{key:"__halfDigit",value:function(r){return 32767&this[r>>>1]>>>15*(1&r)}},{key:"__setHalfDigit",value:function(r,i){var o=r>>>1,l=this.__digit(o),s=1&r?32767&l|i<<15:1073709056&l|32767&i;this.__setDigit(o,s)}}],[{key:"BigInt",value:function(r){var i=Math.floor,o=Number.isFinite;if(typeof r=="number"){if(r===0)return e.__zero();if(e.__isOneDigitInt(r))return 0>r?e.__oneDigit(-r,!0):e.__oneDigit(r,!1);if(!o(r)||i(r)!==r)throw new RangeError("The number "+r+" cannot be converted to BigInt because it is not an integer");return e.__fromDouble(r)}if(typeof r=="string"){var l=e.__fromString(r);if(l===null)throw new SyntaxError("Cannot convert "+r+" to a BigInt");return l}if(typeof r=="boolean")return r===!0?e.__oneDigit(1,!1):e.__zero();if(Me(r)=="object"){if(r.constructor===e)return r;var s=e.__toPrimitive(r);return e.BigInt(s)}throw new TypeError("Cannot convert "+r+" to a BigInt")}},{key:"toNumber",value:function(r){var i=r.length;if(i===0)return 0;if(i===1){var o=r.__unsignedDigit(0);return r.sign?-o:o}var l=r.__digit(i-1),s=e.__clz30(l),c=30*i-s;if(1024<c)return r.sign?-1/0:1/0;var d=c-1,h=l,f=i-1,v=s+3,g=v===32?0:h<<v;g>>>=12;var y=v-12,D=12<=v?0:h<<20+v,p=20+v;for(0<y&&0<f&&(f--,g|=(h=r.__digit(f))>>>30-y,D=h<<y+2,p=y+2);0<p&&0<f;)f--,h=r.__digit(f),D|=30<=p?h<<p-30:h>>>30-p,p-=30;var w=e.__decideRounding(r,p,f,h);if((w===1||w===0&&(1&D)==1)&&(D=D+1>>>0)===0&&++g>>>20&&(g=0,1023<++d))return r.sign?-1/0:1/0;var _=r.sign?-2147483648:0;return d=d+1023<<20,e.__kBitConversionInts[1]=_|d|g,e.__kBitConversionInts[0]=D,e.__kBitConversionDouble[0]}},{key:"unaryMinus",value:function(r){if(r.length===0)return r;var i=r.__copy();return i.sign=!r.sign,i}},{key:"bitwiseNot",value:function(r){return r.sign?e.__absoluteSubOne(r).__trim():e.__absoluteAddOne(r,!0)}},{key:"exponentiate",value:function(r,i){if(i.sign)throw new RangeError("Exponent must be positive");if(i.length===0)return e.__oneDigit(1,!1);if(r.length===0)return r;if(r.length===1&&r.__digit(0)===1)return r.sign&&(1&i.__digit(0))==0?e.unaryMinus(r):r;if(1<i.length)throw new RangeError("BigInt too big");var o=i.__unsignedDigit(0);if(o===1)return r;if(o>=e.__kMaxLengthBits)throw new RangeError("BigInt too big");if(r.length===1&&r.__digit(0)===2){var l=1+(0|o/30),s=new e(l,r.sign&&(1&o)!=0);s.__initializeDigits();var c=1<<o%30;return s.__setDigit(l-1,c),s}var d=null,h=r;for((1&o)!=0&&(d=r),o>>=1;o!==0;o>>=1)h=e.multiply(h,h),(1&o)!=0&&(d=d===null?h:e.multiply(d,h));return d}},{key:"multiply",value:function(r,i){if(r.length===0)return r;if(i.length===0)return i;var o=r.length+i.length;30<=r.__clzmsd()+i.__clzmsd()&&o--;var l=new e(o,r.sign!==i.sign);l.__initializeDigits();for(var s=0;s<r.length;s++)e.__multiplyAccumulate(i,r.__digit(s),l,s);return l.__trim()}},{key:"divide",value:function(r,i){if(i.length===0)throw new RangeError("Division by zero");if(0>e.__absoluteCompare(r,i))return e.__zero();var o,l=r.sign!==i.sign,s=i.__unsignedDigit(0);if(i.length===1&&32767>=s){if(s===1)return l===r.sign?r:e.unaryMinus(r);o=e.__absoluteDivSmall(r,s,null)}else o=e.__absoluteDivLarge(r,i,!0,!1);return o.sign=l,o.__trim()}},{key:"remainder",value:function(r,i){if(i.length===0)throw new RangeError("Division by zero");if(0>e.__absoluteCompare(r,i))return r;var o=i.__unsignedDigit(0);if(i.length===1&&32767>=o){if(o===1)return e.__zero();var l=e.__absoluteModSmall(r,o);return l===0?e.__zero():e.__oneDigit(l,r.sign)}var s=e.__absoluteDivLarge(r,i,!1,!0);return s.sign=r.sign,s.__trim()}},{key:"add",value:function(r,i){var o=r.sign;return o===i.sign?e.__absoluteAdd(r,i,o):0<=e.__absoluteCompare(r,i)?e.__absoluteSub(r,i,o):e.__absoluteSub(i,r,!o)}},{key:"subtract",value:function(r,i){var o=r.sign;return o===i.sign?0<=e.__absoluteCompare(r,i)?e.__absoluteSub(r,i,o):e.__absoluteSub(i,r,!o):e.__absoluteAdd(r,i,o)}},{key:"leftShift",value:function(r,i){return i.length===0||r.length===0?r:i.sign?e.__rightShiftByAbsolute(r,i):e.__leftShiftByAbsolute(r,i)}},{key:"signedRightShift",value:function(r,i){return i.length===0||r.length===0?r:i.sign?e.__leftShiftByAbsolute(r,i):e.__rightShiftByAbsolute(r,i)}},{key:"unsignedRightShift",value:function(){throw new TypeError("BigInts have no unsigned right shift; use >> instead")}},{key:"lessThan",value:function(r,i){return 0>e.__compareToBigInt(r,i)}},{key:"lessThanOrEqual",value:function(r,i){return 0>=e.__compareToBigInt(r,i)}},{key:"greaterThan",value:function(r,i){return 0<e.__compareToBigInt(r,i)}},{key:"greaterThanOrEqual",value:function(r,i){return 0<=e.__compareToBigInt(r,i)}},{key:"equal",value:function(r,i){if(r.sign!==i.sign||r.length!==i.length)return!1;for(var o=0;o<r.length;o++)if(r.__digit(o)!==i.__digit(o))return!1;return!0}},{key:"notEqual",value:function(r,i){return!e.equal(r,i)}},{key:"bitwiseAnd",value:function(r,i){var o,l=Math.max;if(!r.sign&&!i.sign)return e.__absoluteAnd(r,i).__trim();if(r.sign&&i.sign){var s=l(r.length,i.length)+1,c=e.__absoluteSubOne(r,s),d=e.__absoluteSubOne(i);return c=e.__absoluteOr(c,d,c),e.__absoluteAddOne(c,!0,c).__trim()}return r.sign&&(r=(o=[i,r])[0],i=o[1]),e.__absoluteAndNot(r,e.__absoluteSubOne(i)).__trim()}},{key:"bitwiseXor",value:function(r,i){var o,l=Math.max;if(!r.sign&&!i.sign)return e.__absoluteXor(r,i).__trim();if(r.sign&&i.sign){var s=l(r.length,i.length),c=e.__absoluteSubOne(r,s),d=e.__absoluteSubOne(i);return e.__absoluteXor(c,d,c).__trim()}var h=l(r.length,i.length)+1;r.sign&&(r=(o=[i,r])[0],i=o[1]);var f=e.__absoluteSubOne(i,h);return f=e.__absoluteXor(f,r,f),e.__absoluteAddOne(f,!0,f).__trim()}},{key:"bitwiseOr",value:function(r,i){var o,l=(0,Math.max)(r.length,i.length);if(!r.sign&&!i.sign)return e.__absoluteOr(r,i).__trim();if(r.sign&&i.sign){var s=e.__absoluteSubOne(r,l),c=e.__absoluteSubOne(i);return s=e.__absoluteAnd(s,c,s),e.__absoluteAddOne(s,!0,s).__trim()}r.sign&&(r=(o=[i,r])[0],i=o[1]);var d=e.__absoluteSubOne(i,l);return d=e.__absoluteAndNot(d,r,d),e.__absoluteAddOne(d,!0,d).__trim()}},{key:"asIntN",value:function(r,i){var o=Math.floor;if(i.length===0)return i;if(0>(r=o(r)))throw new RangeError("Invalid value: not (convertible to) a safe integer");if(r===0)return e.__zero();if(r>=e.__kMaxLengthBits)return i;var l=0|(r+29)/30;if(i.length<l)return i;var s=i.__unsignedDigit(l-1),c=1<<(r-1)%30;if(i.length===l&&s<c)return i;if((s&c)!==c)return e.__truncateToNBits(r,i);if(!i.sign)return e.__truncateAndSubFromPowerOfTwo(r,i,!0);if((s&c-1)==0){for(var d=l-2;0<=d;d--)if(i.__digit(d)!==0)return e.__truncateAndSubFromPowerOfTwo(r,i,!1);return i.length===l&&s===c?i:e.__truncateToNBits(r,i)}return e.__truncateAndSubFromPowerOfTwo(r,i,!1)}},{key:"asUintN",value:function(r,i){var o=Math.floor;if(i.length===0)return i;if(0>(r=o(r)))throw new RangeError("Invalid value: not (convertible to) a safe integer");if(r===0)return e.__zero();if(i.sign){if(r>e.__kMaxLengthBits)throw new RangeError("BigInt too big");return e.__truncateAndSubFromPowerOfTwo(r,i,!1)}if(r>=e.__kMaxLengthBits)return i;var l=0|(r+29)/30;if(i.length<l)return i;var s=r%30;return i.length==l&&(s===0||!(i.__digit(l-1)>>>s))?i:e.__truncateToNBits(r,i)}},{key:"ADD",value:function(r,i){if(r=e.__toPrimitive(r),i=e.__toPrimitive(i),typeof r=="string")return typeof i!="string"&&(i=i.toString()),r+i;if(typeof i=="string")return r.toString()+i;if(r=e.__toNumeric(r),i=e.__toNumeric(i),e.__isBigInt(r)&&e.__isBigInt(i))return e.add(r,i);if(typeof r=="number"&&typeof i=="number")return r+i;throw new TypeError("Cannot mix BigInt and other types, use explicit conversions")}},{key:"LT",value:function(r,i){return e.__compare(r,i,0)}},{key:"LE",value:function(r,i){return e.__compare(r,i,1)}},{key:"GT",value:function(r,i){return e.__compare(r,i,2)}},{key:"GE",value:function(r,i){return e.__compare(r,i,3)}},{key:"EQ",value:function(r,i){for(;;){if(e.__isBigInt(r))return e.__isBigInt(i)?e.equal(r,i):e.EQ(i,r);if(typeof r=="number"){if(e.__isBigInt(i))return e.__equalToNumber(i,r);if(Me(i)!="object")return r==i;i=e.__toPrimitive(i)}else if(typeof r=="string"){if(e.__isBigInt(i))return(r=e.__fromString(r))!==null&&e.equal(r,i);if(Me(i)!="object")return r==i;i=e.__toPrimitive(i)}else if(typeof r=="boolean"){if(e.__isBigInt(i))return e.__equalToNumber(i,+r);if(Me(i)!="object")return r==i;i=e.__toPrimitive(i)}else if(Me(r)=="symbol"){if(e.__isBigInt(i))return!1;if(Me(i)!="object")return r==i;i=e.__toPrimitive(i)}else{if(Me(r)!="object"||Me(i)=="object"&&i.constructor!==e)return r==i;r=e.__toPrimitive(r)}}}},{key:"NE",value:function(r,i){return!e.EQ(r,i)}},{key:"DataViewGetBigInt64",value:function(r,i){var o=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return e.asIntN(64,e.DataViewGetBigUint64(r,i,o))}},{key:"DataViewGetBigUint64",value:function(r,i){var o=arguments.length>2&&arguments[2]!==void 0&&arguments[2],l=o?[4,0]:[0,4],s=Ar(l,2),c=s[0],d=s[1],h=r.getUint32(i+c,o),f=r.getUint32(i+d,o),v=new e(3,!1);return v.__setDigit(0,1073741823&f),v.__setDigit(1,(268435455&h)<<2|f>>>30),v.__setDigit(2,h>>>28),v.__trim()}},{key:"DataViewSetBigInt64",value:function(r,i,o){var l=arguments.length>3&&arguments[3]!==void 0&&arguments[3];e.DataViewSetBigUint64(r,i,o,l)}},{key:"DataViewSetBigUint64",value:function(r,i,o){var l=arguments.length>3&&arguments[3]!==void 0&&arguments[3],s=0,c=0;if(0<(o=e.asUintN(64,o)).length&&(c=o.__digit(0),1<o.length)){var d=o.__digit(1);c|=d<<30,s=d>>>2,2<o.length&&(s|=o.__digit(2)<<28)}var h=l?[4,0]:[0,4],f=Ar(h,2),v=f[0],g=f[1];r.setUint32(i+v,s,l),r.setUint32(i+g,c,l)}},{key:"__zero",value:function(){return new e(0,!1)}},{key:"__oneDigit",value:function(r,i){var o=new e(1,i);return o.__setDigit(0,r),o}},{key:"__decideRounding",value:function(r,i,o,l){if(0<i)return-1;var s;if(0>i)s=-i-1;else{if(o===0)return-1;o--,l=r.__digit(o),s=29}var c=1<<s;if((l&c)==0)return-1;if((l&(c-=1))!=0)return 1;for(;0<o;)if(o--,r.__digit(o)!==0)return 1;return 0}},{key:"__fromDouble",value:function(r){e.__kBitConversionDouble[0]=r;var i,o=(2047&e.__kBitConversionInts[1]>>>20)-1023,l=1+(0|o/30),s=new e(l,0>r),c=1048575&e.__kBitConversionInts[1]|1048576,d=e.__kBitConversionInts[0],h=o%30,f=0;if(h<20){var v=20-h;f=v+32,i=c>>>v,c=c<<32-v|d>>>v,d<<=32-v}else if(h===20)f=32,i=c,c=d,d=0;else{var g=h-20;f=32-g,i=c<<g|d>>>32-g,c=d<<g,d=0}s.__setDigit(l-1,i);for(var y=l-2;0<=y;y--)0<f?(f-=30,i=c>>>2,c=c<<30|d>>>2,d<<=30):i=0,s.__setDigit(y,i);return s.__trim()}},{key:"__isWhitespace",value:function(r){return 13>=r&&9<=r||(159>=r?r==32:131071>=r?r==160||r==5760:196607>=r?10>=(r&=131071)||r==40||r==41||r==47||r==95||r==4096:r==65279)}},{key:"__fromString",value:function(r){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,o=0,l=r.length,s=0;if(s===l)return e.__zero();for(var c=r.charCodeAt(s);e.__isWhitespace(c);){if(++s===l)return e.__zero();c=r.charCodeAt(s)}if(c===43){if(++s===l)return null;c=r.charCodeAt(s),o=1}else if(c===45){if(++s===l)return null;c=r.charCodeAt(s),o=-1}if(i===0){if(i=10,c===48){if(++s===l)return e.__zero();if((c=r.charCodeAt(s))===88||c===120){if(i=16,++s===l)return null;c=r.charCodeAt(s)}else if(c===79||c===111){if(i=8,++s===l)return null;c=r.charCodeAt(s)}else if(c===66||c===98){if(i=2,++s===l)return null;c=r.charCodeAt(s)}}}else if(i===16&&c===48){if(++s===l)return e.__zero();if((c=r.charCodeAt(s))===88||c===120){if(++s===l)return null;c=r.charCodeAt(s)}}if(o!=0&&i!==10)return null;for(;c===48;){if(++s===l)return e.__zero();c=r.charCodeAt(s)}var d=l-s,h=e.__kMaxBitsPerChar[i],f=e.__kBitsPerCharTableMultiplier-1;if(d>1073741824/h)return null;var v=h*d+f>>>e.__kBitsPerCharTableShift,g=new e(0|(v+29)/30,!1),y=10>i?i:10,D=10<i?i-10:0;if((i&i-1)==0){h>>=e.__kBitsPerCharTableShift;var p=[],w=[],_=!1;do{for(var T=0,b=0;;){var C=void 0;if(c-48>>>0<y)C=c-48;else{if(!((32|c)-97>>>0<D)){_=!0;break}C=(32|c)-87}if(b+=h,T=T<<h|C,++s===l){_=!0;break}if(c=r.charCodeAt(s),30<b+h)break}p.push(T),w.push(b)}while(!_);e.__fillFromParts(g,p,w)}else{g.__initializeDigits();var k=!1,I=0;do{for(var F=0,S=1;;){var B=void 0;if(c-48>>>0<y)B=c-48;else{if(!((32|c)-97>>>0<D)){k=!0;break}B=(32|c)-87}var j=S*i;if(1073741823<j)break;if(S=j,F=F*i+B,I++,++s===l){k=!0;break}c=r.charCodeAt(s)}var Y=0|(h*I+(f=30*e.__kBitsPerCharTableMultiplier-1)>>>e.__kBitsPerCharTableShift)/30;g.__inplaceMultiplyAdd(S,F,Y)}while(!k)}if(s!==l){if(!e.__isWhitespace(c))return null;for(s++;s<l;s++)if(c=r.charCodeAt(s),!e.__isWhitespace(c))return null}return g.sign=o==-1,g.__trim()}},{key:"__fillFromParts",value:function(r,i,o){for(var l=0,s=0,c=0,d=i.length-1;0<=d;d--){var h=i[d],f=o[d];s|=h<<c,(c+=f)===30?(r.__setDigit(l++,s),c=0,s=0):30<c&&(r.__setDigit(l++,1073741823&s),s=h>>>f-(c-=30))}if(s!==0){if(l>=r.length)throw new Error("implementation bug");r.__setDigit(l++,s)}for(;l<r.length;l++)r.__setDigit(l,0)}},{key:"__toStringBasePowerOfTwo",value:function(r,i){var o=r.length,l=i-1,s=l=(15&(l=(51&(l=(85&l>>>1)+(85&l))>>>2)+(51&l))>>>4)+(15&l),c=i-1,d=r.__digit(o-1),h=0|(30*o-e.__clz30(d)+s-1)/s;if(r.sign&&h++,268435456<h)throw new Error("string too long");for(var f=Array(h),v=h-1,g=0,y=0,D=0;D<o-1;D++){var p=r.__digit(D),w=(g|p<<y)&c;f[v--]=e.__kConversionChars[w];var _=s-y;for(g=p>>>_,y=30-_;y>=s;)f[v--]=e.__kConversionChars[g&c],g>>>=s,y-=s}var T=(g|d<<y)&c;for(f[v--]=e.__kConversionChars[T],g=d>>>s-y;g!==0;)f[v--]=e.__kConversionChars[g&c],g>>>=s;if(r.sign&&(f[v--]="-"),v!=-1)throw new Error("implementation bug");return f.join("")}},{key:"__toStringGeneric",value:function(r,i,o){var l=r.length;if(l===0)return"";if(l===1){var s=r.__unsignedDigit(0).toString(i);return o===!1&&r.sign&&(s="-"+s),s}var c,d,h=30*l-e.__clz30(r.__digit(l-1)),f=e.__kMaxBitsPerChar[i]-1,v=h*e.__kBitsPerCharTableMultiplier,g=(v=0|(v+=f-1)/f)+1>>1,y=e.exponentiate(e.__oneDigit(i,!1),e.__oneDigit(g,!1)),D=y.__unsignedDigit(0);if(y.length===1&&32767>=D){(c=new e(r.length,!1)).__initializeDigits();for(var p=0,w=2*r.length-1;0<=w;w--){var _=p<<15|r.__halfDigit(w);c.__setHalfDigit(w,0|_/D),p=0|_%D}d=p.toString(i)}else{var T=e.__absoluteDivLarge(r,y,!0,!0);c=T.quotient;var b=T.remainder.__trim();d=e.__toStringGeneric(b,i,!0)}c.__trim();for(var C=e.__toStringGeneric(c,i,!0);d.length<g;)d="0"+d;return o===!1&&r.sign&&(C="-"+C),C+d}},{key:"__unequalSign",value:function(r){return r?-1:1}},{key:"__absoluteGreater",value:function(r){return r?-1:1}},{key:"__absoluteLess",value:function(r){return r?1:-1}},{key:"__compareToBigInt",value:function(r,i){var o=r.sign;if(o!==i.sign)return e.__unequalSign(o);var l=e.__absoluteCompare(r,i);return 0<l?e.__absoluteGreater(o):0>l?e.__absoluteLess(o):0}},{key:"__compareToNumber",value:function(r,i){if(e.__isOneDigitInt(i)){var o=r.sign,l=0>i;if(o!==l)return e.__unequalSign(o);if(r.length===0){if(l)throw new Error("implementation bug");return i===0?0:-1}if(1<r.length)return e.__absoluteGreater(o);var s=Math.abs(i),c=r.__unsignedDigit(0);return c>s?e.__absoluteGreater(o):c<s?e.__absoluteLess(o):0}return e.__compareToDouble(r,i)}},{key:"__compareToDouble",value:function(r,i){if(i!=i)return i;if(i===1/0)return-1;if(i===-1/0)return 1;var o=r.sign;if(o!==0>i)return e.__unequalSign(o);if(i===0)throw new Error("implementation bug: should be handled elsewhere");if(r.length===0)return-1;e.__kBitConversionDouble[0]=i;var l=2047&e.__kBitConversionInts[1]>>>20;if(l==2047)throw new Error("implementation bug: handled elsewhere");var s=l-1023;if(0>s)return e.__absoluteGreater(o);var c=r.length,d=r.__digit(c-1),h=e.__clz30(d),f=30*c-h,v=s+1;if(f<v)return e.__absoluteLess(o);if(f>v)return e.__absoluteGreater(o);var g=1048576|1048575&e.__kBitConversionInts[1],y=e.__kBitConversionInts[0],D=29-h;if(D!==(0|(f-1)%30))throw new Error("implementation bug");var p,w=0;if(20>D){var _=20-D;w=_+32,p=g>>>_,g=g<<32-_|y>>>_,y<<=32-_}else if(D===20)w=32,p=g,g=y,y=0;else{var T=D-20;w=32-T,p=g<<T|y>>>32-T,g=y<<T,y=0}if((d>>>=0)>(p>>>=0))return e.__absoluteGreater(o);if(d<p)return e.__absoluteLess(o);for(var b=c-2;0<=b;b--){0<w?(w-=30,p=g>>>2,g=g<<30|y>>>2,y<<=30):p=0;var C=r.__unsignedDigit(b);if(C>p)return e.__absoluteGreater(o);if(C<p)return e.__absoluteLess(o)}if(g!==0||y!==0){if(w===0)throw new Error("implementation bug");return e.__absoluteLess(o)}return 0}},{key:"__equalToNumber",value:function(r,i){var o=Math.abs;return e.__isOneDigitInt(i)?i===0?r.length===0:r.length===1&&r.sign===0>i&&r.__unsignedDigit(0)===o(i):e.__compareToDouble(r,i)===0}},{key:"__comparisonResultToBool",value:function(r,i){return i===0?0>r:i===1?0>=r:i===2?0<r:i===3?0<=r:void 0}},{key:"__compare",value:function(r,i,o){if(r=e.__toPrimitive(r),i=e.__toPrimitive(i),typeof r=="string"&&typeof i=="string")switch(o){case 0:return r<i;case 1:return r<=i;case 2:return r>i;case 3:return r>=i}if(e.__isBigInt(r)&&typeof i=="string")return(i=e.__fromString(i))!==null&&e.__comparisonResultToBool(e.__compareToBigInt(r,i),o);if(typeof r=="string"&&e.__isBigInt(i))return(r=e.__fromString(r))!==null&&e.__comparisonResultToBool(e.__compareToBigInt(r,i),o);if(r=e.__toNumeric(r),i=e.__toNumeric(i),e.__isBigInt(r)){if(e.__isBigInt(i))return e.__comparisonResultToBool(e.__compareToBigInt(r,i),o);if(typeof i!="number")throw new Error("implementation bug");return e.__comparisonResultToBool(e.__compareToNumber(r,i),o)}if(typeof r!="number")throw new Error("implementation bug");if(e.__isBigInt(i))return e.__comparisonResultToBool(e.__compareToNumber(i,r),2^o);if(typeof i!="number")throw new Error("implementation bug");return o===0?r<i:o===1?r<=i:o===2?r>i:o===3?r>=i:void 0}},{key:"__absoluteAdd",value:function(r,i,o){if(r.length<i.length)return e.__absoluteAdd(i,r,o);if(r.length===0)return r;if(i.length===0)return r.sign===o?r:e.unaryMinus(r);var l=r.length;(r.__clzmsd()===0||i.length===r.length&&i.__clzmsd()===0)&&l++;for(var s=new e(l,o),c=0,d=0;d<i.length;d++){var h=r.__digit(d)+i.__digit(d)+c;c=h>>>30,s.__setDigit(d,1073741823&h)}for(;d<r.length;d++){var f=r.__digit(d)+c;c=f>>>30,s.__setDigit(d,1073741823&f)}return d<s.length&&s.__setDigit(d,c),s.__trim()}},{key:"__absoluteSub",value:function(r,i,o){if(r.length===0)return r;if(i.length===0)return r.sign===o?r:e.unaryMinus(r);for(var l=new e(r.length,o),s=0,c=0;c<i.length;c++){var d=r.__digit(c)-i.__digit(c)-s;s=1&d>>>30,l.__setDigit(c,1073741823&d)}for(;c<r.length;c++){var h=r.__digit(c)-s;s=1&h>>>30,l.__setDigit(c,1073741823&h)}return l.__trim()}},{key:"__absoluteAddOne",value:function(r,i){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,l=r.length;o===null?o=new e(l,i):o.sign=i;for(var s=1,c=0;c<l;c++){var d=r.__digit(c)+s;s=d>>>30,o.__setDigit(c,1073741823&d)}return s!=0&&o.__setDigitGrow(l,1),o}},{key:"__absoluteSubOne",value:function(r,i){for(var o=r.length,l=new e(i=i||o,!1),s=1,c=0;c<o;c++){var d=r.__digit(c)-s;s=1&d>>>30,l.__setDigit(c,1073741823&d)}if(s!=0)throw new Error("implementation bug");for(var h=o;h<i;h++)l.__setDigit(h,0);return l}},{key:"__absoluteAnd",value:function(r,i){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,l=r.length,s=i.length,c=s;if(l<s){c=l;var d=r,h=l;r=i,l=s,i=d,s=h}var f=c;o===null?o=new e(f,!1):f=o.length;for(var v=0;v<c;v++)o.__setDigit(v,r.__digit(v)&i.__digit(v));for(;v<f;v++)o.__setDigit(v,0);return o}},{key:"__absoluteAndNot",value:function(r,i){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,l=r.length,s=i.length,c=s;l<s&&(c=l);var d=l;o===null?o=new e(d,!1):d=o.length;for(var h=0;h<c;h++)o.__setDigit(h,r.__digit(h)&~i.__digit(h));for(;h<l;h++)o.__setDigit(h,r.__digit(h));for(;h<d;h++)o.__setDigit(h,0);return o}},{key:"__absoluteOr",value:function(r,i){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,l=r.length,s=i.length,c=s;if(l<s){c=l;var d=r,h=l;r=i,l=s,i=d,s=h}var f=l;o===null?o=new e(f,!1):f=o.length;for(var v=0;v<c;v++)o.__setDigit(v,r.__digit(v)|i.__digit(v));for(;v<l;v++)o.__setDigit(v,r.__digit(v));for(;v<f;v++)o.__setDigit(v,0);return o}},{key:"__absoluteXor",value:function(r,i){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,l=r.length,s=i.length,c=s;if(l<s){c=l;var d=r,h=l;r=i,l=s,i=d,s=h}var f=l;o===null?o=new e(f,!1):f=o.length;for(var v=0;v<c;v++)o.__setDigit(v,r.__digit(v)^i.__digit(v));for(;v<l;v++)o.__setDigit(v,r.__digit(v));for(;v<f;v++)o.__setDigit(v,0);return o}},{key:"__absoluteCompare",value:function(r,i){var o=r.length-i.length;if(o!=0)return o;for(var l=r.length-1;0<=l&&r.__digit(l)===i.__digit(l);)l--;return 0>l?0:r.__unsignedDigit(l)>i.__unsignedDigit(l)?1:-1}},{key:"__multiplyAccumulate",value:function(r,i,o,l){if(i!==0){for(var s,c=32767&i,d=i>>>15,h=0,f=0,v=0;v<r.length;v++,l++){s=o.__digit(l);var g=r.__digit(v),y=32767&g,D=g>>>15,p=e.__imul(y,c),w=e.__imul(y,d),_=e.__imul(D,c);h=(s+=f+p+h)>>>30,s&=1073741823,h+=(s+=((32767&w)<<15)+((32767&_)<<15))>>>30,f=e.__imul(D,d)+(w>>>15)+(_>>>15),o.__setDigit(l,1073741823&s)}for(;h!=0||f!==0;l++){var T=o.__digit(l);T+=h+f,f=0,h=T>>>30,o.__setDigit(l,1073741823&T)}}}},{key:"__internalMultiplyAdd",value:function(r,i,o,l,s){for(var c=o,d=0,h=0;h<l;h++){var f=r.__digit(h),v=e.__imul(32767&f,i),g=e.__imul(f>>>15,i),y=v+((32767&g)<<15)+d+c;c=y>>>30,d=g>>>15,s.__setDigit(h,1073741823&y)}if(s.length>l)for(s.__setDigit(l++,c+d);l<s.length;)s.__setDigit(l++,0);else if(c+d!==0)throw new Error("implementation bug")}},{key:"__absoluteDivSmall",value:function(r,i){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;o===null&&(o=new e(r.length,!1));for(var l,s=0,c=2*r.length-1;0<=c;c-=2){var d=0|(l=(s<<15|r.__halfDigit(c))>>>0)/i,h=0|(l=((s=0|l%i)<<15|r.__halfDigit(c-1))>>>0)/i;s=0|l%i,o.__setDigit(c>>>1,d<<15|h)}return o}},{key:"__absoluteModSmall",value:function(r,i){for(var o=0,l=2*r.length-1;0<=l;l--)o=0|((o<<15|r.__halfDigit(l))>>>0)%i;return o}},{key:"__absoluteDivLarge",value:function(r,i,o,l){var s=i.__halfDigitLength(),c=i.length,d=r.__halfDigitLength()-s,h=null;o&&(h=new e(d+2>>>1,!1)).__initializeDigits();var f=new e(s+2>>>1,!1);f.__initializeDigits();var v=e.__clz15(i.__halfDigit(s-1));0<v&&(i=e.__specialLeftShift(i,v,0));for(var g,y=e.__specialLeftShift(r,v,1),D=i.__halfDigit(s-1),p=0,w=d;0<=w;w--){g=32767;var _=y.__halfDigit(w+s);if(_!==D){var T=(_<<15|y.__halfDigit(w+s-1))>>>0;g=0|T/D;for(var b=0|T%D,C=i.__halfDigit(s-2),k=y.__halfDigit(w+s-2);e.__imul(g,C)>>>0>(b<<16|k)>>>0&&(g--,!(32767<(b+=D))););}e.__internalMultiplyAdd(i,g,0,c,f);var I=y.__inplaceSub(f,w,s+1);I!==0&&(I=y.__inplaceAdd(i,w,s),y.__setHalfDigit(w+s,32767&y.__halfDigit(w+s)+I),g--),o&&(1&w?p=g<<15:h.__setDigit(w>>>1,p|g))}if(l)return y.__inplaceRightShift(v),o?{quotient:h,remainder:y}:y;if(o)return h;throw new Error("unreachable")}},{key:"__clz15",value:function(r){return e.__clz30(r)-15}},{key:"__specialLeftShift",value:function(r,i,o){var l=r.length,s=new e(l+o,!1);if(i===0){for(var c=0;c<l;c++)s.__setDigit(c,r.__digit(c));return 0<o&&s.__setDigit(l,0),s}for(var d=0,h=0;h<l;h++){var f=r.__digit(h);s.__setDigit(h,1073741823&f<<i|d),d=f>>>30-i}return 0<o&&s.__setDigit(l,d),s}},{key:"__leftShiftByAbsolute",value:function(r,i){var o=e.__toShiftAmount(i);if(0>o)throw new RangeError("BigInt too big");var l=0|o/30,s=o%30,c=r.length,d=s!==0&&r.__digit(c-1)>>>30-s!=0,h=c+l+(d?1:0),f=new e(h,r.sign);if(s===0){for(var v=0;v<l;v++)f.__setDigit(v,0);for(;v<h;v++)f.__setDigit(v,r.__digit(v-l))}else{for(var g=0,y=0;y<l;y++)f.__setDigit(y,0);for(var D=0;D<c;D++){var p=r.__digit(D);f.__setDigit(D+l,1073741823&p<<s|g),g=p>>>30-s}if(d)f.__setDigit(c+l,g);else if(g!==0)throw new Error("implementation bug")}return f.__trim()}},{key:"__rightShiftByAbsolute",value:function(r,i){var o=r.length,l=r.sign,s=e.__toShiftAmount(i);if(0>s)return e.__rightShiftByMaximum(l);var c=0|s/30,d=s%30,h=o-c;if(0>=h)return e.__rightShiftByMaximum(l);var f=!1;if(l){if((r.__digit(c)&(1<<d)-1)!=0)f=!0;else for(var v=0;v<c;v++)if(r.__digit(v)!==0){f=!0;break}}f&&d===0&&~r.__digit(o-1)==0&&h++;var g=new e(h,l);if(d===0){g.__setDigit(h-1,0);for(var y=c;y<o;y++)g.__setDigit(y-c,r.__digit(y))}else{for(var D=r.__digit(c)>>>d,p=o-c-1,w=0;w<p;w++){var _=r.__digit(w+c+1);g.__setDigit(w,1073741823&_<<30-d|D),D=_>>>d}g.__setDigit(p,D)}return f&&(g=e.__absoluteAddOne(g,!0,g)),g.__trim()}},{key:"__rightShiftByMaximum",value:function(r){return r?e.__oneDigit(1,!0):e.__zero()}},{key:"__toShiftAmount",value:function(r){if(1<r.length)return-1;var i=r.__unsignedDigit(0);return i>e.__kMaxLengthBits?-1:i}},{key:"__toPrimitive",value:function(r){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"default";if(Me(r)!="object"||r.constructor===e)return r;if(typeof Symbol<"u"&&Me(Symbol.toPrimitive)=="symbol"){var o=r[Symbol.toPrimitive];if(o){var l=o(i);if(Me(l)!="object")return l;throw new TypeError("Cannot convert object to primitive value")}}var s=r.valueOf;if(s){var c=s.call(r);if(Me(c)!="object")return c}var d=r.toString;if(d){var h=d.call(r);if(Me(h)!="object")return h}throw new TypeError("Cannot convert object to primitive value")}},{key:"__toNumeric",value:function(r){return e.__isBigInt(r)?r:+r}},{key:"__isBigInt",value:function(r){return Me(r)=="object"&&r!==null&&r.constructor===e}},{key:"__truncateToNBits",value:function(r,i){for(var o=0|(r+29)/30,l=new e(o,i.sign),s=o-1,c=0;c<s;c++)l.__setDigit(c,i.__digit(c));var d=i.__digit(s);if(r%30!=0){var h=32-r%30;d=d<<h>>>h}return l.__setDigit(s,d),l.__trim()}},{key:"__truncateAndSubFromPowerOfTwo",value:function(r,i,o){for(var l=Math.min,s=0|(r+29)/30,c=new e(s,o),d=0,h=s-1,f=0,v=l(h,i.length);d<v;d++){var g=0-i.__digit(d)-f;f=1&g>>>30,c.__setDigit(d,1073741823&g)}for(;d<h;d++)c.__setDigit(d,0|1073741823&-f);var y,D=h<i.length?i.__digit(h):0,p=r%30;if(p==0)y=0-D-f,y&=1073741823;else{var w=32-p,_=1<<32-w;y=_-(D=D<<w>>>w)-f,y&=_-1}return c.__setDigit(h,y),c.__trim()}},{key:"__digitPow",value:function(r,i){for(var o=1;0<i;)1&i&&(o*=r),i>>>=1,r*=r;return o}},{key:"__isOneDigitInt",value:function(r){return(1073741823&r)===r}}]),e}(Ui(Array));m.__kMaxLength=33554432,m.__kMaxLengthBits=m.__kMaxLength<<5,m.__kMaxBitsPerChar=[0,0,32,51,64,75,83,90,96,102,107,111,115,119,122,126,128,131,134,136,139,141,143,145,147,149,151,153,154,156,158,159,160,162,163,165,166],m.__kBitsPerCharTableShift=5,m.__kBitsPerCharTableMultiplier=1<<m.__kBitsPerCharTableShift,m.__kConversionChars=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"],m.__kBitConversionBuffer=new ArrayBuffer(8),m.__kBitConversionDouble=new Float64Array(m.__kBitConversionBuffer),m.__kBitConversionInts=new Int32Array(m.__kBitConversionBuffer),m.__clz30=Math.clz32?function(a){return Math.clz32(a)-2}:function(a){return a===0?30:0|29-(0|Math.log(a>>>0)/Math.LN2)},m.__imul=Math.imul||function(a,n){return 0|a*n};var ro,no,zi={};function xr(a,n){Object.defineProperty(a.prototype,Symbol.toStringTag,{value:n,writable:!1,enumerable:!1,configurable:!0});var e,t=je(Object.getOwnPropertyNames(a));try{for(t.s();!(e=t.n()).done;){var r=e.value,i=Object.getOwnPropertyDescriptor(a,r);i.configurable&&i.enumerable&&(i.enumerable=!1,Object.defineProperty(a,r,i))}}catch(d){t.e(d)}finally{t.f()}var o,l=je(Object.getOwnPropertyNames(a.prototype));try{for(l.s();!(o=l.n()).done;){var s=o.value,c=Object.getOwnPropertyDescriptor(a.prototype,s);c.configurable&&c.enumerable&&(c.enumerable=!1,Object.defineProperty(a.prototype,s,c))}}catch(d){l.e(d)}finally{l.f()}pe(n,a),pe("".concat(n,".prototype"),a.prototype)}function pe(a,n){var e="%".concat(a,"%");if(zi[e]!==void 0)throw new Error("intrinsic ".concat(a," already exists"));zi[e]=n}function A(a){return zi[a]}ji({},"Temporal.Duration",function(n,e){var t=e.stylize("".concat(this[Symbol.toStringTag]," <").concat(this,">"),"special");if(n<1)return t;for(var r=[],i=0,o=["years","months","weeks","days","hours","minutes","seconds","milliseconds","microseconds","nanoseconds"];i<o.length;i++){var l=o[i];this[l]!==0&&r.push(" ".concat(l,": ").concat(e.stylize(this[l],"number")))}return t+` {
|
|
5
|
+
`+r.join(`,
|
|
6
|
+
`)+`
|
|
7
|
+
}`});var L="slot-epochNanoSeconds",Zr="slot-timezone-identifier",O="slot-year",M="slot-month",R="slot-day",Z="slot-hour",q="slot-minute",z="slot-second",W="slot-millisecond",G="slot-microsecond",H="slot-nanosecond",E="slot-calendar",to="slot-date-brand",io="slot-year-month-brand",ao="slot-month-day-brand",$e="slot-cached-instant",ue="slot-time-zone",nr="slot-years",Le="slot-months",fr="slot-weeks",tr="slot-days",ir="slot-hours",ar="slot-minutes",or="slot-seconds",ur="slot-milliseconds",sr="slot-microseconds",lr="slot-nanoseconds",we="slot-calendar-identifier",oo=new WeakMap,Wi=Symbol.for("@@Temporal__GetSlots");(ro=globalThis)[Wi]||(ro[Wi]=function(n){return oo.get(n)});var Gi=globalThis[Wi],Hi=Symbol.for("@@Temporal__CreateSlots");(no=globalThis)[Hi]||(no[Hi]=function(n){oo.set(n,Object.create(null))});var qr=globalThis[Hi];function Ye(a){if(!a||Me(a)!=="object")return!1;for(var n=Gi(a),e=arguments.length,t=new Array(e>1?e-1:0),r=1;r<e;r++)t[r-1]=arguments[r];return!!n&&t.every(function(i){return i in n})}function u(a,n){var e,t=(e=Gi(a))===null||e===void 0?void 0:e[n];if(t===void 0)throw new TypeError("Missing internal slot ".concat(n));return t}function J(a,n,e){var t=Gi(a);if(t===void 0)throw new TypeError("Missing slots for the given container");if(t[n])throw new TypeError("".concat(n," already has set"));t[n]=e}var uo=/\.[-A-Za-z_]|\.\.[-A-Za-z._]{1,12}|\.[-A-Za-z_][-A-Za-z._]{0,12}|[A-Za-z_][-A-Za-z._]{0,13}/,yt=new RegExp("(?:"+["(?:".concat(uo.source,")(?:\\/(?:").concat(uo.source,"))*"),"Etc/GMT(?:0|[-+]\\d{1,2})","GMT[-+]?0","EST5EDT","CST6CDT","MST7MDT","PST8PDT",/(?:[+\u2212-][0-2][0-9](?::?[0-5][0-9](?::?[0-5][0-9](?:[.,]\d{1,9})?)?)?)/.source].join("|")+")"),so=/(?:[+\u2212-]\d{6}|\d{4})/,Ht=/(?:0[1-9]|1[0-2])/,Ji=/(?:0[1-9]|[12]\d|3[01])/,Xu=new RegExp("(".concat(so.source,")(?:-(").concat(Ht.source,")-(").concat(Ji.source,")|(").concat(Ht.source,")(").concat(Ji.source,"))")),lo=/(\d{2})(?::(\d{2})(?::(\d{2})(?:[.,](\d{1,9}))?)?|(\d{2})(?:(\d{2})(?:[.,](\d{1,9}))?)?)?/,co=/([+\u2212-])([01][0-9]|2[0-3])(?::?([0-5][0-9])(?::?([0-5][0-9])(?:[.,](\d{1,9}))?)?)?/,ho=new RegExp("([zZ])|".concat(co.source,"?")),hn=/\[(!)?([a-z_][a-z0-9_-]*)=([A-Za-z0-9]+(?:-[A-Za-z0-9]+)*)\]/g,Qu=new RegExp(["^".concat(Xu.source),"(?:(?:T|\\s+)".concat(lo.source,"(?:").concat(ho.source,")?)?"),"(?:\\[!?(".concat(yt.source,")\\])?"),"((?:".concat(hn.source,")*)$")].join(""),"i"),es=new RegExp(["^T?".concat(lo.source),"(?:".concat(ho.source,")?"),"(?:\\[!?".concat(yt.source,"\\])?"),"((?:".concat(hn.source,")*)$")].join(""),"i"),rs=new RegExp("^(".concat(so.source,")-?(").concat(Ht.source,")(?:\\[!?").concat(yt.source,"\\])?((?:").concat(hn.source,")*)$")),ns=new RegExp("^(?:--)?(".concat(Ht.source,")-?(").concat(Ji.source,")(?:\\[!?").concat(yt.source,"\\])?((?:").concat(hn.source,")*)$")),Vi=/(\d+)(?:[.,](\d{1,9}))?/,ts=new RegExp("(?:".concat(Vi.source,"H)?(?:").concat(Vi.source,"M)?(?:").concat(Vi.source,"S)?")),is=new RegExp("^([+−-])?P".concat(/(?:(\d+)Y)?(?:(\d+)M)?(?:(\d+)W)?(?:(\d+)D)?/.source,"(?:T(?!$)").concat(ts.source,")?$"),"i"),as=Array.prototype.includes,mo=Array.prototype.push,fo=globalThis.Intl.DateTimeFormat,os=Math.min,us=Math.max,he=Math.abs,gr=Math.floor,Un=Math.sign,Tn=Math.trunc,Jt=Number.isNaN,cr=Number.isFinite,ss=Number,pt=String,ls=Number.MAX_SAFE_INTEGER,Ke=Object.create,cs=Object.getOwnPropertyDescriptor,Vt=Reflect.apply,ds=Reflect.ownKeys,De=m.BigInt(0),xn=m.BigInt(1),zr=m.BigInt(60),vo=m.BigInt(24),re=m.BigInt(1e3),_r=m.BigInt(1e6),Wr=m.BigInt(1e9),hs=m.BigInt(-1),go=m.multiply(m.BigInt(3600),Wr),yo=m.multiply(zr,Wr),Gr=m.multiply(go,vo),wt=m.multiply(m.BigInt(-86400),m.BigInt(1e17)),Zn=m.multiply(m.BigInt(86400),m.BigInt(1e17)),$t=-271821,Kt=275760,qn=m.multiply(m.BigInt(-388152),m.BigInt(1e13)),ms=m.multiply(Gr,m.BigInt(3660)),po=m.multiply(Gr,m.BigInt(366)),wo=m.multiply(Gr,m.BigInt(14)),fs=["iso8601","hebrew","islamic","islamic-umalqura","islamic-tbla","islamic-civil","islamic-rgsa","islamicc","persian","ethiopic","ethioaa","coptic","chinese","dangi","roc","indian","buddhist","japanese","gregory"];function Cr(a){return m.equal(a,De)}function ie(a,n){var e=a[n];if(e!==void 0)return e}function N(a,n,e){var t=arguments.length>2?e:[];return Vt(a,n,t)}function me(a){return Me(a)==="object"&&a!==null||typeof a=="function"}function zn(a){if(typeof a=="bigint")throw new TypeError("Cannot convert BigInt to number");return ss(a)}function Be(a){var n=zn(a);if(Jt(n)||n===0)return 0;if(!cr(n))return n;var e=gr(he(n));return e===0?0:Un(n)*e}function Tr(a){if(typeof a!="number"||Jt(a)||!cr(a))return!1;var n=he(a);return gr(n)===n}function dr(a){if(Me(a)==="symbol")throw new TypeError("Cannot convert a Symbol value to a String");return pt(a)}function ee(a){var n=zn(a);if(n===0)return 0;if(Jt(n)||!cr(n))throw new RangeError("invalid number value");var e=Tn(n);return e===0?0:e}function Do(a,n){var e=ee(a);if(e<=0)throw n!==void 0?new RangeError("property '".concat(n,"' cannot be a a number less than one")):new RangeError("Cannot convert a number less than one to a positive integer");return e}function Pe(a){var n=zn(a);if(!cr(n))throw new RangeError("infinity is out of range");if(!Tr(n))throw new RangeError("unsupported fractional value ".concat(a));return n===0?0:n}function Ce(a,n){return{quotient:m.divide(a,n),remainder:m.remainder(a,n)}}function Xt(a){return m.lessThan(a,De)}function _o(a){return Cr(a)?0:Xt(a)?-1:1}function Rr(a){return m.lessThan(a,De)?m.multiply(a,hs):a}var To=new Map([["year",ee],["month",Do],["monthCode",dr],["day",Do],["hour",ee],["minute",ee],["second",ee],["millisecond",ee],["microsecond",ee],["nanosecond",ee],["years",Pe],["months",Pe],["weeks",Pe],["days",Pe],["hours",Pe],["minutes",Pe],["seconds",Pe],["milliseconds",Pe],["microseconds",Pe],["nanoseconds",Pe],["era",dr],["eraYear",Be],["offset",dr]]),vs=new Map([["hour",0],["minute",0],["second",0],["millisecond",0],["microsecond",0],["nanosecond",0]]),Dt=[["years","year","date"],["months","month","date"],["weeks","week","date"],["days","day","date"],["hours","hour","time"],["minutes","minute","time"],["seconds","second","time"],["milliseconds","millisecond","time"],["microseconds","microsecond","time"],["nanoseconds","nanosecond","time"]],Qt=new Map(Dt.map(function(a){return[a[0],a[1]]})),gs=new Map(Dt.map(function(a){var n=Ar(a,2),e=n[0];return[n[1],e]})),Eo=Dt.map(function(a){return Ar(a,2)[1]}),bo=Array.from(Qt.keys()).sort(),Co=new Map;function ko(a){var n=Co.get(a);return n===void 0&&(n=new fo("en-us",{timeZone:pt(a),hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),Co.set(a,n)),n}function Io(a){if(a==null)throw new TypeError("Expected object not ".concat(a));return Object(a)}function Wn(a,n,e,t){if(n!=null){var r,i=je(ds(n));try{var o=function(){var s=r.value;if(e.some(function(d){return Object.is(d,s)}))return"continue";if(Object.prototype.propertyIsEnumerable.call(n,s)){var c=n[s];if(t&&t.some(function(d){return Object.is(d,c)}))return"continue";a[s]=c}};for(i.s();!(r=i.n()).done;)o()}catch(l){i.e(l)}finally{i.f()}}}function Re(a){return Ye(a,L)&&!Ye(a,ue,E)}function kr(a){return Ye(a,Zr)}function _e(a){return Ye(a,we)}function Te(a){return Ye(a,nr,Le,tr,ir,ar,or,ur,sr,lr)}function K(a){return Ye(a,to)}function Ee(a){return Ye(a,Z,q,z,W,G,H)&&!Ye(a,O,M,R)}function x(a){return Ye(a,O,M,R,Z,q,z,W,G,H)}function ne(a){return Ye(a,io)}function Ne(a){return Ye(a,ao)}function P(a){return Ye(a,L,ue,E)}function Gn(a){if(Ye(a,E)||Ye(a,ue))throw new TypeError("with() does not support a calendar or timeZone property");if(Ee(a))throw new TypeError("with() does not accept Temporal.PlainTime, use withPlainTime() instead");if(a.calendar!==void 0)throw new TypeError("with() does not support a calendar property");if(a.timeZone!==void 0)throw new TypeError("with() does not support a timeZone property")}function ys(a){var n=function(o){if(new RegExp("^".concat(yt.source,"$"),"i").test(o))return{ianaName:o};try{var l=Hr(o);if(l.z||l.offset||l.ianaName)return l}catch{}throw new RangeError("Invalid time zone: ".concat(o))}(a),e=n.ianaName,t=n.offset,r=n.z;return e?la(e):r?"UTC":yi(fn(t))}function $i(a,n){return n==="never"?"":Ki(Ge(a),n)}function Ki(a,n){return n==="never"||n==="auto"&&a==="iso8601"?"":"[".concat(n==="critical"?"!":"","u-ca=").concat(a,"]")}function Hr(a){var n=Qu.exec(a);if(!n)throw new RangeError("invalid ISO 8601 string: ".concat(a));var e=n[1];if(e[0]==="−"&&(e="-".concat(e.slice(1))),e==="-000000")throw new RangeError("invalid ISO 8601 string: ".concat(a));var t=Be(e),r=Be(n[2]||n[4]),i=Be(n[3]||n[5]),o=Be(n[6]),l=n[6]!==void 0,s=Be(n[7]||n[10]),c=Be(n[8]||n[11]);c===60&&(c=59);var d,h=(n[9]||n[12])+"000000000",f=Be(h.slice(0,3)),v=Be(h.slice(3,6)),g=Be(h.slice(6,9)),y=!1;if(n[13])d=void 0,y=!0;else if(n[14]&&n[15]){var D=n[14]==="-"||n[14]==="−"?"-":"+",p=n[15]||"00",w=n[16]||"00",_=n[17]||"00",T=n[18]||"0";if(d="".concat(D).concat(p,":").concat(w),+T){for(;T.endsWith("0");)T=T.slice(0,-1);d+=":".concat(_,".").concat(T)}else+_&&(d+=":".concat(_));d==="-00:00"&&(d="+00:00")}var b,C,k=n[19],I=je(n[20].matchAll(hn));try{for(I.s();!(C=I.n()).done;){var F=Ar(C.value,4),S=F[1],B=F[2],j=F[3];if(B==="u-ca")b===void 0&&(b=j);else if(S==="!")throw new RangeError("Unrecognized annotation: !".concat(B,"=").concat(j))}}catch(Y){I.e(Y)}finally{I.f()}return fa(t,r,i,o,s,c,f,v,g),{year:t,month:r,day:i,hasTime:l,hour:o,minute:s,second:c,millisecond:f,microsecond:v,nanosecond:g,ianaName:k,offset:d,z:y,calendar:b}}function ps(a){var n,e,t,r,i,o,l=es.exec(a);if(l){n=Be(l[1]),e=Be(l[2]||l[5]),(t=Be(l[3]||l[6]))===60&&(t=59);var s=(l[4]||l[7])+"000000000";r=Be(s.slice(0,3)),i=Be(s.slice(3,6)),o=Be(s.slice(6,9));var c,d=je(l[14].matchAll(hn));try{for(d.s();!(c=d.n()).done;){var h=Ar(c.value,4),f=h[1],v=h[2],g=h[3];if(v!=="u-ca"&&f==="!")throw new RangeError("Unrecognized annotation: !".concat(v,"=").concat(g))}}catch(T){d.e(T)}finally{d.f()}if(l[8])throw new RangeError("Z designator not supported for PlainTime")}else{var y,D,p=Hr(a);if(D=p.hasTime,n=p.hour,e=p.minute,t=p.second,r=p.millisecond,i=p.microsecond,o=p.nanosecond,y=p.z,!D)throw new RangeError("time is missing in string: ".concat(a));if(y)throw new RangeError("Z designator not supported for PlainTime")}if(/[tT ][0-9][0-9]/.test(a))return{hour:n,minute:e,second:t,millisecond:r,microsecond:i,nanosecond:o};try{var w=Qi(a);Vr(1972,w.month,w.day)}catch{try{var _=Xi(a);Vr(_.year,_.month,1)}catch{return{hour:n,minute:e,second:t,millisecond:r,microsecond:i,nanosecond:o}}}throw new RangeError("invalid ISO 8601 time-only string ".concat(a,"; may need a T prefix"))}function Xi(a){var n,e,t,r,i=rs.exec(a);if(i){var o=i[1];if(o[0]==="−"&&(o="-".concat(o.slice(1))),o==="-000000")throw new RangeError("invalid ISO 8601 string: ".concat(a));n=Be(o),e=Be(i[2]);var l,s=je(i[3].matchAll(hn));try{for(s.s();!(l=s.n()).done;){var c=Ar(l.value,4),d=c[1],h=c[2],f=c[3];if(h==="u-ca")t===void 0&&(t=f);else if(d==="!")throw new RangeError("Unrecognized annotation: !".concat(h,"=").concat(f))}}catch(g){s.e(g)}finally{s.f()}if(t!==void 0&&t!=="iso8601")throw new RangeError("YYYY-MM format is only valid with iso8601 calendar")}else{var v=Hr(a);if(n=v.year,e=v.month,t=v.calendar,r=v.day,v.z)throw new RangeError("Z designator not supported for PlainYearMonth")}return{year:n,month:e,calendar:t,referenceISODay:r}}function Qi(a){var n,e,t,r,i=ns.exec(a);if(i){n=Be(i[1]),e=Be(i[2]);var o,l=je(i[3].matchAll(hn));try{for(l.s();!(o=l.n()).done;){var s=Ar(o.value,4),c=s[1],d=s[2],h=s[3];if(d==="u-ca")t===void 0&&(t=h);else if(c==="!")throw new RangeError("Unrecognized annotation: !".concat(d,"=").concat(h))}}catch(v){l.e(v)}finally{l.f()}if(t!==void 0&&t!=="iso8601")throw new RangeError("MM-DD format is only valid with iso8601 calendar")}else{var f=Hr(a);if(n=f.month,e=f.day,t=f.calendar,r=f.year,f.z)throw new RangeError("Z designator not supported for PlainMonthDay")}return{month:n,day:e,calendar:t,referenceISOYear:r}}function ws(a){var n=function(D){var p=Hr(D);if(!p.z&&!p.offset)throw new RangeError("Temporal.Instant requires a time zone offset");return p}(a),e=n.year,t=n.month,r=n.day,i=n.hour,o=n.minute,l=n.second,s=n.millisecond,c=n.microsecond,d=n.nanosecond,h=n.offset,f=n.z;if(!f&&!h)throw new RangeError("Temporal.Instant requires a time zone offset");var v=ha(e,t,r,i,o,l,s,c,d-(f?0:fn(h))),g=vn(e=v.year,t=v.month,r=v.day,i=v.hour,o=v.minute,l=v.second,s=v.millisecond,c=v.microsecond,d=v.nanosecond);if(g===null)throw new RangeError("DateTime outside of supported range");return g}function ei(a,n,e,t){var r=a,i=n,o=e;switch(t){case"reject":Vr(r,i,o);break;case"constrain":var l=eu(r,i,o);r=l.year,i=l.month,o=l.day}return{year:r,month:i,day:o}}function ri(a,n,e,t,r,i,o){var l=a,s=n,c=e,d=t,h=r,f=i;switch(o){case"reject":Ti(l,s,c,d,h,f);break;case"constrain":var v=function(y,D,p,w,_,T){var b=Dr(y,0,23),C=Dr(D,0,59),k=Dr(p,0,59),I=Dr(w,0,999),F=Dr(_,0,999),S=Dr(T,0,999);return{hour:b,minute:C,second:k,millisecond:I,microsecond:F,nanosecond:S}}(l,s,c,d,h,f);l=v.hour,s=v.minute,c=v.second,d=v.millisecond,h=v.microsecond,f=v.nanosecond}return{hour:l,minute:s,second:c,millisecond:d,microsecond:h,nanosecond:f}}function En(a){if(!me(a))return function(w){var _=is.exec(w);if(!_)throw new RangeError("invalid duration: ".concat(w));if(_.slice(2).every(function(Se){return Se===void 0}))throw new RangeError("invalid duration: ".concat(w));var T=_[1]==="-"||_[1]==="−"?-1:1,b=_[2]===void 0?0:ee(_[2])*T,C=_[3]===void 0?0:ee(_[3])*T,k=_[4]===void 0?0:ee(_[4])*T,I=_[5]===void 0?0:ee(_[5])*T,F=_[6]===void 0?0:ee(_[6])*T,S=_[7],B=_[8],j=_[9],Y=_[10],V=_[11],U=0,X=0,se=0;if(S!==void 0){var xe,Oe,Ze;if((xe=(Oe=(Ze=B??j)!==null&&Ze!==void 0?Ze:Y)!==null&&Oe!==void 0?Oe:V)!==null&&xe!==void 0&&xe)throw new RangeError("only the smallest unit can be fractional");se=3600*Be((S+"000000000").slice(0,9))*T}else if(U=B===void 0?0:ee(B)*T,j!==void 0){var te;if((te=Y??V)!==null&&te!==void 0&&te)throw new RangeError("only the smallest unit can be fractional");se=60*Be((j+"000000000").slice(0,9))*T}else X=Y===void 0?0:ee(Y)*T,V!==void 0&&(se=Be((V+"000000000").slice(0,9))*T);var ge=se%1e3,mr=Tn(se/1e3)%1e3,rr=Tn(se/1e6)%1e3;return X+=Tn(se/1e9)%60,Ei(b,C,k,I,F,U+=Tn(se/6e10),X,rr,mr,ge),{years:b,months:C,weeks:k,days:I,hours:F,minutes:U,seconds:X,milliseconds:rr,microseconds:mr,nanoseconds:ge}}(dr(a));if(Te(a))return{years:u(a,nr),months:u(a,Le),weeks:u(a,fr),days:u(a,tr),hours:u(a,ir),minutes:u(a,ar),seconds:u(a,or),milliseconds:u(a,ur),microseconds:u(a,sr),nanoseconds:u(a,lr)};var n,e={years:0,months:0,weeks:0,days:0,hours:0,minutes:0,seconds:0,milliseconds:0,microseconds:0,nanoseconds:0},t=function(w){if(!me(w))throw new TypeError("invalid duration-like");var _,T={years:void 0,months:void 0,weeks:void 0,days:void 0,hours:void 0,minutes:void 0,seconds:void 0,milliseconds:void 0,microseconds:void 0,nanoseconds:void 0},b=!1,C=je(bo);try{for(C.s();!(_=C.n()).done;){var k=_.value,I=w[k];I!==void 0&&(b=!0,T[k]=Pe(I))}}catch(F){C.e(F)}finally{C.f()}if(!b)throw new TypeError("invalid duration-like");return T}(a),r=je(bo);try{for(r.s();!(n=r.n()).done;){var i=n.value,o=t[i];o!==void 0&&(e[i]=o)}}catch(p){r.e(p)}finally{r.f()}var l=e.years,s=e.months,c=e.weeks,d=e.days,h=e.hours,f=e.minutes,v=e.seconds,g=e.milliseconds,y=e.microseconds,D=e.nanoseconds;return Ei(l,s,c,d,h,f,v,g,y,D),{years:l,months:s,weeks:c,days:d,hours:h,minutes:f,seconds:v,milliseconds:g,microseconds:y,nanoseconds:D}}function ke(a){return a===void 0?"constrain":Dn(a,"overflow",["constrain","reject"],"constrain")}function Hn(a){return a===void 0?"compatible":Dn(a,"disambiguation",["compatible","earlier","later","reject"],"compatible")}function Yr(a,n){return Dn(a,"roundingMode",["ceil","floor","expand","trunc","halfCeil","halfFloor","halfExpand","halfTrunc","halfEven"],n)}function ni(a,n){return a===void 0?n:Dn(a,"offset",["prefer","use","ignore","reject"],n)}function _t(a){return Dn(a,"calendarName",["auto","always","never","critical"],"auto")}function Ds(a){return Dn(a,"timeZoneName",["auto","never","critical"],"auto")}function _s(a){return Dn(a,"offset",["auto","never"],"auto")}function Jn(a){var n=a.roundingIncrement;if(n===void 0)return 1;if(n=zn(n),!cr(n))throw new RangeError("roundingIncrement must be finite");var e=Tn(n);if(e<1||e>1e9)throw new RangeError("roundingIncrement must be at least 1 and at most 1e9, not ".concat(n));return e}function Vn(a,n,e){var t=e?n:n-1;if(a>t)throw new RangeError("roundingIncrement must be at least 1 and less than ".concat(t,", not ").concat(a));if(n%a!=0)throw new RangeError("Rounding increment must divide evenly into ".concat(n))}function Tt(a){var n=a.fractionalSecondDigits;if(n===void 0)return"auto";if(typeof n!="number"){if(dr(n)!=="auto")throw new RangeError("fractionalSecondDigits must be 'auto' or 0 through 9, not ".concat(n));return"auto"}var e=gr(n);if(!cr(e)||e<0||e>9)throw new RangeError("fractionalSecondDigits must be 'auto' or 0 through 9, not ".concat(n));return e}function Et(a,n){switch(a){case"minute":return{precision:"minute",unit:"minute",increment:1};case"second":return{precision:0,unit:"second",increment:1};case"millisecond":return{precision:3,unit:"millisecond",increment:1};case"microsecond":return{precision:6,unit:"microsecond",increment:1};case"nanosecond":return{precision:9,unit:"nanosecond",increment:1}}switch(n){case"auto":return{precision:n,unit:"nanosecond",increment:1};case 0:return{precision:n,unit:"second",increment:1};case 1:case 2:case 3:return{precision:n,unit:"millisecond",increment:Math.pow(10,3-n)};case 4:case 5:case 6:return{precision:n,unit:"microsecond",increment:Math.pow(10,6-n)};case 7:case 8:case 9:return{precision:n,unit:"nanosecond",increment:Math.pow(10,9-n)};default:throw new RangeError("fractionalSecondDigits must be 'auto' or 0 through 9, not ".concat(n))}}var bn=Symbol("~required~");function yr(a,n,e,t){var r,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],o=[],l=je(Dt);try{for(l.s();!(r=l.n()).done;){var s=Ar(r.value,3),c=s[1],d=s[2];e!=="datetime"&&e!==d||o.push(c)}}catch(w){l.e(w)}finally{l.f()}o.push.apply(o,Mr(i));var h=t;h===bn?h=void 0:h!==void 0&&o.push(h);for(var f=[].concat(o),v=0,g=o;v<g.length;v++){var y=g[v],D=gs.get(y);D!==void 0&&f.push(D)}var p=Dn(a,n,f,h);if(p===void 0&&t===bn)throw new RangeError("".concat(n," is required"));return Qt.has(p)?Qt.get(p):p}function ti(a){var n=a.relativeTo;if(n===void 0)return n;var e,t,r,i,o,l,s,c,d,h,f,v,g="option",y=!1;if(me(n)){if(P(n)||K(n))return n;if(x(n))return Qn(n);var D=Ae(h=Ot(n),["day","hour","microsecond","millisecond","minute","month","monthCode","nanosecond","second","year"]);D.push("timeZone","offset");var p=$(n,D,[]),w=Ke(null);w.overflow="constrain";var _=bt(h,p,w);e=_.year,t=_.month,r=_.day,i=_.hour,o=_.minute,l=_.second,s=_.millisecond,c=_.microsecond,d=_.nanosecond,(v=p.offset)===void 0&&(g="wall"),(f=p.timeZone)!==void 0&&(f=Xe(f))}else{var T,b,C=Hr(dr(n));if(e=C.year,t=C.month,r=C.day,i=C.hour,o=C.minute,l=C.second,s=C.millisecond,c=C.microsecond,d=C.nanosecond,h=C.calendar,T=C.ianaName,v=C.offset,b=C.z,T)f=Xe(T),b?g="exact":v||(g="wall"),y=!0;else if(b)throw new RangeError("Z designator not supported for PlainDate relativeTo; either remove the Z or add a bracketed time zone");if(h||(h="iso8601"),!un(h))throw new RangeError("invalid calendar identifier ".concat(h));h=Kr(h)}return f===void 0?Ir(e,t,r,h):ze(ai(e,t,r,i,o,l,s,c,d,g,g==="option"?fn(v):0,f,"compatible","reject",y),f,h)}function ea(a,n,e,t,r,i,o,l,s,c){for(var d=0,h=[["years",a],["months",n],["weeks",e],["days",t],["hours",r],["minutes",i],["seconds",o],["milliseconds",l],["microseconds",s],["nanoseconds",c]];d<h.length;d++){var f=Ar(h[d],2),v=f[0];if(f[1]!==0)return Qt.get(v)}return"nanosecond"}function Cn(a,n){return Eo.indexOf(a)>Eo.indexOf(n)?n:a}function $(a,n,e){var t=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{emptySourceErrorMessage:"no supported properties found"},r=t.emptySourceErrorMessage,i=Ke(null),o=!1;n.sort();var l,s=je(n);try{for(s.s();!(l=s.n()).done;){var c=l.value,d=a[c];if(d!==void 0)o=!0,To.has(c)&&(d=To.get(c)(d)),i[c]=d;else if(e!=="partial"){if(as.call(e,c))throw new TypeError("required property '".concat(c,"' missing or undefined"));d=vs.get(c),i[c]=d}}}catch(h){s.e(h)}finally{s.f()}if(e==="partial"&&!o)throw new TypeError(r);return i}function ii(a){for(var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"complete",e=["hour","microsecond","millisecond","minute","nanosecond","second"],t=$(a,e,"partial",{emptySourceErrorMessage:"invalid time-like"}),r={},i=0,o=e;i<o.length;i++){var l=o[i],s=cs(t,l);s!==void 0?r[l]=s.value:n==="complete"&&(r[l]=0)}return r}function le(a,n){var e=a;if(me(e)){if(K(e))return e;if(P(e)&&(ke(n),e=Er(u(e,ue),u(e,$e),u(e,E))),x(e))return ke(n),Ir(u(e,O),u(e,M),u(e,R),u(e,E));var t=Ot(e);return rn(t,$(e,Ae(t,["day","month","monthCode","year"]),[]),n)}ke(n);var r=function(d){return Hr(d)}(dr(e)),i=r.year,o=r.month,l=r.day,s=r.calendar;if(r.z)throw new RangeError("Z designator not supported for PlainDate");if(s||(s="iso8601"),!un(s))throw new RangeError("invalid calendar identifier ".concat(s));return Ir(i,o,l,s=Kr(s))}function bt(a,n,e){var t=ii(n),r=t.hour,i=t.minute,o=t.second,l=t.millisecond,s=t.microsecond,c=t.nanosecond,d=ke(e),h=rn(a,n,e),f=u(h,O),v=u(h,M),g=u(h,R),y=ri(r,i,o,l,s,c,d);return{year:f,month:v,day:g,hour:r=y.hour,minute:i=y.minute,second:o=y.second,millisecond:l=y.millisecond,microsecond:s=y.microsecond,nanosecond:c=y.nanosecond}}function kn(a,n){var e,t,r,i,o,l,s,c,d,h;if(me(a)){if(x(a))return a;if(P(a))return ke(n),Er(u(a,ue),u(a,$e),u(a,E));if(K(a))return ke(n),pr(u(a,O),u(a,M),u(a,R),0,0,0,0,0,0,u(a,E));var f=bt(h=Ot(a),$(a,Ae(h,["day","hour","microsecond","millisecond","minute","month","monthCode","nanosecond","second","year"]),[]),n);e=f.year,t=f.month,r=f.day,i=f.hour,o=f.minute,l=f.second,s=f.millisecond,c=f.microsecond,d=f.nanosecond}else{ke(n);var v=function(y){return Hr(y)}(dr(a));if(e=v.year,t=v.month,r=v.day,i=v.hour,o=v.minute,l=v.second,s=v.millisecond,c=v.microsecond,d=v.nanosecond,h=v.calendar,v.z)throw new RangeError("Z designator not supported for PlainDateTime");if(fa(e,t,r,i,o,l,s,c,d),h||(h="iso8601"),!un(h))throw new RangeError("invalid calendar identifier ".concat(h));h=Kr(h)}return pr(e,t,r,i,o,l,s,c,d,h)}function $n(a){if(Te(a))return a;var n=En(a),e=n.years,t=n.months,r=n.weeks,i=n.days,o=n.hours,l=n.minutes,s=n.seconds,c=n.milliseconds,d=n.microseconds,h=n.nanoseconds;return new(A("%Temporal.Duration%"))(e,t,r,i,o,l,s,c,d,h)}function Pr(a){if(Re(a))return a;if(P(a))return new(A("%Temporal.Instant%"))(u(a,L));var n=ws(dr(a));return new(A("%Temporal.Instant%"))(n)}function Fo(a,n){var e=a;if(me(e)){if(Ne(e))return e;var t,r;if(Ye(e,E))t=u(e,E),r=!1;else{var i=e.calendar;r=i===void 0,i===void 0&&(i="iso8601"),t=wr(i)}var o=$(e,Ae(t,["day","month","monthCode","year"]),[]);return r&&o.month!==void 0&&o.monthCode===void 0&&o.year===void 0&&(o.year=1972),Xn(t,o,n)}ke(n);var l=Qi(dr(e)),s=l.month,c=l.day,d=l.referenceISOYear,h=l.calendar;if(h===void 0&&(h="iso8601"),!un(h))throw new RangeError("invalid calendar identifier ".concat(h));return h=Kr(h),d===void 0?(Vr(1972,s,c),It(s,c,h)):Xn(h,It(s,c,h,d))}function en(a){var n,e,t,r,i,o,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"constrain",s=a;if(me(s)){if(Ee(s))return s;if(P(s)&&(s=Er(u(s,ue),u(s,$e),u(s,E))),x(s)){var c=A("%Temporal.PlainTime%");return new c(u(s,Z),u(s,q),u(s,z),u(s,W),u(s,G),u(s,H))}var d=ii(s),h=ri(n=d.hour,e=d.minute,t=d.second,r=d.millisecond,i=d.microsecond,o=d.nanosecond,l);n=h.hour,e=h.minute,t=h.second,r=h.millisecond,i=h.microsecond,o=h.nanosecond}else{var f=ps(dr(s));Ti(n=f.hour,e=f.minute,t=f.second,r=f.millisecond,i=f.microsecond,o=f.nanosecond)}var v=A("%Temporal.PlainTime%");return new v(n,e,t,r,i,o)}function Ct(a,n){if(me(a)){if(ne(a))return a;var e=Ot(a);return Fn(e,$(a,Ae(e,["month","monthCode","year"]),[]),n)}ke(n);var t=Xi(dr(a)),r=t.year,i=t.month,o=t.referenceISODay,l=t.calendar;if(l===void 0&&(l="iso8601"),!un(l))throw new RangeError("invalid calendar identifier ".concat(l));return l=Kr(l),o===void 0?(Vr(r,i,1),Ft(r,i,l)):Fn(l,Ft(r,i,l,o))}function ai(a,n,e,t,r,i,o,l,s,c,d,h,f,v,g){var y=new(A("%Temporal.PlainDateTime%"))(a,n,e,t,r,i,o,l,s);if(c==="wall"||v==="ignore")return u(hr(h,y,f),L);if(c==="exact"||v==="use"){var D=vn(a,n,e,t,r,i,o,l,s);if(D===null)throw new RangeError("ZonedDateTime outside of supported range");return m.subtract(D,m.BigInt(d))}var p,w=vi(h,y),_=je(w);try{for(_.s();!(p=_.n()).done;){var T=p.value,b=Nr(h,T),C=m.toNumber(br(m.BigInt(b),yo,"halfExpand"));if(b===d||g&&C===d)return u(T,L)}}catch(F){_.e(F)}finally{_.f()}if(v==="reject"){var k=yi(d),I=kr(h)?u(h,Zr):"time zone";throw new RangeError("Offset ".concat(k," is invalid for ").concat(y.toString()," in ").concat(I))}return u(No(w,h,y,f),L)}function kt(a,n){var e,t,r,i,o,l,s,c,d,h,f,v,g,y,D=!1,p="option";if(me(a)){if(P(a))return a;var w=Ae(v=Ot(a),["day","hour","microsecond","millisecond","minute","month","monthCode","nanosecond","second","year"]);w.push("timeZone","offset");var _=$(a,w,["timeZone"]);h=Xe(_.timeZone),(f=_.offset)===void 0&&(p="wall"),g=Hn(n),y=ni(n,"reject");var T=bt(v,_,n);e=T.year,t=T.month,r=T.day,i=T.hour,o=T.minute,l=T.second,s=T.millisecond,c=T.microsecond,d=T.nanosecond}else{var b,C,k=function(S){var B=Hr(S);if(!B.ianaName)throw new RangeError("Temporal.ZonedDateTime requires a time zone ID in brackets");return B}(dr(a));if(e=k.year,t=k.month,r=k.day,i=k.hour,o=k.minute,l=k.second,s=k.millisecond,c=k.microsecond,d=k.nanosecond,b=k.ianaName,f=k.offset,C=k.z,v=k.calendar,h=Xe(b),C?p="exact":f||(p="wall"),v||(v="iso8601"),!un(v))throw new RangeError("invalid calendar identifier ".concat(v));v=Kr(v),D=!0,g=Hn(n),y=ni(n,"reject"),ke(n)}var I=0;return p==="option"&&(I=fn(f)),ze(ai(e,t,r,i,o,l,s,c,d,p,I,h,g,y,D),h,v)}function Bo(a,n,e,t,r){Vr(n,e,t),ru(n,e,t),qr(a),J(a,O,n),J(a,M,e),J(a,R,t),J(a,E,r),J(a,to,!0)}function Ir(a,n,e){var t=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"iso8601",r=A("%Temporal.PlainDate%"),i=Ke(r.prototype);return Bo(i,a,n,e,t),i}function Ao(a,n,e,t,r,i,o,l,s,c,d){fa(n,e,t,r,i,o,l,s,c),nu(n,e,t,r,i,o,l,s,c),qr(a),J(a,O,n),J(a,M,e),J(a,R,t),J(a,Z,r),J(a,q,i),J(a,z,o),J(a,W,l),J(a,G,s),J(a,H,c),J(a,E,d)}function pr(a,n,e,t,r,i,o,l,s){var c=arguments.length>9&&arguments[9]!==void 0?arguments[9]:"iso8601",d=A("%Temporal.PlainDateTime%"),h=Ke(d.prototype);return Ao(h,a,n,e,t,r,i,o,l,s,c),h}function Oo(a,n,e,t,r){Vr(r,n,e),ru(r,n,e),qr(a),J(a,M,n),J(a,R,e),J(a,O,r),J(a,E,t),J(a,ao,!0)}function It(a,n){var e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"iso8601",t=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1972,r=A("%Temporal.PlainMonthDay%"),i=Ke(r.prototype);return Oo(i,a,n,e,t),i}function So(a,n,e,t,r){Vr(n,e,r),function(o,l){He(o,$t,Kt),o===$t?He(l,4,12):o===Kt&&He(l,1,9)}(n,e),qr(a),J(a,O,n),J(a,M,e),J(a,R,r),J(a,E,t),J(a,io,!0)}function Ft(a,n){var e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"iso8601",t=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1,r=A("%Temporal.PlainYearMonth%"),i=Ke(r.prototype);return So(i,a,n,e,t),i}function Mo(a,n,e,t){An(n),qr(a),J(a,L,n),J(a,ue,e),J(a,E,t);var r=new(A("%Temporal.Instant%"))(u(a,L));J(a,$e,r)}function ze(a,n){var e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"iso8601",t=A("%Temporal.ZonedDateTime%"),r=Ke(t.prototype);return Mo(r,a,n,e),r}function Ae(a,n){if(typeof a=="string"){var e=new(A("%Temporal.Calendar%"))(a);return N(A("%Temporal.Calendar.prototype.fields%"),e,[n])}var t,r=[],i=je(N(ie(a,"fields"),a,[n]));try{for(i.s();!(t=i.n()).done;){var o=t.value;if(typeof o!="string")throw new TypeError("bad return from calendar.fields()");mo.call(r,o)}}catch(l){i.e(l)}finally{i.f()}return r}function In(a,n,e){if(typeof a=="string"){var t=new(A("%Temporal.Calendar%"))(a);return N(A("%Temporal.Calendar.prototype.mergeFields%"),t,[n,e])}var r=N(ie(a,"mergeFields"),a,[n,e]);if(!me(r))throw new TypeError("bad return from calendar.mergeFields()");return r}function We(a,n,e,t,r){var i=r;if(typeof a=="string"){var o=new(A("%Temporal.Calendar%"))(a);return N(A("%Temporal.Calendar.prototype.dateAdd%"),o,[n,e,t])}i===void 0&&(i=ie(a,"dateAdd"));var l=Vt(i,a,[n,e,t]);if(!K(l))throw new TypeError("invalid result");return l}function mn(a,n,e,t,r){var i=r;if(typeof a=="string"){var o=new(A("%Temporal.Calendar%"))(a);return N(A("%Temporal.Calendar.prototype.dateUntil%"),o,[n,e,t])}i===void 0&&(i=ie(a,"dateUntil"));var l=Vt(i,a,[n,e,t]);if(!Te(l))throw new TypeError("invalid result");return l}function oi(a,n){if(typeof a=="string"){var e=new(A("%Temporal.Calendar%"))(a);return N(A("%Temporal.Calendar.prototype.year%"),e,[n])}var t=N(ie(a,"year"),a,[n]);if(typeof t!="number")throw new TypeError("calendar year result must be an integer");if(!Tr(t))throw new RangeError("calendar year result must be an integer");return t}function ui(a,n){if(typeof a=="string"){var e=new(A("%Temporal.Calendar%"))(a);return N(A("%Temporal.Calendar.prototype.month%"),e,[n])}var t=N(ie(a,"month"),a,[n]);if(typeof t!="number")throw new TypeError("calendar month result must be a positive integer");if(!Tr(t)||t<1)throw new RangeError("calendar month result must be a positive integer");return t}function Bt(a,n){if(typeof a=="string"){var e=new(A("%Temporal.Calendar%"))(a);return N(A("%Temporal.Calendar.prototype.monthCode%"),e,[n])}var t=N(ie(a,"monthCode"),a,[n]);if(typeof t!="string")throw new TypeError("calendar monthCode result must be a string");return t}function At(a,n){if(typeof a=="string"){var e=new(A("%Temporal.Calendar%"))(a);return N(A("%Temporal.Calendar.prototype.day%"),e,[n])}var t=N(ie(a,"day"),a,[n]);if(typeof t!="number")throw new TypeError("calendar day result must be a positive integer");if(!Tr(t)||t<1)throw new RangeError("calendar day result must be a positive integer");return t}function si(a,n){if(typeof a=="string"){var e=new(A("%Temporal.Calendar%"))(a);return N(A("%Temporal.Calendar.prototype.era%"),e,[n])}var t=N(ie(a,"era"),a,[n]);if(t===void 0)return t;if(typeof t!="string")throw new TypeError("calendar era result must be a string or undefined");return t}function li(a,n){if(typeof a=="string"){var e=new(A("%Temporal.Calendar%"))(a);return N(A("%Temporal.Calendar.prototype.eraYear%"),e,[n])}var t=N(ie(a,"eraYear"),a,[n]);if(t===void 0)return t;if(typeof t!="number")throw new TypeError("calendar eraYear result must be an integer or undefined");if(!Tr(t))throw new RangeError("calendar eraYear result must be an integer or undefined");return t}function ra(a,n){if(typeof a=="string"){var e=new(A("%Temporal.Calendar%"))(a);return N(A("%Temporal.Calendar.prototype.dayOfWeek%"),e,[n])}var t=N(ie(a,"dayOfWeek"),a,[n]);if(typeof t!="number")throw new TypeError("calendar dayOfWeek result must be a positive integer");if(!Tr(t)||t<1)throw new RangeError("calendar dayOfWeek result must be a positive integer");return t}function na(a,n){if(typeof a=="string"){var e=new(A("%Temporal.Calendar%"))(a);return N(A("%Temporal.Calendar.prototype.dayOfYear%"),e,[n])}var t=N(ie(a,"dayOfYear"),a,[n]);if(typeof t!="number")throw new TypeError("calendar dayOfYear result must be a positive integer");if(!Tr(t)||t<1)throw new RangeError("calendar dayOfYear result must be a positive integer");return t}function ta(a,n){if(typeof a=="string"){var e=new(A("%Temporal.Calendar%"))(a);return N(A("%Temporal.Calendar.prototype.weekOfYear%"),e,[n])}var t=N(ie(a,"weekOfYear"),a,[n]);if(typeof t!="number")throw new TypeError("calendar weekOfYear result must be a positive integer");if(!Tr(t)||t<1)throw new RangeError("calendar weekOfYear result must be a positive integer");return t}function ia(a,n){if(typeof a=="string"){var e=new(A("%Temporal.Calendar%"))(a);return N(A("%Temporal.Calendar.prototype.yearOfWeek%"),e,[n])}var t=N(ie(a,"yearOfWeek"),a,[n]);if(typeof t!="number")throw new TypeError("calendar yearOfWeek result must be an integer");if(!Tr(t))throw new RangeError("calendar yearOfWeek result must be an integer");return t}function aa(a,n){if(typeof a=="string"){var e=new(A("%Temporal.Calendar%"))(a);return N(A("%Temporal.Calendar.prototype.daysInWeek%"),e,[n])}var t=N(ie(a,"daysInWeek"),a,[n]);if(typeof t!="number")throw new TypeError("calendar daysInWeek result must be a positive integer");if(!Tr(t)||t<1)throw new RangeError("calendar daysInWeek result must be a positive integer");return t}function ci(a,n){if(typeof a=="string"){var e=new(A("%Temporal.Calendar%"))(a);return N(A("%Temporal.Calendar.prototype.daysInMonth%"),e,[n])}var t=N(ie(a,"daysInMonth"),a,[n]);if(typeof t!="number")throw new TypeError("calendar daysInMonth result must be a positive integer");if(!Tr(t)||t<1)throw new RangeError("calendar daysInMonth result must be a positive integer");return t}function di(a,n){if(typeof a=="string"){var e=new(A("%Temporal.Calendar%"))(a);return N(A("%Temporal.Calendar.prototype.daysInYear%"),e,[n])}var t=N(ie(a,"daysInYear"),a,[n]);if(typeof t!="number")throw new TypeError("calendar daysInYear result must be a positive integer");if(!Tr(t)||t<1)throw new RangeError("calendar daysInYear result must be a positive integer");return t}function hi(a,n){if(typeof a=="string"){var e=new(A("%Temporal.Calendar%"))(a);return N(A("%Temporal.Calendar.prototype.monthsInYear%"),e,[n])}var t=N(ie(a,"monthsInYear"),a,[n]);if(typeof t!="number")throw new TypeError("calendar monthsInYear result must be a positive integer");if(!Tr(t)||t<1)throw new RangeError("calendar monthsInYear result must be a positive integer");return t}function mi(a,n){if(typeof a=="string"){var e=new(A("%Temporal.Calendar%"))(a);return N(A("%Temporal.Calendar.prototype.inLeapYear%"),e,[n])}var t=N(ie(a,"inLeapYear"),a,[n]);if(typeof t!="boolean")throw new TypeError("calendar inLeapYear result must be a boolean");return t}function wr(a){if(me(a)){if(Ye(a,E))return u(a,E);if(!function(r){return!!_e(r)||"dateAdd"in r&&"dateFromFields"in r&&"dateUntil"in r&&"day"in r&&"dayOfWeek"in r&&"dayOfYear"in r&&"daysInMonth"in r&&"daysInWeek"in r&&"daysInYear"in r&&"fields"in r&&"id"in r&&"inLeapYear"in r&&"mergeFields"in r&&"month"in r&&"monthCode"in r&&"monthDayFromFields"in r&&"monthsInYear"in r&&"weekOfYear"in r&&"year"in r&&"yearMonthFromFields"in r&&"yearOfWeek"in r}(a))throw new TypeError("expected a Temporal.Calendar or object implementing the Temporal.Calendar protocol");return a}var n,e=dr(a);if(un(e))return Kr(e);try{n=Hr(e).calendar}catch{try{n=Xi(e).calendar}catch{n=Qi(e).calendar}}if(n||(n="iso8601"),!un(n))throw new RangeError("invalid calendar identifier ".concat(n));return Kr(n)}function Ot(a){if(Ye(a,E))return u(a,E);var n=a.calendar;return n===void 0?"iso8601":wr(n)}function Ge(a){if(typeof a=="string")return a;var n=a.id;if(typeof n!="string")throw new TypeError("calendar.id should be a string");return n}function Kn(a){return me(a)?a:new(A("%Temporal.Calendar%"))(a)}function St(a,n){return a===n||Ge(a)===Ge(n)}function fi(a,n,e){if(a!==n){var t=Ge(a),r=Ge(n);if(t!==r)throw new RangeError("cannot ".concat(e," of ").concat(t," and ").concat(r," calendars"))}}function Ro(a,n){if(a===n)return n;var e=Ge(a),t=Ge(n);if(e===t||e==="iso8601")return n;if(t==="iso8601")return a;throw new RangeError("irreconcilable calendars")}function rn(a,n,e,t){if(typeof a=="string"){var r=new(A("%Temporal.Calendar%"))(a);return N(A("%Temporal.Calendar.prototype.dateFromFields%"),r,[n,e])}var i=N(ie(a,"dateFromFields"),a,[n,e]);if(!K(i))throw new TypeError("invalid result");return i}function Fn(a,n,e){if(typeof a=="string"){var t=new(A("%Temporal.Calendar%"))(a);return N(A("%Temporal.Calendar.prototype.yearMonthFromFields%"),t,[n,e])}var r=N(ie(a,"yearMonthFromFields"),a,[n,e]);if(!ne(r))throw new TypeError("invalid result");return r}function Xn(a,n,e){if(typeof a=="string"){var t=new(A("%Temporal.Calendar%"))(a);return N(A("%Temporal.Calendar.prototype.monthDayFromFields%"),t,[n,e])}var r=N(ie(a,"monthDayFromFields"),a,[n,e]);if(!Ne(r))throw new TypeError("invalid result");return r}function Xe(a){if(me(a)){if(P(a))return u(a,ue);if(!function(e){return!!kr(e)||"getOffsetNanosecondsFor"in e&&"getPossibleInstantsFor"in e&&"id"in e}(a))throw new TypeError("expected a Temporal.TimeZone or object implementing the Temporal.TimeZone protocol");return a}return ys(dr(a))}function Mt(a){if(typeof a=="string")return a;var n=a.id;if(typeof n!="string")throw new TypeError("timeZone.id should be a string");return n}function Yo(a){return me(a)?a:new(A("%Temporal.TimeZone%"))(a)}function Po(a,n){return a===n||Mt(a)===Mt(n)}function Qn(a){return Ir(u(a,O),u(a,M),u(a,R),u(a,E))}function oa(a){return new(A("%Temporal.PlainTime%"))(u(a,Z),u(a,q),u(a,z),u(a,W),u(a,G),u(a,H))}function Nr(a,n,e){if(typeof a=="string"){var t=new(A("%Temporal.TimeZone%"))(a);return N(A("%Temporal.TimeZone.prototype.getOffsetNanosecondsFor%"),t,[n])}var r=N(ie(a,"getOffsetNanosecondsFor"),a,[n]);if(typeof r!="number")throw new TypeError("bad return from getOffsetNanosecondsFor");if(!Tr(r)||he(r)>=864e11)throw new RangeError("out-of-range return from getOffsetNanosecondsFor");return r}function ua(a,n){return yi(Nr(a,n))}function Er(a,n,e){var t=u(n,L),r=Nr(a,n),i=Wo(t),o=i.year,l=i.month,s=i.day,c=i.hour,d=i.minute,h=i.second,f=i.millisecond,v=i.microsecond,g=i.nanosecond,y=ha(o,l,s,c,d,h,f,v,g+r);return pr(o=y.year,l=y.month,s=y.day,c=y.hour,d=y.minute,h=y.second,f=y.millisecond,v=y.microsecond,g=y.nanosecond,e)}function hr(a,n,e){return No(vi(a,n),a,n,e)}function No(a,n,e,t){var r=A("%Temporal.Instant%"),i=a.length;if(i===1)return a[0];if(i)switch(t){case"compatible":case"earlier":return a[0];case"later":return a[i-1];case"reject":throw new RangeError("multiple instants found")}var o=u(e,O),l=u(e,M),s=u(e,R),c=u(e,Z),d=u(e,q),h=u(e,z),f=u(e,W),v=u(e,G),g=u(e,H),y=vn(o,l,s,c,d,h,f,v,g);if(y===null)throw new RangeError("DateTime outside of supported range");var D=new r(m.subtract(y,Gr)),p=new r(m.add(y,Gr)),w=Nr(n,D),_=Nr(n,p)-w;switch(t){case"earlier":var T=u(e,E),b=A("%Temporal.PlainDateTime%"),C=wa(o,l,s,c,d,h,f,v,g,T,0,0,0,0,0,0,0,0,0,-_,void 0);return vi(n,new b(C.year,C.month,C.day,C.hour,C.minute,C.second,C.millisecond,C.microsecond,C.nanosecond,T))[0];case"compatible":case"later":var k=u(e,E),I=A("%Temporal.PlainDateTime%"),F=wa(o,l,s,c,d,h,f,v,g,k,0,0,0,0,0,0,0,0,0,_,void 0),S=vi(n,new I(F.year,F.month,F.day,F.hour,F.minute,F.second,F.millisecond,F.microsecond,F.nanosecond,k));return S[S.length-1];case"reject":throw new RangeError("no such instant found")}}function vi(a,n,e){if(typeof a=="string"){var t=new(A("%Temporal.TimeZone%"))(a);return N(A("%Temporal.TimeZone.prototype.getPossibleInstantsFor%"),t,[n])}var r,i=[],o=je(N(ie(a,"getPossibleInstantsFor"),a,[n]));try{for(o.s();!(r=o.n()).done;){var l=r.value;if(!Re(l))throw new TypeError("bad return from getPossibleInstantsFor");mo.call(i,l)}}catch(s){o.e(s)}finally{o.f()}return i}function Bn(a){var n;if(a<0||a>9999){var e=a<0?"-":"+",t=he(a);n=e+"000000".concat(t).slice(-6)}else n="0000".concat(a).slice(-4);return n}function fe(a){return"00".concat(a).slice(-2)}function gi(a,n,e,t,r){if(r==="minute")return"";var i,o=":".concat(fe(a)),l=1e6*n+1e3*e+t;if(r==="auto"){if(l===0)return o;for(i="".concat(l).padStart(9,"0");i[i.length-1]==="0";)i=i.slice(0,-1)}else{if(r===0)return o;i="".concat(l).padStart(9,"0").slice(0,r)}return"".concat(o,".").concat(i)}function jo(a,n,e){var t=n;t===void 0&&(t="UTC");var r=Er(t,a,"iso8601"),i=Bn(u(r,O)),o=fe(u(r,M)),l=fe(u(r,R)),s=fe(u(r,Z)),c=fe(u(r,q)),d=gi(u(r,z),u(r,W),u(r,G),u(r,H),e),h="Z";return n!==void 0&&(h=zo(Nr(t,a))),"".concat(i,"-").concat(o,"-").concat(l,"T").concat(s,":").concat(c).concat(d).concat(h)}function sa(a){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"auto",e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;function t(X){return X<=ls?X.toString(10):m.BigInt(X).toString(10)}var r=u(a,nr),i=u(a,Le),o=u(a,fr),l=u(a,tr),s=u(a,ir),c=u(a,ar),d=u(a,or),h=u(a,ur),f=u(a,sr),v=u(a,lr),g=Jr(r,i,o,l,s,c,d,h,f,v);if(e){var y=e.unit,D=e.increment,p=e.roundingMode,w=on(0,0,0,0,0,0,d,h,f,v,D,y,p);d=w.seconds,h=w.milliseconds,f=w.microseconds,v=w.nanoseconds}var _=[];r&&_.push("".concat(t(he(r)),"Y")),i&&_.push("".concat(t(he(i)),"M")),o&&_.push("".concat(t(he(o)),"W")),l&&_.push("".concat(t(he(l)),"D"));var T=[];s&&T.push("".concat(t(he(s)),"H")),c&&T.push("".concat(t(he(c)),"M"));var b,C,k,I,F=[],S=rt(0,0,0,d,h,f,v,0),B=Ce(S,re);S=B.quotient,b=B.remainder;var j=Ce(S,re);S=j.quotient,C=j.remainder;var Y=Ce(S,re);I=Y.quotient,k=Y.remainder;var V,U=1e6*he(m.toNumber(k))+1e3*he(m.toNumber(C))+he(m.toNumber(b));if(n==="auto"){if(U!==0)for(V="".concat(U).padStart(9,"0");V[V.length-1]==="0";)V=V.slice(0,-1)}else n!==0&&(V="".concat(U).padStart(9,"0").slice(0,n));return V&&F.unshift(".",V),m.equal(I,De)&&!F.length&&n==="auto"||F.unshift(Rr(I).toString()),F.length&&T.push("".concat(F.join(""),"S")),T.length&&T.unshift("T"),_.length||T.length?"".concat(g<0?"-":"","P").concat(_.join("")).concat(T.join("")):"PT0S"}function Lo(a){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"auto",e=Bn(u(a,O)),t=fe(u(a,M)),r=fe(u(a,R)),i=$i(u(a,E),n);return"".concat(e,"-").concat(t,"-").concat(r).concat(i)}function Uo(a,n){var e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"auto",t=arguments.length>3&&arguments[3]!==void 0?arguments[3]:void 0,r=u(a,O),i=u(a,M),o=u(a,R),l=u(a,Z),s=u(a,q),c=u(a,z),d=u(a,W),h=u(a,G),f=u(a,H);if(t){var v=t.unit,g=t.increment,y=t.roundingMode,D=Da(r,i,o,l,s,c,d,h,f,g,v,y);r=D.year,i=D.month,o=D.day,l=D.hour,s=D.minute,c=D.second,d=D.millisecond,h=D.microsecond,f=D.nanosecond}var p=Bn(r),w=fe(i),_=fe(o),T=fe(l),b=fe(s),C=gi(c,d,h,f,n),k=$i(u(a,E),e);return"".concat(p,"-").concat(w,"-").concat(_,"T").concat(T,":").concat(b).concat(C).concat(k)}function xo(a){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"auto",e=fe(u(a,M)),t=fe(u(a,R)),r="".concat(e,"-").concat(t),i=u(a,E),o=Ge(i);if(n==="always"||n==="critical"||o!=="iso8601"){var l=Bn(u(a,O));r="".concat(l,"-").concat(r)}var s=Ki(o,n);return s&&(r+=s),r}function Zo(a){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"auto",e=Bn(u(a,O)),t=fe(u(a,M)),r="".concat(e,"-").concat(t),i=u(a,E),o=Ge(i);if(n==="always"||n==="critical"||o!=="iso8601"){var l=fe(u(a,R));r+="-".concat(l)}var s=Ki(o,n);return s&&(r+=s),r}function qo(a,n){var e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"auto",t=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"auto",r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"auto",i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:void 0,o=u(a,$e);if(i){var l=i.unit,s=i.increment,c=i.roundingMode,d=bi(u(a,L),s,l,c),h=A("%Temporal.Instant%");o=new h(d)}var f=u(a,ue),v=Er(f,o,"iso8601"),g=Bn(u(v,O)),y=fe(u(v,M)),D=fe(u(v,R)),p=fe(u(v,Z)),w=fe(u(v,q)),_=gi(u(v,z),u(v,W),u(v,G),u(v,H),n),T="".concat(g,"-").concat(y,"-").concat(D,"T").concat(p,":").concat(w).concat(_);if(r!=="never"){var b=Nr(f,o);T+=zo(b)}if(t!=="never"){var C=Mt(f),k=t==="critical"?"!":"";T+="[".concat(k).concat(C,"]")}return T+=$i(u(a,E),e)}function et(a){return _u.test(pt(a))}function fn(a){var n=_u.exec(pt(a));if(!n)throw new RangeError("invalid time zone offset: ".concat(a));return(n[1]==="-"||n[1]==="−"?-1:1)*(1e9*(60*(60*+n[2]+ +(n[3]||0))+ +(n[4]||0))+ +((n[5]||0)+"000000000").slice(0,9))}function la(a){return et(a)?yi(fn(a)):ko(pt(a)).resolvedOptions().timeZone}function nn(a,n){var e=Go(a,n),t=e.year,r=e.month,i=e.day,o=e.hour,l=e.minute,s=e.second,c=e.millisecond,d=e.microsecond,h=e.nanosecond,f=t%400,v=(t-f)/400,g=m.multiply(m.BigInt(146097),Gr),y=vn(f,r,i,o,l,s,c,d,h),D=m.add(y,m.multiply(g,m.BigInt(v)));return m.toNumber(m.subtract(D,n))}function yi(a){var n=a<0?"-":"+",e=he(a),t=e%1e9,r=gr(e/1e9)%60,i=gr(e/6e10)%60,o=fe(gr(e/36e11)),l=fe(i),s=fe(r),c="";if(t){for(var d="".concat(t).padStart(9,"0");d[d.length-1]==="0";)d=d.slice(0,-1);c=":".concat(s,".").concat(d)}else r&&(c=":".concat(s));return"".concat(n).concat(o,":").concat(l).concat(c)}function zo(a){var n=m.toNumber(br(m.BigInt(a),yo,"halfExpand")),e=n<0?"-":"+",t=(n=he(n))/6e10%60,r=fe(gr(n/36e11)),i=fe(t);return"".concat(e).concat(r,":").concat(i)}function vn(a,n,e,t,r,i,o,l,s){var c=new Date;c.setUTCHours(t,r,i,o),c.setUTCFullYear(a,n-1,e);var d=c.getTime();if(Jt(d))return null;var h=m.multiply(m.BigInt(d),_r);return h=m.add(h,m.multiply(m.BigInt(l),re)),h=m.add(h,m.BigInt(s)),m.lessThan(h,wt)||m.greaterThan(h,Zn)?null:h}function Wo(a){var n=Ce(a,_r),e=n.quotient,t=n.remainder,r=m.toNumber(e),i=m.toNumber(t);i<0&&(i+=1e6,r-=1);var o=gr(i/1e3)%1e3,l=i%1e3,s=new Date(r);return{epochMilliseconds:r,year:s.getUTCFullYear(),month:s.getUTCMonth()+1,day:s.getUTCDate(),hour:s.getUTCHours(),minute:s.getUTCMinutes(),second:s.getUTCSeconds(),millisecond:s.getUTCMilliseconds(),microsecond:o,nanosecond:l}}function Go(a,n){var e=Wo(n),t=e.epochMilliseconds,r=e.millisecond,i=e.microsecond,o=e.nanosecond,l=function(c,d){var h=ko(c).format(new Date(d));return function(v){var g=v.split(/[^\w]+/);if(g.length!==7)throw new RangeError('expected 7 parts in "'.concat(v));var y=+g[0],D=+g[1],p=+g[2],w=g[3].toUpperCase();if(w==="B"||w==="BC")p=1-p;else if(w!=="A"&&w!=="AD")throw new RangeError("Unknown era ".concat(w,' in "').concat(v));var _=+g[4];_===24&&(_=0);var T=+g[5],b=+g[6];if(!(cr(p)&&cr(y)&&cr(D)&&cr(_)&&cr(T)&&cr(b)))throw new RangeError('Invalid number in "'.concat(v));return{year:p,month:y,day:D,hour:_,minute:T,second:b}}(h)}(a,t);return ha(l.year,l.month,l.day,l.hour,l.minute,l.second,r,i,o)}function Ho(a,n){return m.lessThan(a,n)?n:a}function Jo(){return m.add(Ea(),ms)}function Vo(a,n){if(m.lessThan(n,qn))return Vo(a,qn);for(var e=m.add(n,po),t=Ho(Jo(),e),r=Ho(qn,n),i=nn(a,r),o=r,l=i;i===l&&m.lessThan(m.BigInt(r),t);){if(o=m.add(r,wo),m.greaterThan(o,Zn))return null;i===(l=nn(a,o))&&(r=o)}return i===l?null:Tu(function(s){return nn(a,s)},r,o,i,l)}function ca(a,n){var e=Jo(),t=m.greaterThan(n,e),r=t?m.subtract(n,po):qn;if(a==="Africa/Casablanca"||a==="Africa/El_Aaiun"){var i=u(Pr("2088-01-01T00Z"),L);if(m.lessThan(i,n))return ca(a,i)}var o=m.subtract(n,xn);if(m.lessThan(o,qn))return null;for(var l=nn(a,o),s=o,c=l;l===c&&m.greaterThan(o,r);){if(s=m.subtract(o,wo),m.lessThan(s,qn))return null;l===(c=nn(a,s))&&(o=s)}if(l===c){if(t){var d=m.subtract(e,Gr);return ca(a,d)}return null}return Tu(function(h){return nn(a,h)},s,o,c,l)}function gn(a){return a!==void 0&&a%4==0&&(a%100!=0||a%400==0)}function tn(a,n){return{standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]}[gn(a)?"leapyear":"standard"][n-1]}function da(a,n,e){var t=n+(n<3?10:-2),r=a-(n<3?1:0),i=gr(r/100),o=r-100*i,l=(e+gr(2.6*t-.2)+(o+gr(o/4))+(gr(i/4)-2*i))%7;return l+(l<=0?7:0)}function pi(a,n,e){for(var t=e,r=n-1;r>0;r--)t+=tn(a,r);return t}function $o(a,n,e){var t=pi(a,n,e),r=da(a,n,e)||7,i=da(a,1,1),o=gr((t-r+10)/7);return o<1?i===5||i===6&&gn(a-1)?{week:53,year:a-1}:{week:52,year:a-1}:o===53&&(gn(a)?366:365)-t<4-r?{week:1,year:a+1}:{week:o,year:a}}function Jr(a,n,e,t,r,i,o,l,s,c){for(var d=0,h=[a,n,e,t,r,i,o,l,s,c];d<h.length;d++){var f=h[d];if(f!==0)return f<0?-1:1}return 0}function wi(a,n){var e=a,t=n;if(!cr(e)||!cr(t))throw new RangeError("infinity is out of range");return e+=gr((t-=1)/12),(t%=12)<0&&(t+=12),{year:e,month:t+=1}}function Di(a,n,e){var t=a,r=n,i=e;if(!cr(i))throw new RangeError("infinity is out of range");var o=wi(t,r);t=o.year,r=o.month;var l=146097;if(he(i)>l){var s=Tn(i/l);t+=400*s,i-=s*l}for(var c=0,d=r>2?t:t-1;i<-(c=gn(d)?366:365);)t-=1,d-=1,i+=c;for(d+=1;i>(c=gn(d)?366:365);)t+=1,d+=1,i-=c;for(;i<1;){var h=wi(t,r-1);i+=tn(t=h.year,r=h.month)}for(;i>tn(t,r);){i-=tn(t,r);var f=wi(t,r+1);t=f.year,r=f.month}return{year:t,month:r,day:i}}function ha(a,n,e,t,r,i,o,l,s){var c=an(t,r,i,o,l,s),d=c.deltaDays,h=c.hour,f=c.minute,v=c.second,g=c.millisecond,y=c.microsecond,D=c.nanosecond,p=Di(a,n,e+d);return{year:p.year,month:p.month,day:p.day,hour:h,minute:f,second:v,millisecond:g,microsecond:y,nanosecond:D}}function an(a,n,e,t,r,i){var o,l=m.BigInt(a),s=m.BigInt(n),c=m.BigInt(e),d=m.BigInt(t),h=m.BigInt(r),f=m.BigInt(i),v=Sn(f,re);o=v.quotient,f=v.remainder;var g=Sn(h=m.add(h,o),re);o=g.quotient,h=g.remainder;var y=Sn(d=m.add(d,o),re);o=y.quotient,d=y.remainder;var D=Sn(c=m.add(c,o),zr);o=D.quotient,c=D.remainder;var p=Sn(s=m.add(s,o),zr);o=p.quotient,s=p.remainder;var w=Sn(l=m.add(l,o),vo);return o=w.quotient,l=w.remainder,{deltaDays:m.toNumber(o),hour:m.toNumber(l),minute:m.toNumber(s),second:m.toNumber(c),millisecond:m.toNumber(d),microsecond:m.toNumber(h),nanosecond:m.toNumber(f)}}function rt(a,n,e,t,r,i,o,l){var s=m.BigInt(a),c=m.BigInt(o);a!==0&&(c=m.subtract(m.BigInt(o),m.BigInt(l)));var d=m.add(m.BigInt(n),m.multiply(s,m.BigInt(24))),h=m.add(m.BigInt(e),m.multiply(d,zr)),f=m.add(m.BigInt(t),m.multiply(h,zr)),v=m.add(m.BigInt(r),m.multiply(f,re)),g=m.add(m.BigInt(i),m.multiply(v,re));return m.add(m.BigInt(c),m.multiply(g,re))}function ma(a,n){var e=A("%Temporal.Instant%"),t=Un(m.toNumber(a)),r=m.BigInt(a),i=864e11;if(t===0)return{days:0,nanoseconds:De,dayLengthNs:i};if(!P(n)){var o,l=Ce(r,m.BigInt(i));return o=l.quotient,r=l.remainder,{days:m.toNumber(o),nanoseconds:r,dayLengthNs:i}}var s=u(n,L),c=u(n,$e),d=m.add(s,r),h=new e(d),f=u(n,ue),v=u(n,E),g=Er(f,c,v),y=Er(f,h,v),D=ya(u(g,O),u(g,M),u(g,R),u(g,Z),u(g,q),u(g,z),u(g,W),u(g,G),u(g,H),u(y,O),u(y,M),u(y,R),u(y,Z),u(y,q),u(y,z),u(y,W),u(y,G),u(y,H),v,"day",Ke(null)).days,p=Fr(c,f,v,0,0,0,D,0,0,0,0,0,0),w=m.BigInt(D);if(t===1)for(;m.greaterThan(w,De)&&m.greaterThan(p,d);)w=m.subtract(w,xn),p=Fr(c,f,v,0,0,0,m.toNumber(w),0,0,0,0,0,0);r=m.subtract(d,p);var _=!1,T=new e(p);do{var b=Fr(T,f,v,0,0,0,t,0,0,0,0,0,0),C=u(T,L);i=m.toNumber(m.subtract(b,C)),(_=m.greaterThanOrEqual(m.multiply(m.subtract(r,m.BigInt(i)),m.BigInt(t)),De))&&(r=m.subtract(r,m.BigInt(i)),T=new e(b),w=m.add(w,m.BigInt(t)))}while(_);if(!Cr(w)&&_o(w)!==t)throw new RangeError("Time zone or calendar converted nanoseconds into a number of days with the opposite sign");if(!Cr(r)&&_o(r)!==t)throw Xt(r)&&t===1?new Error("assert not reached"):new RangeError("Time zone or calendar ended up with a remainder of nanoseconds with the opposite sign");if(m.greaterThanOrEqual(Rr(r),Rr(m.BigInt(i))))throw new Error("assert not reached");return{days:m.toNumber(w),nanoseconds:r,dayLengthNs:he(i)}}function Or(a,n,e,t,r,i,o,l){var s=arguments.length>8&&arguments[8]!==void 0?arguments[8]:void 0,c=Ko(a,n,e,t,r,i,o,l,s);if(c==="positive overflow"||c==="negative overflow")throw new RangeError("Duration out of range");return c}function Ko(a,n,e,t,r,i,o,l){var s,c,d,h,f,v,g=arguments.length>8&&arguments[8]!==void 0?arguments[8]:void 0,y=a;if(P(g)){var D=Fr(u(g,$e),u(g,ue),u(g,E),0,0,0,y,n,e,t,r,i,o),p=u(g,L);s=m.subtract(D,p)}else s=rt(y,n,e,t,r,i,o,0);if(l==="year"||l==="month"||l==="week"||l==="day"){var w=ma(s,g);y=w.days,s=w.nanoseconds}else y=0;var _=m.lessThan(s,De)?-1:1;switch(s=Rr(s),c=d=h=f=v=De,l){case"year":case"month":case"week":case"day":case"hour":var T=Ce(s,re);c=T.quotient,s=T.remainder;var b=Ce(c,re);d=b.quotient,c=b.remainder;var C=Ce(d,re);h=C.quotient,d=C.remainder;var k=Ce(h,zr);f=k.quotient,h=k.remainder;var I=Ce(f,zr);v=I.quotient,f=I.remainder;break;case"minute":var F=Ce(s,re);c=F.quotient,s=F.remainder;var S=Ce(c,re);d=S.quotient,c=S.remainder;var B=Ce(d,re);h=B.quotient,d=B.remainder;var j=Ce(h,zr);f=j.quotient,h=j.remainder;break;case"second":var Y=Ce(s,re);c=Y.quotient,s=Y.remainder;var V=Ce(c,re);d=V.quotient,c=V.remainder;var U=Ce(d,re);h=U.quotient,d=U.remainder;break;case"millisecond":var X=Ce(s,re);c=X.quotient,s=X.remainder;var se=Ce(c,re);d=se.quotient,c=se.remainder;break;case"microsecond":var xe=Ce(s,re);c=xe.quotient,s=xe.remainder;break;case"nanosecond":break;default:throw new Error("assert not reached")}for(var Oe=m.toNumber(v)*_,Ze=m.toNumber(f)*_,te=m.toNumber(h)*_,ge=m.toNumber(d)*_,mr=m.toNumber(c)*_,rr=m.toNumber(s)*_,Se=0,qe=[y,Oe,Ze,te,ge,mr,rr];Se<qe.length;Se++){var ye=qe[Se];if(!cr(ye))return _===1?"positive overflow":"negative overflow"}return{days:y,hours:Oe,minutes:Ze,seconds:te,milliseconds:ge,microseconds:mr,nanoseconds:rr}}function _i(a,n,e,t,r,i){var o=A("%Temporal.Duration%"),l=Jr(a,n,e,t,0,0,0,0,0,0);if(l===0)return{years:a,months:n,weeks:e,days:t};var s,c,d=m.BigInt(l),h=m.BigInt(a),f=m.BigInt(n),v=m.BigInt(e),g=m.BigInt(t);i&&(s=u(c=le(i),E));var y=new o(l),D=new o(0,l),p=new o(0,0,l);switch(r){case"year":break;case"month":if(!s)throw new RangeError("a starting point is required for months balancing");var w,_;for(typeof s!="string"&&(w=ie(s,"dateAdd"),_=ie(s,"dateUntil"));!Cr(h);){var T=We(s,c,y,void 0,w),b=Ke(null);b.largestUnit="month";var C=mn(s,c,T,b,_),k=m.BigInt(u(C,Le));c=T,f=m.add(f,k),h=m.subtract(h,d)}break;case"week":if(!s)throw new RangeError("a starting point is required for weeks balancing");for(var I=typeof s!="string"?ie(s,"dateAdd"):void 0;!Cr(h);){var F,S=Qe(s,c,y,I);c=S.relativeTo,F=S.days,g=m.add(g,m.BigInt(F)),h=m.subtract(h,d)}for(;!Cr(f);){var B,j=Qe(s,c,D,I);c=j.relativeTo,B=j.days,g=m.add(g,m.BigInt(B)),f=m.subtract(f,d)}break;default:if(Cr(h)&&Cr(f)&&Cr(v))break;if(!s)throw new RangeError("a starting point is required for balancing calendar units");for(var Y=typeof s!="string"?ie(s,"dateAdd"):void 0;!Cr(h);){var V,U=Qe(s,c,y,Y);c=U.relativeTo,V=U.days,g=m.add(g,m.BigInt(V)),h=m.subtract(h,d)}for(;!Cr(f);){var X,se=Qe(s,c,D,Y);c=se.relativeTo,X=se.days,g=m.add(g,m.BigInt(X)),f=m.subtract(f,d)}for(;!Cr(v);){var xe,Oe=Qe(s,c,p,Y);c=Oe.relativeTo,xe=Oe.days,g=m.add(g,m.BigInt(xe)),v=m.subtract(v,d)}}return{years:m.toNumber(h),months:m.toNumber(f),weeks:m.toNumber(v),days:m.toNumber(g)}}function Xo(a,n,e,t,r){if(P(a)){var i=u(a,$e),o=u(a,ue),l=u(a,E),s=Nr(o,i),c=Fr(i,o,l,n,e,t,r,0,0,0,0,0,0);return Nr(o,new(A("%Temporal.Instant%"))(c))-s}return 0}function Qo(a){return new(A("%Temporal.Duration%"))(-u(a,nr),-u(a,Le),-u(a,fr),-u(a,tr),-u(a,ir),-u(a,ar),-u(a,or),-u(a,ur),-u(a,sr),-u(a,lr))}function Dr(a,n,e){return os(e,us(n,a))}function eu(a,n,e){var t=Dr(n,1,12);return{year:a,month:t,day:Dr(e,1,tn(a,t))}}function He(a,n,e){if(a<n||a>e)throw new RangeError("value out of range: ".concat(n," <= ").concat(a," <= ").concat(e))}function Vr(a,n,e){He(n,1,12),He(e,1,tn(a,n))}function ru(a,n,e){nu(a,n,e,12,0,0,0,0,0)}function Ti(a,n,e,t,r,i){He(a,0,23),He(n,0,59),He(e,0,59),He(t,0,999),He(r,0,999),He(i,0,999)}function fa(a,n,e,t,r,i,o,l,s){Vr(a,n,e),Ti(t,r,i,o,l,s)}function nu(a,n,e,t,r,i,o,l,s){if(He(a,$t,Kt),a===$t&&vn(a,n,e+1,t,r,i,o,l,s-1)==null||a===Kt&&vn(a,n,e-1,t,r,i,o,l,s+1)==null)throw new RangeError("DateTime outside of supported range")}function An(a){if(m.lessThan(a,wt)||m.greaterThan(a,Zn))throw new RangeError("Instant outside of supported range")}function Ei(a,n,e,t,r,i,o,l,s,c){for(var d=Jr(a,n,e,t,r,i,o,l,s,c),h=0,f=[a,n,e,t,r,i,o,l,s,c];h<f.length;h++){var v=f[h];if(!cr(v))throw new RangeError("infinite values not allowed as duration fields");var g=Un(v);if(g!==0&&g!==d)throw new RangeError("mixed-sign values not allowed as duration fields")}}function va(a,n,e,t,r,i,o){switch(o){case"year":case"month":var l=-yn(a,n,e,t,r,i);if(l===0)return{years:0,months:0,weeks:0,days:0};var s={year:a,month:n,day:e},c={year:t,month:r,day:i},d=c.year-s.year,h=On(a,n,e,d,0,0,0,"constrain"),f=-yn(h.year,h.month,h.day,t,r,i);if(f===0)return o==="year"?{years:d,months:0,weeks:0,days:0}:{years:0,months:12*d,weeks:0,days:0};var v=c.month-s.month;return f!==l&&(d-=l,v+=12*l),(f=-yn((h=On(a,n,e,d,v,0,0,"constrain")).year,h.month,h.day,t,r,i))===0?o==="year"?{years:d,months:v,weeks:0,days:0}:{years:0,months:v+12*d,weeks:0,days:0}:(f!==l&&((v-=l)===-l&&(d-=l,v=11*l),h=On(a,n,e,d,v,0,0,"constrain")),o==="month"&&(v+=12*d,d=0),{years:d,months:v,weeks:0,days:h.month===c.month?c.day-h.day:l<0?-h.day-(tn(c.year,c.month)-c.day):c.day+(tn(h.year,h.month)-h.day)});case"week":case"day":var g,y,D;yn(a,n,e,t,r,i)<0?(y={year:a,month:n,day:e},g={year:t,month:r,day:i},D=1):(y={year:t,month:r,day:i},g={year:a,month:n,day:e},D=-1);for(var p=pi(g.year,g.month,g.day)-pi(y.year,y.month,y.day),w=y.year;w<g.year;++w)p+=gn(w)?366:365;var _=0;return o==="week"&&(_=gr(p/7),p%=7),{years:0,months:0,weeks:_*=D,days:p*=D};default:throw new Error("assert not reached")}}function tu(a,n,e,t,r,i,o,l,s,c,d,h){var f,v=o-a,g=l-n,y=s-e,D=c-t,p=d-r,w=h-i,_=Jr(0,0,0,0,v,g,y,D,p,w),T=an(v*=_,g*=_,y*=_,D*=_,p*=_,w*=_);if(f=T.deltaDays,v=T.hour,g=T.minute,y=T.second,D=T.millisecond,p=T.microsecond,w=T.nanosecond,f!=0)throw new Error("assertion failure in DifferenceTime: _bt_.[[Days]] should be 0");return{hours:v*=_,minutes:g*=_,seconds:y*=_,milliseconds:D*=_,microseconds:p*=_,nanoseconds:w*=_}}function ga(a,n,e,t,r,i){var o=m.subtract(n,a),l=m.toNumber(m.remainder(o,re)),s=m.toNumber(m.remainder(m.divide(o,re),re)),c=m.toNumber(m.remainder(m.divide(o,_r),re)),d=m.toNumber(m.divide(o,Wr)),h=on(0,0,0,0,0,0,d,c,s,l,e,t,i);return Or(0,h.hours,h.minutes,d=h.seconds,c=h.milliseconds,s=h.microseconds,l=h.nanoseconds,r)}function ya(a,n,e,t,r,i,o,l,s,c,d,h,f,v,g,y,D,p,w,_,T){var b=a,C=n,k=e,I=tu(t,r,i,o,l,s,f,v,g,y,D,p),F=I.hours,S=I.minutes,B=I.seconds,j=I.milliseconds,Y=I.microseconds,V=I.nanoseconds,U=Jr(0,0,0,0,F,S,B,j,Y,V);if(yn(c,d,h,b,C,k)===-U){var X=Di(b,C,k-U);b=X.year,C=X.month,k=X.day;var se=Or(-U,F,S,B,j,Y,V,_);F=se.hours,S=se.minutes,B=se.seconds,j=se.milliseconds,Y=se.microseconds,V=se.nanoseconds}var xe=Ir(b,C,k,w),Oe=Ir(c,d,h,w),Ze=Cn("day",_),te=wn(T);te.largestUnit=Ze;var ge=mn(w,xe,Oe,te),mr=ge.years,rr=ge.months,Se=ge.weeks,qe=ge.days,ye=Or(qe,F,S,B,j,Y,V,_);return{years:mr,months:rr,weeks:Se,days:qe=ye.days,hours:F=ye.hours,minutes:S=ye.minutes,seconds:B=ye.seconds,milliseconds:j=ye.milliseconds,microseconds:Y=ye.microseconds,nanoseconds:V=ye.nanoseconds}}function iu(a,n,e,t,r,i){var o=m.subtract(n,a);if(m.equal(o,De))return{years:0,months:0,weeks:0,days:0,hours:0,minutes:0,seconds:0,milliseconds:0,microseconds:0,nanoseconds:0};var l=A("%Temporal.Instant%"),s=new l(a),c=new l(n),d=Er(e,s,t),h=Er(e,c,t),f=ya(u(d,O),u(d,M),u(d,R),u(d,Z),u(d,q),u(d,z),u(d,W),u(d,G),u(d,H),u(h,O),u(h,M),u(h,R),u(h,Z),u(h,q),u(h,z),u(h,W),u(h,G),u(h,H),t,r,i),v=f.years,g=f.months,y=f.weeks,D=f.days,p=Fr(s,e,t,v,g,y,0,0,0,0,0,0,0),w=m.subtract(n,p),_=ma(w,ze(p,e,t));w=_.nanoseconds,D=_.days;var T=Or(0,0,0,0,0,0,m.toNumber(w),"hour");return{years:v,months:g,weeks:y,days:D,hours:T.hours,minutes:T.minutes,seconds:T.seconds,milliseconds:T.milliseconds,microseconds:T.microseconds,nanoseconds:T.nanoseconds}}function nt(a,n,e,t,r,i){var o=Dt.reduce(function(v,g){var y=g[0],D=g[1],p=g[2];return e!=="datetime"&&p!==e||t.includes(D)||v.push(D,y),v},[]),l=yr(n,"largestUnit",e,"auto");if(t.includes(l))throw new RangeError("largestUnit must be one of ".concat(o.join(", "),", not ").concat(l));var s=Jn(n),c=Yr(n,"trunc");a==="since"&&(c=function(g){switch(g){case"ceil":return"floor";case"floor":return"ceil";case"halfCeil":return"halfFloor";case"halfFloor":return"halfCeil";default:return g}}(c));var d=yr(n,"smallestUnit",e,r);if(t.includes(d))throw new RangeError("smallestUnit must be one of ".concat(o.join(", "),", not ").concat(d));var h=Cn(i,d);if(l==="auto"&&(l=h),Cn(l,d)!==l)throw new RangeError("largestUnit ".concat(l," cannot be smaller than smallestUnit ").concat(d));var f={hour:24,minute:60,second:60,millisecond:1e3,microsecond:1e3,nanosecond:1e3}[d];return f!==void 0&&Vn(s,f,!1),{largestUnit:l,roundingIncrement:s,roundingMode:c,smallestUnit:d}}function au(a,n,e,t){var r=a==="since"?-1:1,i=Pr(e),o=nt(a,wn(t),"time",[],"nanosecond","second"),l=ga(u(n,L),u(i,L),o.roundingIncrement,o.smallestUnit,o.largestUnit,o.roundingMode),s=l.hours,c=l.minutes,d=l.seconds,h=l.milliseconds,f=l.microseconds,v=l.nanoseconds;return new(A("%Temporal.Duration%"))(0,0,0,0,r*s,r*c,r*d,r*h,r*f,r*v)}function ou(a,n,e,t){var r=a==="since"?-1:1,i=le(e),o=u(n,E);fi(o,u(i,E),"compute difference between dates");var l=wn(t),s=nt(a,l,"date",[],"day","day");l.largestUnit=s.largestUnit;var c=mn(o,n,i,l),d=c.years,h=c.months,f=c.weeks,v=c.days;if(s.smallestUnit!=="day"||s.roundingIncrement!==1){var g=on(d,h,f,v,0,0,0,0,0,0,s.roundingIncrement,s.smallestUnit,s.roundingMode,n);d=g.years,h=g.months,f=g.weeks,v=g.days}return new(A("%Temporal.Duration%"))(r*d,r*h,r*f,r*v,0,0,0,0,0,0)}function uu(a,n,e,t){var r=a==="since"?-1:1,i=kn(e),o=u(n,E);fi(o,u(i,E),"compute difference between dates");var l=wn(t),s=nt(a,l,"datetime",[],"nanosecond","day"),c=ya(u(n,O),u(n,M),u(n,R),u(n,Z),u(n,q),u(n,z),u(n,W),u(n,G),u(n,H),u(i,O),u(i,M),u(i,R),u(i,Z),u(i,q),u(i,z),u(i,W),u(i,G),u(i,H),o,s.largestUnit,l),d=c.years,h=c.months,f=c.weeks,v=c.days,g=c.hours,y=c.minutes,D=c.seconds,p=c.milliseconds,w=c.microseconds,_=c.nanoseconds,T=Qn(n),b=on(d,h,f,v,g,y,D,p,w,_,s.roundingIncrement,s.smallestUnit,s.roundingMode,T);d=b.years,h=b.months,f=b.weeks;var C=Or(v=b.days,g=b.hours,y=b.minutes,D=b.seconds,p=b.milliseconds,w=b.microseconds,_=b.nanoseconds,s.largestUnit);return v=C.days,g=C.hours,y=C.minutes,D=C.seconds,p=C.milliseconds,w=C.microseconds,_=C.nanoseconds,new(A("%Temporal.Duration%"))(r*d,r*h,r*f,r*v,r*g,r*y,r*D,r*p,r*w,r*_)}function su(a,n,e,t){var r=a==="since"?-1:1,i=en(e),o=nt(a,wn(t),"time",[],"nanosecond","hour"),l=tu(u(n,Z),u(n,q),u(n,z),u(n,W),u(n,G),u(n,H),u(i,Z),u(i,q),u(i,z),u(i,W),u(i,G),u(i,H)),s=l.hours,c=l.minutes,d=l.seconds,h=l.milliseconds,f=l.microseconds,v=l.nanoseconds,g=on(0,0,0,0,s,c,d,h,f,v,o.roundingIncrement,o.smallestUnit,o.roundingMode),y=Or(0,s=g.hours,c=g.minutes,d=g.seconds,h=g.milliseconds,f=g.microseconds,v=g.nanoseconds,o.largestUnit);return s=y.hours,c=y.minutes,d=y.seconds,h=y.milliseconds,f=y.microseconds,v=y.nanoseconds,new(A("%Temporal.Duration%"))(0,0,0,0,r*s,r*c,r*d,r*h,r*f,r*v)}function lu(a,n,e,t){var r=a==="since"?-1:1,i=Ct(e),o=u(n,E);fi(o,u(i,E),"compute difference between months");var l=wn(t),s=nt(a,l,"date",["week","day"],"month","year");l.largestUnit=s.largestUnit;var c=Ae(o,["monthCode","year"]),d=$(n,c,[]);d.day=1;var h=rn(o,d),f=$(i,c,[]);f.day=1;var v=mn(o,h,rn(o,f),l),g=v.years,y=v.months;if(s.smallestUnit!=="month"||s.roundingIncrement!==1){var D=on(g,y,0,0,0,0,0,0,0,0,s.roundingIncrement,s.smallestUnit,s.roundingMode,h);g=D.years,y=D.months}return new(A("%Temporal.Duration%"))(r*g,r*y,0,0,0,0,0,0,0,0)}function cu(a,n,e,t){var r=a==="since"?-1:1,i=kt(e),o=u(n,E);fi(o,u(i,E),"compute difference between dates");var l=wn(t),s=nt(a,l,"datetime",[],"nanosecond","hour");l.largestUnit=s.largestUnit;var c,d,h,f,v,g,y,D,p,w,_=u(n,L),T=u(i,L);if(s.largestUnit!=="year"&&s.largestUnit!=="month"&&s.largestUnit!=="week"&&s.largestUnit!=="day"){c=0,d=0,h=0,f=0;var b=ga(_,T,s.roundingIncrement,s.smallestUnit,s.largestUnit,s.roundingMode);v=b.hours,g=b.minutes,y=b.seconds,D=b.milliseconds,p=b.microseconds,w=b.nanoseconds}else{var C=u(n,ue);if(!Po(C,u(i,ue)))throw new RangeError("When calculating difference between time zones, largestUnit must be 'hours' or smaller because day lengths can vary between time zones due to DST or time zone offset changes.");var k=iu(_,T,C,o,s.largestUnit,l),I=on(c=k.years,d=k.months,h=k.weeks,f=k.days,v=k.hours,g=k.minutes,y=k.seconds,D=k.milliseconds,p=k.microseconds,w=k.nanoseconds,s.roundingIncrement,s.smallestUnit,s.roundingMode,n),F=Du(c=I.years,d=I.months,h=I.weeks,f=I.days,v=I.hours,g=I.minutes,y=I.seconds,D=I.milliseconds,p=I.microseconds,w=I.nanoseconds,s.roundingIncrement,s.smallestUnit,s.roundingMode,n);c=F.years,d=F.months,h=F.weeks,f=F.days,v=F.hours,g=F.minutes,y=F.seconds,D=F.milliseconds,p=F.microseconds,w=F.nanoseconds}return new(A("%Temporal.Duration%"))(r*c,r*d,r*h,r*f,r*v,r*g,r*y,r*D,r*p,r*w)}function On(a,n,e,t,r,i,o,l){var s=a,c=n,d=e,h=i,f=o,v=wi(s+=t,c+=r),g=ei(s=v.year,c=v.month,d,l);s=g.year,c=g.month,d=g.day;var y=Di(s,c,d+=f+=7*h);return{year:s=y.year,month:c=y.month,day:d=y.day}}function du(a,n,e,t,r,i,o,l,s,c,d,h){var f=a,v=n,g=e,y=t,D=r,p=i,w=an(f+=o,v+=l,g+=s,y+=c,D+=d,p+=h);return{deltaDays:w.deltaDays,hour:f=w.hour,minute:v=w.minute,second:g=w.second,millisecond:y=w.millisecond,microsecond:D=w.microsecond,nanosecond:p=w.nanosecond}}function hu(a,n,e,t,r,i,o,l,s,c,d,h,f,v,g,y,D,p,w,_,T){var b,C,k,I,F,S,B,j,Y,V,U=Cn(ea(a,n,e,t,r,i,o,l,s,c),ea(d,h,f,v,g,y,D,p,w,_));if(T)if(K(T)){var X=A("%Temporal.Duration%"),se=u(T,E),xe=new X(a,n,e,t,0,0,0,0,0,0),Oe=new X(d,h,f,v,0,0,0,0,0,0),Ze=typeof se!="string"?ie(se,"dateAdd"):void 0,te=We(se,T,xe,void 0,Ze),ge=We(se,te,Oe,void 0,Ze),mr=Cn("day",U),rr=Ke(null);rr.largestUnit=mr;var Se=mn(se,T,ge,rr);b=Se.years,C=Se.months,k=Se.weeks;var qe=Or(I=Se.days,m.add(m.BigInt(r),m.BigInt(g)),m.add(m.BigInt(i),m.BigInt(y)),m.add(m.BigInt(o),m.BigInt(D)),m.add(m.BigInt(l),m.BigInt(p)),m.add(m.BigInt(s),m.BigInt(w)),m.add(m.BigInt(c),m.BigInt(_)),U);I=qe.days,F=qe.hours,S=qe.minutes,B=qe.seconds,j=qe.milliseconds,Y=qe.microseconds,V=qe.nanoseconds}else{var ye=A("%Temporal.Instant%"),Xr=u(T,ue),Qr=u(T,E),mt=Fr(u(T,$e),Xr,Qr,a,n,e,t,r,i,o,l,s,c),vr=Fr(new ye(mt),Xr,Qr,d,h,f,v,g,y,D,p,w,_);if(U!=="year"&&U!=="month"&&U!=="week"&&U!=="day"){b=0,C=0,k=0,I=0;var Br=ga(u(T,L),vr,1,"nanosecond",U,"halfExpand");F=Br.hours,S=Br.minutes,B=Br.seconds,j=Br.milliseconds,Y=Br.microseconds,V=Br.nanoseconds}else{var Je=iu(u(T,L),vr,Xr,Qr,U,Ke(null));b=Je.years,C=Je.months,k=Je.weeks,I=Je.days,F=Je.hours,S=Je.minutes,B=Je.seconds,j=Je.milliseconds,Y=Je.microseconds,V=Je.nanoseconds}}else{if(U==="year"||U==="month"||U==="week")throw new RangeError("relativeTo is required for years, months, or weeks arithmetic");b=C=k=0;var Ve=Or(t+v,m.add(m.BigInt(r),m.BigInt(g)),m.add(m.BigInt(i),m.BigInt(y)),m.add(m.BigInt(o),m.BigInt(D)),m.add(m.BigInt(l),m.BigInt(p)),m.add(m.BigInt(s),m.BigInt(w)),m.add(m.BigInt(c),m.BigInt(_)),U);I=Ve.days,F=Ve.hours,S=Ve.minutes,B=Ve.seconds,j=Ve.milliseconds,Y=Ve.microseconds,V=Ve.nanoseconds}return Ei(b,C,k,I,F,S,B,j,Y,V),{years:b,months:C,weeks:k,days:I,hours:F,minutes:S,seconds:B,milliseconds:j,microseconds:Y,nanoseconds:V}}function pa(a,n,e,t,r,i,o){var l=De;l=m.add(l,m.BigInt(o)),l=m.add(l,m.multiply(m.BigInt(i),re)),l=m.add(l,m.multiply(m.BigInt(r),_r)),l=m.add(l,m.multiply(m.BigInt(t),Wr)),l=m.add(l,m.multiply(m.BigInt(e),m.BigInt(6e10))),l=m.add(l,m.multiply(m.BigInt(n),m.BigInt(36e11)));var s=m.add(a,l);return An(s),s}function wa(a,n,e,t,r,i,o,l,s,c,d,h,f,v,g,y,D,p,w,_,T){var b=v,C=du(t,r,i,o,l,s,g,y,D,p,w,_),k=C.deltaDays,I=C.hour,F=C.minute,S=C.second,B=C.millisecond,j=C.microsecond,Y=C.nanosecond;b+=k;var V=A("%Temporal.Duration%"),U=We(c,Ir(a,n,e,c),new V(d,h,f,b,0,0,0,0,0,0),T);return{year:u(U,O),month:u(U,M),day:u(U,R),hour:I,minute:F,second:S,millisecond:B,microsecond:j,nanosecond:Y}}function Fr(a,n,e,t,r,i,o,l,s,c,d,h,f,v){var g=A("%Temporal.Duration%");if(Jr(t,r,i,o,0,0,0,0,0,0)===0)return pa(u(a,L),l,s,c,d,h,f);var y=Er(n,a,e),D=We(e,Ir(u(y,O),u(y,M),u(y,R),e),new g(t,r,i,o,0,0,0,0,0,0),v),p=pr(u(D,O),u(D,M),u(D,R),u(y,Z),u(y,q),u(y,z),u(y,W),u(y,G),u(y,H),e);return pa(u(hr(n,p,"compatible"),L),l,s,c,d,h,f)}function mu(a,n,e,t){var r=a==="subtract"?-1:1,i=En(e),o=i.years,l=i.months,s=i.weeks,c=i.days,d=i.hours,h=i.minutes,f=i.seconds,v=i.milliseconds,g=i.microseconds,y=i.nanoseconds,D=ti(Q(t)),p=hu(u(n,nr),u(n,Le),u(n,fr),u(n,tr),u(n,ir),u(n,ar),u(n,or),u(n,ur),u(n,sr),u(n,lr),r*o,r*l,r*s,r*c,r*d,r*h,r*f,r*v,r*g,r*y,D);return o=p.years,l=p.months,s=p.weeks,c=p.days,d=p.hours,h=p.minutes,f=p.seconds,v=p.milliseconds,g=p.microseconds,y=p.nanoseconds,new(A("%Temporal.Duration%"))(o,l,s,c,d,h,f,v,g,y)}function fu(a,n,e){var t=a==="subtract"?-1:1,r=function(v,g){var y,D=En(v),p=je(g);try{for(p.s();!(y=p.n()).done;){var w=y.value;if(D[w]!==0)throw new RangeError("Duration field ".concat(w," not supported by Temporal.Instant. Try Temporal.ZonedDateTime instead."))}}catch(_){p.e(_)}finally{p.f()}return D}(e,["years","months","weeks","days"]),i=r.hours,o=r.minutes,l=r.seconds,s=r.milliseconds,c=r.microseconds,d=r.nanoseconds,h=pa(u(n,L),t*i,t*o,t*l,t*s,t*c,t*d);return new(A("%Temporal.Instant%"))(h)}function vu(a,n,e,t){var r=a==="subtract"?-1:1,i=En(e),o=i.years,l=i.months,s=i.weeks,c=i.days,d=i.hours,h=i.minutes,f=i.seconds,v=i.milliseconds,g=i.microseconds,y=i.nanoseconds,D=Q(t),p=u(n,E),w=wa(u(n,O),u(n,M),u(n,R),u(n,Z),u(n,q),u(n,z),u(n,W),u(n,G),u(n,H),p,r*o,r*l,r*s,r*c,r*d,r*h,r*f,r*v,r*g,r*y,D);return pr(w.year,w.month,w.day,w.hour,w.minute,w.second,w.millisecond,w.microsecond,w.nanosecond,p)}function gu(a,n,e){var t=a==="subtract"?-1:1,r=En(e),i=r.hours,o=r.minutes,l=r.seconds,s=r.milliseconds,c=r.microseconds,d=r.nanoseconds,h=du(u(n,Z),u(n,q),u(n,z),u(n,W),u(n,G),u(n,H),t*i,t*o,t*l,t*s,t*c,t*d),f=h.hour,v=h.minute,g=h.second,y=h.millisecond,D=h.microsecond,p=h.nanosecond,w=ri(f,v,g,y,D,p,"reject");return f=w.hour,v=w.minute,g=w.second,y=w.millisecond,D=w.microsecond,p=w.nanosecond,new(A("%Temporal.PlainTime%"))(f,v,g,y,D,p)}function yu(a,n,e,t){var r=En(e);a==="subtract"&&(r={years:-r.years,months:-r.months,weeks:-r.weeks,days:-r.days,hours:-r.hours,minutes:-r.minutes,seconds:-r.seconds,milliseconds:-r.milliseconds,microseconds:-r.microseconds,nanoseconds:-r.nanoseconds});var i=r,o=i.years,l=i.months,s=i.weeks,c=i.days;c=Or(c,i.hours,i.minutes,i.seconds,i.milliseconds,i.microseconds,i.nanoseconds,"day").days;var d=Q(t),h=u(n,E),f=Ae(h,["monthCode","year"]),v=$(n,f,[]),g=Ke(null);Wn(g,v,[]),v.day=1;var y=rn(h,v),D=Jr(o,l,s,c,0,0,0,0,0,0),p=ie(h,"dateAdd"),w=A("%Temporal.Duration%");if(D<0){var _=We(h,y,new w(0,1,0,0,0,0,0,0,0,0),void 0,p),T=We(h,_,new w(0,0,0,-1,0,0,0,0,0,0),void 0,p);g.day=At(h,T),y=rn(h,g)}var b=new w(o,l,s,c,0,0,0,0,0,0),C=wn(d);return Fn(h,$(We(h,y,b,d,p),f,[]),C)}function pu(a,n,e,t){var r=a==="subtract"?-1:1,i=En(e),o=i.years,l=i.months,s=i.weeks,c=i.days,d=i.hours,h=i.minutes,f=i.seconds,v=i.milliseconds,g=i.microseconds,y=i.nanoseconds,D=Q(t),p=u(n,ue),w=u(n,E);return ze(Fr(u(n,$e),p,w,r*o,r*l,r*s,r*c,r*d,r*h,r*f,r*v,r*g,r*y,D),p,w)}function br(a,n,e){if(m.equal(n,xn))return a;var t=Ce(a,n),r=t.quotient,i=t.remainder;if(m.equal(i,De))return a;var o=m.lessThan(i,De)?-1:1,l=Rr(m.multiply(i,m.BigInt(2))),s=m.equal(l,n),c=m.greaterThan(l,n);switch(e){case"ceil":o>0&&(r=m.add(r,m.BigInt(o)));break;case"floor":o<0&&(r=m.add(r,m.BigInt(o)));break;case"expand":r=m.add(r,m.BigInt(o));break;case"trunc":break;case"halfCeil":(c||s&&o>0)&&(r=m.add(r,m.BigInt(o)));break;case"halfFloor":(c||s&&o<0)&&(r=m.add(r,m.BigInt(o)));break;case"halfExpand":(c||s)&&(r=m.add(r,m.BigInt(o)));break;case"halfTrunc":c&&(r=m.add(r,m.BigInt(o)));break;case"halfEven":(c||s&&m.toNumber(m.remainder(Rr(r),m.BigInt(2)))===1)&&(r=m.add(r,m.BigInt(o)))}return m.multiply(r,n)}function bi(a,n,e,t){var r=Sn(a,Gr).remainder,i=m.subtract(a,r),o=br(r,m.BigInt(Eu[e]*n),t);return m.add(i,o)}function Da(a,n,e,t,r,i,o,l,s,c,d,h){var f=arguments.length>12&&arguments[12]!==void 0?arguments[12]:864e11,v=_a(t,r,i,o,l,s,c,d,h,f),g=v.deltaDays,y=v.hour,D=v.minute,p=v.second,w=v.millisecond,_=v.microsecond,T=v.nanosecond,b=Di(a,n,e+g),C=b.year,k=b.month,I=b.day;return{year:C,month:k,day:I,hour:y,minute:D,second:p,millisecond:w,microsecond:_,nanosecond:T}}function _a(a,n,e,t,r,i,o,l,s){var c=arguments.length>9&&arguments[9]!==void 0?arguments[9]:864e11,d=De;switch(l){case"day":case"hour":d=m.BigInt(a);case"minute":d=m.add(m.multiply(d,zr),m.BigInt(n));case"second":d=m.add(m.multiply(d,zr),m.BigInt(e));case"millisecond":d=m.add(m.multiply(d,re),m.BigInt(t));case"microsecond":d=m.add(m.multiply(d,re),m.BigInt(r));case"nanosecond":d=m.add(m.multiply(d,re),m.BigInt(i))}var h=l==="day"?c:Eu[l],f=br(d,m.BigInt(h*o),s),v=m.toNumber(m.divide(f,m.BigInt(h)));switch(l){case"day":return{deltaDays:v,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0};case"hour":return an(v,0,0,0,0,0);case"minute":return an(a,v,0,0,0,0);case"second":return an(a,n,v,0,0,0);case"millisecond":return an(a,n,e,v,0,0);case"microsecond":return an(a,n,e,t,v,0);case"nanosecond":return an(a,n,e,t,r,v);default:throw new Error("Invalid unit ".concat(l))}}function Ci(a,n){return va(u(a,O),u(a,M),u(a,R),u(n,O),u(n,M),u(n,R),"day").days}function Qe(a,n,e,t){var r=We(a,n,e,void 0,t);return{relativeTo:r,days:Ci(n,r)}}function wu(a,n,e,t,r){var i=u(a,ue),o=u(a,E);return ze(Fr(u(a,$e),i,o,n,e,t,r,0,0,0,0,0,0),i,o)}function Du(a,n,e,t,r,i,o,l,s,c,d,h,f,v){var g=a,y=n,D=e,p=t,w=r,_=i,T=o,b=l,C=s,k=c;if(!P(v)||h==="year"||h==="month"||h==="week"||h==="day"||h==="nanosecond"&&d===1)return{years:g,months:y,weeks:D,days:p,hours:w,minutes:_,seconds:T,milliseconds:b,microseconds:C,nanoseconds:k};var I=rt(0,w,_,T,b,C,k,0),F=Un(m.toNumber(I)),S=u(v,ue),B=u(v,E),j=Fr(u(v,$e),S,B,g,y,D,p,0,0,0,0,0,0),Y=Fr(new(A("%Temporal.Instant%"))(j),S,B,0,0,0,F,0,0,0,0,0,0),V=m.subtract(Y,j);if(m.greaterThanOrEqual(m.multiply(m.subtract(I,V),m.BigInt(F)),De)){var U=hu(g,y,D,p,0,0,0,0,0,0,0,0,0,F,0,0,0,0,0,0,v);g=U.years,y=U.months,D=U.weeks,p=U.days,I=bi(m.subtract(I,V),d,h,f);var X=Or(0,0,0,0,0,0,m.toNumber(I),"hour");w=X.hours,_=X.minutes,T=X.seconds,b=X.milliseconds,C=X.microseconds,k=X.nanoseconds}return{years:g,months:y,weeks:D,days:p,hours:w,minutes:_,seconds:T,milliseconds:b,microseconds:C,nanoseconds:k}}function on(a,n,e,t,r,i,o,l,s,c,d,h,f){var v,g,y,D,p=arguments.length>13&&arguments[13]!==void 0?arguments[13]:void 0,w=a,_=n,T=e,b=t,C=r,k=i,I=o,F=l,S=s,B=m.BigInt(c),j=A("%Temporal.Duration%"),Y=p;if(Y){if(P(Y))g=Y,Y=le(Y);else if(!K(Y))throw new TypeError("starting point must be PlainDate or ZonedDateTime");v=u(Y,E)}if(h==="year"||h==="month"||h==="week"||h==="day"){var V,U,X;B=rt(0,C,k,I,F,S,c,0),g&&(V=wu(g,w,_,T,b));var se=ma(B,V);U=se.days,B=se.nanoseconds,X=se.dayLengthNs,y=m.BigInt(X),b+=U,C=k=I=F=S=0}switch(h){case"year":if(!v)throw new RangeError("A starting point is required for years rounding");var xe=new j(w),Oe=typeof v!="string"?ie(v,"dateAdd"):void 0,Ze=We(v,Y,xe,void 0,Oe),te=new j(w,_,T),ge=We(v,Y,te,void 0,Oe),mr=Ci(Ze,ge);Y=Ze;var rr=new j(0,0,0,b+=mr),Se=We(v,Y,rr,void 0,Oe),qe=Ke(null);qe.largestUnit="year";var ye=mn(v,Y,Se,qe).years;w+=ye;var Xr=Y,Qr=new j(ye),mt=Ci(Xr,Y=We(v,Y,Qr,void 0,Oe)),vr=new j((b-=mt)<0?-1:1),Br=Qe(v,Y,vr,Oe),Je=Br.days;Je=he(Je);var Ve=m.multiply(m.BigInt(Je),y),Bi=br(B=m.add(m.add(m.multiply(Ve,m.BigInt(w)),m.multiply(m.BigInt(b),y)),B),m.multiply(Ve,m.BigInt(d)),f);D=$r(B,Ve),w=m.toNumber(m.divide(Bi,Ve)),B=De,_=T=b=0;break;case"month":if(!v)throw new RangeError("A starting point is required for months rounding");var Ai=new j(w,_),Pn=typeof v!="string"?ie(v,"dateAdd"):void 0,Lt=We(v,Y,Ai,void 0,Pn),Oi=new j(w,_,T),Si=We(v,Y,Oi,void 0,Pn),Mi=Ci(Lt,Si);Y=Lt;var jr,Ri=Un(b+=Mi),ft=new j(0,b<0?-1:1),Nn=Qe(v,Y,ft,Pn);for(Y=Nn.relativeTo,jr=Nn.days;he(b)>=he(jr);){_+=Ri,b-=jr;var Ut=Qe(v,Y,ft,Pn);Y=Ut.relativeTo,jr=Ut.days}jr=he(jr);var jn=m.multiply(m.BigInt(jr),y),Yi=br(B=m.add(m.add(m.multiply(jn,m.BigInt(_)),m.multiply(m.BigInt(b),y)),B),m.multiply(jn,m.BigInt(d)),f);D=$r(B,jn),_=m.toNumber(m.divide(Yi,jn)),B=De,T=b=0;break;case"week":if(!v)throw new RangeError("A starting point is required for weeks rounding");var Lr,vt=Un(b),xt=new j(0,0,b<0?-1:1),Zt=typeof v!="string"?ie(v,"dateAdd"):void 0,qt=Qe(v,Y,xt,Zt);for(Y=qt.relativeTo,Lr=qt.days;he(b)>=he(Lr);){T+=vt,b-=Lr;var Ju=Qe(v,Y,xt,Zt);Y=Ju.relativeTo,Lr=Ju.days}Lr=he(Lr);var Pi=m.multiply(m.BigInt(Lr),y),ol=br(B=m.add(m.add(m.multiply(Pi,m.BigInt(T)),m.multiply(m.BigInt(b),y)),B),m.multiply(Pi,m.BigInt(d)),f);D=$r(B,Pi),T=m.toNumber(m.divide(ol,Pi)),B=De,b=0;break;case"day":var Ni=y,ul=br(B=m.add(m.multiply(Ni,m.BigInt(b)),B),m.multiply(Ni,m.BigInt(d)),f);D=$r(B,Ni),b=m.toNumber(m.divide(ul,Ni)),B=De;break;case"hour":var za=36e11,Ur=m.multiply(m.BigInt(C),m.BigInt(36e11));Ur=m.add(Ur,m.multiply(m.BigInt(k),m.BigInt(6e10))),Ur=m.add(Ur,m.multiply(m.BigInt(I),Wr)),Ur=m.add(Ur,m.multiply(m.BigInt(F),_r)),Ur=m.add(Ur,m.multiply(m.BigInt(S),re)),D=$r(Ur=m.add(Ur,B),m.BigInt(za));var sl=br(Ur,m.BigInt(za*d),f);C=m.toNumber(m.divide(sl,m.BigInt(za))),B=De,k=I=F=S=0;break;case"minute":var Wa=6e10,dn=m.multiply(m.BigInt(k),m.BigInt(6e10));dn=m.add(dn,m.multiply(m.BigInt(I),Wr)),dn=m.add(dn,m.multiply(m.BigInt(F),_r)),dn=m.add(dn,m.multiply(m.BigInt(S),re)),D=$r(dn=m.add(dn,B),m.BigInt(Wa));var ll=br(dn,m.BigInt(Wa*d),f);k=m.toNumber(m.divide(ll,m.BigInt(Wa))),B=De,I=F=S=0;break;case"second":var Ga=1e9,Ln=m.multiply(m.BigInt(I),Wr);Ln=m.add(Ln,m.multiply(m.BigInt(F),_r)),Ln=m.add(Ln,m.multiply(m.BigInt(S),re)),D=$r(Ln=m.add(Ln,B),m.BigInt(Ga));var cl=br(Ln,m.BigInt(Ga*d),f);I=m.toNumber(m.divide(cl,m.BigInt(Ga))),B=De,F=S=0;break;case"millisecond":var Ha=1e6,zt=m.multiply(m.BigInt(F),_r);zt=m.add(zt,m.multiply(m.BigInt(S),re)),D=$r(zt=m.add(zt,B),m.BigInt(Ha));var dl=br(zt,m.BigInt(Ha*d),f);F=m.toNumber(m.divide(dl,m.BigInt(Ha))),B=De,S=0;break;case"microsecond":var Ja=1e3,Va=m.multiply(m.BigInt(S),re);D=$r(Va=m.add(Va,B),m.BigInt(Ja));var hl=br(Va,m.BigInt(Ja*d),f);S=m.toNumber(m.divide(hl,m.BigInt(Ja))),B=De;break;case"nanosecond":D=m.toNumber(B),B=br(m.BigInt(B),m.BigInt(d),f)}return{years:w,months:_,weeks:T,days:b,hours:C,minutes:k,seconds:I,milliseconds:F,microseconds:S,nanoseconds:m.toNumber(B),total:D}}function yn(a,n,e,t,r,i){for(var o=0,l=[[a,t],[n,r],[e,i]];o<l.length;o++){var s=Ar(l[o],2),c=s[0],d=s[1];if(c!==d)return Mn(c-d)}return 0}function Sn(a,n){var e=Ce(a,n),t=e.quotient,r=e.remainder;return m.lessThan(r,De)&&(t=m.subtract(t,xn),r=m.add(r,n)),{quotient:t,remainder:r}}function tt(a,n){var e=Ce(a,n),t=e.quotient;return Cr(e.remainder)||!Xt(a)==!Xt(n)?t:m.subtract(t,xn)}function $r(a,n){var e=Ce(a,n),t=e.quotient,r=e.remainder;return m.toNumber(t)+m.toNumber(r)/m.toNumber(n)}function ki(a){var n=Rt(a);return globalThis.BigInt!==void 0?globalThis.BigInt(n.toString(10)):n}function Rt(a){var n=a;if(Me(a)==="object"){var e=a[Symbol.toPrimitive];e&&typeof e=="function"&&(n=Vt(e,a,["number"]))}if(typeof n=="number")throw new TypeError("cannot convert number to bigint");return typeof n=="bigint"?m.BigInt(n.toString(10)):m.BigInt(n)}var Ta,Ea=(Ta=m.BigInt(Date.now()%1e6),function(){var a=m.BigInt(Date.now()),n=m.add(m.multiply(a,_r),Ta);return Ta=m.remainder(a,_r),m.greaterThan(n,Zn)?Zn:m.lessThan(n,wt)?wt:n});function pn(){return new fo().resolvedOptions().timeZone}function Mn(a){return a<0?-1:a>0?1:a}function Q(a){if(a===void 0)return Ke(null);if(me(a)&&a!==null)return a;throw new TypeError("Options parameter must be an object, not ".concat(a===null?"null":"".concat(Me(a))))}function it(a,n){var e=Ke(null);return e[a]=n,e}function wn(a){var n=Ke(null);return Wn(n,Q(a),[]),n}function Dn(a,n,e,t){var r=a[n];if(r!==void 0){if(r=dr(r),!e.includes(r))throw new RangeError("".concat(n," must be one of ").concat(e.join(", "),", not ").concat(r));return r}return t}function un(a){return fs.includes(Kr(a))}function Kr(a){return a.replace(/[A-Z]/g,function(n){var e=n.charCodeAt(0);return String.fromCharCode(e+32)})}var _u=new RegExp("^".concat(co.source,"$"));function Tu(a,n,e){for(var t=arguments.length>3&&arguments[3]!==void 0?arguments[3]:a(n),r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:a(e),i=m.BigInt(n),o=m.BigInt(e),l=t,s=r;m.greaterThan(m.subtract(o,i),xn);){var c=m.divide(m.add(i,o),m.BigInt(2)),d=a(c);if(d===l)i=c,l=d;else{if(d!==s)throw new Error("invalid state in bisection ".concat(l," - ").concat(d," - ").concat(s));o=c,s=d}}return o}var Eu={hour:36e11,minute:6e10,second:1e9,millisecond:1e6,microsecond:1e3,nanosecond:1},bu=Symbol("date"),Cu=Symbol("ym"),ku=Symbol("md"),Iu=Symbol("time"),Fu=Symbol("datetime"),Bu=Symbol("instant"),at=Symbol("original"),ot=Symbol("timezone"),Sr=Symbol("calendar-id"),Au=Symbol("locale"),ba=Symbol("options"),Yt=function(n){return{value:n,enumerable:!0,writable:!1,configurable:!0}},ut=globalThis.Intl.DateTimeFormat,sn=Object.assign,Ts=Object.prototype.hasOwnProperty,Es=Reflect.apply;function st(a,n){var e=a[n];return typeof e=="function"&&(e=new ut(a[Au],e(a[ba])),a[n]=e),e}function Rn(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(this instanceof Rn))return new Rn(a,n);var e=n!==void 0,t=e?sn({},n):{},r=new ut(a,t),i=r.resolvedOptions();if(e){var o=sn({},i);for(var l in o)Es(Ts,t,[l])||delete o[l];this[ba]=o}else this[ba]=t;this[Au]=i.locale,this[at]=r,this[ot]=i.timeZone,this[Sr]=i.calendar,this[bu]=Is,this[Cu]=Cs,this[ku]=ks,this[Iu]=bs,this[Fu]=Fs,this[Bu]=Bs}Object.defineProperty(Rn,"name",{writable:!0,value:"DateTimeFormat"}),Rn.supportedLocalesOf=function(a,n){return ut.supportedLocalesOf(a,n)};var Ca={resolvedOptions:Yt(function(){return this[at].resolvedOptions()}),format:Yt(function(n){var e,t=ct(n,this),r=t.instant,i=t.formatter;if(r&&i)return i.format(r.epochMilliseconds);for(var o=arguments.length,l=new Array(o>1?o-1:0),s=1;s<o;s++)l[s-1]=arguments[s];return(e=this[at]).format.apply(e,[n].concat(l))}),formatRange:Yt(function(n,e){if(lt(n)||lt(e)){if(!Ou(n,e))throw new TypeError("Intl.DateTimeFormat.formatRange accepts two values of the same type");var t=ct(n,this),r=t.instant,i=t.formatter,o=ct(e,this),l=o.instant,s=o.formatter;if(r&&l&&i&&s&&i===s)return i.formatRange(r.epochMilliseconds,l.epochMilliseconds)}return this[at].formatRange(n,e)})};"formatToParts"in ut.prototype&&(Ca.formatToParts=Yt(function(n){var e,t=ct(n,this),r=t.instant,i=t.formatter;if(r&&i)return i.formatToParts(r.epochMilliseconds);for(var o=arguments.length,l=new Array(o>1?o-1:0),s=1;s<o;s++)l[s-1]=arguments[s];return(e=this[at]).formatToParts.apply(e,[n].concat(l))})),"formatRangeToParts"in ut.prototype&&(Ca.formatRangeToParts=Yt(function(n,e){if(lt(n)||lt(e)){if(!Ou(n,e))throw new TypeError("Intl.DateTimeFormat.formatRangeToParts accepts two values of the same type");var t=ct(n,this),r=t.instant,i=t.formatter,o=ct(e,this),l=o.instant,s=o.formatter;if(r&&l&&i&&s&&i===s)return i.formatRangeToParts(r.epochMilliseconds,l.epochMilliseconds)}return this[at].formatRangeToParts(n,e)})),Rn.prototype=Object.create(ut.prototype,Ca),Object.defineProperty(Rn,"prototype",{writable:!1,enumerable:!1,configurable:!1});var ln=Rn;function Pt(){for(var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e=sn({},a),t=0,r=["year","month","day","hour","minute","second","weekday","dayPeriod","timeZoneName","dateStyle","timeStyle"];t<r.length;t++){var i=r[t];e[i]=i in n?n[i]:e[i],e[i]!==!1&&e[i]!==void 0||delete e[i]}return e}function bs(a){var n=Pt(a,{year:!1,month:!1,day:!1,weekday:!1,timeZoneName:!1,dateStyle:!1});return Ia(n)||(n=sn({},n,{hour:"numeric",minute:"numeric",second:"numeric"})),n}function Cs(a){var n=Pt(a,{day:!1,hour:!1,minute:!1,second:!1,weekday:!1,dayPeriod:!1,timeZoneName:!1,dateStyle:!1,timeStyle:!1});return"year"in n||"month"in n||(n=sn(n,{year:"numeric",month:"numeric"})),n}function ks(a){var n=Pt(a,{year:!1,hour:!1,minute:!1,second:!1,weekday:!1,dayPeriod:!1,timeZoneName:!1,dateStyle:!1,timeStyle:!1});return"month"in n||"day"in n||(n=sn({},n,{month:"numeric",day:"numeric"})),n}function Is(a){var n=Pt(a,{hour:!1,minute:!1,second:!1,dayPeriod:!1,timeZoneName:!1,timeStyle:!1});return ka(n)||(n=sn({},n,{year:"numeric",month:"numeric",day:"numeric"})),n}function Fs(a){var n=Pt(a,{timeZoneName:!1});return Ia(n)||ka(n)||(n=sn({},n,{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"})),n}function Bs(a){var n=a;return Ia(n)||ka(n)||(n=sn({},n,{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"})),n}function ka(a){return"year"in a||"month"in a||"day"in a||"weekday"in a||"dateStyle"in a}function Ia(a){return"hour"in a||"minute"in a||"second"in a||"timeStyle"in a||"dayPeriod"in a}function lt(a){return K(a)||Ee(a)||x(a)||P(a)||ne(a)||Ne(a)||Re(a)}function Ou(a,n){return!(!lt(a)||!lt(n))&&!(Ee(a)&&!Ee(n))&&!(K(a)&&!K(n))&&!(x(a)&&!x(n))&&!(P(a)&&!P(n))&&!(ne(a)&&!ne(n))&&!(Ne(a)&&!Ne(n))&&!(Re(a)&&!Re(n))}function ct(a,n){var e=A("%Temporal.PlainDateTime%");if(Ee(a)){var t=new e(1970,1,1,u(a,Z),u(a,q),u(a,z),u(a,W),u(a,G),u(a,H),n[Sr]);return{instant:hr(n[ot],t,"compatible"),formatter:st(n,Iu)}}if(ne(a)){var r=u(a,O),i=u(a,M),o=u(a,R),l=Ge(u(a,E));if(l!==n[Sr])throw new RangeError("cannot format PlainYearMonth with calendar ".concat(l," in locale with calendar ").concat(n[Sr]));var s=new e(r,i,o,12,0,0,0,0,0,l);return{instant:hr(n[ot],s,"compatible"),formatter:st(n,Cu)}}if(Ne(a)){var c=u(a,O),d=u(a,M),h=u(a,R),f=Ge(u(a,E));if(f!==n[Sr])throw new RangeError("cannot format PlainMonthDay with calendar ".concat(f," in locale with calendar ").concat(n[Sr]));var v=new e(c,d,h,12,0,0,0,0,0,f);return{instant:hr(n[ot],v,"compatible"),formatter:st(n,ku)}}if(K(a)){var g=u(a,O),y=u(a,M),D=u(a,R),p=Ge(u(a,E));if(p!=="iso8601"&&p!==n[Sr])throw new RangeError("cannot format PlainDate with calendar ".concat(p," in locale with calendar ").concat(n[Sr]));var w=new e(g,y,D,12,0,0,0,0,0,n[Sr]);return{instant:hr(n[ot],w,"compatible"),formatter:st(n,bu)}}if(x(a)){var _=u(a,O),T=u(a,M),b=u(a,R),C=u(a,Z),k=u(a,q),I=u(a,z),F=u(a,W),S=u(a,G),B=u(a,H),j=Ge(u(a,E));if(j!=="iso8601"&&j!==n[Sr])throw new RangeError("cannot format PlainDateTime with calendar ".concat(j," in locale with calendar ").concat(n[Sr]));var Y=a;return j==="iso8601"&&(Y=new e(_,T,b,C,k,I,F,S,B,n[Sr])),{instant:hr(n[ot],Y,"compatible"),formatter:st(n,Fu)}}if(P(a))throw new TypeError("Temporal.ZonedDateTime not supported in DateTimeFormat methods. Use toLocaleString() instead.");return Re(a)?{instant:a,formatter:st(n,Bu)}:{}}var As=Object.freeze({__proto__:null,DateTimeFormat:ln}),Ii=function(){function a(n){if(ae(this,a),arguments.length<1)throw new TypeError("missing argument: epochNanoseconds is required");var e=Rt(n);An(e),qr(this),J(this,L,e)}return oe(a,[{key:"epochSeconds",get:function(){if(!Re(this))throw new TypeError("invalid receiver");var e=u(this,L);return m.toNumber(tt(e,Wr))}},{key:"epochMilliseconds",get:function(){if(!Re(this))throw new TypeError("invalid receiver");var e=m.BigInt(u(this,L));return m.toNumber(tt(e,_r))}},{key:"epochMicroseconds",get:function(){if(!Re(this))throw new TypeError("invalid receiver");return ki(tt(m.BigInt(u(this,L)),re))}},{key:"epochNanoseconds",get:function(){if(!Re(this))throw new TypeError("invalid receiver");return ki(m.BigInt(u(this,L)))}},{key:"add",value:function(e){if(!Re(this))throw new TypeError("invalid receiver");return fu("add",this,e)}},{key:"subtract",value:function(e){if(!Re(this))throw new TypeError("invalid receiver");return fu("subtract",this,e)}},{key:"until",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;if(!Re(this))throw new TypeError("invalid receiver");return au("until",this,e,t)}},{key:"since",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;if(!Re(this))throw new TypeError("invalid receiver");return au("since",this,e,t)}},{key:"round",value:function(e){if(!Re(this))throw new TypeError("invalid receiver");if(e===void 0)throw new TypeError("options parameter is required");var t=typeof e=="string"?it("smallestUnit",e):Q(e),r=Jn(t),i=Yr(t,"halfExpand"),o=yr(t,"smallestUnit","time",bn);return Vn(r,{hour:24,minute:1440,second:86400,millisecond:864e5,microsecond:864e8,nanosecond:864e11}[o],!0),new a(bi(u(this,L),r,o,i))}},{key:"equals",value:function(e){if(!Re(this))throw new TypeError("invalid receiver");var t=Pr(e),r=u(this,L),i=u(t,L);return m.equal(m.BigInt(r),m.BigInt(i))}},{key:"toString",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0;if(!Re(this))throw new TypeError("invalid receiver");var t=Q(e),r=Tt(t),i=Yr(t,"trunc"),o=yr(t,"smallestUnit","time",void 0);if(o==="hour")throw new RangeError('smallestUnit must be a time unit other than "hour"');var l=t.timeZone;l!==void 0&&(l=Xe(l));var s=Et(o,r),c=s.precision,d=s.unit,h=s.increment,f=u(this,L),v=bi(f,h,d,i),g=new a(v);return jo(g,l,c)}},{key:"toJSON",value:function(){if(!Re(this))throw new TypeError("invalid receiver");return jo(this,void 0,"auto")}},{key:"toLocaleString",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;if(!Re(this))throw new TypeError("invalid receiver");return new ln(e,t).format(this)}},{key:"valueOf",value:function(){throw new TypeError("use compare() or equals() to compare Temporal.Instant")}},{key:"toZonedDateTime",value:function(e){if(!Re(this))throw new TypeError("invalid receiver");if(!me(e))throw new TypeError("invalid argument in toZonedDateTime");var t=e.calendar;if(t===void 0)throw new TypeError("missing calendar property in toZonedDateTime");var r=wr(t),i=e.timeZone;if(i===void 0)throw new TypeError("missing timeZone property in toZonedDateTime");var o=Xe(i);return ze(u(this,L),o,r)}},{key:"toZonedDateTimeISO",value:function(e){if(!Re(this))throw new TypeError("invalid receiver");var t=Xe(e);return ze(u(this,L),t,"iso8601")}}],[{key:"fromEpochSeconds",value:function(e){var t=zn(e),r=m.multiply(m.BigInt(t),Wr);return An(r),new a(r)}},{key:"fromEpochMilliseconds",value:function(e){var t=zn(e),r=m.multiply(m.BigInt(t),_r);return An(r),new a(r)}},{key:"fromEpochMicroseconds",value:function(e){var t=Rt(e),r=m.multiply(t,re);return An(r),new a(r)}},{key:"fromEpochNanoseconds",value:function(e){var t=Rt(e);return An(t),new a(t)}},{key:"from",value:function(e){return Re(e)?new a(u(e,L)):Pr(e)}},{key:"compare",value:function(e,t){var r=Pr(e),i=Pr(t),o=u(r,L),l=u(i,L);return m.lessThan(o,l)?-1:m.greaterThan(o,l)?1:0}}]),a}();xr(Ii,"Temporal.Instant");var Su=Array.prototype.includes,Os=Array.prototype.push,Ss=globalThis.Intl.DateTimeFormat,Ms=Array.prototype.sort,Rs=Math.abs,Ys=Math.floor,Fa=Object.create,Ba=Object.entries,Mu=Set,Ru=Reflect.ownKeys,er=Set.prototype.add,Yu=Set.prototype.values,ve={},be=function(){function a(n){if(ae(this,a),arguments.length<1)throw new RangeError("missing argument: id is required");var e=dr(n);if(!un(e))throw new RangeError("invalid calendar identifier ".concat(e));qr(this),J(this,we,Kr(e))}return oe(a,[{key:"id",get:function(){if(!_e(this))throw new TypeError("invalid receiver");return u(this,we)}},{key:"dateFromFields",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;if(!_e(this))throw new TypeError("invalid receiver");if(!me(e))throw new TypeError("invalid fields");var r=Q(t),i=u(this,we);return ve[i].dateFromFields(e,r,i)}},{key:"yearMonthFromFields",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;if(!_e(this))throw new TypeError("invalid receiver");if(!me(e))throw new TypeError("invalid fields");var r=Q(t),i=u(this,we);return ve[i].yearMonthFromFields(e,r,i)}},{key:"monthDayFromFields",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;if(!_e(this))throw new TypeError("invalid receiver");if(!me(e))throw new TypeError("invalid fields");var r=Q(t),i=u(this,we);return ve[i].monthDayFromFields(e,r,i)}},{key:"fields",value:function(e){if(!_e(this))throw new TypeError("invalid receiver");var t,r=[],i=new Set(["year","month","monthCode","day","hour","minute","second","millisecond","microsecond","nanosecond"]),o=je(e);try{for(o.s();!(t=o.n()).done;){var l=t.value;if(typeof l!="string")throw new TypeError("invalid fields");if(!i.has(l))throw new RangeError("invalid field name ".concat(l));i.delete(l),Os.call(r,l)}}catch(s){o.e(s)}finally{o.f()}return ve[u(this,we)].fields(r)}},{key:"mergeFields",value:function(e,t){if(!_e(this))throw new TypeError("invalid receiver");var r=Io(e),i=Fa(null);Wn(i,r,[],[void 0]);var o=Io(t),l=Fa(null);Wn(l,o,[],[void 0]);var s,c=Ru(l),d=ve[u(this,we)].fieldKeysToIgnore(c),h=Fa(null),f=je(Ru(i));try{for(f.s();!(s=f.n()).done;){var v=s.value,g=void 0;(g=N(Su,d,[v])?l[v]:i[v])!==void 0&&(h[v]=g)}}catch(y){f.e(y)}finally{f.f()}return Wn(h,l,[]),h}},{key:"dateAdd",value:function(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;if(!_e(this))throw new TypeError("invalid receiver");var i=le(e),o=$n(t),l=Q(r),s=ke(l),c=Or(u(o,tr),u(o,ir),u(o,ar),u(o,or),u(o,ur),u(o,sr),u(o,lr),"day"),d=c.days,h=u(this,we);return ve[h].dateAdd(i,u(o,nr),u(o,Le),u(o,fr),d,s,h)}},{key:"dateUntil",value:function(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;if(!_e(this))throw new TypeError("invalid receiver");var i=le(e),o=le(t),l=Q(r),s=yr(l,"largestUnit","date","auto");s==="auto"&&(s="day");var c=ve[u(this,we)].dateUntil(i,o,s),d=c.years,h=c.months,f=c.weeks,v=c.days,g=A("%Temporal.Duration%");return new g(d,h,f,v,0,0,0,0,0,0)}},{key:"year",value:function(e){var t=e;if(!_e(this))throw new TypeError("invalid receiver");return ne(t)||(t=le(t)),ve[u(this,we)].year(t)}},{key:"month",value:function(e){var t=e;if(!_e(this))throw new TypeError("invalid receiver");if(Ne(t))throw new TypeError("use monthCode on PlainMonthDay instead");return ne(t)||(t=le(t)),ve[u(this,we)].month(t)}},{key:"monthCode",value:function(e){var t=e;if(!_e(this))throw new TypeError("invalid receiver");return ne(t)||Ne(t)||(t=le(t)),ve[u(this,we)].monthCode(t)}},{key:"day",value:function(e){var t=e;if(!_e(this))throw new TypeError("invalid receiver");return Ne(t)||(t=le(t)),ve[u(this,we)].day(t)}},{key:"era",value:function(e){var t=e;if(!_e(this))throw new TypeError("invalid receiver");return ne(t)||(t=le(t)),ve[u(this,we)].era(t)}},{key:"eraYear",value:function(e){var t=e;if(!_e(this))throw new TypeError("invalid receiver");return ne(t)||(t=le(t)),ve[u(this,we)].eraYear(t)}},{key:"dayOfWeek",value:function(e){if(!_e(this))throw new TypeError("invalid receiver");var t=le(e);return ve[u(this,we)].dayOfWeek(t)}},{key:"dayOfYear",value:function(e){if(!_e(this))throw new TypeError("invalid receiver");var t=le(e);return ve[u(this,we)].dayOfYear(t)}},{key:"weekOfYear",value:function(e){if(!_e(this))throw new TypeError("invalid receiver");var t=le(e);return ve[u(this,we)].weekOfYear(t)}},{key:"yearOfWeek",value:function(e){if(!_e(this))throw new TypeError("invalid receiver");var t=le(e);return ve[u(this,we)].yearOfWeek(t)}},{key:"daysInWeek",value:function(e){if(!_e(this))throw new TypeError("invalid receiver");var t=le(e);return ve[u(this,we)].daysInWeek(t)}},{key:"daysInMonth",value:function(e){var t=e;if(!_e(this))throw new TypeError("invalid receiver");return ne(t)||(t=le(t)),ve[u(this,we)].daysInMonth(t)}},{key:"daysInYear",value:function(e){var t=e;if(!_e(this))throw new TypeError("invalid receiver");return ne(t)||(t=le(t)),ve[u(this,we)].daysInYear(t)}},{key:"monthsInYear",value:function(e){var t=e;if(!_e(this))throw new TypeError("invalid receiver");return ne(t)||(t=le(t)),ve[u(this,we)].monthsInYear(t)}},{key:"inLeapYear",value:function(e){var t=e;if(!_e(this))throw new TypeError("invalid receiver");return ne(t)||(t=le(t)),ve[u(this,we)].inLeapYear(t)}},{key:"toString",value:function(){if(!_e(this))throw new TypeError("invalid receiver");return u(this,we)}},{key:"toJSON",value:function(){if(!_e(this))throw new TypeError("invalid receiver");return u(this,we)}}],[{key:"from",value:function(e){return Kn(wr(e))}}]),a}();function Aa(a){if(!a.startsWith("M"))throw new RangeError("Invalid month code: ".concat(a,". Month codes must start with M."));var n=+a.slice(1);if(isNaN(n))throw new RangeError("Invalid month code: ".concat(a));return n}function cn(a){var n=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return"M".concat(a.toString().padStart(2,"0")).concat(n?"L":"")}function Fi(a){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:12,t=a.month,r=a.monthCode;if(r===void 0){if(t===void 0)throw new TypeError("Either month or monthCode are required");n==="reject"&&He(t,1,e),n==="constrain"&&(t=Dr(t,1,e)),r=cn(t)}else{var i=Aa(r);if(t!==void 0&&t!==i)throw new RangeError("monthCode ".concat(r," and month ").concat(t," must match if both are present"));if(r!==cn(i))throw new RangeError("Invalid month code: ".concat(r));if((t=i)<1||t>e)throw new RangeError("Invalid monthCode: ".concat(r))}return de(de({},a),{},{month:t,monthCode:r})}xr(be,"Temporal.Calendar"),pe("Temporal.Calendar.from",be.from),pe("Temporal.Calendar.prototype.dateAdd",be.prototype.dateAdd),pe("Temporal.Calendar.prototype.dateFromFields",be.prototype.dateFromFields),pe("Temporal.Calendar.prototype.dateUntil",be.prototype.dateUntil),pe("Temporal.Calendar.prototype.day",be.prototype.day),pe("Temporal.Calendar.prototype.dayOfWeek",be.prototype.dayOfWeek),pe("Temporal.Calendar.prototype.dayOfYear",be.prototype.dayOfYear),pe("Temporal.Calendar.prototype.daysInMonth",be.prototype.daysInMonth),pe("Temporal.Calendar.prototype.daysInWeek",be.prototype.daysInWeek),pe("Temporal.Calendar.prototype.daysInYear",be.prototype.daysInYear),pe("Temporal.Calendar.prototype.era",be.prototype.era),pe("Temporal.Calendar.prototype.eraYear",be.prototype.eraYear),pe("Temporal.Calendar.prototype.fields",be.prototype.fields),pe("Temporal.Calendar.prototype.inLeapYear",be.prototype.inLeapYear),pe("Temporal.Calendar.prototype.mergeFields",be.prototype.mergeFields),pe("Temporal.Calendar.prototype.month",be.prototype.month),pe("Temporal.Calendar.prototype.monthCode",be.prototype.monthCode),pe("Temporal.Calendar.prototype.monthDayFromFields",be.prototype.monthDayFromFields),pe("Temporal.Calendar.prototype.monthsInYear",be.prototype.monthsInYear),pe("Temporal.Calendar.prototype.weekOfYear",be.prototype.weekOfYear),pe("Temporal.Calendar.prototype.year",be.prototype.year),pe("Temporal.Calendar.prototype.yearMonthFromFields",be.prototype.yearMonthFromFields),pe("Temporal.Calendar.prototype.yearOfWeek",be.prototype.yearOfWeek),ve.iso8601={dateFromFields:function(n,e,t){var r=$(n,["day","month","monthCode","year"],["year","day"]),i=ke(e),o=r=Fi(r),l=o.year,s=o.month,c=o.day,d=ei(l,s,c,i);return Ir(l=d.year,s=d.month,c=d.day,t)},yearMonthFromFields:function(n,e,t){var r=$(n,["month","monthCode","year"],["year"]),i=ke(e),o=r=Fi(r),l=o.year,s=o.month,c=function(h,f,v){var g=h,y=f;switch(v){case"reject":Vr(g,y,1);break;case"constrain":var D=eu(g,y);g=D.year,y=D.month}return{year:g,month:y}}(l,s,i);return Ft(l=c.year,s=c.month,t,1)},monthDayFromFields:function(n,e,t){var r=$(n,["day","month","monthCode","year"],["day"]),i=ke(e);if(r.month!==void 0&&r.year===void 0&&r.monthCode===void 0)throw new TypeError("either year or monthCode required with month");var o=r.monthCode===void 0,l=r=Fi(r),s=l.month,c=l.day,d=l.year,h=ei(o?d:1972,s,c,i);return It(s=h.month,c=h.day,t,1972)},fields:function(n){return n},fieldKeysToIgnore:function(n){for(var e=new Mu,t=0;t<n.length;t++){var r=n[t];N(er,e,[r]),r==="month"?N(er,e,["monthCode"]):r==="monthCode"&&N(er,e,["month"])}return Mr(N(Yu,e,[]))},dateAdd:function(n,e,t,r,i,o,l){var s=u(n,O),c=u(n,M),d=u(n,R),h=On(s,c,d,e,t,r,i,o);return Ir(s=h.year,c=h.month,d=h.day,l)},dateUntil:function(n,e,t){return va(u(n,O),u(n,M),u(n,R),u(e,O),u(e,M),u(e,R),t)},year:function(n){return u(n,O)},era:function(){},eraYear:function(){},month:function(n){return u(n,M)},monthCode:function(n){return cn(u(n,M))},day:function(n){return u(n,R)},dayOfWeek:function(n){return da(u(n,O),u(n,M),u(n,R))},dayOfYear:function(n){return pi(u(n,O),u(n,M),u(n,R))},weekOfYear:function(n){return $o(u(n,O),u(n,M),u(n,R)).week},yearOfWeek:function(n){return $o(u(n,O),u(n,M),u(n,R)).year},daysInWeek:function(){return 7},daysInMonth:function(n){return tn(u(n,O),u(n,M))},daysInYear:function(n){var e=n;return Ye(e,O)||(e=le(e)),gn(u(e,O))?366:365},monthsInYear:function(){return 12},inLeapYear:function(n){var e=n;return Ye(e,O)||(e=le(e)),gn(u(e,O))}};var Ue=function(){function a(n){if(ae(this,a),this.map=new Map,this.calls=0,this.hits=0,this.misses=0,this.now=globalThis.performance?globalThis.performance.now():Date.now(),n!==void 0){var e,t=0,r=je(n.map.entries());try{for(r.s();!(e=r.n()).done;){var i,o=e.value;if(++t>a.MAX_CACHE_ENTRIES)break;(i=this.map).set.apply(i,Mr(o))}}catch(l){r.e(l)}finally{r.f()}}}return oe(a,[{key:"get",value:function(e){var t=this.map.get(e);return t&&(this.hits++,this.report()),this.calls++,t}},{key:"set",value:function(e,t){this.map.set(e,t),this.misses++,this.report()}},{key:"report",value:function(){}},{key:"setObject",value:function(e){if(a.objectMap.get(e))throw new RangeError("object already cached");a.objectMap.set(e,this),this.report()}}],[{key:"getCacheForObject",value:function(e){var t=a.objectMap.get(e);return t||(t=new a,a.objectMap.set(e,t)),t}}]),a}();function Pu(a){var n=a.isoYear,e=a.isoMonth,t=a.isoDay,r=Bn(n),i=fe(e),o=fe(t);return"".concat(r,"-").concat(i,"-").concat(o,"T00:00Z")}function Oa(a,n){return{years:a.year-n.year,months:a.month-n.month,days:a.day-n.day}}Ue.objectMap=new WeakMap,Ue.MAX_CACHE_ENTRIES=1e3;var dt=function(){function a(){ae(this,a),this.eraLength="short",this.hasEra=!0,this.erasBeginMidYear=!1}return oe(a,[{key:"getFormatter",value:function(){return this.formatter===void 0&&(this.formatter=new Ss("en-US-u-ca-".concat(this.id),{day:"numeric",month:"numeric",year:"numeric",era:this.eraLength,timeZone:"UTC"})),this.formatter}},{key:"isoToCalendarDate",value:function(e,t){var r=this,i=e.year,o=e.month,l=e.day,s=JSON.stringify({func:"isoToCalendarDate",isoYear:i,isoMonth:o,isoDay:l,id:this.id}),c=t.get(s);if(c)return c;var d,h,f=this.getFormatter();try{h=Pu({isoYear:i,isoMonth:o,isoDay:l}),d=f.formatToParts(new Date(h))}catch{throw new RangeError("Invalid ISO date: ".concat(JSON.stringify({isoYear:i,isoMonth:o,isoDay:l})))}var v,g={},y=je(d);try{for(y.s();!(v=y.n()).done;){var D=v.value,p=D.type,w=D.value;if(p==="year"&&(g.eraYear=+w),p==="relatedYear"&&(g.eraYear=+w),p==="month"){var _=/^([0-9]*)(.*?)$/.exec(w);if(!_||_.length!=3||!_[1]&&!_[2])throw new RangeError("Unexpected month: ".concat(w));if(g.month=_[1]?+_[1]:1,g.month<1)throw new RangeError("Invalid month ".concat(w," from ").concat(h,"[u-ca-").concat(this.id,"]")+" (probably due to https://bugs.chromium.org/p/v8/issues/detail?id=10527)");if(g.month>13)throw new RangeError("Invalid month ".concat(w," from ").concat(h,"[u-ca-").concat(this.id,"]")+" (probably due to https://bugs.chromium.org/p/v8/issues/detail?id=10529)");_[2]&&(g.monthExtra=_[2])}p==="day"&&(g.day=+w),this.hasEra&&p==="era"&&w!=null&&w!==""&&(w=w.split(" (")[0],g.era=w.normalize("NFD").replace(/(?:(?![ \x2D0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC30-\uDC6D\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDCD0-\uDCEB\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])[\s\S])/g,"").replace(" ","-").toLowerCase())}}catch(I){y.e(I)}finally{y.f()}if(g.eraYear===void 0)throw new RangeError("Intl.DateTimeFormat.formatToParts lacks relatedYear in ".concat(this.id," calendar. Try Node 14+ or modern browsers."));if(this.reviseIntlEra){var T=this.reviseIntlEra(g,e),b=T.era,C=T.eraYear;g.era=b,g.eraYear=C}this.checkIcuBugs&&this.checkIcuBugs(e);var k=this.adjustCalendarDate(g,t,"constrain",!0);if(k.year===void 0)throw new RangeError("Missing year converting ".concat(JSON.stringify(e)));if(k.month===void 0)throw new RangeError("Missing month converting ".concat(JSON.stringify(e)));if(k.day===void 0)throw new RangeError("Missing day converting ".concat(JSON.stringify(e)));return t.set(s,k),["constrain","reject"].forEach(function(I){var F=JSON.stringify({func:"calendarToIsoDate",year:k.year,month:k.month,day:k.day,overflow:I,id:r.id});t.set(F,e)}),k}},{key:"validateCalendarDate",value:function(e){var t=e.era,r=e.month,i=e.year,o=e.day,l=e.eraYear,s=e.monthCode;if(e.monthExtra!==void 0)throw new RangeError("Unexpected `monthExtra` value");if(i===void 0&&l===void 0)throw new TypeError("year or eraYear is required");if(r===void 0&&s===void 0)throw new TypeError("month or monthCode is required");if(o===void 0)throw new RangeError("Missing day");if(s!==void 0){if(typeof s!="string")throw new RangeError("monthCode must be a string, not ".concat(Me(s)));if(!/^M([01]?\d)(L?)$/.test(s))throw new RangeError("Invalid monthCode: ".concat(s))}if(this.constantEra){if(t!==void 0&&t!==this.constantEra)throw new RangeError("era must be ".concat(this.constantEra,", not ").concat(t));if(l!==void 0&&i!==void 0&&l!==i)throw new RangeError("eraYear ".concat(l," does not match year ").concat(i))}if(this.hasEra&&e.era===void 0!=(e.eraYear===void 0))throw new RangeError("properties 'era' and 'eraYear' must be provided together")}},{key:"adjustCalendarDate",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"constrain";if(this.calendarType==="lunisolar")throw new RangeError("Override required for lunisolar calendars");var i=e;if(this.validateCalendarDate(i),this.constantEra){var o=i,l=o.year,s=o.eraYear;i=de(de({},i),{},{era:this.constantEra,year:l!==void 0?l:s,eraYear:s!==void 0?s:l})}var c=this.monthsInYear(i,t),d=i,h=d.month,f=d.monthCode,v=Fi(i,r,c);return h=v.month,f=v.monthCode,de(de({},i),{},{month:h,monthCode:f})}},{key:"regulateMonthDayNaive",value:function(e,t,r){var i=this.monthsInYear(e,r),o=e.month,l=e.day;return t==="reject"?(He(o,1,i),He(l,1,this.maximumMonthLength(e))):(o=Dr(o,1,i),l=Dr(l,1,this.maximumMonthLength(de(de({},e),{},{month:o})))),de(de({},e),{},{month:o,day:l})}},{key:"calendarToIsoDate",value:function(e){var t,r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"constrain",o=arguments.length>2?arguments[2]:void 0,l=e,s=this.adjustCalendarDate(e,o,i,!1),c=s=this.regulateMonthDayNaive(s,i,o),d=c.year,h=c.month,f=c.day,v=JSON.stringify({func:"calendarToIsoDate",year:d,month:h,day:f,overflow:i,id:this.id}),g=o.get(v);if(g||l.year!==void 0&&l.month!==void 0&&l.day!==void 0&&(l.year!==s.year||l.month!==s.month||l.day!==s.day)&&(t=JSON.stringify({func:"calendarToIsoDate",year:l.year,month:l.month,day:l.day,overflow:i,id:this.id}),g=o.get(t)))return g;var y=this.estimateIsoDate({year:d,month:h,day:f}),D=function(S){var B=r.addDaysIso(y,S);if(s.day>r.minimumMonthLength(s))for(var j=r.isoToCalendarDate(B,o);j.month!==h||j.year!==d;){if(i==="reject")throw new RangeError("day ".concat(f," does not exist in month ").concat(h," of year ").concat(d));B=r.addDaysIso(B,-1),j=r.isoToCalendarDate(B,o)}return B},p=0,w=this.isoToCalendarDate(y,o),_=Oa(s,w);if(_.years!==0||_.months!==0||_.days!==0){var T=365*_.years+30*_.months+_.days;y=this.addDaysIso(y,T),w=this.isoToCalendarDate(y,o),(_=Oa(s,w)).years===0&&_.months===0?y=D(_.days):p=this.compareCalendarDates(s,w)}for(var b=8;p;){y=this.addDaysIso(y,p*b);var C=w;w=this.isoToCalendarDate(y,o);var k=p;if(p=this.compareCalendarDates(s,w)){if((_=Oa(s,w)).years===0&&_.months===0)y=D(_.days),p=0;else if(k&&p!==k)if(b>1)b/=2;else{if(i==="reject")throw new RangeError("Can't find ISO date from calendar date: ".concat(JSON.stringify(de({},l))));var I=this.compareCalendarDates(w,C);I>0&&(y=this.addDaysIso(y,-1)),p=0}}}if(o.set(v,y),t&&o.set(t,y),s.year===void 0||s.month===void 0||s.day===void 0||s.monthCode===void 0||this.hasEra&&(s.era===void 0||s.eraYear===void 0))throw new RangeError("Unexpected missing property");return y}},{key:"temporalToCalendarDate",value:function(e,t){var r={year:u(e,O),month:u(e,M),day:u(e,R)};return this.isoToCalendarDate(r,t)}},{key:"compareCalendarDates",value:function(e,t){var r=$(e,["day","month","year"],["day","month","year"]),i=$(t,["day","month","year"],["day","month","year"]);return r.year!==i.year?Mn(r.year-i.year):r.month!==i.month?Mn(r.month-i.month):r.day!==i.day?Mn(r.day-i.day):0}},{key:"regulateDate",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"constrain",r=arguments.length>2?arguments[2]:void 0,i=this.calendarToIsoDate(e,t,r);return this.isoToCalendarDate(i,r)}},{key:"addDaysIso",value:function(e,t){return On(e.year,e.month,e.day,0,0,0,t,"constrain")}},{key:"addDaysCalendar",value:function(e,t,r){var i=this.calendarToIsoDate(e,"constrain",r),o=this.addDaysIso(i,t);return this.isoToCalendarDate(o,r)}},{key:"addMonthsCalendar",value:function(e,t,r,i){for(var o=e,l=o.day,s=0,c=Rs(t);s<c;s++){var d=o.month,h=o,f=t<0?-Math.max(l,this.daysInPreviousMonth(o,i)):this.daysInMonth(o,i),v=this.calendarToIsoDate(o,"constrain",i),g=this.addDaysIso(v,f);if(o=this.isoToCalendarDate(g,i),t>0)for(var y=this.monthsInYear(h,i);o.month-1!=d%y;)g=this.addDaysIso(g,-1),o=this.isoToCalendarDate(g,i);o.day!==l&&(o=this.regulateDate(de(de({},o),{},{day:l}),"constrain",i))}if(r==="reject"&&o.day!==l)throw new RangeError("Day ".concat(l," does not exist in resulting calendar month"));return o}},{key:"addCalendar",value:function(e,t,r,i){var o=t.years,l=o===void 0?0:o,s=t.months,c=s===void 0?0:s,d=t.weeks,h=d===void 0?0:d,f=t.days,v=f===void 0?0:f,g=e.year,y=e.day,D=e.monthCode,p=this.adjustCalendarDate({year:g+l,monthCode:D,day:y},i),w=this.addMonthsCalendar(p,c,r,i),_=v+7*h;return this.addDaysCalendar(w,_,i)}},{key:"untilCalendar",value:function(e,t,r,i){var o=0,l=0,s=0,c=0;switch(r){case"day":o=this.calendarDaysUntil(e,t,i);break;case"week":var d=this.calendarDaysUntil(e,t,i);l=(d-(o=d%7))/7;break;case"month":case"year":var h=this.compareCalendarDates(t,e);if(!h)return{years:0,months:0,weeks:0,days:0};var f=t.year-e.year,v=t.day-e.day;if(r==="year"&&f){var g=0;t.monthCode>e.monthCode&&(g=1),t.monthCode<e.monthCode&&(g=-1),g||(g=Math.sign(v)),c=g*h<0?f-h:f}var y,D=c?this.addCalendar(e,{years:c},"constrain",i):e;do s+=h,y=D,(D=this.addMonthsCalendar(y,h,"constrain",i)).day!==e.day&&(D=this.regulateDate(de(de({},D),{},{day:e.day}),"constrain",i));while(this.compareCalendarDates(t,D)*h>=0);s-=h,o=this.calendarDaysUntil(y,t,i)}return{years:c,months:s,weeks:l,days:o}}},{key:"daysInMonth",value:function(e,t){var r=e.day,i=this.maximumMonthLength(e),o=this.minimumMonthLength(e);if(o===i)return o;var l=r<=i-o?i:o,s=this.calendarToIsoDate(e,"constrain",t),c=this.addDaysIso(s,l),d=this.isoToCalendarDate(c,t),h=this.addDaysIso(c,-d.day);return this.isoToCalendarDate(h,t).day}},{key:"daysInPreviousMonth",value:function(e,t){var r=e.day,i=e.month,o=e.year,l={year:i>1?o:o-1,month:i,day:1},s=i>1?i-1:this.monthsInYear(l,t);l=de(de({},l),{},{month:s});var c=this.minimumMonthLength(l),d=this.maximumMonthLength(l);if(c===d)return d;var h=this.calendarToIsoDate(e,"constrain",t),f=this.addDaysIso(h,-r);return this.isoToCalendarDate(f,t).day}},{key:"startOfCalendarYear",value:function(e){return{year:e.year,month:1,monthCode:"M01",day:1}}},{key:"startOfCalendarMonth",value:function(e){return{year:e.year,month:e.month,day:1}}},{key:"calendarDaysUntil",value:function(e,t,r){var i=this.calendarToIsoDate(e,"constrain",r),o=this.calendarToIsoDate(t,"constrain",r);return this.isoDaysUntil(i,o)}},{key:"isoDaysUntil",value:function(e,t){return va(e.year,e.month,e.day,t.year,t.month,t.day,"day").days}},{key:"monthDayFromFields",value:function(e,t,r){var i,o,l,s,c,d=e.monthCode,h=e.day;if(d===void 0){var f=e.year,v=e.era,g=e.eraYear;if(f===void 0&&(v===void 0||g===void 0))throw new TypeError("when `monthCode` is omitted, `year` (or `era` and `eraYear`) and `month` are required");var y=this.isoToCalendarDate(this.calendarToIsoDate(e,t,r),r);d=y.monthCode,h=y.day}for(var D=this.isoToCalendarDate({year:1972,month:12,day:31},r),p=D.monthCode>d||D.monthCode===d&&D.day>=h?D.year:D.year-1,w=0;w<100;w++){var _=this.adjustCalendarDate({day:h,monthCode:d,year:p-w},r),T=this.calendarToIsoDate(_,"constrain",r),b=this.isoToCalendarDate(T,r);if(i=T.year,o=T.month,l=T.day,b.monthCode===d&&b.day===h)return{month:o,day:l,year:i};t==="constrain"&&(s===void 0||b.monthCode===s.monthCode&&b.day>s.day)&&(s=b,c=T)}if(t==="constrain"&&c!==void 0)return c;throw new RangeError("No recent ".concat(this.id," year with monthCode ").concat(d," and day ").concat(h))}}]),a}(),Ps=function(a){Ie(e,a);var n=Fe(e);function e(){var t;return ae(this,e),(t=n.apply(this,arguments)).id="hebrew",t.calendarType="lunisolar",t.months={Tishri:{leap:1,regular:1,monthCode:"M01",days:30},Heshvan:{leap:2,regular:2,monthCode:"M02",days:{min:29,max:30}},Kislev:{leap:3,regular:3,monthCode:"M03",days:{min:29,max:30}},Tevet:{leap:4,regular:4,monthCode:"M04",days:29},Shevat:{leap:5,regular:5,monthCode:"M05",days:30},Adar:{leap:void 0,regular:6,monthCode:"M06",days:29},"Adar I":{leap:6,regular:void 0,monthCode:"M05L",days:30},"Adar II":{leap:7,regular:void 0,monthCode:"M06",days:29},Nisan:{leap:8,regular:7,monthCode:"M07",days:30},Iyar:{leap:9,regular:8,monthCode:"M08",days:29},Sivan:{leap:10,regular:9,monthCode:"M09",days:30},Tamuz:{leap:11,regular:10,monthCode:"M10",days:29},Av:{leap:12,regular:11,monthCode:"M11",days:30},Elul:{leap:13,regular:12,monthCode:"M12",days:29}},t.hasEra=!1,t}return oe(e,[{key:"inLeapYear",value:function(r){return(7*r.year+1)%19<7}},{key:"monthsInYear",value:function(r){return this.inLeapYear(r)?13:12}},{key:"minimumMonthLength",value:function(r){return this.minMaxMonthLength(r,"min")}},{key:"maximumMonthLength",value:function(r){return this.minMaxMonthLength(r,"max")}},{key:"minMaxMonthLength",value:function(r,i){var o=r.month,l=r.year,s=this.getMonthCode(l,o),c=Ba(this.months).find(function(h){return h[1].monthCode===s});if(c===void 0)throw new RangeError("unmatched Hebrew month: ".concat(o));var d=c[1].days;return typeof d=="number"?d:d[i]}},{key:"estimateIsoDate",value:function(r){return{year:r.year-3760,month:1,day:1}}},{key:"getMonthCode",value:function(r,i){return this.inLeapYear({year:r})?i===6?cn(5,!0):cn(i<6?i:i-1):cn(i)}},{key:"adjustCalendarDate",value:function(r,i){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"constrain",l=arguments.length>3&&arguments[3]!==void 0&&arguments[3],s=r.year,c=r.eraYear,d=r.month,h=r.monthCode,f=r.day,v=r.monthExtra;if(s===void 0&&c!==void 0&&(s=c),c===void 0&&s!==void 0&&(c=s),l){if(v){var g=this.months[v];if(!g)throw new RangeError("Unrecognized month from formatToParts: ".concat(v));d=this.inLeapYear({year:s})?g.leap:g.regular}var y={year:s,month:d,day:f,era:void 0,eraYear:c,monthCode:h=this.getMonthCode(s,d)};return y}if(this.validateCalendarDate(r),d===void 0)if(h.endsWith("L")){if(h!=="M05L")throw new RangeError("Hebrew leap month must have monthCode M05L, not ".concat(h));if(d=6,!this.inLeapYear({year:s})){if(o==="reject")throw new RangeError("Hebrew monthCode M05L is invalid in year ".concat(s," which is not a leap year"));d=6,h="M06"}}else{d=Aa(h),this.inLeapYear({year:s})&&d>=6&&d++;var D=this.monthsInYear({year:s});if(d<1||d>D)throw new RangeError("Invalid monthCode: ".concat(h))}else if(o==="reject"?(He(d,1,this.monthsInYear({year:s})),He(f,1,this.maximumMonthLength({year:s,month:d}))):(d=Dr(d,1,this.monthsInYear({year:s})),f=Dr(f,1,this.maximumMonthLength({year:s,month:d}))),h===void 0)h=this.getMonthCode(s,d);else{var p=this.getMonthCode(s,d);if(p!==h)throw new RangeError("monthCode ".concat(h," doesn't correspond to month ").concat(d," in Hebrew year ").concat(s))}return de(de({},r),{},{day:f,month:d,monthCode:h,year:s,eraYear:c})}}]),e}(dt),ht=function(a){Ie(e,a);var n=Fe(e);function e(){var t;return ae(this,e),(t=n.apply(this,arguments)).calendarType="lunar",t.DAYS_PER_ISLAMIC_YEAR=354+11/30,t.DAYS_PER_ISO_YEAR=365.2425,t.constantEra="ah",t}return oe(e,[{key:"inLeapYear",value:function(r,i){return this.daysInMonth({year:r.year,month:12,day:1},i)===30}},{key:"monthsInYear",value:function(){return 12}},{key:"minimumMonthLength",value:function(){return 29}},{key:"maximumMonthLength",value:function(){return 30}},{key:"estimateIsoDate",value:function(r){var i=this.adjustCalendarDate(r).year;return{year:Ys(i*this.DAYS_PER_ISLAMIC_YEAR/this.DAYS_PER_ISO_YEAR)+622,month:1,day:1}}}]),e}(dt),Nu=function(a){Ie(e,a);var n=Fe(e);function e(){var t;return ae(this,e),(t=n.apply(this,arguments)).id="islamic",t}return oe(e)}(ht),Ns=function(a){Ie(e,a);var n=Fe(e);function e(){var t;return ae(this,e),(t=n.apply(this,arguments)).id="islamic-umalqura",t}return oe(e)}(ht),js=function(a){Ie(e,a);var n=Fe(e);function e(){var t;return ae(this,e),(t=n.apply(this,arguments)).id="islamic-tbla",t}return oe(e)}(ht),Ls=function(a){Ie(e,a);var n=Fe(e);function e(){var t;return ae(this,e),(t=n.apply(this,arguments)).id="islamic-civil",t}return oe(e)}(ht),Us=function(a){Ie(e,a);var n=Fe(e);function e(){var t;return ae(this,e),(t=n.apply(this,arguments)).id="islamic-rgsa",t}return oe(e)}(ht),xs=function(a){Ie(e,a);var n=Fe(e);function e(){var t;return ae(this,e),(t=n.apply(this,arguments)).id="islamicc",t}return oe(e)}(ht),Zs=function(a){Ie(e,a);var n=Fe(e);function e(){var t;return ae(this,e),(t=n.apply(this,arguments)).id="persian",t.calendarType="solar",t.constantEra="ap",t}return oe(e,[{key:"inLeapYear",value:function(r,i){return Nu.prototype.inLeapYear.call(this,r,i)}},{key:"monthsInYear",value:function(){return 12}},{key:"minimumMonthLength",value:function(r){var i=r.month;return i===12?29:i<=6?31:30}},{key:"maximumMonthLength",value:function(r){var i=r.month;return i===12?30:i<=6?31:30}},{key:"estimateIsoDate",value:function(r){return{year:this.adjustCalendarDate(r).year+621,month:1,day:1}}}]),e}(dt),qs=function(a){Ie(e,a);var n=Fe(e);function e(){var t;return ae(this,e),(t=n.apply(this,arguments)).id="indian",t.calendarType="solar",t.constantEra="saka",t.months={1:{length:30,month:3,day:22,leap:{length:31,month:3,day:21}},2:{length:31,month:4,day:21},3:{length:31,month:5,day:22},4:{length:31,month:6,day:22},5:{length:31,month:7,day:23},6:{length:31,month:8,day:23},7:{length:30,month:9,day:23},8:{length:30,month:10,day:23},9:{length:30,month:11,day:22},10:{length:30,month:12,day:22},11:{length:30,month:1,nextYear:!0,day:21},12:{length:30,month:2,nextYear:!0,day:20}},t.vulnerableToBceBug=new Date("0000-01-01T00:00Z").toLocaleDateString("en-US-u-ca-indian",{timeZone:"UTC"})!=="10/11/-79 Saka",t}return oe(e,[{key:"inLeapYear",value:function(r){return ju(r.year+78)}},{key:"monthsInYear",value:function(){return 12}},{key:"minimumMonthLength",value:function(r){return this.getMonthInfo(r).length}},{key:"maximumMonthLength",value:function(r){return this.getMonthInfo(r).length}},{key:"getMonthInfo",value:function(r){var i=r.month,o=this.months[i];if(o===void 0)throw new RangeError("Invalid month: ".concat(i));return this.inLeapYear(r)&&o.leap&&(o=o.leap),o}},{key:"estimateIsoDate",value:function(r){var i=this.adjustCalendarDate(r),o=this.getMonthInfo(i);return On(i.year+78+(o.nextYear?1:0),o.month,o.day,0,0,0,i.day-1,"constrain")}},{key:"checkIcuBugs",value:function(r){if(this.vulnerableToBceBug&&r.year<1)throw new RangeError("calendar '".concat(this.id,"' is broken for ISO dates before 0001-01-01")+" (see https://bugs.chromium.org/p/v8/issues/detail?id=10529)")}}]),e}(dt);function ju(a){return a%4==0&&(a%100!=0||a%400==0)}for(var Nt=function(a){Ie(e,a);var n=Fe(e);function e(t,r){var i;ae(this,e),(i=n.call(this)).calendarType="solar",i.v8IsVulnerableToJulianBug=new Date("+001001-01-01T00:00Z").toLocaleDateString("en-US-u-ca-japanese",{timeZone:"UTC"}).startsWith("12"),i.calendarIsVulnerableToJulianBug=!1,i.id=t;var o=function(d){var h,f=d;if(f.length===0)throw new RangeError("Invalid era data: eras are required");if(f.length===1&&f[0].reverseOf)throw new RangeError("Invalid era data: anchor era cannot count years backwards");if(f.length===1&&!f[0].name)throw new RangeError("Invalid era data: at least one named era is required");if(f.filter(function(g){return g.reverseOf!=null}).length>1)throw new RangeError("Invalid era data: only one era can count years backwards");f.forEach(function(g){if(g.isAnchor||!g.anchorEpoch&&!g.reverseOf){if(h)throw new RangeError("Invalid era data: cannot have multiple anchor eras");h=g,g.anchorEpoch={year:g.hasYearZero?0:1}}else if(!g.name)throw new RangeError("If era name is blank, it must be the anchor era")}),(f=f.filter(function(g){return g.name})).forEach(function(g){var y=g.reverseOf;if(y){var D=f.find(function(p){return p.name===y});if(D===void 0)throw new RangeError("Invalid era data: unmatched reverseOf era: ".concat(y));g.reverseOf=D,g.anchorEpoch=D.anchorEpoch,g.isoEpoch=D.isoEpoch}g.anchorEpoch.month===void 0&&(g.anchorEpoch.month=1),g.anchorEpoch.day===void 0&&(g.anchorEpoch.day=1)}),Ms.call(f,function(g,y){if(g.reverseOf)return 1;if(y.reverseOf)return-1;if(!g.isoEpoch||!y.isoEpoch)throw new RangeError("Invalid era data: missing ISO epoch");return y.isoEpoch.year-g.isoEpoch.year});var v=f[f.length-1].reverseOf;if(v&&v!==f[f.length-2])throw new RangeError("Invalid era data: invalid reverse-sign era");return f.forEach(function(g,y){g.genericName="era".concat(f.length-1-y)}),{eras:f,anchorEra:h||f[0]}}(r),l=o.eras,s=o.anchorEra;return i.anchorEra=s,i.eras=l,i}return oe(e,[{key:"inLeapYear",value:function(r){return ju(this.estimateIsoDate({month:1,day:1,year:r.year}).year)}},{key:"monthsInYear",value:function(){return 12}},{key:"minimumMonthLength",value:function(r){var i=r.month;return i===2?this.inLeapYear(r)?29:28:[4,6,9,11].indexOf(i)>=0?30:31}},{key:"maximumMonthLength",value:function(r){return this.minimumMonthLength(r)}},{key:"completeEraYear",value:function(r){var i=this,o=function(y,D){var p=r[y];if(p!=null&&p!=D)throw new RangeError("Input ".concat(y," ").concat(p," doesn't match calculated value ").concat(D))},l=function(y){var D,p=de(de({},r),{},{year:y}),w=i.eras.find(function(_,T){if(T===i.eras.length-1){if(_.reverseOf){if(y>0)throw new RangeError("Signed year ".concat(y," is invalid for era ").concat(_.name));return D=_.anchorEpoch.year-y,!0}return D=y-_.anchorEpoch.year+(_.hasYearZero?0:1),!0}return i.compareCalendarDates(p,_.anchorEpoch)>=0&&(D=y-_.anchorEpoch.year+(_.hasYearZero?0:1),!0)});if(!w)throw new RangeError("Year ".concat(y," was not matched by any era"));return{eraYear:D,era:w.name}},s=r.year,c=r.eraYear,d=r.era;if(s!=null){var h=l(s);c=h.eraYear,o("era",d=h.era),o("eraYear",c)}else{if(c==null)throw new RangeError("Either `year` or `eraYear` and `era` are required");var f=d===void 0?void 0:this.eras.find(function(g){return g.name===d||g.genericName===d});if(!f)throw new RangeError("Era ".concat(d," (ISO year ").concat(c,") was not matched by any era"));if(c<1&&f.reverseOf)throw new RangeError("Years in ".concat(d," era must be positive, not ").concat(s));o("year",s=f.reverseOf?f.anchorEpoch.year-c:c+f.anchorEpoch.year-(f.hasYearZero?0:1));var v=l(s);c=v.eraYear,d=v.era}return de(de({},r),{},{year:s,eraYear:c,era:d})}},{key:"adjustCalendarDate",value:function(r,i){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"constrain",l=r,s=l,c=s.month,d=s.monthCode;return c===void 0&&(l=de(de({},l),{},{month:Aa(d)})),this.validateCalendarDate(l),l=this.completeEraYear(l),xi(_n(e.prototype),"adjustCalendarDate",this).call(this,l,i,o)}},{key:"estimateIsoDate",value:function(r){var i=this.adjustCalendarDate(r),o=i.year,l=i.month,s=i.day,c=this.anchorEra;return ei(o+c.isoEpoch.year-(c.hasYearZero?0:1),l,s,"constrain")}},{key:"checkIcuBugs",value:function(r){if(this.calendarIsVulnerableToJulianBug&&this.v8IsVulnerableToJulianBug&&yn(r.year,r.month,r.day,1582,10,15)<0)throw new RangeError("calendar '".concat(this.id,"' is broken for ISO dates before 1582-10-15")+" (see https://bugs.chromium.org/p/chromium/issues/detail?id=1173158)")}}]),e}(dt),Sa=function(a){Ie(e,a);var n=Fe(e);function e(t,r){return ae(this,e),n.call(this,t,r)}return oe(e,[{key:"inLeapYear",value:function(r){return(r.year+1)%4==0}},{key:"monthsInYear",value:function(){return 13}},{key:"minimumMonthLength",value:function(r){return r.month===13?this.inLeapYear(r)?6:5:30}},{key:"maximumMonthLength",value:function(r){return this.minimumMonthLength(r)}}]),e}(Nt),zs=function(a){Ie(e,a);var n=Fe(e);function e(){return ae(this,e),n.call(this,"ethioaa",[{name:"era0",isoEpoch:{year:-5492,month:7,day:17}}])}return oe(e)}(Sa),Ws=function(a){Ie(e,a);var n=Fe(e);function e(){return ae(this,e),n.call(this,"coptic",[{name:"era1",isoEpoch:{year:284,month:8,day:29}},{name:"era0",reverseOf:"era1"}])}return oe(e)}(Sa),Gs=function(a){Ie(e,a);var n=Fe(e);function e(){return ae(this,e),n.call(this,"ethiopic",[{name:"era0",isoEpoch:{year:-5492,month:7,day:17}},{name:"era1",isoEpoch:{year:8,month:8,day:27},anchorEpoch:{year:5501}}])}return oe(e)}(Sa),Hs=function(a){Ie(e,a);var n=Fe(e);function e(){var t;return ae(this,e),(t=n.call(this,"roc",[{name:"minguo",isoEpoch:{year:1912,month:1,day:1}},{name:"before-roc",reverseOf:"minguo"}])).calendarIsVulnerableToJulianBug=!0,t}return oe(e)}(Nt),Js=function(a){Ie(e,a);var n=Fe(e);function e(){var t;return ae(this,e),(t=n.call(this,"buddhist",[{name:"be",hasYearZero:!0,isoEpoch:{year:-543,month:1,day:1}}])).calendarIsVulnerableToJulianBug=!0,t}return oe(e)}(Nt),Vs=function(a){Ie(e,a);var n=Fe(e);function e(){return ae(this,e),n.call(this,"gregory",[{name:"ce",isoEpoch:{year:1,month:1,day:1}},{name:"bce",reverseOf:"ce"}])}return oe(e,[{key:"reviseIntlEra",value:function(r){var i=r.era;return i!=="bc"&&i!=="b"||(i="bce"),i!=="ad"&&i!=="a"||(i="ce"),{era:i,eraYear:r.eraYear}}}]),e}(Nt),$s=function(a){Ie(e,a);var n=Fe(e);function e(){var t;return ae(this,e),(t=n.call(this,"japanese",[{name:"reiwa",isoEpoch:{year:2019,month:5,day:1},anchorEpoch:{year:2019,month:5,day:1}},{name:"heisei",isoEpoch:{year:1989,month:1,day:8},anchorEpoch:{year:1989,month:1,day:8}},{name:"showa",isoEpoch:{year:1926,month:12,day:25},anchorEpoch:{year:1926,month:12,day:25}},{name:"taisho",isoEpoch:{year:1912,month:7,day:30},anchorEpoch:{year:1912,month:7,day:30}},{name:"meiji",isoEpoch:{year:1868,month:9,day:8},anchorEpoch:{year:1868,month:9,day:8}},{name:"ce",isoEpoch:{year:1,month:1,day:1}},{name:"bce",reverseOf:"ce"}])).calendarIsVulnerableToJulianBug=!0,t.eraLength="long",t.erasBeginMidYear=!0,t}return oe(e,[{key:"reviseIntlEra",value:function(r,i){var o=r.era,l=r.eraYear,s=i.year;return this.eras.find(function(c){return c.name===o})?{era:o,eraYear:l}:s<1?{era:"bce",eraYear:1-s}:{era:"ce",eraYear:s}}}]),e}(Nt),Lu=function(a){Ie(e,a);var n=Fe(e);function e(){var t;return ae(this,e),(t=n.apply(this,arguments)).calendarType="lunisolar",t.hasEra=!1,t}return oe(e,[{key:"inLeapYear",value:function(r,i){var o=this.getMonthList(r.year,i);return Ba(o).length===13}},{key:"monthsInYear",value:function(r,i){return this.inLeapYear(r,i)?13:12}},{key:"minimumMonthLength",value:function(){return 29}},{key:"maximumMonthLength",value:function(){return 30}},{key:"getMonthList",value:function(r,i){var o=this;if(r===void 0)throw new TypeError("Missing year");var l=JSON.stringify({func:"getMonthList",calendarYear:r,id:this.id}),s=i.get(l);if(s)return s;var c=this.getFormatter(),d=function(I,F){var S=Pu({isoYear:I,isoMonth:2,isoDay:1}),B=new Date(S);B.setUTCDate(F+1);var j=c.formatToParts(B),Y=j.find(function(X){return X.type==="month"}).value,V=+j.find(function(X){return X.type==="day"}).value,U=j.find(function(X){return X.type==="relatedYear"});if(U===void 0)throw new RangeError("Intl.DateTimeFormat.formatToParts lacks relatedYear in ".concat(o.id," calendar. Try Node 14+ or modern browsers."));return{calendarMonthString:Y,calendarDay:V,calendarYearToVerify:U=+U.value}},h=17,f=d(r,h),v=f.calendarMonthString,g=f.calendarDay,y=f.calendarYearToVerify;if(v!=="1"){var D=d(r,h+=29);v=D.calendarMonthString,g=D.calendarDay}h-=g-5;var p,w,_={},T=1,b=!1;do{var C=d(r,h);v=C.calendarMonthString,g=C.calendarDay,y=C.calendarYearToVerify,p&&(_[w].daysInMonth=p+30-g),y!==r?b=!0:(_[v]={monthIndex:T++},h+=30),p=g,w=v}while(!b);return _[w].daysInMonth=p+30-g,i.set(l,_),_}},{key:"estimateIsoDate",value:function(r){var i=r.year,o=r.month;return{year:i,month:o>=12?12:o+1,day:1}}},{key:"adjustCalendarDate",value:function(r,i){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"constrain",l=arguments.length>3&&arguments[3]!==void 0&&arguments[3],s=r.year,c=r.month,d=r.monthExtra,h=r.day,f=r.monthCode,v=r.eraYear;if(l){if(s=v,d&&d!=="bis")throw new RangeError("Unexpected leap month suffix: ".concat(d));var g=cn(c,d!==void 0),y="".concat(c).concat(d||""),D=this.getMonthList(s,i),p=D[y];if(p===void 0)throw new RangeError("Unmatched month ".concat(y," in Chinese year ").concat(s));return{year:s,month:c=p.monthIndex,day:h,era:void 0,eraYear:v,monthCode:g}}if(this.validateCalendarDate(r),s===void 0&&(s=v),v===void 0&&(v=s),c===void 0){var w=this.getMonthList(s,i),_=f.replace("L","bis").slice(1);_[0]==="0"&&(_=_.slice(1));var T=w[_];if((c=T&&T.monthIndex)===void 0&&f.endsWith("L")&&f!="M13L"&&o==="constrain"){var b=f.slice(1,-1);b[0]==="0"&&(b=b.slice(1)),(T=w[b])&&(c=T.monthIndex,f=cn(b))}if(c===void 0)throw new RangeError("Unmatched month ".concat(f," in Chinese year ").concat(s))}else if(f===void 0){var C=this.getMonthList(s,i),k=Ba(C),I=k.length;o==="reject"?(He(c,1,I),He(h,1,this.maximumMonthLength())):(c=Dr(c,1,I),h=Dr(h,1,this.maximumMonthLength()));var F=k.find(function(Y){return Ar(Y,2)[1].monthIndex===c});if(F===void 0)throw new RangeError("Invalid month ".concat(c," in Chinese year ").concat(s));f=cn(F[0].replace("bis",""),F[0].indexOf("bis")!==-1)}else{var S=this.getMonthList(s,i),B=f.replace("L","bis").slice(1);B[0]==="0"&&(B=B.slice(1));var j=S[B];if(!j)throw new RangeError("Unmatched monthCode ".concat(f," in Chinese year ").concat(s));if(c!==j.monthIndex)throw new RangeError("monthCode ".concat(f," doesn't correspond to month ").concat(c," in Chinese year ").concat(s))}return de(de({},r),{},{year:s,eraYear:v,month:c,monthCode:f,day:h})}}]),e}(dt),Ks=function(a){Ie(e,a);var n=Fe(e);function e(){var t;return ae(this,e),(t=n.apply(this,arguments)).id="chinese",t}return oe(e)}(Lu),Xs=function(a){Ie(e,a);var n=Fe(e);function e(){var t;return ae(this,e),(t=n.apply(this,arguments)).id="dangi",t}return oe(e)}(Lu),Qs=function(){function a(n){ae(this,a),this.helper=n}return oe(a,[{key:"dateFromFields",value:function(e,t,r){var i=new Ue,o=$(e,this.fields(["day","month","monthCode","year"]),[]),l=ke(t),s=this.helper.calendarToIsoDate(o,l,i),c=Ir(s.year,s.month,s.day,r);return i.setObject(c),c}},{key:"yearMonthFromFields",value:function(e,t,r){var i=new Ue,o=$(e,this.fields(["month","monthCode","year"]),[]),l=ke(t),s=this.helper.calendarToIsoDate(de(de({},o),{},{day:1}),l,i),c=Ft(s.year,s.month,r,s.day);return i.setObject(c),c}},{key:"monthDayFromFields",value:function(e,t,r){var i=new Ue,o=$(e,this.fields(["day","month","monthCode","year"]),[]),l=ke(t),s=this.helper.monthDayFromFields(o,l,i),c=s.year,d=It(s.month,s.day,r,c);return i.setObject(d),d}},{key:"fields",value:function(e){var t=e;return Su.call(t,"year")&&(t=[].concat(Mr(t),["era","eraYear"])),t}},{key:"fieldKeysToIgnore",value:function(e){for(var t=new Mu,r=0;r<e.length;r++){var i=e[r];switch(N(er,t,[i]),i){case"era":N(er,t,["eraYear"]),N(er,t,["year"]);break;case"eraYear":N(er,t,["era"]),N(er,t,["year"]);break;case"year":N(er,t,["era"]),N(er,t,["eraYear"]);break;case"month":N(er,t,["monthCode"]),this.helper.erasBeginMidYear&&(N(er,t,["era"]),N(er,t,["eraYear"]));break;case"monthCode":N(er,t,["month"]),this.helper.erasBeginMidYear&&(N(er,t,["era"]),N(er,t,["eraYear"]));break;case"day":this.helper.erasBeginMidYear&&(N(er,t,["era"]),N(er,t,["eraYear"]))}}return Mr(N(Yu,t,[]))}},{key:"dateAdd",value:function(e,t,r,i,o,l,s){var c=Ue.getCacheForObject(e),d=this.helper.temporalToCalendarDate(e,c),h=this.helper.addCalendar(d,{years:t,months:r,weeks:i,days:o},l,c),f=this.helper.calendarToIsoDate(h,"constrain",c),v=Ir(f.year,f.month,f.day,s);return new Ue(c).setObject(v),v}},{key:"dateUntil",value:function(e,t,r){var i=Ue.getCacheForObject(e),o=Ue.getCacheForObject(t),l=this.helper.temporalToCalendarDate(e,i),s=this.helper.temporalToCalendarDate(t,o);return this.helper.untilCalendar(l,s,r,i)}},{key:"year",value:function(e){var t=Ue.getCacheForObject(e);return this.helper.temporalToCalendarDate(e,t).year}},{key:"month",value:function(e){var t=Ue.getCacheForObject(e);return this.helper.temporalToCalendarDate(e,t).month}},{key:"day",value:function(e){var t=Ue.getCacheForObject(e);return this.helper.temporalToCalendarDate(e,t).day}},{key:"era",value:function(e){if(this.helper.hasEra){var t=Ue.getCacheForObject(e);return this.helper.temporalToCalendarDate(e,t).era}}},{key:"eraYear",value:function(e){if(this.helper.hasEra){var t=Ue.getCacheForObject(e);return this.helper.temporalToCalendarDate(e,t).eraYear}}},{key:"monthCode",value:function(e){var t=Ue.getCacheForObject(e);return this.helper.temporalToCalendarDate(e,t).monthCode}},{key:"dayOfWeek",value:function(e){return ve.iso8601.dayOfWeek(e)}},{key:"dayOfYear",value:function(e){var t=Ue.getCacheForObject(e),r=this.helper.isoToCalendarDate(e,t),i=this.helper.startOfCalendarYear(r);return this.helper.calendarDaysUntil(i,r,t)+1}},{key:"weekOfYear",value:function(e){return ve.iso8601.weekOfYear(e)}},{key:"yearOfWeek",value:function(e){return ve.iso8601.yearOfWeek(e)}},{key:"daysInWeek",value:function(e){return ve.iso8601.daysInWeek(e)}},{key:"daysInMonth",value:function(e){var t=Ue.getCacheForObject(e),r=this.helper.temporalToCalendarDate(e,t),i=this.helper.maximumMonthLength(r);if(i===this.helper.minimumMonthLength(r))return i;var o=this.helper.startOfCalendarMonth(r),l=this.helper.addMonthsCalendar(o,1,"constrain",t);return this.helper.calendarDaysUntil(o,l,t)}},{key:"daysInYear",value:function(e){var t=e;Ye(t,O)||(t=le(t));var r=Ue.getCacheForObject(t),i=this.helper.temporalToCalendarDate(t,r),o=this.helper.startOfCalendarYear(i),l=this.helper.addCalendar(o,{years:1},"constrain",r);return this.helper.calendarDaysUntil(o,l,r)}},{key:"monthsInYear",value:function(e){var t=Ue.getCacheForObject(e),r=this.helper.temporalToCalendarDate(e,t);return this.helper.monthsInYear(r,t)}},{key:"inLeapYear",value:function(e){var t=e;Ye(t,O)||(t=le(t));var r=Ue.getCacheForObject(t),i=this.helper.temporalToCalendarDate(t,r);return this.helper.inLeapYear(i,r)}}]),a}(),Ma=0,Uu=[Ps,Zs,Gs,zs,Ws,Ks,Xs,Hs,qs,Js,Vs,$s,Nu,Ns,js,Ls,Us,xs];Ma<Uu.length;Ma++){var xu=new Uu[Ma];ve[xu.id]=new Qs(xu)}var Ra=function(){function a(n,e,t){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"iso8601";ae(this,a);var i=ee(n),o=ee(e),l=ee(t),s=wr(r);Bo(this,i,o,l,s)}return oe(a,[{key:"calendarId",get:function(){if(!K(this))throw new TypeError("invalid receiver");return Ge(u(this,E))}},{key:"era",get:function(){if(!K(this))throw new TypeError("invalid receiver");return si(u(this,E),this)}},{key:"eraYear",get:function(){if(!K(this))throw new TypeError("invalid receiver");return li(u(this,E),this)}},{key:"year",get:function(){if(!K(this))throw new TypeError("invalid receiver");return oi(u(this,E),this)}},{key:"month",get:function(){if(!K(this))throw new TypeError("invalid receiver");return ui(u(this,E),this)}},{key:"monthCode",get:function(){if(!K(this))throw new TypeError("invalid receiver");return Bt(u(this,E),this)}},{key:"day",get:function(){if(!K(this))throw new TypeError("invalid receiver");return At(u(this,E),this)}},{key:"dayOfWeek",get:function(){if(!K(this))throw new TypeError("invalid receiver");return ra(u(this,E),this)}},{key:"dayOfYear",get:function(){if(!K(this))throw new TypeError("invalid receiver");return na(u(this,E),this)}},{key:"weekOfYear",get:function(){if(!K(this))throw new TypeError("invalid receiver");return ta(u(this,E),this)}},{key:"yearOfWeek",get:function(){if(!K(this))throw new TypeError("invalid receiver");return ia(u(this,E),this)}},{key:"daysInWeek",get:function(){if(!K(this))throw new TypeError("invalid receiver");return aa(u(this,E),this)}},{key:"daysInMonth",get:function(){if(!K(this))throw new TypeError("invalid receiver");return ci(u(this,E),this)}},{key:"daysInYear",get:function(){if(!K(this))throw new TypeError("invalid receiver");return di(u(this,E),this)}},{key:"monthsInYear",get:function(){if(!K(this))throw new TypeError("invalid receiver");return hi(u(this,E),this)}},{key:"inLeapYear",get:function(){if(!K(this))throw new TypeError("invalid receiver");return mi(u(this,E),this)}},{key:"with",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;if(!K(this))throw new TypeError("invalid receiver");if(!me(e))throw new TypeError("invalid argument");Gn(e);var r=Q(t),i=u(this,E),o=Ae(i,["day","month","monthCode","year"]),l=$(this,o,[]),s=$(e,o,"partial");return rn(i,l=$(l=In(i,l,s),o,[]),r)}},{key:"withCalendar",value:function(e){if(!K(this))throw new TypeError("invalid receiver");var t=wr(e);return new a(u(this,O),u(this,M),u(this,R),t)}},{key:"add",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;if(!K(this))throw new TypeError("invalid receiver");var r=$n(e),i=Q(t);return We(u(this,E),this,r,i)}},{key:"subtract",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;if(!K(this))throw new TypeError("invalid receiver");var r=Qo($n(e)),i=Q(t);return We(u(this,E),this,r,i)}},{key:"until",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;if(!K(this))throw new TypeError("invalid receiver");return ou("until",this,e,t)}},{key:"since",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;if(!K(this))throw new TypeError("invalid receiver");return ou("since",this,e,t)}},{key:"equals",value:function(e){if(!K(this))throw new TypeError("invalid receiver");for(var t=le(e),r=0,i=[O,M,R];r<i.length;r++){var o=i[r];if(u(this,o)!==u(t,o))return!1}return St(u(this,E),u(t,E))}},{key:"toString",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0;if(!K(this))throw new TypeError("invalid receiver");var t=Q(e),r=_t(t);return Lo(this,r)}},{key:"toJSON",value:function(){if(!K(this))throw new TypeError("invalid receiver");return Lo(this)}},{key:"toLocaleString",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;if(!K(this))throw new TypeError("invalid receiver");return new ln(e,t).format(this)}},{key:"valueOf",value:function(){throw new TypeError("use compare() or equals() to compare Temporal.PlainDate")}},{key:"toPlainDateTime",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0;if(!K(this))throw new TypeError("invalid receiver");var t=u(this,O),r=u(this,M),i=u(this,R),o=u(this,E);if(e===void 0)return pr(t,r,i,0,0,0,0,0,0,o);var l=en(e),s=u(l,Z),c=u(l,q),d=u(l,z),h=u(l,W),f=u(l,G),v=u(l,H);return pr(t,r,i,s,c,d,h,f,v,o)}},{key:"toZonedDateTime",value:function(e){if(!K(this))throw new TypeError("invalid receiver");var t,r;if(me(e))if(kr(e))t=e;else{var i=e.timeZone;i===void 0?t=Xe(e):(t=Xe(i),r=e.plainTime)}else t=Xe(e);var o=u(this,O),l=u(this,M),s=u(this,R),c=u(this,E),d=0,h=0,f=0,v=0,g=0,y=0;return r!==void 0&&(d=u(r=en(r),Z),h=u(r,q),f=u(r,z),v=u(r,W),g=u(r,G),y=u(r,H)),ze(u(hr(t,pr(o,l,s,d,h,f,v,g,y,c),"compatible"),L),t,c)}},{key:"toPlainYearMonth",value:function(){if(!K(this))throw new TypeError("invalid receiver");var e=u(this,E);return Fn(e,$(this,Ae(e,["monthCode","year"]),[]))}},{key:"toPlainMonthDay",value:function(){if(!K(this))throw new TypeError("invalid receiver");var e=u(this,E);return Xn(e,$(this,Ae(e,["day","monthCode"]),[]))}},{key:"getISOFields",value:function(){if(!K(this))throw new TypeError("invalid receiver");return{calendar:u(this,E),isoDay:u(this,R),isoMonth:u(this,M),isoYear:u(this,O)}}},{key:"getCalendar",value:function(){if(!K(this))throw new TypeError("invalid receiver");return Kn(u(this,E))}}],[{key:"from",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,r=Q(t);return K(e)?(ke(r),Ir(u(e,O),u(e,M),u(e,R),u(e,E))):le(e,r)}},{key:"compare",value:function(e,t){var r=le(e),i=le(t);return yn(u(r,O),u(r,M),u(r,R),u(i,O),u(i,M),u(i,R))}}]),a}();xr(Ra,"Temporal.PlainDate");var Ya=function(){function a(n,e,t){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0,l=arguments.length>6&&arguments[6]!==void 0?arguments[6]:0,s=arguments.length>7&&arguments[7]!==void 0?arguments[7]:0,c=arguments.length>8&&arguments[8]!==void 0?arguments[8]:0,d=arguments.length>9&&arguments[9]!==void 0?arguments[9]:"iso8601";ae(this,a);var h=ee(n),f=ee(e),v=ee(t),g=r===void 0?0:ee(r),y=i===void 0?0:ee(i),D=o===void 0?0:ee(o),p=l===void 0?0:ee(l),w=s===void 0?0:ee(s),_=c===void 0?0:ee(c),T=wr(d);Ao(this,h,f,v,g,y,D,p,w,_,T)}return oe(a,[{key:"calendarId",get:function(){if(!x(this))throw new TypeError("invalid receiver");return Ge(u(this,E))}},{key:"year",get:function(){if(!x(this))throw new TypeError("invalid receiver");return oi(u(this,E),this)}},{key:"month",get:function(){if(!x(this))throw new TypeError("invalid receiver");return ui(u(this,E),this)}},{key:"monthCode",get:function(){if(!x(this))throw new TypeError("invalid receiver");return Bt(u(this,E),this)}},{key:"day",get:function(){if(!x(this))throw new TypeError("invalid receiver");return At(u(this,E),this)}},{key:"hour",get:function(){if(!x(this))throw new TypeError("invalid receiver");return u(this,Z)}},{key:"minute",get:function(){if(!x(this))throw new TypeError("invalid receiver");return u(this,q)}},{key:"second",get:function(){if(!x(this))throw new TypeError("invalid receiver");return u(this,z)}},{key:"millisecond",get:function(){if(!x(this))throw new TypeError("invalid receiver");return u(this,W)}},{key:"microsecond",get:function(){if(!x(this))throw new TypeError("invalid receiver");return u(this,G)}},{key:"nanosecond",get:function(){if(!x(this))throw new TypeError("invalid receiver");return u(this,H)}},{key:"era",get:function(){if(!x(this))throw new TypeError("invalid receiver");return si(u(this,E),this)}},{key:"eraYear",get:function(){if(!x(this))throw new TypeError("invalid receiver");return li(u(this,E),this)}},{key:"dayOfWeek",get:function(){if(!x(this))throw new TypeError("invalid receiver");return ra(u(this,E),this)}},{key:"dayOfYear",get:function(){if(!x(this))throw new TypeError("invalid receiver");return na(u(this,E),this)}},{key:"weekOfYear",get:function(){if(!x(this))throw new TypeError("invalid receiver");return ta(u(this,E),this)}},{key:"yearOfWeek",get:function(){if(!x(this))throw new TypeError("invalid receiver");return ia(u(this,E),this)}},{key:"daysInWeek",get:function(){if(!x(this))throw new TypeError("invalid receiver");return aa(u(this,E),this)}},{key:"daysInYear",get:function(){if(!x(this))throw new TypeError("invalid receiver");return di(u(this,E),this)}},{key:"daysInMonth",get:function(){if(!x(this))throw new TypeError("invalid receiver");return ci(u(this,E),this)}},{key:"monthsInYear",get:function(){if(!x(this))throw new TypeError("invalid receiver");return hi(u(this,E),this)}},{key:"inLeapYear",get:function(){if(!x(this))throw new TypeError("invalid receiver");return mi(u(this,E),this)}},{key:"with",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;if(!x(this))throw new TypeError("invalid receiver");if(!me(e))throw new TypeError("invalid argument");Gn(e);var r=Q(t),i=u(this,E),o=Ae(i,["day","hour","microsecond","millisecond","minute","month","monthCode","nanosecond","second","year"]),l=$(this,o,[]),s=$(e,o,"partial"),c=bt(i,l=$(l=In(i,l,s),o,[]),r),d=c.year,h=c.month,f=c.day,v=c.hour,g=c.minute,y=c.second,D=c.millisecond,p=c.microsecond,w=c.nanosecond;return pr(d,h,f,v,g,y,D,p,w,i)}},{key:"withPlainTime",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0;if(!x(this))throw new TypeError("invalid receiver");var t=u(this,O),r=u(this,M),i=u(this,R),o=u(this,E);if(e===void 0)return pr(t,r,i,0,0,0,0,0,0,o);var l=en(e),s=u(l,Z),c=u(l,q),d=u(l,z),h=u(l,W),f=u(l,G),v=u(l,H);return pr(t,r,i,s,c,d,h,f,v,o)}},{key:"withPlainDate",value:function(e){if(!x(this))throw new TypeError("invalid receiver");var t=le(e),r=u(t,O),i=u(t,M),o=u(t,R),l=u(t,E);return pr(r,i,o,u(this,Z),u(this,q),u(this,z),u(this,W),u(this,G),u(this,H),l=Ro(u(this,E),l))}},{key:"withCalendar",value:function(e){if(!x(this))throw new TypeError("invalid receiver");var t=wr(e);return new a(u(this,O),u(this,M),u(this,R),u(this,Z),u(this,q),u(this,z),u(this,W),u(this,G),u(this,H),t)}},{key:"add",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;if(!x(this))throw new TypeError("invalid receiver");return vu("add",this,e,t)}},{key:"subtract",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;if(!x(this))throw new TypeError("invalid receiver");return vu("subtract",this,e,t)}},{key:"until",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;if(!x(this))throw new TypeError("invalid receiver");return uu("until",this,e,t)}},{key:"since",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;if(!x(this))throw new TypeError("invalid receiver");return uu("since",this,e,t)}},{key:"round",value:function(e){if(!x(this))throw new TypeError("invalid receiver");if(e===void 0)throw new TypeError("options parameter is required");var t=typeof e=="string"?it("smallestUnit",e):Q(e),r=Jn(t),i=Yr(t,"halfExpand"),o=yr(t,"smallestUnit","time",bn,["day"]),l={day:1,hour:24,minute:60,second:60,millisecond:1e3,microsecond:1e3,nanosecond:1e3}[o];Vn(r,l,l===1);var s=u(this,O),c=u(this,M),d=u(this,R),h=u(this,Z),f=u(this,q),v=u(this,z),g=u(this,W),y=u(this,G),D=u(this,H),p=Da(s,c,d,h,f,v,g,y,D,r,o,i);return pr(s=p.year,c=p.month,d=p.day,h=p.hour,f=p.minute,v=p.second,g=p.millisecond,y=p.microsecond,D=p.nanosecond,u(this,E))}},{key:"equals",value:function(e){if(!x(this))throw new TypeError("invalid receiver");for(var t=kn(e),r=0,i=[O,M,R,Z,q,z,W,G,H];r<i.length;r++){var o=i[r];if(u(this,o)!==u(t,o))return!1}return St(u(this,E),u(t,E))}},{key:"toString",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0;if(!x(this))throw new TypeError("invalid receiver");var t=Q(e),r=_t(t),i=Tt(t),o=Yr(t,"trunc"),l=yr(t,"smallestUnit","time",void 0);if(l==="hour")throw new RangeError('smallestUnit must be a time unit other than "hour"');var s=Et(l,i),c=s.precision,d=s.unit,h=s.increment;return Uo(this,c,r,{unit:d,increment:h,roundingMode:o})}},{key:"toJSON",value:function(){if(!x(this))throw new TypeError("invalid receiver");return Uo(this,"auto")}},{key:"toLocaleString",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;if(!x(this))throw new TypeError("invalid receiver");return new ln(e,t).format(this)}},{key:"valueOf",value:function(){throw new TypeError("use compare() or equals() to compare Temporal.PlainDateTime")}},{key:"toZonedDateTime",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;if(!x(this))throw new TypeError("invalid receiver");var r=Xe(e),i=Q(t),o=Hn(i),l=hr(r,this,o);return ze(u(l,L),r,u(this,E))}},{key:"toPlainDate",value:function(){if(!x(this))throw new TypeError("invalid receiver");return Qn(this)}},{key:"toPlainYearMonth",value:function(){if(!x(this))throw new TypeError("invalid receiver");var e=u(this,E);return Fn(e,$(this,Ae(e,["monthCode","year"]),[]))}},{key:"toPlainMonthDay",value:function(){if(!x(this))throw new TypeError("invalid receiver");var e=u(this,E);return Xn(e,$(this,Ae(e,["day","monthCode"]),[]))}},{key:"toPlainTime",value:function(){if(!x(this))throw new TypeError("invalid receiver");return oa(this)}},{key:"getISOFields",value:function(){if(!x(this))throw new TypeError("invalid receiver");return{calendar:u(this,E),isoDay:u(this,R),isoHour:u(this,Z),isoMicrosecond:u(this,G),isoMillisecond:u(this,W),isoMinute:u(this,q),isoMonth:u(this,M),isoNanosecond:u(this,H),isoSecond:u(this,z),isoYear:u(this,O)}}},{key:"getCalendar",value:function(){if(!x(this))throw new TypeError("invalid receiver");return Kn(u(this,E))}}],[{key:"from",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,r=Q(t);return x(e)?(ke(r),pr(u(e,O),u(e,M),u(e,R),u(e,Z),u(e,q),u(e,z),u(e,W),u(e,G),u(e,H),u(e,E))):kn(e,r)}},{key:"compare",value:function(e,t){for(var r=kn(e),i=kn(t),o=0,l=[O,M,R,Z,q,z,W,G,H];o<l.length;o++){var s=l[o],c=u(r,s),d=u(i,s);if(c!==d)return Mn(c-d)}return 0}}]),a}();xr(Ya,"Temporal.PlainDateTime");var Pa=function(){function a(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0,l=arguments.length>6&&arguments[6]!==void 0?arguments[6]:0,s=arguments.length>7&&arguments[7]!==void 0?arguments[7]:0,c=arguments.length>8&&arguments[8]!==void 0?arguments[8]:0,d=arguments.length>9&&arguments[9]!==void 0?arguments[9]:0;ae(this,a);var h=n===void 0?0:Pe(n),f=e===void 0?0:Pe(e),v=t===void 0?0:Pe(t),g=r===void 0?0:Pe(r),y=i===void 0?0:Pe(i),D=o===void 0?0:Pe(o),p=l===void 0?0:Pe(l),w=s===void 0?0:Pe(s),_=c===void 0?0:Pe(c),T=d===void 0?0:Pe(d);Ei(h,f,v,g,y,D,p,w,_,T),qr(this),J(this,nr,h),J(this,Le,f),J(this,fr,v),J(this,tr,g),J(this,ir,y),J(this,ar,D),J(this,or,p),J(this,ur,w),J(this,sr,_),J(this,lr,T)}return oe(a,[{key:"years",get:function(){if(!Te(this))throw new TypeError("invalid receiver");return u(this,nr)}},{key:"months",get:function(){if(!Te(this))throw new TypeError("invalid receiver");return u(this,Le)}},{key:"weeks",get:function(){if(!Te(this))throw new TypeError("invalid receiver");return u(this,fr)}},{key:"days",get:function(){if(!Te(this))throw new TypeError("invalid receiver");return u(this,tr)}},{key:"hours",get:function(){if(!Te(this))throw new TypeError("invalid receiver");return u(this,ir)}},{key:"minutes",get:function(){if(!Te(this))throw new TypeError("invalid receiver");return u(this,ar)}},{key:"seconds",get:function(){if(!Te(this))throw new TypeError("invalid receiver");return u(this,or)}},{key:"milliseconds",get:function(){if(!Te(this))throw new TypeError("invalid receiver");return u(this,ur)}},{key:"microseconds",get:function(){if(!Te(this))throw new TypeError("invalid receiver");return u(this,sr)}},{key:"nanoseconds",get:function(){if(!Te(this))throw new TypeError("invalid receiver");return u(this,lr)}},{key:"sign",get:function(){if(!Te(this))throw new TypeError("invalid receiver");return Jr(u(this,nr),u(this,Le),u(this,fr),u(this,tr),u(this,ir),u(this,ar),u(this,or),u(this,ur),u(this,sr),u(this,lr))}},{key:"blank",get:function(){if(!Te(this))throw new TypeError("invalid receiver");return Jr(u(this,nr),u(this,Le),u(this,fr),u(this,tr),u(this,ir),u(this,ar),u(this,or),u(this,ur),u(this,sr),u(this,lr))===0}},{key:"with",value:function(e){if(!Te(this))throw new TypeError("invalid receiver");var t=$(e,["days","hours","microseconds","milliseconds","minutes","months","nanoseconds","seconds","weeks","years"],"partial"),r=t.years,i=r===void 0?u(this,nr):r,o=t.months,l=o===void 0?u(this,Le):o,s=t.weeks,c=s===void 0?u(this,fr):s,d=t.days,h=d===void 0?u(this,tr):d,f=t.hours,v=f===void 0?u(this,ir):f,g=t.minutes,y=g===void 0?u(this,ar):g,D=t.seconds,p=D===void 0?u(this,or):D,w=t.milliseconds,_=w===void 0?u(this,ur):w,T=t.microseconds,b=T===void 0?u(this,sr):T,C=t.nanoseconds;return new a(i,l,c,h,v,y,p,_,b,C===void 0?u(this,lr):C)}},{key:"negated",value:function(){if(!Te(this))throw new TypeError("invalid receiver");return Qo(this)}},{key:"abs",value:function(){if(!Te(this))throw new TypeError("invalid receiver");return new a(Math.abs(u(this,nr)),Math.abs(u(this,Le)),Math.abs(u(this,fr)),Math.abs(u(this,tr)),Math.abs(u(this,ir)),Math.abs(u(this,ar)),Math.abs(u(this,or)),Math.abs(u(this,ur)),Math.abs(u(this,sr)),Math.abs(u(this,lr)))}},{key:"add",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;if(!Te(this))throw new TypeError("invalid receiver");return mu("add",this,e,t)}},{key:"subtract",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;if(!Te(this))throw new TypeError("invalid receiver");return mu("subtract",this,e,t)}},{key:"round",value:function(e){if(!Te(this))throw new TypeError("invalid receiver");if(e===void 0)throw new TypeError("options parameter is required");var t=u(this,nr),r=u(this,Le),i=u(this,fr),o=u(this,tr),l=u(this,ir),s=u(this,ar),c=u(this,or),d=u(this,ur),h=u(this,sr),f=u(this,lr),v=ea(t,r,i,o,l,s,c,d,h,f),g=typeof e=="string"?it("smallestUnit",e):Q(e),y=yr(g,"largestUnit","datetime",void 0,["auto"]),D=ti(g),p=Jn(g),w=Yr(g,"halfExpand"),_=yr(g,"smallestUnit","datetime",void 0),T=!0;_||(T=!1,_="nanosecond"),v=Cn(v,_);var b=!0;if(y||(b=!1,y=v),y==="auto"&&(y=v),!T&&!b)throw new RangeError("at least one of smallestUnit or largestUnit is required");if(Cn(y,_)!==y)throw new RangeError("largestUnit ".concat(y," cannot be smaller than smallestUnit ").concat(_));var C={hour:24,minute:60,second:60,millisecond:1e3,microsecond:1e3,nanosecond:1e3}[_];C!==void 0&&Vn(p,C,!1);var k=_i(t,r,i,o,y,D),I=on(t=k.years,r=k.months,i=k.weeks,o=k.days,l,s,c,d,h,f,p,_,w,D),F=Du(t=I.years,r=I.months,i=I.weeks,o=I.days,l=I.hours,s=I.minutes,c=I.seconds,d=I.milliseconds,h=I.microseconds,f=I.nanoseconds,p,_,w,D);t=F.years,r=F.months,i=F.weeks;var S=Or(o=F.days,l=F.hours,s=F.minutes,c=F.seconds,d=F.milliseconds,h=F.microseconds,f=F.nanoseconds,y,D);o=S.days,l=S.hours,s=S.minutes,c=S.seconds,d=S.milliseconds,h=S.microseconds,f=S.nanoseconds;var B=function(Y,V,U,X,se,xe){var Oe=A("%Temporal.Duration%"),Ze=Jr(Y,V,U,X,0,0,0,0,0,0);if(Ze===0)return{years:Y,months:V,weeks:U,days:X};var te,ge,mr=m.BigInt(Ze),rr=m.BigInt(Y),Se=m.BigInt(V),qe=m.BigInt(U),ye=m.BigInt(X);xe&&(te=u(ge=le(xe),E));var Xr=new Oe(Ze),Qr=new Oe(0,Ze),mt=new Oe(0,0,Ze);switch(se){case"year":if(!te)throw new RangeError("a starting point is required for years balancing");var vr,Br,Je,Ve=typeof te!="string"?ie(te,"dateAdd"):void 0,Bi=Qe(te,ge,Xr,Ve);for(vr=Bi.relativeTo,Br=Bi.days;m.greaterThanOrEqual(Rr(ye),m.BigInt(he(Br)));){ye=m.subtract(ye,m.BigInt(Br)),rr=m.add(rr,mr);var Ai=Qe(te,ge=vr,Xr,Ve);vr=Ai.relativeTo,Br=Ai.days}var Pn=Qe(te,ge,Qr,Ve);for(vr=Pn.relativeTo,Je=Pn.days;m.greaterThanOrEqual(Rr(ye),m.BigInt(he(Je)));){ye=m.subtract(ye,m.BigInt(Je)),Se=m.add(Se,mr);var Lt=Qe(te,ge=vr,Qr,Ve);vr=Lt.relativeTo,Je=Lt.days}vr=We(te,ge,Xr,void 0,Ve);var Oi=typeof te!="string"?ie(te,"dateUntil"):void 0,Si=Ke(null);Si.largestUnit="month";for(var Mi=mn(te,ge,vr,Si,Oi),jr=u(Mi,Le);m.greaterThanOrEqual(Rr(Se),m.BigInt(he(jr)));){Se=m.subtract(Se,m.BigInt(jr)),rr=m.add(rr,mr),vr=We(te,ge=vr,Xr,void 0,Ve);var Ri=Ke(null);Ri.largestUnit="month",jr=u(Mi=mn(te,ge,vr,Ri,Oi),Le)}break;case"month":if(!te)throw new RangeError("a starting point is required for months balancing");var ft,Nn,Ut=typeof te!="string"?ie(te,"dateAdd"):void 0,jn=Qe(te,ge,Qr,Ut);for(ft=jn.relativeTo,Nn=jn.days;m.greaterThanOrEqual(Rr(ye),m.BigInt(he(Nn)));){ye=m.subtract(ye,m.BigInt(Nn)),Se=m.add(Se,mr);var Yi=Qe(te,ge=ft,Qr,Ut);ft=Yi.relativeTo,Nn=Yi.days}break;case"week":if(!te)throw new RangeError("a starting point is required for weeks balancing");var Lr,vt,xt=typeof te!="string"?ie(te,"dateAdd"):void 0,Zt=Qe(te,ge,mt,xt);for(Lr=Zt.relativeTo,vt=Zt.days;m.greaterThanOrEqual(Rr(ye),m.BigInt(he(vt)));){ye=m.subtract(ye,m.BigInt(vt)),qe=m.add(qe,mr);var qt=Qe(te,ge=Lr,mt,xt);Lr=qt.relativeTo,vt=qt.days}}return{years:m.toNumber(rr),months:m.toNumber(Se),weeks:m.toNumber(qe),days:m.toNumber(ye)}}(t,r,i,o,y,D);return new a(t=B.years,r=B.months,i=B.weeks,o=B.days,l,s,c,d,h,f)}},{key:"total",value:function(e){if(!Te(this))throw new TypeError("invalid receiver");var t=u(this,nr),r=u(this,Le),i=u(this,fr),o=u(this,tr),l=u(this,ir),s=u(this,ar),c=u(this,or),d=u(this,ur),h=u(this,sr),f=u(this,lr);if(e===void 0)throw new TypeError("options argument is required");var v,g=typeof e=="string"?it("unit",e):Q(e),y=ti(g),D=yr(g,"unit","datetime",bn),p=_i(t,r,i,o,D,y);t=p.years,r=p.months,i=p.weeks,o=p.days,P(y)&&(v=wu(y,t,r,i,0));var w=Ko(o,l,s,c,d,h,f,D,v);if(w==="positive overflow")return 1/0;if(w==="negative overflow")return-1/0;var _=on(t,r,i,o=w.days,l=w.hours,s=w.minutes,c=w.seconds,d=w.milliseconds,h=w.microseconds,f=w.nanoseconds,1,D,"trunc",y).total;return _}},{key:"toString",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0;if(!Te(this))throw new TypeError("invalid receiver");var t=Q(e),r=Tt(t),i=Yr(t,"trunc"),o=yr(t,"smallestUnit","time",void 0);if(o==="hour"||o==="minute")throw new RangeError('smallestUnit must be a time unit other than "hours" or "minutes"');var l=Et(o,r),s=l.precision,c=l.unit,d=l.increment;return sa(this,s,{unit:c,increment:d,roundingMode:i})}},{key:"toJSON",value:function(){if(!Te(this))throw new TypeError("invalid receiver");return sa(this)}},{key:"toLocaleString",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;if(!Te(this))throw new TypeError("invalid receiver");return typeof Intl<"u"&&Intl.DurationFormat!==void 0?new Intl.DurationFormat(e,t).format(this):(console.warn("Temporal.Duration.prototype.toLocaleString() requires Intl.DurationFormat."),sa(this))}},{key:"valueOf",value:function(){throw new TypeError("use compare() to compare Temporal.Duration")}}],[{key:"from",value:function(e){return Te(e)?new a(u(e,nr),u(e,Le),u(e,fr),u(e,tr),u(e,ir),u(e,ar),u(e,or),u(e,ur),u(e,sr),u(e,lr)):$n(e)}},{key:"compare",value:function(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,i=$n(e),o=$n(t),l=Q(r),s=ti(l),c=u(i,nr),d=u(i,Le),h=u(i,fr),f=u(i,tr),v=u(i,ir),g=u(i,ar),y=u(i,or),D=u(i,ur),p=u(i,sr),w=u(i,lr),_=u(o,nr),T=u(o,Le),b=u(o,fr),C=u(o,tr),k=u(o,ir),I=u(o,ar),F=u(o,or),S=u(o,ur),B=u(o,sr),j=u(o,lr),Y=Xo(s,c,d,h,f),V=Xo(s,_,T,b,C);if(c!==0||_!==0||d!==0||T!==0||h!==0||b!==0){var U=_i(c,d,h,f,"day",s);f=U.days;var X=_i(_,T,b,C,"day",s);C=X.days}var se=rt(f,v,g,y,D,p,w,Y),xe=rt(C,k,I,F,S,B,j,V);return Mn(m.toNumber(m.subtract(se,xe)))}}]),a}();xr(Pa,"Temporal.Duration");var el=Object.create,Na=function(){function a(n,e){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"iso8601",r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1972;ae(this,a);var i=ee(n),o=ee(e),l=wr(t),s=ee(r);Oo(this,i,o,l,s)}return oe(a,[{key:"monthCode",get:function(){if(!Ne(this))throw new TypeError("invalid receiver");return Bt(u(this,E),this)}},{key:"day",get:function(){if(!Ne(this))throw new TypeError("invalid receiver");return At(u(this,E),this)}},{key:"calendarId",get:function(){if(!Ne(this))throw new TypeError("invalid receiver");return Ge(u(this,E))}},{key:"with",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;if(!Ne(this))throw new TypeError("invalid receiver");if(!me(e))throw new TypeError("invalid argument");Gn(e);var r=Q(t),i=u(this,E),o=Ae(i,["day","month","monthCode","year"]),l=$(this,o,[]),s=$(e,o,"partial");return Xn(i,l=$(l=In(i,l,s),o,[]),r)}},{key:"equals",value:function(e){if(!Ne(this))throw new TypeError("invalid receiver");for(var t=Fo(e),r=0,i=[M,R,O];r<i.length;r++){var o=i[r];if(u(this,o)!==u(t,o))return!1}return St(u(this,E),u(t,E))}},{key:"toString",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0;if(!Ne(this))throw new TypeError("invalid receiver");var t=Q(e),r=_t(t);return xo(this,r)}},{key:"toJSON",value:function(){if(!Ne(this))throw new TypeError("invalid receiver");return xo(this)}},{key:"toLocaleString",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;if(!Ne(this))throw new TypeError("invalid receiver");return new ln(e,t).format(this)}},{key:"valueOf",value:function(){throw new TypeError("use equals() to compare Temporal.PlainMonthDay")}},{key:"toPlainDate",value:function(e){if(!Ne(this))throw new TypeError("invalid receiver");if(!me(e))throw new TypeError("argument should be an object");var t=u(this,E),r=Ae(t,["day","monthCode"]),i=$(this,r,[]),o=Ae(t,["year"]),l=In(t,i,$(e,o,[]));l=$(l,Mr(new Set([].concat(Mr(r),Mr(o)))),[]);var s=el(null);return s.overflow="reject",rn(t,l,s)}},{key:"getISOFields",value:function(){if(!Ne(this))throw new TypeError("invalid receiver");return{calendar:u(this,E),isoDay:u(this,R),isoMonth:u(this,M),isoYear:u(this,O)}}},{key:"getCalendar",value:function(){if(!Ne(this))throw new TypeError("invalid receiver");return Kn(u(this,E))}}],[{key:"from",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,r=Q(t);return Ne(e)?(ke(r),It(u(e,M),u(e,R),u(e,E),u(e,O))):Fo(e,r)}}]),a}();xr(Na,"Temporal.PlainMonthDay");var ja=function(){return new(A("%Temporal.Instant%"))(Ea())},Zu=function(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:pn(),t=Xe(e),r=wr(n),i=ja();return Er(t,i,r)},La=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:pn(),e=Xe(n),t=ja();return Er(e,t,"iso8601")},qu=function(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:pn(),t=Xe(e),r=wr(n);return ze(Ea(),t,r)},zu=ji({instant:ja,plainDateTime:Zu,plainDateTimeISO:La,plainDate:function(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:pn();return Qn(Zu(n,e))},plainDateISO:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:pn();return Qn(La(n))},plainTimeISO:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:pn();return oa(La(n))},timeZoneId:function(){return pn()},zonedDateTime:qu,zonedDateTimeISO:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:pn();return qu("iso8601",n)}},Symbol.toStringTag,"Temporal.Now");Object.defineProperty(zu,Symbol.toStringTag,{value:"Temporal.Now",writable:!1,enumerable:!1,configurable:!0});var rl=Object.assign;function Wu(a,n){var e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,t=u(a,Z),r=u(a,q),i=u(a,z),o=u(a,W),l=u(a,G),s=u(a,H);if(e){var c=e.unit,d=e.increment,h=e.roundingMode,f=_a(t,r,i,o,l,s,d,c,h);t=f.hour,r=f.minute,i=f.second,o=f.millisecond,l=f.microsecond,s=f.nanosecond}var v=fe(t),g=fe(r),y=gi(i,o,l,s,n);return"".concat(v,":").concat(g).concat(y)}var Ua=function(){function a(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0;ae(this,a);var l=n===void 0?0:ee(n),s=e===void 0?0:ee(e),c=t===void 0?0:ee(t),d=r===void 0?0:ee(r),h=i===void 0?0:ee(i),f=o===void 0?0:ee(o);Ti(l,s,c,d,h,f),qr(this),J(this,Z,l),J(this,q,s),J(this,z,c),J(this,W,d),J(this,G,h),J(this,H,f)}return oe(a,[{key:"hour",get:function(){if(!Ee(this))throw new TypeError("invalid receiver");return u(this,Z)}},{key:"minute",get:function(){if(!Ee(this))throw new TypeError("invalid receiver");return u(this,q)}},{key:"second",get:function(){if(!Ee(this))throw new TypeError("invalid receiver");return u(this,z)}},{key:"millisecond",get:function(){if(!Ee(this))throw new TypeError("invalid receiver");return u(this,W)}},{key:"microsecond",get:function(){if(!Ee(this))throw new TypeError("invalid receiver");return u(this,G)}},{key:"nanosecond",get:function(){if(!Ee(this))throw new TypeError("invalid receiver");return u(this,H)}},{key:"with",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;if(!Ee(this))throw new TypeError("invalid receiver");if(!me(e))throw new TypeError("invalid argument");Gn(e);var r=Q(t),i=ke(r),o=ii(e,"partial"),l=ii(this),s=rl(l,o),c=s.hour,d=s.minute,h=s.second,f=s.millisecond,v=s.microsecond,g=s.nanosecond,y=ri(c,d,h,f,v,g,i);return new a(c=y.hour,d=y.minute,h=y.second,f=y.millisecond,v=y.microsecond,g=y.nanosecond)}},{key:"add",value:function(e){if(!Ee(this))throw new TypeError("invalid receiver");return gu("add",this,e)}},{key:"subtract",value:function(e){if(!Ee(this))throw new TypeError("invalid receiver");return gu("subtract",this,e)}},{key:"until",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;if(!Ee(this))throw new TypeError("invalid receiver");return su("until",this,e,t)}},{key:"since",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;if(!Ee(this))throw new TypeError("invalid receiver");return su("since",this,e,t)}},{key:"round",value:function(e){if(!Ee(this))throw new TypeError("invalid receiver");if(e===void 0)throw new TypeError("options parameter is required");var t=typeof e=="string"?it("smallestUnit",e):Q(e),r=Jn(t),i=Yr(t,"halfExpand"),o=yr(t,"smallestUnit","time",bn);Vn(r,{hour:24,minute:60,second:60,millisecond:1e3,microsecond:1e3,nanosecond:1e3}[o],!1);var l=u(this,Z),s=u(this,q),c=u(this,z),d=u(this,W),h=u(this,G),f=u(this,H),v=_a(l,s,c,d,h,f,r,o,i);return new a(l=v.hour,s=v.minute,c=v.second,d=v.millisecond,h=v.microsecond,f=v.nanosecond)}},{key:"equals",value:function(e){if(!Ee(this))throw new TypeError("invalid receiver");for(var t=en(e),r=0,i=[Z,q,z,W,G,H];r<i.length;r++){var o=i[r];if(u(this,o)!==u(t,o))return!1}return!0}},{key:"toString",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0;if(!Ee(this))throw new TypeError("invalid receiver");var t=Q(e),r=Tt(t),i=Yr(t,"trunc"),o=yr(t,"smallestUnit","time",void 0);if(o==="hour")throw new RangeError('smallestUnit must be a time unit other than "hour"');var l=Et(o,r),s=l.precision,c=l.unit,d=l.increment;return Wu(this,s,{unit:c,increment:d,roundingMode:i})}},{key:"toJSON",value:function(){if(!Ee(this))throw new TypeError("invalid receiver");return Wu(this,"auto")}},{key:"toLocaleString",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;if(!Ee(this))throw new TypeError("invalid receiver");return new ln(e,t).format(this)}},{key:"valueOf",value:function(){throw new TypeError("use compare() or equals() to compare Temporal.PlainTime")}},{key:"toPlainDateTime",value:function(e){if(!Ee(this))throw new TypeError("invalid receiver");var t=le(e),r=u(t,O),i=u(t,M),o=u(t,R),l=u(t,E);return pr(r,i,o,u(this,Z),u(this,q),u(this,z),u(this,W),u(this,G),u(this,H),l)}},{key:"toZonedDateTime",value:function(e){if(!Ee(this))throw new TypeError("invalid receiver");if(!me(e))throw new TypeError("invalid argument");var t=e.plainDate;if(t===void 0)throw new TypeError("missing date property");var r=le(t),i=e.timeZone;if(i===void 0)throw new TypeError("missing timeZone property");var o=Xe(i),l=u(r,O),s=u(r,M),c=u(r,R),d=u(r,E),h=u(this,Z),f=u(this,q),v=u(this,z),g=u(this,W),y=u(this,G),D=u(this,H);return ze(u(hr(o,new(A("%Temporal.PlainDateTime%"))(l,s,c,h,f,v,g,y,D,d),"compatible"),L),o,d)}},{key:"getISOFields",value:function(){if(!Ee(this))throw new TypeError("invalid receiver");return{isoHour:u(this,Z),isoMicrosecond:u(this,G),isoMillisecond:u(this,W),isoMinute:u(this,q),isoNanosecond:u(this,H),isoSecond:u(this,z)}}}],[{key:"from",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,r=Q(t),i=ke(r);return Ee(e)?new a(u(e,Z),u(e,q),u(e,z),u(e,W),u(e,G),u(e,H)):en(e,i)}},{key:"compare",value:function(e,t){for(var r=en(e),i=en(t),o=0,l=[Z,q,z,W,G,H];o<l.length;o++){var s=l[o],c=u(r,s),d=u(i,s);if(c!==d)return Mn(c-d)}return 0}}]),a}();xr(Ua,"Temporal.PlainTime");var jt=function(){function a(n){if(ae(this,a),arguments.length<1)throw new RangeError("missing argument: identifier is required");var e=la(n);qr(this),J(this,Zr,e)}return oe(a,[{key:"id",get:function(){if(!kr(this))throw new TypeError("invalid receiver");return u(this,Zr)}},{key:"getOffsetNanosecondsFor",value:function(e){if(!kr(this))throw new TypeError("invalid receiver");var t=Pr(e),r=u(this,Zr);return et(r)?fn(r):nn(r,u(t,L))}},{key:"getOffsetStringFor",value:function(e){if(!kr(this))throw new TypeError("invalid receiver");return ua(this,Pr(e))}},{key:"getPlainDateTimeFor",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"iso8601";if(!kr(this))throw new TypeError("invalid receiver");var r=Pr(e),i=wr(t);return Er(this,r,i)}},{key:"getInstantFor",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;if(!kr(this))throw new TypeError("invalid receiver");var r=kn(e),i=Q(t),o=Hn(i);return hr(this,r,o)}},{key:"getPossibleInstantsFor",value:function(e){if(!kr(this))throw new TypeError("invalid receiver");var t=kn(e),r=A("%Temporal.Instant%"),i=u(this,Zr);if(et(i)){var o=vn(u(t,O),u(t,M),u(t,R),u(t,Z),u(t,q),u(t,z),u(t,W),u(t,G),u(t,H));if(o===null)throw new RangeError("DateTime outside of supported range");var l=fn(i);return[new r(m.subtract(o,m.BigInt(l)))]}var s=function(d,h,f,v,g,y,D,p,w,_){var T=vn(h,f,v,g,y,D,p,w,_);if(T===null)throw new RangeError("DateTime outside of supported range");var b=m.subtract(T,Gr);m.lessThan(b,wt)&&(b=T);var C=m.add(T,Gr);m.greaterThan(C,Zn)&&(C=T);var k=nn(d,b),I=nn(d,C);return(k===I?[k]:[k,I]).map(function(F){var S=m.subtract(T,m.BigInt(F)),B=Go(d,S);if(h===B.year&&f===B.month&&v===B.day&&g===B.hour&&y===B.minute&&D===B.second&&p===B.millisecond&&w===B.microsecond&&_===B.nanosecond)return S}).filter(function(F){return F!==void 0})}(i,u(t,O),u(t,M),u(t,R),u(t,Z),u(t,q),u(t,z),u(t,W),u(t,G),u(t,H));return s.map(function(c){return new r(c)})}},{key:"getNextTransition",value:function(e){if(!kr(this))throw new TypeError("invalid receiver");var t=Pr(e),r=u(this,Zr);if(et(r)||r==="UTC")return null;var i=u(t,L),o=A("%Temporal.Instant%");return(i=Vo(r,i))===null?null:new o(i)}},{key:"getPreviousTransition",value:function(e){if(!kr(this))throw new TypeError("invalid receiver");var t=Pr(e),r=u(this,Zr);if(et(r)||r==="UTC")return null;var i=u(t,L),o=A("%Temporal.Instant%");return(i=ca(r,i))===null?null:new o(i)}},{key:"toString",value:function(){if(!kr(this))throw new TypeError("invalid receiver");return u(this,Zr)}},{key:"toJSON",value:function(){if(!kr(this))throw new TypeError("invalid receiver");return u(this,Zr)}}],[{key:"from",value:function(e){return Yo(Xe(e))}}]),a}();xr(jt,"Temporal.TimeZone"),pe("Temporal.TimeZone.prototype.getOffsetNanosecondsFor",jt.prototype.getOffsetNanosecondsFor),pe("Temporal.TimeZone.prototype.getPossibleInstantsFor",jt.prototype.getPossibleInstantsFor);var nl=Object.create,xa=function(){function a(n,e){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"iso8601",r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;ae(this,a);var i=ee(n),o=ee(e),l=wr(t),s=ee(r);So(this,i,o,l,s)}return oe(a,[{key:"year",get:function(){if(!ne(this))throw new TypeError("invalid receiver");return oi(u(this,E),this)}},{key:"month",get:function(){if(!ne(this))throw new TypeError("invalid receiver");return ui(u(this,E),this)}},{key:"monthCode",get:function(){if(!ne(this))throw new TypeError("invalid receiver");return Bt(u(this,E),this)}},{key:"calendarId",get:function(){if(!ne(this))throw new TypeError("invalid receiver");return Ge(u(this,E))}},{key:"era",get:function(){if(!ne(this))throw new TypeError("invalid receiver");return si(u(this,E),this)}},{key:"eraYear",get:function(){if(!ne(this))throw new TypeError("invalid receiver");return li(u(this,E),this)}},{key:"daysInMonth",get:function(){if(!ne(this))throw new TypeError("invalid receiver");return ci(u(this,E),this)}},{key:"daysInYear",get:function(){if(!ne(this))throw new TypeError("invalid receiver");return di(u(this,E),this)}},{key:"monthsInYear",get:function(){if(!ne(this))throw new TypeError("invalid receiver");return hi(u(this,E),this)}},{key:"inLeapYear",get:function(){if(!ne(this))throw new TypeError("invalid receiver");return mi(u(this,E),this)}},{key:"with",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;if(!ne(this))throw new TypeError("invalid receiver");if(!me(e))throw new TypeError("invalid argument");Gn(e);var r=Q(t),i=u(this,E),o=Ae(i,["month","monthCode","year"]),l=$(this,o,[]),s=$(e,o,"partial");return Fn(i,l=$(l=In(i,l,s),o,[]),r)}},{key:"add",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;if(!ne(this))throw new TypeError("invalid receiver");return yu("add",this,e,t)}},{key:"subtract",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;if(!ne(this))throw new TypeError("invalid receiver");return yu("subtract",this,e,t)}},{key:"until",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;if(!ne(this))throw new TypeError("invalid receiver");return lu("until",this,e,t)}},{key:"since",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;if(!ne(this))throw new TypeError("invalid receiver");return lu("since",this,e,t)}},{key:"equals",value:function(e){if(!ne(this))throw new TypeError("invalid receiver");for(var t=Ct(e),r=0,i=[O,M,R];r<i.length;r++){var o=i[r];if(u(this,o)!==u(t,o))return!1}return St(u(this,E),u(t,E))}},{key:"toString",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0;if(!ne(this))throw new TypeError("invalid receiver");var t=Q(e),r=_t(t);return Zo(this,r)}},{key:"toJSON",value:function(){if(!ne(this))throw new TypeError("invalid receiver");return Zo(this)}},{key:"toLocaleString",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;if(!ne(this))throw new TypeError("invalid receiver");return new ln(e,t).format(this)}},{key:"valueOf",value:function(){throw new TypeError("use compare() or equals() to compare Temporal.PlainYearMonth")}},{key:"toPlainDate",value:function(e){if(!ne(this))throw new TypeError("invalid receiver");if(!me(e))throw new TypeError("argument should be an object");var t=u(this,E),r=Ae(t,["monthCode","year"]),i=$(this,r,[]),o=Ae(t,["day"]),l=In(t,i,$(e,o,[]));l=$(l,Mr(new Set([].concat(Mr(r),Mr(o)))),[]);var s=nl(null);return s.overflow="reject",rn(t,l,s)}},{key:"getISOFields",value:function(){if(!ne(this))throw new TypeError("invalid receiver");return{calendar:u(this,E),isoDay:u(this,R),isoMonth:u(this,M),isoYear:u(this,O)}}},{key:"getCalendar",value:function(){if(!ne(this))throw new TypeError("invalid receiver");return Kn(u(this,E))}}],[{key:"from",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,r=Q(t);return ne(e)?(ke(r),Ft(u(e,O),u(e,M),u(e,E),u(e,R))):Ct(e,r)}},{key:"compare",value:function(e,t){var r=Ct(e),i=Ct(t);return yn(u(r,O),u(r,M),u(r,R),u(i,O),u(i,M),u(i,R))}}]),a}();xr(xa,"Temporal.PlainYearMonth");var tl=ln.prototype.resolvedOptions,il=Object.create,Za=function(){function a(n,e){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"iso8601";if(ae(this,a),arguments.length<1)throw new TypeError("missing argument: epochNanoseconds is required");var r=Rt(n),i=Xe(e),o=wr(t);Mo(this,r,i,o)}return oe(a,[{key:"calendarId",get:function(){if(!P(this))throw new TypeError("invalid receiver");return Ge(u(this,E))}},{key:"timeZoneId",get:function(){if(!P(this))throw new TypeError("invalid receiver");return Mt(u(this,ue))}},{key:"year",get:function(){if(!P(this))throw new TypeError("invalid receiver");return oi(u(this,E),ce(this))}},{key:"month",get:function(){if(!P(this))throw new TypeError("invalid receiver");return ui(u(this,E),ce(this))}},{key:"monthCode",get:function(){if(!P(this))throw new TypeError("invalid receiver");return Bt(u(this,E),ce(this))}},{key:"day",get:function(){if(!P(this))throw new TypeError("invalid receiver");return At(u(this,E),ce(this))}},{key:"hour",get:function(){if(!P(this))throw new TypeError("invalid receiver");return u(ce(this),Z)}},{key:"minute",get:function(){if(!P(this))throw new TypeError("invalid receiver");return u(ce(this),q)}},{key:"second",get:function(){if(!P(this))throw new TypeError("invalid receiver");return u(ce(this),z)}},{key:"millisecond",get:function(){if(!P(this))throw new TypeError("invalid receiver");return u(ce(this),W)}},{key:"microsecond",get:function(){if(!P(this))throw new TypeError("invalid receiver");return u(ce(this),G)}},{key:"nanosecond",get:function(){if(!P(this))throw new TypeError("invalid receiver");return u(ce(this),H)}},{key:"era",get:function(){if(!P(this))throw new TypeError("invalid receiver");return si(u(this,E),ce(this))}},{key:"eraYear",get:function(){if(!P(this))throw new TypeError("invalid receiver");return li(u(this,E),ce(this))}},{key:"epochSeconds",get:function(){if(!P(this))throw new TypeError("invalid receiver");var e=u(this,L);return m.toNumber(tt(e,Wr))}},{key:"epochMilliseconds",get:function(){if(!P(this))throw new TypeError("invalid receiver");var e=u(this,L);return m.toNumber(tt(e,_r))}},{key:"epochMicroseconds",get:function(){if(!P(this))throw new TypeError("invalid receiver");return ki(tt(u(this,L),re))}},{key:"epochNanoseconds",get:function(){if(!P(this))throw new TypeError("invalid receiver");return ki(u(this,L))}},{key:"dayOfWeek",get:function(){if(!P(this))throw new TypeError("invalid receiver");return ra(u(this,E),ce(this))}},{key:"dayOfYear",get:function(){if(!P(this))throw new TypeError("invalid receiver");return na(u(this,E),ce(this))}},{key:"weekOfYear",get:function(){if(!P(this))throw new TypeError("invalid receiver");return ta(u(this,E),ce(this))}},{key:"yearOfWeek",get:function(){if(!P(this))throw new TypeError("invalid receiver");return ia(u(this,E),ce(this))}},{key:"hoursInDay",get:function(){if(!P(this))throw new TypeError("invalid receiver");var e=ce(this),t=A("%Temporal.PlainDateTime%"),r=u(e,O),i=u(e,M),o=u(e,R),l=new t(r,i,o,0,0,0,0,0,0),s=On(r,i,o,0,0,0,1,"reject"),c=new t(s.year,s.month,s.day,0,0,0,0,0,0),d=u(this,ue),h=u(hr(d,l,"compatible"),L),f=u(hr(d,c,"compatible"),L);return $r(m.subtract(f,h),go)}},{key:"daysInWeek",get:function(){if(!P(this))throw new TypeError("invalid receiver");return aa(u(this,E),ce(this))}},{key:"daysInMonth",get:function(){if(!P(this))throw new TypeError("invalid receiver");return ci(u(this,E),ce(this))}},{key:"daysInYear",get:function(){if(!P(this))throw new TypeError("invalid receiver");return di(u(this,E),ce(this))}},{key:"monthsInYear",get:function(){if(!P(this))throw new TypeError("invalid receiver");return hi(u(this,E),ce(this))}},{key:"inLeapYear",get:function(){if(!P(this))throw new TypeError("invalid receiver");return mi(u(this,E),ce(this))}},{key:"offset",get:function(){if(!P(this))throw new TypeError("invalid receiver");return ua(u(this,ue),u(this,$e))}},{key:"offsetNanoseconds",get:function(){if(!P(this))throw new TypeError("invalid receiver");return Nr(u(this,ue),u(this,$e))}},{key:"with",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;if(!P(this))throw new TypeError("invalid receiver");if(!me(e))throw new TypeError("invalid zoned-date-time-like");Gn(e);var r=Q(t),i=u(this,E),o=Ae(i,["day","hour","microsecond","millisecond","minute","month","monthCode","nanosecond","second","year"]);o.push("offset");var l=$(this,o,["offset"]),s=$(e,o,"partial");l=$(l=In(i,l,s),o,["offset"]);var c=Hn(r),d=ni(r,"prefer"),h=bt(i,l,r),f=h.year,v=h.month,g=h.day,y=h.hour,D=h.minute,p=h.second,w=h.millisecond,_=h.microsecond,T=h.nanosecond,b=fn(l.offset),C=u(this,ue),k=ai(f,v,g,y,D,p,w,_,T,"option",b,C,c,d,!1);return ze(k,C,i)}},{key:"withPlainDate",value:function(e){if(!P(this))throw new TypeError("invalid receiver");var t=le(e),r=u(t,O),i=u(t,M),o=u(t,R),l=u(t,E),s=ce(this),c=u(s,Z),d=u(s,q),h=u(s,z),f=u(s,W),v=u(s,G),g=u(s,H);l=Ro(u(this,E),l);var y=u(this,ue);return ze(u(hr(y,new(A("%Temporal.PlainDateTime%"))(r,i,o,c,d,h,f,v,g,l),"compatible"),L),y,l)}},{key:"withPlainTime",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0;if(!P(this))throw new TypeError("invalid receiver");var t=A("%Temporal.PlainTime%"),r=e===void 0?new t:en(e),i=ce(this),o=u(i,O),l=u(i,M),s=u(i,R),c=u(this,E),d=u(r,Z),h=u(r,q),f=u(r,z),v=u(r,W),g=u(r,G),y=u(r,H),D=u(this,ue),p=A("%Temporal.PlainDateTime%"),w=new p(o,l,s,d,h,f,v,g,y,c),_=hr(D,w,"compatible");return ze(u(_,L),D,c)}},{key:"withTimeZone",value:function(e){if(!P(this))throw new TypeError("invalid receiver");var t=Xe(e);return ze(u(this,L),t,u(this,E))}},{key:"withCalendar",value:function(e){if(!P(this))throw new TypeError("invalid receiver");var t=wr(e);return ze(u(this,L),u(this,ue),t)}},{key:"add",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;if(!P(this))throw new TypeError("invalid receiver");return pu("add",this,e,t)}},{key:"subtract",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;if(!P(this))throw new TypeError("invalid receiver");return pu("subtract",this,e,t)}},{key:"until",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;if(!P(this))throw new TypeError("invalid receiver");return cu("until",this,e,t)}},{key:"since",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;if(!P(this))throw new TypeError("invalid receiver");return cu("since",this,e,t)}},{key:"round",value:function(e){if(!P(this))throw new TypeError("invalid receiver");if(e===void 0)throw new TypeError("options parameter is required");var t=typeof e=="string"?it("smallestUnit",e):Q(e),r=Jn(t),i=Yr(t,"halfExpand"),o=yr(t,"smallestUnit","time",bn,["day"]),l={day:1,hour:24,minute:60,second:60,millisecond:1e3,microsecond:1e3,nanosecond:1e3}[o];Vn(r,l,l===1);var s=ce(this),c=u(s,O),d=u(s,M),h=u(s,R),f=u(s,Z),v=u(s,q),g=u(s,z),y=u(s,W),D=u(s,G),p=u(s,H),w=A("%Temporal.PlainDateTime%"),_=u(this,ue),T=u(this,E),b=hr(_,new w(u(s,O),u(s,M),u(s,R),0,0,0,0,0,0),"compatible"),C=Fr(b,_,T,0,0,0,1,0,0,0,0,0,0),k=m.subtract(C,m.BigInt(u(b,L)));if(m.lessThanOrEqual(k,De))throw new RangeError("cannot round a ZonedDateTime in a calendar with zero or negative length days");var I=Da(c,d,h,f,v,g,y,D,p,r,o,i,m.toNumber(k));return ze(ai(c=I.year,d=I.month,h=I.day,f=I.hour,v=I.minute,g=I.second,y=I.millisecond,D=I.microsecond,p=I.nanosecond,"option",Nr(_,u(this,$e)),_,"compatible","prefer",!1),_,u(this,E))}},{key:"equals",value:function(e){if(!P(this))throw new TypeError("invalid receiver");var t=kt(e),r=u(this,L),i=u(t,L);return!!m.equal(m.BigInt(r),m.BigInt(i))&&!!Po(u(this,ue),u(t,ue))&&St(u(this,E),u(t,E))}},{key:"toString",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0;if(!P(this))throw new TypeError("invalid receiver");var t=Q(e),r=_t(t),i=Tt(t),o=_s(t),l=Yr(t,"trunc"),s=yr(t,"smallestUnit","time",void 0);if(s==="hour")throw new RangeError('smallestUnit must be a time unit other than "hour"');var c=Ds(t),d=Et(s,i),h=d.precision,f=d.unit,v=d.increment;return qo(this,h,r,c,o,{unit:f,increment:v,roundingMode:l})}},{key:"toLocaleString",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;if(!P(this))throw new TypeError("invalid receiver");var r=Q(t),i=il(null);if(Wn(i,r,["timeZone"]),r.timeZone!==void 0)throw new TypeError("ZonedDateTime toLocaleString does not accept a timeZone option");i.year===void 0&&i.month===void 0&&i.day===void 0&&i.weekday===void 0&&i.dateStyle===void 0&&i.hour===void 0&&i.minute===void 0&&i.second===void 0&&i.timeStyle===void 0&&i.dayPeriod===void 0&&i.timeZoneName===void 0&&(i.timeZoneName="short");var o=Mt(u(this,ue));if(et(o))throw new RangeError("toLocaleString does not support offset string time zones");o=la(o),i.timeZone=o;var l=new ln(e,i),s=N(tl,l,[]).calendar,c=Ge(u(this,E));if(c!=="iso8601"&&s!=="iso8601"&&s!==c)throw new RangeError("cannot format ZonedDateTime with calendar ".concat(c)+" in locale with calendar ".concat(s));return l.format(u(this,$e))}},{key:"toJSON",value:function(){if(!P(this))throw new TypeError("invalid receiver");return qo(this,"auto")}},{key:"valueOf",value:function(){throw new TypeError("use compare() or equals() to compare Temporal.ZonedDateTime")}},{key:"startOfDay",value:function(){if(!P(this))throw new TypeError("invalid receiver");var e=ce(this),t=A("%Temporal.PlainDateTime%"),r=u(this,E),i=new t(u(e,O),u(e,M),u(e,R),0,0,0,0,0,0,r),o=u(this,ue);return ze(u(hr(o,i,"compatible"),L),o,r)}},{key:"toInstant",value:function(){if(!P(this))throw new TypeError("invalid receiver");return new(A("%Temporal.Instant%"))(u(this,L))}},{key:"toPlainDate",value:function(){if(!P(this))throw new TypeError("invalid receiver");return Qn(ce(this))}},{key:"toPlainTime",value:function(){if(!P(this))throw new TypeError("invalid receiver");return oa(ce(this))}},{key:"toPlainDateTime",value:function(){if(!P(this))throw new TypeError("invalid receiver");return ce(this)}},{key:"toPlainYearMonth",value:function(){if(!P(this))throw new TypeError("invalid receiver");var e=u(this,E);return Fn(e,$(this,Ae(e,["monthCode","year"]),[]))}},{key:"toPlainMonthDay",value:function(){if(!P(this))throw new TypeError("invalid receiver");var e=u(this,E);return Xn(e,$(this,Ae(e,["day","monthCode"]),[]))}},{key:"getISOFields",value:function(){if(!P(this))throw new TypeError("invalid receiver");var e=ce(this),t=u(this,ue);return{calendar:u(this,E),isoDay:u(e,R),isoHour:u(e,Z),isoMicrosecond:u(e,G),isoMillisecond:u(e,W),isoMinute:u(e,q),isoMonth:u(e,M),isoNanosecond:u(e,H),isoSecond:u(e,z),isoYear:u(e,O),offset:ua(t,u(this,$e)),timeZone:t}}},{key:"getCalendar",value:function(){if(!P(this))throw new TypeError("invalid receiver");return Kn(u(this,E))}},{key:"getTimeZone",value:function(){if(!P(this))throw new TypeError("invalid receiver");return Yo(u(this,ue))}}],[{key:"from",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,r=Q(t);return P(e)?(Hn(r),ni(r,"reject"),ke(r),ze(u(e,L),u(e,ue),u(e,E))):kt(e,r)}},{key:"compare",value:function(e,t){var r=kt(e),i=kt(t),o=u(r,L),l=u(i,L);return m.lessThan(m.BigInt(o),m.BigInt(l))?-1:m.greaterThan(m.BigInt(o),m.BigInt(l))?1:0}}]),a}();function ce(a){return Er(u(a,ue),u(a,$e),u(a,E))}xr(Za,"Temporal.ZonedDateTime");for(var al=Object.freeze({__proto__:null,Calendar:be,Duration:Pa,Instant:Ii,Now:zu,PlainDate:Ra,PlainDateTime:Ya,PlainMonthDay:Na,PlainTime:Ua,PlainYearMonth:xa,TimeZone:jt,ZonedDateTime:Za}),qa=0,Gu=[Ii,be,Ra,Ya,Pa,Na,Ua,jt,xa,Za];qa<Gu.length;qa++){var Hu=Gu[qa],Yn=Object.getOwnPropertyDescriptor(Hu,"prototype");(Yn.configurable||Yn.enumerable||Yn.writable)&&(Yn.configurable=!1,Yn.enumerable=!1,Yn.writable=!1,Object.defineProperty(Hu,"prototype",Yn))}Wt.Intl=As,Wt.Temporal=al,Wt.toTemporalInstant=function(){var n=m.multiply(m.BigInt(+this),_r);return new Ii(n)}})})(Vu,Vu.exports);export{Vu as i};
|