@abtnode/blocklet-services 1.16.45-beta-20250609-111118-0d252ebe → 1.16.45-beta-20250612-231219-481217be
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/api/cache.js +36 -21
- package/api/libs/connect/session.js +2 -2
- package/api/middlewares/proxy-to-daemon.js +6 -2
- package/api/routes/blocklet.js +25 -5
- package/api/routes/dns-resolver.js +1 -1
- package/api/routes/env.js +2 -1
- package/api/services/auth/connect/invite.js +1 -1
- package/api/services/auth/connect/issue-passport.js +1 -1
- package/api/services/auth/connect/verify-destroy.js +3 -6
- package/api/services/auth/connect/verify-elevated.js +8 -9
- package/api/services/auth/session.js +1 -1
- package/api/services/oauth/server.js +2 -1
- package/api/socket/channel/did.js +2 -2
- package/dist/assets/{AdapterDayjs-BXVfASrK.js → AdapterDayjs-BzjU9O7t.js} +1 -1
- package/dist/assets/{ArrowDropDown-Ce8TY3aP.js → ArrowDropDown-CrJjI_sT.js} +1 -1
- package/dist/assets/{CheckCircle-M9NlpTm_.js → CheckCircle-BcPSvH2E.js} +1 -1
- package/dist/assets/{ChevronLeft-02OWcWpH.js → ChevronLeft-Ch9iK6fF.js} +1 -1
- package/dist/assets/{ChevronRight-CB8w0u2n.js → ChevronRight-DclARA5k.js} +1 -1
- package/dist/assets/{Community-vE_QnoqV.js → Community-D4mv0jfL.js} +1 -1
- package/dist/assets/{DeleteOutline-1-hBNY1U.js → DeleteOutline-CnS2XiM1.js} +1 -1
- package/dist/assets/{Done-CcJLRcBY.js → Done-C9LPqADS.js} +1 -1
- package/dist/assets/{Download-HHknpEZd.js → Download-D9LfWoxF.js} +1 -1
- package/dist/assets/{Edit-hd-cDU5C.js → Edit-rPlryssW.js} +1 -1
- package/dist/assets/{EditIcon-DiM9RB8U.js → EditIcon-DfiDnAsm.js} +1 -1
- package/dist/assets/{Error-D0rGqAKE.js → Error-q_AhSCeT.js} +1 -1
- package/dist/assets/{ExpandLess-Fb-uW6u_.js → ExpandLess-Da2Rv9Ox.js} +1 -1
- package/dist/assets/{Google-WGwK551e.js → Google-Buu8u6PW.js} +1 -1
- package/dist/assets/{Holiday-BnL2IwX3.js → Holiday-DkzYmdt-.js} +1 -1
- package/dist/assets/{Home-DeTVRhMG.js → Home-DkCBzKe9.js} +1 -1
- package/dist/assets/{InfoOutlined-CLiL5VeK.js → InfoOutlined-C8ZBPUhD.js} +1 -1
- package/dist/assets/{Launch-BwVeOcBz.js → Launch-Nu8TBDKk.js} +1 -1
- package/dist/assets/{LaunchOutlined-CPurmWuM.js → LaunchOutlined-DQZ7S23O.js} +1 -1
- package/dist/assets/{LockIcon-QnxDGvZv.js → LockIcon-BEG59s5q.js} +1 -1
- package/dist/assets/{Meeting-BkjjPbp7.js → Meeting-KSUAdbzW.js} +1 -1
- package/dist/assets/{MoreHoriz-9E3q8aHi.js → MoreHoriz-Ba9rYlyz.js} +1 -1
- package/dist/assets/{OffSick-D2B01pyN.js → OffSick-B0VcZ-o0.js} +1 -1
- package/dist/assets/{PlayArrow-B_ZNrQDa.js → PlayArrow-RVSfCmrB.js} +1 -1
- package/dist/assets/{QuestionMarkCircle-BMcwgPWr.js → QuestionMarkCircle-jbhclAfX.js} +1 -1
- package/dist/assets/{TuneOutlined-0oMZE8a4.js → TuneOutlined-CwV20zYf.js} +1 -1
- package/dist/assets/{ViewList-ColSGL1_.js → ViewList-D1BI4ac9.js} +1 -1
- package/dist/assets/{WorkingRemotely-CxoGYC4d.js → WorkingRemotely-5Kw3C-_c.js} +1 -1
- package/dist/assets/{access-control-nyeEpwlF.js → access-control-C-kFaf9T.js} +1 -1
- package/dist/assets/{actions-DtL6bYnA.js → actions-DYQW2ChM.js} +1 -1
- package/dist/assets/{add-component-core-CaE3xcyT.js → add-component-core-UeQfX1b1.js} +37 -37
- package/dist/assets/add-resource-BdL-oJxe.js +1 -0
- package/dist/assets/{addon-e-JO0VU3.js → addon-DMedfvRj.js} +1 -1
- package/dist/assets/{advanced-yrYBgA5T.js → advanced-BZZToP_j.js} +2 -2
- package/dist/assets/api-87p2GGd0.js +1 -0
- package/dist/assets/{appearance-DB1QowgL.js → appearance-CYop22yw.js} +1 -1
- package/dist/assets/ar-D9QEDjY-.js +7 -0
- package/dist/assets/{audit-logs-BamIXrWh.js → audit-logs-BtBk6uAY.js} +3 -3
- package/dist/assets/{authorize-B9LP0G9q.js → authorize-CQZkUNyV.js} +1 -1
- package/dist/assets/{base-chart-BYonGucU.js → base-chart-C2FJuVG1.js} +1 -1
- package/dist/assets/{base32-CmYq1ikq.js → base32-DEjena1X.js} +1 -1
- package/dist/assets/{branding-OlEgtAUT.js → branding-7ppDxFZf.js} +2 -2
- package/dist/assets/branding-gXMozCeI.js +54 -0
- package/dist/assets/{bundle-avatar-C41ZXEbR.js → bundle-avatar-B5-ypzmO.js} +1 -1
- package/dist/assets/button-YPMo8IwK.js +1 -0
- package/dist/assets/{click-to-copy-BUVqg1RQ.js → click-to-copy-BMX2P5UB.js} +1 -1
- package/dist/assets/{cloneDeep-ro06l5HL.js → cloneDeep-Jl_OPbSo.js} +1 -1
- package/dist/assets/{collapse--nd2JDBL.js → collapse-9taxUXec.js} +1 -1
- package/dist/assets/{complete-gnnvUqGU.js → complete-C8T0HN-B.js} +1 -1
- package/dist/assets/{component-ClWADDCr.js → component-D6hOmRzO.js} +1 -1
- package/dist/assets/{config-2Sy6fCTJ.js → config-DcwlSddI.js} +1 -1
- package/dist/assets/{config-QpBBpp7d.js → config-Sq1CUTiJ.js} +1 -1
- package/dist/assets/{config-navigation-CsVa3Hf0.js → config-navigation-IR_yUgmM.js} +6 -6
- package/dist/assets/{config-space-B39Ur9Mf.js → config-space-C3fS58cn.js} +1 -1
- package/dist/assets/{confirm-Bay3BcpN.js → confirm-DApmnpvm.js} +1 -1
- package/dist/assets/{connect-T4cAO9om.js → connect-BF4GoRL-.js} +1 -1
- package/dist/assets/connect-Bf8y7fMm.js +5 -0
- package/dist/assets/{connect-to-Dac7orQh.js → connect-to-Bwfa2hMr.js} +1 -1
- package/dist/assets/{content-layout-DuPlKBe3.js → content-layout-BC2QkTYi.js} +1 -1
- package/dist/assets/dashboard-B2X6c8E8.js +239 -0
- package/dist/assets/{de-Dv_ApqsF.js → de-BOa43YBF.js} +2 -2
- package/dist/assets/{delete-confirm-B1F5wKdb.js → delete-confirm-BsEqJQRY.js} +1 -1
- package/dist/assets/{did-address-bJAfhuZx.js → did-address-L54dTMrT.js} +1 -1
- package/dist/assets/domain-BGh0GDuZ.js +9 -0
- package/dist/assets/{domain-action-card-yyZstsWL.js → domain-action-card-DWqnvzry.js} +2 -2
- package/dist/assets/domains-CdwErmIF.js +1 -0
- package/dist/assets/dot-iw3hN9HL.js +7 -0
- package/dist/assets/{email-CYOorZ7K.js → email-By_nAv9m.js} +1 -1
- package/dist/assets/{empty-spinner-DSwpCqdd.js → empty-spinner-BHwHZpq-.js} +1 -1
- package/dist/assets/es-A3ma-OJp.js +9 -0
- package/dist/assets/{exchange-passport-xHfEBrd8.js → exchange-passport-BsgMfRJS.js} +1 -1
- package/dist/assets/fr-I3xKp6I5.js +7 -0
- package/dist/assets/{fuel-CtSAk9S3.js → fuel-RMmgm9AQ.js} +1 -1
- package/dist/assets/{gen-access-key-CoOxXtqa.js → gen-access-key-4teK8Dys.js} +1 -1
- package/dist/assets/{get-safe-url-BWDUV79Q.js → get-safe-url-B8xlSMyD.js} +1 -1
- package/dist/assets/{get-safe-url-CwT4-jkw.js → get-safe-url-t1C0E5Ux.js} +1 -1
- package/dist/assets/{hi-Dqbq8i5Y.js → hi-DacRhM8A.js} +1 -1
- package/dist/assets/{home-D1kBU1RC.js → home-CmHUXg5q.js} +1 -1
- package/dist/assets/{id-Bxr8o3Uo.js → id-B7LQAHL7.js} +3 -3
- package/dist/assets/{iframe-DsIqy16E.js → iframe-Dj9NLHp2.js} +1 -1
- package/dist/assets/{index-BoQJXOtZ.js → index-B2NkqENf.js} +1 -1
- package/dist/assets/{index-BpvW-cUy.js → index-BCtTVvHw.js} +1 -1
- package/dist/assets/{index-Cx-ESLe9.js → index-Bb7iSrGO.js} +4 -4
- package/dist/assets/{index-CTfYMqG2.js → index-Be8E3hiQ.js} +5 -5
- package/dist/assets/{index-DQl2QJod.js → index-BeE0KRva.js} +2 -2
- package/dist/assets/{index-DWgnwzKO.js → index-Bv7OAPJU.js} +1 -1
- package/dist/assets/{index-BnR8uU0R.js → index-BzZuK-66.js} +1 -1
- package/dist/assets/{index-CyS4mBmV.js → index-C8uNNoMb.js} +6 -6
- package/dist/assets/{index-CI4cLtBE.js → index-CCOwwQoc.js} +1 -1
- package/dist/assets/{index-DMSe2Qjx.js → index-CJQbYw9E.js} +2 -2
- package/dist/assets/{index-Dntq1ezd.js → index-CKY4HT0P.js} +1 -1
- package/dist/assets/{index-B18R5SlV.js → index-CMYalRl2.js} +7 -7
- package/dist/assets/{index-BXjOxZPH.js → index-CTlzm-Mc.js} +1 -1
- package/dist/assets/{index-8kcb4Nom.js → index-Cs3-IS09.js} +1 -1
- package/dist/assets/{index-DU8cx_m6.js → index-DEZojGsm.js} +1 -1
- package/dist/assets/{index-B7qZ5OdP.js → index-DXeoVV9Y.js} +11 -11
- package/dist/assets/{index-B1fP-8KR.js → index-DaM-GRtb.js} +2 -2
- package/dist/assets/{index-DaMn1fo9.js → index-Dfw2EDXA.js} +10 -10
- package/dist/assets/{index-DO-a7P7z.js → index-Dgsq6V-N.js} +1 -1
- package/dist/assets/{index-B4wY8GsU.js → index-DtZg53T9.js} +3 -3
- package/dist/assets/{index-j6UAnd8n.js → index-F85lIJcp.js} +1 -1
- package/dist/assets/{index-CY9xLy04.js → index-Inc_KF9k.js} +3 -3
- package/dist/assets/{index-CZgWTJXl.js → index-Mzv6hCex.js} +1 -1
- package/dist/assets/{index-Brd3-BIC.js → index-NnUiYa0L.js} +1 -1
- package/dist/assets/{index-C5vFhD_w.js → index-SX_KWrQh.js} +1 -1
- package/dist/assets/{invitation-BsuZg3B2.js → invitation-Ck_kq3Tr.js} +3 -3
- package/dist/assets/{invite-YNiMO-nB.js → invite-89aeW4Ho.js} +1 -1
- package/dist/assets/{issue-passport-2R7-XHuR.js → issue-passport-4udVYVdq.js} +1 -1
- package/dist/assets/{item-DHMVgmIa.js → item-D0U5vYXJ.js} +1 -1
- package/dist/assets/{ja-CJfcqkdo.js → ja-DRQ4Eecl.js} +3 -1
- package/dist/assets/{ko-BxAazRix.js → ko-CzL3UzwL.js} +3 -1
- package/dist/assets/{launch-result-message-DNgJY11G.js → launch-result-message-AharZGq2.js} +1 -1
- package/dist/assets/{layout-BnunMkuP.js → layout-CQb1lhEv.js} +1 -1
- package/dist/assets/{list-h4Ed_myi.js → list-BOdwWlS0.js} +2 -2
- package/dist/assets/{list-DZwgo-zf.js → list-KVxvPXZu.js} +6 -6
- package/dist/assets/{list-header-D976e09p.js → list-header-C7gle0n0.js} +1 -1
- package/dist/assets/localization-OxVxEhoS.js +1 -0
- package/dist/assets/{log-6M_J_pon.js → log-DOIh9luu.js} +1 -1
- package/dist/assets/{logger-KwxABgLK.js → logger-Dhaq1LDX.js} +1 -1
- package/dist/assets/{login-C2ILZhOf.js → login-J6Bsrh3B.js} +1 -1
- package/dist/assets/{login-oauth-callback-Dt9V4GRH.js → login-oauth-callback-BRmEibAb.js} +1 -1
- package/dist/assets/{logo-uploader-Dhh7Un4G.js → logo-uploader-Dzebv-rF.js} +3 -3
- package/dist/assets/{lost-passport-JODD9Yck.js → lost-passport-p5ZuXjnG.js} +2 -2
- package/dist/assets/{omit-O1pUD7ku.js → omit-BlzmxIB5.js} +1 -1
- package/dist/assets/{open-window-Dn44K3ur.js → open-window-Byi7CkW_.js} +1 -1
- package/dist/assets/{overview-Bjj9JLCV.js → overview-ClOSCvvh.js} +1 -1
- package/dist/assets/{page-header-JH9JWGMg.js → page-header-C_KAJILy.js} +1 -1
- package/dist/assets/{passport-item-CoNRdRpk.js → passport-item-Du8-xENr.js} +1 -1
- package/dist/assets/{permission-B7ZHEOJv.js → permission-ClRym5FB.js} +1 -1
- package/dist/assets/preferences-B6Y0XpLo.js +1 -0
- package/dist/assets/profile-embed-C_hd_hMh.js +1 -0
- package/dist/assets/{pt-FpFCyI6v.js → pt-CHKumXYv.js} +3 -3
- package/dist/assets/publish-resource-kHaYkbDE.js +1 -0
- package/dist/assets/{react-beautiful-dnd.esm-DCPrD7-r.js → react-beautiful-dnd.esm-CHsohizU.js} +1 -1
- package/dist/assets/{ru-BuGIFp9h.js → ru-CvkEKhgU.js} +1 -1
- package/dist/assets/{runtime-1mGYl_p2.js → runtime-D5P_2uNM.js} +1 -1
- package/dist/assets/{sanitize-DbZs1H_T.js → sanitize-B18rcrOf.js} +1 -1
- package/dist/assets/sdk-CbugbTkF.js +1 -0
- package/dist/assets/search-4YYphs0l.js +1 -0
- package/dist/assets/section-BDMQAX_r.js +41 -0
- package/dist/assets/{security-C2l4SCkx.js → security-CXewZHyS.js} +1 -1
- package/dist/assets/{session-1k8BRnYA.js → session-Bkvl2PSP.js} +1 -1
- package/dist/assets/setup-TPtYDnBB.js +30 -0
- package/dist/assets/{shorten-label-CTSJhlwO.js → shorten-label-BQvbtscf.js} +1 -1
- package/dist/assets/{simple-select-cKQxVH3U.js → simple-select-0cjVFuay.js} +1 -1
- package/dist/assets/{slicedToArray-CRrLoxQ4.js → slicedToArray-DFQjSbCD.js} +1 -1
- package/dist/assets/{spaces-CpSu6mVL.js → spaces-C1lh7et6.js} +1 -1
- package/dist/assets/{start-BotjXVuZ.js → start-BgSlMXsE.js} +1 -1
- package/dist/assets/{starting-progress-a7uoLG-L.js → starting-progress-BikYigPA.js} +1 -1
- package/dist/assets/{status-DIJ9lK3F.js → status-DDvFiBxA.js} +1 -1
- package/dist/assets/{step-actions-DLZOEVat.js → step-actions-_23FIn8v.js} +1 -1
- package/dist/assets/{studio-Cua13-ul.js → studio-Db5oA_Tx.js} +1 -1
- package/dist/assets/{switch-control-CzaI2YNK.js → switch-control-BYqb8MZf.js} +1 -1
- package/dist/assets/{table-tips-Czrj7r52.js → table-tips-BW6G2sKO.js} +1 -1
- package/dist/assets/{th-BafLD2wR.js → th-B2BUfjNJ.js} +1 -1
- package/dist/assets/{traffic-fPCLOWN3.js → traffic-CUSLm0PX.js} +1 -1
- package/dist/assets/{transfer-BqCYXmCB.js → transfer-CSsXAviu.js} +1 -1
- package/dist/assets/{unsubscribe-BE77Etc2.js → unsubscribe-BA46-fTa.js} +1 -1
- package/dist/assets/{use-blocklet-logo-DGSQQmh2.js → use-blocklet-logo-CTCMbFiC.js} +1 -1
- package/dist/assets/{use-mobile-CXU9YBvX.js → use-mobile-CtTQsfXN.js} +1 -1
- package/dist/assets/{use-mobile-CiFFAdJf.js → use-mobile-DwzRjjku.js} +1 -1
- package/dist/assets/{use-server-logo-BbYHFDuK.js → use-server-logo-UTr-CyJD.js} +1 -1
- package/dist/assets/useAsync-DVHp96Uu.js +1 -0
- package/dist/assets/{useLocalStorage-BF3BqN1O.js → useLocalStorage-DyVGBDlt.js} +1 -1
- package/dist/assets/user-center-Cap4mg5H.js +77 -0
- package/dist/assets/{util-xXGeezrD.js → util-DlS4tWs9.js} +1 -1
- package/dist/assets/{util-CS4PqVkK.js → util-M3UFXQFT.js} +1 -1
- package/dist/assets/{vendor-arcblock-B4hgrXYM.js → vendor-arcblock-DiSm3oUX.js} +7 -7
- package/dist/assets/{vendor-hooks-BCm626KH.js → vendor-hooks-BFlOfe0M.js} +1 -1
- package/dist/assets/{vendor-mui-core-wlbruq2I.js → vendor-mui-core-Bq8gXTan.js} +1 -1
- package/dist/assets/{vendor-mui-x-BKgL6hAa.js → vendor-mui-x-1nqAyytV.js} +1 -1
- package/dist/assets/vendor-utils-BotmZdBm.js +208 -0
- package/dist/assets/{vendor-ux-did-connect-CX7qG3_M.js → vendor-ux-did-connect-DVX9lQ8a.js} +66 -66
- package/dist/assets/{vi-BMZxxaJ2.js → vi-BykmwIAT.js} +3 -3
- package/dist/assets/wrap-locale-B8EvOR-l.js +1 -0
- package/dist/assets/{zh-DusA4qAT.js → zh-CbCaOuAd.js} +3 -1
- package/dist/assets/{zh-tw-BO-QhSNP.js → zh-tw-C9JfiCVV.js} +3 -1
- package/dist/index.html +6 -6
- package/dist/service-worker.js +1 -1
- package/package.json +33 -33
- package/dist/assets/add-resource-CG8u25Lv.js +0 -1
- package/dist/assets/api-CQoRx33p.js +0 -1
- package/dist/assets/ar-0ZkmCCuq.js +0 -7
- package/dist/assets/branding-C2Dm2Z1c.js +0 -54
- package/dist/assets/button-C0Vra3Ak.js +0 -1
- package/dist/assets/connect-B77rXeVL.js +0 -5
- package/dist/assets/dashboard-k0XcV2m5.js +0 -239
- package/dist/assets/domain-CEwb0Lyz.js +0 -9
- package/dist/assets/domains-CRt4uYYF.js +0 -1
- package/dist/assets/dot-DR7_m3Np.js +0 -7
- package/dist/assets/es-D_uF0siv.js +0 -7
- package/dist/assets/fr-DVFSQfDp.js +0 -7
- package/dist/assets/localization-BNjdHo-G.js +0 -1
- package/dist/assets/preferences-DUSp_pAb.js +0 -1
- package/dist/assets/profile-embed-BIjwkrGW.js +0 -1
- package/dist/assets/publish-resource-AW43Z8jj.js +0 -1
- package/dist/assets/sdk-BJQcHaGO.js +0 -1
- package/dist/assets/section-Bb547IGJ.js +0 -41
- package/dist/assets/setup-DxzbFXmd.js +0 -30
- package/dist/assets/useAsync-BMCqtJH2.js +0 -1
- package/dist/assets/useAsync-CBEJDwr0.js +0 -1
- package/dist/assets/user-center-olJmefSX.js +0 -77
- package/dist/assets/vendor-utils-B3iZkn2R.js +0 -208
- package/dist/assets/wrap-locale-Byq7otyk.js +0 -1
|
@@ -1,208 +0,0 @@
|
|
|
1
|
-
var Du=Object.defineProperty;var ju=(e,t,r)=>t in e?Du(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Ot=(e,t,r)=>ju(e,typeof t!="symbol"?t+"":t,r);import{e as ms,g as ys,a as ku}from"./vendor-react-DEoibe3W.js";var qu=9007199254740991,zu=Math.floor;function ao(e,t){var r="";if(!e||t<1||t>qu)return r;do t%2&&(r+=e),t=zu(t/2),t&&(e+=e);while(t);return r}const $t=globalThis||void 0||self;var ws=typeof $t=="object"&&$t&&$t.Object===Object&&$t,Hu=typeof self=="object"&&self&&self.Object===Object&&self,ot=ws||Hu||Function("return this")(),it=ot.Symbol;function gt(e,t){for(var r=-1,n=e==null?0:e.length,a=Array(n);++r<n;)a[r]=t(e[r],r,e);return a}var $e=Array.isArray,vs=Object.prototype,Gu=vs.hasOwnProperty,Wu=vs.toString,ur=it?it.toStringTag:void 0;function Zu(e){var t=Gu.call(e,ur),r=e[ur];try{e[ur]=void 0;var n=!0}catch{}var a=Wu.call(e);return n&&(t?e[ur]=r:delete e[ur]),a}var Ju=Object.prototype,Vu=Ju.toString;function Ku(e){return Vu.call(e)}var Yu="[object Null]",Xu="[object Undefined]",uo=it?it.toStringTag:void 0;function ut(e){return e==null?e===void 0?Xu:Yu:uo&&uo in Object(e)?Zu(e):Ku(e)}function Xe(e){return e!=null&&typeof e=="object"}var Qu="[object Symbol]";function Zt(e){return typeof e=="symbol"||Xe(e)&&ut(e)==Qu}var ef=1/0,fo=it?it.prototype:void 0,lo=fo?fo.toString:void 0;function yr(e){if(typeof e=="string")return e;if($e(e))return gt(e,yr)+"";if(Zt(e))return lo?lo.call(e):"";var t=e+"";return t=="0"&&1/e==-ef?"-0":t}function Mi(e,t,r){var n=-1,a=e.length;t<0&&(t=-t>a?0:a+t),r=r>a?a:r,r<0&&(r+=a),a=t>r?0:r-t>>>0,t>>>=0;for(var i=Array(a);++n<a;)i[n]=e[n+t];return i}function Wr(e,t,r){var n=e.length;return r=r===void 0?n:r,!t&&r>=n?e:Mi(e,t,r)}var tf="\\ud800-\\udfff",rf="\\u0300-\\u036f",nf="\\ufe20-\\ufe2f",of="\\u20d0-\\u20ff",sf=rf+nf+of,af="\\ufe0e\\ufe0f",uf="\\u200d",ff=RegExp("["+uf+tf+sf+af+"]");function Zr(e){return ff.test(e)}function bs(e){return function(t){return t==null?void 0:t[e]}}var lf=bs("length"),xs="\\ud800-\\udfff",cf="\\u0300-\\u036f",hf="\\ufe20-\\ufe2f",df="\\u20d0-\\u20ff",pf=cf+hf+df,gf="\\ufe0e\\ufe0f",mf="["+xs+"]",Xn="["+pf+"]",Qn="\\ud83c[\\udffb-\\udfff]",yf="(?:"+Xn+"|"+Qn+")",Ms="[^"+xs+"]",_s="(?:\\ud83c[\\udde6-\\uddff]){2}",Es="[\\ud800-\\udbff][\\udc00-\\udfff]",wf="\\u200d",Ss=yf+"?",Os="["+gf+"]?",vf="(?:"+wf+"(?:"+[Ms,_s,Es].join("|")+")"+Os+Ss+")*",bf=Os+Ss+vf,xf="(?:"+[Ms+Xn+"?",Xn,_s,Es,mf].join("|")+")",co=RegExp(Qn+"(?="+Qn+")|"+xf+bf,"g");function Mf(e){for(var t=co.lastIndex=0;co.test(e);)++t;return t}function _i(e){return Zr(e)?Mf(e):lf(e)}function _f(e){return e.split("")}var As="\\ud800-\\udfff",Ef="\\u0300-\\u036f",Sf="\\ufe20-\\ufe2f",Of="\\u20d0-\\u20ff",Af=Ef+Sf+Of,Tf="\\ufe0e\\ufe0f",$f="["+As+"]",ei="["+Af+"]",ti="\\ud83c[\\udffb-\\udfff]",Cf="(?:"+ei+"|"+ti+")",Ts="[^"+As+"]",$s="(?:\\ud83c[\\udde6-\\uddff]){2}",Cs="[\\ud800-\\udbff][\\udc00-\\udfff]",Rf="\\u200d",Rs=Cf+"?",Bs="["+Tf+"]?",Bf="(?:"+Rf+"(?:"+[Ts,$s,Cs].join("|")+")"+Bs+Rs+")*",Ff=Bs+Rs+Bf,If="(?:"+[Ts+ei+"?",ei,$s,Cs,$f].join("|")+")",Nf=RegExp(ti+"(?="+ti+")|"+If+Ff,"g");function Pf(e){return e.match(Nf)||[]}function Jt(e){return Zr(e)?Pf(e):_f(e)}var Lf=Math.ceil;function Fs(e,t){t=t===void 0?" ":yr(t);var r=t.length;if(r<2)return r?ao(t,e):t;var n=ao(t,Lf(e/_i(t)));return Zr(t)?Wr(Jt(n),0,e).join(""):n.slice(0,e)}var Uf=/\s/;function Is(e){for(var t=e.length;t--&&Uf.test(e.charAt(t)););return t}var Df=/^\s+/;function Ns(e){return e&&e.slice(0,Is(e)+1).replace(Df,"")}function Ze(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}const uv=Object.freeze(Object.defineProperty({__proto__:null,default:Ze},Symbol.toStringTag,{value:"Module"}));var ho=NaN,jf=/^[-+]0x[0-9a-f]+$/i,kf=/^0b[01]+$/i,qf=/^0o[0-7]+$/i,zf=parseInt;function ri(e){if(typeof e=="number")return e;if(Zt(e))return ho;if(Ze(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Ze(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Ns(e);var r=kf.test(e);return r||qf.test(e)?zf(e.slice(2),r?2:8):jf.test(e)?ho:+e}var po=1/0,Hf=17976931348623157e292;function Gf(e){if(!e)return e===0?e:0;if(e=ri(e),e===po||e===-po){var t=e<0?-1:1;return t*Hf}return e===e?e:0}function er(e){var t=Gf(e),r=t%1;return t===t?r?t-r:t:0}function tt(e){return e==null?"":yr(e)}function Wf(e,t,r){e=tt(e),t=er(t);var n=t?_i(e):0;return t&&n<t?Fs(t-n,r)+e:e}const fv=Object.freeze(Object.defineProperty({__proto__:null,default:Wf},Symbol.toStringTag,{value:"Module"}));function Zf(e){return e==null}const lv=Object.freeze(Object.defineProperty({__proto__:null,default:Zf},Symbol.toStringTag,{value:"Module"}));function Jf(){this.__data__=[],this.size=0}function tr(e,t){return e===t||e!==e&&t!==t}function Jr(e,t){for(var r=e.length;r--;)if(tr(e[r][0],t))return r;return-1}var Vf=Array.prototype,Kf=Vf.splice;function Yf(e){var t=this.__data__,r=Jr(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():Kf.call(t,r,1),--this.size,!0}function Xf(e){var t=this.__data__,r=Jr(t,e);return r<0?void 0:t[r][1]}function Qf(e){return Jr(this.__data__,e)>-1}function el(e,t){var r=this.__data__,n=Jr(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function bt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}bt.prototype.clear=Jf;bt.prototype.delete=Yf;bt.prototype.get=Xf;bt.prototype.has=Qf;bt.prototype.set=el;function tl(){this.__data__=new bt,this.size=0}function rl(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function nl(e){return this.__data__.get(e)}function il(e){return this.__data__.has(e)}var ol="[object AsyncFunction]",sl="[object Function]",al="[object GeneratorFunction]",ul="[object Proxy]";function Ei(e){if(!Ze(e))return!1;var t=ut(e);return t==sl||t==al||t==ol||t==ul}var Ln=ot["__core-js_shared__"],go=function(){var e=/[^.]+$/.exec(Ln&&Ln.keys&&Ln.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function fl(e){return!!go&&go in e}var ll=Function.prototype,cl=ll.toString;function Lt(e){if(e!=null){try{return cl.call(e)}catch{}try{return e+""}catch{}}return""}var hl=/[\\^$.*+?()[\]{}|]/g,dl=/^\[object .+?Constructor\]$/,pl=Function.prototype,gl=Object.prototype,ml=pl.toString,yl=gl.hasOwnProperty,wl=RegExp("^"+ml.call(yl).replace(hl,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function vl(e){if(!Ze(e)||fl(e))return!1;var t=Ei(e)?wl:dl;return t.test(Lt(e))}function bl(e,t){return e==null?void 0:e[t]}function Ut(e,t){var r=bl(e,t);return vl(r)?r:void 0}var hr=Ut(ot,"Map"),dr=Ut(Object,"create");function xl(){this.__data__=dr?dr(null):{},this.size=0}function Ml(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var _l="__lodash_hash_undefined__",El=Object.prototype,Sl=El.hasOwnProperty;function Ol(e){var t=this.__data__;if(dr){var r=t[e];return r===_l?void 0:r}return Sl.call(t,e)?t[e]:void 0}var Al=Object.prototype,Tl=Al.hasOwnProperty;function $l(e){var t=this.__data__;return dr?t[e]!==void 0:Tl.call(t,e)}var Cl="__lodash_hash_undefined__";function Rl(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=dr&&t===void 0?Cl:t,this}function Ft(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Ft.prototype.clear=xl;Ft.prototype.delete=Ml;Ft.prototype.get=Ol;Ft.prototype.has=$l;Ft.prototype.set=Rl;function Bl(){this.size=0,this.__data__={hash:new Ft,map:new(hr||bt),string:new Ft}}function Fl(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Vr(e,t){var r=e.__data__;return Fl(t)?r[typeof t=="string"?"string":"hash"]:r.map}function Il(e){var t=Vr(this,e).delete(e);return this.size-=t?1:0,t}function Nl(e){return Vr(this,e).get(e)}function Pl(e){return Vr(this,e).has(e)}function Ll(e,t){var r=Vr(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function xt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}xt.prototype.clear=Bl;xt.prototype.delete=Il;xt.prototype.get=Nl;xt.prototype.has=Pl;xt.prototype.set=Ll;var Ul=200;function Dl(e,t){var r=this.__data__;if(r instanceof bt){var n=r.__data__;if(!hr||n.length<Ul-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new xt(n)}return r.set(e,t),this.size=r.size,this}function at(e){var t=this.__data__=new bt(e);this.size=t.size}at.prototype.clear=tl;at.prototype.delete=rl;at.prototype.get=nl;at.prototype.has=il;at.prototype.set=Dl;var jl="__lodash_hash_undefined__";function kl(e){return this.__data__.set(e,jl),this}function ql(e){return this.__data__.has(e)}function It(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new xt;++t<r;)this.add(e[t])}It.prototype.add=It.prototype.push=kl;It.prototype.has=ql;function zl(e,t){for(var r=-1,n=e==null?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}function pr(e,t){return e.has(t)}var Hl=1,Gl=2;function Ps(e,t,r,n,a,i){var l=r&Hl,v=e.length,M=t.length;if(v!=M&&!(l&&M>v))return!1;var y=i.get(e),h=i.get(t);if(y&&h)return y==t&&h==e;var S=-1,B=!0,z=r&Gl?new It:void 0;for(i.set(e,t),i.set(t,e);++S<v;){var G=e[S],Z=t[S];if(n)var q=l?n(Z,G,S,t,e,i):n(G,Z,S,e,t,i);if(q!==void 0){if(q)continue;B=!1;break}if(z){if(!zl(t,function(Q,X){if(!pr(z,X)&&(G===Q||a(G,Q,r,n,i)))return z.push(X)})){B=!1;break}}else if(!(G===Z||a(G,Z,r,n,i))){B=!1;break}}return i.delete(e),i.delete(t),B}var Lr=ot.Uint8Array;function Wl(e){var t=-1,r=Array(e.size);return e.forEach(function(n,a){r[++t]=[a,n]}),r}function Si(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var Zl=1,Jl=2,Vl="[object Boolean]",Kl="[object Date]",Yl="[object Error]",Xl="[object Map]",Ql="[object Number]",ec="[object RegExp]",tc="[object Set]",rc="[object String]",nc="[object Symbol]",ic="[object ArrayBuffer]",oc="[object DataView]",mo=it?it.prototype:void 0,Un=mo?mo.valueOf:void 0;function sc(e,t,r,n,a,i,l){switch(r){case oc:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case ic:return!(e.byteLength!=t.byteLength||!i(new Lr(e),new Lr(t)));case Vl:case Kl:case Ql:return tr(+e,+t);case Yl:return e.name==t.name&&e.message==t.message;case ec:case rc:return e==t+"";case Xl:var v=Wl;case tc:var M=n&Zl;if(v||(v=Si),e.size!=t.size&&!M)return!1;var y=l.get(e);if(y)return y==t;n|=Jl,l.set(e,t);var h=Ps(v(e),v(t),n,a,i,l);return l.delete(e),h;case nc:if(Un)return Un.call(e)==Un.call(t)}return!1}function Oi(e,t){for(var r=-1,n=t.length,a=e.length;++r<n;)e[a+r]=t[r];return e}function Ls(e,t,r){var n=t(e);return $e(e)?n:Oi(n,r(e))}function Us(e,t){for(var r=-1,n=e==null?0:e.length,a=0,i=[];++r<n;){var l=e[r];t(l,r,e)&&(i[a++]=l)}return i}function Ds(){return[]}var ac=Object.prototype,uc=ac.propertyIsEnumerable,yo=Object.getOwnPropertySymbols,Ai=yo?function(e){return e==null?[]:(e=Object(e),Us(yo(e),function(t){return uc.call(e,t)}))}:Ds;function fc(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var lc="[object Arguments]";function wo(e){return Xe(e)&&ut(e)==lc}var js=Object.prototype,cc=js.hasOwnProperty,hc=js.propertyIsEnumerable,Vt=wo(function(){return arguments}())?wo:function(e){return Xe(e)&&cc.call(e,"callee")&&!hc.call(e,"callee")};function dc(){return!1}var ks=typeof exports=="object"&&exports&&!exports.nodeType&&exports,vo=ks&&typeof module=="object"&&module&&!module.nodeType&&module,pc=vo&&vo.exports===ks,bo=pc?ot.Buffer:void 0,gc=bo?bo.isBuffer:void 0,Kt=gc||dc,mc=9007199254740991,yc=/^(?:0|[1-9]\d*)$/;function wr(e,t){var r=typeof e;return t=t??mc,!!t&&(r=="number"||r!="symbol"&&yc.test(e))&&e>-1&&e%1==0&&e<t}var wc=9007199254740991;function Ti(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=wc}var vc="[object Arguments]",bc="[object Array]",xc="[object Boolean]",Mc="[object Date]",_c="[object Error]",Ec="[object Function]",Sc="[object Map]",Oc="[object Number]",Ac="[object Object]",Tc="[object RegExp]",$c="[object Set]",Cc="[object String]",Rc="[object WeakMap]",Bc="[object ArrayBuffer]",Fc="[object DataView]",Ic="[object Float32Array]",Nc="[object Float64Array]",Pc="[object Int8Array]",Lc="[object Int16Array]",Uc="[object Int32Array]",Dc="[object Uint8Array]",jc="[object Uint8ClampedArray]",kc="[object Uint16Array]",qc="[object Uint32Array]",Oe={};Oe[Ic]=Oe[Nc]=Oe[Pc]=Oe[Lc]=Oe[Uc]=Oe[Dc]=Oe[jc]=Oe[kc]=Oe[qc]=!0;Oe[vc]=Oe[bc]=Oe[Bc]=Oe[xc]=Oe[Fc]=Oe[Mc]=Oe[_c]=Oe[Ec]=Oe[Sc]=Oe[Oc]=Oe[Ac]=Oe[Tc]=Oe[$c]=Oe[Cc]=Oe[Rc]=!1;function zc(e){return Xe(e)&&Ti(e.length)&&!!Oe[ut(e)]}function vr(e){return function(t){return e(t)}}var qs=typeof exports=="object"&&exports&&!exports.nodeType&&exports,lr=qs&&typeof module=="object"&&module&&!module.nodeType&&module,Hc=lr&&lr.exports===qs,Dn=Hc&&ws.process,Yt=function(){try{var e=lr&&lr.require&&lr.require("util").types;return e||Dn&&Dn.binding&&Dn.binding("util")}catch{}}(),xo=Yt&&Yt.isTypedArray,Kr=xo?vr(xo):zc,Gc=Object.prototype,Wc=Gc.hasOwnProperty;function zs(e,t){var r=$e(e),n=!r&&Vt(e),a=!r&&!n&&Kt(e),i=!r&&!n&&!a&&Kr(e),l=r||n||a||i,v=l?fc(e.length,String):[],M=v.length;for(var y in e)(t||Wc.call(e,y))&&!(l&&(y=="length"||a&&(y=="offset"||y=="parent")||i&&(y=="buffer"||y=="byteLength"||y=="byteOffset")||wr(y,M)))&&v.push(y);return v}var Zc=Object.prototype;function Yr(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Zc;return e===r}function Hs(e,t){return function(r){return e(t(r))}}var Jc=Hs(Object.keys,Object),Vc=Object.prototype,Kc=Vc.hasOwnProperty;function Gs(e){if(!Yr(e))return Jc(e);var t=[];for(var r in Object(e))Kc.call(e,r)&&r!="constructor"&&t.push(r);return t}function Et(e){return e!=null&&Ti(e.length)&&!Ei(e)}function St(e){return Et(e)?zs(e):Gs(e)}function ni(e){return Ls(e,St,Ai)}var Yc=1,Xc=Object.prototype,Qc=Xc.hasOwnProperty;function e0(e,t,r,n,a,i){var l=r&Yc,v=ni(e),M=v.length,y=ni(t),h=y.length;if(M!=h&&!l)return!1;for(var S=M;S--;){var B=v[S];if(!(l?B in t:Qc.call(t,B)))return!1}var z=i.get(e),G=i.get(t);if(z&&G)return z==t&&G==e;var Z=!0;i.set(e,t),i.set(t,e);for(var q=l;++S<M;){B=v[S];var Q=e[B],X=t[B];if(n)var pe=l?n(X,Q,B,t,e,i):n(Q,X,B,e,t,i);if(!(pe===void 0?Q===X||a(Q,X,r,n,i):pe)){Z=!1;break}q||(q=B=="constructor")}if(Z&&!q){var ce=e.constructor,oe=t.constructor;ce!=oe&&"constructor"in e&&"constructor"in t&&!(typeof ce=="function"&&ce instanceof ce&&typeof oe=="function"&&oe instanceof oe)&&(Z=!1)}return i.delete(e),i.delete(t),Z}var ii=Ut(ot,"DataView"),oi=Ut(ot,"Promise"),Gt=Ut(ot,"Set"),si=Ut(ot,"WeakMap"),Mo="[object Map]",t0="[object Object]",_o="[object Promise]",Eo="[object Set]",So="[object WeakMap]",Oo="[object DataView]",r0=Lt(ii),n0=Lt(hr),i0=Lt(oi),o0=Lt(Gt),s0=Lt(si),nt=ut;(ii&&nt(new ii(new ArrayBuffer(1)))!=Oo||hr&&nt(new hr)!=Mo||oi&&nt(oi.resolve())!=_o||Gt&&nt(new Gt)!=Eo||si&&nt(new si)!=So)&&(nt=function(e){var t=ut(e),r=t==t0?e.constructor:void 0,n=r?Lt(r):"";if(n)switch(n){case r0:return Oo;case n0:return Mo;case i0:return _o;case o0:return Eo;case s0:return So}return t});var a0=1,Ao="[object Arguments]",To="[object Array]",Tr="[object Object]",u0=Object.prototype,$o=u0.hasOwnProperty;function f0(e,t,r,n,a,i){var l=$e(e),v=$e(t),M=l?To:nt(e),y=v?To:nt(t);M=M==Ao?Tr:M,y=y==Ao?Tr:y;var h=M==Tr,S=y==Tr,B=M==y;if(B&&Kt(e)){if(!Kt(t))return!1;l=!0,h=!1}if(B&&!h)return i||(i=new at),l||Kr(e)?Ps(e,t,r,n,a,i):sc(e,t,M,r,n,a,i);if(!(r&a0)){var z=h&&$o.call(e,"__wrapped__"),G=S&&$o.call(t,"__wrapped__");if(z||G){var Z=z?e.value():e,q=G?t.value():t;return i||(i=new at),a(Z,q,r,n,i)}}return B?(i||(i=new at),e0(e,t,r,n,a,i)):!1}function Xr(e,t,r,n,a){return e===t?!0:e==null||t==null||!Xe(e)&&!Xe(t)?e!==e&&t!==t:f0(e,t,r,n,Xr,a)}var l0=1,c0=2;function h0(e,t,r,n){var a=r.length,i=a;if(e==null)return!i;for(e=Object(e);a--;){var l=r[a];if(l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++a<i;){l=r[a];var v=l[0],M=e[v],y=l[1];if(l[2]){if(M===void 0&&!(v in e))return!1}else{var h=new at,S;if(!(S===void 0?Xr(y,M,l0|c0,n,h):S))return!1}}return!0}function Ws(e){return e===e&&!Ze(e)}function d0(e){for(var t=St(e),r=t.length;r--;){var n=t[r],a=e[n];t[r]=[n,a,Ws(a)]}return t}function Zs(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}function p0(e){var t=d0(e);return t.length==1&&t[0][2]?Zs(t[0][0],t[0][1]):function(r){return r===e||h0(r,e,t)}}var g0=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,m0=/^\w*$/;function $i(e,t){if($e(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||Zt(e)?!0:m0.test(e)||!g0.test(e)||t!=null&&e in Object(t)}var y0="Expected a function";function Ci(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(y0);var r=function(){var n=arguments,a=t?t.apply(this,n):n[0],i=r.cache;if(i.has(a))return i.get(a);var l=e.apply(this,n);return r.cache=i.set(a,l)||i,l};return r.cache=new(Ci.Cache||xt),r}Ci.Cache=xt;var w0=500;function v0(e){var t=Ci(e,function(n){return r.size===w0&&r.clear(),n}),r=t.cache;return t}var b0=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,x0=/\\(\\)?/g,M0=v0(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(b0,function(r,n,a,i){t.push(a?i.replace(x0,"$1"):n||r)}),t});function rr(e,t){return $e(e)?e:$i(e,t)?[e]:M0(tt(e))}var _0=1/0;function nr(e){if(typeof e=="string"||Zt(e))return e;var t=e+"";return t=="0"&&1/e==-_0?"-0":t}function br(e,t){t=rr(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[nr(t[r++])];return r&&r==n?e:void 0}function Js(e,t,r){var n=e==null?void 0:br(e,t);return n===void 0?r:n}const cv=Object.freeze(Object.defineProperty({__proto__:null,default:Js},Symbol.toStringTag,{value:"Module"}));function E0(e,t){return e!=null&&t in Object(e)}function S0(e,t,r){t=rr(t,e);for(var n=-1,a=t.length,i=!1;++n<a;){var l=nr(t[n]);if(!(i=e!=null&&r(e,l)))break;e=e[l]}return i||++n!=a?i:(a=e==null?0:e.length,!!a&&Ti(a)&&wr(l,a)&&($e(e)||Vt(e)))}function Vs(e,t){return e!=null&&S0(e,t,E0)}var O0=1,A0=2;function T0(e,t){return $i(e)&&Ws(t)?Zs(nr(e),t):function(r){var n=Js(r,e);return n===void 0&&n===t?Vs(r,e):Xr(t,n,O0|A0)}}function xr(e){return e}function $0(e){return function(t){return br(t,e)}}function C0(e){return $i(e)?bs(nr(e)):$0(e)}function mt(e){return typeof e=="function"?e:e==null?xr:typeof e=="object"?$e(e)?T0(e[0],e[1]):p0(e):C0(e)}var R0="Expected a function";function B0(e){if(typeof e!="function")throw new TypeError(R0);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}var Ur=function(){try{var e=Ut(Object,"defineProperty");return e({},"",{}),e}catch{}}();function Mr(e,t,r){t=="__proto__"&&Ur?Ur(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var F0=Object.prototype,I0=F0.hasOwnProperty;function Ri(e,t,r){var n=e[t];(!(I0.call(e,t)&&tr(n,r))||r===void 0&&!(t in e))&&Mr(e,t,r)}function Ks(e,t,r,n){if(!Ze(e))return e;t=rr(t,e);for(var a=-1,i=t.length,l=i-1,v=e;v!=null&&++a<i;){var M=nr(t[a]),y=r;if(M==="__proto__"||M==="constructor"||M==="prototype")return e;if(a!=l){var h=v[M];y=void 0,y===void 0&&(y=Ze(h)?h:wr(t[a+1])?[]:{})}Ri(v,M,y),v=v[M]}return e}function Ys(e,t,r){for(var n=-1,a=t.length,i={};++n<a;){var l=t[n],v=br(e,l);r(v,l)&&Ks(i,rr(l,e),v)}return i}var Bi=Hs(Object.getPrototypeOf,Object),N0=Object.getOwnPropertySymbols,Xs=N0?function(e){for(var t=[];e;)Oi(t,Ai(e)),e=Bi(e);return t}:Ds;function P0(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var L0=Object.prototype,U0=L0.hasOwnProperty;function D0(e){if(!Ze(e))return P0(e);var t=Yr(e),r=[];for(var n in e)n=="constructor"&&(t||!U0.call(e,n))||r.push(n);return r}function ir(e){return Et(e)?zs(e,!0):D0(e)}function Fi(e){return Ls(e,ir,Xs)}function j0(e,t){if(e==null)return{};var r=gt(Fi(e),function(n){return[n]});return t=mt(t),Ys(e,r,function(n,a){return t(n,a[0])})}function hv(e,t){return j0(e,B0(mt(t)))}var k0="[object Map]",q0="[object Set]",z0=Object.prototype,H0=z0.hasOwnProperty;function G0(e){if(e==null)return!0;if(Et(e)&&($e(e)||typeof e=="string"||typeof e.splice=="function"||Kt(e)||Kr(e)||Vt(e)))return!e.length;var t=nt(e);if(t==k0||t==q0)return!e.size;if(Yr(e))return!Gs(e).length;for(var r in e)if(H0.call(e,r))return!1;return!0}const dv=Object.freeze(Object.defineProperty({__proto__:null,default:G0},Symbol.toStringTag,{value:"Module"}));function pv(e,t,r){return e==null?e:Ks(e,t,r)}var Qs={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(ms,function(){var r=1e3,n=6e4,a=36e5,i="millisecond",l="second",v="minute",M="hour",y="day",h="week",S="month",B="quarter",z="year",G="date",Z="Invalid Date",q=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,Q=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,X={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(d){var p=["th","st","nd","rd"],w=d%100;return"["+d+(p[(w-20)%10]||p[w]||p[0])+"]"}},pe=function(d,p,w){var A=String(d);return!A||A.length>=p?d:""+Array(p+1-A.length).join(w)+d},ce={s:pe,z:function(d){var p=-d.utcOffset(),w=Math.abs(p),A=Math.floor(w/60),$=w%60;return(p<=0?"+":"-")+pe(A,2,"0")+":"+pe($,2,"0")},m:function d(p,w){if(p.date()<w.date())return-d(w,p);var A=12*(w.year()-p.year())+(w.month()-p.month()),$=p.clone().add(A,S),b=w-$<0,u=p.clone().add(A+(b?-1:1),S);return+(-(A+(w-$)/(b?$-u:u-$))||0)},a:function(d){return d<0?Math.ceil(d)||0:Math.floor(d)},p:function(d){return{M:S,y:z,w:h,d:y,D:G,h:M,m:v,s:l,ms:i,Q:B}[d]||String(d||"").toLowerCase().replace(/s$/,"")},u:function(d){return d===void 0}},oe="en",V={};V[oe]=X;var K="$isDayjsObject",ae=function(d){return d instanceof o||!(!d||!d[K])},se=function d(p,w,A){var $;if(!p)return oe;if(typeof p=="string"){var b=p.toLowerCase();V[b]&&($=b),w&&(V[b]=w,$=b);var u=p.split("-");if(!$&&u.length>1)return d(u[0])}else{var _=p.name;V[_]=p,$=_}return!A&&$&&(oe=$),$||!A&&oe},Y=function(d,p){if(ae(d))return d.clone();var w=typeof p=="object"?p:{};return w.date=d,w.args=arguments,new o(w)},E=ce;E.l=se,E.i=ae,E.w=function(d,p){return Y(d,{locale:p.$L,utc:p.$u,x:p.$x,$offset:p.$offset})};var o=function(){function d(w){this.$L=se(w.locale,null,!0),this.parse(w),this.$x=this.$x||w.x||{},this[K]=!0}var p=d.prototype;return p.parse=function(w){this.$d=function(A){var $=A.date,b=A.utc;if($===null)return new Date(NaN);if(E.u($))return new Date;if($ instanceof Date)return new Date($);if(typeof $=="string"&&!/Z$/i.test($)){var u=$.match(q);if(u){var _=u[2]-1||0,ee=(u[7]||"0").substring(0,3);return b?new Date(Date.UTC(u[1],_,u[3]||1,u[4]||0,u[5]||0,u[6]||0,ee)):new Date(u[1],_,u[3]||1,u[4]||0,u[5]||0,u[6]||0,ee)}}return new Date($)}(w),this.init()},p.init=function(){var w=this.$d;this.$y=w.getFullYear(),this.$M=w.getMonth(),this.$D=w.getDate(),this.$W=w.getDay(),this.$H=w.getHours(),this.$m=w.getMinutes(),this.$s=w.getSeconds(),this.$ms=w.getMilliseconds()},p.$utils=function(){return E},p.isValid=function(){return this.$d.toString()!==Z},p.isSame=function(w,A){var $=Y(w);return this.startOf(A)<=$&&$<=this.endOf(A)},p.isAfter=function(w,A){return Y(w)<this.startOf(A)},p.isBefore=function(w,A){return this.endOf(A)<Y(w)},p.$g=function(w,A,$){return E.u(w)?this[A]:this.set($,w)},p.unix=function(){return Math.floor(this.valueOf()/1e3)},p.valueOf=function(){return this.$d.getTime()},p.startOf=function(w,A){var $=this,b=!!E.u(A)||A,u=E.p(w),_=function(ge,m){var O=E.w($.$u?Date.UTC($.$y,m,ge):new Date($.$y,m,ge),$);return b?O:O.endOf(y)},ee=function(ge,m){return E.w($.toDate()[ge].apply($.toDate("s"),(b?[0,0,0,0]:[23,59,59,999]).slice(m)),$)},te=this.$W,L=this.$M,ie=this.$D,ye="set"+(this.$u?"UTC":"");switch(u){case z:return b?_(1,0):_(31,11);case S:return b?_(1,L):_(0,L+1);case h:var be=this.$locale().weekStart||0,xe=(te<be?te+7:te)-be;return _(b?ie-xe:ie+(6-xe),L);case y:case G:return ee(ye+"Hours",0);case M:return ee(ye+"Minutes",1);case v:return ee(ye+"Seconds",2);case l:return ee(ye+"Milliseconds",3);default:return this.clone()}},p.endOf=function(w){return this.startOf(w,!1)},p.$set=function(w,A){var $,b=E.p(w),u="set"+(this.$u?"UTC":""),_=($={},$[y]=u+"Date",$[G]=u+"Date",$[S]=u+"Month",$[z]=u+"FullYear",$[M]=u+"Hours",$[v]=u+"Minutes",$[l]=u+"Seconds",$[i]=u+"Milliseconds",$)[b],ee=b===y?this.$D+(A-this.$W):A;if(b===S||b===z){var te=this.clone().set(G,1);te.$d[_](ee),te.init(),this.$d=te.set(G,Math.min(this.$D,te.daysInMonth())).$d}else _&&this.$d[_](ee);return this.init(),this},p.set=function(w,A){return this.clone().$set(w,A)},p.get=function(w){return this[E.p(w)]()},p.add=function(w,A){var $,b=this;w=Number(w);var u=E.p(A),_=function(L){var ie=Y(b);return E.w(ie.date(ie.date()+Math.round(L*w)),b)};if(u===S)return this.set(S,this.$M+w);if(u===z)return this.set(z,this.$y+w);if(u===y)return _(1);if(u===h)return _(7);var ee=($={},$[v]=n,$[M]=a,$[l]=r,$)[u]||1,te=this.$d.getTime()+w*ee;return E.w(te,this)},p.subtract=function(w,A){return this.add(-1*w,A)},p.format=function(w){var A=this,$=this.$locale();if(!this.isValid())return $.invalidDate||Z;var b=w||"YYYY-MM-DDTHH:mm:ssZ",u=E.z(this),_=this.$H,ee=this.$m,te=this.$M,L=$.weekdays,ie=$.months,ye=$.meridiem,be=function(m,O,T,P){return m&&(m[O]||m(A,b))||T[O].slice(0,P)},xe=function(m){return E.s(_%12||12,m,"0")},ge=ye||function(m,O,T){var P=m<12?"AM":"PM";return T?P.toLowerCase():P};return b.replace(Q,function(m,O){return O||function(T){switch(T){case"YY":return String(A.$y).slice(-2);case"YYYY":return E.s(A.$y,4,"0");case"M":return te+1;case"MM":return E.s(te+1,2,"0");case"MMM":return be($.monthsShort,te,ie,3);case"MMMM":return be(ie,te);case"D":return A.$D;case"DD":return E.s(A.$D,2,"0");case"d":return String(A.$W);case"dd":return be($.weekdaysMin,A.$W,L,2);case"ddd":return be($.weekdaysShort,A.$W,L,3);case"dddd":return L[A.$W];case"H":return String(_);case"HH":return E.s(_,2,"0");case"h":return xe(1);case"hh":return xe(2);case"a":return ge(_,ee,!0);case"A":return ge(_,ee,!1);case"m":return String(ee);case"mm":return E.s(ee,2,"0");case"s":return String(A.$s);case"ss":return E.s(A.$s,2,"0");case"SSS":return E.s(A.$ms,3,"0");case"Z":return u}return null}(m)||u.replace(":","")})},p.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},p.diff=function(w,A,$){var b,u=this,_=E.p(A),ee=Y(w),te=(ee.utcOffset()-this.utcOffset())*n,L=this-ee,ie=function(){return E.m(u,ee)};switch(_){case z:b=ie()/12;break;case S:b=ie();break;case B:b=ie()/3;break;case h:b=(L-te)/6048e5;break;case y:b=(L-te)/864e5;break;case M:b=L/a;break;case v:b=L/n;break;case l:b=L/r;break;default:b=L}return $?b:E.a(b)},p.daysInMonth=function(){return this.endOf(S).$D},p.$locale=function(){return V[this.$L]},p.locale=function(w,A){if(!w)return this.$L;var $=this.clone(),b=se(w,A,!0);return b&&($.$L=b),$},p.clone=function(){return E.w(this.$d,this)},p.toDate=function(){return new Date(this.valueOf())},p.toJSON=function(){return this.isValid()?this.toISOString():null},p.toISOString=function(){return this.$d.toISOString()},p.toString=function(){return this.$d.toUTCString()},d}(),c=o.prototype;return Y.prototype=c,[["$ms",i],["$s",l],["$m",v],["$H",M],["$W",y],["$M",S],["$y",z],["$D",G]].forEach(function(d){c[d[1]]=function(p){return this.$g(p,d[0],d[1])}}),Y.extend=function(d,p){return d.$i||(d(p,o,Y),d.$i=!0),Y},Y.locale=se,Y.isDayjs=ae,Y.unix=function(d){return Y(1e3*d)},Y.en=V[oe],Y.Ls=V,Y.p={},Y})})(Qs);var W0=Qs.exports;const gv=ys(W0);function ea(){}const mv=Object.freeze(Object.defineProperty({__proto__:null,default:ea},Symbol.toStringTag,{value:"Module"}));function ai(e,t,r){(r!==void 0&&!tr(e[t],r)||r===void 0&&!(t in e))&&Mr(e,t,r)}function Z0(e){return function(t,r,n){for(var a=-1,i=Object(t),l=n(t),v=l.length;v--;){var M=l[++a];if(r(i[M],M,i)===!1)break}return t}}var ta=Z0(),ra=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Co=ra&&typeof module=="object"&&module&&!module.nodeType&&module,J0=Co&&Co.exports===ra,Ro=J0?ot.Buffer:void 0,Bo=Ro?Ro.allocUnsafe:void 0;function na(e,t){if(t)return e.slice();var r=e.length,n=Bo?Bo(r):new e.constructor(r);return e.copy(n),n}function Ii(e){var t=new e.constructor(e.byteLength);return new Lr(t).set(new Lr(e)),t}function ia(e,t){var r=t?Ii(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function Ni(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}var Fo=Object.create,V0=function(){function e(){}return function(t){if(!Ze(t))return{};if(Fo)return Fo(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();function oa(e){return typeof e.constructor=="function"&&!Yr(e)?V0(Bi(e)):{}}function Nt(e){return Xe(e)&&Et(e)}var K0="[object Object]",Y0=Function.prototype,X0=Object.prototype,sa=Y0.toString,Q0=X0.hasOwnProperty,eh=sa.call(Object);function Qr(e){if(!Xe(e)||ut(e)!=K0)return!1;var t=Bi(e);if(t===null)return!0;var r=Q0.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&sa.call(r)==eh}const yv=Object.freeze(Object.defineProperty({__proto__:null,default:Qr},Symbol.toStringTag,{value:"Module"}));function ui(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function Dt(e,t,r,n){var a=!r;r||(r={});for(var i=-1,l=t.length;++i<l;){var v=t[i],M=n?n(r[v],e[v],v,r,e):void 0;M===void 0&&(M=e[v]),a?Mr(r,v,M):Ri(r,v,M)}return r}function th(e){return Dt(e,ir(e))}function rh(e,t,r,n,a,i,l){var v=ui(e,r),M=ui(t,r),y=l.get(M);if(y){ai(e,r,y);return}var h=i?i(v,M,r+"",e,t,l):void 0,S=h===void 0;if(S){var B=$e(M),z=!B&&Kt(M),G=!B&&!z&&Kr(M);h=M,B||z||G?$e(v)?h=v:Nt(v)?h=Ni(v):z?(S=!1,h=na(M,!0)):G?(S=!1,h=ia(M,!0)):h=[]:Qr(M)||Vt(M)?(h=v,Vt(v)?h=th(v):(!Ze(v)||Ei(v))&&(h=oa(M))):S=!1}S&&(l.set(M,h),a(h,M,n,i,l),l.delete(M)),ai(e,r,h)}function en(e,t,r,n,a){e!==t&&ta(t,function(i,l){if(a||(a=new at),Ze(i))rh(e,t,l,r,en,n,a);else{var v=n?n(ui(e,l),i,l+"",e,t,a):void 0;v===void 0&&(v=i),ai(e,l,v)}},ir)}function Pi(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}var Io=Math.max;function aa(e,t,r){return t=Io(t===void 0?e.length-1:t,0),function(){for(var n=arguments,a=-1,i=Io(n.length-t,0),l=Array(i);++a<i;)l[a]=n[t+a];a=-1;for(var v=Array(t+1);++a<t;)v[a]=n[a];return v[t]=r(l),Pi(e,this,v)}}function nh(e){return function(){return e}}var ih=Ur?function(e,t){return Ur(e,"toString",{configurable:!0,enumerable:!1,value:nh(t),writable:!0})}:xr,oh=800,sh=16,ah=Date.now;function uh(e){var t=0,r=0;return function(){var n=ah(),a=sh-(n-r);if(r=n,a>0){if(++t>=oh)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var ua=uh(ih);function ft(e,t){return ua(aa(e,t,xr),e+"")}function fi(e,t,r){if(!Ze(r))return!1;var n=typeof t;return(n=="number"?Et(r)&&wr(t,r.length):n=="string"&&t in r)?tr(r[t],e):!1}function Li(e){return ft(function(t,r){var n=-1,a=r.length,i=a>1?r[a-1]:void 0,l=a>2?r[2]:void 0;for(i=e.length>3&&typeof i=="function"?(a--,i):void 0,l&&fi(r[0],r[1],l)&&(i=a<3?void 0:i,a=1),t=Object(t);++n<a;){var v=r[n];v&&e(t,v,n,i)}return t})}var wv=Li(function(e,t,r){en(e,t,r)}),jn=function(){return ot.Date.now()},fh="Expected a function",lh=Math.max,ch=Math.min;function fa(e,t,r){var n,a,i,l,v,M,y=0,h=!1,S=!1,B=!0;if(typeof e!="function")throw new TypeError(fh);t=ri(t)||0,Ze(r)&&(h=!!r.leading,S="maxWait"in r,i=S?lh(ri(r.maxWait)||0,t):i,B="trailing"in r?!!r.trailing:B);function z(V){var K=n,ae=a;return n=a=void 0,y=V,l=e.apply(ae,K),l}function G(V){return y=V,v=setTimeout(Q,t),h?z(V):l}function Z(V){var K=V-M,ae=V-y,se=t-K;return S?ch(se,i-ae):se}function q(V){var K=V-M,ae=V-y;return M===void 0||K>=t||K<0||S&&ae>=i}function Q(){var V=jn();if(q(V))return X(V);v=setTimeout(Q,Z(V))}function X(V){return v=void 0,B&&n?z(V):(n=a=void 0,l)}function pe(){v!==void 0&&clearTimeout(v),y=0,n=M=a=v=void 0}function ce(){return v===void 0?l:X(jn())}function oe(){var V=jn(),K=q(V);if(n=arguments,a=this,M=V,K){if(v===void 0)return G(M);if(S)return clearTimeout(v),v=setTimeout(Q,t),z(M)}return v===void 0&&(v=setTimeout(Q,t)),l}return oe.cancel=pe,oe.flush=ce,oe}const vv=Object.freeze(Object.defineProperty({__proto__:null,default:fa},Symbol.toStringTag,{value:"Module"}));var hh="Expected a function";function bv(e,t,r){var n=!0,a=!0;if(typeof e!="function")throw new TypeError(hh);return Ze(r)&&(n="leading"in r?!!r.leading:n,a="trailing"in r?!!r.trailing:a),fa(e,t,{leading:n,maxWait:t,trailing:a})}function la(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}function dh(e,t){return e&&Dt(t,St(t),e)}function ph(e,t){return e&&Dt(t,ir(t),e)}function gh(e,t){return Dt(e,Ai(e),t)}function mh(e,t){return Dt(e,Xs(e),t)}var yh=Object.prototype,wh=yh.hasOwnProperty;function vh(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&wh.call(e,"index")&&(r.index=e.index,r.input=e.input),r}function bh(e,t){var r=t?Ii(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var xh=/\w*$/;function Mh(e){var t=new e.constructor(e.source,xh.exec(e));return t.lastIndex=e.lastIndex,t}var No=it?it.prototype:void 0,Po=No?No.valueOf:void 0;function _h(e){return Po?Object(Po.call(e)):{}}var Eh="[object Boolean]",Sh="[object Date]",Oh="[object Map]",Ah="[object Number]",Th="[object RegExp]",$h="[object Set]",Ch="[object String]",Rh="[object Symbol]",Bh="[object ArrayBuffer]",Fh="[object DataView]",Ih="[object Float32Array]",Nh="[object Float64Array]",Ph="[object Int8Array]",Lh="[object Int16Array]",Uh="[object Int32Array]",Dh="[object Uint8Array]",jh="[object Uint8ClampedArray]",kh="[object Uint16Array]",qh="[object Uint32Array]";function zh(e,t,r){var n=e.constructor;switch(t){case Bh:return Ii(e);case Eh:case Sh:return new n(+e);case Fh:return bh(e,r);case Ih:case Nh:case Ph:case Lh:case Uh:case Dh:case jh:case kh:case qh:return ia(e,r);case Oh:return new n;case Ah:case Ch:return new n(e);case Th:return Mh(e);case $h:return new n;case Rh:return _h(e)}}var Hh="[object Map]";function Gh(e){return Xe(e)&&nt(e)==Hh}var Lo=Yt&&Yt.isMap,Wh=Lo?vr(Lo):Gh,Zh="[object Set]";function Jh(e){return Xe(e)&&nt(e)==Zh}var Uo=Yt&&Yt.isSet,Vh=Uo?vr(Uo):Jh,Kh=1,Yh=2,Xh=4,ca="[object Arguments]",Qh="[object Array]",ed="[object Boolean]",td="[object Date]",rd="[object Error]",ha="[object Function]",nd="[object GeneratorFunction]",id="[object Map]",od="[object Number]",da="[object Object]",sd="[object RegExp]",ad="[object Set]",ud="[object String]",fd="[object Symbol]",ld="[object WeakMap]",cd="[object ArrayBuffer]",hd="[object DataView]",dd="[object Float32Array]",pd="[object Float64Array]",gd="[object Int8Array]",md="[object Int16Array]",yd="[object Int32Array]",wd="[object Uint8Array]",vd="[object Uint8ClampedArray]",bd="[object Uint16Array]",xd="[object Uint32Array]",Ee={};Ee[ca]=Ee[Qh]=Ee[cd]=Ee[hd]=Ee[ed]=Ee[td]=Ee[dd]=Ee[pd]=Ee[gd]=Ee[md]=Ee[yd]=Ee[id]=Ee[od]=Ee[da]=Ee[sd]=Ee[ad]=Ee[ud]=Ee[fd]=Ee[wd]=Ee[vd]=Ee[bd]=Ee[xd]=!0;Ee[rd]=Ee[ha]=Ee[ld]=!1;function cr(e,t,r,n,a,i){var l,v=t&Kh,M=t&Yh,y=t&Xh;if(r&&(l=a?r(e,n,a,i):r(e)),l!==void 0)return l;if(!Ze(e))return e;var h=$e(e);if(h){if(l=vh(e),!v)return Ni(e,l)}else{var S=nt(e),B=S==ha||S==nd;if(Kt(e))return na(e,v);if(S==da||S==ca||B&&!a){if(l=M||B?{}:oa(e),!v)return M?mh(e,ph(l,e)):gh(e,dh(l,e))}else{if(!Ee[S])return a?e:{};l=zh(e,S,v)}}i||(i=new at);var z=i.get(e);if(z)return z;i.set(e,l),Vh(e)?e.forEach(function(q){l.add(cr(q,t,r,q,e,i))}):Wh(e)&&e.forEach(function(q,Q){l.set(Q,cr(q,t,r,Q,e,i))});var G=y?M?Fi:ni:M?ir:St,Z=h?void 0:G(e);return la(Z||e,function(q,Q){Z&&(Q=q,q=e[Q]),Ri(l,Q,cr(q,t,r,Q,e,i))}),l}function tn(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function Md(e,t){return t.length<2?e:br(e,Mi(t,0,-1))}function _d(e,t){return t=rr(t,e),e=Md(e,t),e==null||delete e[nr(tn(t))]}function Ed(e){return Qr(e)?void 0:e}var Do=it?it.isConcatSpreadable:void 0;function Sd(e){return $e(e)||Vt(e)||!!(Do&&e&&e[Do])}function _r(e,t,r,n,a){var i=-1,l=e.length;for(r||(r=Sd),a||(a=[]);++i<l;){var v=e[i];r(v)?Oi(a,v):n||(a[a.length]=v)}return a}function Od(e){var t=e==null?0:e.length;return t?_r(e):[]}function pa(e){return ua(aa(e,void 0,Od),e+"")}var Ad=1,Td=2,$d=4,Cd=pa(function(e,t){var r={};if(e==null)return r;var n=!1;t=gt(t,function(i){return i=rr(i,e),n||(n=i.length>1),i}),Dt(e,Fi(e),r),n&&(r=cr(r,Ad|Td|$d,Ed));for(var a=t.length;a--;)_d(r,t[a]);return r});const xv=Object.freeze(Object.defineProperty({__proto__:null,default:Cd},Symbol.toStringTag,{value:"Module"}));function ga(e,t,r,n){for(var a=e.length,i=r+-1;++i<a;)if(t(e[i],i,e))return i;return-1}function Rd(e){return e!==e}function Bd(e,t,r){for(var n=r-1,a=e.length;++n<a;)if(e[n]===t)return n;return-1}function rn(e,t,r){return t===t?Bd(e,t,r):ga(e,Rd,r)}function Ui(e,t){var r=e==null?0:e.length;return!!r&&rn(e,t,0)>-1}function ma(e,t,r){for(var n=-1,a=e==null?0:e.length;++n<a;)if(r(t,e[n]))return!0;return!1}var Fd=1/0,Id=Gt&&1/Si(new Gt([,-0]))[1]==Fd?function(e){return new Gt(e)}:ea,Nd=200;function Xt(e,t,r){var n=-1,a=Ui,i=e.length,l=!0,v=[],M=v;if(r)l=!1,a=ma;else if(i>=Nd){var y=t?null:Id(e);if(y)return Si(y);l=!1,a=pr,M=new It}else M=t?[]:v;e:for(;++n<i;){var h=e[n],S=t?t(h):h;if(h=r||h!==0?h:0,l&&S===S){for(var B=M.length;B--;)if(M[B]===S)continue e;t&&M.push(S),v.push(h)}else a(M,S,r)||(M!==v&&M.push(S),v.push(h))}return v}function Pd(e,t){return e&&e.length?Xt(e,mt(t)):[]}const Mv=Object.freeze(Object.defineProperty({__proto__:null,default:Pd},Symbol.toStringTag,{value:"Module"})),Ld=/[^\0-\x7E]/,Ud=/[\x2E\u3002\uFF0E\uFF61]/g,Dd={overflow:"Overflow Error","not-basic":"Illegal Input","invalid-input":"Invalid Input"},Ht=Math.floor,kn=String.fromCharCode;function jo(e){throw new RangeError(Dd[e])}const ko=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},jd=function(e,t,r){let n=0;for(e=r?Ht(e/700):e>>1,e+=Ht(e/t);e>455;n+=36)e=Ht(e/35);return Ht(n+36*e/(e+38))};function kd(e){return function(t,r){const n=t.split("@");let a="";n.length>1&&(a=n[0]+"@",t=n[1]);const i=function(l,v){const M=[];let y=l.length;for(;y--;)M[y]=v(l[y]);return M}((t=t.replace(Ud,".")).split("."),r).join(".");return a+i}(e,function(t){return Ld.test(t)?"xn--"+function(r){const n=[],a=(r=function(h){const S=[];let B=0;const z=h.length;for(;B<z;){const G=h.charCodeAt(B++);if(G>=55296&&G<=56319&&B<z){const Z=h.charCodeAt(B++);(64512&Z)==56320?S.push(((1023&G)<<10)+(1023&Z)+65536):(S.push(G),B--)}else S.push(G)}return S}(r)).length;let i=128,l=0,v=72;for(const h of r)h<128&&n.push(kn(h));const M=n.length;let y=M;for(M&&n.push("-");y<a;){let h=2147483647;for(const B of r)B>=i&&B<h&&(h=B);const S=y+1;h-i>Ht((2147483647-l)/S)&&jo("overflow"),l+=(h-i)*S,i=h;for(const B of r)if(B<i&&++l>2147483647&&jo("overflow"),B==i){let z=l;for(let G=36;;G+=36){const Z=G<=v?1:G>=v+26?26:G-v;if(z<Z)break;const q=z-Z,Q=36-Z;n.push(kn(ko(Z+q%Q,0))),z=Ht(q/Q)}n.push(kn(ko(z,0))),v=jd(l,S,y==M),l=0,++y}++l,++i}return n.join("")}(t):t})}const ya=/#/g,wa=/&/g,va=/\//g,qd=/=/g,zd=/\?/g,nn=/\+/g,ba=/%5e/gi,Hd=/%60/gi,Gd=/%7b/gi,Wd=/%7c/gi,Zd=/%7d/gi,Jd=/%20/gi,Vd=/%2f/gi,Kd=/%252f/gi;function on(e){return encodeURI(""+e).replace(Wd,"|")}function sn(e){return on(e).replace(Gd,"{").replace(Zd,"}").replace(ba,"^")}function Dr(e){return on(typeof e=="string"?e:JSON.stringify(e)).replace(nn,"%2B").replace(Jd,"+").replace(ya,"%23").replace(wa,"%26").replace(Hd,"`").replace(ba,"^").replace(va,"%2F")}function Rr(e){return Dr(e).replace(qd,"%3D")}function an(e){return on(e).replace(ya,"%23").replace(zd,"%3F").replace(Kd,"%2F").replace(wa,"%26").replace(nn,"%2B")}function Yd(e){return an(e).replace(va,"%2F")}function Ve(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Di(e){return Ve(e.replace(Vd,"%252F"))}function xa(e){return Ve(e.replace(nn," "))}function Ma(e){return Ve(e.replace(nn," "))}function jr(e=""){return kd(e)}function _t(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const r of e.split("&")){const n=r.match(/([^=]+)=?(.*)/)||[];if(n.length<2)continue;const a=xa(n[1]);if(a==="__proto__"||a==="constructor")continue;const i=Ma(n[2]||"");t[a]===void 0?t[a]=i:Array.isArray(t[a])?t[a].push(i):t[a]=[t[a],i]}return t}function _a(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(r=>`${Rr(e)}=${Dr(r)}`).join("&"):`${Rr(e)}=${Dr(t)}`:Rr(e)}function or(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>_a(t,e[t])).filter(Boolean).join("&")}const Xd=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Ea=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Qd=/^([/\\]\s*){2,}[^/\\]/,ep=/^[\s\0]*(blob|data|javascript|vbscript):$/i,tp=/\/$|\/\?|\/#/,rp=/^\.?\//;function np(e){return["./","../"].some(t=>e.startsWith(t))}function un(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Xd.test(e):Ea.test(e)||(t.acceptRelative?Qd.test(e):!1)}function ip(e){return!!e&&ep.test(e)}function kr(e="",t){return t?tp.test(e):e.endsWith("/")}function gr(e="",t){if(!t)return(kr(e)?e.slice(0,-1):e)||"/";if(!kr(e,!0))return e||"/";let r=e,n="";const a=e.indexOf("#");a!==-1&&(r=e.slice(0,a),n=e.slice(a));const[i,...l]=r.split("?");return((i.endsWith("/")?i.slice(0,-1):i)||"/")+(l.length>0?`?${l.join("?")}`:"")+n}function Qt(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(kr(e,!0))return e||"/";let r=e,n="";const a=e.indexOf("#");if(a!==-1&&(r=e.slice(0,a),n=e.slice(a),!r))return n;const[i,...l]=r.split("?");return i+"/"+(l.length>0?`?${l.join("?")}`:"")+n}function ji(e=""){return e.startsWith("/")}function ki(e=""){return(ji(e)?e.slice(1):e)||"/"}function li(e=""){return ji(e)?e:"/"+e}function op(e=""){return e.split("://").map(t=>t.replace(/\/{2,}/g,"/")).join("://")}function sp(e,t){if(qi(t)||un(e))return e;const r=gr(t);return e.startsWith(r)?e:Sa(r,e)}function ap(e,t){if(qi(t))return e;const r=gr(t);if(!e.startsWith(r))return e;const n=e.slice(r.length);return n[0]==="/"?n:"/"+n}function up(e,t){const r=et(e),n={..._t(r.search),...t};return r.search=or(n),jt(r)}function fp(e,t){if(!e.includes("?"))return e;const r=et(e),n=_t(r.search),a=Object.fromEntries(Object.entries(n).filter(([i,l])=>t(i,l)));return r.search=or(a),jt(r)}function lp(e){return _t(et(e).search)}function qi(e){return!e||e==="/"}function zi(e){return e&&e!=="/"}function Sa(e,...t){let r=e||"";for(const n of t.filter(a=>zi(a)))if(r){const a=n.replace(rp,"");r=Qt(r)+a}else r=n;return r}function cp(...e){var l,v,M,y;const t=/\/(?!\/)/,r=e.filter(Boolean),n=[];let a=0;for(const h of r)if(!(!h||h==="/")){for(const[S,B]of h.split(t).entries())if(!(!B||B===".")){if(B===".."){if(n.length===1&&un(n[0]))continue;n.pop(),a--;continue}if(S===1&&((l=n[n.length-1])!=null&&l.endsWith(":/"))){n[n.length-1]+="/"+B;continue}n.push(B),a++}}let i=n.join("/");return a>=0?(v=r[0])!=null&&v.startsWith("/")&&!i.startsWith("/")?i="/"+i:(M=r[0])!=null&&M.startsWith("./")&&!i.startsWith("./")&&(i="./"+i):i="../".repeat(-1*a)+i,(y=r[r.length-1])!=null&&y.endsWith("/")&&!i.endsWith("/")&&(i+="/"),i}function hp(e){return fn(e,"http://")}function dp(e){return fn(e,"https://")}function pp(e){return fn(e,"")}function fn(e,t){let r=e.match(Ea);return r||(r=e.match(/^\/{2,}/)),r?t+e.slice(r[0].length):t+e}function gp(e){const t=et(e);return t.pathname=an(Di(t.pathname)),t.hash=sn(Ve(t.hash)),t.host=jr(Ve(t.host)),t.search=or(_t(t.search)),jt(t)}function mp(e="",...t){if(typeof e!="string")throw new TypeError(`URL input should be string received ${typeof e} (${e})`);const r=t.filter(a=>zi(a));if(r.length===0)return e;const n=et(e);for(const a of r){const i=et(a);if(i.pathname&&(n.pathname=Qt(n.pathname)+ki(i.pathname)),i.hash&&i.hash!=="#"&&(n.hash=i.hash),i.search&&i.search!=="?")if(n.search&&n.search!=="?"){const l=or({..._t(n.search),..._t(i.search)});n.search=l.length>0?"?"+l:""}else n.search=i.search}return jt(n)}function yp(e,t){return Ve(gr(e))===Ve(gr(t))}function wp(e,t,r={}){return r.trailingSlash||(e=Qt(e),t=Qt(t)),r.leadingSlash||(e=li(e),t=li(t)),r.encoding||(e=Ve(e),t=Ve(t)),e===t}function vp(e,t){if(!t||t==="#")return e;const r=et(e);return r.hash=t===""?"":"#"+sn(t),jt(r)}function bp(e){return jt({...et(e),hash:""})}function xp(e){const t=et(e);return(t.pathname||"/")+t.search+t.hash}const Oa=Symbol.for("ufo:protocolRelative");function et(e="",t){const r=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(r){const[,S,B=""]=r;return{protocol:S.toLowerCase(),pathname:B,href:S+B,auth:"",host:"",search:"",hash:""}}if(!un(e,{acceptRelative:!0}))return t?et(t+e):ci(e);const[,n="",a,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,l="",v=""]=i.match(/([^#/?]*)(.*)?/)||[];n==="file:"&&(v=v.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:M,search:y,hash:h}=ci(v);return{protocol:n.toLowerCase(),auth:a?a.slice(0,Math.max(0,a.length-1)):"",host:l,pathname:M,search:y,hash:h,[Oa]:!n}}function ci(e=""){const[t="",r="",n=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:r,hash:n}}function Br(e=""){const[t,r]=e.split(":");return{username:Ve(t),password:Ve(r)}}function hi(e=""){const[t,r]=(e.match(/([^/:]*):?(\d+)?/)||[]).splice(1);return{hostname:Ve(t),port:r}}function jt(e){const t=e.pathname||"",r=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",n=e.hash||"",a=e.auth?e.auth+"@":"",i=e.host||"";return(e.protocol||e[Oa]?(e.protocol||"")+"//":"")+a+i+t+r+n}const Mp=/\/([^/]+\.[^/]+)$/,_p=/\/([^/]+)$/;function Ep(e="",t){const{pathname:r}=et(e),n=t!=null&&t.strict?r.match(Mp):r.match(_p);return n?n[1]:void 0}class Aa{constructor(t=""){Ot(this,"protocol");Ot(this,"host");Ot(this,"auth");Ot(this,"pathname");Ot(this,"query",{});Ot(this,"hash");if(typeof t!="string")throw new TypeError(`URL input should be string received ${typeof t} (${t})`);const r=et(t);this.protocol=Ve(r.protocol),this.host=Ve(r.host),this.auth=Ve(r.auth),this.pathname=Di(r.pathname),this.query=_t(r.search),this.hash=Ve(r.hash)}get hostname(){return hi(this.host).hostname}get port(){return hi(this.host).port||""}get username(){return Br(this.auth).username}get password(){return Br(this.auth).password||""}get hasProtocol(){return this.protocol.length}get isAbsolute(){return this.hasProtocol||this.pathname[0]==="/"}get search(){const t=or(this.query);return t.length>0?"?"+t:""}get searchParams(){const t=new URLSearchParams;for(const r in this.query){const n=this.query[r];if(Array.isArray(n))for(const a of n)t.append(r,a);else t.append(r,typeof n=="string"?n:JSON.stringify(n))}return t}get origin(){return(this.protocol?this.protocol+"//":"")+jr(this.host)}get fullpath(){return an(this.pathname)+this.search+sn(this.hash)}get encodedAuth(){if(!this.auth)return"";const{username:t,password:r}=Br(this.auth);return encodeURIComponent(t)+(r?":"+encodeURIComponent(r):"")}get href(){const t=this.encodedAuth,r=(this.protocol?this.protocol+"//":"")+(t?t+"@":"")+jr(this.host);return this.hasProtocol&&this.isAbsolute?r+this.fullpath:this.fullpath}append(t){if(t.hasProtocol)throw new Error("Cannot append a URL with protocol");Object.assign(this.query,t.query),t.pathname&&(this.pathname=Qt(this.pathname)+ki(t.pathname)),t.hash&&(this.hash=t.hash)}toJSON(){return this.href}toString(){return this.href}}function Sp(e){return new Aa(e)}const _v=Object.freeze(Object.defineProperty({__proto__:null,$URL:Aa,cleanDoubleSlashes:op,createURL:Sp,decode:Ve,decodePath:Di,decodeQueryKey:xa,decodeQueryValue:Ma,encode:on,encodeHash:sn,encodeHost:jr,encodeParam:Yd,encodePath:an,encodeQueryItem:_a,encodeQueryKey:Rr,encodeQueryValue:Dr,filterQuery:fp,getQuery:lp,hasLeadingSlash:ji,hasProtocol:un,hasTrailingSlash:kr,isEmptyURL:qi,isEqual:wp,isNonEmptyURL:zi,isRelative:np,isSamePath:yp,isScriptProtocol:ip,joinRelativeURL:cp,joinURL:Sa,normalizeURL:gp,parseAuth:Br,parseFilename:Ep,parseHost:hi,parsePath:ci,parseQuery:_t,parseURL:et,resolveURL:mp,stringifyParsedURL:jt,stringifyQuery:or,withBase:sp,withFragment:vp,withHttp:hp,withHttps:dp,withLeadingSlash:li,withProtocol:fn,withQuery:up,withTrailingSlash:Qt,withoutBase:ap,withoutFragment:bp,withoutHost:xp,withoutLeadingSlash:ki,withoutProtocol:pp,withoutTrailingSlash:gr},Symbol.toStringTag,{value:"Module"}));function Op(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ta={exports:{}},Re=Ta.exports={},ht,dt;function di(){throw new Error("setTimeout has not been defined")}function pi(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?ht=setTimeout:ht=di}catch{ht=di}try{typeof clearTimeout=="function"?dt=clearTimeout:dt=pi}catch{dt=pi}})();function $a(e){if(ht===setTimeout)return setTimeout(e,0);if((ht===di||!ht)&&setTimeout)return ht=setTimeout,setTimeout(e,0);try{return ht(e,0)}catch{try{return ht.call(null,e,0)}catch{return ht.call(this,e,0)}}}function Ap(e){if(dt===clearTimeout)return clearTimeout(e);if((dt===pi||!dt)&&clearTimeout)return dt=clearTimeout,clearTimeout(e);try{return dt(e)}catch{try{return dt.call(null,e)}catch{return dt.call(this,e)}}}var wt=[],Wt=!1,Ct,Fr=-1;function Tp(){!Wt||!Ct||(Wt=!1,Ct.length?wt=Ct.concat(wt):Fr=-1,wt.length&&Ca())}function Ca(){if(!Wt){var e=$a(Tp);Wt=!0;for(var t=wt.length;t;){for(Ct=wt,wt=[];++Fr<t;)Ct&&Ct[Fr].run();Fr=-1,t=wt.length}Ct=null,Wt=!1,Ap(e)}}Re.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];wt.push(new Ra(e,t)),wt.length===1&&!Wt&&$a(Ca)};function Ra(e,t){this.fun=e,this.array=t}Ra.prototype.run=function(){this.fun.apply(null,this.array)};Re.title="browser";Re.browser=!0;Re.env={};Re.argv=[];Re.version="";Re.versions={};function Mt(){}Re.on=Mt;Re.addListener=Mt;Re.once=Mt;Re.off=Mt;Re.removeListener=Mt;Re.removeAllListeners=Mt;Re.emit=Mt;Re.prependListener=Mt;Re.prependOnceListener=Mt;Re.listeners=function(e){return[]};Re.binding=function(e){throw new Error("process.binding is not supported")};Re.cwd=function(){return"/"};Re.chdir=function(e){throw new Error("process.chdir is not supported")};Re.umask=function(){return 0};var $p=Ta.exports;const qr=Op($p);function Ba(e,t){return function(){return e.apply(t,arguments)}}const{toString:Cp}=Object.prototype,{getPrototypeOf:Hi}=Object,ln=(e=>t=>{const r=Cp.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),lt=e=>(e=e.toLowerCase(),t=>ln(t)===e),cn=e=>t=>typeof t===e,{isArray:sr}=Array,mr=cn("undefined");function Rp(e){return e!==null&&!mr(e)&&e.constructor!==null&&!mr(e.constructor)&&Qe(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Fa=lt("ArrayBuffer");function Bp(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Fa(e.buffer),t}const Fp=cn("string"),Qe=cn("function"),Ia=cn("number"),hn=e=>e!==null&&typeof e=="object",Ip=e=>e===!0||e===!1,Ir=e=>{if(ln(e)!=="object")return!1;const t=Hi(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Np=lt("Date"),Pp=lt("File"),Lp=lt("Blob"),Up=lt("FileList"),Dp=e=>hn(e)&&Qe(e.pipe),jp=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Qe(e.append)&&((t=ln(e))==="formdata"||t==="object"&&Qe(e.toString)&&e.toString()==="[object FormData]"))},kp=lt("URLSearchParams"),[qp,zp,Hp,Gp]=["ReadableStream","Request","Response","Headers"].map(lt),Wp=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Er(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,a;if(typeof e!="object"&&(e=[e]),sr(e))for(n=0,a=e.length;n<a;n++)t.call(null,e[n],n,e);else{const i=r?Object.getOwnPropertyNames(e):Object.keys(e),l=i.length;let v;for(n=0;n<l;n++)v=i[n],t.call(null,e[v],v,e)}}function Na(e,t){t=t.toLowerCase();const r=Object.keys(e);let n=r.length,a;for(;n-- >0;)if(a=r[n],t===a.toLowerCase())return a;return null}const Rt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:$t,Pa=e=>!mr(e)&&e!==Rt;function gi(){const{caseless:e}=Pa(this)&&this||{},t={},r=(n,a)=>{const i=e&&Na(t,a)||a;Ir(t[i])&&Ir(n)?t[i]=gi(t[i],n):Ir(n)?t[i]=gi({},n):sr(n)?t[i]=n.slice():t[i]=n};for(let n=0,a=arguments.length;n<a;n++)arguments[n]&&Er(arguments[n],r);return t}const Zp=(e,t,r,{allOwnKeys:n}={})=>(Er(t,(a,i)=>{r&&Qe(a)?e[i]=Ba(a,r):e[i]=a},{allOwnKeys:n}),e),Jp=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Vp=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},Kp=(e,t,r,n)=>{let a,i,l;const v={};if(t=t||{},e==null)return t;do{for(a=Object.getOwnPropertyNames(e),i=a.length;i-- >0;)l=a[i],(!n||n(l,e,t))&&!v[l]&&(t[l]=e[l],v[l]=!0);e=r!==!1&&Hi(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},Yp=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},Xp=e=>{if(!e)return null;if(sr(e))return e;let t=e.length;if(!Ia(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},Qp=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Hi(Uint8Array)),eg=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let a;for(;(a=n.next())&&!a.done;){const i=a.value;t.call(e,i[0],i[1])}},tg=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},rg=lt("HTMLFormElement"),ng=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,a){return n.toUpperCase()+a}),qo=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),ig=lt("RegExp"),La=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};Er(r,(a,i)=>{let l;(l=t(a,i,e))!==!1&&(n[i]=l||a)}),Object.defineProperties(e,n)},og=e=>{La(e,(t,r)=>{if(Qe(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(Qe(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},sg=(e,t)=>{const r={},n=a=>{a.forEach(i=>{r[i]=!0})};return sr(e)?n(e):n(String(e).split(t)),r},ag=()=>{},ug=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,qn="abcdefghijklmnopqrstuvwxyz",zo="0123456789",Ua={DIGIT:zo,ALPHA:qn,ALPHA_DIGIT:qn+qn.toUpperCase()+zo},fg=(e=16,t=Ua.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r};function lg(e){return!!(e&&Qe(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const cg=e=>{const t=new Array(10),r=(n,a)=>{if(hn(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[a]=n;const i=sr(n)?[]:{};return Er(n,(l,v)=>{const M=r(l,a+1);!mr(M)&&(i[v]=M)}),t[a]=void 0,i}}return n};return r(e,0)},hg=lt("AsyncFunction"),dg=e=>e&&(hn(e)||Qe(e))&&Qe(e.then)&&Qe(e.catch),Da=((e,t)=>e?setImmediate:t?((r,n)=>(Rt.addEventListener("message",({source:a,data:i})=>{a===Rt&&i===r&&n.length&&n.shift()()},!1),a=>{n.push(a),Rt.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",Qe(Rt.postMessage)),pg=typeof queueMicrotask<"u"?queueMicrotask.bind(Rt):typeof qr<"u"&&qr.nextTick||Da,W={isArray:sr,isArrayBuffer:Fa,isBuffer:Rp,isFormData:jp,isArrayBufferView:Bp,isString:Fp,isNumber:Ia,isBoolean:Ip,isObject:hn,isPlainObject:Ir,isReadableStream:qp,isRequest:zp,isResponse:Hp,isHeaders:Gp,isUndefined:mr,isDate:Np,isFile:Pp,isBlob:Lp,isRegExp:ig,isFunction:Qe,isStream:Dp,isURLSearchParams:kp,isTypedArray:Qp,isFileList:Up,forEach:Er,merge:gi,extend:Zp,trim:Wp,stripBOM:Jp,inherits:Vp,toFlatObject:Kp,kindOf:ln,kindOfTest:lt,endsWith:Yp,toArray:Xp,forEachEntry:eg,matchAll:tg,isHTMLForm:rg,hasOwnProperty:qo,hasOwnProp:qo,reduceDescriptors:La,freezeMethods:og,toObjectSet:sg,toCamelCase:ng,noop:ag,toFiniteNumber:ug,findKey:Na,global:Rt,isContextDefined:Pa,ALPHABET:Ua,generateString:fg,isSpecCompliantForm:lg,toJSONObject:cg,isAsyncFn:hg,isThenable:dg,setImmediate:Da,asap:pg};var We={},dn={};dn.byteLength=yg;dn.toByteArray=vg;dn.fromByteArray=Mg;var pt=[],rt=[],gg=typeof Uint8Array<"u"?Uint8Array:Array,zn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var kt=0,mg=zn.length;kt<mg;++kt)pt[kt]=zn[kt],rt[zn.charCodeAt(kt)]=kt;rt[45]=62;rt[95]=63;function ja(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var n=r===t?0:4-r%4;return[r,n]}function yg(e){var t=ja(e),r=t[0],n=t[1];return(r+n)*3/4-n}function wg(e,t,r){return(t+r)*3/4-r}function vg(e){var t,r=ja(e),n=r[0],a=r[1],i=new gg(wg(e,n,a)),l=0,v=a>0?n-4:n,M;for(M=0;M<v;M+=4)t=rt[e.charCodeAt(M)]<<18|rt[e.charCodeAt(M+1)]<<12|rt[e.charCodeAt(M+2)]<<6|rt[e.charCodeAt(M+3)],i[l++]=t>>16&255,i[l++]=t>>8&255,i[l++]=t&255;return a===2&&(t=rt[e.charCodeAt(M)]<<2|rt[e.charCodeAt(M+1)]>>4,i[l++]=t&255),a===1&&(t=rt[e.charCodeAt(M)]<<10|rt[e.charCodeAt(M+1)]<<4|rt[e.charCodeAt(M+2)]>>2,i[l++]=t>>8&255,i[l++]=t&255),i}function bg(e){return pt[e>>18&63]+pt[e>>12&63]+pt[e>>6&63]+pt[e&63]}function xg(e,t,r){for(var n,a=[],i=t;i<r;i+=3)n=(e[i]<<16&16711680)+(e[i+1]<<8&65280)+(e[i+2]&255),a.push(bg(n));return a.join("")}function Mg(e){for(var t,r=e.length,n=r%3,a=[],i=16383,l=0,v=r-n;l<v;l+=i)a.push(xg(e,l,l+i>v?v:l+i));return n===1?(t=e[r-1],a.push(pt[t>>2]+pt[t<<4&63]+"==")):n===2&&(t=(e[r-2]<<8)+e[r-1],a.push(pt[t>>10]+pt[t>>4&63]+pt[t<<2&63]+"=")),a.join("")}var Gi={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */Gi.read=function(e,t,r,n,a){var i,l,v=a*8-n-1,M=(1<<v)-1,y=M>>1,h=-7,S=r?a-1:0,B=r?-1:1,z=e[t+S];for(S+=B,i=z&(1<<-h)-1,z>>=-h,h+=v;h>0;i=i*256+e[t+S],S+=B,h-=8);for(l=i&(1<<-h)-1,i>>=-h,h+=n;h>0;l=l*256+e[t+S],S+=B,h-=8);if(i===0)i=1-y;else{if(i===M)return l?NaN:(z?-1:1)*(1/0);l=l+Math.pow(2,n),i=i-y}return(z?-1:1)*l*Math.pow(2,i-n)};Gi.write=function(e,t,r,n,a,i){var l,v,M,y=i*8-a-1,h=(1<<y)-1,S=h>>1,B=a===23?Math.pow(2,-24)-Math.pow(2,-77):0,z=n?0:i-1,G=n?1:-1,Z=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(v=isNaN(t)?1:0,l=h):(l=Math.floor(Math.log(t)/Math.LN2),t*(M=Math.pow(2,-l))<1&&(l--,M*=2),l+S>=1?t+=B/M:t+=B*Math.pow(2,1-S),t*M>=2&&(l++,M/=2),l+S>=h?(v=0,l=h):l+S>=1?(v=(t*M-1)*Math.pow(2,a),l=l+S):(v=t*Math.pow(2,S-1)*Math.pow(2,a),l=0));a>=8;e[r+z]=v&255,z+=G,v/=256,a-=8);for(l=l<<a|v,y+=a;y>0;e[r+z]=l&255,z+=G,l/=256,y-=8);e[r+z-G]|=Z*128};/*!
|
|
2
|
-
* The buffer module from node.js, for the browser.
|
|
3
|
-
*
|
|
4
|
-
* @author Feross Aboukhadijeh <https://feross.org>
|
|
5
|
-
* @license MIT
|
|
6
|
-
*/(function(e){const t=dn,r=Gi,n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=h,e.SlowBuffer=oe,e.INSPECT_MAX_BYTES=50;const a=2147483647;e.kMaxLength=a;const{Uint8Array:i,ArrayBuffer:l,SharedArrayBuffer:v}=globalThis;h.TYPED_ARRAY_SUPPORT=M(),!h.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function M(){try{const g=new i(1),s={foo:function(){return 42}};return Object.setPrototypeOf(s,i.prototype),Object.setPrototypeOf(g,s),g.foo()===42}catch{return!1}}Object.defineProperty(h.prototype,"parent",{enumerable:!0,get:function(){if(h.isBuffer(this))return this.buffer}}),Object.defineProperty(h.prototype,"offset",{enumerable:!0,get:function(){if(h.isBuffer(this))return this.byteOffset}});function y(g){if(g>a)throw new RangeError('The value "'+g+'" is invalid for option "size"');const s=new i(g);return Object.setPrototypeOf(s,h.prototype),s}function h(g,s,f){if(typeof g=="number"){if(typeof s=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return G(g)}return S(g,s,f)}h.poolSize=8192;function S(g,s,f){if(typeof g=="string")return Z(g,s);if(l.isView(g))return Q(g);if(g==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof g);if(de(g,l)||g&&de(g.buffer,l)||typeof v<"u"&&(de(g,v)||g&&de(g.buffer,v)))return X(g,s,f);if(typeof g=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const x=g.valueOf&&g.valueOf();if(x!=null&&x!==g)return h.from(x,s,f);const C=pe(g);if(C)return C;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof g[Symbol.toPrimitive]=="function")return h.from(g[Symbol.toPrimitive]("string"),s,f);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof g)}h.from=function(g,s,f){return S(g,s,f)},Object.setPrototypeOf(h.prototype,i.prototype),Object.setPrototypeOf(h,i);function B(g){if(typeof g!="number")throw new TypeError('"size" argument must be of type number');if(g<0)throw new RangeError('The value "'+g+'" is invalid for option "size"')}function z(g,s,f){return B(g),g<=0?y(g):s!==void 0?typeof f=="string"?y(g).fill(s,f):y(g).fill(s):y(g)}h.alloc=function(g,s,f){return z(g,s,f)};function G(g){return B(g),y(g<0?0:ce(g)|0)}h.allocUnsafe=function(g){return G(g)},h.allocUnsafeSlow=function(g){return G(g)};function Z(g,s){if((typeof s!="string"||s==="")&&(s="utf8"),!h.isEncoding(s))throw new TypeError("Unknown encoding: "+s);const f=V(g,s)|0;let x=y(f);const C=x.write(g,s);return C!==f&&(x=x.slice(0,C)),x}function q(g){const s=g.length<0?0:ce(g.length)|0,f=y(s);for(let x=0;x<s;x+=1)f[x]=g[x]&255;return f}function Q(g){if(de(g,i)){const s=new i(g);return X(s.buffer,s.byteOffset,s.byteLength)}return q(g)}function X(g,s,f){if(s<0||g.byteLength<s)throw new RangeError('"offset" is outside of buffer bounds');if(g.byteLength<s+(f||0))throw new RangeError('"length" is outside of buffer bounds');let x;return s===void 0&&f===void 0?x=new i(g):f===void 0?x=new i(g,s):x=new i(g,s,f),Object.setPrototypeOf(x,h.prototype),x}function pe(g){if(h.isBuffer(g)){const s=ce(g.length)|0,f=y(s);return f.length===0||g.copy(f,0,0,s),f}if(g.length!==void 0)return typeof g.length!="number"||_e(g.length)?y(0):q(g);if(g.type==="Buffer"&&Array.isArray(g.data))return q(g.data)}function ce(g){if(g>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return g|0}function oe(g){return+g!=g&&(g=0),h.alloc(+g)}h.isBuffer=function(s){return s!=null&&s._isBuffer===!0&&s!==h.prototype},h.compare=function(s,f){if(de(s,i)&&(s=h.from(s,s.offset,s.byteLength)),de(f,i)&&(f=h.from(f,f.offset,f.byteLength)),!h.isBuffer(s)||!h.isBuffer(f))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(s===f)return 0;let x=s.length,C=f.length;for(let j=0,H=Math.min(x,C);j<H;++j)if(s[j]!==f[j]){x=s[j],C=f[j];break}return x<C?-1:C<x?1:0},h.isEncoding=function(s){switch(String(s).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},h.concat=function(s,f){if(!Array.isArray(s))throw new TypeError('"list" argument must be an Array of Buffers');if(s.length===0)return h.alloc(0);let x;if(f===void 0)for(f=0,x=0;x<s.length;++x)f+=s[x].length;const C=h.allocUnsafe(f);let j=0;for(x=0;x<s.length;++x){let H=s[x];if(de(H,i))j+H.length>C.length?(h.isBuffer(H)||(H=h.from(H)),H.copy(C,j)):i.prototype.set.call(C,H,j);else if(h.isBuffer(H))H.copy(C,j);else throw new TypeError('"list" argument must be an Array of Buffers');j+=H.length}return C};function V(g,s){if(h.isBuffer(g))return g.length;if(l.isView(g)||de(g,l))return g.byteLength;if(typeof g!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof g);const f=g.length,x=arguments.length>2&&arguments[2]===!0;if(!x&&f===0)return 0;let C=!1;for(;;)switch(s){case"ascii":case"latin1":case"binary":return f;case"utf8":case"utf-8":return k(g).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return f*2;case"hex":return f>>>1;case"base64":return ue(g).length;default:if(C)return x?-1:k(g).length;s=(""+s).toLowerCase(),C=!0}}h.byteLength=V;function K(g,s,f){let x=!1;if((s===void 0||s<0)&&(s=0),s>this.length||((f===void 0||f>this.length)&&(f=this.length),f<=0)||(f>>>=0,s>>>=0,f<=s))return"";for(g||(g="utf8");;)switch(g){case"hex":return ee(this,s,f);case"utf8":case"utf-8":return A(this,s,f);case"ascii":return u(this,s,f);case"latin1":case"binary":return _(this,s,f);case"base64":return w(this,s,f);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return te(this,s,f);default:if(x)throw new TypeError("Unknown encoding: "+g);g=(g+"").toLowerCase(),x=!0}}h.prototype._isBuffer=!0;function ae(g,s,f){const x=g[s];g[s]=g[f],g[f]=x}h.prototype.swap16=function(){const s=this.length;if(s%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let f=0;f<s;f+=2)ae(this,f,f+1);return this},h.prototype.swap32=function(){const s=this.length;if(s%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let f=0;f<s;f+=4)ae(this,f,f+3),ae(this,f+1,f+2);return this},h.prototype.swap64=function(){const s=this.length;if(s%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let f=0;f<s;f+=8)ae(this,f,f+7),ae(this,f+1,f+6),ae(this,f+2,f+5),ae(this,f+3,f+4);return this},h.prototype.toString=function(){const s=this.length;return s===0?"":arguments.length===0?A(this,0,s):K.apply(this,arguments)},h.prototype.toLocaleString=h.prototype.toString,h.prototype.equals=function(s){if(!h.isBuffer(s))throw new TypeError("Argument must be a Buffer");return this===s?!0:h.compare(this,s)===0},h.prototype.inspect=function(){let s="";const f=e.INSPECT_MAX_BYTES;return s=this.toString("hex",0,f).replace(/(.{2})/g,"$1 ").trim(),this.length>f&&(s+=" ... "),"<Buffer "+s+">"},n&&(h.prototype[n]=h.prototype.inspect),h.prototype.compare=function(s,f,x,C,j){if(de(s,i)&&(s=h.from(s,s.offset,s.byteLength)),!h.isBuffer(s))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof s);if(f===void 0&&(f=0),x===void 0&&(x=s?s.length:0),C===void 0&&(C=0),j===void 0&&(j=this.length),f<0||x>s.length||C<0||j>this.length)throw new RangeError("out of range index");if(C>=j&&f>=x)return 0;if(C>=j)return-1;if(f>=x)return 1;if(f>>>=0,x>>>=0,C>>>=0,j>>>=0,this===s)return 0;let H=j-C,re=x-f;const Se=Math.min(H,re),me=this.slice(C,j),we=s.slice(f,x);for(let Me=0;Me<Se;++Me)if(me[Me]!==we[Me]){H=me[Me],re=we[Me];break}return H<re?-1:re<H?1:0};function se(g,s,f,x,C){if(g.length===0)return-1;if(typeof f=="string"?(x=f,f=0):f>2147483647?f=2147483647:f<-2147483648&&(f=-2147483648),f=+f,_e(f)&&(f=C?0:g.length-1),f<0&&(f=g.length+f),f>=g.length){if(C)return-1;f=g.length-1}else if(f<0)if(C)f=0;else return-1;if(typeof s=="string"&&(s=h.from(s,x)),h.isBuffer(s))return s.length===0?-1:Y(g,s,f,x,C);if(typeof s=="number")return s=s&255,typeof i.prototype.indexOf=="function"?C?i.prototype.indexOf.call(g,s,f):i.prototype.lastIndexOf.call(g,s,f):Y(g,[s],f,x,C);throw new TypeError("val must be string, number or Buffer")}function Y(g,s,f,x,C){let j=1,H=g.length,re=s.length;if(x!==void 0&&(x=String(x).toLowerCase(),x==="ucs2"||x==="ucs-2"||x==="utf16le"||x==="utf-16le")){if(g.length<2||s.length<2)return-1;j=2,H/=2,re/=2,f/=2}function Se(we,Me){return j===1?we[Me]:we.readUInt16BE(Me*j)}let me;if(C){let we=-1;for(me=f;me<H;me++)if(Se(g,me)===Se(s,we===-1?0:me-we)){if(we===-1&&(we=me),me-we+1===re)return we*j}else we!==-1&&(me-=me-we),we=-1}else for(f+re>H&&(f=H-re),me=f;me>=0;me--){let we=!0;for(let Me=0;Me<re;Me++)if(Se(g,me+Me)!==Se(s,Me)){we=!1;break}if(we)return me}return-1}h.prototype.includes=function(s,f,x){return this.indexOf(s,f,x)!==-1},h.prototype.indexOf=function(s,f,x){return se(this,s,f,x,!0)},h.prototype.lastIndexOf=function(s,f,x){return se(this,s,f,x,!1)};function E(g,s,f,x){f=Number(f)||0;const C=g.length-f;x?(x=Number(x),x>C&&(x=C)):x=C;const j=s.length;x>j/2&&(x=j/2);let H;for(H=0;H<x;++H){const re=parseInt(s.substr(H*2,2),16);if(_e(re))return H;g[f+H]=re}return H}function o(g,s,f,x){return fe(k(s,g.length-f),g,f,x)}function c(g,s,f,x){return fe(J(s),g,f,x)}function d(g,s,f,x){return fe(ue(s),g,f,x)}function p(g,s,f,x){return fe(ne(s,g.length-f),g,f,x)}h.prototype.write=function(s,f,x,C){if(f===void 0)C="utf8",x=this.length,f=0;else if(x===void 0&&typeof f=="string")C=f,x=this.length,f=0;else if(isFinite(f))f=f>>>0,isFinite(x)?(x=x>>>0,C===void 0&&(C="utf8")):(C=x,x=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const j=this.length-f;if((x===void 0||x>j)&&(x=j),s.length>0&&(x<0||f<0)||f>this.length)throw new RangeError("Attempt to write outside buffer bounds");C||(C="utf8");let H=!1;for(;;)switch(C){case"hex":return E(this,s,f,x);case"utf8":case"utf-8":return o(this,s,f,x);case"ascii":case"latin1":case"binary":return c(this,s,f,x);case"base64":return d(this,s,f,x);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return p(this,s,f,x);default:if(H)throw new TypeError("Unknown encoding: "+C);C=(""+C).toLowerCase(),H=!0}},h.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function w(g,s,f){return s===0&&f===g.length?t.fromByteArray(g):t.fromByteArray(g.slice(s,f))}function A(g,s,f){f=Math.min(g.length,f);const x=[];let C=s;for(;C<f;){const j=g[C];let H=null,re=j>239?4:j>223?3:j>191?2:1;if(C+re<=f){let Se,me,we,Me;switch(re){case 1:j<128&&(H=j);break;case 2:Se=g[C+1],(Se&192)===128&&(Me=(j&31)<<6|Se&63,Me>127&&(H=Me));break;case 3:Se=g[C+1],me=g[C+2],(Se&192)===128&&(me&192)===128&&(Me=(j&15)<<12|(Se&63)<<6|me&63,Me>2047&&(Me<55296||Me>57343)&&(H=Me));break;case 4:Se=g[C+1],me=g[C+2],we=g[C+3],(Se&192)===128&&(me&192)===128&&(we&192)===128&&(Me=(j&15)<<18|(Se&63)<<12|(me&63)<<6|we&63,Me>65535&&Me<1114112&&(H=Me))}}H===null?(H=65533,re=1):H>65535&&(H-=65536,x.push(H>>>10&1023|55296),H=56320|H&1023),x.push(H),C+=re}return b(x)}const $=4096;function b(g){const s=g.length;if(s<=$)return String.fromCharCode.apply(String,g);let f="",x=0;for(;x<s;)f+=String.fromCharCode.apply(String,g.slice(x,x+=$));return f}function u(g,s,f){let x="";f=Math.min(g.length,f);for(let C=s;C<f;++C)x+=String.fromCharCode(g[C]&127);return x}function _(g,s,f){let x="";f=Math.min(g.length,f);for(let C=s;C<f;++C)x+=String.fromCharCode(g[C]);return x}function ee(g,s,f){const x=g.length;(!s||s<0)&&(s=0),(!f||f<0||f>x)&&(f=x);let C="";for(let j=s;j<f;++j)C+=he[g[j]];return C}function te(g,s,f){const x=g.slice(s,f);let C="";for(let j=0;j<x.length-1;j+=2)C+=String.fromCharCode(x[j]+x[j+1]*256);return C}h.prototype.slice=function(s,f){const x=this.length;s=~~s,f=f===void 0?x:~~f,s<0?(s+=x,s<0&&(s=0)):s>x&&(s=x),f<0?(f+=x,f<0&&(f=0)):f>x&&(f=x),f<s&&(f=s);const C=this.subarray(s,f);return Object.setPrototypeOf(C,h.prototype),C};function L(g,s,f){if(g%1!==0||g<0)throw new RangeError("offset is not uint");if(g+s>f)throw new RangeError("Trying to access beyond buffer length")}h.prototype.readUintLE=h.prototype.readUIntLE=function(s,f,x){s=s>>>0,f=f>>>0,x||L(s,f,this.length);let C=this[s],j=1,H=0;for(;++H<f&&(j*=256);)C+=this[s+H]*j;return C},h.prototype.readUintBE=h.prototype.readUIntBE=function(s,f,x){s=s>>>0,f=f>>>0,x||L(s,f,this.length);let C=this[s+--f],j=1;for(;f>0&&(j*=256);)C+=this[s+--f]*j;return C},h.prototype.readUint8=h.prototype.readUInt8=function(s,f){return s=s>>>0,f||L(s,1,this.length),this[s]},h.prototype.readUint16LE=h.prototype.readUInt16LE=function(s,f){return s=s>>>0,f||L(s,2,this.length),this[s]|this[s+1]<<8},h.prototype.readUint16BE=h.prototype.readUInt16BE=function(s,f){return s=s>>>0,f||L(s,2,this.length),this[s]<<8|this[s+1]},h.prototype.readUint32LE=h.prototype.readUInt32LE=function(s,f){return s=s>>>0,f||L(s,4,this.length),(this[s]|this[s+1]<<8|this[s+2]<<16)+this[s+3]*16777216},h.prototype.readUint32BE=h.prototype.readUInt32BE=function(s,f){return s=s>>>0,f||L(s,4,this.length),this[s]*16777216+(this[s+1]<<16|this[s+2]<<8|this[s+3])},h.prototype.readBigUInt64LE=le(function(s){s=s>>>0,D(s,"offset");const f=this[s],x=this[s+7];(f===void 0||x===void 0)&&R(s,this.length-8);const C=f+this[++s]*2**8+this[++s]*2**16+this[++s]*2**24,j=this[++s]+this[++s]*2**8+this[++s]*2**16+x*2**24;return BigInt(C)+(BigInt(j)<<BigInt(32))}),h.prototype.readBigUInt64BE=le(function(s){s=s>>>0,D(s,"offset");const f=this[s],x=this[s+7];(f===void 0||x===void 0)&&R(s,this.length-8);const C=f*2**24+this[++s]*2**16+this[++s]*2**8+this[++s],j=this[++s]*2**24+this[++s]*2**16+this[++s]*2**8+x;return(BigInt(C)<<BigInt(32))+BigInt(j)}),h.prototype.readIntLE=function(s,f,x){s=s>>>0,f=f>>>0,x||L(s,f,this.length);let C=this[s],j=1,H=0;for(;++H<f&&(j*=256);)C+=this[s+H]*j;return j*=128,C>=j&&(C-=Math.pow(2,8*f)),C},h.prototype.readIntBE=function(s,f,x){s=s>>>0,f=f>>>0,x||L(s,f,this.length);let C=f,j=1,H=this[s+--C];for(;C>0&&(j*=256);)H+=this[s+--C]*j;return j*=128,H>=j&&(H-=Math.pow(2,8*f)),H},h.prototype.readInt8=function(s,f){return s=s>>>0,f||L(s,1,this.length),this[s]&128?(255-this[s]+1)*-1:this[s]},h.prototype.readInt16LE=function(s,f){s=s>>>0,f||L(s,2,this.length);const x=this[s]|this[s+1]<<8;return x&32768?x|4294901760:x},h.prototype.readInt16BE=function(s,f){s=s>>>0,f||L(s,2,this.length);const x=this[s+1]|this[s]<<8;return x&32768?x|4294901760:x},h.prototype.readInt32LE=function(s,f){return s=s>>>0,f||L(s,4,this.length),this[s]|this[s+1]<<8|this[s+2]<<16|this[s+3]<<24},h.prototype.readInt32BE=function(s,f){return s=s>>>0,f||L(s,4,this.length),this[s]<<24|this[s+1]<<16|this[s+2]<<8|this[s+3]},h.prototype.readBigInt64LE=le(function(s){s=s>>>0,D(s,"offset");const f=this[s],x=this[s+7];(f===void 0||x===void 0)&&R(s,this.length-8);const C=this[s+4]+this[s+5]*2**8+this[s+6]*2**16+(x<<24);return(BigInt(C)<<BigInt(32))+BigInt(f+this[++s]*2**8+this[++s]*2**16+this[++s]*2**24)}),h.prototype.readBigInt64BE=le(function(s){s=s>>>0,D(s,"offset");const f=this[s],x=this[s+7];(f===void 0||x===void 0)&&R(s,this.length-8);const C=(f<<24)+this[++s]*2**16+this[++s]*2**8+this[++s];return(BigInt(C)<<BigInt(32))+BigInt(this[++s]*2**24+this[++s]*2**16+this[++s]*2**8+x)}),h.prototype.readFloatLE=function(s,f){return s=s>>>0,f||L(s,4,this.length),r.read(this,s,!0,23,4)},h.prototype.readFloatBE=function(s,f){return s=s>>>0,f||L(s,4,this.length),r.read(this,s,!1,23,4)},h.prototype.readDoubleLE=function(s,f){return s=s>>>0,f||L(s,8,this.length),r.read(this,s,!0,52,8)},h.prototype.readDoubleBE=function(s,f){return s=s>>>0,f||L(s,8,this.length),r.read(this,s,!1,52,8)};function ie(g,s,f,x,C,j){if(!h.isBuffer(g))throw new TypeError('"buffer" argument must be a Buffer instance');if(s>C||s<j)throw new RangeError('"value" argument is out of bounds');if(f+x>g.length)throw new RangeError("Index out of range")}h.prototype.writeUintLE=h.prototype.writeUIntLE=function(s,f,x,C){if(s=+s,f=f>>>0,x=x>>>0,!C){const re=Math.pow(2,8*x)-1;ie(this,s,f,x,re,0)}let j=1,H=0;for(this[f]=s&255;++H<x&&(j*=256);)this[f+H]=s/j&255;return f+x},h.prototype.writeUintBE=h.prototype.writeUIntBE=function(s,f,x,C){if(s=+s,f=f>>>0,x=x>>>0,!C){const re=Math.pow(2,8*x)-1;ie(this,s,f,x,re,0)}let j=x-1,H=1;for(this[f+j]=s&255;--j>=0&&(H*=256);)this[f+j]=s/H&255;return f+x},h.prototype.writeUint8=h.prototype.writeUInt8=function(s,f,x){return s=+s,f=f>>>0,x||ie(this,s,f,1,255,0),this[f]=s&255,f+1},h.prototype.writeUint16LE=h.prototype.writeUInt16LE=function(s,f,x){return s=+s,f=f>>>0,x||ie(this,s,f,2,65535,0),this[f]=s&255,this[f+1]=s>>>8,f+2},h.prototype.writeUint16BE=h.prototype.writeUInt16BE=function(s,f,x){return s=+s,f=f>>>0,x||ie(this,s,f,2,65535,0),this[f]=s>>>8,this[f+1]=s&255,f+2},h.prototype.writeUint32LE=h.prototype.writeUInt32LE=function(s,f,x){return s=+s,f=f>>>0,x||ie(this,s,f,4,4294967295,0),this[f+3]=s>>>24,this[f+2]=s>>>16,this[f+1]=s>>>8,this[f]=s&255,f+4},h.prototype.writeUint32BE=h.prototype.writeUInt32BE=function(s,f,x){return s=+s,f=f>>>0,x||ie(this,s,f,4,4294967295,0),this[f]=s>>>24,this[f+1]=s>>>16,this[f+2]=s>>>8,this[f+3]=s&255,f+4};function ye(g,s,f,x,C){I(s,x,C,g,f,7);let j=Number(s&BigInt(4294967295));g[f++]=j,j=j>>8,g[f++]=j,j=j>>8,g[f++]=j,j=j>>8,g[f++]=j;let H=Number(s>>BigInt(32)&BigInt(4294967295));return g[f++]=H,H=H>>8,g[f++]=H,H=H>>8,g[f++]=H,H=H>>8,g[f++]=H,f}function be(g,s,f,x,C){I(s,x,C,g,f,7);let j=Number(s&BigInt(4294967295));g[f+7]=j,j=j>>8,g[f+6]=j,j=j>>8,g[f+5]=j,j=j>>8,g[f+4]=j;let H=Number(s>>BigInt(32)&BigInt(4294967295));return g[f+3]=H,H=H>>8,g[f+2]=H,H=H>>8,g[f+1]=H,H=H>>8,g[f]=H,f+8}h.prototype.writeBigUInt64LE=le(function(s,f=0){return ye(this,s,f,BigInt(0),BigInt("0xffffffffffffffff"))}),h.prototype.writeBigUInt64BE=le(function(s,f=0){return be(this,s,f,BigInt(0),BigInt("0xffffffffffffffff"))}),h.prototype.writeIntLE=function(s,f,x,C){if(s=+s,f=f>>>0,!C){const Se=Math.pow(2,8*x-1);ie(this,s,f,x,Se-1,-Se)}let j=0,H=1,re=0;for(this[f]=s&255;++j<x&&(H*=256);)s<0&&re===0&&this[f+j-1]!==0&&(re=1),this[f+j]=(s/H>>0)-re&255;return f+x},h.prototype.writeIntBE=function(s,f,x,C){if(s=+s,f=f>>>0,!C){const Se=Math.pow(2,8*x-1);ie(this,s,f,x,Se-1,-Se)}let j=x-1,H=1,re=0;for(this[f+j]=s&255;--j>=0&&(H*=256);)s<0&&re===0&&this[f+j+1]!==0&&(re=1),this[f+j]=(s/H>>0)-re&255;return f+x},h.prototype.writeInt8=function(s,f,x){return s=+s,f=f>>>0,x||ie(this,s,f,1,127,-128),s<0&&(s=255+s+1),this[f]=s&255,f+1},h.prototype.writeInt16LE=function(s,f,x){return s=+s,f=f>>>0,x||ie(this,s,f,2,32767,-32768),this[f]=s&255,this[f+1]=s>>>8,f+2},h.prototype.writeInt16BE=function(s,f,x){return s=+s,f=f>>>0,x||ie(this,s,f,2,32767,-32768),this[f]=s>>>8,this[f+1]=s&255,f+2},h.prototype.writeInt32LE=function(s,f,x){return s=+s,f=f>>>0,x||ie(this,s,f,4,2147483647,-2147483648),this[f]=s&255,this[f+1]=s>>>8,this[f+2]=s>>>16,this[f+3]=s>>>24,f+4},h.prototype.writeInt32BE=function(s,f,x){return s=+s,f=f>>>0,x||ie(this,s,f,4,2147483647,-2147483648),s<0&&(s=4294967295+s+1),this[f]=s>>>24,this[f+1]=s>>>16,this[f+2]=s>>>8,this[f+3]=s&255,f+4},h.prototype.writeBigInt64LE=le(function(s,f=0){return ye(this,s,f,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),h.prototype.writeBigInt64BE=le(function(s,f=0){return be(this,s,f,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function xe(g,s,f,x,C,j){if(f+x>g.length)throw new RangeError("Index out of range");if(f<0)throw new RangeError("Index out of range")}function ge(g,s,f,x,C){return s=+s,f=f>>>0,C||xe(g,s,f,4),r.write(g,s,f,x,23,4),f+4}h.prototype.writeFloatLE=function(s,f,x){return ge(this,s,f,!0,x)},h.prototype.writeFloatBE=function(s,f,x){return ge(this,s,f,!1,x)};function m(g,s,f,x,C){return s=+s,f=f>>>0,C||xe(g,s,f,8),r.write(g,s,f,x,52,8),f+8}h.prototype.writeDoubleLE=function(s,f,x){return m(this,s,f,!0,x)},h.prototype.writeDoubleBE=function(s,f,x){return m(this,s,f,!1,x)},h.prototype.copy=function(s,f,x,C){if(!h.isBuffer(s))throw new TypeError("argument should be a Buffer");if(x||(x=0),!C&&C!==0&&(C=this.length),f>=s.length&&(f=s.length),f||(f=0),C>0&&C<x&&(C=x),C===x||s.length===0||this.length===0)return 0;if(f<0)throw new RangeError("targetStart out of bounds");if(x<0||x>=this.length)throw new RangeError("Index out of range");if(C<0)throw new RangeError("sourceEnd out of bounds");C>this.length&&(C=this.length),s.length-f<C-x&&(C=s.length-f+x);const j=C-x;return this===s&&typeof i.prototype.copyWithin=="function"?this.copyWithin(f,x,C):i.prototype.set.call(s,this.subarray(x,C),f),j},h.prototype.fill=function(s,f,x,C){if(typeof s=="string"){if(typeof f=="string"?(C=f,f=0,x=this.length):typeof x=="string"&&(C=x,x=this.length),C!==void 0&&typeof C!="string")throw new TypeError("encoding must be a string");if(typeof C=="string"&&!h.isEncoding(C))throw new TypeError("Unknown encoding: "+C);if(s.length===1){const H=s.charCodeAt(0);(C==="utf8"&&H<128||C==="latin1")&&(s=H)}}else typeof s=="number"?s=s&255:typeof s=="boolean"&&(s=Number(s));if(f<0||this.length<f||this.length<x)throw new RangeError("Out of range index");if(x<=f)return this;f=f>>>0,x=x===void 0?this.length:x>>>0,s||(s=0);let j;if(typeof s=="number")for(j=f;j<x;++j)this[j]=s;else{const H=h.isBuffer(s)?s:h.from(s,C),re=H.length;if(re===0)throw new TypeError('The value "'+s+'" is invalid for argument "value"');for(j=0;j<x-f;++j)this[j+f]=H[j%re]}return this};const O={};function T(g,s,f){O[g]=class extends f{constructor(){super(),Object.defineProperty(this,"message",{value:s.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${g}]`,this.stack,delete this.name}get code(){return g}set code(C){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:C,writable:!0})}toString(){return`${this.name} [${g}]: ${this.message}`}}}T("ERR_BUFFER_OUT_OF_BOUNDS",function(g){return g?`${g} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),T("ERR_INVALID_ARG_TYPE",function(g,s){return`The "${g}" argument must be of type number. Received type ${typeof s}`},TypeError),T("ERR_OUT_OF_RANGE",function(g,s,f){let x=`The value of "${g}" is out of range.`,C=f;return Number.isInteger(f)&&Math.abs(f)>2**32?C=P(String(f)):typeof f=="bigint"&&(C=String(f),(f>BigInt(2)**BigInt(32)||f<-(BigInt(2)**BigInt(32)))&&(C=P(C)),C+="n"),x+=` It must be ${s}. Received ${C}`,x},RangeError);function P(g){let s="",f=g.length;const x=g[0]==="-"?1:0;for(;f>=x+4;f-=3)s=`_${g.slice(f-3,f)}${s}`;return`${g.slice(0,f)}${s}`}function N(g,s,f){D(s,"offset"),(g[s]===void 0||g[s+f]===void 0)&&R(s,g.length-(f+1))}function I(g,s,f,x,C,j){if(g>f||g<s){const H=typeof s=="bigint"?"n":"";let re;throw s===0||s===BigInt(0)?re=`>= 0${H} and < 2${H} ** ${(j+1)*8}${H}`:re=`>= -(2${H} ** ${(j+1)*8-1}${H}) and < 2 ** ${(j+1)*8-1}${H}`,new O.ERR_OUT_OF_RANGE("value",re,g)}N(x,C,j)}function D(g,s){if(typeof g!="number")throw new O.ERR_INVALID_ARG_TYPE(s,"number",g)}function R(g,s,f){throw Math.floor(g)!==g?(D(g,f),new O.ERR_OUT_OF_RANGE("offset","an integer",g)):s<0?new O.ERR_BUFFER_OUT_OF_BOUNDS:new O.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${s}`,g)}const F=/[^+/0-9A-Za-z-_]/g;function U(g){if(g=g.split("=")[0],g=g.trim().replace(F,""),g.length<2)return"";for(;g.length%4!==0;)g=g+"=";return g}function k(g,s){s=s||1/0;let f;const x=g.length;let C=null;const j=[];for(let H=0;H<x;++H){if(f=g.charCodeAt(H),f>55295&&f<57344){if(!C){if(f>56319){(s-=3)>-1&&j.push(239,191,189);continue}else if(H+1===x){(s-=3)>-1&&j.push(239,191,189);continue}C=f;continue}if(f<56320){(s-=3)>-1&&j.push(239,191,189),C=f;continue}f=(C-55296<<10|f-56320)+65536}else C&&(s-=3)>-1&&j.push(239,191,189);if(C=null,f<128){if((s-=1)<0)break;j.push(f)}else if(f<2048){if((s-=2)<0)break;j.push(f>>6|192,f&63|128)}else if(f<65536){if((s-=3)<0)break;j.push(f>>12|224,f>>6&63|128,f&63|128)}else if(f<1114112){if((s-=4)<0)break;j.push(f>>18|240,f>>12&63|128,f>>6&63|128,f&63|128)}else throw new Error("Invalid code point")}return j}function J(g){const s=[];for(let f=0;f<g.length;++f)s.push(g.charCodeAt(f)&255);return s}function ne(g,s){let f,x,C;const j=[];for(let H=0;H<g.length&&!((s-=2)<0);++H)f=g.charCodeAt(H),x=f>>8,C=f%256,j.push(C),j.push(x);return j}function ue(g){return t.toByteArray(U(g))}function fe(g,s,f,x){let C;for(C=0;C<x&&!(C+f>=s.length||C>=g.length);++C)s[C+f]=g[C];return C}function de(g,s){return g instanceof s||g!=null&&g.constructor!=null&&g.constructor.name!=null&&g.constructor.name===s.name}function _e(g){return g!==g}const he=function(){const g="0123456789abcdef",s=new Array(256);for(let f=0;f<16;++f){const x=f*16;for(let C=0;C<16;++C)s[x+C]=g[f]+g[C]}return s}();function le(g){return typeof BigInt>"u"?Te:g}function Te(){throw new Error("BigInt not supported")}})(We);const ka=We.Buffer,_g=We.Blob,Eg=We.BlobOptions,Sg=We.Buffer,Og=We.File,Ag=We.FileOptions,Tg=We.INSPECT_MAX_BYTES,$g=We.SlowBuffer,Cg=We.TranscodeEncoding,Rg=We.atob,Bg=We.btoa,Fg=We.constants,Ig=We.isAscii,Ng=We.isUtf8,Pg=We.kMaxLength,Lg=We.kStringMaxLength,Ug=We.resolveObjectURL,Dg=We.transcode,jg=Object.freeze(Object.defineProperty({__proto__:null,Blob:_g,BlobOptions:Eg,Buffer:Sg,File:Og,FileOptions:Ag,INSPECT_MAX_BYTES:Tg,SlowBuffer:$g,TranscodeEncoding:Cg,atob:Rg,btoa:Bg,constants:Fg,default:ka,isAscii:Ig,isUtf8:Ng,kMaxLength:Pg,kStringMaxLength:Lg,resolveObjectURL:Ug,transcode:Dg},Symbol.toStringTag,{value:"Module"}));function ve(e,t,r,n,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),a&&(this.response=a,this.status=a.status?a.status:null)}W.inherits(ve,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:W.toJSONObject(this.config),code:this.code,status:this.status}}});const qa=ve.prototype,za={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{za[e]={value:e}});Object.defineProperties(ve,za);Object.defineProperty(qa,"isAxiosError",{value:!0});ve.from=(e,t,r,n,a,i)=>{const l=Object.create(qa);return W.toFlatObject(e,l,function(M){return M!==Error.prototype},v=>v!=="isAxiosError"),ve.call(l,e.message,t,r,n,a),l.cause=e,l.name=e.name,i&&Object.assign(l,i),l};const kg=null;function mi(e){return W.isPlainObject(e)||W.isArray(e)}function Ha(e){return W.endsWith(e,"[]")?e.slice(0,-2):e}function Ho(e,t,r){return e?e.concat(t).map(function(a,i){return a=Ha(a),!r&&i?"["+a+"]":a}).join(r?".":""):t}function qg(e){return W.isArray(e)&&!e.some(mi)}const zg=W.toFlatObject(W,{},null,function(t){return/^is[A-Z]/.test(t)});function pn(e,t,r){if(!W.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=W.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(Z,q){return!W.isUndefined(q[Z])});const n=r.metaTokens,a=r.visitor||h,i=r.dots,l=r.indexes,M=(r.Blob||typeof Blob<"u"&&Blob)&&W.isSpecCompliantForm(t);if(!W.isFunction(a))throw new TypeError("visitor must be a function");function y(G){if(G===null)return"";if(W.isDate(G))return G.toISOString();if(!M&&W.isBlob(G))throw new ve("Blob is not supported. Use a Buffer instead.");return W.isArrayBuffer(G)||W.isTypedArray(G)?M&&typeof Blob=="function"?new Blob([G]):ka.from(G):G}function h(G,Z,q){let Q=G;if(G&&!q&&typeof G=="object"){if(W.endsWith(Z,"{}"))Z=n?Z:Z.slice(0,-2),G=JSON.stringify(G);else if(W.isArray(G)&&qg(G)||(W.isFileList(G)||W.endsWith(Z,"[]"))&&(Q=W.toArray(G)))return Z=Ha(Z),Q.forEach(function(pe,ce){!(W.isUndefined(pe)||pe===null)&&t.append(l===!0?Ho([Z],ce,i):l===null?Z:Z+"[]",y(pe))}),!1}return mi(G)?!0:(t.append(Ho(q,Z,i),y(G)),!1)}const S=[],B=Object.assign(zg,{defaultVisitor:h,convertValue:y,isVisitable:mi});function z(G,Z){if(!W.isUndefined(G)){if(S.indexOf(G)!==-1)throw Error("Circular reference detected in "+Z.join("."));S.push(G),W.forEach(G,function(Q,X){(!(W.isUndefined(Q)||Q===null)&&a.call(t,Q,W.isString(X)?X.trim():X,Z,B))===!0&&z(Q,Z?Z.concat(X):[X])}),S.pop()}}if(!W.isObject(e))throw new TypeError("data must be an object");return z(e),t}function Go(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function Wi(e,t){this._pairs=[],e&&pn(e,this,t)}const Ga=Wi.prototype;Ga.append=function(t,r){this._pairs.push([t,r])};Ga.toString=function(t){const r=t?function(n){return t.call(this,n,Go)}:Go;return this._pairs.map(function(a){return r(a[0])+"="+r(a[1])},"").join("&")};function Hg(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Wa(e,t,r){if(!t)return e;const n=r&&r.encode||Hg;W.isFunction(r)&&(r={serialize:r});const a=r&&r.serialize;let i;if(a?i=a(t,r):i=W.isURLSearchParams(t)?t.toString():new Wi(t,r).toString(n),i){const l=e.indexOf("#");l!==-1&&(e=e.slice(0,l)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Wo{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){W.forEach(this.handlers,function(n){n!==null&&t(n)})}}const Za={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Gg=typeof URLSearchParams<"u"?URLSearchParams:Wi,Wg=typeof FormData<"u"?FormData:null,Zg=typeof Blob<"u"?Blob:null,Jg={isBrowser:!0,classes:{URLSearchParams:Gg,FormData:Wg,Blob:Zg},protocols:["http","https","file","blob","url","data"]},Zi=typeof window<"u"&&typeof document<"u",yi=typeof navigator=="object"&&navigator||void 0,Vg=Zi&&(!yi||["ReactNative","NativeScript","NS"].indexOf(yi.product)<0),Kg=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Yg=Zi&&window.location.href||"http://localhost",Xg=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Zi,hasStandardBrowserEnv:Vg,hasStandardBrowserWebWorkerEnv:Kg,navigator:yi,origin:Yg},Symbol.toStringTag,{value:"Module"})),Ke={...Xg,...Jg};function Qg(e,t){return pn(e,new Ke.classes.URLSearchParams,Object.assign({visitor:function(r,n,a,i){return Ke.isNode&&W.isBuffer(r)?(this.append(n,r.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function em(e){return W.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function tm(e){const t={},r=Object.keys(e);let n;const a=r.length;let i;for(n=0;n<a;n++)i=r[n],t[i]=e[i];return t}function Ja(e){function t(r,n,a,i){let l=r[i++];if(l==="__proto__")return!0;const v=Number.isFinite(+l),M=i>=r.length;return l=!l&&W.isArray(a)?a.length:l,M?(W.hasOwnProp(a,l)?a[l]=[a[l],n]:a[l]=n,!v):((!a[l]||!W.isObject(a[l]))&&(a[l]=[]),t(r,n,a[l],i)&&W.isArray(a[l])&&(a[l]=tm(a[l])),!v)}if(W.isFormData(e)&&W.isFunction(e.entries)){const r={};return W.forEachEntry(e,(n,a)=>{t(em(n),a,r,0)}),r}return null}function rm(e,t,r){if(W.isString(e))try{return(t||JSON.parse)(e),W.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const Sr={transitional:Za,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const n=r.getContentType()||"",a=n.indexOf("application/json")>-1,i=W.isObject(t);if(i&&W.isHTMLForm(t)&&(t=new FormData(t)),W.isFormData(t))return a?JSON.stringify(Ja(t)):t;if(W.isArrayBuffer(t)||W.isBuffer(t)||W.isStream(t)||W.isFile(t)||W.isBlob(t)||W.isReadableStream(t))return t;if(W.isArrayBufferView(t))return t.buffer;if(W.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let v;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return Qg(t,this.formSerializer).toString();if((v=W.isFileList(t))||n.indexOf("multipart/form-data")>-1){const M=this.env&&this.env.FormData;return pn(v?{"files[]":t}:t,M&&new M,this.formSerializer)}}return i||a?(r.setContentType("application/json",!1),rm(t)):t}],transformResponse:[function(t){const r=this.transitional||Sr.transitional,n=r&&r.forcedJSONParsing,a=this.responseType==="json";if(W.isResponse(t)||W.isReadableStream(t))return t;if(t&&W.isString(t)&&(n&&!this.responseType||a)){const l=!(r&&r.silentJSONParsing)&&a;try{return JSON.parse(t)}catch(v){if(l)throw v.name==="SyntaxError"?ve.from(v,ve.ERR_BAD_RESPONSE,this,null,this.response):v}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ke.classes.FormData,Blob:Ke.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};W.forEach(["delete","get","head","post","put","patch"],e=>{Sr.headers[e]={}});const nm=W.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),im=e=>{const t={};let r,n,a;return e&&e.split(`
|
|
7
|
-
`).forEach(function(l){a=l.indexOf(":"),r=l.substring(0,a).trim().toLowerCase(),n=l.substring(a+1).trim(),!(!r||t[r]&&nm[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},Zo=Symbol("internals");function fr(e){return e&&String(e).trim().toLowerCase()}function Nr(e){return e===!1||e==null?e:W.isArray(e)?e.map(Nr):String(e)}function om(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const sm=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Hn(e,t,r,n,a){if(W.isFunction(n))return n.call(this,t,r);if(a&&(t=r),!!W.isString(t)){if(W.isString(n))return t.indexOf(n)!==-1;if(W.isRegExp(n))return n.test(t)}}function am(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function um(e,t){const r=W.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(a,i,l){return this[n].call(this,t,a,i,l)},configurable:!0})})}let Ye=class{constructor(t){t&&this.set(t)}set(t,r,n){const a=this;function i(v,M,y){const h=fr(M);if(!h)throw new Error("header name must be a non-empty string");const S=W.findKey(a,h);(!S||a[S]===void 0||y===!0||y===void 0&&a[S]!==!1)&&(a[S||M]=Nr(v))}const l=(v,M)=>W.forEach(v,(y,h)=>i(y,h,M));if(W.isPlainObject(t)||t instanceof this.constructor)l(t,r);else if(W.isString(t)&&(t=t.trim())&&!sm(t))l(im(t),r);else if(W.isHeaders(t))for(const[v,M]of t.entries())i(M,v,n);else t!=null&&i(r,t,n);return this}get(t,r){if(t=fr(t),t){const n=W.findKey(this,t);if(n){const a=this[n];if(!r)return a;if(r===!0)return om(a);if(W.isFunction(r))return r.call(this,a,n);if(W.isRegExp(r))return r.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=fr(t),t){const n=W.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||Hn(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let a=!1;function i(l){if(l=fr(l),l){const v=W.findKey(n,l);v&&(!r||Hn(n,n[v],v,r))&&(delete n[v],a=!0)}}return W.isArray(t)?t.forEach(i):i(t),a}clear(t){const r=Object.keys(this);let n=r.length,a=!1;for(;n--;){const i=r[n];(!t||Hn(this,this[i],i,t,!0))&&(delete this[i],a=!0)}return a}normalize(t){const r=this,n={};return W.forEach(this,(a,i)=>{const l=W.findKey(n,i);if(l){r[l]=Nr(a),delete r[i];return}const v=t?am(i):String(i).trim();v!==i&&delete r[i],r[v]=Nr(a),n[v]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return W.forEach(this,(n,a)=>{n!=null&&n!==!1&&(r[a]=t&&W.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(`
|
|
8
|
-
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(a=>n.set(a)),n}static accessor(t){const n=(this[Zo]=this[Zo]={accessors:{}}).accessors,a=this.prototype;function i(l){const v=fr(l);n[v]||(um(a,l),n[v]=!0)}return W.isArray(t)?t.forEach(i):i(t),this}};Ye.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);W.reduceDescriptors(Ye.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});W.freezeMethods(Ye);function Gn(e,t){const r=this||Sr,n=t||r,a=Ye.from(n.headers);let i=n.data;return W.forEach(e,function(v){i=v.call(r,i,a.normalize(),t?t.status:void 0)}),a.normalize(),i}function Va(e){return!!(e&&e.__CANCEL__)}function ar(e,t,r){ve.call(this,e??"canceled",ve.ERR_CANCELED,t,r),this.name="CanceledError"}W.inherits(ar,ve,{__CANCEL__:!0});function Ka(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new ve("Request failed with status code "+r.status,[ve.ERR_BAD_REQUEST,ve.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function fm(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function lm(e,t){e=e||10;const r=new Array(e),n=new Array(e);let a=0,i=0,l;return t=t!==void 0?t:1e3,function(M){const y=Date.now(),h=n[i];l||(l=y),r[a]=M,n[a]=y;let S=i,B=0;for(;S!==a;)B+=r[S++],S=S%e;if(a=(a+1)%e,a===i&&(i=(i+1)%e),y-l<t)return;const z=h&&y-h;return z?Math.round(B*1e3/z):void 0}}function cm(e,t){let r=0,n=1e3/t,a,i;const l=(y,h=Date.now())=>{r=h,a=null,i&&(clearTimeout(i),i=null),e.apply(null,y)};return[(...y)=>{const h=Date.now(),S=h-r;S>=n?l(y,h):(a=y,i||(i=setTimeout(()=>{i=null,l(a)},n-S)))},()=>a&&l(a)]}const zr=(e,t,r=3)=>{let n=0;const a=lm(50,250);return cm(i=>{const l=i.loaded,v=i.lengthComputable?i.total:void 0,M=l-n,y=a(M),h=l<=v;n=l;const S={loaded:l,total:v,progress:v?l/v:void 0,bytes:M,rate:y||void 0,estimated:y&&v&&h?(v-l)/y:void 0,event:i,lengthComputable:v!=null,[t?"download":"upload"]:!0};e(S)},r)},Jo=(e,t)=>{const r=e!=null;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},Vo=e=>(...t)=>W.asap(()=>e(...t)),hm=Ke.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,Ke.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(Ke.origin),Ke.navigator&&/(msie|trident)/i.test(Ke.navigator.userAgent)):()=>!0,dm=Ke.hasStandardBrowserEnv?{write(e,t,r,n,a,i){const l=[e+"="+encodeURIComponent(t)];W.isNumber(r)&&l.push("expires="+new Date(r).toGMTString()),W.isString(n)&&l.push("path="+n),W.isString(a)&&l.push("domain="+a),i===!0&&l.push("secure"),document.cookie=l.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function pm(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function gm(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Ya(e,t){return e&&!pm(t)?gm(e,t):t}const Ko=e=>e instanceof Ye?{...e}:e;function Pt(e,t){t=t||{};const r={};function n(y,h,S,B){return W.isPlainObject(y)&&W.isPlainObject(h)?W.merge.call({caseless:B},y,h):W.isPlainObject(h)?W.merge({},h):W.isArray(h)?h.slice():h}function a(y,h,S,B){if(W.isUndefined(h)){if(!W.isUndefined(y))return n(void 0,y,S,B)}else return n(y,h,S,B)}function i(y,h){if(!W.isUndefined(h))return n(void 0,h)}function l(y,h){if(W.isUndefined(h)){if(!W.isUndefined(y))return n(void 0,y)}else return n(void 0,h)}function v(y,h,S){if(S in t)return n(y,h);if(S in e)return n(void 0,y)}const M={url:i,method:i,data:i,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,withXSRFToken:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,responseEncoding:l,validateStatus:v,headers:(y,h,S)=>a(Ko(y),Ko(h),S,!0)};return W.forEach(Object.keys(Object.assign({},e,t)),function(h){const S=M[h]||a,B=S(e[h],t[h],h);W.isUndefined(B)&&S!==v||(r[h]=B)}),r}const Xa=e=>{const t=Pt({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:a,xsrfCookieName:i,headers:l,auth:v}=t;t.headers=l=Ye.from(l),t.url=Wa(Ya(t.baseURL,t.url),e.params,e.paramsSerializer),v&&l.set("Authorization","Basic "+btoa((v.username||"")+":"+(v.password?unescape(encodeURIComponent(v.password)):"")));let M;if(W.isFormData(r)){if(Ke.hasStandardBrowserEnv||Ke.hasStandardBrowserWebWorkerEnv)l.setContentType(void 0);else if((M=l.getContentType())!==!1){const[y,...h]=M?M.split(";").map(S=>S.trim()).filter(Boolean):[];l.setContentType([y||"multipart/form-data",...h].join("; "))}}if(Ke.hasStandardBrowserEnv&&(n&&W.isFunction(n)&&(n=n(t)),n||n!==!1&&hm(t.url))){const y=a&&i&&dm.read(i);y&&l.set(a,y)}return t},mm=typeof XMLHttpRequest<"u",ym=mm&&function(e){return new Promise(function(r,n){const a=Xa(e);let i=a.data;const l=Ye.from(a.headers).normalize();let{responseType:v,onUploadProgress:M,onDownloadProgress:y}=a,h,S,B,z,G;function Z(){z&&z(),G&&G(),a.cancelToken&&a.cancelToken.unsubscribe(h),a.signal&&a.signal.removeEventListener("abort",h)}let q=new XMLHttpRequest;q.open(a.method.toUpperCase(),a.url,!0),q.timeout=a.timeout;function Q(){if(!q)return;const pe=Ye.from("getAllResponseHeaders"in q&&q.getAllResponseHeaders()),oe={data:!v||v==="text"||v==="json"?q.responseText:q.response,status:q.status,statusText:q.statusText,headers:pe,config:e,request:q};Ka(function(K){r(K),Z()},function(K){n(K),Z()},oe),q=null}"onloadend"in q?q.onloadend=Q:q.onreadystatechange=function(){!q||q.readyState!==4||q.status===0&&!(q.responseURL&&q.responseURL.indexOf("file:")===0)||setTimeout(Q)},q.onabort=function(){q&&(n(new ve("Request aborted",ve.ECONNABORTED,e,q)),q=null)},q.onerror=function(){n(new ve("Network Error",ve.ERR_NETWORK,e,q)),q=null},q.ontimeout=function(){let ce=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";const oe=a.transitional||Za;a.timeoutErrorMessage&&(ce=a.timeoutErrorMessage),n(new ve(ce,oe.clarifyTimeoutError?ve.ETIMEDOUT:ve.ECONNABORTED,e,q)),q=null},i===void 0&&l.setContentType(null),"setRequestHeader"in q&&W.forEach(l.toJSON(),function(ce,oe){q.setRequestHeader(oe,ce)}),W.isUndefined(a.withCredentials)||(q.withCredentials=!!a.withCredentials),v&&v!=="json"&&(q.responseType=a.responseType),y&&([B,G]=zr(y,!0),q.addEventListener("progress",B)),M&&q.upload&&([S,z]=zr(M),q.upload.addEventListener("progress",S),q.upload.addEventListener("loadend",z)),(a.cancelToken||a.signal)&&(h=pe=>{q&&(n(!pe||pe.type?new ar(null,e,q):pe),q.abort(),q=null)},a.cancelToken&&a.cancelToken.subscribe(h),a.signal&&(a.signal.aborted?h():a.signal.addEventListener("abort",h)));const X=fm(a.url);if(X&&Ke.protocols.indexOf(X)===-1){n(new ve("Unsupported protocol "+X+":",ve.ERR_BAD_REQUEST,e));return}q.send(i||null)})},wm=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let n=new AbortController,a;const i=function(y){if(!a){a=!0,v();const h=y instanceof Error?y:this.reason;n.abort(h instanceof ve?h:new ar(h instanceof Error?h.message:h))}};let l=t&&setTimeout(()=>{l=null,i(new ve(`timeout ${t} of ms exceeded`,ve.ETIMEDOUT))},t);const v=()=>{e&&(l&&clearTimeout(l),l=null,e.forEach(y=>{y.unsubscribe?y.unsubscribe(i):y.removeEventListener("abort",i)}),e=null)};e.forEach(y=>y.addEventListener("abort",i));const{signal:M}=n;return M.unsubscribe=()=>W.asap(v),M}},vm=function*(e,t){let r=e.byteLength;if(!t||r<t){yield e;return}let n=0,a;for(;n<r;)a=n+t,yield e.slice(n,a),n=a},bm=async function*(e,t){for await(const r of xm(e))yield*vm(r,t)},xm=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:r,value:n}=await t.read();if(r)break;yield n}}finally{await t.cancel()}},Yo=(e,t,r,n)=>{const a=bm(e,t);let i=0,l,v=M=>{l||(l=!0,n&&n(M))};return new ReadableStream({async pull(M){try{const{done:y,value:h}=await a.next();if(y){v(),M.close();return}let S=h.byteLength;if(r){let B=i+=S;r(B)}M.enqueue(new Uint8Array(h))}catch(y){throw v(y),y}},cancel(M){return v(M),a.return()}},{highWaterMark:2})},gn=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Qa=gn&&typeof ReadableStream=="function",Mm=gn&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),eu=(e,...t)=>{try{return!!e(...t)}catch{return!1}},_m=Qa&&eu(()=>{let e=!1;const t=new Request(Ke.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Xo=64*1024,wi=Qa&&eu(()=>W.isReadableStream(new Response("").body)),Hr={stream:wi&&(e=>e.body)};gn&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Hr[t]&&(Hr[t]=W.isFunction(e[t])?r=>r[t]():(r,n)=>{throw new ve(`Response type '${t}' is not supported`,ve.ERR_NOT_SUPPORT,n)})})})(new Response);const Em=async e=>{if(e==null)return 0;if(W.isBlob(e))return e.size;if(W.isSpecCompliantForm(e))return(await new Request(Ke.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(W.isArrayBufferView(e)||W.isArrayBuffer(e))return e.byteLength;if(W.isURLSearchParams(e)&&(e=e+""),W.isString(e))return(await Mm(e)).byteLength},Sm=async(e,t)=>{const r=W.toFiniteNumber(e.getContentLength());return r??Em(t)},Om=gn&&(async e=>{let{url:t,method:r,data:n,signal:a,cancelToken:i,timeout:l,onDownloadProgress:v,onUploadProgress:M,responseType:y,headers:h,withCredentials:S="same-origin",fetchOptions:B}=Xa(e);y=y?(y+"").toLowerCase():"text";let z=wm([a,i&&i.toAbortSignal()],l),G;const Z=z&&z.unsubscribe&&(()=>{z.unsubscribe()});let q;try{if(M&&_m&&r!=="get"&&r!=="head"&&(q=await Sm(h,n))!==0){let oe=new Request(t,{method:"POST",body:n,duplex:"half"}),V;if(W.isFormData(n)&&(V=oe.headers.get("content-type"))&&h.setContentType(V),oe.body){const[K,ae]=Jo(q,zr(Vo(M)));n=Yo(oe.body,Xo,K,ae)}}W.isString(S)||(S=S?"include":"omit");const Q="credentials"in Request.prototype;G=new Request(t,{...B,signal:z,method:r.toUpperCase(),headers:h.normalize().toJSON(),body:n,duplex:"half",credentials:Q?S:void 0});let X=await fetch(G);const pe=wi&&(y==="stream"||y==="response");if(wi&&(v||pe&&Z)){const oe={};["status","statusText","headers"].forEach(se=>{oe[se]=X[se]});const V=W.toFiniteNumber(X.headers.get("content-length")),[K,ae]=v&&Jo(V,zr(Vo(v),!0))||[];X=new Response(Yo(X.body,Xo,K,()=>{ae&&ae(),Z&&Z()}),oe)}y=y||"text";let ce=await Hr[W.findKey(Hr,y)||"text"](X,e);return!pe&&Z&&Z(),await new Promise((oe,V)=>{Ka(oe,V,{data:ce,headers:Ye.from(X.headers),status:X.status,statusText:X.statusText,config:e,request:G})})}catch(Q){throw Z&&Z(),Q&&Q.name==="TypeError"&&/fetch/i.test(Q.message)?Object.assign(new ve("Network Error",ve.ERR_NETWORK,e,G),{cause:Q.cause||Q}):ve.from(Q,Q&&Q.code,e,G)}}),vi={http:kg,xhr:ym,fetch:Om};W.forEach(vi,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Qo=e=>`- ${e}`,Am=e=>W.isFunction(e)||e===null||e===!1,tu={getAdapter:e=>{e=W.isArray(e)?e:[e];const{length:t}=e;let r,n;const a={};for(let i=0;i<t;i++){r=e[i];let l;if(n=r,!Am(r)&&(n=vi[(l=String(r)).toLowerCase()],n===void 0))throw new ve(`Unknown adapter '${l}'`);if(n)break;a[l||"#"+i]=n}if(!n){const i=Object.entries(a).map(([v,M])=>`adapter ${v} `+(M===!1?"is not supported by the environment":"is not available in the build"));let l=t?i.length>1?`since :
|
|
9
|
-
`+i.map(Qo).join(`
|
|
10
|
-
`):" "+Qo(i[0]):"as no adapter specified";throw new ve("There is no suitable adapter to dispatch the request "+l,"ERR_NOT_SUPPORT")}return n},adapters:vi};function Wn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ar(null,e)}function es(e){return Wn(e),e.headers=Ye.from(e.headers),e.data=Gn.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),tu.getAdapter(e.adapter||Sr.adapter)(e).then(function(n){return Wn(e),n.data=Gn.call(e,e.transformResponse,n),n.headers=Ye.from(n.headers),n},function(n){return Va(n)||(Wn(e),n&&n.response&&(n.response.data=Gn.call(e,e.transformResponse,n.response),n.response.headers=Ye.from(n.response.headers))),Promise.reject(n)})}const ru="1.7.9",mn={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{mn[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const ts={};mn.transitional=function(t,r,n){function a(i,l){return"[Axios v"+ru+"] Transitional option '"+i+"'"+l+(n?". "+n:"")}return(i,l,v)=>{if(t===!1)throw new ve(a(l," has been removed"+(r?" in "+r:"")),ve.ERR_DEPRECATED);return r&&!ts[l]&&(ts[l]=!0,console.warn(a(l," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(i,l,v):!0}};mn.spelling=function(t){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function Tm(e,t,r){if(typeof e!="object")throw new ve("options must be an object",ve.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let a=n.length;for(;a-- >0;){const i=n[a],l=t[i];if(l){const v=e[i],M=v===void 0||l(v,i,e);if(M!==!0)throw new ve("option "+i+" must be "+M,ve.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new ve("Unknown option "+i,ve.ERR_BAD_OPTION)}}const Pr={assertOptions:Tm,validators:mn},ct=Pr.validators;let Bt=class{constructor(t){this.defaults=t,this.interceptors={request:new Wo,response:new Wo}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let a={};Error.captureStackTrace?Error.captureStackTrace(a):a=new Error;const i=a.stack?a.stack.replace(/^.+\n/,""):"";try{n.stack?i&&!String(n.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(n.stack+=`
|
|
11
|
-
`+i):n.stack=i}catch{}}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Pt(this.defaults,r);const{transitional:n,paramsSerializer:a,headers:i}=r;n!==void 0&&Pr.assertOptions(n,{silentJSONParsing:ct.transitional(ct.boolean),forcedJSONParsing:ct.transitional(ct.boolean),clarifyTimeoutError:ct.transitional(ct.boolean)},!1),a!=null&&(W.isFunction(a)?r.paramsSerializer={serialize:a}:Pr.assertOptions(a,{encode:ct.function,serialize:ct.function},!0)),Pr.assertOptions(r,{baseUrl:ct.spelling("baseURL"),withXsrfToken:ct.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let l=i&&W.merge(i.common,i[r.method]);i&&W.forEach(["delete","get","head","post","put","patch","common"],G=>{delete i[G]}),r.headers=Ye.concat(l,i);const v=[];let M=!0;this.interceptors.request.forEach(function(Z){typeof Z.runWhen=="function"&&Z.runWhen(r)===!1||(M=M&&Z.synchronous,v.unshift(Z.fulfilled,Z.rejected))});const y=[];this.interceptors.response.forEach(function(Z){y.push(Z.fulfilled,Z.rejected)});let h,S=0,B;if(!M){const G=[es.bind(this),void 0];for(G.unshift.apply(G,v),G.push.apply(G,y),B=G.length,h=Promise.resolve(r);S<B;)h=h.then(G[S++],G[S++]);return h}B=v.length;let z=r;for(S=0;S<B;){const G=v[S++],Z=v[S++];try{z=G(z)}catch(q){Z.call(this,q);break}}try{h=es.call(this,z)}catch(G){return Promise.reject(G)}for(S=0,B=y.length;S<B;)h=h.then(y[S++],y[S++]);return h}getUri(t){t=Pt(this.defaults,t);const r=Ya(t.baseURL,t.url);return Wa(r,t.params,t.paramsSerializer)}};W.forEach(["delete","get","head","options"],function(t){Bt.prototype[t]=function(r,n){return this.request(Pt(n||{},{method:t,url:r,data:(n||{}).data}))}});W.forEach(["post","put","patch"],function(t){function r(n){return function(i,l,v){return this.request(Pt(v||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:i,data:l}))}}Bt.prototype[t]=r(),Bt.prototype[t+"Form"]=r(!0)});let $m=class nu{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(i){r=i});const n=this;this.promise.then(a=>{if(!n._listeners)return;let i=n._listeners.length;for(;i-- >0;)n._listeners[i](a);n._listeners=null}),this.promise.then=a=>{let i;const l=new Promise(v=>{n.subscribe(v),i=v}).then(a);return l.cancel=function(){n.unsubscribe(i)},l},t(function(i,l,v){n.reason||(n.reason=new ar(i,l,v),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=n=>{t.abort(n)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new nu(function(a){t=a}),cancel:t}}};function Cm(e){return function(r){return e.apply(null,r)}}function Rm(e){return W.isObject(e)&&e.isAxiosError===!0}const bi={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(bi).forEach(([e,t])=>{bi[t]=e});function iu(e){const t=new Bt(e),r=Ba(Bt.prototype.request,t);return W.extend(r,Bt.prototype,t,{allOwnKeys:!0}),W.extend(r,t,null,{allOwnKeys:!0}),r.create=function(a){return iu(Pt(e,a))},r}const Ce=iu(Sr);Ce.Axios=Bt;Ce.CanceledError=ar;Ce.CancelToken=$m;Ce.isCancel=Va;Ce.VERSION=ru;Ce.toFormData=pn;Ce.AxiosError=ve;Ce.Cancel=Ce.CanceledError;Ce.all=function(t){return Promise.all(t)};Ce.spread=Cm;Ce.isAxiosError=Rm;Ce.mergeConfig=Pt;Ce.AxiosHeaders=Ye;Ce.formToJSON=e=>Ja(W.isHTMLForm(e)?new FormData(e):e);Ce.getAdapter=tu.getAdapter;Ce.HttpStatusCode=bi;Ce.default=Ce;const{Axios:Bm,AxiosError:Fm,CanceledError:Im,isCancel:Nm,CancelToken:Pm,VERSION:Lm,all:Um,Cancel:Dm,isAxiosError:jm,spread:km,toFormData:qm,AxiosHeaders:zm,HttpStatusCode:Hm,formToJSON:Gm,getAdapter:Wm,mergeConfig:Zm}=Ce,Av=Object.freeze(Object.defineProperty({__proto__:null,Axios:Bm,AxiosError:Fm,AxiosHeaders:zm,Cancel:Dm,CancelToken:Pm,CanceledError:Im,HttpStatusCode:Hm,VERSION:Lm,all:Um,default:Ce,formToJSON:Gm,getAdapter:Wm,isAxiosError:jm,isCancel:Nm,mergeConfig:Zm,spread:km,toFormData:qm},Symbol.toStringTag,{value:"Module"}));var Jm="[object Boolean]";function Vm(e){return e===!0||e===!1||Xe(e)&&ut(e)==Jm}const Tv=Object.freeze(Object.defineProperty({__proto__:null,default:Vm},Symbol.toStringTag,{value:"Module"}));var Km="[object String]";function Ym(e){return typeof e=="string"||!$e(e)&&Xe(e)&&ut(e)==Km}const $v=Object.freeze(Object.defineProperty({__proto__:null,default:Ym},Symbol.toStringTag,{value:"Module"}));var Xm="[object Number]";function Qm(e){return typeof e=="number"||Xe(e)&&ut(e)==Xm}const Cv=Object.freeze(Object.defineProperty({__proto__:null,default:Qm},Symbol.toStringTag,{value:"Module"}));function e1(e){return function(t){t=tt(t);var r=Zr(t)?Jt(t):void 0,n=r?r[0]:t.charAt(0),a=r?Wr(r,1).join(""):t.slice(1);return n[e]()+a}}var ou=e1("toUpperCase");const Rv=Object.freeze(Object.defineProperty({__proto__:null,default:ou},Symbol.toStringTag,{value:"Module"}));function t1(e){return ou(tt(e).toLowerCase())}function r1(e,t,r,n){for(var a=-1,i=e==null?0:e.length;++a<i;)r=t(r,e[a],a,e);return r}function su(e){return function(t){return e==null?void 0:e[t]}}var n1={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},i1=su(n1),o1=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,s1="\\u0300-\\u036f",a1="\\ufe20-\\ufe2f",u1="\\u20d0-\\u20ff",f1=s1+a1+u1,l1="["+f1+"]",c1=RegExp(l1,"g");function h1(e){return e=tt(e),e&&e.replace(o1,i1).replace(c1,"")}var d1=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function p1(e){return e.match(d1)||[]}var g1=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function m1(e){return g1.test(e)}var au="\\ud800-\\udfff",y1="\\u0300-\\u036f",w1="\\ufe20-\\ufe2f",v1="\\u20d0-\\u20ff",b1=y1+w1+v1,uu="\\u2700-\\u27bf",fu="a-z\\xdf-\\xf6\\xf8-\\xff",x1="\\xac\\xb1\\xd7\\xf7",M1="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",_1="\\u2000-\\u206f",E1=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",lu="A-Z\\xc0-\\xd6\\xd8-\\xde",S1="\\ufe0e\\ufe0f",cu=x1+M1+_1+E1,hu="['’]",rs="["+cu+"]",O1="["+b1+"]",du="\\d+",A1="["+uu+"]",pu="["+fu+"]",gu="[^"+au+cu+du+uu+fu+lu+"]",T1="\\ud83c[\\udffb-\\udfff]",$1="(?:"+O1+"|"+T1+")",C1="[^"+au+"]",mu="(?:\\ud83c[\\udde6-\\uddff]){2}",yu="[\\ud800-\\udbff][\\udc00-\\udfff]",qt="["+lu+"]",R1="\\u200d",ns="(?:"+pu+"|"+gu+")",B1="(?:"+qt+"|"+gu+")",is="(?:"+hu+"(?:d|ll|m|re|s|t|ve))?",os="(?:"+hu+"(?:D|LL|M|RE|S|T|VE))?",wu=$1+"?",vu="["+S1+"]?",F1="(?:"+R1+"(?:"+[C1,mu,yu].join("|")+")"+vu+wu+")*",I1="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",N1="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",P1=vu+wu+F1,L1="(?:"+[A1,mu,yu].join("|")+")"+P1,U1=RegExp([qt+"?"+pu+"+"+is+"(?="+[rs,qt,"$"].join("|")+")",B1+"+"+os+"(?="+[rs,qt+ns,"$"].join("|")+")",qt+"?"+ns+"+"+is,qt+"+"+os,N1,I1,du,L1].join("|"),"g");function D1(e){return e.match(U1)||[]}function j1(e,t,r){return e=tt(e),t=t,t===void 0?m1(e)?D1(e):p1(e):e.match(t)||[]}var k1="['’]",q1=RegExp(k1,"g");function z1(e){return function(t){return r1(j1(h1(t).replace(q1,"")),e,"")}}var H1=z1(function(e,t,r){return t=t.toLowerCase(),e+(r?t1(t):t)});const Bv=Object.freeze(Object.defineProperty({__proto__:null,default:H1},Symbol.toStringTag,{value:"Module"}));function G1(e){return e===null}const Fv=Object.freeze(Object.defineProperty({__proto__:null,default:G1},Symbol.toStringTag,{value:"Module"}));function W1(e,t,r){e=tt(e),t=er(t);var n=t?_i(e):0;return t&&n<t?e+Fs(t-n,r):e}const Iv=Object.freeze(Object.defineProperty({__proto__:null,default:W1},Symbol.toStringTag,{value:"Module"})),Z1=ku(jg);var Ji={exports:{}};Ji.exports;(function(e){(function(t,r){function n(E,o){if(!E)throw new Error(o||"Assertion failed")}function a(E,o){E.super_=o;var c=function(){};c.prototype=o.prototype,E.prototype=new c,E.prototype.constructor=E}function i(E,o,c){if(i.isBN(E))return E;this.negative=0,this.words=null,this.length=0,this.red=null,E!==null&&((o==="le"||o==="be")&&(c=o,o=10),this._init(E||0,o||10,c||"be"))}typeof t=="object"?t.exports=i:r.BN=i,i.BN=i,i.wordSize=26;var l;try{typeof window<"u"&&typeof window.Buffer<"u"?l=window.Buffer:l=Z1.Buffer}catch{}i.isBN=function(o){return o instanceof i?!0:o!==null&&typeof o=="object"&&o.constructor.wordSize===i.wordSize&&Array.isArray(o.words)},i.max=function(o,c){return o.cmp(c)>0?o:c},i.min=function(o,c){return o.cmp(c)<0?o:c},i.prototype._init=function(o,c,d){if(typeof o=="number")return this._initNumber(o,c,d);if(typeof o=="object")return this._initArray(o,c,d);c==="hex"&&(c=16),n(c===(c|0)&&c>=2&&c<=36),o=o.toString().replace(/\s+/g,"");var p=0;o[0]==="-"&&(p++,this.negative=1),p<o.length&&(c===16?this._parseHex(o,p,d):(this._parseBase(o,c,p),d==="le"&&this._initArray(this.toArray(),c,d)))},i.prototype._initNumber=function(o,c,d){o<0&&(this.negative=1,o=-o),o<67108864?(this.words=[o&67108863],this.length=1):o<4503599627370496?(this.words=[o&67108863,o/67108864&67108863],this.length=2):(n(o<9007199254740992),this.words=[o&67108863,o/67108864&67108863,1],this.length=3),d==="le"&&this._initArray(this.toArray(),c,d)},i.prototype._initArray=function(o,c,d){if(n(typeof o.length=="number"),o.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(o.length/3),this.words=new Array(this.length);for(var p=0;p<this.length;p++)this.words[p]=0;var w,A,$=0;if(d==="be")for(p=o.length-1,w=0;p>=0;p-=3)A=o[p]|o[p-1]<<8|o[p-2]<<16,this.words[w]|=A<<$&67108863,this.words[w+1]=A>>>26-$&67108863,$+=24,$>=26&&($-=26,w++);else if(d==="le")for(p=0,w=0;p<o.length;p+=3)A=o[p]|o[p+1]<<8|o[p+2]<<16,this.words[w]|=A<<$&67108863,this.words[w+1]=A>>>26-$&67108863,$+=24,$>=26&&($-=26,w++);return this.strip()};function v(E,o){var c=E.charCodeAt(o);return c>=65&&c<=70?c-55:c>=97&&c<=102?c-87:c-48&15}function M(E,o,c){var d=v(E,c);return c-1>=o&&(d|=v(E,c-1)<<4),d}i.prototype._parseHex=function(o,c,d){this.length=Math.ceil((o.length-c)/6),this.words=new Array(this.length);for(var p=0;p<this.length;p++)this.words[p]=0;var w=0,A=0,$;if(d==="be")for(p=o.length-1;p>=c;p-=2)$=M(o,c,p)<<w,this.words[A]|=$&67108863,w>=18?(w-=18,A+=1,this.words[A]|=$>>>26):w+=8;else{var b=o.length-c;for(p=b%2===0?c+1:c;p<o.length;p+=2)$=M(o,c,p)<<w,this.words[A]|=$&67108863,w>=18?(w-=18,A+=1,this.words[A]|=$>>>26):w+=8}this.strip()};function y(E,o,c,d){for(var p=0,w=Math.min(E.length,c),A=o;A<w;A++){var $=E.charCodeAt(A)-48;p*=d,$>=49?p+=$-49+10:$>=17?p+=$-17+10:p+=$}return p}i.prototype._parseBase=function(o,c,d){this.words=[0],this.length=1;for(var p=0,w=1;w<=67108863;w*=c)p++;p--,w=w/c|0;for(var A=o.length-d,$=A%p,b=Math.min(A,A-$)+d,u=0,_=d;_<b;_+=p)u=y(o,_,_+p,c),this.imuln(w),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u);if($!==0){var ee=1;for(u=y(o,_,o.length,c),_=0;_<$;_++)ee*=c;this.imuln(ee),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u)}this.strip()},i.prototype.copy=function(o){o.words=new Array(this.length);for(var c=0;c<this.length;c++)o.words[c]=this.words[c];o.length=this.length,o.negative=this.negative,o.red=this.red},i.prototype.clone=function(){var o=new i(null);return this.copy(o),o},i.prototype._expand=function(o){for(;this.length<o;)this.words[this.length++]=0;return this},i.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},i.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},i.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var h=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],S=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],B=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];i.prototype.toString=function(o,c){o=o||10,c=c|0||1;var d;if(o===16||o==="hex"){d="";for(var p=0,w=0,A=0;A<this.length;A++){var $=this.words[A],b=(($<<p|w)&16777215).toString(16);w=$>>>24-p&16777215,w!==0||A!==this.length-1?d=h[6-b.length]+b+d:d=b+d,p+=2,p>=26&&(p-=26,A--)}for(w!==0&&(d=w.toString(16)+d);d.length%c!==0;)d="0"+d;return this.negative!==0&&(d="-"+d),d}if(o===(o|0)&&o>=2&&o<=36){var u=S[o],_=B[o];d="";var ee=this.clone();for(ee.negative=0;!ee.isZero();){var te=ee.modn(_).toString(o);ee=ee.idivn(_),ee.isZero()?d=te+d:d=h[u-te.length]+te+d}for(this.isZero()&&(d="0"+d);d.length%c!==0;)d="0"+d;return this.negative!==0&&(d="-"+d),d}n(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var o=this.words[0];return this.length===2?o+=this.words[1]*67108864:this.length===3&&this.words[2]===1?o+=4503599627370496+this.words[1]*67108864:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-o:o},i.prototype.toJSON=function(){return this.toString(16)},i.prototype.toBuffer=function(o,c){return n(typeof l<"u"),this.toArrayLike(l,o,c)},i.prototype.toArray=function(o,c){return this.toArrayLike(Array,o,c)},i.prototype.toArrayLike=function(o,c,d){var p=this.byteLength(),w=d||Math.max(1,p);n(p<=w,"byte array longer than desired length"),n(w>0,"Requested array length <= 0"),this.strip();var A=c==="le",$=new o(w),b,u,_=this.clone();if(A){for(u=0;!_.isZero();u++)b=_.andln(255),_.iushrn(8),$[u]=b;for(;u<w;u++)$[u]=0}else{for(u=0;u<w-p;u++)$[u]=0;for(u=0;!_.isZero();u++)b=_.andln(255),_.iushrn(8),$[w-u-1]=b}return $},Math.clz32?i.prototype._countBits=function(o){return 32-Math.clz32(o)}:i.prototype._countBits=function(o){var c=o,d=0;return c>=4096&&(d+=13,c>>>=13),c>=64&&(d+=7,c>>>=7),c>=8&&(d+=4,c>>>=4),c>=2&&(d+=2,c>>>=2),d+c},i.prototype._zeroBits=function(o){if(o===0)return 26;var c=o,d=0;return c&8191||(d+=13,c>>>=13),c&127||(d+=7,c>>>=7),c&15||(d+=4,c>>>=4),c&3||(d+=2,c>>>=2),c&1||d++,d},i.prototype.bitLength=function(){var o=this.words[this.length-1],c=this._countBits(o);return(this.length-1)*26+c};function z(E){for(var o=new Array(E.bitLength()),c=0;c<o.length;c++){var d=c/26|0,p=c%26;o[c]=(E.words[d]&1<<p)>>>p}return o}i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var o=0,c=0;c<this.length;c++){var d=this._zeroBits(this.words[c]);if(o+=d,d!==26)break}return o},i.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},i.prototype.toTwos=function(o){return this.negative!==0?this.abs().inotn(o).iaddn(1):this.clone()},i.prototype.fromTwos=function(o){return this.testn(o-1)?this.notn(o).iaddn(1).ineg():this.clone()},i.prototype.isNeg=function(){return this.negative!==0},i.prototype.neg=function(){return this.clone().ineg()},i.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},i.prototype.iuor=function(o){for(;this.length<o.length;)this.words[this.length++]=0;for(var c=0;c<o.length;c++)this.words[c]=this.words[c]|o.words[c];return this.strip()},i.prototype.ior=function(o){return n((this.negative|o.negative)===0),this.iuor(o)},i.prototype.or=function(o){return this.length>o.length?this.clone().ior(o):o.clone().ior(this)},i.prototype.uor=function(o){return this.length>o.length?this.clone().iuor(o):o.clone().iuor(this)},i.prototype.iuand=function(o){var c;this.length>o.length?c=o:c=this;for(var d=0;d<c.length;d++)this.words[d]=this.words[d]&o.words[d];return this.length=c.length,this.strip()},i.prototype.iand=function(o){return n((this.negative|o.negative)===0),this.iuand(o)},i.prototype.and=function(o){return this.length>o.length?this.clone().iand(o):o.clone().iand(this)},i.prototype.uand=function(o){return this.length>o.length?this.clone().iuand(o):o.clone().iuand(this)},i.prototype.iuxor=function(o){var c,d;this.length>o.length?(c=this,d=o):(c=o,d=this);for(var p=0;p<d.length;p++)this.words[p]=c.words[p]^d.words[p];if(this!==c)for(;p<c.length;p++)this.words[p]=c.words[p];return this.length=c.length,this.strip()},i.prototype.ixor=function(o){return n((this.negative|o.negative)===0),this.iuxor(o)},i.prototype.xor=function(o){return this.length>o.length?this.clone().ixor(o):o.clone().ixor(this)},i.prototype.uxor=function(o){return this.length>o.length?this.clone().iuxor(o):o.clone().iuxor(this)},i.prototype.inotn=function(o){n(typeof o=="number"&&o>=0);var c=Math.ceil(o/26)|0,d=o%26;this._expand(c),d>0&&c--;for(var p=0;p<c;p++)this.words[p]=~this.words[p]&67108863;return d>0&&(this.words[p]=~this.words[p]&67108863>>26-d),this.strip()},i.prototype.notn=function(o){return this.clone().inotn(o)},i.prototype.setn=function(o,c){n(typeof o=="number"&&o>=0);var d=o/26|0,p=o%26;return this._expand(d+1),c?this.words[d]=this.words[d]|1<<p:this.words[d]=this.words[d]&~(1<<p),this.strip()},i.prototype.iadd=function(o){var c;if(this.negative!==0&&o.negative===0)return this.negative=0,c=this.isub(o),this.negative^=1,this._normSign();if(this.negative===0&&o.negative!==0)return o.negative=0,c=this.isub(o),o.negative=1,c._normSign();var d,p;this.length>o.length?(d=this,p=o):(d=o,p=this);for(var w=0,A=0;A<p.length;A++)c=(d.words[A]|0)+(p.words[A]|0)+w,this.words[A]=c&67108863,w=c>>>26;for(;w!==0&&A<d.length;A++)c=(d.words[A]|0)+w,this.words[A]=c&67108863,w=c>>>26;if(this.length=d.length,w!==0)this.words[this.length]=w,this.length++;else if(d!==this)for(;A<d.length;A++)this.words[A]=d.words[A];return this},i.prototype.add=function(o){var c;return o.negative!==0&&this.negative===0?(o.negative=0,c=this.sub(o),o.negative^=1,c):o.negative===0&&this.negative!==0?(this.negative=0,c=o.sub(this),this.negative=1,c):this.length>o.length?this.clone().iadd(o):o.clone().iadd(this)},i.prototype.isub=function(o){if(o.negative!==0){o.negative=0;var c=this.iadd(o);return o.negative=1,c._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(o),this.negative=1,this._normSign();var d=this.cmp(o);if(d===0)return this.negative=0,this.length=1,this.words[0]=0,this;var p,w;d>0?(p=this,w=o):(p=o,w=this);for(var A=0,$=0;$<w.length;$++)c=(p.words[$]|0)-(w.words[$]|0)+A,A=c>>26,this.words[$]=c&67108863;for(;A!==0&&$<p.length;$++)c=(p.words[$]|0)+A,A=c>>26,this.words[$]=c&67108863;if(A===0&&$<p.length&&p!==this)for(;$<p.length;$++)this.words[$]=p.words[$];return this.length=Math.max(this.length,$),p!==this&&(this.negative=1),this.strip()},i.prototype.sub=function(o){return this.clone().isub(o)};function G(E,o,c){c.negative=o.negative^E.negative;var d=E.length+o.length|0;c.length=d,d=d-1|0;var p=E.words[0]|0,w=o.words[0]|0,A=p*w,$=A&67108863,b=A/67108864|0;c.words[0]=$;for(var u=1;u<d;u++){for(var _=b>>>26,ee=b&67108863,te=Math.min(u,o.length-1),L=Math.max(0,u-E.length+1);L<=te;L++){var ie=u-L|0;p=E.words[ie]|0,w=o.words[L]|0,A=p*w+ee,_+=A/67108864|0,ee=A&67108863}c.words[u]=ee|0,b=_|0}return b!==0?c.words[u]=b|0:c.length--,c.strip()}var Z=function(o,c,d){var p=o.words,w=c.words,A=d.words,$=0,b,u,_,ee=p[0]|0,te=ee&8191,L=ee>>>13,ie=p[1]|0,ye=ie&8191,be=ie>>>13,xe=p[2]|0,ge=xe&8191,m=xe>>>13,O=p[3]|0,T=O&8191,P=O>>>13,N=p[4]|0,I=N&8191,D=N>>>13,R=p[5]|0,F=R&8191,U=R>>>13,k=p[6]|0,J=k&8191,ne=k>>>13,ue=p[7]|0,fe=ue&8191,de=ue>>>13,_e=p[8]|0,he=_e&8191,le=_e>>>13,Te=p[9]|0,g=Te&8191,s=Te>>>13,f=w[0]|0,x=f&8191,C=f>>>13,j=w[1]|0,H=j&8191,re=j>>>13,Se=w[2]|0,me=Se&8191,we=Se>>>13,Me=w[3]|0,Be=Me&8191,Fe=Me>>>13,to=w[4]|0,Ie=to&8191,Ne=to>>>13,ro=w[5]|0,Pe=ro&8191,Le=ro>>>13,no=w[6]|0,Ue=no&8191,De=no>>>13,io=w[7]|0,je=io&8191,ke=io>>>13,oo=w[8]|0,qe=oo&8191,ze=oo>>>13,so=w[9]|0,He=so&8191,Ge=so>>>13;d.negative=o.negative^c.negative,d.length=19,b=Math.imul(te,x),u=Math.imul(te,C),u=u+Math.imul(L,x)|0,_=Math.imul(L,C);var wn=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(wn>>>26)|0,wn&=67108863,b=Math.imul(ye,x),u=Math.imul(ye,C),u=u+Math.imul(be,x)|0,_=Math.imul(be,C),b=b+Math.imul(te,H)|0,u=u+Math.imul(te,re)|0,u=u+Math.imul(L,H)|0,_=_+Math.imul(L,re)|0;var vn=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(vn>>>26)|0,vn&=67108863,b=Math.imul(ge,x),u=Math.imul(ge,C),u=u+Math.imul(m,x)|0,_=Math.imul(m,C),b=b+Math.imul(ye,H)|0,u=u+Math.imul(ye,re)|0,u=u+Math.imul(be,H)|0,_=_+Math.imul(be,re)|0,b=b+Math.imul(te,me)|0,u=u+Math.imul(te,we)|0,u=u+Math.imul(L,me)|0,_=_+Math.imul(L,we)|0;var bn=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(bn>>>26)|0,bn&=67108863,b=Math.imul(T,x),u=Math.imul(T,C),u=u+Math.imul(P,x)|0,_=Math.imul(P,C),b=b+Math.imul(ge,H)|0,u=u+Math.imul(ge,re)|0,u=u+Math.imul(m,H)|0,_=_+Math.imul(m,re)|0,b=b+Math.imul(ye,me)|0,u=u+Math.imul(ye,we)|0,u=u+Math.imul(be,me)|0,_=_+Math.imul(be,we)|0,b=b+Math.imul(te,Be)|0,u=u+Math.imul(te,Fe)|0,u=u+Math.imul(L,Be)|0,_=_+Math.imul(L,Fe)|0;var xn=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(xn>>>26)|0,xn&=67108863,b=Math.imul(I,x),u=Math.imul(I,C),u=u+Math.imul(D,x)|0,_=Math.imul(D,C),b=b+Math.imul(T,H)|0,u=u+Math.imul(T,re)|0,u=u+Math.imul(P,H)|0,_=_+Math.imul(P,re)|0,b=b+Math.imul(ge,me)|0,u=u+Math.imul(ge,we)|0,u=u+Math.imul(m,me)|0,_=_+Math.imul(m,we)|0,b=b+Math.imul(ye,Be)|0,u=u+Math.imul(ye,Fe)|0,u=u+Math.imul(be,Be)|0,_=_+Math.imul(be,Fe)|0,b=b+Math.imul(te,Ie)|0,u=u+Math.imul(te,Ne)|0,u=u+Math.imul(L,Ie)|0,_=_+Math.imul(L,Ne)|0;var Mn=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(Mn>>>26)|0,Mn&=67108863,b=Math.imul(F,x),u=Math.imul(F,C),u=u+Math.imul(U,x)|0,_=Math.imul(U,C),b=b+Math.imul(I,H)|0,u=u+Math.imul(I,re)|0,u=u+Math.imul(D,H)|0,_=_+Math.imul(D,re)|0,b=b+Math.imul(T,me)|0,u=u+Math.imul(T,we)|0,u=u+Math.imul(P,me)|0,_=_+Math.imul(P,we)|0,b=b+Math.imul(ge,Be)|0,u=u+Math.imul(ge,Fe)|0,u=u+Math.imul(m,Be)|0,_=_+Math.imul(m,Fe)|0,b=b+Math.imul(ye,Ie)|0,u=u+Math.imul(ye,Ne)|0,u=u+Math.imul(be,Ie)|0,_=_+Math.imul(be,Ne)|0,b=b+Math.imul(te,Pe)|0,u=u+Math.imul(te,Le)|0,u=u+Math.imul(L,Pe)|0,_=_+Math.imul(L,Le)|0;var _n=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(_n>>>26)|0,_n&=67108863,b=Math.imul(J,x),u=Math.imul(J,C),u=u+Math.imul(ne,x)|0,_=Math.imul(ne,C),b=b+Math.imul(F,H)|0,u=u+Math.imul(F,re)|0,u=u+Math.imul(U,H)|0,_=_+Math.imul(U,re)|0,b=b+Math.imul(I,me)|0,u=u+Math.imul(I,we)|0,u=u+Math.imul(D,me)|0,_=_+Math.imul(D,we)|0,b=b+Math.imul(T,Be)|0,u=u+Math.imul(T,Fe)|0,u=u+Math.imul(P,Be)|0,_=_+Math.imul(P,Fe)|0,b=b+Math.imul(ge,Ie)|0,u=u+Math.imul(ge,Ne)|0,u=u+Math.imul(m,Ie)|0,_=_+Math.imul(m,Ne)|0,b=b+Math.imul(ye,Pe)|0,u=u+Math.imul(ye,Le)|0,u=u+Math.imul(be,Pe)|0,_=_+Math.imul(be,Le)|0,b=b+Math.imul(te,Ue)|0,u=u+Math.imul(te,De)|0,u=u+Math.imul(L,Ue)|0,_=_+Math.imul(L,De)|0;var En=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(En>>>26)|0,En&=67108863,b=Math.imul(fe,x),u=Math.imul(fe,C),u=u+Math.imul(de,x)|0,_=Math.imul(de,C),b=b+Math.imul(J,H)|0,u=u+Math.imul(J,re)|0,u=u+Math.imul(ne,H)|0,_=_+Math.imul(ne,re)|0,b=b+Math.imul(F,me)|0,u=u+Math.imul(F,we)|0,u=u+Math.imul(U,me)|0,_=_+Math.imul(U,we)|0,b=b+Math.imul(I,Be)|0,u=u+Math.imul(I,Fe)|0,u=u+Math.imul(D,Be)|0,_=_+Math.imul(D,Fe)|0,b=b+Math.imul(T,Ie)|0,u=u+Math.imul(T,Ne)|0,u=u+Math.imul(P,Ie)|0,_=_+Math.imul(P,Ne)|0,b=b+Math.imul(ge,Pe)|0,u=u+Math.imul(ge,Le)|0,u=u+Math.imul(m,Pe)|0,_=_+Math.imul(m,Le)|0,b=b+Math.imul(ye,Ue)|0,u=u+Math.imul(ye,De)|0,u=u+Math.imul(be,Ue)|0,_=_+Math.imul(be,De)|0,b=b+Math.imul(te,je)|0,u=u+Math.imul(te,ke)|0,u=u+Math.imul(L,je)|0,_=_+Math.imul(L,ke)|0;var Sn=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(Sn>>>26)|0,Sn&=67108863,b=Math.imul(he,x),u=Math.imul(he,C),u=u+Math.imul(le,x)|0,_=Math.imul(le,C),b=b+Math.imul(fe,H)|0,u=u+Math.imul(fe,re)|0,u=u+Math.imul(de,H)|0,_=_+Math.imul(de,re)|0,b=b+Math.imul(J,me)|0,u=u+Math.imul(J,we)|0,u=u+Math.imul(ne,me)|0,_=_+Math.imul(ne,we)|0,b=b+Math.imul(F,Be)|0,u=u+Math.imul(F,Fe)|0,u=u+Math.imul(U,Be)|0,_=_+Math.imul(U,Fe)|0,b=b+Math.imul(I,Ie)|0,u=u+Math.imul(I,Ne)|0,u=u+Math.imul(D,Ie)|0,_=_+Math.imul(D,Ne)|0,b=b+Math.imul(T,Pe)|0,u=u+Math.imul(T,Le)|0,u=u+Math.imul(P,Pe)|0,_=_+Math.imul(P,Le)|0,b=b+Math.imul(ge,Ue)|0,u=u+Math.imul(ge,De)|0,u=u+Math.imul(m,Ue)|0,_=_+Math.imul(m,De)|0,b=b+Math.imul(ye,je)|0,u=u+Math.imul(ye,ke)|0,u=u+Math.imul(be,je)|0,_=_+Math.imul(be,ke)|0,b=b+Math.imul(te,qe)|0,u=u+Math.imul(te,ze)|0,u=u+Math.imul(L,qe)|0,_=_+Math.imul(L,ze)|0;var On=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(On>>>26)|0,On&=67108863,b=Math.imul(g,x),u=Math.imul(g,C),u=u+Math.imul(s,x)|0,_=Math.imul(s,C),b=b+Math.imul(he,H)|0,u=u+Math.imul(he,re)|0,u=u+Math.imul(le,H)|0,_=_+Math.imul(le,re)|0,b=b+Math.imul(fe,me)|0,u=u+Math.imul(fe,we)|0,u=u+Math.imul(de,me)|0,_=_+Math.imul(de,we)|0,b=b+Math.imul(J,Be)|0,u=u+Math.imul(J,Fe)|0,u=u+Math.imul(ne,Be)|0,_=_+Math.imul(ne,Fe)|0,b=b+Math.imul(F,Ie)|0,u=u+Math.imul(F,Ne)|0,u=u+Math.imul(U,Ie)|0,_=_+Math.imul(U,Ne)|0,b=b+Math.imul(I,Pe)|0,u=u+Math.imul(I,Le)|0,u=u+Math.imul(D,Pe)|0,_=_+Math.imul(D,Le)|0,b=b+Math.imul(T,Ue)|0,u=u+Math.imul(T,De)|0,u=u+Math.imul(P,Ue)|0,_=_+Math.imul(P,De)|0,b=b+Math.imul(ge,je)|0,u=u+Math.imul(ge,ke)|0,u=u+Math.imul(m,je)|0,_=_+Math.imul(m,ke)|0,b=b+Math.imul(ye,qe)|0,u=u+Math.imul(ye,ze)|0,u=u+Math.imul(be,qe)|0,_=_+Math.imul(be,ze)|0,b=b+Math.imul(te,He)|0,u=u+Math.imul(te,Ge)|0,u=u+Math.imul(L,He)|0,_=_+Math.imul(L,Ge)|0;var An=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(An>>>26)|0,An&=67108863,b=Math.imul(g,H),u=Math.imul(g,re),u=u+Math.imul(s,H)|0,_=Math.imul(s,re),b=b+Math.imul(he,me)|0,u=u+Math.imul(he,we)|0,u=u+Math.imul(le,me)|0,_=_+Math.imul(le,we)|0,b=b+Math.imul(fe,Be)|0,u=u+Math.imul(fe,Fe)|0,u=u+Math.imul(de,Be)|0,_=_+Math.imul(de,Fe)|0,b=b+Math.imul(J,Ie)|0,u=u+Math.imul(J,Ne)|0,u=u+Math.imul(ne,Ie)|0,_=_+Math.imul(ne,Ne)|0,b=b+Math.imul(F,Pe)|0,u=u+Math.imul(F,Le)|0,u=u+Math.imul(U,Pe)|0,_=_+Math.imul(U,Le)|0,b=b+Math.imul(I,Ue)|0,u=u+Math.imul(I,De)|0,u=u+Math.imul(D,Ue)|0,_=_+Math.imul(D,De)|0,b=b+Math.imul(T,je)|0,u=u+Math.imul(T,ke)|0,u=u+Math.imul(P,je)|0,_=_+Math.imul(P,ke)|0,b=b+Math.imul(ge,qe)|0,u=u+Math.imul(ge,ze)|0,u=u+Math.imul(m,qe)|0,_=_+Math.imul(m,ze)|0,b=b+Math.imul(ye,He)|0,u=u+Math.imul(ye,Ge)|0,u=u+Math.imul(be,He)|0,_=_+Math.imul(be,Ge)|0;var Tn=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(Tn>>>26)|0,Tn&=67108863,b=Math.imul(g,me),u=Math.imul(g,we),u=u+Math.imul(s,me)|0,_=Math.imul(s,we),b=b+Math.imul(he,Be)|0,u=u+Math.imul(he,Fe)|0,u=u+Math.imul(le,Be)|0,_=_+Math.imul(le,Fe)|0,b=b+Math.imul(fe,Ie)|0,u=u+Math.imul(fe,Ne)|0,u=u+Math.imul(de,Ie)|0,_=_+Math.imul(de,Ne)|0,b=b+Math.imul(J,Pe)|0,u=u+Math.imul(J,Le)|0,u=u+Math.imul(ne,Pe)|0,_=_+Math.imul(ne,Le)|0,b=b+Math.imul(F,Ue)|0,u=u+Math.imul(F,De)|0,u=u+Math.imul(U,Ue)|0,_=_+Math.imul(U,De)|0,b=b+Math.imul(I,je)|0,u=u+Math.imul(I,ke)|0,u=u+Math.imul(D,je)|0,_=_+Math.imul(D,ke)|0,b=b+Math.imul(T,qe)|0,u=u+Math.imul(T,ze)|0,u=u+Math.imul(P,qe)|0,_=_+Math.imul(P,ze)|0,b=b+Math.imul(ge,He)|0,u=u+Math.imul(ge,Ge)|0,u=u+Math.imul(m,He)|0,_=_+Math.imul(m,Ge)|0;var $n=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+($n>>>26)|0,$n&=67108863,b=Math.imul(g,Be),u=Math.imul(g,Fe),u=u+Math.imul(s,Be)|0,_=Math.imul(s,Fe),b=b+Math.imul(he,Ie)|0,u=u+Math.imul(he,Ne)|0,u=u+Math.imul(le,Ie)|0,_=_+Math.imul(le,Ne)|0,b=b+Math.imul(fe,Pe)|0,u=u+Math.imul(fe,Le)|0,u=u+Math.imul(de,Pe)|0,_=_+Math.imul(de,Le)|0,b=b+Math.imul(J,Ue)|0,u=u+Math.imul(J,De)|0,u=u+Math.imul(ne,Ue)|0,_=_+Math.imul(ne,De)|0,b=b+Math.imul(F,je)|0,u=u+Math.imul(F,ke)|0,u=u+Math.imul(U,je)|0,_=_+Math.imul(U,ke)|0,b=b+Math.imul(I,qe)|0,u=u+Math.imul(I,ze)|0,u=u+Math.imul(D,qe)|0,_=_+Math.imul(D,ze)|0,b=b+Math.imul(T,He)|0,u=u+Math.imul(T,Ge)|0,u=u+Math.imul(P,He)|0,_=_+Math.imul(P,Ge)|0;var Cn=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(Cn>>>26)|0,Cn&=67108863,b=Math.imul(g,Ie),u=Math.imul(g,Ne),u=u+Math.imul(s,Ie)|0,_=Math.imul(s,Ne),b=b+Math.imul(he,Pe)|0,u=u+Math.imul(he,Le)|0,u=u+Math.imul(le,Pe)|0,_=_+Math.imul(le,Le)|0,b=b+Math.imul(fe,Ue)|0,u=u+Math.imul(fe,De)|0,u=u+Math.imul(de,Ue)|0,_=_+Math.imul(de,De)|0,b=b+Math.imul(J,je)|0,u=u+Math.imul(J,ke)|0,u=u+Math.imul(ne,je)|0,_=_+Math.imul(ne,ke)|0,b=b+Math.imul(F,qe)|0,u=u+Math.imul(F,ze)|0,u=u+Math.imul(U,qe)|0,_=_+Math.imul(U,ze)|0,b=b+Math.imul(I,He)|0,u=u+Math.imul(I,Ge)|0,u=u+Math.imul(D,He)|0,_=_+Math.imul(D,Ge)|0;var Rn=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(Rn>>>26)|0,Rn&=67108863,b=Math.imul(g,Pe),u=Math.imul(g,Le),u=u+Math.imul(s,Pe)|0,_=Math.imul(s,Le),b=b+Math.imul(he,Ue)|0,u=u+Math.imul(he,De)|0,u=u+Math.imul(le,Ue)|0,_=_+Math.imul(le,De)|0,b=b+Math.imul(fe,je)|0,u=u+Math.imul(fe,ke)|0,u=u+Math.imul(de,je)|0,_=_+Math.imul(de,ke)|0,b=b+Math.imul(J,qe)|0,u=u+Math.imul(J,ze)|0,u=u+Math.imul(ne,qe)|0,_=_+Math.imul(ne,ze)|0,b=b+Math.imul(F,He)|0,u=u+Math.imul(F,Ge)|0,u=u+Math.imul(U,He)|0,_=_+Math.imul(U,Ge)|0;var Bn=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(Bn>>>26)|0,Bn&=67108863,b=Math.imul(g,Ue),u=Math.imul(g,De),u=u+Math.imul(s,Ue)|0,_=Math.imul(s,De),b=b+Math.imul(he,je)|0,u=u+Math.imul(he,ke)|0,u=u+Math.imul(le,je)|0,_=_+Math.imul(le,ke)|0,b=b+Math.imul(fe,qe)|0,u=u+Math.imul(fe,ze)|0,u=u+Math.imul(de,qe)|0,_=_+Math.imul(de,ze)|0,b=b+Math.imul(J,He)|0,u=u+Math.imul(J,Ge)|0,u=u+Math.imul(ne,He)|0,_=_+Math.imul(ne,Ge)|0;var Fn=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,b=Math.imul(g,je),u=Math.imul(g,ke),u=u+Math.imul(s,je)|0,_=Math.imul(s,ke),b=b+Math.imul(he,qe)|0,u=u+Math.imul(he,ze)|0,u=u+Math.imul(le,qe)|0,_=_+Math.imul(le,ze)|0,b=b+Math.imul(fe,He)|0,u=u+Math.imul(fe,Ge)|0,u=u+Math.imul(de,He)|0,_=_+Math.imul(de,Ge)|0;var In=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(In>>>26)|0,In&=67108863,b=Math.imul(g,qe),u=Math.imul(g,ze),u=u+Math.imul(s,qe)|0,_=Math.imul(s,ze),b=b+Math.imul(he,He)|0,u=u+Math.imul(he,Ge)|0,u=u+Math.imul(le,He)|0,_=_+Math.imul(le,Ge)|0;var Nn=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(Nn>>>26)|0,Nn&=67108863,b=Math.imul(g,He),u=Math.imul(g,Ge),u=u+Math.imul(s,He)|0,_=Math.imul(s,Ge);var Pn=($+b|0)+((u&8191)<<13)|0;return $=(_+(u>>>13)|0)+(Pn>>>26)|0,Pn&=67108863,A[0]=wn,A[1]=vn,A[2]=bn,A[3]=xn,A[4]=Mn,A[5]=_n,A[6]=En,A[7]=Sn,A[8]=On,A[9]=An,A[10]=Tn,A[11]=$n,A[12]=Cn,A[13]=Rn,A[14]=Bn,A[15]=Fn,A[16]=In,A[17]=Nn,A[18]=Pn,$!==0&&(A[19]=$,d.length++),d};Math.imul||(Z=G);function q(E,o,c){c.negative=o.negative^E.negative,c.length=E.length+o.length;for(var d=0,p=0,w=0;w<c.length-1;w++){var A=p;p=0;for(var $=d&67108863,b=Math.min(w,o.length-1),u=Math.max(0,w-E.length+1);u<=b;u++){var _=w-u,ee=E.words[_]|0,te=o.words[u]|0,L=ee*te,ie=L&67108863;A=A+(L/67108864|0)|0,ie=ie+$|0,$=ie&67108863,A=A+(ie>>>26)|0,p+=A>>>26,A&=67108863}c.words[w]=$,d=A,A=p}return d!==0?c.words[w]=d:c.length--,c.strip()}function Q(E,o,c){var d=new X;return d.mulp(E,o,c)}i.prototype.mulTo=function(o,c){var d,p=this.length+o.length;return this.length===10&&o.length===10?d=Z(this,o,c):p<63?d=G(this,o,c):p<1024?d=q(this,o,c):d=Q(this,o,c),d};function X(E,o){this.x=E,this.y=o}X.prototype.makeRBT=function(o){for(var c=new Array(o),d=i.prototype._countBits(o)-1,p=0;p<o;p++)c[p]=this.revBin(p,d,o);return c},X.prototype.revBin=function(o,c,d){if(o===0||o===d-1)return o;for(var p=0,w=0;w<c;w++)p|=(o&1)<<c-w-1,o>>=1;return p},X.prototype.permute=function(o,c,d,p,w,A){for(var $=0;$<A;$++)p[$]=c[o[$]],w[$]=d[o[$]]},X.prototype.transform=function(o,c,d,p,w,A){this.permute(A,o,c,d,p,w);for(var $=1;$<w;$<<=1)for(var b=$<<1,u=Math.cos(2*Math.PI/b),_=Math.sin(2*Math.PI/b),ee=0;ee<w;ee+=b)for(var te=u,L=_,ie=0;ie<$;ie++){var ye=d[ee+ie],be=p[ee+ie],xe=d[ee+ie+$],ge=p[ee+ie+$],m=te*xe-L*ge;ge=te*ge+L*xe,xe=m,d[ee+ie]=ye+xe,p[ee+ie]=be+ge,d[ee+ie+$]=ye-xe,p[ee+ie+$]=be-ge,ie!==b&&(m=u*te-_*L,L=u*L+_*te,te=m)}},X.prototype.guessLen13b=function(o,c){var d=Math.max(c,o)|1,p=d&1,w=0;for(d=d/2|0;d;d=d>>>1)w++;return 1<<w+1+p},X.prototype.conjugate=function(o,c,d){if(!(d<=1))for(var p=0;p<d/2;p++){var w=o[p];o[p]=o[d-p-1],o[d-p-1]=w,w=c[p],c[p]=-c[d-p-1],c[d-p-1]=-w}},X.prototype.normalize13b=function(o,c){for(var d=0,p=0;p<c/2;p++){var w=Math.round(o[2*p+1]/c)*8192+Math.round(o[2*p]/c)+d;o[p]=w&67108863,w<67108864?d=0:d=w/67108864|0}return o},X.prototype.convert13b=function(o,c,d,p){for(var w=0,A=0;A<c;A++)w=w+(o[A]|0),d[2*A]=w&8191,w=w>>>13,d[2*A+1]=w&8191,w=w>>>13;for(A=2*c;A<p;++A)d[A]=0;n(w===0),n((w&-8192)===0)},X.prototype.stub=function(o){for(var c=new Array(o),d=0;d<o;d++)c[d]=0;return c},X.prototype.mulp=function(o,c,d){var p=2*this.guessLen13b(o.length,c.length),w=this.makeRBT(p),A=this.stub(p),$=new Array(p),b=new Array(p),u=new Array(p),_=new Array(p),ee=new Array(p),te=new Array(p),L=d.words;L.length=p,this.convert13b(o.words,o.length,$,p),this.convert13b(c.words,c.length,_,p),this.transform($,A,b,u,p,w),this.transform(_,A,ee,te,p,w);for(var ie=0;ie<p;ie++){var ye=b[ie]*ee[ie]-u[ie]*te[ie];u[ie]=b[ie]*te[ie]+u[ie]*ee[ie],b[ie]=ye}return this.conjugate(b,u,p),this.transform(b,u,L,A,p,w),this.conjugate(L,A,p),this.normalize13b(L,p),d.negative=o.negative^c.negative,d.length=o.length+c.length,d.strip()},i.prototype.mul=function(o){var c=new i(null);return c.words=new Array(this.length+o.length),this.mulTo(o,c)},i.prototype.mulf=function(o){var c=new i(null);return c.words=new Array(this.length+o.length),Q(this,o,c)},i.prototype.imul=function(o){return this.clone().mulTo(o,this)},i.prototype.imuln=function(o){n(typeof o=="number"),n(o<67108864);for(var c=0,d=0;d<this.length;d++){var p=(this.words[d]|0)*o,w=(p&67108863)+(c&67108863);c>>=26,c+=p/67108864|0,c+=w>>>26,this.words[d]=w&67108863}return c!==0&&(this.words[d]=c,this.length++),this},i.prototype.muln=function(o){return this.clone().imuln(o)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(o){var c=z(o);if(c.length===0)return new i(1);for(var d=this,p=0;p<c.length&&c[p]===0;p++,d=d.sqr());if(++p<c.length)for(var w=d.sqr();p<c.length;p++,w=w.sqr())c[p]!==0&&(d=d.mul(w));return d},i.prototype.iushln=function(o){n(typeof o=="number"&&o>=0);var c=o%26,d=(o-c)/26,p=67108863>>>26-c<<26-c,w;if(c!==0){var A=0;for(w=0;w<this.length;w++){var $=this.words[w]&p,b=(this.words[w]|0)-$<<c;this.words[w]=b|A,A=$>>>26-c}A&&(this.words[w]=A,this.length++)}if(d!==0){for(w=this.length-1;w>=0;w--)this.words[w+d]=this.words[w];for(w=0;w<d;w++)this.words[w]=0;this.length+=d}return this.strip()},i.prototype.ishln=function(o){return n(this.negative===0),this.iushln(o)},i.prototype.iushrn=function(o,c,d){n(typeof o=="number"&&o>=0);var p;c?p=(c-c%26)/26:p=0;var w=o%26,A=Math.min((o-w)/26,this.length),$=67108863^67108863>>>w<<w,b=d;if(p-=A,p=Math.max(0,p),b){for(var u=0;u<A;u++)b.words[u]=this.words[u];b.length=A}if(A!==0)if(this.length>A)for(this.length-=A,u=0;u<this.length;u++)this.words[u]=this.words[u+A];else this.words[0]=0,this.length=1;var _=0;for(u=this.length-1;u>=0&&(_!==0||u>=p);u--){var ee=this.words[u]|0;this.words[u]=_<<26-w|ee>>>w,_=ee&$}return b&&_!==0&&(b.words[b.length++]=_),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},i.prototype.ishrn=function(o,c,d){return n(this.negative===0),this.iushrn(o,c,d)},i.prototype.shln=function(o){return this.clone().ishln(o)},i.prototype.ushln=function(o){return this.clone().iushln(o)},i.prototype.shrn=function(o){return this.clone().ishrn(o)},i.prototype.ushrn=function(o){return this.clone().iushrn(o)},i.prototype.testn=function(o){n(typeof o=="number"&&o>=0);var c=o%26,d=(o-c)/26,p=1<<c;if(this.length<=d)return!1;var w=this.words[d];return!!(w&p)},i.prototype.imaskn=function(o){n(typeof o=="number"&&o>=0);var c=o%26,d=(o-c)/26;if(n(this.negative===0,"imaskn works only with positive numbers"),this.length<=d)return this;if(c!==0&&d++,this.length=Math.min(d,this.length),c!==0){var p=67108863^67108863>>>c<<c;this.words[this.length-1]&=p}return this.strip()},i.prototype.maskn=function(o){return this.clone().imaskn(o)},i.prototype.iaddn=function(o){return n(typeof o=="number"),n(o<67108864),o<0?this.isubn(-o):this.negative!==0?this.length===1&&(this.words[0]|0)<o?(this.words[0]=o-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(o),this.negative=1,this):this._iaddn(o)},i.prototype._iaddn=function(o){this.words[0]+=o;for(var c=0;c<this.length&&this.words[c]>=67108864;c++)this.words[c]-=67108864,c===this.length-1?this.words[c+1]=1:this.words[c+1]++;return this.length=Math.max(this.length,c+1),this},i.prototype.isubn=function(o){if(n(typeof o=="number"),n(o<67108864),o<0)return this.iaddn(-o);if(this.negative!==0)return this.negative=0,this.iaddn(o),this.negative=1,this;if(this.words[0]-=o,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var c=0;c<this.length&&this.words[c]<0;c++)this.words[c]+=67108864,this.words[c+1]-=1;return this.strip()},i.prototype.addn=function(o){return this.clone().iaddn(o)},i.prototype.subn=function(o){return this.clone().isubn(o)},i.prototype.iabs=function(){return this.negative=0,this},i.prototype.abs=function(){return this.clone().iabs()},i.prototype._ishlnsubmul=function(o,c,d){var p=o.length+d,w;this._expand(p);var A,$=0;for(w=0;w<o.length;w++){A=(this.words[w+d]|0)+$;var b=(o.words[w]|0)*c;A-=b&67108863,$=(A>>26)-(b/67108864|0),this.words[w+d]=A&67108863}for(;w<this.length-d;w++)A=(this.words[w+d]|0)+$,$=A>>26,this.words[w+d]=A&67108863;if($===0)return this.strip();for(n($===-1),$=0,w=0;w<this.length;w++)A=-(this.words[w]|0)+$,$=A>>26,this.words[w]=A&67108863;return this.negative=1,this.strip()},i.prototype._wordDiv=function(o,c){var d=this.length-o.length,p=this.clone(),w=o,A=w.words[w.length-1]|0,$=this._countBits(A);d=26-$,d!==0&&(w=w.ushln(d),p.iushln(d),A=w.words[w.length-1]|0);var b=p.length-w.length,u;if(c!=="mod"){u=new i(null),u.length=b+1,u.words=new Array(u.length);for(var _=0;_<u.length;_++)u.words[_]=0}var ee=p.clone()._ishlnsubmul(w,1,b);ee.negative===0&&(p=ee,u&&(u.words[b]=1));for(var te=b-1;te>=0;te--){var L=(p.words[w.length+te]|0)*67108864+(p.words[w.length+te-1]|0);for(L=Math.min(L/A|0,67108863),p._ishlnsubmul(w,L,te);p.negative!==0;)L--,p.negative=0,p._ishlnsubmul(w,1,te),p.isZero()||(p.negative^=1);u&&(u.words[te]=L)}return u&&u.strip(),p.strip(),c!=="div"&&d!==0&&p.iushrn(d),{div:u||null,mod:p}},i.prototype.divmod=function(o,c,d){if(n(!o.isZero()),this.isZero())return{div:new i(0),mod:new i(0)};var p,w,A;return this.negative!==0&&o.negative===0?(A=this.neg().divmod(o,c),c!=="mod"&&(p=A.div.neg()),c!=="div"&&(w=A.mod.neg(),d&&w.negative!==0&&w.iadd(o)),{div:p,mod:w}):this.negative===0&&o.negative!==0?(A=this.divmod(o.neg(),c),c!=="mod"&&(p=A.div.neg()),{div:p,mod:A.mod}):this.negative&o.negative?(A=this.neg().divmod(o.neg(),c),c!=="div"&&(w=A.mod.neg(),d&&w.negative!==0&&w.isub(o)),{div:A.div,mod:w}):o.length>this.length||this.cmp(o)<0?{div:new i(0),mod:this}:o.length===1?c==="div"?{div:this.divn(o.words[0]),mod:null}:c==="mod"?{div:null,mod:new i(this.modn(o.words[0]))}:{div:this.divn(o.words[0]),mod:new i(this.modn(o.words[0]))}:this._wordDiv(o,c)},i.prototype.div=function(o){return this.divmod(o,"div",!1).div},i.prototype.mod=function(o){return this.divmod(o,"mod",!1).mod},i.prototype.umod=function(o){return this.divmod(o,"mod",!0).mod},i.prototype.divRound=function(o){var c=this.divmod(o);if(c.mod.isZero())return c.div;var d=c.div.negative!==0?c.mod.isub(o):c.mod,p=o.ushrn(1),w=o.andln(1),A=d.cmp(p);return A<0||w===1&&A===0?c.div:c.div.negative!==0?c.div.isubn(1):c.div.iaddn(1)},i.prototype.modn=function(o){n(o<=67108863);for(var c=(1<<26)%o,d=0,p=this.length-1;p>=0;p--)d=(c*d+(this.words[p]|0))%o;return d},i.prototype.idivn=function(o){n(o<=67108863);for(var c=0,d=this.length-1;d>=0;d--){var p=(this.words[d]|0)+c*67108864;this.words[d]=p/o|0,c=p%o}return this.strip()},i.prototype.divn=function(o){return this.clone().idivn(o)},i.prototype.egcd=function(o){n(o.negative===0),n(!o.isZero());var c=this,d=o.clone();c.negative!==0?c=c.umod(o):c=c.clone();for(var p=new i(1),w=new i(0),A=new i(0),$=new i(1),b=0;c.isEven()&&d.isEven();)c.iushrn(1),d.iushrn(1),++b;for(var u=d.clone(),_=c.clone();!c.isZero();){for(var ee=0,te=1;!(c.words[0]&te)&&ee<26;++ee,te<<=1);if(ee>0)for(c.iushrn(ee);ee-- >0;)(p.isOdd()||w.isOdd())&&(p.iadd(u),w.isub(_)),p.iushrn(1),w.iushrn(1);for(var L=0,ie=1;!(d.words[0]&ie)&&L<26;++L,ie<<=1);if(L>0)for(d.iushrn(L);L-- >0;)(A.isOdd()||$.isOdd())&&(A.iadd(u),$.isub(_)),A.iushrn(1),$.iushrn(1);c.cmp(d)>=0?(c.isub(d),p.isub(A),w.isub($)):(d.isub(c),A.isub(p),$.isub(w))}return{a:A,b:$,gcd:d.iushln(b)}},i.prototype._invmp=function(o){n(o.negative===0),n(!o.isZero());var c=this,d=o.clone();c.negative!==0?c=c.umod(o):c=c.clone();for(var p=new i(1),w=new i(0),A=d.clone();c.cmpn(1)>0&&d.cmpn(1)>0;){for(var $=0,b=1;!(c.words[0]&b)&&$<26;++$,b<<=1);if($>0)for(c.iushrn($);$-- >0;)p.isOdd()&&p.iadd(A),p.iushrn(1);for(var u=0,_=1;!(d.words[0]&_)&&u<26;++u,_<<=1);if(u>0)for(d.iushrn(u);u-- >0;)w.isOdd()&&w.iadd(A),w.iushrn(1);c.cmp(d)>=0?(c.isub(d),p.isub(w)):(d.isub(c),w.isub(p))}var ee;return c.cmpn(1)===0?ee=p:ee=w,ee.cmpn(0)<0&&ee.iadd(o),ee},i.prototype.gcd=function(o){if(this.isZero())return o.abs();if(o.isZero())return this.abs();var c=this.clone(),d=o.clone();c.negative=0,d.negative=0;for(var p=0;c.isEven()&&d.isEven();p++)c.iushrn(1),d.iushrn(1);do{for(;c.isEven();)c.iushrn(1);for(;d.isEven();)d.iushrn(1);var w=c.cmp(d);if(w<0){var A=c;c=d,d=A}else if(w===0||d.cmpn(1)===0)break;c.isub(d)}while(!0);return d.iushln(p)},i.prototype.invm=function(o){return this.egcd(o).a.umod(o)},i.prototype.isEven=function(){return(this.words[0]&1)===0},i.prototype.isOdd=function(){return(this.words[0]&1)===1},i.prototype.andln=function(o){return this.words[0]&o},i.prototype.bincn=function(o){n(typeof o=="number");var c=o%26,d=(o-c)/26,p=1<<c;if(this.length<=d)return this._expand(d+1),this.words[d]|=p,this;for(var w=p,A=d;w!==0&&A<this.length;A++){var $=this.words[A]|0;$+=w,w=$>>>26,$&=67108863,this.words[A]=$}return w!==0&&(this.words[A]=w,this.length++),this},i.prototype.isZero=function(){return this.length===1&&this.words[0]===0},i.prototype.cmpn=function(o){var c=o<0;if(this.negative!==0&&!c)return-1;if(this.negative===0&&c)return 1;this.strip();var d;if(this.length>1)d=1;else{c&&(o=-o),n(o<=67108863,"Number is too big");var p=this.words[0]|0;d=p===o?0:p<o?-1:1}return this.negative!==0?-d|0:d},i.prototype.cmp=function(o){if(this.negative!==0&&o.negative===0)return-1;if(this.negative===0&&o.negative!==0)return 1;var c=this.ucmp(o);return this.negative!==0?-c|0:c},i.prototype.ucmp=function(o){if(this.length>o.length)return 1;if(this.length<o.length)return-1;for(var c=0,d=this.length-1;d>=0;d--){var p=this.words[d]|0,w=o.words[d]|0;if(p!==w){p<w?c=-1:p>w&&(c=1);break}}return c},i.prototype.gtn=function(o){return this.cmpn(o)===1},i.prototype.gt=function(o){return this.cmp(o)===1},i.prototype.gten=function(o){return this.cmpn(o)>=0},i.prototype.gte=function(o){return this.cmp(o)>=0},i.prototype.ltn=function(o){return this.cmpn(o)===-1},i.prototype.lt=function(o){return this.cmp(o)===-1},i.prototype.lten=function(o){return this.cmpn(o)<=0},i.prototype.lte=function(o){return this.cmp(o)<=0},i.prototype.eqn=function(o){return this.cmpn(o)===0},i.prototype.eq=function(o){return this.cmp(o)===0},i.red=function(o){return new se(o)},i.prototype.toRed=function(o){return n(!this.red,"Already a number in reduction context"),n(this.negative===0,"red works only with positives"),o.convertTo(this)._forceRed(o)},i.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(o){return this.red=o,this},i.prototype.forceRed=function(o){return n(!this.red,"Already a number in reduction context"),this._forceRed(o)},i.prototype.redAdd=function(o){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,o)},i.prototype.redIAdd=function(o){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,o)},i.prototype.redSub=function(o){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,o)},i.prototype.redISub=function(o){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,o)},i.prototype.redShl=function(o){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,o)},i.prototype.redMul=function(o){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,o),this.red.mul(this,o)},i.prototype.redIMul=function(o){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,o),this.red.imul(this,o)},i.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(o){return n(this.red&&!o.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,o)};var pe={k256:null,p224:null,p192:null,p25519:null};function ce(E,o){this.name=E,this.p=new i(o,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}ce.prototype._tmp=function(){var o=new i(null);return o.words=new Array(Math.ceil(this.n/13)),o},ce.prototype.ireduce=function(o){var c=o,d;do this.split(c,this.tmp),c=this.imulK(c),c=c.iadd(this.tmp),d=c.bitLength();while(d>this.n);var p=d<this.n?-1:c.ucmp(this.p);return p===0?(c.words[0]=0,c.length=1):p>0?c.isub(this.p):c.strip!==void 0?c.strip():c._strip(),c},ce.prototype.split=function(o,c){o.iushrn(this.n,0,c)},ce.prototype.imulK=function(o){return o.imul(this.k)};function oe(){ce.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}a(oe,ce),oe.prototype.split=function(o,c){for(var d=4194303,p=Math.min(o.length,9),w=0;w<p;w++)c.words[w]=o.words[w];if(c.length=p,o.length<=9){o.words[0]=0,o.length=1;return}var A=o.words[9];for(c.words[c.length++]=A&d,w=10;w<o.length;w++){var $=o.words[w]|0;o.words[w-10]=($&d)<<4|A>>>22,A=$}A>>>=22,o.words[w-10]=A,A===0&&o.length>10?o.length-=10:o.length-=9},oe.prototype.imulK=function(o){o.words[o.length]=0,o.words[o.length+1]=0,o.length+=2;for(var c=0,d=0;d<o.length;d++){var p=o.words[d]|0;c+=p*977,o.words[d]=c&67108863,c=p*64+(c/67108864|0)}return o.words[o.length-1]===0&&(o.length--,o.words[o.length-1]===0&&o.length--),o};function V(){ce.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}a(V,ce);function K(){ce.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}a(K,ce);function ae(){ce.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}a(ae,ce),ae.prototype.imulK=function(o){for(var c=0,d=0;d<o.length;d++){var p=(o.words[d]|0)*19+c,w=p&67108863;p>>>=26,o.words[d]=w,c=p}return c!==0&&(o.words[o.length++]=c),o},i._prime=function(o){if(pe[o])return pe[o];var c;if(o==="k256")c=new oe;else if(o==="p224")c=new V;else if(o==="p192")c=new K;else if(o==="p25519")c=new ae;else throw new Error("Unknown prime "+o);return pe[o]=c,c};function se(E){if(typeof E=="string"){var o=i._prime(E);this.m=o.p,this.prime=o}else n(E.gtn(1),"modulus must be greater than 1"),this.m=E,this.prime=null}se.prototype._verify1=function(o){n(o.negative===0,"red works only with positives"),n(o.red,"red works only with red numbers")},se.prototype._verify2=function(o,c){n((o.negative|c.negative)===0,"red works only with positives"),n(o.red&&o.red===c.red,"red works only with red numbers")},se.prototype.imod=function(o){return this.prime?this.prime.ireduce(o)._forceRed(this):o.umod(this.m)._forceRed(this)},se.prototype.neg=function(o){return o.isZero()?o.clone():this.m.sub(o)._forceRed(this)},se.prototype.add=function(o,c){this._verify2(o,c);var d=o.add(c);return d.cmp(this.m)>=0&&d.isub(this.m),d._forceRed(this)},se.prototype.iadd=function(o,c){this._verify2(o,c);var d=o.iadd(c);return d.cmp(this.m)>=0&&d.isub(this.m),d},se.prototype.sub=function(o,c){this._verify2(o,c);var d=o.sub(c);return d.cmpn(0)<0&&d.iadd(this.m),d._forceRed(this)},se.prototype.isub=function(o,c){this._verify2(o,c);var d=o.isub(c);return d.cmpn(0)<0&&d.iadd(this.m),d},se.prototype.shl=function(o,c){return this._verify1(o),this.imod(o.ushln(c))},se.prototype.imul=function(o,c){return this._verify2(o,c),this.imod(o.imul(c))},se.prototype.mul=function(o,c){return this._verify2(o,c),this.imod(o.mul(c))},se.prototype.isqr=function(o){return this.imul(o,o.clone())},se.prototype.sqr=function(o){return this.mul(o,o)},se.prototype.sqrt=function(o){if(o.isZero())return o.clone();var c=this.m.andln(3);if(n(c%2===1),c===3){var d=this.m.add(new i(1)).iushrn(2);return this.pow(o,d)}for(var p=this.m.subn(1),w=0;!p.isZero()&&p.andln(1)===0;)w++,p.iushrn(1);n(!p.isZero());var A=new i(1).toRed(this),$=A.redNeg(),b=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new i(2*u*u).toRed(this);this.pow(u,b).cmp($)!==0;)u.redIAdd($);for(var _=this.pow(u,p),ee=this.pow(o,p.addn(1).iushrn(1)),te=this.pow(o,p),L=w;te.cmp(A)!==0;){for(var ie=te,ye=0;ie.cmp(A)!==0;ye++)ie=ie.redSqr();n(ye<L);var be=this.pow(_,new i(1).iushln(L-ye-1));ee=ee.redMul(be),_=be.redSqr(),te=te.redMul(_),L=ye}return ee},se.prototype.invm=function(o){var c=o._invmp(this.m);return c.negative!==0?(c.negative=0,this.imod(c).redNeg()):this.imod(c)},se.prototype.pow=function(o,c){if(c.isZero())return new i(1).toRed(this);if(c.cmpn(1)===0)return o.clone();var d=4,p=new Array(1<<d);p[0]=new i(1).toRed(this),p[1]=o;for(var w=2;w<p.length;w++)p[w]=this.mul(p[w-1],o);var A=p[0],$=0,b=0,u=c.bitLength()%26;for(u===0&&(u=26),w=c.length-1;w>=0;w--){for(var _=c.words[w],ee=u-1;ee>=0;ee--){var te=_>>ee&1;if(A!==p[0]&&(A=this.sqr(A)),te===0&&$===0){b=0;continue}$<<=1,$|=te,b++,!(b!==d&&(w!==0||ee!==0))&&(A=this.mul(A,p[$]),b=0,$=0)}u=26}return A},se.prototype.convertTo=function(o){var c=o.umod(this.m);return c===o?c.clone():c},se.prototype.convertFrom=function(o){var c=o.clone();return c.red=null,c},i.mont=function(o){return new Y(o)};function Y(E){se.call(this,E),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}a(Y,se),Y.prototype.convertTo=function(o){return this.imod(o.ushln(this.shift))},Y.prototype.convertFrom=function(o){var c=this.imod(o.mul(this.rinv));return c.red=null,c},Y.prototype.imul=function(o,c){if(o.isZero()||c.isZero())return o.words[0]=0,o.length=1,o;var d=o.imul(c),p=d.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),w=d.isub(p).iushrn(this.shift),A=w;return w.cmp(this.m)>=0?A=w.isub(this.m):w.cmpn(0)<0&&(A=w.iadd(this.m)),A._forceRed(this)},Y.prototype.mul=function(o,c){if(o.isZero()||c.isZero())return new i(0)._forceRed(this);var d=o.mul(c),p=d.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),w=d.isub(p).iushrn(this.shift),A=w;return w.cmp(this.m)>=0?A=w.isub(this.m):w.cmpn(0)<0&&(A=w.iadd(this.m)),A._forceRed(this)},Y.prototype.invm=function(o){var c=this.imod(o._invmp(this.m).mul(this.r2));return c._forceRed(this)}})(e,ms)})(Ji);var Nv=Ji.exports;function J1(e,t){return Xr(e,t)}const Pv=Object.freeze(Object.defineProperty({__proto__:null,default:J1},Symbol.toStringTag,{value:"Module"}));function V1(e,t){return Ys(e,t,function(r,n){return Vs(e,n)})}var K1=pa(function(e,t){return e==null?{}:V1(e,t)});const Lv=Object.freeze(Object.defineProperty({__proto__:null,default:K1},Symbol.toStringTag,{value:"Module"}));function bu(e,t){for(var r=e.length;r--&&rn(t,e[r],0)>-1;);return r}function Uv(e,t,r){if(e=tt(e),e&&t===void 0)return e.slice(0,Is(e)+1);if(!e||!(t=yr(t)))return e;var n=Jt(e),a=bu(n,Jt(t))+1;return Wr(n,0,a).join("")}var Y1=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof $t<"u"?$t:typeof self<"u"?self:{};function X1(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}/*!
|
|
12
|
-
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
13
|
-
*
|
|
14
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
15
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
16
|
-
* in the Software without restriction, including without limitation the rights
|
|
17
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
18
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
19
|
-
* furnished to do so, subject to the following conditions:
|
|
20
|
-
*
|
|
21
|
-
* The above copyright notice and this permission notice shall be included in
|
|
22
|
-
* all copies or substantial portions of the Software.
|
|
23
|
-
*
|
|
24
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
25
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
26
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
27
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
28
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
29
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
30
|
-
* SOFTWARE.
|
|
31
|
-
*/var Zn,ss;function Q1(){return ss||(ss=1,Zn={languageTag:"en-US",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},spaceSeparated:!1,ordinal:function(e){let t=e%10;return~~(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th"},bytes:{binarySuffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],decimalSuffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]},currency:{symbol:"$",position:"prefix",code:"USD"},currencyFormat:{thousandSeparated:!0,totalLength:4,spaceSeparated:!0,spaceSeparatedCurrency:!0},formats:{fourDigits:{totalLength:4,spaceSeparated:!0},fullWithTwoDecimals:{output:"currency",thousandSeparated:!0,mantissa:2},fullWithTwoDecimalsNoCurrency:{thousandSeparated:!0,mantissa:2},fullWithNoDecimals:{output:"currency",thousandSeparated:!0,mantissa:0}}}),Zn}/*!
|
|
32
|
-
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
33
|
-
*
|
|
34
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
35
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
36
|
-
* in the Software without restriction, including without limitation the rights
|
|
37
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
38
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
39
|
-
* furnished to do so, subject to the following conditions:
|
|
40
|
-
*
|
|
41
|
-
* The above copyright notice and this permission notice shall be included in
|
|
42
|
-
* all copies or substantial portions of the Software.
|
|
43
|
-
*
|
|
44
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
45
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
46
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
47
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
48
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
49
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
50
|
-
* SOFTWARE.
|
|
51
|
-
*/var Jn,as;function xu(){if(as)return Jn;as=1;const e=[{key:"ZiB",factor:Math.pow(1024,7)},{key:"ZB",factor:Math.pow(1e3,7)},{key:"YiB",factor:Math.pow(1024,8)},{key:"YB",factor:Math.pow(1e3,8)},{key:"TiB",factor:Math.pow(1024,4)},{key:"TB",factor:Math.pow(1e3,4)},{key:"PiB",factor:Math.pow(1024,5)},{key:"PB",factor:Math.pow(1e3,5)},{key:"MiB",factor:Math.pow(1024,2)},{key:"MB",factor:Math.pow(1e3,2)},{key:"KiB",factor:Math.pow(1024,1)},{key:"KB",factor:Math.pow(1e3,1)},{key:"GiB",factor:Math.pow(1024,3)},{key:"GB",factor:Math.pow(1e3,3)},{key:"EiB",factor:Math.pow(1024,6)},{key:"EB",factor:Math.pow(1e3,6)},{key:"B",factor:1}];function t(M){return M.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}function r(M,y,h,S,B,z,G){if(!isNaN(+M))return+M;let Z="",q=M.replace(/(^[^(]*)\((.*)\)([^)]*$)/,"$1$2$3");if(q!==M)return-1*r(q,y,h,S,B,z);for(let V=0;V<e.length;V++){let K=e[V];if(Z=M.replace(RegExp(`([0-9 ])(${K.key})$`),"$1"),Z!==M)return r(Z,y,h,S,B,z)*K.factor}if(Z=M.replace("%",""),Z!==M)return r(Z,y,h,S,B,z)/100;let Q=parseFloat(M);if(isNaN(Q))return;let X=S(Q);if(X&&X!=="."&&(Z=M.replace(new RegExp(`${t(X)}$`),""),Z!==M))return r(Z,y,h,S,B,z);let pe={};Object.keys(z).forEach(V=>{pe[z[V]]=V});let ce=Object.keys(pe).sort().reverse(),oe=ce.length;for(let V=0;V<oe;V++){let K=ce[V],ae=pe[K];if(Z=M.replace(K,""),Z!==M){let se;switch(ae){case"thousand":se=Math.pow(10,3);break;case"million":se=Math.pow(10,6);break;case"billion":se=Math.pow(10,9);break;case"trillion":se=Math.pow(10,12);break}return r(Z,y,h,S,B,z)*se}}}function n(M,y,h){let S=M.replace(h,"");return S=S.replace(new RegExp(`([0-9])${t(y.thousands)}([0-9])`,"g"),"$1$2"),S=S.replace(y.decimal,"."),S}function a(M,y,h="",S,B,z,G){if(M==="")return;if(M===B)return 0;let Z=n(M,y,h);return r(Z,y,h,S,B,z)}function i(M,y){if(!(M.indexOf(":")&&y.thousands!==":"))return!1;let S=M.split(":");if(S.length!==3)return!1;let B=+S[0],z=+S[1],G=+S[2];return!isNaN(B)&&!isNaN(z)&&!isNaN(G)}function l(M){let y=M.split(":"),h=+y[0],S=+y[1];return+y[2]+60*S+3600*h}function v(M,y){const h=Yi();let S=h.currentDelimiters(),B=h.currentCurrency().symbol,z=h.currentOrdinal(),G=h.getZeroFormat(),Z=h.currentAbbreviations(),q;if(typeof M=="string")i(M,S)?q=l(M):q=a(M,S,B,z,G,Z);else if(typeof M=="number")q=M;else return;if(q!==void 0)return q}return Jn={unformat:v},Jn}/*!
|
|
52
|
-
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
53
|
-
*
|
|
54
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
55
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
56
|
-
* in the Software without restriction, including without limitation the rights
|
|
57
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
58
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
59
|
-
* furnished to do so, subject to the following conditions:
|
|
60
|
-
*
|
|
61
|
-
* The above copyright notice and this permission notice shall be included in
|
|
62
|
-
* all copies or substantial portions of the Software.
|
|
63
|
-
*
|
|
64
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
65
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
66
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
67
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
68
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
69
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
70
|
-
* SOFTWARE.
|
|
71
|
-
*/var Vn,us;function Vi(){if(us)return Vn;us=1;let e=xu();const t=/^[a-z]{2,3}(-[a-zA-Z]{4})?(-([A-Z]{2}|[0-9]{3}))?$/,r=["currency","percent","byte","time","ordinal","number"],n=["trillion","billion","million","thousand"],a=["prefix","infix","postfix"],i=["sign","parenthesis"],l={type:"object",children:{thousand:{type:"string",mandatory:!0},million:{type:"string",mandatory:!0},billion:{type:"string",mandatory:!0},trillion:{type:"string",mandatory:!0}},mandatory:!0},y={output:{type:"string",validValues:r},base:{type:"string",validValues:["decimal","binary","general"],restriction:(q,Q)=>Q.output==="byte",message:"`base` must be provided only when the output is `byte`",mandatory:q=>q.output==="byte"},characteristic:{type:"number",restriction:q=>q>=0,message:"value must be positive"},prefix:"string",postfix:"string",forceAverage:{type:"string",validValues:n},average:"boolean",lowPrecision:{type:"boolean",restriction:(q,Q)=>Q.average===!0,message:"`lowPrecision` must be provided only when the option `average` is set"},currencyPosition:{type:"string",validValues:a},currencySymbol:"string",totalLength:{type:"number",restrictions:[{restriction:q=>q>=0,message:"value must be positive"},{restriction:(q,Q)=>!Q.exponential,message:"`totalLength` is incompatible with `exponential`"}]},mantissa:{type:"number",restriction:q=>q>=0,message:"value must be positive"},optionalMantissa:"boolean",trimMantissa:"boolean",roundingFunction:"function",optionalCharacteristic:"boolean",thousandSeparated:"boolean",spaceSeparated:"boolean",spaceSeparatedCurrency:"boolean",spaceSeparatedAbbreviation:"boolean",abbreviations:{type:"object",children:{thousand:"string",million:"string",billion:"string",trillion:"string"}},negative:{type:"string",validValues:i},forceSign:"boolean",exponential:{type:"boolean"},prefixSymbol:{type:"boolean",restriction:(q,Q)=>Q.output==="percent",message:"`prefixSymbol` can be provided only when the output is `percent`"}},h={languageTag:{type:"string",mandatory:!0,restriction:q=>q.match(t),message:"the language tag must follow the BCP 47 specification (see https://tools.ieft.org/html/bcp47)"},delimiters:{type:"object",children:{thousands:"string",decimal:"string",thousandsSize:"number"},mandatory:!0},abbreviations:l,spaceSeparated:"boolean",spaceSeparatedCurrency:"boolean",ordinal:{type:"function",mandatory:!0},bytes:{type:"object",children:{binarySuffixes:"object",decimalSuffixes:"object"}},currency:{type:"object",children:{symbol:"string",position:"string",code:"string"},mandatory:!0},defaults:"format",ordinalFormat:"format",byteFormat:"format",percentageFormat:"format",currencyFormat:"format",timeDefaults:"format",formats:{type:"object",children:{fourDigits:{type:"format",mandatory:!0},fullWithTwoDecimals:{type:"format",mandatory:!0},fullWithTwoDecimalsNoCurrency:{type:"format",mandatory:!0},fullWithNoDecimals:{type:"format",mandatory:!0}}}};function S(q,Q){let X=B(q),pe=G(Q);return X&&pe}function B(q){return e.unformat(q)!==void 0}function z(q,Q,X,pe=!1){let ce=Object.keys(q).map(oe=>{if(!Q[oe])return console.error(`${X} Invalid key: ${oe}`),!1;let V=q[oe],K=Q[oe];if(typeof K=="string"&&(K={type:K}),K.type==="format"){if(!z(V,y,`[Validate ${oe}]`,!0))return!1}else if(typeof V!==K.type)return console.error(`${X} ${oe} type mismatched: "${K.type}" expected, "${typeof V}" provided`),!1;if(K.restrictions&&K.restrictions.length){let ae=K.restrictions.length;for(let se=0;se<ae;se++){let{restriction:Y,message:E}=K.restrictions[se];if(!Y(V,q))return console.error(`${X} ${oe} invalid value: ${E}`),!1}}return K.restriction&&!K.restriction(V,q)?(console.error(`${X} ${oe} invalid value: ${K.message}`),!1):K.validValues&&K.validValues.indexOf(V)===-1?(console.error(`${X} ${oe} invalid value: must be among ${JSON.stringify(K.validValues)}, "${V}" provided`),!1):!(K.children&&!z(V,K.children,`[Validate ${oe}]`))});return pe||ce.push(...Object.keys(Q).map(oe=>{let V=Q[oe];if(typeof V=="string"&&(V={type:V}),V.mandatory){let K=V.mandatory;if(typeof K=="function"&&(K=K(q)),K&&q[oe]===void 0)return console.error(`${X} Missing mandatory key "${oe}"`),!1}return!0})),ce.reduce((oe,V)=>oe&&V,!0)}function G(q){return z(q,y,"[Validate format]")}function Z(q){return z(q,h,"[Validate language]")}return Vn={validate:S,validateFormat:G,validateInput:B,validateLanguage:Z},Vn}/*!
|
|
72
|
-
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
73
|
-
*
|
|
74
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
75
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
76
|
-
* in the Software without restriction, including without limitation the rights
|
|
77
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
78
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
79
|
-
* furnished to do so, subject to the following conditions:
|
|
80
|
-
*
|
|
81
|
-
* The above copyright notice and this permission notice shall be included in
|
|
82
|
-
* all copies or substantial portions of the Software.
|
|
83
|
-
*
|
|
84
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
85
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
86
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
87
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
88
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
89
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
90
|
-
* SOFTWARE.
|
|
91
|
-
*/function ey(e,t){let r=e.match(/^{([^}]*)}/);return r?(t.prefix=r[1],e.slice(r[0].length)):e}function ty(e,t){let r=e.match(/{([^}]*)}$/);return r?(t.postfix=r[1],e.slice(0,-r[0].length)):e}function ry(e,t){if(e.indexOf("$")!==-1){t.output="currency";return}if(e.indexOf("%")!==-1){t.output="percent";return}if(e.indexOf("bd")!==-1){t.output="byte",t.base="general";return}if(e.indexOf("b")!==-1){t.output="byte",t.base="binary";return}if(e.indexOf("d")!==-1){t.output="byte",t.base="decimal";return}if(e.indexOf(":")!==-1){t.output="time";return}e.indexOf("o")!==-1&&(t.output="ordinal")}function ny(e,t){e.indexOf(",")!==-1&&(t.thousandSeparated=!0)}function iy(e,t){e.indexOf(" ")!==-1&&(t.spaceSeparated=!0,t.spaceSeparatedCurrency=!0,(t.average||t.forceAverage)&&(t.spaceSeparatedAbbreviation=!0))}function oy(e,t){let r=e.match(/[1-9]+[0-9]*/);r&&(t.totalLength=+r[0])}function sy(e,t){let n=e.split(".")[0].match(/0+/);n&&(t.characteristic=n[0].length)}function ay(e,t){let r=e.split(".")[1];if(r){let n=r.match(/0+/);n&&(t.mantissa=n[0].length)}}function uy(e,t){const r=e.split(".")[1];r&&(t.trimMantissa=r.indexOf("[")!==-1)}function fy(e,t){e.indexOf("a")!==-1&&(t.average=!0)}function ly(e,t){e.indexOf("K")!==-1?t.forceAverage="thousand":e.indexOf("M")!==-1?t.forceAverage="million":e.indexOf("B")!==-1?t.forceAverage="billion":e.indexOf("T")!==-1&&(t.forceAverage="trillion")}function cy(e,t){e.match(/\[\.]/)?t.optionalMantissa=!0:e.match(/\./)&&(t.optionalMantissa=!1)}function hy(e,t){if(e.indexOf(".")!==-1){let r=e.split(".")[0];t.optionalCharacteristic=r.indexOf("0")===-1}}function dy(e,t){e.match(/^\+?\([^)]*\)$/)&&(t.negative="parenthesis"),e.match(/^\+?-/)&&(t.negative="sign")}function py(e,t){e.match(/^\+/)&&(t.forceSign=!0)}function gy(e,t={}){return typeof e!="string"?e:(e=ey(e,t),e=ty(e,t),ry(e,t),oy(e,t),sy(e,t),hy(e,t),fy(e,t),ly(e,t),ay(e,t),cy(e,t),uy(e,t),ny(e,t),iy(e,t),dy(e,t),py(e,t),t)}var Ki={parseFormat:gy};/*!
|
|
92
|
-
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
93
|
-
*
|
|
94
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
95
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
96
|
-
* in the Software without restriction, including without limitation the rights
|
|
97
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
98
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
99
|
-
* furnished to do so, subject to the following conditions:
|
|
100
|
-
*
|
|
101
|
-
* The above copyright notice and this permission notice shall be included in
|
|
102
|
-
* all copies or substantial portions of the Software.
|
|
103
|
-
*
|
|
104
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
105
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
106
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
107
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
108
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
109
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
110
|
-
* SOFTWARE.
|
|
111
|
-
*/var Kn,fs;function Yi(){if(fs)return Kn;fs=1;const e=Q1(),t=Vi(),r=Ki;let n={},a,i={},l=null,v={};function M(h){a=h}function y(){return i[a]}return n.languages=()=>Object.assign({},i),n.currentLanguage=()=>a,n.currentBytes=()=>y().bytes||{},n.currentCurrency=()=>y().currency,n.currentAbbreviations=()=>y().abbreviations,n.currentDelimiters=()=>y().delimiters,n.currentOrdinal=()=>y().ordinal,n.currentDefaults=()=>Object.assign({},y().defaults,v),n.currentOrdinalDefaultFormat=()=>Object.assign({},n.currentDefaults(),y().ordinalFormat),n.currentByteDefaultFormat=()=>Object.assign({},n.currentDefaults(),y().byteFormat),n.currentPercentageDefaultFormat=()=>Object.assign({},n.currentDefaults(),y().percentageFormat),n.currentCurrencyDefaultFormat=()=>Object.assign({},n.currentDefaults(),y().currencyFormat),n.currentTimeDefaultFormat=()=>Object.assign({},n.currentDefaults(),y().timeFormat),n.setDefaults=h=>{h=r.parseFormat(h),t.validateFormat(h)&&(v=h)},n.getZeroFormat=()=>l,n.setZeroFormat=h=>l=typeof h=="string"?h:null,n.hasZeroFormat=()=>l!==null,n.languageData=h=>{if(h){if(i[h])return i[h];throw new Error(`Unknown tag "${h}"`)}return y()},n.registerLanguage=(h,S=!1)=>{if(!t.validateLanguage(h))throw new Error("Invalid language data");i[h.languageTag]=h,S&&M(h.languageTag)},n.setLanguage=(h,S=e.languageTag)=>{if(!i[h]){let B=h.split("-")[0],z=Object.keys(i).find(G=>G.split("-")[0]===B);if(!i[z]){M(S);return}M(z);return}M(h)},n.registerLanguage(e),a=e.languageTag,Kn=n,Kn}function my(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}/*!
|
|
112
|
-
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
113
|
-
*
|
|
114
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
115
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
116
|
-
* in the Software without restriction, including without limitation the rights
|
|
117
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
118
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
119
|
-
* furnished to do so, subject to the following conditions:
|
|
120
|
-
*
|
|
121
|
-
* The above copyright notice and this permission notice shall be included in
|
|
122
|
-
* all copies or substantial portions of the Software.
|
|
123
|
-
*
|
|
124
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
125
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
126
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
127
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
128
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
129
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
130
|
-
* SOFTWARE.
|
|
131
|
-
*/function yy(e,t){e.forEach(r=>{let n;try{n=my(`../languages/${r}`)}catch{console.error(`Unable to load "${r}". No matching language file found.`)}n&&t.registerLanguage(n)})}var wy=e=>({loadLanguagesInNode:t=>yy(t,e)}),Mu={exports:{}};(function(e){(function(t){var r,n=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,a=Math.ceil,i=Math.floor,l="[BigNumber Error] ",v=l+"Number primitive has more than 15 significant digits: ",M=1e14,y=14,h=9007199254740991,S=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],B=1e7,z=1e9;function G(V){var K,ae,se,Y=L.prototype={constructor:L,toString:null,valueOf:null},E=new L(1),o=20,c=4,d=-7,p=21,w=-1e7,A=1e7,$=!1,b=1,u=0,_={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:" ",suffix:""},ee="0123456789abcdefghijklmnopqrstuvwxyz",te=!0;function L(m,O){var T,P,N,I,D,R,F,U,k=this;if(!(k instanceof L))return new L(m,O);if(O==null){if(m&&m._isBigNumber===!0){k.s=m.s,!m.c||m.e>A?k.c=k.e=null:m.e<w?k.c=[k.e=0]:(k.e=m.e,k.c=m.c.slice());return}if((R=typeof m=="number")&&m*0==0){if(k.s=1/m<0?(m=-m,-1):1,m===~~m){for(I=0,D=m;D>=10;D/=10,I++);I>A?k.c=k.e=null:(k.e=I,k.c=[m]);return}U=String(m)}else{if(!n.test(U=String(m)))return se(k,U,R);k.s=U.charCodeAt(0)==45?(U=U.slice(1),-1):1}(I=U.indexOf("."))>-1&&(U=U.replace(".","")),(D=U.search(/e/i))>0?(I<0&&(I=D),I+=+U.slice(D+1),U=U.substring(0,D)):I<0&&(I=U.length)}else{if(X(O,2,ee.length,"Base"),O==10&&te)return k=new L(m),xe(k,o+k.e+1,c);if(U=String(m),R=typeof m=="number"){if(m*0!=0)return se(k,U,R,O);if(k.s=1/m<0?(U=U.slice(1),-1):1,L.DEBUG&&U.replace(/^0\.0*|\./,"").length>15)throw Error(v+m)}else k.s=U.charCodeAt(0)===45?(U=U.slice(1),-1):1;for(T=ee.slice(0,O),I=D=0,F=U.length;D<F;D++)if(T.indexOf(P=U.charAt(D))<0){if(P=="."){if(D>I){I=F;continue}}else if(!N&&(U==U.toUpperCase()&&(U=U.toLowerCase())||U==U.toLowerCase()&&(U=U.toUpperCase()))){N=!0,D=-1,I=0;continue}return se(k,String(m),R,O)}R=!1,U=ae(U,O,10,k.s),(I=U.indexOf("."))>-1?U=U.replace(".",""):I=U.length}for(D=0;U.charCodeAt(D)===48;D++);for(F=U.length;U.charCodeAt(--F)===48;);if(U=U.slice(D,++F)){if(F-=D,R&&L.DEBUG&&F>15&&(m>h||m!==i(m)))throw Error(v+k.s*m);if((I=I-D-1)>A)k.c=k.e=null;else if(I<w)k.c=[k.e=0];else{if(k.e=I,k.c=[],D=(I+1)%y,I<0&&(D+=y),D<F){for(D&&k.c.push(+U.slice(0,D)),F-=y;D<F;)k.c.push(+U.slice(D,D+=y));D=y-(U=U.slice(D)).length}else D-=F;for(;D--;U+="0");k.c.push(+U)}}else k.c=[k.e=0]}L.clone=G,L.ROUND_UP=0,L.ROUND_DOWN=1,L.ROUND_CEIL=2,L.ROUND_FLOOR=3,L.ROUND_HALF_UP=4,L.ROUND_HALF_DOWN=5,L.ROUND_HALF_EVEN=6,L.ROUND_HALF_CEIL=7,L.ROUND_HALF_FLOOR=8,L.EUCLID=9,L.config=L.set=function(m){var O,T;if(m!=null)if(typeof m=="object"){if(m.hasOwnProperty(O="DECIMAL_PLACES")&&(T=m[O],X(T,0,z,O),o=T),m.hasOwnProperty(O="ROUNDING_MODE")&&(T=m[O],X(T,0,8,O),c=T),m.hasOwnProperty(O="EXPONENTIAL_AT")&&(T=m[O],T&&T.pop?(X(T[0],-z,0,O),X(T[1],0,z,O),d=T[0],p=T[1]):(X(T,-z,z,O),d=-(p=T<0?-T:T))),m.hasOwnProperty(O="RANGE"))if(T=m[O],T&&T.pop)X(T[0],-z,-1,O),X(T[1],1,z,O),w=T[0],A=T[1];else if(X(T,-z,z,O),T)w=-(A=T<0?-T:T);else throw Error(l+O+" cannot be zero: "+T);if(m.hasOwnProperty(O="CRYPTO"))if(T=m[O],T===!!T)if(T)if(typeof crypto<"u"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))$=T;else throw $=!T,Error(l+"crypto unavailable");else $=T;else throw Error(l+O+" not true or false: "+T);if(m.hasOwnProperty(O="MODULO_MODE")&&(T=m[O],X(T,0,9,O),b=T),m.hasOwnProperty(O="POW_PRECISION")&&(T=m[O],X(T,0,z,O),u=T),m.hasOwnProperty(O="FORMAT"))if(T=m[O],typeof T=="object")_=T;else throw Error(l+O+" not an object: "+T);if(m.hasOwnProperty(O="ALPHABET"))if(T=m[O],typeof T=="string"&&!/^.?$|[+\-.\s]|(.).*\1/.test(T))te=T.slice(0,10)=="0123456789",ee=T;else throw Error(l+O+" invalid: "+T)}else throw Error(l+"Object expected: "+m);return{DECIMAL_PLACES:o,ROUNDING_MODE:c,EXPONENTIAL_AT:[d,p],RANGE:[w,A],CRYPTO:$,MODULO_MODE:b,POW_PRECISION:u,FORMAT:_,ALPHABET:ee}},L.isBigNumber=function(m){if(!m||m._isBigNumber!==!0)return!1;if(!L.DEBUG)return!0;var O,T,P=m.c,N=m.e,I=m.s;e:if({}.toString.call(P)=="[object Array]"){if((I===1||I===-1)&&N>=-z&&N<=z&&N===i(N)){if(P[0]===0){if(N===0&&P.length===1)return!0;break e}if(O=(N+1)%y,O<1&&(O+=y),String(P[0]).length==O){for(O=0;O<P.length;O++)if(T=P[O],T<0||T>=M||T!==i(T))break e;if(T!==0)return!0}}}else if(P===null&&N===null&&(I===null||I===1||I===-1))return!0;throw Error(l+"Invalid BigNumber: "+m)},L.maximum=L.max=function(){return ye(arguments,-1)},L.minimum=L.min=function(){return ye(arguments,1)},L.random=function(){var m=9007199254740992,O=Math.random()*m&2097151?function(){return i(Math.random()*m)}:function(){return(Math.random()*1073741824|0)*8388608+(Math.random()*8388608|0)};return function(T){var P,N,I,D,R,F=0,U=[],k=new L(E);if(T==null?T=o:X(T,0,z),D=a(T/y),$)if(crypto.getRandomValues){for(P=crypto.getRandomValues(new Uint32Array(D*=2));F<D;)R=P[F]*131072+(P[F+1]>>>11),R>=9e15?(N=crypto.getRandomValues(new Uint32Array(2)),P[F]=N[0],P[F+1]=N[1]):(U.push(R%1e14),F+=2);F=D/2}else if(crypto.randomBytes){for(P=crypto.randomBytes(D*=7);F<D;)R=(P[F]&31)*281474976710656+P[F+1]*1099511627776+P[F+2]*4294967296+P[F+3]*16777216+(P[F+4]<<16)+(P[F+5]<<8)+P[F+6],R>=9e15?crypto.randomBytes(7).copy(P,F):(U.push(R%1e14),F+=7);F=D/7}else throw $=!1,Error(l+"crypto unavailable");if(!$)for(;F<D;)R=O(),R<9e15&&(U[F++]=R%1e14);for(D=U[--F],T%=y,D&&T&&(R=S[y-T],U[F]=i(D/R)*R);U[F]===0;U.pop(),F--);if(F<0)U=[I=0];else{for(I=-1;U[0]===0;U.splice(0,1),I-=y);for(F=1,R=U[0];R>=10;R/=10,F++);F<y&&(I-=y-F)}return k.e=I,k.c=U,k}}(),L.sum=function(){for(var m=1,O=arguments,T=new L(O[0]);m<O.length;)T=T.plus(O[m++]);return T},ae=function(){var m="0123456789";function O(T,P,N,I){for(var D,R=[0],F,U=0,k=T.length;U<k;){for(F=R.length;F--;R[F]*=P);for(R[0]+=I.indexOf(T.charAt(U++)),D=0;D<R.length;D++)R[D]>N-1&&(R[D+1]==null&&(R[D+1]=0),R[D+1]+=R[D]/N|0,R[D]%=N)}return R.reverse()}return function(T,P,N,I,D){var R,F,U,k,J,ne,ue,fe,de=T.indexOf("."),_e=o,he=c;for(de>=0&&(k=u,u=0,T=T.replace(".",""),fe=new L(P),ne=fe.pow(T.length-de),u=k,fe.c=O(oe(q(ne.c),ne.e,"0"),10,N,m),fe.e=fe.c.length),ue=O(T,P,N,D?(R=ee,m):(R=m,ee)),U=k=ue.length;ue[--k]==0;ue.pop());if(!ue[0])return R.charAt(0);if(de<0?--U:(ne.c=ue,ne.e=U,ne.s=I,ne=K(ne,fe,_e,he,N),ue=ne.c,J=ne.r,U=ne.e),F=U+_e+1,de=ue[F],k=N/2,J=J||F<0||ue[F+1]!=null,J=he<4?(de!=null||J)&&(he==0||he==(ne.s<0?3:2)):de>k||de==k&&(he==4||J||he==6&&ue[F-1]&1||he==(ne.s<0?8:7)),F<1||!ue[0])T=J?oe(R.charAt(1),-_e,R.charAt(0)):R.charAt(0);else{if(ue.length=F,J)for(--N;++ue[--F]>N;)ue[F]=0,F||(++U,ue=[1].concat(ue));for(k=ue.length;!ue[--k];);for(de=0,T="";de<=k;T+=R.charAt(ue[de++]));T=oe(T,U,R.charAt(0))}return T}}(),K=function(){function m(P,N,I){var D,R,F,U,k=0,J=P.length,ne=N%B,ue=N/B|0;for(P=P.slice();J--;)F=P[J]%B,U=P[J]/B|0,D=ue*F+U*ne,R=ne*F+D%B*B+k,k=(R/I|0)+(D/B|0)+ue*U,P[J]=R%I;return k&&(P=[k].concat(P)),P}function O(P,N,I,D){var R,F;if(I!=D)F=I>D?1:-1;else for(R=F=0;R<I;R++)if(P[R]!=N[R]){F=P[R]>N[R]?1:-1;break}return F}function T(P,N,I,D){for(var R=0;I--;)P[I]-=R,R=P[I]<N[I]?1:0,P[I]=R*D+P[I]-N[I];for(;!P[0]&&P.length>1;P.splice(0,1));}return function(P,N,I,D,R){var F,U,k,J,ne,ue,fe,de,_e,he,le,Te,g,s,f,x,C,j=P.s==N.s?1:-1,H=P.c,re=N.c;if(!H||!H[0]||!re||!re[0])return new L(!P.s||!N.s||(H?re&&H[0]==re[0]:!re)?NaN:H&&H[0]==0||!re?j*0:j/0);for(de=new L(j),_e=de.c=[],U=P.e-N.e,j=I+U+1,R||(R=M,U=Z(P.e/y)-Z(N.e/y),j=j/y|0),k=0;re[k]==(H[k]||0);k++);if(re[k]>(H[k]||0)&&U--,j<0)_e.push(1),J=!0;else{for(s=H.length,x=re.length,k=0,j+=2,ne=i(R/(re[0]+1)),ne>1&&(re=m(re,ne,R),H=m(H,ne,R),x=re.length,s=H.length),g=x,he=H.slice(0,x),le=he.length;le<x;he[le++]=0);C=re.slice(),C=[0].concat(C),f=re[0],re[1]>=R/2&&f++;do{if(ne=0,F=O(re,he,x,le),F<0){if(Te=he[0],x!=le&&(Te=Te*R+(he[1]||0)),ne=i(Te/f),ne>1)for(ne>=R&&(ne=R-1),ue=m(re,ne,R),fe=ue.length,le=he.length;O(ue,he,fe,le)==1;)ne--,T(ue,x<fe?C:re,fe,R),fe=ue.length,F=1;else ne==0&&(F=ne=1),ue=re.slice(),fe=ue.length;if(fe<le&&(ue=[0].concat(ue)),T(he,ue,le,R),le=he.length,F==-1)for(;O(re,he,x,le)<1;)ne++,T(he,x<le?C:re,le,R),le=he.length}else F===0&&(ne++,he=[0]);_e[k++]=ne,he[0]?he[le++]=H[g]||0:(he=[H[g]],le=1)}while((g++<s||he[0]!=null)&&j--);J=he[0]!=null,_e[0]||_e.splice(0,1)}if(R==M){for(k=1,j=_e[0];j>=10;j/=10,k++);xe(de,I+(de.e=k+U*y-1)+1,D,J)}else de.e=U,de.r=+J;return de}}();function ie(m,O,T,P){var N,I,D,R,F;if(T==null?T=c:X(T,0,8),!m.c)return m.toString();if(N=m.c[0],D=m.e,O==null)F=q(m.c),F=P==1||P==2&&(D<=d||D>=p)?ce(F,D):oe(F,D,"0");else if(m=xe(new L(m),O,T),I=m.e,F=q(m.c),R=F.length,P==1||P==2&&(O<=I||I<=d)){for(;R<O;F+="0",R++);F=ce(F,I)}else if(O-=D,F=oe(F,I,"0"),I+1>R){if(--O>0)for(F+=".";O--;F+="0");}else if(O+=I-R,O>0)for(I+1==R&&(F+=".");O--;F+="0");return m.s<0&&N?"-"+F:F}function ye(m,O){for(var T,P,N=1,I=new L(m[0]);N<m.length;N++)P=new L(m[N]),(!P.s||(T=Q(I,P))===O||T===0&&I.s===O)&&(I=P);return I}function be(m,O,T){for(var P=1,N=O.length;!O[--N];O.pop());for(N=O[0];N>=10;N/=10,P++);return(T=P+T*y-1)>A?m.c=m.e=null:T<w?m.c=[m.e=0]:(m.e=T,m.c=O),m}se=function(){var m=/^(-?)0([xbo])(?=\w[\w.]*$)/i,O=/^([^.]+)\.$/,T=/^\.([^.]+)$/,P=/^-?(Infinity|NaN)$/,N=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(I,D,R,F){var U,k=R?D:D.replace(N,"");if(P.test(k))I.s=isNaN(k)?null:k<0?-1:1;else{if(!R&&(k=k.replace(m,function(J,ne,ue){return U=(ue=ue.toLowerCase())=="x"?16:ue=="b"?2:8,!F||F==U?ne:J}),F&&(U=F,k=k.replace(O,"$1").replace(T,"0.$1")),D!=k))return new L(k,U);if(L.DEBUG)throw Error(l+"Not a"+(F?" base "+F:"")+" number: "+D);I.s=null}I.c=I.e=null}}();function xe(m,O,T,P){var N,I,D,R,F,U,k,J=m.c,ne=S;if(J){e:{for(N=1,R=J[0];R>=10;R/=10,N++);if(I=O-N,I<0)I+=y,D=O,F=J[U=0],k=i(F/ne[N-D-1]%10);else if(U=a((I+1)/y),U>=J.length)if(P){for(;J.length<=U;J.push(0));F=k=0,N=1,I%=y,D=I-y+1}else break e;else{for(F=R=J[U],N=1;R>=10;R/=10,N++);I%=y,D=I-y+N,k=D<0?0:i(F/ne[N-D-1]%10)}if(P=P||O<0||J[U+1]!=null||(D<0?F:F%ne[N-D-1]),P=T<4?(k||P)&&(T==0||T==(m.s<0?3:2)):k>5||k==5&&(T==4||P||T==6&&(I>0?D>0?F/ne[N-D]:0:J[U-1])%10&1||T==(m.s<0?8:7)),O<1||!J[0])return J.length=0,P?(O-=m.e+1,J[0]=ne[(y-O%y)%y],m.e=-O||0):J[0]=m.e=0,m;if(I==0?(J.length=U,R=1,U--):(J.length=U+1,R=ne[y-I],J[U]=D>0?i(F/ne[N-D]%ne[D])*R:0),P)for(;;)if(U==0){for(I=1,D=J[0];D>=10;D/=10,I++);for(D=J[0]+=R,R=1;D>=10;D/=10,R++);I!=R&&(m.e++,J[0]==M&&(J[0]=1));break}else{if(J[U]+=R,J[U]!=M)break;J[U--]=0,R=1}for(I=J.length;J[--I]===0;J.pop());}m.e>A?m.c=m.e=null:m.e<w&&(m.c=[m.e=0])}return m}function ge(m){var O,T=m.e;return T===null?m.toString():(O=q(m.c),O=T<=d||T>=p?ce(O,T):oe(O,T,"0"),m.s<0?"-"+O:O)}return Y.absoluteValue=Y.abs=function(){var m=new L(this);return m.s<0&&(m.s=1),m},Y.comparedTo=function(m,O){return Q(this,new L(m,O))},Y.decimalPlaces=Y.dp=function(m,O){var T,P,N,I=this;if(m!=null)return X(m,0,z),O==null?O=c:X(O,0,8),xe(new L(I),m+I.e+1,O);if(!(T=I.c))return null;if(P=((N=T.length-1)-Z(this.e/y))*y,N=T[N])for(;N%10==0;N/=10,P--);return P<0&&(P=0),P},Y.dividedBy=Y.div=function(m,O){return K(this,new L(m,O),o,c)},Y.dividedToIntegerBy=Y.idiv=function(m,O){return K(this,new L(m,O),0,1)},Y.exponentiatedBy=Y.pow=function(m,O){var T,P,N,I,D,R,F,U,k,J=this;if(m=new L(m),m.c&&!m.isInteger())throw Error(l+"Exponent not an integer: "+ge(m));if(O!=null&&(O=new L(O)),R=m.e>14,!J.c||!J.c[0]||J.c[0]==1&&!J.e&&J.c.length==1||!m.c||!m.c[0])return k=new L(Math.pow(+ge(J),R?m.s*(2-pe(m)):+ge(m))),O?k.mod(O):k;if(F=m.s<0,O){if(O.c?!O.c[0]:!O.s)return new L(NaN);P=!F&&J.isInteger()&&O.isInteger(),P&&(J=J.mod(O))}else{if(m.e>9&&(J.e>0||J.e<-1||(J.e==0?J.c[0]>1||R&&J.c[1]>=24e7:J.c[0]<8e13||R&&J.c[0]<=9999975e7)))return I=J.s<0&&pe(m)?-0:0,J.e>-1&&(I=1/I),new L(F?1/I:I);u&&(I=a(u/y+2))}for(R?(T=new L(.5),F&&(m.s=1),U=pe(m)):(N=Math.abs(+ge(m)),U=N%2),k=new L(E);;){if(U){if(k=k.times(J),!k.c)break;I?k.c.length>I&&(k.c.length=I):P&&(k=k.mod(O))}if(N){if(N=i(N/2),N===0)break;U=N%2}else if(m=m.times(T),xe(m,m.e+1,1),m.e>14)U=pe(m);else{if(N=+ge(m),N===0)break;U=N%2}J=J.times(J),I?J.c&&J.c.length>I&&(J.c.length=I):P&&(J=J.mod(O))}return P?k:(F&&(k=E.div(k)),O?k.mod(O):I?xe(k,u,c,D):k)},Y.integerValue=function(m){var O=new L(this);return m==null?m=c:X(m,0,8),xe(O,O.e+1,m)},Y.isEqualTo=Y.eq=function(m,O){return Q(this,new L(m,O))===0},Y.isFinite=function(){return!!this.c},Y.isGreaterThan=Y.gt=function(m,O){return Q(this,new L(m,O))>0},Y.isGreaterThanOrEqualTo=Y.gte=function(m,O){return(O=Q(this,new L(m,O)))===1||O===0},Y.isInteger=function(){return!!this.c&&Z(this.e/y)>this.c.length-2},Y.isLessThan=Y.lt=function(m,O){return Q(this,new L(m,O))<0},Y.isLessThanOrEqualTo=Y.lte=function(m,O){return(O=Q(this,new L(m,O)))===-1||O===0},Y.isNaN=function(){return!this.s},Y.isNegative=function(){return this.s<0},Y.isPositive=function(){return this.s>0},Y.isZero=function(){return!!this.c&&this.c[0]==0},Y.minus=function(m,O){var T,P,N,I,D=this,R=D.s;if(m=new L(m,O),O=m.s,!R||!O)return new L(NaN);if(R!=O)return m.s=-O,D.plus(m);var F=D.e/y,U=m.e/y,k=D.c,J=m.c;if(!F||!U){if(!k||!J)return k?(m.s=-O,m):new L(J?D:NaN);if(!k[0]||!J[0])return J[0]?(m.s=-O,m):new L(k[0]?D:c==3?-0:0)}if(F=Z(F),U=Z(U),k=k.slice(),R=F-U){for((I=R<0)?(R=-R,N=k):(U=F,N=J),N.reverse(),O=R;O--;N.push(0));N.reverse()}else for(P=(I=(R=k.length)<(O=J.length))?R:O,R=O=0;O<P;O++)if(k[O]!=J[O]){I=k[O]<J[O];break}if(I&&(N=k,k=J,J=N,m.s=-m.s),O=(P=J.length)-(T=k.length),O>0)for(;O--;k[T++]=0);for(O=M-1;P>R;){if(k[--P]<J[P]){for(T=P;T&&!k[--T];k[T]=O);--k[T],k[P]+=M}k[P]-=J[P]}for(;k[0]==0;k.splice(0,1),--U);return k[0]?be(m,k,U):(m.s=c==3?-1:1,m.c=[m.e=0],m)},Y.modulo=Y.mod=function(m,O){var T,P,N=this;return m=new L(m,O),!N.c||!m.s||m.c&&!m.c[0]?new L(NaN):!m.c||N.c&&!N.c[0]?new L(N):(b==9?(P=m.s,m.s=1,T=K(N,m,0,3),m.s=P,T.s*=P):T=K(N,m,0,b),m=N.minus(T.times(m)),!m.c[0]&&b==1&&(m.s=N.s),m)},Y.multipliedBy=Y.times=function(m,O){var T,P,N,I,D,R,F,U,k,J,ne,ue,fe,de,_e,he=this,le=he.c,Te=(m=new L(m,O)).c;if(!le||!Te||!le[0]||!Te[0])return!he.s||!m.s||le&&!le[0]&&!Te||Te&&!Te[0]&&!le?m.c=m.e=m.s=null:(m.s*=he.s,!le||!Te?m.c=m.e=null:(m.c=[0],m.e=0)),m;for(P=Z(he.e/y)+Z(m.e/y),m.s*=he.s,F=le.length,J=Te.length,F<J&&(fe=le,le=Te,Te=fe,N=F,F=J,J=N),N=F+J,fe=[];N--;fe.push(0));for(de=M,_e=B,N=J;--N>=0;){for(T=0,ne=Te[N]%_e,ue=Te[N]/_e|0,D=F,I=N+D;I>N;)U=le[--D]%_e,k=le[D]/_e|0,R=ue*U+k*ne,U=ne*U+R%_e*_e+fe[I]+T,T=(U/de|0)+(R/_e|0)+ue*k,fe[I--]=U%de;fe[I]=T}return T?++P:fe.splice(0,1),be(m,fe,P)},Y.negated=function(){var m=new L(this);return m.s=-m.s||null,m},Y.plus=function(m,O){var T,P=this,N=P.s;if(m=new L(m,O),O=m.s,!N||!O)return new L(NaN);if(N!=O)return m.s=-O,P.minus(m);var I=P.e/y,D=m.e/y,R=P.c,F=m.c;if(!I||!D){if(!R||!F)return new L(N/0);if(!R[0]||!F[0])return F[0]?m:new L(R[0]?P:N*0)}if(I=Z(I),D=Z(D),R=R.slice(),N=I-D){for(N>0?(D=I,T=F):(N=-N,T=R),T.reverse();N--;T.push(0));T.reverse()}for(N=R.length,O=F.length,N-O<0&&(T=F,F=R,R=T,O=N),N=0;O;)N=(R[--O]=R[O]+F[O]+N)/M|0,R[O]=M===R[O]?0:R[O]%M;return N&&(R=[N].concat(R),++D),be(m,R,D)},Y.precision=Y.sd=function(m,O){var T,P,N,I=this;if(m!=null&&m!==!!m)return X(m,1,z),O==null?O=c:X(O,0,8),xe(new L(I),m,O);if(!(T=I.c))return null;if(N=T.length-1,P=N*y+1,N=T[N]){for(;N%10==0;N/=10,P--);for(N=T[0];N>=10;N/=10,P++);}return m&&I.e+1>P&&(P=I.e+1),P},Y.shiftedBy=function(m){return X(m,-h,h),this.times("1e"+m)},Y.squareRoot=Y.sqrt=function(){var m,O,T,P,N,I=this,D=I.c,R=I.s,F=I.e,U=o+4,k=new L("0.5");if(R!==1||!D||!D[0])return new L(!R||R<0&&(!D||D[0])?NaN:D?I:1/0);if(R=Math.sqrt(+ge(I)),R==0||R==1/0?(O=q(D),(O.length+F)%2==0&&(O+="0"),R=Math.sqrt(+O),F=Z((F+1)/2)-(F<0||F%2),R==1/0?O="5e"+F:(O=R.toExponential(),O=O.slice(0,O.indexOf("e")+1)+F),T=new L(O)):T=new L(R+""),T.c[0]){for(F=T.e,R=F+U,R<3&&(R=0);;)if(N=T,T=k.times(N.plus(K(I,N,U,1))),q(N.c).slice(0,R)===(O=q(T.c)).slice(0,R))if(T.e<F&&--R,O=O.slice(R-3,R+1),O=="9999"||!P&&O=="4999"){if(!P&&(xe(N,N.e+o+2,0),N.times(N).eq(I))){T=N;break}U+=4,R+=4,P=1}else{(!+O||!+O.slice(1)&&O.charAt(0)=="5")&&(xe(T,T.e+o+2,1),m=!T.times(T).eq(I));break}}return xe(T,T.e+o+1,c,m)},Y.toExponential=function(m,O){return m!=null&&(X(m,0,z),m++),ie(this,m,O,1)},Y.toFixed=function(m,O){return m!=null&&(X(m,0,z),m=m+this.e+1),ie(this,m,O)},Y.toFormat=function(m,O,T){var P,N=this;if(T==null)m!=null&&O&&typeof O=="object"?(T=O,O=null):m&&typeof m=="object"?(T=m,m=O=null):T=_;else if(typeof T!="object")throw Error(l+"Argument not an object: "+T);if(P=N.toFixed(m,O),N.c){var I,D=P.split("."),R=+T.groupSize,F=+T.secondaryGroupSize,U=T.groupSeparator||"",k=D[0],J=D[1],ne=N.s<0,ue=ne?k.slice(1):k,fe=ue.length;if(F&&(I=R,R=F,F=I,fe-=I),R>0&&fe>0){for(I=fe%R||R,k=ue.substr(0,I);I<fe;I+=R)k+=U+ue.substr(I,R);F>0&&(k+=U+ue.slice(I)),ne&&(k="-"+k)}P=J?k+(T.decimalSeparator||"")+((F=+T.fractionGroupSize)?J.replace(new RegExp("\\d{"+F+"}\\B","g"),"$&"+(T.fractionGroupSeparator||"")):J):k}return(T.prefix||"")+P+(T.suffix||"")},Y.toFraction=function(m){var O,T,P,N,I,D,R,F,U,k,J,ne,ue=this,fe=ue.c;if(m!=null&&(R=new L(m),!R.isInteger()&&(R.c||R.s!==1)||R.lt(E)))throw Error(l+"Argument "+(R.isInteger()?"out of range: ":"not an integer: ")+ge(R));if(!fe)return new L(ue);for(O=new L(E),U=T=new L(E),P=F=new L(E),ne=q(fe),I=O.e=ne.length-ue.e-1,O.c[0]=S[(D=I%y)<0?y+D:D],m=!m||R.comparedTo(O)>0?I>0?O:U:R,D=A,A=1/0,R=new L(ne),F.c[0]=0;k=K(R,O,0,1),N=T.plus(k.times(P)),N.comparedTo(m)!=1;)T=P,P=N,U=F.plus(k.times(N=U)),F=N,O=R.minus(k.times(N=O)),R=N;return N=K(m.minus(T),P,0,1),F=F.plus(N.times(U)),T=T.plus(N.times(P)),F.s=U.s=ue.s,I=I*2,J=K(U,P,I,c).minus(ue).abs().comparedTo(K(F,T,I,c).minus(ue).abs())<1?[U,P]:[F,T],A=D,J},Y.toNumber=function(){return+ge(this)},Y.toPrecision=function(m,O){return m!=null&&X(m,1,z),ie(this,m,O,2)},Y.toString=function(m){var O,T=this,P=T.s,N=T.e;return N===null?P?(O="Infinity",P<0&&(O="-"+O)):O="NaN":(m==null?O=N<=d||N>=p?ce(q(T.c),N):oe(q(T.c),N,"0"):m===10&&te?(T=xe(new L(T),o+N+1,c),O=oe(q(T.c),T.e,"0")):(X(m,2,ee.length,"Base"),O=ae(oe(q(T.c),N,"0"),10,m,P,!0)),P<0&&T.c[0]&&(O="-"+O)),O},Y.valueOf=Y.toJSON=function(){return ge(this)},Y._isBigNumber=!0,V!=null&&L.set(V),L}function Z(V){var K=V|0;return V>0||V===K?K:K-1}function q(V){for(var K,ae,se=1,Y=V.length,E=V[0]+"";se<Y;){for(K=V[se++]+"",ae=y-K.length;ae--;K="0"+K);E+=K}for(Y=E.length;E.charCodeAt(--Y)===48;);return E.slice(0,Y+1||1)}function Q(V,K){var ae,se,Y=V.c,E=K.c,o=V.s,c=K.s,d=V.e,p=K.e;if(!o||!c)return null;if(ae=Y&&!Y[0],se=E&&!E[0],ae||se)return ae?se?0:-c:o;if(o!=c)return o;if(ae=o<0,se=d==p,!Y||!E)return se?0:!Y^ae?1:-1;if(!se)return d>p^ae?1:-1;for(c=(d=Y.length)<(p=E.length)?d:p,o=0;o<c;o++)if(Y[o]!=E[o])return Y[o]>E[o]^ae?1:-1;return d==p?0:d>p^ae?1:-1}function X(V,K,ae,se){if(V<K||V>ae||V!==i(V))throw Error(l+(se||"Argument")+(typeof V=="number"?V<K||V>ae?" out of range: ":" not an integer: ":" not a primitive number: ")+String(V))}function pe(V){var K=V.c.length-1;return Z(V.e/y)==K&&V.c[K]%2!=0}function ce(V,K){return(V.length>1?V.charAt(0)+"."+V.slice(1):V)+(K<0?"e":"e+")+K}function oe(V,K,ae){var se,Y;if(K<0){for(Y=ae+".";++K;Y+=ae);V=Y+V}else if(se=V.length,++K>se){for(Y=ae,K-=se;--K;Y+=ae);V+=Y}else K<se&&(V=V.slice(0,K)+"."+V.slice(K));return V}r=G(),r.default=r.BigNumber=r,e.exports?e.exports=r:(t||(t=typeof self<"u"&&self?self:window),t.BigNumber=r)})(Y1)})(Mu);var _u=Mu.exports;/*!
|
|
132
|
-
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
133
|
-
*
|
|
134
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
135
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
136
|
-
* in the Software without restriction, including without limitation the rights
|
|
137
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
138
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
139
|
-
* furnished to do so, subject to the following conditions:
|
|
140
|
-
*
|
|
141
|
-
* The above copyright notice and this permission notice shall be included in
|
|
142
|
-
* all copies or substantial portions of the Software.
|
|
143
|
-
*
|
|
144
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
145
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
146
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
147
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
148
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
149
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
150
|
-
* SOFTWARE.
|
|
151
|
-
*/const st=Yi(),vy=Vi(),by=Ki,xy=_u,Je={trillion:Math.pow(10,12),billion:Math.pow(10,9),million:Math.pow(10,6),thousand:Math.pow(10,3)},Or={totalLength:0,characteristic:0,forceAverage:!1,average:!1,mantissa:-1,optionalMantissa:!0,thousandSeparated:!1,spaceSeparated:!1,negative:"sign",forceSign:!1,roundingFunction:Math.round,spaceSeparatedAbbreviation:!1},{binarySuffixes:Eu,decimalSuffixes:Gr}=st.currentBytes(),Xi={general:{scale:1024,suffixes:Gr,marker:"bd"},binary:{scale:1024,suffixes:Eu,marker:"b"},decimal:{scale:1e3,suffixes:Gr,marker:"d"}};function My(e,t={},r){if(typeof t=="string"&&(t=by.parseFormat(t)),!vy.validateFormat(t))return"ERROR: invalid format";let a=t.prefix||"",i=t.postfix||"",l=_y(e,t,r);return l=qy(l,a),l=zy(l,i),l}function _y(e,t,r){switch(t.output){case"currency":return t=zt(t,st.currentCurrencyDefaultFormat()),Ry(e,t,st);case"percent":return t=zt(t,st.currentPercentageDefaultFormat()),Cy(e,t,st,r);case"byte":return t=zt(t,st.currentByteDefaultFormat()),Ay(e,t,st,r);case"time":return t=zt(t,st.currentTimeDefaultFormat()),$y(e);case"ordinal":return t=zt(t,st.currentOrdinalDefaultFormat()),Ty(e,t,st);case"number":default:return Ar({instance:e,providedFormat:t,numbro:r})}}function Ey(e){let t=Xi.decimal;return yn(e._value,t.suffixes,t.scale).suffix}function Sy(e){let t=Xi.binary;return yn(e._value,t.suffixes,t.scale).suffix}function Oy(e){let t=Xi.general;return yn(e._value,t.suffixes,t.scale).suffix}function yn(e,t,r){let n=t[0],a=Math.abs(e);if(a>=r){for(let i=1;i<t.length;++i){let l=Math.pow(r,i),v=Math.pow(r,i+1);if(a>=l&&a<v){n=t[i],e=e/l;break}}n===t[0]&&(e=e/Math.pow(r,t.length-1),n=t[t.length-1])}return{value:e,suffix:n}}function Ay(e,t,r,n){let a=t.base||"binary",i=Object.assign({},Or,t);const{binarySuffixes:l,decimalSuffixes:v}=r.currentBytes();let y={general:{scale:1024,suffixes:v||Gr,marker:"bd"},binary:{scale:1024,suffixes:l||Eu,marker:"b"},decimal:{scale:1e3,suffixes:v||Gr,marker:"d"}}[a],{value:h,suffix:S}=yn(e._value,y.suffixes,y.scale);return`${Ar({instance:n(h),providedFormat:t,state:r,defaults:r.currentByteDefaultFormat()})}${i.spaceSeparated?" ":""}${S}`}function Ty(e,t,r){let n=r.currentOrdinal(),a=Object.assign({},Or,t),i=Ar({instance:e,providedFormat:t,state:r}),l=n(e._value);return`${i}${a.spaceSeparated?" ":""}${l}`}function $y(e){let t=Math.floor(e._value/60/60),r=Math.floor((e._value-t*60*60)/60),n=Math.round(e._value-t*60*60-r*60);return`${t}:${r<10?"0":""}${r}:${n<10?"0":""}${n}`}function Cy(e,t,r,n){let a=t.prefixSymbol,i=Ar({instance:n(e._value*100),providedFormat:t,state:r}),l=Object.assign({},Or,t);return a?`%${l.spaceSeparated?" ":""}${i}`:`${i}${l.spaceSeparated?" ":""}%`}function Ry(e,t,r){const n=r.currentCurrency();let a=Object.assign({},t),i=Object.assign({},Or,a),l,v="",M=!!i.totalLength||!!i.forceAverage||i.average,y=a.currencyPosition||n.position,h=a.currencySymbol||n.symbol;const S=i.spaceSeparatedCurrency!==void 0?i.spaceSeparatedCurrency:i.spaceSeparated;a.lowPrecision===void 0&&(a.lowPrecision=!1),S&&(v=" "),y==="infix"&&(l=v+h+v);let B=Ar({instance:e,providedFormat:a,state:r,decimalSeparator:l});return y==="prefix"&&(e._value<0&&i.negative==="sign"?B=`-${v}${h}${B.slice(1)}`:e._value>0&&i.forceSign?B=`+${v}${h}${B.slice(1)}`:B=h+v+B),(!y||y==="postfix")&&(v=!i.spaceSeparatedAbbreviation&&M?"":v,B=B+v+h),B}function By({value:e,forceAverage:t,lowPrecision:r=!0,abbreviations:n,spaceSeparated:a=!1,totalLength:i=0,roundingFunction:l=Math.round}){let v="",M=Math.abs(e),y=-1;if(t&&n[t]&&Je[t]?(v=n[t],e=e/Je[t]):M>=Je.trillion||r&&l(M/Je.trillion)===1?(v=n.trillion,e=e/Je.trillion):M<Je.trillion&&M>=Je.billion||r&&l(M/Je.billion)===1?(v=n.billion,e=e/Je.billion):M<Je.billion&&M>=Je.million||r&&l(M/Je.million)===1?(v=n.million,e=e/Je.million):(M<Je.million&&M>=Je.thousand||r&&l(M/Je.thousand)===1)&&(v=n.thousand,e=e/Je.thousand),v&&(v=(a?" ":"")+v),i){let S=e<0,B=e.toString().split(".")[0],z=S?B.length-1:B.length;y=Math.max(i-z,0)}return{value:e,abbreviation:v,mantissaPrecision:y}}function Fy({value:e,characteristicPrecision:t}){let[r,n]=e.toExponential().split("e"),a=+r;if(!t)return{value:a,abbreviation:`e${n}`};let i=1;return i<t&&(a=a*Math.pow(10,t-i),n=+n-(t-i),n=n>=0?`+${n}`:n),{value:a,abbreviation:`e${n}`}}function $r(e){let t="";for(let r=0;r<e;r++)t+="0";return t}function Iy(e,t){let r=e.toString(),[n,a]=r.split("e"),[i,l=""]=n.split(".");if(+a>0)r=i+l+$r(a-l.length);else{let v=".";+i<0?v=`-0${v}`:v=`0${v}`;let M=($r(-a-1)+Math.abs(i)+l).substr(0,t);M.length<t&&(M+=$r(t-M.length)),r=v+M}return+a>0&&t>0&&(r+=`.${$r(t)}`),r}function Ny(e,t,r=Math.round){return e.toString().indexOf("e")!==-1?Iy(e,t):new xy(r(+`${e}e+${t}`)/Math.pow(10,t)).toFixed(t)}function Py(e,t,r,n,a,i){if(n===-1)return e;let l=Ny(t,n,i),[v,M=""]=l.toString().split(".");if(M.match(/^0+$/)&&(r||a))return v;let y=M.match(/0+$/);return a&&y?`${v}.${M.toString().slice(0,y.index)}`:l.toString()}function Ly(e,t,r,n){let a=e,[i,l]=a.toString().split(".");if(i.match(/^-?0$/)&&r)return l?`${i.replace("0","")}.${l}`:i.replace("0","");const v=t<0&&i.indexOf("-")===0;if(v&&(i=i.slice(1),a=a.slice(1)),i.length<n){let M=n-i.length;for(let y=0;y<M;y++)a=`0${a}`}return v&&(a=`-${a}`),a.toString()}function Uy(e,t){let r=[],n=0;for(let a=e;a>0;a--)n===t&&(r.unshift(a),n=0),n++;return r}function Dy(e,t,r,n,a){let i=n.currentDelimiters(),l=i.thousands;a=a||i.decimal;let v=i.thousandsSize||3,M=e.toString(),y=M.split(".")[0],h=M.split(".")[1];const S=t<0&&y.indexOf("-")===0;return r&&(S&&(y=y.slice(1)),Uy(y.length,v).forEach((z,G)=>{y=y.slice(0,z+G)+l+y.slice(z+G)}),S&&(y=`-${y}`)),h?M=y+a+h:M=y,M}function jy(e,t){return e+t}function ky(e,t,r){return t===0?e:+e==0?e.replace("-",""):t>0?`+${e}`:r==="sign"?e:`(${e.replace("-","")})`}function qy(e,t){return t+e}function zy(e,t){return e+t}function Ar({instance:e,providedFormat:t,state:r=st,decimalSeparator:n,defaults:a=r.currentDefaults()}){let i=e._value;if(i===0&&r.hasZeroFormat())return r.getZeroFormat();if(!isFinite(i))return i.toString();let l=Object.assign({},Or,a,t),v=l.totalLength,M=v?0:l.characteristic,y=l.optionalCharacteristic,h=l.forceAverage,S=l.lowPrecision,B=!!v||!!h||l.average,z=v?-1:B&&t.mantissa===void 0?0:l.mantissa,G=v?!1:t.optionalMantissa===void 0?z===-1:l.optionalMantissa,Z=l.trimMantissa,q=l.thousandSeparated,Q=l.spaceSeparated,X=l.negative,pe=l.forceSign,ce=l.exponential,oe=l.roundingFunction,V="";if(B){let ae=By({value:i,forceAverage:h,lowPrecision:S,abbreviations:r.currentAbbreviations(),spaceSeparated:Q,roundingFunction:oe,totalLength:v});i=ae.value,V+=ae.abbreviation,v&&(z=ae.mantissaPrecision)}if(ce){let ae=Fy({value:i,characteristicPrecision:M});i=ae.value,V=ae.abbreviation+V}let K=Py(i.toString(),i,G,z,Z,oe);return K=Ly(K,i,y,M),K=Dy(K,i,q,r,n),(B||ce)&&(K=jy(K,V)),(pe||i<0)&&(K=ky(K,i,X)),K}function zt(e,t){if(!e)return t;let r=Object.keys(e);return r.length===1&&r[0]==="output"?t:e}var Hy=e=>({format:(...t)=>My(...t,e),getByteUnit:(...t)=>Oy(...t,e),getBinaryByteUnit:(...t)=>Sy(...t,e),getDecimalByteUnit:(...t)=>Ey(...t,e),formatOrDefault:zt});/*!
|
|
152
|
-
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
153
|
-
*
|
|
154
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
155
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
156
|
-
* in the Software without restriction, including without limitation the rights
|
|
157
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
158
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
159
|
-
* furnished to do so, subject to the following conditions:
|
|
160
|
-
*
|
|
161
|
-
* The above copyright notice and this permission notice shall be included in
|
|
162
|
-
* all copies or substantial portions of the Software.
|
|
163
|
-
*
|
|
164
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
165
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
166
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
167
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
168
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
169
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
170
|
-
* SOFTWARE.
|
|
171
|
-
*/const vt=_u;function Gy(e,t,r){let n=new vt(e._value),a=t;return r.isNumbro(t)&&(a=t._value),a=new vt(a),e._value=n.plus(a).toNumber(),e}function Su(e,t,r){let n=new vt(e._value),a=t;return r.isNumbro(t)&&(a=t._value),a=new vt(a),e._value=n.minus(a).toNumber(),e}function Wy(e,t,r){let n=new vt(e._value),a=t;return r.isNumbro(t)&&(a=t._value),a=new vt(a),e._value=n.times(a).toNumber(),e}function Zy(e,t,r){let n=new vt(e._value),a=t;return r.isNumbro(t)&&(a=t._value),a=new vt(a),e._value=n.dividedBy(a).toNumber(),e}function Jy(e,t,r){let n=t;return r.isNumbro(t)&&(n=t._value),e._value=n,e}function Vy(e,t,r){let n=r(e._value);return Su(n,t,r),Math.abs(n._value)}var Ky=e=>({add:(t,r)=>Gy(t,r,e),subtract:(t,r)=>Su(t,r,e),multiply:(t,r)=>Wy(t,r,e),divide:(t,r)=>Zy(t,r,e),set:(t,r)=>Jy(t,r,e),difference:(t,r)=>Vy(t,r,e),BigNumber:vt});/*!
|
|
172
|
-
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
173
|
-
*
|
|
174
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
175
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
176
|
-
* in the Software without restriction, including without limitation the rights
|
|
177
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
178
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
179
|
-
* furnished to do so, subject to the following conditions:
|
|
180
|
-
*
|
|
181
|
-
* The above copyright notice and this permission notice shall be included in
|
|
182
|
-
* all copies or substantial portions of the Software.
|
|
183
|
-
*
|
|
184
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
185
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
186
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
187
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
188
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
189
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
190
|
-
* SOFTWARE.
|
|
191
|
-
*/const Yy="2.5.0",yt=Yi(),Xy=Vi(),Qy=wy(Ae),ew=xu();let At=Hy(Ae),Tt=Ky(Ae);const tw=Ki;class Ou{constructor(t){this._value=t}clone(){return Ae(this._value)}format(t={}){return At.format(this,t)}formatCurrency(t){return typeof t=="string"&&(t=tw.parseFormat(t)),t=At.formatOrDefault(t,yt.currentCurrencyDefaultFormat()),t.output="currency",At.format(this,t)}formatTime(t={}){return t.output="time",At.format(this,t)}binaryByteUnits(){return At.getBinaryByteUnit(this)}decimalByteUnits(){return At.getDecimalByteUnit(this)}byteUnits(){return At.getByteUnit(this)}difference(t){return Tt.difference(this,t)}add(t){return Tt.add(this,t)}subtract(t){return Tt.subtract(this,t)}multiply(t){return Tt.multiply(this,t)}divide(t){return Tt.divide(this,t)}set(t){return Tt.set(this,Au(t))}value(){return this._value}valueOf(){return this._value}}function Au(e){let t=e;return Ae.isNumbro(e)?t=e._value:typeof e=="string"?t=Ae.unformat(e):isNaN(e)&&(t=NaN),t}function Ae(e){return new Ou(Au(e))}Ae.version=Yy;Ae.isNumbro=function(e){return e instanceof Ou};Ae.language=yt.currentLanguage;Ae.registerLanguage=yt.registerLanguage;Ae.setLanguage=yt.setLanguage;Ae.languages=yt.languages;Ae.languageData=yt.languageData;Ae.zeroFormat=yt.setZeroFormat;Ae.defaultFormat=yt.currentDefaults;Ae.setDefaults=yt.setDefaults;Ae.defaultCurrencyFormat=yt.currentCurrencyDefaultFormat;Ae.validate=Xy.validate;Ae.loadLanguagesInNode=Qy.loadLanguagesInNode;Ae.unformat=ew.unformat;Ae.BigNumber=Tt.BigNumber;var rw=Ae,Dv=X1(rw),ls=Li(function(e,t,r,n){Dt(t,ir(t),e,n)}),nw="[object DOMException]",iw="[object Error]";function Tu(e){if(!Xe(e))return!1;var t=ut(e);return t==iw||t==nw||typeof e.message=="string"&&typeof e.name=="string"&&!Qr(e)}var ow=ft(function(e,t){try{return Pi(e,void 0,t)}catch(r){return Tu(r)?r:new Error(r)}});function $u(e,t){return gt(t,function(r){return e[r]})}var Cu=Object.prototype,sw=Cu.hasOwnProperty;function cs(e,t,r,n){return e===void 0||tr(e,Cu[r])&&!sw.call(n,r)?t:e}var aw={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function uw(e){return"\\"+aw[e]}var Ru=/<%=([\s\S]+?)%>/g,fw={"&":"&","<":"<",">":">",'"':""","'":"'"},lw=su(fw),Bu=/[&<>"']/g,cw=RegExp(Bu.source);function hw(e){return e=tt(e),e&&cw.test(e)?e.replace(Bu,lw):e}var dw=/<%-([\s\S]+?)%>/g,pw=/<%([\s\S]+?)%>/g,hs={escape:dw,evaluate:pw,interpolate:Ru,variable:"",imports:{_:{escape:hw}}},gw="Invalid `variable` option passed into `_.template`",mw=/\b__p \+= '';/g,yw=/\b(__p \+=) '' \+/g,ww=/(__e\(.*?\)|\b__t\)) \+\n'';/g,vw=/[()=,{}\[\]\/\s]/,bw=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Cr=/($^)/,xw=/['\n\r\u2028\u2029\\]/g,Mw=Object.prototype,ds=Mw.hasOwnProperty;function jv(e,t,r){var n=hs.imports._.templateSettings||hs;e=tt(e),t=ls({},t,n,cs);var a=ls({},t.imports,n.imports,cs),i=St(a),l=$u(a,i),v,M,y=0,h=t.interpolate||Cr,S="__p += '",B=RegExp((t.escape||Cr).source+"|"+h.source+"|"+(h===Ru?bw:Cr).source+"|"+(t.evaluate||Cr).source+"|$","g"),z=ds.call(t,"sourceURL")?"//# sourceURL="+(t.sourceURL+"").replace(/\s/g," ")+`
|
|
192
|
-
`:"";e.replace(B,function(q,Q,X,pe,ce,oe){return X||(X=pe),S+=e.slice(y,oe).replace(xw,uw),Q&&(v=!0,S+=`' +
|
|
193
|
-
__e(`+Q+`) +
|
|
194
|
-
'`),ce&&(M=!0,S+=`';
|
|
195
|
-
`+ce+`;
|
|
196
|
-
__p += '`),X&&(S+=`' +
|
|
197
|
-
((__t = (`+X+`)) == null ? '' : __t) +
|
|
198
|
-
'`),y=oe+q.length,q}),S+=`';
|
|
199
|
-
`;var G=ds.call(t,"variable")&&t.variable;if(!G)S=`with (obj) {
|
|
200
|
-
`+S+`
|
|
201
|
-
}
|
|
202
|
-
`;else if(vw.test(G))throw new Error(gw);S=(M?S.replace(mw,""):S).replace(yw,"$1").replace(ww,"$1;"),S="function("+(G||"obj")+`) {
|
|
203
|
-
`+(G?"":`obj || (obj = {});
|
|
204
|
-
`)+"var __t, __p = ''"+(v?", __e = _.escape":"")+(M?`, __j = Array.prototype.join;
|
|
205
|
-
function print() { __p += __j.call(arguments, '') }
|
|
206
|
-
`:`;
|
|
207
|
-
`)+S+`return __p
|
|
208
|
-
}`;var Z=ow(function(){return Function(i,z+"return "+S).apply(void 0,l)});if(Z.source=S,Tu(Z))throw Z;return Z}var _w=ot.isFinite;function kv(e){return typeof e=="number"&&_w(e)}var Ew=1,Sw=4;function Ow(e){return cr(e,Ew|Sw)}const qv=Object.freeze(Object.defineProperty({__proto__:null,default:Ow},Symbol.toStringTag,{value:"Module"}));function zv(e){return e===void 0}function Fu(e,t,r,n,a,i){return Ze(e)&&Ze(t)&&(i.set(t,e),en(e,t,void 0,Fu,i),i.delete(t)),e}var Aw=Li(function(e,t,r,n){en(e,t,r,n)}),Hv=ft(function(e){return e.push(void 0,Fu),Pi(Aw,void 0,e)}),xi={exports:{}},Yn,ps;function Tw(){if(ps)return Yn;ps=1;var e=1e3,t=e*60,r=t*60,n=r*24,a=n*7,i=n*365.25;Yn=function(h,S){S=S||{};var B=typeof h;if(B==="string"&&h.length>0)return l(h);if(B==="number"&&isFinite(h))return S.long?M(h):v(h);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(h))};function l(h){if(h=String(h),!(h.length>100)){var S=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(h);if(S){var B=parseFloat(S[1]),z=(S[2]||"ms").toLowerCase();switch(z){case"years":case"year":case"yrs":case"yr":case"y":return B*i;case"weeks":case"week":case"w":return B*a;case"days":case"day":case"d":return B*n;case"hours":case"hour":case"hrs":case"hr":case"h":return B*r;case"minutes":case"minute":case"mins":case"min":case"m":return B*t;case"seconds":case"second":case"secs":case"sec":case"s":return B*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return B;default:return}}}}function v(h){var S=Math.abs(h);return S>=n?Math.round(h/n)+"d":S>=r?Math.round(h/r)+"h":S>=t?Math.round(h/t)+"m":S>=e?Math.round(h/e)+"s":h+"ms"}function M(h){var S=Math.abs(h);return S>=n?y(h,S,n,"day"):S>=r?y(h,S,r,"hour"):S>=t?y(h,S,t,"minute"):S>=e?y(h,S,e,"second"):h+" ms"}function y(h,S,B,z){var G=S>=B*1.5;return Math.round(h/B)+" "+z+(G?"s":"")}return Yn}function $w(e){r.debug=r,r.default=r,r.coerce=M,r.disable=l,r.enable=a,r.enabled=v,r.humanize=Tw(),r.destroy=y,Object.keys(e).forEach(h=>{r[h]=e[h]}),r.names=[],r.skips=[],r.formatters={};function t(h){let S=0;for(let B=0;B<h.length;B++)S=(S<<5)-S+h.charCodeAt(B),S|=0;return r.colors[Math.abs(S)%r.colors.length]}r.selectColor=t;function r(h){let S,B=null,z,G;function Z(...q){if(!Z.enabled)return;const Q=Z,X=Number(new Date),pe=X-(S||X);Q.diff=pe,Q.prev=S,Q.curr=X,S=X,q[0]=r.coerce(q[0]),typeof q[0]!="string"&&q.unshift("%O");let ce=0;q[0]=q[0].replace(/%([a-zA-Z%])/g,(V,K)=>{if(V==="%%")return"%";ce++;const ae=r.formatters[K];if(typeof ae=="function"){const se=q[ce];V=ae.call(Q,se),q.splice(ce,1),ce--}return V}),r.formatArgs.call(Q,q),(Q.log||r.log).apply(Q,q)}return Z.namespace=h,Z.useColors=r.useColors(),Z.color=r.selectColor(h),Z.extend=n,Z.destroy=r.destroy,Object.defineProperty(Z,"enabled",{enumerable:!0,configurable:!1,get:()=>B!==null?B:(z!==r.namespaces&&(z=r.namespaces,G=r.enabled(h)),G),set:q=>{B=q}}),typeof r.init=="function"&&r.init(Z),Z}function n(h,S){const B=r(this.namespace+(typeof S>"u"?":":S)+h);return B.log=this.log,B}function a(h){r.save(h),r.namespaces=h,r.names=[],r.skips=[];const S=(typeof h=="string"?h:"").trim().replace(" ",",").split(",").filter(Boolean);for(const B of S)B[0]==="-"?r.skips.push(B.slice(1)):r.names.push(B)}function i(h,S){let B=0,z=0,G=-1,Z=0;for(;B<h.length;)if(z<S.length&&(S[z]===h[B]||S[z]==="*"))S[z]==="*"?(G=z,Z=B,z++):(B++,z++);else if(G!==-1)z=G+1,Z++,B=Z;else return!1;for(;z<S.length&&S[z]==="*";)z++;return z===S.length}function l(){const h=[...r.names,...r.skips.map(S=>"-"+S)].join(",");return r.enable(""),h}function v(h){for(const S of r.skips)if(i(h,S))return!1;for(const S of r.names)if(i(h,S))return!0;return!1}function M(h){return h instanceof Error?h.stack||h.message:h}function y(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return r.enable(r.load()),r}var Cw=$w;(function(e,t){var r={};t.formatArgs=a,t.save=i,t.load=l,t.useColors=n,t.storage=v(),t.destroy=(()=>{let y=!1;return()=>{y||(y=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function n(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let y;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(y=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(y[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function a(y){if(y[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+y[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const h="color: "+this.color;y.splice(1,0,h,"color: inherit");let S=0,B=0;y[0].replace(/%[a-zA-Z%]/g,z=>{z!=="%%"&&(S++,z==="%c"&&(B=S))}),y.splice(B,0,h)}t.log=console.debug||console.log||(()=>{});function i(y){try{y?t.storage.setItem("debug",y):t.storage.removeItem("debug")}catch{}}function l(){let y;try{y=t.storage.getItem("debug")}catch{}return!y&&typeof qr<"u"&&"env"in qr&&(y=r.DEBUG),y}function v(){try{return localStorage}catch{}}e.exports=Cw(t);const{formatters:M}=e.exports;M.j=function(y){try{return JSON.stringify(y)}catch(h){return"[UnexpectedJSONParseError]: "+h.message}}})(xi,xi.exports);var Rw=xi.exports;const Gv=ys(Rw);function Bw(e,t){for(var r=-1,n=e.length;++r<n&&rn(t,e[r],0)>-1;);return r}function Fw(e,t,r){if(e=tt(e),e&&(r||t===void 0))return Ns(e);if(!e||!(t=yr(t)))return e;var n=Jt(e),a=Jt(t),i=Bw(n,a),l=bu(n,a)+1;return Wr(n,i,l).join("")}const Wv=Object.freeze(Object.defineProperty({__proto__:null,default:Fw},Symbol.toStringTag,{value:"Module"}));var Iw=Math.min;function Nw(e,t,r){for(var n=Ui,a=e[0].length,i=e.length,l=i,v=Array(i),M=1/0,y=[];l--;){var h=e[l];l&&t&&(h=gt(h,vr(t))),M=Iw(h.length,M),v[l]=a>=120&&h.length>=120?new It(l&&h):void 0}h=e[0];var S=-1,B=v[0];e:for(;++S<a&&y.length<M;){var z=h[S],G=z;if(z=z!==0?z:0,!(B?pr(B,G):n(y,G))){for(l=i;--l;){var Z=v[l];if(!(Z?pr(Z,G):n(e[l],G)))continue e}B&&B.push(G),y.push(z)}}return y}function Pw(e){return Nt(e)?e:[]}var Zv=ft(function(e){var t=gt(e,Pw);return t.length&&t[0]===e[0]?Nw(t):[]}),Jv=ft(function(e){var t=tn(e);return Nt(t)&&(t=void 0),Xt(_r(e,1,Nt,!0),mt(t))});function Qi(e,t){return e&&ta(e,t,St)}function Lw(e,t){return function(r,n){if(r==null)return r;if(!Et(r))return e(r,n);for(var a=r.length,i=-1,l=Object(r);++i<a&&n(l[i],i,l)!==!1;);return r}}var eo=Lw(Qi);function Iu(e,t){var r=-1,n=Et(e)?Array(e.length):[];return eo(e,function(a,i,l){n[++r]=t(a,i,l)}),n}function Uw(e,t){var r=e.length;for(e.sort(t);r--;)e[r]=e[r].value;return e}function Dw(e,t){if(e!==t){var r=e!==void 0,n=e===null,a=e===e,i=Zt(e),l=t!==void 0,v=t===null,M=t===t,y=Zt(t);if(!v&&!y&&!i&&e>t||i&&l&&M&&!v&&!y||n&&l&&M||!r&&M||!a)return 1;if(!n&&!i&&!y&&e<t||y&&r&&a&&!n&&!i||v&&r&&a||!l&&a||!M)return-1}return 0}function jw(e,t,r){for(var n=-1,a=e.criteria,i=t.criteria,l=a.length,v=r.length;++n<l;){var M=Dw(a[n],i[n]);if(M){if(n>=v)return M;var y=r[n];return M*(y=="desc"?-1:1)}}return e.index-t.index}function Nu(e,t,r){t.length?t=gt(t,function(i){return $e(i)?function(l){return br(l,i.length===1?i[0]:i)}:i}):t=[xr];var n=-1;t=gt(t,vr(mt));var a=Iu(e,function(i,l,v){var M=gt(t,function(y){return y(i)});return{criteria:M,index:++n,value:i}});return Uw(a,function(i,l){return jw(i,l,r)})}var Vv=ft(function(e,t){if(e==null)return[];var r=t.length;return r>1&&fi(e,t[0],t[1])?t=[]:r>2&&fi(t[0],t[1],t[2])&&(t=[t[0]]),Nu(e,_r(t),[])});function kw(e){return function(t,r,n){var a=Object(t);if(!Et(t)){var i=mt(r);t=St(t),r=function(v){return i(a[v],v,a)}}var l=e(t,r,n);return l>-1?a[i?t[l]:l]:void 0}}var qw=Math.max;function zw(e,t,r){var n=e==null?0:e.length;if(!n)return-1;var a=r==null?0:er(r);return a<0&&(a=qw(n+a,0)),ga(e,mt(t),a)}var Kv=kw(zw);function Hw(e){return e&&e.length?Xt(e):[]}const Yv=Object.freeze(Object.defineProperty({__proto__:null,default:Hw},Symbol.toStringTag,{value:"Module"}));var Gw=Math.ceil,Ww=Math.max;function Xv(e,t,r){t===void 0?t=1:t=Ww(er(t),0);var n=e==null?0:e.length;if(!n||t<1)return[];for(var a=0,i=0,l=Array(Gw(n/t));a<n;)l[i++]=Mi(e,a,a+=t);return l}function Zw(e,t,r,n){for(var a=-1,i=e==null?0:e.length;++a<i;){var l=e[a];t(n,l,r(l),e)}return n}function Jw(e,t,r,n){return eo(e,function(a,i,l){t(n,a,r(a),l)}),n}function Pu(e,t){return function(r,n){var a=$e(r)?Zw:Jw,i=t?t():{};return a(r,e,mt(n),i)}}var Vw=200;function Lu(e,t,r,n){var a=-1,i=Ui,l=!0,v=e.length,M=[],y=t.length;if(!v)return M;n?(i=ma,l=!1):t.length>=Vw&&(i=pr,l=!1,t=new It(t));e:for(;++a<v;){var h=e[a],S=h;if(h=n||h!==0?h:0,l&&S===S){for(var B=y;B--;)if(t[B]===S)continue e;M.push(h)}else i(t,S,n)||M.push(h)}return M}function Uu(e){return typeof e=="function"?e:xr}function Qv(e,t){var r=$e(e)?la:eo;return r(e,Uu(t))}function Kw(e,t){var r=$e(e)?gt:Iu;return r(e,mt(t))}const eb=Object.freeze(Object.defineProperty({__proto__:null,default:Kw},Symbol.toStringTag,{value:"Module"}));function Yw(e,t){return e&&Qi(e,Uu(t))}const tb=Object.freeze(Object.defineProperty({__proto__:null,default:Yw},Symbol.toStringTag,{value:"Module"}));function rb(e){return e==null?[]:$u(e,St(e))}function nb(e){return typeof e=="number"&&e==er(e)}var ib=Pu(function(e,t,r){Mr(e,r,t)});function ob(e,t){var r={};return t=mt(t),Qi(e,function(n,a,i){Mr(r,a,t(n,a,i))}),r}function Xw(e,t){var r=e.length;if(r)return t+=t<0?r:0,wr(t,r)?e[t]:void 0}function sb(e){return e=er(e),ft(function(t){return Xw(t,e)})}function ab(e,t,r,n){return e==null?[]:($e(t)||(t=t==null?[]:[t]),r=r,$e(r)||(r=r==null?[]:[r]),Nu(e,t,r))}var Qw=Pu(function(e,t,r){e[r?0:1].push(t)},function(){return[[],[]]});const ub=Object.freeze(Object.defineProperty({__proto__:null,default:Qw},Symbol.toStringTag,{value:"Module"}));var ev=Array.prototype,gs=ev.splice;function tv(e,t,r,n){var a=rn,i=-1,l=t.length,v=e;for(e===t&&(t=Ni(t));++i<l;)for(var M=0,y=t[i],h=y;(M=a(v,h,M))>-1;)v!==e&&gs.call(v,M,1),gs.call(e,M,1);return e}function rv(e,t){return e&&e.length&&t&&t.length?tv(e,t):e}var fb=ft(rv);function nv(e){return tt(e).toLowerCase()}const lb=Object.freeze(Object.defineProperty({__proto__:null,default:nv},Symbol.toStringTag,{value:"Module"}));function cb(e){return tt(e).toUpperCase()}var iv=ft(function(e){var t=tn(e);return t=typeof t=="function"?t:void 0,Xt(_r(e,1,Nt,!0),void 0,t)});const hb=Object.freeze(Object.defineProperty({__proto__:null,default:iv},Symbol.toStringTag,{value:"Module"}));var db=ft(function(e,t){return Nt(e)?Lu(e,t):[]});function ov(e,t,r){var n=e.length;if(n<2)return n?Xt(e[0]):[];for(var a=-1,i=Array(n);++a<n;)for(var l=e[a],v=-1;++v<n;)v!=a&&(i[a]=Lu(i[a]||l,e[v],t,r));return Xt(_r(i),t,r)}var pb=ft(function(e){var t=tn(e);return t=typeof t=="function"?t:void 0,ov(Us(e,Nt),void 0,t)});export{et as $,Sa as A,ka as B,Ze as C,Cd as D,Ce as E,Gv as F,Sg as G,Ym as H,zv as I,K1 as J,Fw as K,W0 as L,$e as M,pp as N,Rw as O,Ow as P,Zv as Q,Ei as R,Vv as S,Jv as T,Hv as U,Kv as V,_v as W,dv as X,kv as Y,ym as Z,nb as _,gv as a,ou as a0,Pd as a1,Fm as a2,lp as a3,gr as a4,jv as a5,Dv as a6,Uv as a7,G1 as a8,wv as a9,Tw as aA,J1 as aB,sb as aC,hb as aD,lv as aE,ub as aF,db as aG,ki as aH,rb as aI,fb as aJ,Qt as aK,Hw as aL,Qm as aM,ob as aN,cb as aO,ib as aP,Av as aa,cv as ab,Yv as ac,Ci as ad,dp as ae,hp as af,pb as ag,Xv as ah,ab as ai,_t as aj,Ep as ak,jt as al,Od as am,H1 as an,tb as ao,yv as ap,eb as aq,Qv as ar,Kw as as,qv as at,lb as au,Wv as av,vv as aw,mv as ax,Mv as ay,xv as az,G0 as b,Zf as c,fa as d,Js as e,Tv as f,$t as g,$v as h,Qr as i,Cv as j,uv as k,Bv as l,Fv as m,ea as n,hv as o,Iv as p,fv as q,Z1 as r,pv as s,bv as t,Rv as u,qr as v,Nv as w,Pv as x,Lv as y,up as z};
|