@commercetools/nimbus 0.0.0-canary-20250821120924 → 0.0.0-canary-20250821130546
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/checkbox.d.ts +8 -6
- package/dist/chunks/{Button-Dbso0-qF.es.js → Button-C-yUWwZg.es.js} +4 -4
- package/dist/chunks/{Button-Dbso0-qF.es.js.map → Button-C-yUWwZg.es.js.map} +1 -1
- package/dist/chunks/{Button-BLV4Eycw.cjs.js → Button-DQ_WkLNH.cjs.js} +2 -2
- package/dist/chunks/{Button-BLV4Eycw.cjs.js.map → Button-DQ_WkLNH.cjs.js.map} +1 -1
- package/dist/chunks/Collection-BsItrctR.cjs.js +18 -0
- package/dist/chunks/Collection-BsItrctR.cjs.js.map +1 -0
- package/dist/chunks/Collection-DFZhstai.es.js +1896 -0
- package/dist/chunks/Collection-DFZhstai.es.js.map +1 -0
- package/dist/chunks/DateField-D-KvZd-Q.cjs.js +2 -0
- package/dist/chunks/{DateField-iMlYFknq.cjs.js.map → DateField-D-KvZd-Q.cjs.js.map} +1 -1
- package/dist/chunks/{DateField-pv0EoMnC.es.js → DateField-m1BUGo8i.es.js} +31 -30
- package/dist/chunks/{DateField-pv0EoMnC.es.js.map → DateField-m1BUGo8i.es.js.map} +1 -1
- package/dist/chunks/DatePicker-BQ6EfAU2.cjs.js +2 -0
- package/dist/chunks/{DatePicker-DhT2ekYj.cjs.js.map → DatePicker-BQ6EfAU2.cjs.js.map} +1 -1
- package/dist/chunks/{DatePicker-COZaw7tZ.es.js → DatePicker-ByWwypbW.es.js} +33 -31
- package/dist/chunks/{DatePicker-COZaw7tZ.es.js.map → DatePicker-ByWwypbW.es.js.map} +1 -1
- package/dist/chunks/Dialog-B4OIDU7t.cjs.js +2 -0
- package/dist/chunks/{Dialog-CptyD9rP.cjs.js.map → Dialog-B4OIDU7t.cjs.js.map} +1 -1
- package/dist/chunks/{Dialog-zk-xJfoo.es.js → Dialog-DNPIKkGE.es.js} +106 -104
- package/dist/chunks/{Dialog-zk-xJfoo.es.js.map → Dialog-DNPIKkGE.es.js.map} +1 -1
- package/dist/chunks/DragAndDrop-ChYb3tCX.es.js +81 -0
- package/dist/chunks/DragAndDrop-ChYb3tCX.es.js.map +1 -0
- package/dist/chunks/DragAndDrop-cOfUfFj8.cjs.js +2 -0
- package/dist/chunks/DragAndDrop-cOfUfFj8.cjs.js.map +1 -0
- package/dist/chunks/FieldError-CXcEMuBf.es.js +6 -0
- package/dist/chunks/FieldError-CXcEMuBf.es.js.map +1 -0
- package/dist/chunks/FieldError-DyGFfqST.cjs.js +2 -0
- package/dist/chunks/FieldError-DyGFfqST.cjs.js.map +1 -0
- package/dist/chunks/{FocusScope-GecpDnRx.cjs.js → FocusScope-B78iFLeF.cjs.js} +2 -2
- package/dist/chunks/{FocusScope-GecpDnRx.cjs.js.map → FocusScope-B78iFLeF.cjs.js.map} +1 -1
- package/dist/chunks/{FocusScope-DqjrxokF.es.js → FocusScope-C1Aw7j9H.es.js} +7 -7
- package/dist/chunks/{FocusScope-DqjrxokF.es.js.map → FocusScope-C1Aw7j9H.es.js.map} +1 -1
- package/dist/chunks/Form-BuOomA4T.cjs.js +2 -0
- package/dist/chunks/Form-BuOomA4T.cjs.js.map +1 -0
- package/dist/chunks/Form-CXcEMuBf.es.js +6 -0
- package/dist/chunks/Form-CXcEMuBf.es.js.map +1 -0
- package/dist/chunks/{Group-NyoRRxUI.cjs.js → Group-KVM7Xnxu.cjs.js} +2 -2
- package/dist/chunks/{Group-NyoRRxUI.cjs.js.map → Group-KVM7Xnxu.cjs.js.map} +1 -1
- package/dist/chunks/{Group-BrHhkg3Q.es.js → Group-kT8-3NGT.es.js} +3 -3
- package/dist/chunks/{Group-BrHhkg3Q.es.js.map → Group-kT8-3NGT.es.js.map} +1 -1
- package/dist/chunks/{Heading-P3M5XVwg.cjs.js → Heading-CQJ-3eon.cjs.js} +2 -2
- package/dist/chunks/{Heading-P3M5XVwg.cjs.js.map → Heading-CQJ-3eon.cjs.js.map} +1 -1
- package/dist/chunks/{Heading-6PRCde4r.es.js → Heading-DMBCkz0y.es.js} +10 -10
- package/dist/chunks/{Heading-6PRCde4r.es.js.map → Heading-DMBCkz0y.es.js.map} +1 -1
- package/dist/chunks/{Input-3b57jDmV.cjs.js → Input-93z9WR_a.cjs.js} +2 -2
- package/dist/chunks/{Input-3b57jDmV.cjs.js.map → Input-93z9WR_a.cjs.js.map} +1 -1
- package/dist/chunks/{Input-DEUFE8kQ.es.js → Input-C4REHQYD.es.js} +3 -3
- package/dist/chunks/{Input-DEUFE8kQ.es.js.map → Input-C4REHQYD.es.js.map} +1 -1
- package/dist/chunks/ListBox-B8Tz7EWS.es.js +615 -0
- package/dist/chunks/ListBox-B8Tz7EWS.es.js.map +1 -0
- package/dist/chunks/ListBox-CzZFXtHY.cjs.js +2 -0
- package/dist/chunks/ListBox-CzZFXtHY.cjs.js.map +1 -0
- package/dist/chunks/OverlayArrow-BD-oGsXg.es.js +452 -0
- package/dist/chunks/OverlayArrow-BD-oGsXg.es.js.map +1 -0
- package/dist/chunks/OverlayArrow-aq8OInch.cjs.js +2 -0
- package/dist/chunks/OverlayArrow-aq8OInch.cjs.js.map +1 -0
- package/dist/chunks/RSPContexts-B4yvXuBR.es.js +7 -0
- package/dist/chunks/{RSPContexts-AkhSBHGO.es.js.map → RSPContexts-B4yvXuBR.es.js.map} +1 -1
- package/dist/chunks/RSPContexts-CkSl9jRK.cjs.js +2 -0
- package/dist/chunks/{RSPContexts-CIAIlAKH.cjs.js.map → RSPContexts-CkSl9jRK.cjs.js.map} +1 -1
- package/dist/chunks/Separator-BUmWfQvi.es.js +573 -0
- package/dist/chunks/Separator-BUmWfQvi.es.js.map +1 -0
- package/dist/chunks/Separator-DBLZ41YB.cjs.js +2 -0
- package/dist/chunks/Separator-DBLZ41YB.cjs.js.map +1 -0
- package/dist/chunks/{TextArea-DfONO55t.cjs.js → TextArea-Cc0cDaeu.cjs.js} +2 -2
- package/dist/chunks/{TextArea-DfONO55t.cjs.js.map → TextArea-Cc0cDaeu.cjs.js.map} +1 -1
- package/dist/chunks/{TextArea-D31Tyn5f.es.js → TextArea-DIyosEKy.es.js} +3 -3
- package/dist/chunks/{TextArea-D31Tyn5f.es.js.map → TextArea-DIyosEKy.es.js.map} +1 -1
- package/dist/chunks/{ToggleButton-CgYoKWXE.cjs.js → ToggleButton-BbM5Zv6q.cjs.js} +2 -2
- package/dist/chunks/{ToggleButton-CgYoKWXE.cjs.js.map → ToggleButton-BbM5Zv6q.cjs.js.map} +1 -1
- package/dist/chunks/{ToggleButton-BwfjgdrS.es.js → ToggleButton-CgbTgCVi.es.js} +5 -5
- package/dist/chunks/{ToggleButton-BwfjgdrS.es.js.map → ToggleButton-CgbTgCVi.es.js.map} +1 -1
- package/dist/chunks/{VisuallyHidden-Cry3ILzH.cjs.js → VisuallyHidden-B4l0wZHw.cjs.js} +2 -2
- package/dist/chunks/{VisuallyHidden-Cry3ILzH.cjs.js.map → VisuallyHidden-B4l0wZHw.cjs.js.map} +1 -1
- package/dist/chunks/{VisuallyHidden-vWWAOaeB.es.js → VisuallyHidden-C38kRNm0.es.js} +2 -2
- package/dist/chunks/{VisuallyHidden-vWWAOaeB.es.js.map → VisuallyHidden-C38kRNm0.es.js.map} +1 -1
- package/dist/chunks/{accordion-BzVLPw0m.es.js → accordion-B_MC1ZEv.es.js} +3 -3
- package/dist/chunks/{accordion-BzVLPw0m.es.js.map → accordion-B_MC1ZEv.es.js.map} +1 -1
- package/dist/chunks/{accordion-CqVqPnnk.cjs.js → accordion-C9-YyEB4.cjs.js} +2 -2
- package/dist/chunks/{accordion-CqVqPnnk.cjs.js.map → accordion-C9-YyEB4.cjs.js.map} +1 -1
- package/dist/chunks/{alert-BjlXzvt9.es.js → alert-CgDrQdgE.es.js} +2 -2
- package/dist/chunks/{alert-BjlXzvt9.es.js.map → alert-CgDrQdgE.es.js.map} +1 -1
- package/dist/chunks/{alert-7fGS6Jtp.cjs.js → alert-DwDLsZeH.cjs.js} +2 -2
- package/dist/chunks/{alert-7fGS6Jtp.cjs.js.map → alert-DwDLsZeH.cjs.js.map} +1 -1
- package/dist/chunks/{button-CuhF1g5I.es.js → button-BCYZ1Ki2.es.js} +4 -4
- package/dist/chunks/{button-CuhF1g5I.es.js.map → button-BCYZ1Ki2.es.js.map} +1 -1
- package/dist/chunks/{button-DQVmtZsI.cjs.js → button-IGP--12e.cjs.js} +2 -2
- package/dist/chunks/{button-DQVmtZsI.cjs.js.map → button-IGP--12e.cjs.js.map} +1 -1
- package/dist/chunks/{calendar-CX2aTMuK.cjs.js → calendar-B3NlJSCo.cjs.js} +2 -2
- package/dist/chunks/{calendar-CX2aTMuK.cjs.js.map → calendar-B3NlJSCo.cjs.js.map} +1 -1
- package/dist/chunks/{calendar-Cgb94GBg.es.js → calendar-D3A1ryrp.es.js} +8 -8
- package/dist/chunks/{calendar-Cgb94GBg.es.js.map → calendar-D3A1ryrp.es.js.map} +1 -1
- package/dist/chunks/{card-DR7vGEKx.cjs.js → card-4i9NTJKM.cjs.js} +2 -2
- package/dist/chunks/{card-DR7vGEKx.cjs.js.map → card-4i9NTJKM.cjs.js.map} +1 -1
- package/dist/chunks/{card-DTunB9ZY.es.js → card-D1BUuNzg.es.js} +2 -2
- package/dist/chunks/{card-DTunB9ZY.es.js.map → card-D1BUuNzg.es.js.map} +1 -1
- package/dist/chunks/checkbox-DVb0qX6x.cjs.js +2 -0
- package/dist/chunks/checkbox-DVb0qX6x.cjs.js.map +1 -0
- package/dist/chunks/checkbox-DlYjw56x.es.js +219 -0
- package/dist/chunks/checkbox-DlYjw56x.es.js.map +1 -0
- package/dist/chunks/{combobox-1Kzme-cs.es.js → combobox-BWjVkgOn.es.js} +666 -663
- package/dist/chunks/{combobox-1Kzme-cs.es.js.map → combobox-BWjVkgOn.es.js.map} +1 -1
- package/dist/chunks/combobox-C3foptTP.cjs.js +2 -0
- package/dist/chunks/{combobox-9_6OFmgk.cjs.js.map → combobox-C3foptTP.cjs.js.map} +1 -1
- package/dist/chunks/data-table-BRjRsTel.cjs.js +2 -0
- package/dist/chunks/data-table-BRjRsTel.cjs.js.map +1 -0
- package/dist/chunks/data-table-DR210vqX.es.js +3912 -0
- package/dist/chunks/data-table-DR210vqX.es.js.map +1 -0
- package/dist/chunks/{date-input-BiNLEpfR.cjs.js → date-input-BFHLRnBr.cjs.js} +2 -2
- package/dist/chunks/{date-input-BiNLEpfR.cjs.js.map → date-input-BFHLRnBr.cjs.js.map} +1 -1
- package/dist/chunks/{date-input-DU74Qqxa.es.js → date-input-tNUDaNSO.es.js} +4 -4
- package/dist/chunks/{date-input-DU74Qqxa.es.js.map → date-input-tNUDaNSO.es.js.map} +1 -1
- package/dist/chunks/{date-picker-BU4NVftG.cjs.js → date-picker-GqOazmSZ.cjs.js} +2 -2
- package/dist/chunks/{date-picker-BU4NVftG.cjs.js.map → date-picker-GqOazmSZ.cjs.js.map} +1 -1
- package/dist/chunks/{date-picker-D6h7NeRV.es.js → date-picker-J6nYu3zN.es.js} +12 -12
- package/dist/chunks/{date-picker-D6h7NeRV.es.js.map → date-picker-J6nYu3zN.es.js.map} +1 -1
- package/dist/chunks/{date-range-picker-BhWMCCGo.cjs.js → date-range-picker-D_gkG0on.cjs.js} +2 -2
- package/dist/chunks/{date-range-picker-BhWMCCGo.cjs.js.map → date-range-picker-D_gkG0on.cjs.js.map} +1 -1
- package/dist/chunks/{date-range-picker-DouNAx8F.es.js → date-range-picker-DxIXHOC2.es.js} +12 -12
- package/dist/chunks/{date-range-picker-DouNAx8F.es.js.map → date-range-picker-DxIXHOC2.es.js.map} +1 -1
- package/dist/chunks/{extractStyleProps-DV7dej9J.es.js → extractStyleProps-BEa9kwlY.es.js} +2 -2
- package/dist/chunks/{extractStyleProps-DV7dej9J.es.js.map → extractStyleProps-BEa9kwlY.es.js.map} +1 -1
- package/dist/chunks/{focusSafely-IqPqYGW2.cjs.js → focusSafely-CpzfaUTO.cjs.js} +2 -2
- package/dist/chunks/{focusSafely-IqPqYGW2.cjs.js.map → focusSafely-CpzfaUTO.cjs.js.map} +1 -1
- package/dist/chunks/{focusSafely-Z_llPDi1.es.js → focusSafely-Di2ArC9L.es.js} +3 -3
- package/dist/chunks/{focusSafely-Z_llPDi1.es.js.map → focusSafely-Di2ArC9L.es.js.map} +1 -1
- package/dist/chunks/{form-field-DyC1BwgL.es.js → form-field-B1vOlQXH.es.js} +3 -3
- package/dist/chunks/{form-field-DyC1BwgL.es.js.map → form-field-B1vOlQXH.es.js.map} +1 -1
- package/dist/chunks/{form-field-CtS2lThW.cjs.js → form-field-CM_uSyZr.cjs.js} +2 -2
- package/dist/chunks/{form-field-CtS2lThW.cjs.js.map → form-field-CM_uSyZr.cjs.js.map} +1 -1
- package/dist/chunks/{group-C-AOBEBA.es.js → group-BQeamedA.es.js} +2 -2
- package/dist/chunks/{group-C-AOBEBA.es.js.map → group-BQeamedA.es.js.map} +1 -1
- package/dist/chunks/{group-BlwUrhBo.cjs.js → group-BwSwp_8B.cjs.js} +2 -2
- package/dist/chunks/{group-BlwUrhBo.cjs.js.map → group-BwSwp_8B.cjs.js.map} +1 -1
- package/dist/chunks/{icon-button-eAxeO5Sy.es.js → icon-button-DhmHHVhL.es.js} +2 -2
- package/dist/chunks/{icon-button-eAxeO5Sy.es.js.map → icon-button-DhmHHVhL.es.js.map} +1 -1
- package/dist/chunks/{icon-button-Dz81DR3X.cjs.js → icon-button-KMr_sm5y.cjs.js} +2 -2
- package/dist/chunks/{icon-button-Dz81DR3X.cjs.js.map → icon-button-KMr_sm5y.cjs.js.map} +1 -1
- package/dist/chunks/{icon-toggle-button-JIH-oYkL.es.js → icon-toggle-button-Dfzrgtgw.es.js} +2 -2
- package/dist/chunks/{icon-toggle-button-JIH-oYkL.es.js.map → icon-toggle-button-Dfzrgtgw.es.js.map} +1 -1
- package/dist/chunks/{icon-toggle-button-C0lscD-H.cjs.js → icon-toggle-button-p3GT9QUC.cjs.js} +2 -2
- package/dist/chunks/{icon-toggle-button-C0lscD-H.cjs.js.map → icon-toggle-button-p3GT9QUC.cjs.js.map} +1 -1
- package/dist/chunks/{index-BbFVxNB8.es.js → index-BDmBxsjm.es.js} +3 -18
- package/dist/chunks/index-BDmBxsjm.es.js.map +1 -0
- package/dist/chunks/index-XyB4gGC8.cjs.js.map +1 -1
- package/dist/chunks/intlStrings-Cd44R5hT.es.js +279 -0
- package/dist/chunks/intlStrings-Cd44R5hT.es.js.map +1 -0
- package/dist/chunks/intlStrings-ClBuC6xN.cjs.js +2 -0
- package/dist/chunks/intlStrings-ClBuC6xN.cjs.js.map +1 -0
- package/dist/chunks/{link-sv3Y9kiL.cjs.js → link-B2cOAxZz.cjs.js} +2 -2
- package/dist/chunks/{link-sv3Y9kiL.cjs.js.map → link-B2cOAxZz.cjs.js.map} +1 -1
- package/dist/chunks/{link-ghRc-njF.es.js → link-DteZUB4U.es.js} +4 -4
- package/dist/chunks/{link-ghRc-njF.es.js.map → link-DteZUB4U.es.js.map} +1 -1
- package/dist/chunks/{make-element-focusable-ZJARjxxy.es.js → make-element-focusable-_FWEyVtG.es.js} +2 -2
- package/dist/chunks/{make-element-focusable-ZJARjxxy.es.js.map → make-element-focusable-_FWEyVtG.es.js.map} +1 -1
- package/dist/chunks/{make-element-focusable-DH5D8RT_.cjs.js → make-element-focusable-fn-8kTQK.cjs.js} +2 -2
- package/dist/chunks/{make-element-focusable-DH5D8RT_.cjs.js.map → make-element-focusable-fn-8kTQK.cjs.js.map} +1 -1
- package/dist/chunks/{multiline-text-input-C92pFhFJ.es.js → multiline-text-input-BfG35UfF.es.js} +4 -4
- package/dist/chunks/{multiline-text-input-C92pFhFJ.es.js.map → multiline-text-input-BfG35UfF.es.js.map} +1 -1
- package/dist/chunks/{multiline-text-input-CyuK_OFR.cjs.js → multiline-text-input-ChVzVZob.cjs.js} +2 -2
- package/dist/chunks/{multiline-text-input-CyuK_OFR.cjs.js.map → multiline-text-input-ChVzVZob.cjs.js.map} +1 -1
- package/dist/chunks/{nimbus-provider-ayl_l7xS.es.js → nimbus-provider-DEQVQ5ZH.es.js} +3 -3
- package/dist/chunks/{nimbus-provider-ayl_l7xS.es.js.map → nimbus-provider-DEQVQ5ZH.es.js.map} +1 -1
- package/dist/chunks/{number-input-B1dhdihJ.cjs.js → number-input-9hCQtXai.cjs.js} +2 -2
- package/dist/chunks/{number-input-B1dhdihJ.cjs.js.map → number-input-9hCQtXai.cjs.js.map} +1 -1
- package/dist/chunks/{number-input-CW2-kmte.es.js → number-input-Kj7uy8Kj.es.js} +53 -53
- package/dist/chunks/{number-input-CW2-kmte.es.js.map → number-input-Kj7uy8Kj.es.js.map} +1 -1
- package/dist/chunks/{openLink-UGin_Dml.es.js → openLink-Ctl0AdAy.es.js} +2 -2
- package/dist/chunks/{openLink-UGin_Dml.es.js.map → openLink-Ctl0AdAy.es.js.map} +1 -1
- package/dist/chunks/{password-input-Cu0dFS1a.es.js → password-input-B5jaUzRa.es.js} +4 -4
- package/dist/chunks/{password-input-Cu0dFS1a.es.js.map → password-input-B5jaUzRa.es.js.map} +1 -1
- package/dist/chunks/{password-input-JB8O_D-h.cjs.js → password-input-Bw0E-ejz.cjs.js} +2 -2
- package/dist/chunks/{password-input-JB8O_D-h.cjs.js.map → password-input-Bw0E-ejz.cjs.js.map} +1 -1
- package/dist/chunks/{platform-BuOpbxqC.es.js → platform-Z5fvtFmM.es.js} +3 -3
- package/dist/chunks/{platform-BuOpbxqC.es.js.map → platform-Z5fvtFmM.es.js.map} +1 -1
- package/dist/chunks/{progress-bar-CUa2a1GW.es.js → progress-bar-BkJEnG2U.es.js} +2 -2
- package/dist/chunks/{progress-bar-CUa2a1GW.es.js.map → progress-bar-BkJEnG2U.es.js.map} +1 -1
- package/dist/chunks/{radio-input-Dm2vi4Tr.es.js → radio-input-BX3XjxCZ.es.js} +18 -17
- package/dist/chunks/{radio-input-Dm2vi4Tr.es.js.map → radio-input-BX3XjxCZ.es.js.map} +1 -1
- package/dist/chunks/radio-input-D3ePwO1n.cjs.js +2 -0
- package/dist/chunks/{radio-input-ks3uMIHH.cjs.js.map → radio-input-D3ePwO1n.cjs.js.map} +1 -1
- package/dist/chunks/{range-calendar-BPr3OzhD.es.js → range-calendar-BgJMo6pU.es.js} +8 -8
- package/dist/chunks/{range-calendar-BPr3OzhD.es.js.map → range-calendar-BgJMo6pU.es.js.map} +1 -1
- package/dist/chunks/{range-calendar-p93X9--W.cjs.js → range-calendar-Bk_im2QK.cjs.js} +2 -2
- package/dist/chunks/{range-calendar-p93X9--W.cjs.js.map → range-calendar-Bk_im2QK.cjs.js.map} +1 -1
- package/dist/chunks/{scrollIntoView-DBSz0DQ7.es.js → scrollIntoView-BYF_8_6g.es.js} +5 -5
- package/dist/chunks/{scrollIntoView-DBSz0DQ7.es.js.map → scrollIntoView-BYF_8_6g.es.js.map} +1 -1
- package/dist/chunks/select-DUhCYblF.cjs.js +2 -0
- package/dist/chunks/select-DUhCYblF.cjs.js.map +1 -0
- package/dist/chunks/select-N8FpTFMk.es.js +560 -0
- package/dist/chunks/select-N8FpTFMk.es.js.map +1 -0
- package/dist/chunks/split-button-CIHXMvxD.cjs.js +2 -0
- package/dist/chunks/{split-button-CcDW5RoK.cjs.js.map → split-button-CIHXMvxD.cjs.js.map} +1 -1
- package/dist/chunks/{split-button-CD_Lc9Zk.es.js → split-button-CyEM3H65.es.js} +32 -31
- package/dist/chunks/{split-button-CD_Lc9Zk.es.js.map → split-button-CyEM3H65.es.js.map} +1 -1
- package/dist/chunks/{switch-xIG_-I0g.es.js → switch-B4gRcARZ.es.js} +6 -6
- package/dist/chunks/{switch-xIG_-I0g.es.js.map → switch-B4gRcARZ.es.js.map} +1 -1
- package/dist/chunks/{switch-Crc8nVlW.cjs.js → switch-C3AG1gUR.cjs.js} +2 -2
- package/dist/chunks/{switch-Crc8nVlW.cjs.js.map → switch-C3AG1gUR.cjs.js.map} +1 -1
- package/dist/chunks/tag-group-BE8wfvqd.es.js +768 -0
- package/dist/chunks/tag-group-BE8wfvqd.es.js.map +1 -0
- package/dist/chunks/tag-group-BYQkpbiY.cjs.js +2 -0
- package/dist/chunks/tag-group-BYQkpbiY.cjs.js.map +1 -0
- package/dist/chunks/{text-input-Co1vIdZ4.es.js → text-input-ClB8DzCK.es.js} +5 -5
- package/dist/chunks/{text-input-Co1vIdZ4.es.js.map → text-input-ClB8DzCK.es.js.map} +1 -1
- package/dist/chunks/{text-input-C-OhJndO.cjs.js → text-input-DnS2RVDs.cjs.js} +2 -2
- package/dist/chunks/{text-input-C-OhJndO.cjs.js.map → text-input-DnS2RVDs.cjs.js.map} +1 -1
- package/dist/chunks/{time-input-DBhELOKp.cjs.js → time-input-BWkx15sb.cjs.js} +2 -2
- package/dist/chunks/{time-input-DBhELOKp.cjs.js.map → time-input-BWkx15sb.cjs.js.map} +1 -1
- package/dist/chunks/{time-input-Qllp0HZz.es.js → time-input-DWx_NjPa.es.js} +3 -3
- package/dist/chunks/{time-input-Qllp0HZz.es.js.map → time-input-DWx_NjPa.es.js.map} +1 -1
- package/dist/chunks/{toggle-button-DS19vPrG.es.js → toggle-button-CuDtxD_c.es.js} +4 -4
- package/dist/chunks/{toggle-button-DS19vPrG.es.js.map → toggle-button-CuDtxD_c.es.js.map} +1 -1
- package/dist/chunks/{toggle-button-DY1owmQc.cjs.js → toggle-button-PE5251Fm.cjs.js} +2 -2
- package/dist/chunks/{toggle-button-DY1owmQc.cjs.js.map → toggle-button-PE5251Fm.cjs.js.map} +1 -1
- package/dist/chunks/{toggle-button-group-BWIvUU_4.cjs.js → toggle-button-group-B2G_b7h8.cjs.js} +2 -2
- package/dist/chunks/{toggle-button-group-BWIvUU_4.cjs.js.map → toggle-button-group-B2G_b7h8.cjs.js.map} +1 -1
- package/dist/chunks/{toggle-button-group-CgjXp8XN.es.js → toggle-button-group-CXrwjOF0.es.js} +2 -2
- package/dist/chunks/{toggle-button-group-CgjXp8XN.es.js.map → toggle-button-group-CXrwjOF0.es.js.map} +1 -1
- package/dist/chunks/{toolbar-CjHj5fIX.cjs.js → toolbar-BxIQI626.cjs.js} +2 -2
- package/dist/chunks/{toolbar-CjHj5fIX.cjs.js.map → toolbar-BxIQI626.cjs.js.map} +1 -1
- package/dist/chunks/{toolbar-DLScuBdf.es.js → toolbar-D2CqoZzL.es.js} +4 -4
- package/dist/chunks/{toolbar-DLScuBdf.es.js.map → toolbar-D2CqoZzL.es.js.map} +1 -1
- package/dist/chunks/{tooltip-Q46epl2a.es.js → tooltip-Ya7L6lQR.es.js} +5 -5
- package/dist/chunks/{tooltip-Q46epl2a.es.js.map → tooltip-Ya7L6lQR.es.js.map} +1 -1
- package/dist/chunks/{tooltip-BB7ooTKa.cjs.js → tooltip-fOhxG4pp.cjs.js} +2 -2
- package/dist/chunks/{tooltip-BB7ooTKa.cjs.js.map → tooltip-fOhxG4pp.cjs.js.map} +1 -1
- package/dist/chunks/{useButton-DlcUcB98.es.js → useButton-Cgkz8UEs.es.js} +3 -3
- package/dist/chunks/{useButton-DlcUcB98.es.js.map → useButton-Cgkz8UEs.es.js.map} +1 -1
- package/dist/chunks/{useButton-hi3sM3Ce.cjs.js → useButton-D3BedLtL.cjs.js} +2 -2
- package/dist/chunks/{useButton-hi3sM3Ce.cjs.js.map → useButton-D3BedLtL.cjs.js.map} +1 -1
- package/dist/chunks/{useDateFormatter-kmlij37M.es.js → useDateFormatter-D9HBAX1w.es.js} +2 -2
- package/dist/chunks/{useDateFormatter-kmlij37M.es.js.map → useDateFormatter-D9HBAX1w.es.js.map} +1 -1
- package/dist/chunks/{useDateFormatter-Dw7VGiwz.cjs.js → useDateFormatter-G9oGkNG5.cjs.js} +2 -2
- package/dist/chunks/{useDateFormatter-Dw7VGiwz.cjs.js.map → useDateFormatter-G9oGkNG5.cjs.js.map} +1 -1
- package/dist/chunks/{useFocus-CXfPnJ5G.cjs.js → useFocus-BcBbbuWU.cjs.js} +2 -2
- package/dist/chunks/{useFocus-CXfPnJ5G.cjs.js.map → useFocus-BcBbbuWU.cjs.js.map} +1 -1
- package/dist/chunks/{useFocus-BvGvYIan.es.js → useFocus-CeI1jbl8.es.js} +2 -2
- package/dist/chunks/{useFocus-BvGvYIan.es.js.map → useFocus-CeI1jbl8.es.js.map} +1 -1
- package/dist/chunks/{useFocusRing-C1vq7lTw.es.js → useFocusRing-D8cwV0EM.es.js} +4 -4
- package/dist/chunks/{useFocusRing-C1vq7lTw.es.js.map → useFocusRing-D8cwV0EM.es.js.map} +1 -1
- package/dist/chunks/{useFocusRing-ixPPR18r.cjs.js → useFocusRing-DRIoF592.cjs.js} +2 -2
- package/dist/chunks/{useFocusRing-ixPPR18r.cjs.js.map → useFocusRing-DRIoF592.cjs.js.map} +1 -1
- package/dist/chunks/{useFocusVisible-BvNyuIMJ.es.js → useFocusVisible-C5ivHvqm.es.js} +3 -3
- package/dist/chunks/{useFocusVisible-BvNyuIMJ.es.js.map → useFocusVisible-C5ivHvqm.es.js.map} +1 -1
- package/dist/chunks/{useFocusVisible-ofYjJ-l6.cjs.js → useFocusVisible-bRnVksaU.cjs.js} +2 -2
- package/dist/chunks/{useFocusVisible-ofYjJ-l6.cjs.js.map → useFocusVisible-bRnVksaU.cjs.js.map} +1 -1
- package/dist/chunks/{useFocusWithin-Bf2suIR7.cjs.js → useFocusWithin-i-cVKYQ8.cjs.js} +2 -2
- package/dist/chunks/{useFocusWithin-Bf2suIR7.cjs.js.map → useFocusWithin-i-cVKYQ8.cjs.js.map} +1 -1
- package/dist/chunks/{useFocusWithin-s8WR5xWD.es.js → useFocusWithin-yfiHuOEs.es.js} +2 -2
- package/dist/chunks/{useFocusWithin-s8WR5xWD.es.js.map → useFocusWithin-yfiHuOEs.es.js.map} +1 -1
- package/dist/chunks/{useFocusable-9nZX8LFj.es.js → useFocusable-BghVNiQU.es.js} +3 -3
- package/dist/chunks/{useFocusable-9nZX8LFj.es.js.map → useFocusable-BghVNiQU.es.js.map} +1 -1
- package/dist/chunks/{useFocusable-lxn-toA4.cjs.js → useFocusable-avM9w6OE.cjs.js} +2 -2
- package/dist/chunks/{useFocusable-lxn-toA4.cjs.js.map → useFocusable-avM9w6OE.cjs.js.map} +1 -1
- package/dist/chunks/{useFormValidation-YmZxjLYm.es.js → useFormValidation-DJMNbIhx.es.js} +2 -2
- package/dist/chunks/{useFormValidation-YmZxjLYm.es.js.map → useFormValidation-DJMNbIhx.es.js.map} +1 -1
- package/dist/chunks/{useFormValidation-Cuj--965.cjs.js → useFormValidation-DJy_cdgv.cjs.js} +2 -2
- package/dist/chunks/{useFormValidation-Cuj--965.cjs.js.map → useFormValidation-DJy_cdgv.cjs.js.map} +1 -1
- package/dist/chunks/useHighlightSelectionDescription-DAR8wV79.es.js +598 -0
- package/dist/chunks/useHighlightSelectionDescription-DAR8wV79.es.js.map +1 -0
- package/dist/chunks/useHighlightSelectionDescription-DPwy1mkw.cjs.js +2 -0
- package/dist/chunks/useHighlightSelectionDescription-DPwy1mkw.cjs.js.map +1 -0
- package/dist/chunks/{useHover-CS1E3DZy.cjs.js → useHover-BlZx5CU2.cjs.js} +2 -2
- package/dist/chunks/{useHover-CS1E3DZy.cjs.js.map → useHover-BlZx5CU2.cjs.js.map} +1 -1
- package/dist/chunks/{useHover-D4cqdNG6.es.js → useHover-cJOf02TT.es.js} +2 -2
- package/dist/chunks/{useHover-D4cqdNG6.es.js.map → useHover-cJOf02TT.es.js.map} +1 -1
- package/dist/chunks/{usePress-CHQHbwut.es.js → usePress-BquTSwUd.es.js} +9 -7
- package/dist/chunks/{usePress-CHQHbwut.es.js.map → usePress-BquTSwUd.es.js.map} +1 -1
- package/dist/chunks/{usePress-EAB51g0R.cjs.js → usePress-D8F1U6qk.cjs.js} +3 -3
- package/dist/chunks/{usePress-EAB51g0R.cjs.js.map → usePress-D8F1U6qk.cjs.js.map} +1 -1
- package/dist/chunks/useResizeObserver-Dx-vDLiW.cjs.js +2 -0
- package/dist/chunks/useResizeObserver-Dx-vDLiW.cjs.js.map +1 -0
- package/dist/chunks/useResizeObserver-FIPBIG5S.es.js +32 -0
- package/dist/chunks/useResizeObserver-FIPBIG5S.es.js.map +1 -0
- package/dist/chunks/{useSingleSelectListState-C0yvvGsR.cjs.js → useSingleSelectListState-BpAVpRdZ.cjs.js} +2 -2
- package/dist/chunks/{useSingleSelectListState-C0yvvGsR.cjs.js.map → useSingleSelectListState-BpAVpRdZ.cjs.js.map} +1 -1
- package/dist/chunks/{useSingleSelectListState-uzLHyabs.es.js → useSingleSelectListState-CiK-JkEX.es.js} +2 -2
- package/dist/chunks/{useSingleSelectListState-uzLHyabs.es.js.map → useSingleSelectListState-CiK-JkEX.es.js.map} +1 -1
- package/dist/chunks/{useTextField-MxjVF2Cs.cjs.js → useTextField-Cv1jQqUp.cjs.js} +2 -2
- package/dist/chunks/{useTextField-MxjVF2Cs.cjs.js.map → useTextField-Cv1jQqUp.cjs.js.map} +1 -1
- package/dist/chunks/{useTextField-Dxspe3Dd.es.js → useTextField-Doh-sQHP.es.js} +4 -4
- package/dist/chunks/{useTextField-Dxspe3Dd.es.js.map → useTextField-Doh-sQHP.es.js.map} +1 -1
- package/dist/chunks/{useToggle-CTG3hkKx.cjs.js → useToggle-BK36AEko.cjs.js} +2 -2
- package/dist/chunks/{useToggle-CTG3hkKx.cjs.js.map → useToggle-BK36AEko.cjs.js.map} +1 -1
- package/dist/chunks/{useToggle-CCq_jSTE.es.js → useToggle-DcdigPKG.es.js} +3 -3
- package/dist/chunks/{useToggle-CCq_jSTE.es.js.map → useToggle-DcdigPKG.es.js.map} +1 -1
- package/dist/chunks/{useToolbar-Be7EMzF5.es.js → useToolbar-CYJ2PbtO.es.js} +2 -2
- package/dist/chunks/{useToolbar-Be7EMzF5.es.js.map → useToolbar-CYJ2PbtO.es.js.map} +1 -1
- package/dist/chunks/{useToolbar-Dx3B5fDy.cjs.js → useToolbar-D3B8DvbF.cjs.js} +2 -2
- package/dist/chunks/{useToolbar-Dx3B5fDy.cjs.js.map → useToolbar-D3B8DvbF.cjs.js.map} +1 -1
- package/dist/chunks/utils-BHVnNfaH.cjs.js +2 -0
- package/dist/chunks/{utils-JGx-H9sJ.cjs.js.map → utils-BHVnNfaH.cjs.js.map} +1 -1
- package/dist/chunks/{utils-BlXAWjB_.es.js → utils-Gg3iiYhl.es.js} +38 -34
- package/dist/chunks/{utils-BlXAWjB_.es.js.map → utils-Gg3iiYhl.es.js.map} +1 -1
- package/dist/chunks/{visually-hidden-DxNUFbOh.cjs.js → visually-hidden-Uhh-2Y-q.cjs.js} +2 -2
- package/dist/chunks/{visually-hidden-DxNUFbOh.cjs.js.map → visually-hidden-Uhh-2Y-q.cjs.js.map} +1 -1
- package/dist/chunks/{visually-hidden-Cr2DdJfv.es.js → visually-hidden-vh07nrZa.es.js} +2 -2
- package/dist/chunks/{visually-hidden-Cr2DdJfv.es.js.map → visually-hidden-vh07nrZa.es.js.map} +1 -1
- package/dist/components/accordion.cjs +1 -1
- package/dist/components/accordion.es.js +1 -1
- package/dist/components/alert.cjs +1 -1
- package/dist/components/alert.es.js +1 -1
- package/dist/components/button.cjs +1 -1
- package/dist/components/button.es.js +1 -1
- package/dist/components/calendar.cjs +1 -1
- package/dist/components/calendar.es.js +1 -1
- package/dist/components/card.cjs +1 -1
- package/dist/components/card.es.js +1 -1
- package/dist/components/checkbox.cjs +1 -1
- package/dist/components/checkbox.es.js +1 -1
- package/dist/components/combobox.cjs +1 -1
- package/dist/components/combobox.es.js +1 -1
- package/dist/components/components.cjs +1 -1
- package/dist/components/components.es.js +122 -108
- package/dist/components/components.es.js.map +1 -1
- package/dist/components/data-table.cjs +2 -0
- package/dist/components/data-table.cjs.map +1 -0
- package/dist/components/data-table.es.js +17 -0
- package/dist/components/data-table.es.js.map +1 -0
- package/dist/components/date-input.cjs +1 -1
- package/dist/components/date-input.es.js +1 -1
- package/dist/components/date-picker.cjs +1 -1
- package/dist/components/date-picker.es.js +1 -1
- package/dist/components/date-range-picker.cjs +1 -1
- package/dist/components/date-range-picker.es.js +1 -1
- package/dist/components/form-field.cjs +1 -1
- package/dist/components/form-field.es.js +1 -1
- package/dist/components/group.cjs +1 -1
- package/dist/components/group.es.js +1 -1
- package/dist/components/icon-button.cjs +1 -1
- package/dist/components/icon-button.es.js +1 -1
- package/dist/components/icon-toggle-button.cjs +1 -1
- package/dist/components/icon-toggle-button.es.js +1 -1
- package/dist/components/link.cjs +1 -1
- package/dist/components/link.es.js +1 -1
- package/dist/components/multiline-text-input.cjs +1 -1
- package/dist/components/multiline-text-input.es.js +1 -1
- package/dist/components/nimbus-provider.es.js +1 -1
- package/dist/components/number-input.cjs +1 -1
- package/dist/components/number-input.es.js +1 -1
- package/dist/components/password-input.cjs +1 -1
- package/dist/components/password-input.es.js +1 -1
- package/dist/components/progress-bar.es.js +1 -1
- package/dist/components/radio-input.cjs +1 -1
- package/dist/components/radio-input.es.js +1 -1
- package/dist/components/range-calendar.cjs +1 -1
- package/dist/components/range-calendar.es.js +1 -1
- package/dist/components/select.cjs +1 -1
- package/dist/components/select.es.js +1 -1
- package/dist/components/split-button.cjs +1 -1
- package/dist/components/split-button.es.js +1 -1
- package/dist/components/switch.cjs +1 -1
- package/dist/components/switch.es.js +1 -1
- package/dist/components/tag-group.cjs +1 -1
- package/dist/components/tag-group.es.js +1 -1
- package/dist/components/text-input.cjs +1 -1
- package/dist/components/text-input.es.js +1 -1
- package/dist/components/time-input.cjs +1 -1
- package/dist/components/time-input.es.js +1 -1
- package/dist/components/toggle-button-group.cjs +1 -1
- package/dist/components/toggle-button-group.es.js +1 -1
- package/dist/components/toggle-button.cjs +1 -1
- package/dist/components/toggle-button.es.js +1 -1
- package/dist/components/toolbar.cjs +1 -1
- package/dist/components/toolbar.es.js +1 -1
- package/dist/components/tooltip.cjs +1 -1
- package/dist/components/tooltip.es.js +2 -2
- package/dist/components/visually-hidden.cjs +1 -1
- package/dist/components/visually-hidden.es.js +1 -1
- package/dist/components.d.ts +258 -5
- package/dist/data-table.d.ts +268 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +258 -5
- package/dist/index.es.js +285 -407
- package/dist/index.es.js.map +1 -1
- package/package.json +6 -6
- package/dist/chunks/DateField-iMlYFknq.cjs.js +0 -2
- package/dist/chunks/DatePicker-DhT2ekYj.cjs.js +0 -2
- package/dist/chunks/Dialog-CptyD9rP.cjs.js +0 -2
- package/dist/chunks/Form-amb1SjpT.cjs.js +0 -2
- package/dist/chunks/Form-amb1SjpT.cjs.js.map +0 -1
- package/dist/chunks/Form-yBl0QZl8.es.js +0 -7
- package/dist/chunks/Form-yBl0QZl8.es.js.map +0 -1
- package/dist/chunks/ListBox-CWStps80.es.js +0 -662
- package/dist/chunks/ListBox-CWStps80.es.js.map +0 -1
- package/dist/chunks/ListBox-s8tRtwA0.cjs.js +0 -2
- package/dist/chunks/ListBox-s8tRtwA0.cjs.js.map +0 -1
- package/dist/chunks/OverlayArrow-BuwEfnJ_.es.js +0 -479
- package/dist/chunks/OverlayArrow-BuwEfnJ_.es.js.map +0 -1
- package/dist/chunks/OverlayArrow-C5Ymp9MC.cjs.js +0 -2
- package/dist/chunks/OverlayArrow-C5Ymp9MC.cjs.js.map +0 -1
- package/dist/chunks/RSPContexts-AkhSBHGO.es.js +0 -6
- package/dist/chunks/RSPContexts-CIAIlAKH.cjs.js +0 -2
- package/dist/chunks/Separator-DOmXRTmt.cjs.js +0 -18
- package/dist/chunks/Separator-DOmXRTmt.cjs.js.map +0 -1
- package/dist/chunks/Separator-jqT9Eof_.es.js +0 -2435
- package/dist/chunks/Separator-jqT9Eof_.es.js.map +0 -1
- package/dist/chunks/checkbox-Ci8-0C_9.cjs.js +0 -2
- package/dist/chunks/checkbox-Ci8-0C_9.cjs.js.map +0 -1
- package/dist/chunks/checkbox-CjpbV9HI.es.js +0 -90
- package/dist/chunks/checkbox-CjpbV9HI.es.js.map +0 -1
- package/dist/chunks/combobox-9_6OFmgk.cjs.js +0 -2
- package/dist/chunks/index-BbFVxNB8.es.js.map +0 -1
- package/dist/chunks/radio-input-ks3uMIHH.cjs.js +0 -2
- package/dist/chunks/select-DZ-oIsVV.cjs.js +0 -2
- package/dist/chunks/select-DZ-oIsVV.cjs.js.map +0 -1
- package/dist/chunks/select-sJlm2NT8.es.js +0 -831
- package/dist/chunks/select-sJlm2NT8.es.js.map +0 -1
- package/dist/chunks/split-button-CcDW5RoK.cjs.js +0 -2
- package/dist/chunks/tag-group-Dw0sYuC6.es.js +0 -1351
- package/dist/chunks/tag-group-Dw0sYuC6.es.js.map +0 -1
- package/dist/chunks/tag-group-lc7cj8fj.cjs.js +0 -2
- package/dist/chunks/tag-group-lc7cj8fj.cjs.js.map +0 -1
- package/dist/chunks/utils-JGx-H9sJ.cjs.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const j=require("./usePress-EAB51g0R.cjs.js"),vr=require("./context-D0_cRaDZ.cjs.js"),Pe=require("react");function Ze(r,e){let t=Pe.useRef(null);return r&&t.current&&e(r,t.current)&&(r=t.current),t.current=r,r}function Y(r,e){return r-e*Math.floor(r/e)}const Ve=1721426;function x(r,e,t,n){e=F(r,e);let a=e-1,o=-2;return t<=2?o=0:M(e)&&(o=-1),Ve-1+365*a+Math.floor(a/4)-Math.floor(a/100)+Math.floor(a/400)+Math.floor((367*t-362)/12+o+n)}function M(r){return r%4===0&&(r%100!==0||r%400===0)}function F(r,e){return r==="BC"?1-e:e}function X(r){let e="AD";return r<=0&&(e="BC",r=1-r),[e,r]}const Er={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]};class h{fromJulianDay(e){let t=e,n=t-Ve,a=Math.floor(n/146097),o=Y(n,146097),f=Math.floor(o/36524),c=Y(o,36524),i=Math.floor(c/1461),s=Y(c,1461),A=Math.floor(s/365),I=a*400+f*100+i*4+A+(f!==4&&A!==4?1:0),[C,D]=X(I),g=t-x(C,D,1,1),re=2;t<x(C,D,3,1)?re=0:M(D)&&(re=1);let Ae=Math.floor(((g+re)*12+373)/367),xr=t-x(C,D,Ae,1)+1;return new l(C,D,Ae,xr)}toJulianDay(e){return x(e.era,e.year,e.month,e.day)}getDaysInMonth(e){return Er[M(e.year)?"leapyear":"standard"][e.month-1]}getMonthsInYear(e){return 12}getDaysInYear(e){return M(e.year)?366:365}getYearsInEra(e){return 9999}getEras(){return["BC","AD"]}isInverseEra(e){return e.era==="BC"}balanceDate(e){e.year<=0&&(e.era=e.era==="BC"?"AD":"BC",e.year=1-e.year)}constructor(){this.identifier="gregory"}}const Ar={"001":1,AD:1,AE:6,AF:6,AI:1,AL:1,AM:1,AN:1,AR:1,AT:1,AU:1,AX:1,AZ:1,BA:1,BE:1,BG:1,BH:6,BM:1,BN:1,BY:1,CH:1,CL:1,CM:1,CN:1,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DZ:6,EC:1,EE:1,EG:6,ES:1,FI:1,FJ:1,FO:1,FR:1,GB:1,GE:1,GF:1,GP:1,GR:1,HR:1,HU:1,IE:1,IQ:6,IR:6,IS:1,IT:1,JO:6,KG:1,KW:6,KZ:1,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MK:1,MN:1,MQ:1,MV:5,MY:1,NL:1,NO:1,NZ:1,OM:6,PL:1,QA:6,RE:1,RO:1,RS:1,RU:1,SD:6,SE:1,SI:1,SK:1,SM:1,SY:6,TJ:1,TM:1,TR:1,UA:1,UY:1,UZ:1,VA:1,VN:1,XK:1};function de(r,e){return e=u(e,r.calendar),r.era===e.era&&r.year===e.year&&r.month===e.month&&r.day===e.day}function Ir(r,e){return e=u(e,r.calendar),r=L(r),e=L(e),r.era===e.era&&r.year===e.year&&r.month===e.month}function Cr(r,e){return ye(r.calendar,e.calendar)&&de(r,e)}function ye(r,e){var t,n,a,o;return(o=(a=(t=r.isEqual)===null||t===void 0?void 0:t.call(r,e))!==null&&a!==void 0?a:(n=e.isEqual)===null||n===void 0?void 0:n.call(e,r))!==null&&o!==void 0?o:r.identifier===e.identifier}function Sr(r,e){return de(r,Ke(e))}const Yr={sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6};function me(r,e,t){let n=r.calendar.toJulianDay(r),a=t?Yr[t]:Lr(e),o=Math.ceil(n+1-a)%7;return o<0&&(o+=7),o}function We(r){return m(Date.now(),r)}function Ke(r){return tr(We(r))}function Ge(r,e){return r.calendar.toJulianDay(r)-e.calendar.toJulianDay(e)}function je(r,e){return Ie(r)-Ie(e)}function Ie(r){return r.hour*36e5+r.minute*6e4+r.second*1e3+r.millisecond}let te=null;function be(){return te==null&&(te=new Intl.DateTimeFormat().resolvedOptions().timeZone),te}function L(r){return r.subtract({days:r.day-1})}function Br(r){return r.add({days:r.calendar.getDaysInMonth(r)-r.day})}function Rr(r){return L(r.subtract({months:r.month-1}))}function Tr(r){return r.calendar.getMinimumMonthInYear?r.calendar.getMinimumMonthInYear(r):1}function Ur(r){return r.calendar.getMinimumDayInMonth?r.calendar.getMinimumDayInMonth(r):1}function Xe(r,e,t){let n=me(r,e,t);return r.subtract({days:n})}function Jr(r,e,t){return Xe(r,e,t).add({days:6})}const Ce=new Map;function _r(r){if(Intl.Locale){let t=Ce.get(r);return t||(t=new Intl.Locale(r).maximize().region,t&&Ce.set(r,t)),t}let e=r.split("-")[1];return e==="u"?void 0:e}function Lr(r){let e=_r(r);return e&&Ar[e]||0}function kr(r,e,t){let n=r.calendar.getDaysInMonth(r);return Math.ceil((me(L(r),e,t)+n)/7)}function Or(r,e){return r&&e?r.compare(e)<=0?r:e:r||e}function Qr(r,e){return r&&e?r.compare(e)>=0?r:e:r||e}function T(r){r=u(r,new h);let e=F(r.era,r.year);return ze(e,r.month,r.day,r.hour,r.minute,r.second,r.millisecond)}function ze(r,e,t,n,a,o,f){let c=new Date;return c.setUTCHours(n,a,o,f),c.setUTCFullYear(r,e-1,t),c.getTime()}function ie(r,e){if(e==="UTC")return 0;if(r>0&&e===be())return new Date(r).getTimezoneOffset()*-6e4;let{year:t,month:n,day:a,hour:o,minute:f,second:c}=er(r,e);return ze(t,n,a,o,f,c,0)-Math.floor(r/1e3)*1e3}const Se=new Map;function er(r,e){let t=Se.get(e);t||(t=new Intl.DateTimeFormat("en-US",{timeZone:e,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),Se.set(e,t));let n=t.formatToParts(new Date(r)),a={};for(let o of n)o.type!=="literal"&&(a[o.type]=o.value);return{year:a.era==="BC"||a.era==="B"?-a.year+1:+a.year,month:+a.month,day:+a.day,hour:a.hour==="24"?0:+a.hour,minute:+a.minute,second:+a.second}}const Ye=864e5;function Fr(r,e,t,n){return(t===n?[t]:[t,n]).filter(o=>qr(r,e,o))}function qr(r,e,t){let n=er(t,e);return r.year===n.year&&r.month===n.month&&r.day===n.day&&r.hour===n.hour&&r.minute===n.minute&&r.second===n.second}function y(r,e,t="compatible"){let n=v(r);if(e==="UTC")return T(n);if(e===be()&&t==="compatible"){n=u(n,new h);let i=new Date,s=F(n.era,n.year);return i.setFullYear(s,n.month-1,n.day),i.setHours(n.hour,n.minute,n.second,n.millisecond),i.getTime()}let a=T(n),o=ie(a-Ye,e),f=ie(a+Ye,e),c=Fr(n,e,a-o,a-f);if(c.length===1)return c[0];if(c.length>1)switch(t){case"compatible":case"earlier":return c[0];case"later":return c[c.length-1];case"reject":throw new RangeError("Multiple possible absolute times found")}switch(t){case"earlier":return Math.min(a-o,a-f);case"compatible":case"later":return Math.max(a-o,a-f);case"reject":throw new RangeError("No such absolute time found")}}function rr(r,e,t="compatible"){return new Date(y(r,e,t))}function m(r,e){let t=ie(r,e),n=new Date(r+t),a=n.getUTCFullYear(),o=n.getUTCMonth()+1,f=n.getUTCDate(),c=n.getUTCHours(),i=n.getUTCMinutes(),s=n.getUTCSeconds(),A=n.getUTCMilliseconds();return new Q(a<1?"BC":"AD",a<1?-a+1:a,o,f,e,t,c,i,s,A)}function tr(r){return new l(r.calendar,r.era,r.year,r.month,r.day)}function v(r,e){let t=0,n=0,a=0,o=0;if("timeZone"in r)({hour:t,minute:n,second:a,millisecond:o}=r);else if("hour"in r&&!e)return r;return e&&({hour:t,minute:n,second:a,millisecond:o}=e),new O(r.calendar,r.era,r.year,r.month,r.day,t,n,a,o)}function Nr(r){return new ee(r.hour,r.minute,r.second,r.millisecond)}function u(r,e){if(ye(r.calendar,e))return r;let t=e.fromJulianDay(r.calendar.toJulianDay(r)),n=r.copy();return n.calendar=e,n.era=t.era,n.year=t.year,n.month=t.month,n.day=t.day,E(n),n}function nr(r,e,t){if(r instanceof Q)return r.timeZone===e?r:Pr(r,e);let n=y(r,e,t);return m(n,e)}function Hr(r){let e=T(r)-r.offset;return new Date(e)}function Pr(r,e){let t=T(r)-r.offset;return u(m(t,e),r.calendar)}const U=36e5;function z(r,e){let t=r.copy(),n="hour"in t?cr(t,e):0;le(t,e.years||0),t.calendar.balanceYearMonth&&t.calendar.balanceYearMonth(t,r),t.month+=e.months||0,se(t),ar(t),t.day+=(e.weeks||0)*7,t.day+=e.days||0,t.day+=n,Zr(t),t.calendar.balanceDate&&t.calendar.balanceDate(t),t.year<1&&(t.year=1,t.month=1,t.day=1);let a=t.calendar.getYearsInEra(t);if(t.year>a){var o,f;let i=(o=(f=t.calendar).isInverseEra)===null||o===void 0?void 0:o.call(f,t);t.year=a,t.month=i?1:t.calendar.getMonthsInYear(t),t.day=i?1:t.calendar.getDaysInMonth(t)}t.month<1&&(t.month=1,t.day=1);let c=t.calendar.getMonthsInYear(t);return t.month>c&&(t.month=c,t.day=t.calendar.getDaysInMonth(t)),t.day=Math.max(1,Math.min(t.calendar.getDaysInMonth(t),t.day)),t}function le(r,e){var t,n;!((t=(n=r.calendar).isInverseEra)===null||t===void 0)&&t.call(n,r)&&(e=-e),r.year+=e}function se(r){for(;r.month<1;)le(r,-1),r.month+=r.calendar.getMonthsInYear(r);let e=0;for(;r.month>(e=r.calendar.getMonthsInYear(r));)r.month-=e,le(r,1)}function Zr(r){for(;r.day<1;)r.month--,se(r),r.day+=r.calendar.getDaysInMonth(r);for(;r.day>r.calendar.getDaysInMonth(r);)r.day-=r.calendar.getDaysInMonth(r),r.month++,se(r)}function ar(r){r.month=Math.max(1,Math.min(r.calendar.getMonthsInYear(r),r.month)),r.day=Math.max(1,Math.min(r.calendar.getDaysInMonth(r),r.day))}function E(r){r.calendar.constrainDate&&r.calendar.constrainDate(r),r.year=Math.max(1,Math.min(r.calendar.getYearsInEra(r),r.year)),ar(r)}function ge(r){let e={};for(let t in r)typeof r[t]=="number"&&(e[t]=-r[t]);return e}function or(r,e){return z(r,ge(e))}function pe(r,e){let t=r.copy();return e.era!=null&&(t.era=e.era),e.year!=null&&(t.year=e.year),e.month!=null&&(t.month=e.month),e.day!=null&&(t.day=e.day),E(t),t}function k(r,e){let t=r.copy();return e.hour!=null&&(t.hour=e.hour),e.minute!=null&&(t.minute=e.minute),e.second!=null&&(t.second=e.second),e.millisecond!=null&&(t.millisecond=e.millisecond),fr(t),t}function Vr(r){r.second+=Math.floor(r.millisecond/1e3),r.millisecond=q(r.millisecond,1e3),r.minute+=Math.floor(r.second/60),r.second=q(r.second,60),r.hour+=Math.floor(r.minute/60),r.minute=q(r.minute,60);let e=Math.floor(r.hour/24);return r.hour=q(r.hour,24),e}function fr(r){r.millisecond=Math.max(0,Math.min(r.millisecond,1e3)),r.second=Math.max(0,Math.min(r.second,59)),r.minute=Math.max(0,Math.min(r.minute,59)),r.hour=Math.max(0,Math.min(r.hour,23))}function q(r,e){let t=r%e;return t<0&&(t+=e),t}function cr(r,e){return r.hour+=e.hours||0,r.minute+=e.minutes||0,r.second+=e.seconds||0,r.millisecond+=e.milliseconds||0,Vr(r)}function ir(r,e){let t=r.copy();return cr(t,e),t}function Wr(r,e){return ir(r,ge(e))}function Me(r,e,t,n){let a=r.copy();switch(e){case"era":{let c=r.calendar.getEras(),i=c.indexOf(r.era);if(i<0)throw new Error("Invalid era: "+r.era);i=b(i,t,0,c.length-1,n?.round),a.era=c[i],E(a);break}case"year":var o,f;!((o=(f=a.calendar).isInverseEra)===null||o===void 0)&&o.call(f,a)&&(t=-t),a.year=b(r.year,t,-1/0,9999,n?.round),a.year===-1/0&&(a.year=1),a.calendar.balanceYearMonth&&a.calendar.balanceYearMonth(a,r);break;case"month":a.month=b(r.month,t,1,r.calendar.getMonthsInYear(r),n?.round);break;case"day":a.day=b(r.day,t,1,r.calendar.getDaysInMonth(r),n?.round);break;default:throw new Error("Unsupported field "+e)}return r.calendar.balanceDate&&r.calendar.balanceDate(a),E(a),a}function De(r,e,t,n){let a=r.copy();switch(e){case"hour":{let o=r.hour,f=0,c=23;if(n?.hourCycle===12){let i=o>=12;f=i?12:0,c=i?23:11}a.hour=b(o,t,f,c,n?.round);break}case"minute":a.minute=b(r.minute,t,0,59,n?.round);break;case"second":a.second=b(r.second,t,0,59,n?.round);break;case"millisecond":a.millisecond=b(r.millisecond,t,0,999,n?.round);break;default:throw new Error("Unsupported field "+e)}return a}function b(r,e,t,n,a=!1){if(a){r+=Math.sign(e),r<t&&(r=n);let o=Math.abs(e);e>0?r=Math.ceil(r/o)*o:r=Math.floor(r/o)*o,r>n&&(r=t)}else r+=e,r<t?r=n-(t-r-1):r>n&&(r=t+(r-n-1));return r}function lr(r,e){let t;if(e.years!=null&&e.years!==0||e.months!=null&&e.months!==0||e.weeks!=null&&e.weeks!==0||e.days!=null&&e.days!==0){let a=z(v(r),{years:e.years,months:e.months,weeks:e.weeks,days:e.days});t=y(a,r.timeZone)}else t=T(r)-r.offset;t+=e.milliseconds||0,t+=(e.seconds||0)*1e3,t+=(e.minutes||0)*6e4,t+=(e.hours||0)*36e5;let n=m(t,r.timeZone);return u(n,r.calendar)}function Kr(r,e){return lr(r,ge(e))}function Gr(r,e,t,n){switch(e){case"hour":{let a=0,o=23;if(n?.hourCycle===12){let g=r.hour>=12;a=g?12:0,o=g?23:11}let f=v(r),c=u(k(f,{hour:a}),new h),i=[y(c,r.timeZone,"earlier"),y(c,r.timeZone,"later")].filter(g=>m(g,r.timeZone).day===c.day)[0],s=u(k(f,{hour:o}),new h),A=[y(s,r.timeZone,"earlier"),y(s,r.timeZone,"later")].filter(g=>m(g,r.timeZone).day===s.day).pop(),I=T(r)-r.offset,C=Math.floor(I/U),D=I%U;return I=b(C,t,Math.floor(i/U),Math.floor(A/U),n?.round)*U+D,u(m(I,r.timeZone),r.calendar)}case"minute":case"second":case"millisecond":return De(r,e,t,n);case"era":case"year":case"month":case"day":{let a=Me(v(r),e,t,n),o=y(a,r.timeZone);return u(m(o,r.timeZone),r.calendar)}default:throw new Error("Unsupported field "+e)}}function jr(r,e,t){let n=v(r),a=k(pe(n,e),e);if(a.compare(n)===0)return r;let o=y(a,r.timeZone,t);return u(m(o,r.timeZone),r.calendar)}const Xr=/^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})$/,zr=/^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})(?:T(\d{2}))?(?::(\d{2}))?(?::(\d{2}))?(\.\d+)?$/;function et(r){let e=r.match(Xr);if(!e)throw new Error("Invalid ISO 8601 date string: "+r);let t=new l(d(e[1],0,9999),d(e[2],1,12),1);return t.day=d(e[3],1,t.calendar.getDaysInMonth(t)),t}function rt(r){let e=r.match(zr);if(!e)throw new Error("Invalid ISO 8601 date time string: "+r);let t=d(e[1],-9999,9999),n=t<1?"BC":"AD",a=new O(n,t<1?-t+1:t,d(e[2],1,12),1,e[4]?d(e[4],0,23):0,e[5]?d(e[5],0,59):0,e[6]?d(e[6],0,59):0,e[7]?d(e[7],0,1/0)*1e3:0);return a.day=d(e[3],0,a.calendar.getDaysInMonth(a)),a}function d(r,e,t){let n=Number(r);if(n<e||n>t)throw new RangeError(`Value out of range: ${e} <= ${n} <= ${t}`);return n}function sr(r){return`${String(r.hour).padStart(2,"0")}:${String(r.minute).padStart(2,"0")}:${String(r.second).padStart(2,"0")}${r.millisecond?String(r.millisecond/1e3).slice(1):""}`}function ur(r){let e=u(r,new h),t;return e.era==="BC"?t=e.year===1?"0000":"-"+String(Math.abs(1-e.year)).padStart(6,"00"):t=String(e.year).padStart(4,"0"),`${t}-${String(e.month).padStart(2,"0")}-${String(e.day).padStart(2,"0")}`}function $r(r){return`${ur(r)}T${sr(r)}`}function tt(r){let e=Math.sign(r)<0?"-":"+";r=Math.abs(r);let t=Math.floor(r/36e5),n=r%36e5/6e4;return`${e}${String(t).padStart(2,"0")}:${String(n).padStart(2,"0")}`}function nt(r){return`${$r(r)}${tt(r.offset)}[${r.timeZone}]`}function we(r){let e=typeof r[0]=="object"?r.shift():new h,t;if(typeof r[0]=="string")t=r.shift();else{let f=e.getEras();t=f[f.length-1]}let n=r.shift(),a=r.shift(),o=r.shift();return[e,t,n,a,o]}var at=new WeakMap;class l{copy(){return this.era?new l(this.calendar,this.era,this.year,this.month,this.day):new l(this.calendar,this.year,this.month,this.day)}add(e){return z(this,e)}subtract(e){return or(this,e)}set(e){return pe(this,e)}cycle(e,t,n){return Me(this,e,t,n)}toDate(e){return rr(this,e)}toString(){return ur(this)}compare(e){return Ge(this,e)}constructor(...e){j._class_private_field_init(this,at,{writable:!0,value:void 0});let[t,n,a,o,f]=we(e);this.calendar=t,this.era=n,this.year=a,this.month=o,this.day=f,E(this)}}var ot=new WeakMap;class ee{copy(){return new ee(this.hour,this.minute,this.second,this.millisecond)}add(e){return ir(this,e)}subtract(e){return Wr(this,e)}set(e){return k(this,e)}cycle(e,t,n){return De(this,e,t,n)}toString(){return sr(this)}compare(e){return je(this,e)}constructor(e=0,t=0,n=0,a=0){j._class_private_field_init(this,ot,{writable:!0,value:void 0}),this.hour=e,this.minute=t,this.second=n,this.millisecond=a,fr(this)}}var ft=new WeakMap;class O{copy(){return this.era?new O(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new O(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(e){return z(this,e)}subtract(e){return or(this,e)}set(e){return pe(k(this,e),e)}cycle(e,t,n){switch(e){case"era":case"year":case"month":case"day":return Me(this,e,t,n);default:return De(this,e,t,n)}}toDate(e,t){return rr(this,e,t)}toString(){return $r(this)}compare(e){let t=Ge(this,e);return t===0?je(this,v(e)):t}constructor(...e){j._class_private_field_init(this,ft,{writable:!0,value:void 0});let[t,n,a,o,f]=we(e);this.calendar=t,this.era=n,this.year=a,this.month=o,this.day=f,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,E(this)}}var ct=new WeakMap;class Q{copy(){return this.era?new Q(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new Q(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(e){return lr(this,e)}subtract(e){return Kr(this,e)}set(e,t){return jr(this,e,t)}cycle(e,t,n){return Gr(this,e,t,n)}toDate(){return Hr(this)}toString(){return nt(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(e){return this.toDate().getTime()-nr(e,this.timeZone).toDate().getTime()}constructor(...e){j._class_private_field_init(this,ct,{writable:!0,value:void 0});let[t,n,a,o,f]=we(e),c=e.shift(),i=e.shift();this.calendar=t,this.era=n,this.year=a,this.month=o,this.day=f,this.timeZone=c,this.offset=i,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,E(this)}}const B=[[1868,9,8],[1912,7,30],[1926,12,25],[1989,1,8],[2019,5,1]],it=[[1912,7,29],[1926,12,24],[1989,1,7],[2019,4,30]],H=[1867,1911,1925,1988,2018],p=["meiji","taisho","showa","heisei","reiwa"];function Be(r){const e=B.findIndex(([t,n,a])=>r.year<t||r.year===t&&r.month<n||r.year===t&&r.month===n&&r.day<a);return e===-1?B.length-1:e===0?0:e-1}function ne(r){let e=H[p.indexOf(r.era)];if(!e)throw new Error("Unknown era: "+r.era);return new l(r.year+e,r.month,r.day)}class lt extends h{fromJulianDay(e){let t=super.fromJulianDay(e),n=Be(t);return new l(this,p[n],t.year-H[n],t.month,t.day)}toJulianDay(e){return super.toJulianDay(ne(e))}balanceDate(e){let t=ne(e),n=Be(t);p[n]!==e.era&&(e.era=p[n],e.year=t.year-H[n]),this.constrainDate(e)}constrainDate(e){let t=p.indexOf(e.era),n=it[t];if(n!=null){let[a,o,f]=n,c=a-H[t];e.year=Math.max(1,Math.min(c,e.year)),e.year===c&&(e.month=Math.min(o,e.month),e.month===o&&(e.day=Math.min(f,e.day)))}if(e.year===1&&t>=0){let[,a,o]=B[t];e.month=Math.max(a,e.month),e.month===a&&(e.day=Math.max(o,e.day))}}getEras(){return p}getYearsInEra(e){let t=p.indexOf(e.era),n=B[t],a=B[t+1];if(a==null)return 9999-n[0]+1;let o=a[0]-n[0];return(e.month<a[1]||e.month===a[1]&&e.day<a[2])&&o++,o}getDaysInMonth(e){return super.getDaysInMonth(ne(e))}getMinimumMonthInYear(e){let t=Re(e);return t?t[1]:1}getMinimumDayInMonth(e){let t=Re(e);return t&&e.month===t[1]?t[2]:1}constructor(...e){super(...e),this.identifier="japanese"}}function Re(r){if(r.year===1){let e=p.indexOf(r.era);return B[e]}}const hr=-543;class st extends h{fromJulianDay(e){let t=super.fromJulianDay(e),n=F(t.era,t.year);return new l(this,n-hr,t.month,t.day)}toJulianDay(e){return super.toJulianDay(Te(e))}getEras(){return["BE"]}getDaysInMonth(e){return super.getDaysInMonth(Te(e))}balanceDate(){}constructor(...e){super(...e),this.identifier="buddhist"}}function Te(r){let[e,t]=X(r.year+hr);return new l(e,t,r.month,r.day)}const V=1911;function dr(r){return r.era==="minguo"?r.year+V:1-r.year+V}function Ue(r){let e=r-V;return e>0?["minguo",e]:["before_minguo",1-e]}class ut extends h{fromJulianDay(e){let t=super.fromJulianDay(e),n=F(t.era,t.year),[a,o]=Ue(n);return new l(this,a,o,t.month,t.day)}toJulianDay(e){return super.toJulianDay(Je(e))}getEras(){return["before_minguo","minguo"]}balanceDate(e){let[t,n]=Ue(dr(e));e.era=t,e.year=n}isInverseEra(e){return e.era==="before_minguo"}getDaysInMonth(e){return super.getDaysInMonth(Je(e))}getYearsInEra(e){return e.era==="before_minguo"?9999:9999-V}constructor(...e){super(...e),this.identifier="roc"}}function Je(r){let[e,t]=X(dr(r));return new l(e,t,r.month,r.day)}const _e=1948320,Le=[0,31,62,93,124,155,186,216,246,276,306,336];class $t{fromJulianDay(e){let t=e-_e,n=1+Math.floor((33*t+3)/12053),a=365*(n-1)+Math.floor((8*n+21)/33),o=t-a,f=o<216?Math.floor(o/31):Math.floor((o-6)/30),c=o-Le[f]+1;return new l(this,n,f+1,c)}toJulianDay(e){let t=_e-1+365*(e.year-1)+Math.floor((8*e.year+21)/33);return t+=Le[e.month-1],t+=e.day,t}getMonthsInYear(){return 12}getDaysInMonth(e){return e.month<=6?31:e.month<=11||Y(25*e.year+11,33)<8?30:29}getEras(){return["AP"]}getYearsInEra(){return 9377}constructor(){this.identifier="persian"}}const ae=78,ke=80;class ht extends h{fromJulianDay(e){let t=super.fromJulianDay(e),n=t.year-ae,a=e-x(t.era,t.year,1,1),o;a<ke?(n--,o=M(t.year-1)?31:30,a+=o+155+90+10):(o=M(t.year)?31:30,a-=ke);let f,c;if(a<o)f=1,c=a+1;else{let i=a-o;i<155?(f=Math.floor(i/31)+2,c=i%31+1):(i-=155,f=Math.floor(i/30)+7,c=i%30+1)}return new l(this,n,f,c)}toJulianDay(e){let t=e.year+ae,[n,a]=X(t),o,f;return M(a)?(o=31,f=x(n,a,3,21)):(o=30,f=x(n,a,3,22)),e.month===1?f+e.day-1:(f+=o+Math.min(e.month-2,5)*31,e.month>=8&&(f+=(e.month-7)*30),f+=e.day-1,f)}getDaysInMonth(e){return e.month===1&&M(e.year+ae)||e.month>=2&&e.month<=6?31:30}getYearsInEra(){return 9919}getEras(){return["saka"]}balanceDate(){}constructor(...e){super(...e),this.identifier="indian"}}const W=1948440,Oe=1948439,$=1300,S=1600,dt=460322;function K(r,e,t,n){return n+Math.ceil(29.5*(t-1))+(e-1)*354+Math.floor((3+11*e)/30)+r-1}function yr(r,e,t){let n=Math.floor((30*(t-e)+10646)/10631),a=Math.min(12,Math.ceil((t-(29+K(e,n,1,1)))/29.5)+1),o=t-K(e,n,a,1)+1;return new l(r,n,a,o)}function Qe(r){return(14+11*r)%30<11}class xe{fromJulianDay(e){return yr(this,W,e)}toJulianDay(e){return K(W,e.year,e.month,e.day)}getDaysInMonth(e){let t=29+e.month%2;return e.month===12&&Qe(e.year)&&t++,t}getMonthsInYear(){return 12}getDaysInYear(e){return Qe(e.year)?355:354}getYearsInEra(){return 9665}getEras(){return["AH"]}constructor(){this.identifier="islamic-civil"}}class yt extends xe{fromJulianDay(e){return yr(this,Oe,e)}toJulianDay(e){return K(Oe,e.year,e.month,e.day)}constructor(...e){super(...e),this.identifier="islamic-tbla"}}const mt="qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI=";let ue,R;function P(r){return dt+R[r-$]}function J(r,e){let t=r-$,n=1<<11-(e-1);return(ue[t]&n)===0?29:30}function Fe(r,e){let t=P(r);for(let n=1;n<e;n++)t+=J(r,n);return t}function qe(r){return R[r+1-$]-R[r-$]}class bt extends xe{fromJulianDay(e){let t=e-W,n=P($),a=P(S);if(t<n||t>a)return super.fromJulianDay(e);{let o=$-1,f=1,c=1;for(;c>0;){o++,c=t-P(o)+1;let i=qe(o);if(c===i){f=12;break}else if(c<i){let s=J(o,f);for(f=1;c>s;)c-=s,f++,s=J(o,f);break}}return new l(this,o,f,t-Fe(o,f)+1)}}toJulianDay(e){return e.year<$||e.year>S?super.toJulianDay(e):W+Fe(e.year,e.month)+(e.day-1)}getDaysInMonth(e){return e.year<$||e.year>S?super.getDaysInMonth(e):J(e.year,e.month)}getDaysInYear(e){return e.year<$||e.year>S?super.getDaysInYear(e):qe(e.year)}constructor(){if(super(),this.identifier="islamic-umalqura",ue||(ue=new Uint16Array(Uint8Array.from(atob(mt),e=>e.charCodeAt(0)).buffer)),!R){R=new Uint32Array(S-$+1);let e=0;for(let t=$;t<=S;t++){R[t-$]=e;for(let n=1;n<=12;n++)e+=J(t,n)}}}}const Ne=347997,mr=1080,br=24*mr,gt=29,pt=12*mr+793,Mt=gt*br+pt;function w(r){return Y(r*7+1,19)<7}function Z(r){let e=Math.floor((235*r-234)/19),t=12084+13753*e,n=e*29+Math.floor(t/25920);return Y(3*(n+1),7)<3&&(n+=1),n}function Dt(r){let e=Z(r-1),t=Z(r);return Z(r+1)-t===356?2:t-e===382?1:0}function _(r){return Z(r)+Dt(r)}function gr(r){return _(r+1)-_(r)}function wt(r){let e=gr(r);switch(e>380&&(e-=30),e){case 353:return 0;case 354:return 1;case 355:return 2}}function N(r,e){if(e>=6&&!w(r)&&e++,e===4||e===7||e===9||e===11||e===13)return 29;let t=wt(r);return e===2?t===2?30:29:e===3?t===0?29:30:e===6?w(r)?30:0:30}class xt{fromJulianDay(e){let t=e-Ne,n=t*br/Mt,a=Math.floor((19*n+234)/235)+1,o=_(a),f=Math.floor(t-o);for(;f<1;)a--,o=_(a),f=Math.floor(t-o);let c=1,i=0;for(;i<f;)i+=N(a,c),c++;c--,i-=N(a,c);let s=f-i;return new l(this,a,c,s)}toJulianDay(e){let t=_(e.year);for(let n=1;n<e.month;n++)t+=N(e.year,n);return t+e.day+Ne}getDaysInMonth(e){return N(e.year,e.month)}getMonthsInYear(e){return w(e.year)?13:12}getDaysInYear(e){return gr(e.year)}getYearsInEra(){return 9999}getEras(){return["AM"]}balanceYearMonth(e,t){t.year!==e.year&&(w(t.year)&&!w(e.year)&&t.month>6?e.month--:!w(t.year)&&w(e.year)&&t.month>6&&e.month++)}constructor(){this.identifier="hebrew"}}const $e=1723856,He=1824665,he=5500;function G(r,e,t,n){return r+365*e+Math.floor(e/4)+30*(t-1)+n-1}function ve(r,e){let t=Math.floor(4*(e-r)/1461),n=1+Math.floor((e-G(r,t,1,1))/30),a=e+1-G(r,t,n,1);return[t,n,a]}function pr(r){return Math.floor(r%4/3)}function Mr(r,e){return e%13!==0?30:pr(r)+5}class Ee{fromJulianDay(e){let[t,n,a]=ve($e,e),o="AM";return t<=0&&(o="AA",t+=he),new l(this,o,t,n,a)}toJulianDay(e){let t=e.year;return e.era==="AA"&&(t-=he),G($e,t,e.month,e.day)}getDaysInMonth(e){return Mr(e.year,e.month)}getMonthsInYear(){return 13}getDaysInYear(e){return 365+pr(e.year)}getYearsInEra(e){return e.era==="AA"?9999:9991}getEras(){return["AA","AM"]}constructor(){this.identifier="ethiopic"}}class vt extends Ee{fromJulianDay(e){let[t,n,a]=ve($e,e);return t+=he,new l(this,"AA",t,n,a)}getEras(){return["AA"]}getYearsInEra(){return 9999}constructor(...e){super(...e),this.identifier="ethioaa"}}class Et extends Ee{fromJulianDay(e){let[t,n,a]=ve(He,e),o="CE";return t<=0&&(o="BCE",t=1-t),new l(this,o,t,n,a)}toJulianDay(e){let t=e.year;return e.era==="BCE"&&(t=1-t),G(He,t,e.month,e.day)}getDaysInMonth(e){let t=e.year;return e.era==="BCE"&&(t=1-t),Mr(t,e.month)}isInverseEra(e){return e.era==="BCE"}balanceDate(e){e.year<=0&&(e.era=e.era==="BCE"?"CE":"BCE",e.year=1-e.year)}getEras(){return["BCE","CE"]}getYearsInEra(e){return e.era==="BCE"?9999:9715}constructor(...e){super(...e),this.identifier="coptic"}}function At(r){switch(r){case"buddhist":return new st;case"ethiopic":return new Ee;case"ethioaa":return new vt;case"coptic":return new Et;case"hebrew":return new xt;case"indian":return new ht;case"islamic-civil":return new xe;case"islamic-tbla":return new yt;case"islamic-umalqura":return new bt;case"japanese":return new lt;case"persian":return new $t;case"roc":return new ut;case"gregory":default:return new h}}let oe=new Map;class Dr{format(e){return this.formatter.format(e)}formatToParts(e){return this.formatter.formatToParts(e)}formatRange(e,t){if(typeof this.formatter.formatRange=="function")return this.formatter.formatRange(e,t);if(t<e)throw new RangeError("End date must be >= start date");return`${this.formatter.format(e)} – ${this.formatter.format(t)}`}formatRangeToParts(e,t){if(typeof this.formatter.formatRangeToParts=="function")return this.formatter.formatRangeToParts(e,t);if(t<e)throw new RangeError("End date must be >= start date");let n=this.formatter.formatToParts(e),a=this.formatter.formatToParts(t);return[...n.map(o=>({...o,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...a.map(o=>({...o,source:"endRange"}))]}resolvedOptions(){let e=this.formatter.resolvedOptions();return St()&&(this.resolvedHourCycle||(this.resolvedHourCycle=Yt(e.locale,this.options)),e.hourCycle=this.resolvedHourCycle,e.hour12=this.resolvedHourCycle==="h11"||this.resolvedHourCycle==="h12"),e.calendar==="ethiopic-amete-alem"&&(e.calendar="ethioaa"),e}constructor(e,t={}){this.formatter=wr(e,t),this.options=t}}const It={true:{ja:"h11"},false:{}};function wr(r,e={}){if(typeof e.hour12=="boolean"&&Ct()){e={...e};let a=It[String(e.hour12)][r.split("-")[0]],o=e.hour12?"h12":"h23";e.hourCycle=a??o,delete e.hour12}let t=r+(e?Object.entries(e).sort((a,o)=>a[0]<o[0]?-1:1).join():"");if(oe.has(t))return oe.get(t);let n=new Intl.DateTimeFormat(r,e);return oe.set(t,n),n}let fe=null;function Ct(){return fe==null&&(fe=new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))==="24"),fe}let ce=null;function St(){return ce==null&&(ce=new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle==="h12"),ce}function Yt(r,e){if(!e.timeStyle&&!e.hour)return;r=r.replace(/(-u-)?-nu-[a-zA-Z0-9]+/,""),r+=(r.includes("-u-")?"":"-u")+"-nu-latn";let t=wr(r,{...e,timeZone:void 0}),n=parseInt(t.formatToParts(new Date(2020,2,3,0)).find(o=>o.type==="hour").value,10),a=parseInt(t.formatToParts(new Date(2020,2,3,23)).find(o=>o.type==="hour").value,10);if(n===0&&a===23)return"h23";if(n===24&&a===23)return"h24";if(n===0&&a===11)return"h11";if(n===12&&a===11)return"h12";throw new Error("Unexpected hour cycle result")}function Bt(r){r=Ze(r??{},Rt);let{locale:e}=vr.$18f2051aff69b9bf$export$43bb16f9c6d9e3f7();return Pe.useMemo(()=>new Dr(e,r),[e,r])}function Rt(r,e){if(r===e)return!0;let t=Object.keys(r),n=Object.keys(e);if(t.length!==n.length)return!1;for(let a of t)if(e[a]!==r[a])return!1;return!0}exports.$11d87f3f76e88657$export$84c95a83c799e074=nr;exports.$11d87f3f76e88657$export$93522d1a439f3617=tr;exports.$11d87f3f76e88657$export$b21e0b124e224484=v;exports.$11d87f3f76e88657$export$b4a036af3fc0b032=u;exports.$11d87f3f76e88657$export$d33f79e3ffc3dc83=Nr;exports.$14e0f24ef4ac5c92$export$2061056d06d7cdf7=me;exports.$14e0f24ef4ac5c92$export$42c81a444fbfb5d4=Xe;exports.$14e0f24ef4ac5c92$export$461939dd4422153=We;exports.$14e0f24ef4ac5c92$export$5412ac11713b72ad=Tr;exports.$14e0f24ef4ac5c92$export$5c333a116e949cdd=Or;exports.$14e0f24ef4ac5c92$export$629b0a497aa65267=Sr;exports.$14e0f24ef4ac5c92$export$91b62ebf2ba703ee=Cr;exports.$14e0f24ef4ac5c92$export$a18c89cbd24170ff=Ir;exports.$14e0f24ef4ac5c92$export$a2258d9c4118825c=Br;exports.$14e0f24ef4ac5c92$export$a5a3b454ada2268e=L;exports.$14e0f24ef4ac5c92$export$a75f2bff57811055=Qr;exports.$14e0f24ef4ac5c92$export$aa8b41735afcabd2=be;exports.$14e0f24ef4ac5c92$export$b2f4953d301981d5=Ur;exports.$14e0f24ef4ac5c92$export$ccc1b2479e7dd654=kr;exports.$14e0f24ef4ac5c92$export$d0bdf45af03a6ea3=Ke;exports.$14e0f24ef4ac5c92$export$dbc69fd56b53d5e=ye;exports.$14e0f24ef4ac5c92$export$ea39ec197993aef0=de;exports.$14e0f24ef4ac5c92$export$ef8b6d9133084f4e=Jr;exports.$14e0f24ef4ac5c92$export$f91e89d3d0406102=Rr;exports.$35ea8db9cb2ccb90$export$680ea196effce5f=ee;exports.$35ea8db9cb2ccb90$export$99faa760c7908e4f=l;exports.$3b62074eb05584b2$export$80ee6245ec4f29ec=h;exports.$5a387cc49350e6db$export$722debc0e56fea39=Ze;exports.$64244302c3013299$export$dd0bbc9b26defe37=At;exports.$896ba0a80a8f4d36$export$85fd5fdf27bacc79=Bt;exports.$fae977aafc393c5c$export$588937bcd60ade55=rt;exports.$fae977aafc393c5c$export$6b862160d295c8e=et;exports.$fb18d541ea1ad717$export$ad991b66133851cf=Dr;
|
|
2
|
-
//# sourceMappingURL=useDateFormatter-
|
|
1
|
+
"use strict";const j=require("./usePress-D8F1U6qk.cjs.js"),vr=require("./context-D0_cRaDZ.cjs.js"),Pe=require("react");function Ze(r,e){let t=Pe.useRef(null);return r&&t.current&&e(r,t.current)&&(r=t.current),t.current=r,r}function Y(r,e){return r-e*Math.floor(r/e)}const Ve=1721426;function x(r,e,t,n){e=F(r,e);let a=e-1,o=-2;return t<=2?o=0:M(e)&&(o=-1),Ve-1+365*a+Math.floor(a/4)-Math.floor(a/100)+Math.floor(a/400)+Math.floor((367*t-362)/12+o+n)}function M(r){return r%4===0&&(r%100!==0||r%400===0)}function F(r,e){return r==="BC"?1-e:e}function X(r){let e="AD";return r<=0&&(e="BC",r=1-r),[e,r]}const Er={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]};class h{fromJulianDay(e){let t=e,n=t-Ve,a=Math.floor(n/146097),o=Y(n,146097),f=Math.floor(o/36524),c=Y(o,36524),i=Math.floor(c/1461),s=Y(c,1461),A=Math.floor(s/365),I=a*400+f*100+i*4+A+(f!==4&&A!==4?1:0),[C,D]=X(I),g=t-x(C,D,1,1),re=2;t<x(C,D,3,1)?re=0:M(D)&&(re=1);let Ae=Math.floor(((g+re)*12+373)/367),xr=t-x(C,D,Ae,1)+1;return new l(C,D,Ae,xr)}toJulianDay(e){return x(e.era,e.year,e.month,e.day)}getDaysInMonth(e){return Er[M(e.year)?"leapyear":"standard"][e.month-1]}getMonthsInYear(e){return 12}getDaysInYear(e){return M(e.year)?366:365}getYearsInEra(e){return 9999}getEras(){return["BC","AD"]}isInverseEra(e){return e.era==="BC"}balanceDate(e){e.year<=0&&(e.era=e.era==="BC"?"AD":"BC",e.year=1-e.year)}constructor(){this.identifier="gregory"}}const Ar={"001":1,AD:1,AE:6,AF:6,AI:1,AL:1,AM:1,AN:1,AR:1,AT:1,AU:1,AX:1,AZ:1,BA:1,BE:1,BG:1,BH:6,BM:1,BN:1,BY:1,CH:1,CL:1,CM:1,CN:1,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DZ:6,EC:1,EE:1,EG:6,ES:1,FI:1,FJ:1,FO:1,FR:1,GB:1,GE:1,GF:1,GP:1,GR:1,HR:1,HU:1,IE:1,IQ:6,IR:6,IS:1,IT:1,JO:6,KG:1,KW:6,KZ:1,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MK:1,MN:1,MQ:1,MV:5,MY:1,NL:1,NO:1,NZ:1,OM:6,PL:1,QA:6,RE:1,RO:1,RS:1,RU:1,SD:6,SE:1,SI:1,SK:1,SM:1,SY:6,TJ:1,TM:1,TR:1,UA:1,UY:1,UZ:1,VA:1,VN:1,XK:1};function de(r,e){return e=u(e,r.calendar),r.era===e.era&&r.year===e.year&&r.month===e.month&&r.day===e.day}function Ir(r,e){return e=u(e,r.calendar),r=L(r),e=L(e),r.era===e.era&&r.year===e.year&&r.month===e.month}function Cr(r,e){return ye(r.calendar,e.calendar)&&de(r,e)}function ye(r,e){var t,n,a,o;return(o=(a=(t=r.isEqual)===null||t===void 0?void 0:t.call(r,e))!==null&&a!==void 0?a:(n=e.isEqual)===null||n===void 0?void 0:n.call(e,r))!==null&&o!==void 0?o:r.identifier===e.identifier}function Sr(r,e){return de(r,Ke(e))}const Yr={sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6};function me(r,e,t){let n=r.calendar.toJulianDay(r),a=t?Yr[t]:Lr(e),o=Math.ceil(n+1-a)%7;return o<0&&(o+=7),o}function We(r){return m(Date.now(),r)}function Ke(r){return tr(We(r))}function Ge(r,e){return r.calendar.toJulianDay(r)-e.calendar.toJulianDay(e)}function je(r,e){return Ie(r)-Ie(e)}function Ie(r){return r.hour*36e5+r.minute*6e4+r.second*1e3+r.millisecond}let te=null;function be(){return te==null&&(te=new Intl.DateTimeFormat().resolvedOptions().timeZone),te}function L(r){return r.subtract({days:r.day-1})}function Br(r){return r.add({days:r.calendar.getDaysInMonth(r)-r.day})}function Rr(r){return L(r.subtract({months:r.month-1}))}function Tr(r){return r.calendar.getMinimumMonthInYear?r.calendar.getMinimumMonthInYear(r):1}function Ur(r){return r.calendar.getMinimumDayInMonth?r.calendar.getMinimumDayInMonth(r):1}function Xe(r,e,t){let n=me(r,e,t);return r.subtract({days:n})}function Jr(r,e,t){return Xe(r,e,t).add({days:6})}const Ce=new Map;function _r(r){if(Intl.Locale){let t=Ce.get(r);return t||(t=new Intl.Locale(r).maximize().region,t&&Ce.set(r,t)),t}let e=r.split("-")[1];return e==="u"?void 0:e}function Lr(r){let e=_r(r);return e&&Ar[e]||0}function kr(r,e,t){let n=r.calendar.getDaysInMonth(r);return Math.ceil((me(L(r),e,t)+n)/7)}function Or(r,e){return r&&e?r.compare(e)<=0?r:e:r||e}function Qr(r,e){return r&&e?r.compare(e)>=0?r:e:r||e}function T(r){r=u(r,new h);let e=F(r.era,r.year);return ze(e,r.month,r.day,r.hour,r.minute,r.second,r.millisecond)}function ze(r,e,t,n,a,o,f){let c=new Date;return c.setUTCHours(n,a,o,f),c.setUTCFullYear(r,e-1,t),c.getTime()}function ie(r,e){if(e==="UTC")return 0;if(r>0&&e===be())return new Date(r).getTimezoneOffset()*-6e4;let{year:t,month:n,day:a,hour:o,minute:f,second:c}=er(r,e);return ze(t,n,a,o,f,c,0)-Math.floor(r/1e3)*1e3}const Se=new Map;function er(r,e){let t=Se.get(e);t||(t=new Intl.DateTimeFormat("en-US",{timeZone:e,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),Se.set(e,t));let n=t.formatToParts(new Date(r)),a={};for(let o of n)o.type!=="literal"&&(a[o.type]=o.value);return{year:a.era==="BC"||a.era==="B"?-a.year+1:+a.year,month:+a.month,day:+a.day,hour:a.hour==="24"?0:+a.hour,minute:+a.minute,second:+a.second}}const Ye=864e5;function Fr(r,e,t,n){return(t===n?[t]:[t,n]).filter(o=>qr(r,e,o))}function qr(r,e,t){let n=er(t,e);return r.year===n.year&&r.month===n.month&&r.day===n.day&&r.hour===n.hour&&r.minute===n.minute&&r.second===n.second}function y(r,e,t="compatible"){let n=v(r);if(e==="UTC")return T(n);if(e===be()&&t==="compatible"){n=u(n,new h);let i=new Date,s=F(n.era,n.year);return i.setFullYear(s,n.month-1,n.day),i.setHours(n.hour,n.minute,n.second,n.millisecond),i.getTime()}let a=T(n),o=ie(a-Ye,e),f=ie(a+Ye,e),c=Fr(n,e,a-o,a-f);if(c.length===1)return c[0];if(c.length>1)switch(t){case"compatible":case"earlier":return c[0];case"later":return c[c.length-1];case"reject":throw new RangeError("Multiple possible absolute times found")}switch(t){case"earlier":return Math.min(a-o,a-f);case"compatible":case"later":return Math.max(a-o,a-f);case"reject":throw new RangeError("No such absolute time found")}}function rr(r,e,t="compatible"){return new Date(y(r,e,t))}function m(r,e){let t=ie(r,e),n=new Date(r+t),a=n.getUTCFullYear(),o=n.getUTCMonth()+1,f=n.getUTCDate(),c=n.getUTCHours(),i=n.getUTCMinutes(),s=n.getUTCSeconds(),A=n.getUTCMilliseconds();return new Q(a<1?"BC":"AD",a<1?-a+1:a,o,f,e,t,c,i,s,A)}function tr(r){return new l(r.calendar,r.era,r.year,r.month,r.day)}function v(r,e){let t=0,n=0,a=0,o=0;if("timeZone"in r)({hour:t,minute:n,second:a,millisecond:o}=r);else if("hour"in r&&!e)return r;return e&&({hour:t,minute:n,second:a,millisecond:o}=e),new O(r.calendar,r.era,r.year,r.month,r.day,t,n,a,o)}function Nr(r){return new ee(r.hour,r.minute,r.second,r.millisecond)}function u(r,e){if(ye(r.calendar,e))return r;let t=e.fromJulianDay(r.calendar.toJulianDay(r)),n=r.copy();return n.calendar=e,n.era=t.era,n.year=t.year,n.month=t.month,n.day=t.day,E(n),n}function nr(r,e,t){if(r instanceof Q)return r.timeZone===e?r:Pr(r,e);let n=y(r,e,t);return m(n,e)}function Hr(r){let e=T(r)-r.offset;return new Date(e)}function Pr(r,e){let t=T(r)-r.offset;return u(m(t,e),r.calendar)}const U=36e5;function z(r,e){let t=r.copy(),n="hour"in t?cr(t,e):0;le(t,e.years||0),t.calendar.balanceYearMonth&&t.calendar.balanceYearMonth(t,r),t.month+=e.months||0,se(t),ar(t),t.day+=(e.weeks||0)*7,t.day+=e.days||0,t.day+=n,Zr(t),t.calendar.balanceDate&&t.calendar.balanceDate(t),t.year<1&&(t.year=1,t.month=1,t.day=1);let a=t.calendar.getYearsInEra(t);if(t.year>a){var o,f;let i=(o=(f=t.calendar).isInverseEra)===null||o===void 0?void 0:o.call(f,t);t.year=a,t.month=i?1:t.calendar.getMonthsInYear(t),t.day=i?1:t.calendar.getDaysInMonth(t)}t.month<1&&(t.month=1,t.day=1);let c=t.calendar.getMonthsInYear(t);return t.month>c&&(t.month=c,t.day=t.calendar.getDaysInMonth(t)),t.day=Math.max(1,Math.min(t.calendar.getDaysInMonth(t),t.day)),t}function le(r,e){var t,n;!((t=(n=r.calendar).isInverseEra)===null||t===void 0)&&t.call(n,r)&&(e=-e),r.year+=e}function se(r){for(;r.month<1;)le(r,-1),r.month+=r.calendar.getMonthsInYear(r);let e=0;for(;r.month>(e=r.calendar.getMonthsInYear(r));)r.month-=e,le(r,1)}function Zr(r){for(;r.day<1;)r.month--,se(r),r.day+=r.calendar.getDaysInMonth(r);for(;r.day>r.calendar.getDaysInMonth(r);)r.day-=r.calendar.getDaysInMonth(r),r.month++,se(r)}function ar(r){r.month=Math.max(1,Math.min(r.calendar.getMonthsInYear(r),r.month)),r.day=Math.max(1,Math.min(r.calendar.getDaysInMonth(r),r.day))}function E(r){r.calendar.constrainDate&&r.calendar.constrainDate(r),r.year=Math.max(1,Math.min(r.calendar.getYearsInEra(r),r.year)),ar(r)}function ge(r){let e={};for(let t in r)typeof r[t]=="number"&&(e[t]=-r[t]);return e}function or(r,e){return z(r,ge(e))}function pe(r,e){let t=r.copy();return e.era!=null&&(t.era=e.era),e.year!=null&&(t.year=e.year),e.month!=null&&(t.month=e.month),e.day!=null&&(t.day=e.day),E(t),t}function k(r,e){let t=r.copy();return e.hour!=null&&(t.hour=e.hour),e.minute!=null&&(t.minute=e.minute),e.second!=null&&(t.second=e.second),e.millisecond!=null&&(t.millisecond=e.millisecond),fr(t),t}function Vr(r){r.second+=Math.floor(r.millisecond/1e3),r.millisecond=q(r.millisecond,1e3),r.minute+=Math.floor(r.second/60),r.second=q(r.second,60),r.hour+=Math.floor(r.minute/60),r.minute=q(r.minute,60);let e=Math.floor(r.hour/24);return r.hour=q(r.hour,24),e}function fr(r){r.millisecond=Math.max(0,Math.min(r.millisecond,1e3)),r.second=Math.max(0,Math.min(r.second,59)),r.minute=Math.max(0,Math.min(r.minute,59)),r.hour=Math.max(0,Math.min(r.hour,23))}function q(r,e){let t=r%e;return t<0&&(t+=e),t}function cr(r,e){return r.hour+=e.hours||0,r.minute+=e.minutes||0,r.second+=e.seconds||0,r.millisecond+=e.milliseconds||0,Vr(r)}function ir(r,e){let t=r.copy();return cr(t,e),t}function Wr(r,e){return ir(r,ge(e))}function Me(r,e,t,n){let a=r.copy();switch(e){case"era":{let c=r.calendar.getEras(),i=c.indexOf(r.era);if(i<0)throw new Error("Invalid era: "+r.era);i=b(i,t,0,c.length-1,n?.round),a.era=c[i],E(a);break}case"year":var o,f;!((o=(f=a.calendar).isInverseEra)===null||o===void 0)&&o.call(f,a)&&(t=-t),a.year=b(r.year,t,-1/0,9999,n?.round),a.year===-1/0&&(a.year=1),a.calendar.balanceYearMonth&&a.calendar.balanceYearMonth(a,r);break;case"month":a.month=b(r.month,t,1,r.calendar.getMonthsInYear(r),n?.round);break;case"day":a.day=b(r.day,t,1,r.calendar.getDaysInMonth(r),n?.round);break;default:throw new Error("Unsupported field "+e)}return r.calendar.balanceDate&&r.calendar.balanceDate(a),E(a),a}function De(r,e,t,n){let a=r.copy();switch(e){case"hour":{let o=r.hour,f=0,c=23;if(n?.hourCycle===12){let i=o>=12;f=i?12:0,c=i?23:11}a.hour=b(o,t,f,c,n?.round);break}case"minute":a.minute=b(r.minute,t,0,59,n?.round);break;case"second":a.second=b(r.second,t,0,59,n?.round);break;case"millisecond":a.millisecond=b(r.millisecond,t,0,999,n?.round);break;default:throw new Error("Unsupported field "+e)}return a}function b(r,e,t,n,a=!1){if(a){r+=Math.sign(e),r<t&&(r=n);let o=Math.abs(e);e>0?r=Math.ceil(r/o)*o:r=Math.floor(r/o)*o,r>n&&(r=t)}else r+=e,r<t?r=n-(t-r-1):r>n&&(r=t+(r-n-1));return r}function lr(r,e){let t;if(e.years!=null&&e.years!==0||e.months!=null&&e.months!==0||e.weeks!=null&&e.weeks!==0||e.days!=null&&e.days!==0){let a=z(v(r),{years:e.years,months:e.months,weeks:e.weeks,days:e.days});t=y(a,r.timeZone)}else t=T(r)-r.offset;t+=e.milliseconds||0,t+=(e.seconds||0)*1e3,t+=(e.minutes||0)*6e4,t+=(e.hours||0)*36e5;let n=m(t,r.timeZone);return u(n,r.calendar)}function Kr(r,e){return lr(r,ge(e))}function Gr(r,e,t,n){switch(e){case"hour":{let a=0,o=23;if(n?.hourCycle===12){let g=r.hour>=12;a=g?12:0,o=g?23:11}let f=v(r),c=u(k(f,{hour:a}),new h),i=[y(c,r.timeZone,"earlier"),y(c,r.timeZone,"later")].filter(g=>m(g,r.timeZone).day===c.day)[0],s=u(k(f,{hour:o}),new h),A=[y(s,r.timeZone,"earlier"),y(s,r.timeZone,"later")].filter(g=>m(g,r.timeZone).day===s.day).pop(),I=T(r)-r.offset,C=Math.floor(I/U),D=I%U;return I=b(C,t,Math.floor(i/U),Math.floor(A/U),n?.round)*U+D,u(m(I,r.timeZone),r.calendar)}case"minute":case"second":case"millisecond":return De(r,e,t,n);case"era":case"year":case"month":case"day":{let a=Me(v(r),e,t,n),o=y(a,r.timeZone);return u(m(o,r.timeZone),r.calendar)}default:throw new Error("Unsupported field "+e)}}function jr(r,e,t){let n=v(r),a=k(pe(n,e),e);if(a.compare(n)===0)return r;let o=y(a,r.timeZone,t);return u(m(o,r.timeZone),r.calendar)}const Xr=/^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})$/,zr=/^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})(?:T(\d{2}))?(?::(\d{2}))?(?::(\d{2}))?(\.\d+)?$/;function et(r){let e=r.match(Xr);if(!e)throw new Error("Invalid ISO 8601 date string: "+r);let t=new l(d(e[1],0,9999),d(e[2],1,12),1);return t.day=d(e[3],1,t.calendar.getDaysInMonth(t)),t}function rt(r){let e=r.match(zr);if(!e)throw new Error("Invalid ISO 8601 date time string: "+r);let t=d(e[1],-9999,9999),n=t<1?"BC":"AD",a=new O(n,t<1?-t+1:t,d(e[2],1,12),1,e[4]?d(e[4],0,23):0,e[5]?d(e[5],0,59):0,e[6]?d(e[6],0,59):0,e[7]?d(e[7],0,1/0)*1e3:0);return a.day=d(e[3],0,a.calendar.getDaysInMonth(a)),a}function d(r,e,t){let n=Number(r);if(n<e||n>t)throw new RangeError(`Value out of range: ${e} <= ${n} <= ${t}`);return n}function sr(r){return`${String(r.hour).padStart(2,"0")}:${String(r.minute).padStart(2,"0")}:${String(r.second).padStart(2,"0")}${r.millisecond?String(r.millisecond/1e3).slice(1):""}`}function ur(r){let e=u(r,new h),t;return e.era==="BC"?t=e.year===1?"0000":"-"+String(Math.abs(1-e.year)).padStart(6,"00"):t=String(e.year).padStart(4,"0"),`${t}-${String(e.month).padStart(2,"0")}-${String(e.day).padStart(2,"0")}`}function $r(r){return`${ur(r)}T${sr(r)}`}function tt(r){let e=Math.sign(r)<0?"-":"+";r=Math.abs(r);let t=Math.floor(r/36e5),n=r%36e5/6e4;return`${e}${String(t).padStart(2,"0")}:${String(n).padStart(2,"0")}`}function nt(r){return`${$r(r)}${tt(r.offset)}[${r.timeZone}]`}function we(r){let e=typeof r[0]=="object"?r.shift():new h,t;if(typeof r[0]=="string")t=r.shift();else{let f=e.getEras();t=f[f.length-1]}let n=r.shift(),a=r.shift(),o=r.shift();return[e,t,n,a,o]}var at=new WeakMap;class l{copy(){return this.era?new l(this.calendar,this.era,this.year,this.month,this.day):new l(this.calendar,this.year,this.month,this.day)}add(e){return z(this,e)}subtract(e){return or(this,e)}set(e){return pe(this,e)}cycle(e,t,n){return Me(this,e,t,n)}toDate(e){return rr(this,e)}toString(){return ur(this)}compare(e){return Ge(this,e)}constructor(...e){j._class_private_field_init(this,at,{writable:!0,value:void 0});let[t,n,a,o,f]=we(e);this.calendar=t,this.era=n,this.year=a,this.month=o,this.day=f,E(this)}}var ot=new WeakMap;class ee{copy(){return new ee(this.hour,this.minute,this.second,this.millisecond)}add(e){return ir(this,e)}subtract(e){return Wr(this,e)}set(e){return k(this,e)}cycle(e,t,n){return De(this,e,t,n)}toString(){return sr(this)}compare(e){return je(this,e)}constructor(e=0,t=0,n=0,a=0){j._class_private_field_init(this,ot,{writable:!0,value:void 0}),this.hour=e,this.minute=t,this.second=n,this.millisecond=a,fr(this)}}var ft=new WeakMap;class O{copy(){return this.era?new O(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new O(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(e){return z(this,e)}subtract(e){return or(this,e)}set(e){return pe(k(this,e),e)}cycle(e,t,n){switch(e){case"era":case"year":case"month":case"day":return Me(this,e,t,n);default:return De(this,e,t,n)}}toDate(e,t){return rr(this,e,t)}toString(){return $r(this)}compare(e){let t=Ge(this,e);return t===0?je(this,v(e)):t}constructor(...e){j._class_private_field_init(this,ft,{writable:!0,value:void 0});let[t,n,a,o,f]=we(e);this.calendar=t,this.era=n,this.year=a,this.month=o,this.day=f,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,E(this)}}var ct=new WeakMap;class Q{copy(){return this.era?new Q(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new Q(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(e){return lr(this,e)}subtract(e){return Kr(this,e)}set(e,t){return jr(this,e,t)}cycle(e,t,n){return Gr(this,e,t,n)}toDate(){return Hr(this)}toString(){return nt(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(e){return this.toDate().getTime()-nr(e,this.timeZone).toDate().getTime()}constructor(...e){j._class_private_field_init(this,ct,{writable:!0,value:void 0});let[t,n,a,o,f]=we(e),c=e.shift(),i=e.shift();this.calendar=t,this.era=n,this.year=a,this.month=o,this.day=f,this.timeZone=c,this.offset=i,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,E(this)}}const B=[[1868,9,8],[1912,7,30],[1926,12,25],[1989,1,8],[2019,5,1]],it=[[1912,7,29],[1926,12,24],[1989,1,7],[2019,4,30]],H=[1867,1911,1925,1988,2018],p=["meiji","taisho","showa","heisei","reiwa"];function Be(r){const e=B.findIndex(([t,n,a])=>r.year<t||r.year===t&&r.month<n||r.year===t&&r.month===n&&r.day<a);return e===-1?B.length-1:e===0?0:e-1}function ne(r){let e=H[p.indexOf(r.era)];if(!e)throw new Error("Unknown era: "+r.era);return new l(r.year+e,r.month,r.day)}class lt extends h{fromJulianDay(e){let t=super.fromJulianDay(e),n=Be(t);return new l(this,p[n],t.year-H[n],t.month,t.day)}toJulianDay(e){return super.toJulianDay(ne(e))}balanceDate(e){let t=ne(e),n=Be(t);p[n]!==e.era&&(e.era=p[n],e.year=t.year-H[n]),this.constrainDate(e)}constrainDate(e){let t=p.indexOf(e.era),n=it[t];if(n!=null){let[a,o,f]=n,c=a-H[t];e.year=Math.max(1,Math.min(c,e.year)),e.year===c&&(e.month=Math.min(o,e.month),e.month===o&&(e.day=Math.min(f,e.day)))}if(e.year===1&&t>=0){let[,a,o]=B[t];e.month=Math.max(a,e.month),e.month===a&&(e.day=Math.max(o,e.day))}}getEras(){return p}getYearsInEra(e){let t=p.indexOf(e.era),n=B[t],a=B[t+1];if(a==null)return 9999-n[0]+1;let o=a[0]-n[0];return(e.month<a[1]||e.month===a[1]&&e.day<a[2])&&o++,o}getDaysInMonth(e){return super.getDaysInMonth(ne(e))}getMinimumMonthInYear(e){let t=Re(e);return t?t[1]:1}getMinimumDayInMonth(e){let t=Re(e);return t&&e.month===t[1]?t[2]:1}constructor(...e){super(...e),this.identifier="japanese"}}function Re(r){if(r.year===1){let e=p.indexOf(r.era);return B[e]}}const hr=-543;class st extends h{fromJulianDay(e){let t=super.fromJulianDay(e),n=F(t.era,t.year);return new l(this,n-hr,t.month,t.day)}toJulianDay(e){return super.toJulianDay(Te(e))}getEras(){return["BE"]}getDaysInMonth(e){return super.getDaysInMonth(Te(e))}balanceDate(){}constructor(...e){super(...e),this.identifier="buddhist"}}function Te(r){let[e,t]=X(r.year+hr);return new l(e,t,r.month,r.day)}const V=1911;function dr(r){return r.era==="minguo"?r.year+V:1-r.year+V}function Ue(r){let e=r-V;return e>0?["minguo",e]:["before_minguo",1-e]}class ut extends h{fromJulianDay(e){let t=super.fromJulianDay(e),n=F(t.era,t.year),[a,o]=Ue(n);return new l(this,a,o,t.month,t.day)}toJulianDay(e){return super.toJulianDay(Je(e))}getEras(){return["before_minguo","minguo"]}balanceDate(e){let[t,n]=Ue(dr(e));e.era=t,e.year=n}isInverseEra(e){return e.era==="before_minguo"}getDaysInMonth(e){return super.getDaysInMonth(Je(e))}getYearsInEra(e){return e.era==="before_minguo"?9999:9999-V}constructor(...e){super(...e),this.identifier="roc"}}function Je(r){let[e,t]=X(dr(r));return new l(e,t,r.month,r.day)}const _e=1948320,Le=[0,31,62,93,124,155,186,216,246,276,306,336];class $t{fromJulianDay(e){let t=e-_e,n=1+Math.floor((33*t+3)/12053),a=365*(n-1)+Math.floor((8*n+21)/33),o=t-a,f=o<216?Math.floor(o/31):Math.floor((o-6)/30),c=o-Le[f]+1;return new l(this,n,f+1,c)}toJulianDay(e){let t=_e-1+365*(e.year-1)+Math.floor((8*e.year+21)/33);return t+=Le[e.month-1],t+=e.day,t}getMonthsInYear(){return 12}getDaysInMonth(e){return e.month<=6?31:e.month<=11||Y(25*e.year+11,33)<8?30:29}getEras(){return["AP"]}getYearsInEra(){return 9377}constructor(){this.identifier="persian"}}const ae=78,ke=80;class ht extends h{fromJulianDay(e){let t=super.fromJulianDay(e),n=t.year-ae,a=e-x(t.era,t.year,1,1),o;a<ke?(n--,o=M(t.year-1)?31:30,a+=o+155+90+10):(o=M(t.year)?31:30,a-=ke);let f,c;if(a<o)f=1,c=a+1;else{let i=a-o;i<155?(f=Math.floor(i/31)+2,c=i%31+1):(i-=155,f=Math.floor(i/30)+7,c=i%30+1)}return new l(this,n,f,c)}toJulianDay(e){let t=e.year+ae,[n,a]=X(t),o,f;return M(a)?(o=31,f=x(n,a,3,21)):(o=30,f=x(n,a,3,22)),e.month===1?f+e.day-1:(f+=o+Math.min(e.month-2,5)*31,e.month>=8&&(f+=(e.month-7)*30),f+=e.day-1,f)}getDaysInMonth(e){return e.month===1&&M(e.year+ae)||e.month>=2&&e.month<=6?31:30}getYearsInEra(){return 9919}getEras(){return["saka"]}balanceDate(){}constructor(...e){super(...e),this.identifier="indian"}}const W=1948440,Oe=1948439,$=1300,S=1600,dt=460322;function K(r,e,t,n){return n+Math.ceil(29.5*(t-1))+(e-1)*354+Math.floor((3+11*e)/30)+r-1}function yr(r,e,t){let n=Math.floor((30*(t-e)+10646)/10631),a=Math.min(12,Math.ceil((t-(29+K(e,n,1,1)))/29.5)+1),o=t-K(e,n,a,1)+1;return new l(r,n,a,o)}function Qe(r){return(14+11*r)%30<11}class xe{fromJulianDay(e){return yr(this,W,e)}toJulianDay(e){return K(W,e.year,e.month,e.day)}getDaysInMonth(e){let t=29+e.month%2;return e.month===12&&Qe(e.year)&&t++,t}getMonthsInYear(){return 12}getDaysInYear(e){return Qe(e.year)?355:354}getYearsInEra(){return 9665}getEras(){return["AH"]}constructor(){this.identifier="islamic-civil"}}class yt extends xe{fromJulianDay(e){return yr(this,Oe,e)}toJulianDay(e){return K(Oe,e.year,e.month,e.day)}constructor(...e){super(...e),this.identifier="islamic-tbla"}}const mt="qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI=";let ue,R;function P(r){return dt+R[r-$]}function J(r,e){let t=r-$,n=1<<11-(e-1);return(ue[t]&n)===0?29:30}function Fe(r,e){let t=P(r);for(let n=1;n<e;n++)t+=J(r,n);return t}function qe(r){return R[r+1-$]-R[r-$]}class bt extends xe{fromJulianDay(e){let t=e-W,n=P($),a=P(S);if(t<n||t>a)return super.fromJulianDay(e);{let o=$-1,f=1,c=1;for(;c>0;){o++,c=t-P(o)+1;let i=qe(o);if(c===i){f=12;break}else if(c<i){let s=J(o,f);for(f=1;c>s;)c-=s,f++,s=J(o,f);break}}return new l(this,o,f,t-Fe(o,f)+1)}}toJulianDay(e){return e.year<$||e.year>S?super.toJulianDay(e):W+Fe(e.year,e.month)+(e.day-1)}getDaysInMonth(e){return e.year<$||e.year>S?super.getDaysInMonth(e):J(e.year,e.month)}getDaysInYear(e){return e.year<$||e.year>S?super.getDaysInYear(e):qe(e.year)}constructor(){if(super(),this.identifier="islamic-umalqura",ue||(ue=new Uint16Array(Uint8Array.from(atob(mt),e=>e.charCodeAt(0)).buffer)),!R){R=new Uint32Array(S-$+1);let e=0;for(let t=$;t<=S;t++){R[t-$]=e;for(let n=1;n<=12;n++)e+=J(t,n)}}}}const Ne=347997,mr=1080,br=24*mr,gt=29,pt=12*mr+793,Mt=gt*br+pt;function w(r){return Y(r*7+1,19)<7}function Z(r){let e=Math.floor((235*r-234)/19),t=12084+13753*e,n=e*29+Math.floor(t/25920);return Y(3*(n+1),7)<3&&(n+=1),n}function Dt(r){let e=Z(r-1),t=Z(r);return Z(r+1)-t===356?2:t-e===382?1:0}function _(r){return Z(r)+Dt(r)}function gr(r){return _(r+1)-_(r)}function wt(r){let e=gr(r);switch(e>380&&(e-=30),e){case 353:return 0;case 354:return 1;case 355:return 2}}function N(r,e){if(e>=6&&!w(r)&&e++,e===4||e===7||e===9||e===11||e===13)return 29;let t=wt(r);return e===2?t===2?30:29:e===3?t===0?29:30:e===6?w(r)?30:0:30}class xt{fromJulianDay(e){let t=e-Ne,n=t*br/Mt,a=Math.floor((19*n+234)/235)+1,o=_(a),f=Math.floor(t-o);for(;f<1;)a--,o=_(a),f=Math.floor(t-o);let c=1,i=0;for(;i<f;)i+=N(a,c),c++;c--,i-=N(a,c);let s=f-i;return new l(this,a,c,s)}toJulianDay(e){let t=_(e.year);for(let n=1;n<e.month;n++)t+=N(e.year,n);return t+e.day+Ne}getDaysInMonth(e){return N(e.year,e.month)}getMonthsInYear(e){return w(e.year)?13:12}getDaysInYear(e){return gr(e.year)}getYearsInEra(){return 9999}getEras(){return["AM"]}balanceYearMonth(e,t){t.year!==e.year&&(w(t.year)&&!w(e.year)&&t.month>6?e.month--:!w(t.year)&&w(e.year)&&t.month>6&&e.month++)}constructor(){this.identifier="hebrew"}}const $e=1723856,He=1824665,he=5500;function G(r,e,t,n){return r+365*e+Math.floor(e/4)+30*(t-1)+n-1}function ve(r,e){let t=Math.floor(4*(e-r)/1461),n=1+Math.floor((e-G(r,t,1,1))/30),a=e+1-G(r,t,n,1);return[t,n,a]}function pr(r){return Math.floor(r%4/3)}function Mr(r,e){return e%13!==0?30:pr(r)+5}class Ee{fromJulianDay(e){let[t,n,a]=ve($e,e),o="AM";return t<=0&&(o="AA",t+=he),new l(this,o,t,n,a)}toJulianDay(e){let t=e.year;return e.era==="AA"&&(t-=he),G($e,t,e.month,e.day)}getDaysInMonth(e){return Mr(e.year,e.month)}getMonthsInYear(){return 13}getDaysInYear(e){return 365+pr(e.year)}getYearsInEra(e){return e.era==="AA"?9999:9991}getEras(){return["AA","AM"]}constructor(){this.identifier="ethiopic"}}class vt extends Ee{fromJulianDay(e){let[t,n,a]=ve($e,e);return t+=he,new l(this,"AA",t,n,a)}getEras(){return["AA"]}getYearsInEra(){return 9999}constructor(...e){super(...e),this.identifier="ethioaa"}}class Et extends Ee{fromJulianDay(e){let[t,n,a]=ve(He,e),o="CE";return t<=0&&(o="BCE",t=1-t),new l(this,o,t,n,a)}toJulianDay(e){let t=e.year;return e.era==="BCE"&&(t=1-t),G(He,t,e.month,e.day)}getDaysInMonth(e){let t=e.year;return e.era==="BCE"&&(t=1-t),Mr(t,e.month)}isInverseEra(e){return e.era==="BCE"}balanceDate(e){e.year<=0&&(e.era=e.era==="BCE"?"CE":"BCE",e.year=1-e.year)}getEras(){return["BCE","CE"]}getYearsInEra(e){return e.era==="BCE"?9999:9715}constructor(...e){super(...e),this.identifier="coptic"}}function At(r){switch(r){case"buddhist":return new st;case"ethiopic":return new Ee;case"ethioaa":return new vt;case"coptic":return new Et;case"hebrew":return new xt;case"indian":return new ht;case"islamic-civil":return new xe;case"islamic-tbla":return new yt;case"islamic-umalqura":return new bt;case"japanese":return new lt;case"persian":return new $t;case"roc":return new ut;case"gregory":default:return new h}}let oe=new Map;class Dr{format(e){return this.formatter.format(e)}formatToParts(e){return this.formatter.formatToParts(e)}formatRange(e,t){if(typeof this.formatter.formatRange=="function")return this.formatter.formatRange(e,t);if(t<e)throw new RangeError("End date must be >= start date");return`${this.formatter.format(e)} – ${this.formatter.format(t)}`}formatRangeToParts(e,t){if(typeof this.formatter.formatRangeToParts=="function")return this.formatter.formatRangeToParts(e,t);if(t<e)throw new RangeError("End date must be >= start date");let n=this.formatter.formatToParts(e),a=this.formatter.formatToParts(t);return[...n.map(o=>({...o,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...a.map(o=>({...o,source:"endRange"}))]}resolvedOptions(){let e=this.formatter.resolvedOptions();return St()&&(this.resolvedHourCycle||(this.resolvedHourCycle=Yt(e.locale,this.options)),e.hourCycle=this.resolvedHourCycle,e.hour12=this.resolvedHourCycle==="h11"||this.resolvedHourCycle==="h12"),e.calendar==="ethiopic-amete-alem"&&(e.calendar="ethioaa"),e}constructor(e,t={}){this.formatter=wr(e,t),this.options=t}}const It={true:{ja:"h11"},false:{}};function wr(r,e={}){if(typeof e.hour12=="boolean"&&Ct()){e={...e};let a=It[String(e.hour12)][r.split("-")[0]],o=e.hour12?"h12":"h23";e.hourCycle=a??o,delete e.hour12}let t=r+(e?Object.entries(e).sort((a,o)=>a[0]<o[0]?-1:1).join():"");if(oe.has(t))return oe.get(t);let n=new Intl.DateTimeFormat(r,e);return oe.set(t,n),n}let fe=null;function Ct(){return fe==null&&(fe=new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))==="24"),fe}let ce=null;function St(){return ce==null&&(ce=new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle==="h12"),ce}function Yt(r,e){if(!e.timeStyle&&!e.hour)return;r=r.replace(/(-u-)?-nu-[a-zA-Z0-9]+/,""),r+=(r.includes("-u-")?"":"-u")+"-nu-latn";let t=wr(r,{...e,timeZone:void 0}),n=parseInt(t.formatToParts(new Date(2020,2,3,0)).find(o=>o.type==="hour").value,10),a=parseInt(t.formatToParts(new Date(2020,2,3,23)).find(o=>o.type==="hour").value,10);if(n===0&&a===23)return"h23";if(n===24&&a===23)return"h24";if(n===0&&a===11)return"h11";if(n===12&&a===11)return"h12";throw new Error("Unexpected hour cycle result")}function Bt(r){r=Ze(r??{},Rt);let{locale:e}=vr.$18f2051aff69b9bf$export$43bb16f9c6d9e3f7();return Pe.useMemo(()=>new Dr(e,r),[e,r])}function Rt(r,e){if(r===e)return!0;let t=Object.keys(r),n=Object.keys(e);if(t.length!==n.length)return!1;for(let a of t)if(e[a]!==r[a])return!1;return!0}exports.$11d87f3f76e88657$export$84c95a83c799e074=nr;exports.$11d87f3f76e88657$export$93522d1a439f3617=tr;exports.$11d87f3f76e88657$export$b21e0b124e224484=v;exports.$11d87f3f76e88657$export$b4a036af3fc0b032=u;exports.$11d87f3f76e88657$export$d33f79e3ffc3dc83=Nr;exports.$14e0f24ef4ac5c92$export$2061056d06d7cdf7=me;exports.$14e0f24ef4ac5c92$export$42c81a444fbfb5d4=Xe;exports.$14e0f24ef4ac5c92$export$461939dd4422153=We;exports.$14e0f24ef4ac5c92$export$5412ac11713b72ad=Tr;exports.$14e0f24ef4ac5c92$export$5c333a116e949cdd=Or;exports.$14e0f24ef4ac5c92$export$629b0a497aa65267=Sr;exports.$14e0f24ef4ac5c92$export$91b62ebf2ba703ee=Cr;exports.$14e0f24ef4ac5c92$export$a18c89cbd24170ff=Ir;exports.$14e0f24ef4ac5c92$export$a2258d9c4118825c=Br;exports.$14e0f24ef4ac5c92$export$a5a3b454ada2268e=L;exports.$14e0f24ef4ac5c92$export$a75f2bff57811055=Qr;exports.$14e0f24ef4ac5c92$export$aa8b41735afcabd2=be;exports.$14e0f24ef4ac5c92$export$b2f4953d301981d5=Ur;exports.$14e0f24ef4ac5c92$export$ccc1b2479e7dd654=kr;exports.$14e0f24ef4ac5c92$export$d0bdf45af03a6ea3=Ke;exports.$14e0f24ef4ac5c92$export$dbc69fd56b53d5e=ye;exports.$14e0f24ef4ac5c92$export$ea39ec197993aef0=de;exports.$14e0f24ef4ac5c92$export$ef8b6d9133084f4e=Jr;exports.$14e0f24ef4ac5c92$export$f91e89d3d0406102=Rr;exports.$35ea8db9cb2ccb90$export$680ea196effce5f=ee;exports.$35ea8db9cb2ccb90$export$99faa760c7908e4f=l;exports.$3b62074eb05584b2$export$80ee6245ec4f29ec=h;exports.$5a387cc49350e6db$export$722debc0e56fea39=Ze;exports.$64244302c3013299$export$dd0bbc9b26defe37=At;exports.$896ba0a80a8f4d36$export$85fd5fdf27bacc79=Bt;exports.$fae977aafc393c5c$export$588937bcd60ade55=rt;exports.$fae977aafc393c5c$export$6b862160d295c8e=et;exports.$fb18d541ea1ad717$export$ad991b66133851cf=Dr;
|
|
2
|
+
//# sourceMappingURL=useDateFormatter-G9oGkNG5.cjs.js.map
|