@abtnode/blocklet-services 1.17.3-beta-20251117-130331-b2ce7065 → 1.17.3-beta-20251118-061144-335cd35d
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/middlewares/verify-sig.js +14 -4
- package/api/services/auth/session.js +1 -1
- package/dist/assets/{AdapterDayjs-CSsn7VEX.js → AdapterDayjs-C8RSaHa0.js} +1 -1
- package/dist/assets/{Google-C-Ei9n0a.js → Google-BT1deiYa.js} +1 -1
- package/dist/assets/{access-control-D0vxk-Ay.js → access-control-Ddnn1J4F.js} +1 -1
- package/dist/assets/{actions-C0hEY5iN.js → actions-DqoNrBDK.js} +1 -1
- package/dist/assets/{add-component-core-7Qng0h9D.js → add-component-core-CZQBpP2b.js} +15 -15
- package/dist/assets/{add-resource-CS6pw4MD.js → add-resource-DUXwdNKB.js} +1 -1
- package/dist/assets/{addon-B5iZc5zB.js → addon-BgN564dt.js} +2 -2
- package/dist/assets/{advanced-QXzUapJI.js → advanced-D9d385yZ.js} +2 -2
- package/dist/assets/{aigne-CviOmneT.js → aigne-BK9oL3LS.js} +1 -1
- package/dist/assets/api-Btn0Tp3W.js +1 -0
- package/dist/assets/{appearance-CkaT_h9I.js → appearance-BLjBQMnd.js} +1 -1
- package/dist/assets/{arrow-down.svg-CDi8ywws.js → arrow-down.svg-Uxqj9Lez.js} +1 -1
- package/dist/assets/{audit-logs-D2VdqDH8.js → audit-logs-B9JmO_5U.js} +2 -2
- package/dist/assets/{authorize-BJr_whxb.js → authorize-BseET0LV.js} +1 -1
- package/dist/assets/{base-chart-BIsPFns6.js → base-chart-C-Raz4Q-.js} +1 -1
- package/dist/assets/{base32-cypJRki8.js → base32-DB18VP05.js} +1 -1
- package/dist/assets/bind-account-DWu2ZbPT.js +1 -0
- package/dist/assets/{branding-wKKLyZjs.js → branding-CPYtF-6a.js} +5 -5
- package/dist/assets/{branding-B7OUNmDC.js → branding-CmMCHUpY.js} +1 -1
- package/dist/assets/branding-DO47QT9Q.js +1 -0
- package/dist/assets/{bundle-avatar-Bft1K1fA.js → bundle-avatar-B9iCn_eS.js} +1 -1
- package/dist/assets/button-Bm6Z4hYZ.js +1 -0
- package/dist/assets/{click-to-copy-Kd1YilQn.js → click-to-copy-CzGMi2Jw.js} +1 -1
- package/dist/assets/{cloneDeep-3LGZOUYL.js → cloneDeep-C6qewg0C.js} +1 -1
- package/dist/assets/{collapse-Cc8IqFzl.js → collapse-BMy0GGFk.js} +1 -1
- package/dist/assets/{complete-FhkNOVEb.js → complete-DFxZ9mZl.js} +1 -1
- package/dist/assets/{component-YEpcN0PM.js → component-CmpGxsIf.js} +2 -2
- package/dist/assets/{config-ABsyghax.js → config-BMeucuGh.js} +1 -1
- package/dist/assets/{config-CfZ5vdbi.js → config-Bg2nv4Ct.js} +5 -5
- package/dist/assets/{config-BH7esTqa.js → config-Dj032f65.js} +1 -1
- package/dist/assets/{config-navigation-C2Cya4Ts.js → config-navigation-Wws6cRZg.js} +2 -2
- package/dist/assets/{config-space-k6_NPjjD.js → config-space-DVbXpK0p.js} +1 -1
- package/dist/assets/{confirm-BWGQvLZx.js → confirm-D_oS4C5N.js} +1 -1
- package/dist/assets/{connect-DohcTFiY.js → connect-BeM9KScn.js} +1 -1
- package/dist/assets/{connect-B1DJAH4e.js → connect-td4SUK2j.js} +1 -1
- package/dist/assets/connect-to-CK_BBgim.js +1 -0
- package/dist/assets/{content-layout-DJL10aJT.js → content-layout-oyz1EqNZ.js} +1 -1
- package/dist/assets/{create-passport-svg-aTWV-cva.js → create-passport-svg-B2TKOs7K.js} +1 -1
- package/dist/assets/createClass-BWB0NSWO.js +1 -0
- package/dist/assets/{dashboard-CuicHcGI.js → dashboard-B59Yx2EA.js} +2 -2
- package/dist/assets/{delete-confirm-DgdA8XR6.js → delete-confirm-DwFvaC6s.js} +1 -1
- package/dist/assets/{did-address-B_YPBiI4.js → did-address-C5FXzeAS.js} +1 -1
- package/dist/assets/domain-Dwzb8N6w.js +9 -0
- package/dist/assets/domain-action-card-CXIxAIsm.js +28 -0
- package/dist/assets/domains-0qUGORQe.js +1 -0
- package/dist/assets/{email-Bn3hPH00.js → email-CDYDF-7u.js} +1 -1
- package/dist/assets/{empty-spinner-Dqkt-AHg.js → empty-spinner-DYOzicuy.js} +1 -1
- package/dist/assets/engine-DXhw4g-J.js +1 -0
- package/dist/assets/{exchange-passport-3kSU2YMT.js → exchange-passport-CoU5Q4QA.js} +1 -1
- package/dist/assets/{form-MjxZB__D.js → form-I14bCwkb.js} +1 -1
- package/dist/assets/{form-text-input-BhAqaNAJ.js → form-text-input-B2T0zM2q.js} +1 -1
- package/dist/assets/{form-wrapper-SZH1FnTd.js → form-wrapper-C8oo_Fdy.js} +1 -1
- package/dist/assets/{fuel-C5ze4Cx7.js → fuel-DlHj4E28.js} +2 -2
- package/dist/assets/{gen-access-key-DKzPF3CU.js → gen-access-key-C54GFXyN.js} +1 -1
- package/dist/assets/{gen-simple-access-key-DTWz63Us.js → gen-simple-access-key-Cgw0gqQM.js} +1 -1
- package/dist/assets/get-safe-url-mKD2PdwN.js +1 -0
- package/dist/assets/{home-Bqn3mvqQ.js → home-D6Wx3vEh.js} +1 -1
- package/dist/assets/{iframe-CxCgprun.js → iframe-fHGifsex.js} +1 -1
- package/dist/assets/{index-BTBrooUu.js → index-B5fUUj0x.js} +1 -1
- package/dist/assets/{index-B_NniBaO.js → index-BJAIYdQp.js} +1 -1
- package/dist/assets/{index-BPKZON9n.js → index-BUTKGY5W.js} +7 -7
- package/dist/assets/{index-CdA2hOvz.js → index-Bdyv52fm.js} +1 -1
- package/dist/assets/{index-Clfe99AI.js → index-Bnv7SivR.js} +1 -1
- package/dist/assets/index-C1cWdBpP.js +120 -0
- package/dist/assets/{index-Dgk0_7wf.js → index-C5hO5d4a.js} +5 -5
- package/dist/assets/{index-C_odLDQq.js → index-CPlFvcnd.js} +13 -13
- package/dist/assets/index-CWemdG9k.js +7 -0
- package/dist/assets/{index-BwSFbkVa.js → index-ChNXm8zt.js} +1 -1
- package/dist/assets/{index-Bero09ZY.js → index-Cq3xfsOS.js} +126 -128
- package/dist/assets/{index-PwQ2doS3.js → index-CsRxFZuh.js} +1 -1
- package/dist/assets/{index-CPJ0NzQN.js → index-Ctf-FbXC.js} +8 -8
- package/dist/assets/{index-D9bRGwyn.js → index-D1c_Zlts.js} +1 -1
- package/dist/assets/{index-CAMegfIe.js → index-D5TNmV3K.js} +1 -1
- package/dist/assets/{index-DlPcYWy3.js → index-DTj7lG0j.js} +1 -1
- package/dist/assets/index-DVBwQI1h.js +6 -0
- package/dist/assets/{index-CNndXmIt.js → index-DVZm1sCw.js} +1 -1
- package/dist/assets/index-DW-pVTUA.js +1 -0
- package/dist/assets/{index-OAcqMuQz.js → index-Dd1dREUL.js} +2 -2
- package/dist/assets/{index-DKuLdlGi.js → index-De-Vgsb6.js} +1 -1
- package/dist/assets/index-DnKyoEA9.js +55 -0
- package/dist/assets/{index-VyLFO7R7.js → index-Mix8V5gr.js} +4 -4
- package/dist/assets/{index-WzLE1u-g.js → index-NomqB6Iy.js} +1 -1
- package/dist/assets/index-S8uuD-j6.js +29 -0
- package/dist/assets/{index-DUJ8lwX7.js → index-Tj1dVBHC.js} +10 -10
- package/dist/assets/index-WsuqXAUT.js +1 -0
- package/dist/assets/{index-BWszlIaS.js → index-ecxGjzSN.js} +2 -2
- package/dist/assets/{index-CI7en2_Z.js → index-j9zHEMDv.js} +2 -2
- package/dist/assets/{index-CWQp0vgv.js → index-nYsahwVM.js} +1 -1
- package/dist/assets/{index-DnJ0ECmd.js → index-phW48DJg.js} +1 -1
- package/dist/assets/{index-CXA6Z-BW.js → index-qme31tNJ.js} +5 -5
- package/dist/assets/{index-BCKWe_QR.js → index-sE6ANlb1.js} +1 -1
- package/dist/assets/{invitation-KNbJYWOf.js → invitation-p9I7Fs_7.js} +2 -2
- package/dist/assets/{invitations-Di31zIeh.js → invitations-BYrxk2XC.js} +1 -1
- package/dist/assets/{invite-Cq1bQR9j.js → invite-DptGZzm9.js} +1 -1
- package/dist/assets/{isURL-RzSyCgzI.js → isURL-DmCvTfVx.js} +2 -2
- package/dist/assets/{issue-passport-DnHvhKR-.js → issue-passport-CeJy-eGP.js} +1 -1
- package/dist/assets/{item-DVQ8TUdv.js → item-D48n_jCS.js} +1 -1
- package/dist/assets/{landing-page-BzztE6uh.js → landing-page-C-nrxraJ.js} +1 -1
- package/dist/assets/{launch-result-message-DZJ76kCs.js → launch-result-message-DWeUg9rM.js} +1 -1
- package/dist/assets/{layout-D4qCeoWb.js → layout-Bu-krdMM.js} +1 -1
- package/dist/assets/{list-BIECWQvk.js → list-Bm-Ae18B.js} +1 -1
- package/dist/assets/list-DTYfy5jI.js +103 -0
- package/dist/assets/{list-header-BNFs7V0b.js → list-header-BE2kzda_.js} +1 -1
- package/dist/assets/localization-BILR5z0M.js +1 -0
- package/dist/assets/{log-Uj0MJfkC.js → log-QCNL7fmO.js} +1 -1
- package/dist/assets/logger-LLowKmBx.js +1 -0
- package/dist/assets/login-CEAH4IAS.js +1 -0
- package/dist/assets/{login-oauth-callback-DB_9NuV_.js → login-oauth-callback-C2H6pyf0.js} +1 -1
- package/dist/assets/{logo-uploader-BaFwvDBA.js → logo-uploader-D9dqlBcG.js} +1 -1
- package/dist/assets/{lost-passport-C2SpMW8x.js → lost-passport-D-HNQTYL.js} +2 -2
- package/dist/assets/{observability-BjKI3tFt.js → observability-Zow0Sv-X.js} +1 -1
- package/dist/assets/{omit-BZEryV5a.js → omit-hhiOJGRf.js} +1 -1
- package/dist/assets/{open-window-CVU9iEs4.js → open-window-DgCyIQ1g.js} +1 -1
- package/dist/assets/{over-due-invoice-payment-CFwnz6K1.js → over-due-invoice-payment-DSTf3GE0.js} +1 -1
- package/dist/assets/{overview-DpyqbS6x.js → overview-ClqTYGzr.js} +2 -2
- package/dist/assets/{page-header-xpG0yfsa.js → page-header-DCvzRay5.js} +1 -1
- package/dist/assets/passport-C04lgrV5.js +1 -0
- package/dist/assets/{passport-item-Af9VCIFW.js → passport-item-BDPJusYi.js} +1 -1
- package/dist/assets/{permission-bm6ygywx.js → permission-CPpfaEat.js} +1 -1
- package/dist/assets/{playground-DKMlueFr.js → playground-CAOOFQT1.js} +1 -1
- package/dist/assets/preferences-D2CWTpgr.js +1 -0
- package/dist/assets/profile-embed-CLHyEYTf.js +1 -0
- package/dist/assets/publish-resource-B1BSffEx.js +1 -0
- package/dist/assets/{react-beautiful-dnd.esm-aD7p6S7F.js → react-beautiful-dnd.esm-ZwmTP19t.js} +1 -1
- package/dist/assets/{react-stripe.esm-BV6kfV2w.js → react-stripe.esm-Dc9snvfb.js} +1 -1
- package/dist/assets/{required-C9DLcn9T.js → required-BGaDOGrj.js} +1 -1
- package/dist/assets/runtime-AXM1IbpE.js +1 -0
- package/dist/assets/{sanitize-usZAK6S4.js → sanitize-BEqBHa8a.js} +1 -1
- package/dist/assets/sdk-CvRW7Vwp.js +1 -0
- package/dist/assets/{section-MSasF4Cx.js → section-C75bzkkL.js} +1 -1
- package/dist/assets/{security-DbLAyZY0.js → security-BKCc6kr9.js} +1 -1
- package/dist/assets/{session-jDtNo9RS.js → session-BYq9-2GE.js} +1 -1
- package/dist/assets/{setup-C5jTmWDG.js → setup-CdiiCta6.js} +1 -1
- package/dist/assets/{shorten-label-dRmYvYJ7.js → shorten-label-RqvHqcC3.js} +1 -1
- package/dist/assets/{simple-select-CQxVe4SK.js → simple-select-iVD4-YUy.js} +1 -1
- package/dist/assets/{spaces-V5-JD9i7.js → spaces-Bhd_JZon.js} +1 -1
- package/dist/assets/{start-6JVejCmJ.js → start-BXKCBBDg.js} +1 -1
- package/dist/assets/{starting-progress-BYVwnaNc.js → starting-progress-Ls9oWS4w.js} +1 -1
- package/dist/assets/status-Cu5kOgRL.js +1 -0
- package/dist/assets/{step-actions-C1GR4GhW.js → step-actions-sALFE9jn.js} +1 -1
- package/dist/assets/{studio-DmcnkjTl.js → studio-2AfcGI4x.js} +1 -1
- package/dist/assets/{switch-control-CG7qdize.js → switch-control-CLq7MYhJ.js} +1 -1
- package/dist/assets/{table-tips-CdXwFA3X.js → table-tips-DBCvmY1v.js} +1 -1
- package/dist/assets/team-4Qq9vwj5.js +146 -0
- package/dist/assets/traffic-DU_BMQPm.js +1 -0
- package/dist/assets/{transfer-D3XcQgCt.js → transfer-DAvviBGy.js} +1 -1
- package/dist/assets/{unsubscribe-D-eN0zoM.js → unsubscribe-CzukIuIE.js} +1 -1
- package/dist/assets/{use-app-logo-CMlvKxYW.js → use-app-logo-9qTsLgnV.js} +1 -1
- package/dist/assets/{use-mobile-Bjbo_Gou.js → use-mobile-DCNBsOlH.js} +1 -1
- package/dist/assets/{use-mobile-CjZIGfWP.js → use-mobile-maRlSUwU.js} +1 -1
- package/dist/assets/{use-server-logo-uMEEt675.js → use-server-logo-n_aaKVoZ.js} +1 -1
- package/dist/assets/use-window-close-PzHKtiXA.js +1 -0
- package/dist/assets/{useAsync-BT7wPXCF.js → useAsync-BcVLpt2E.js} +1 -1
- package/dist/assets/{useAsync-D25sKCXL.js → useAsync-cZ_FPf9k.js} +1 -1
- package/dist/assets/{useAsyncRetry-D-vTCNcS.js → useAsyncRetry-DwwEjrjs.js} +1 -1
- package/dist/assets/{useLocalStorage-BVI5Gy_v.js → useLocalStorage-CvPFnddH.js} +1 -1
- package/dist/assets/user-center-DynXe12u.js +126 -0
- package/dist/assets/{user-follower-CaGHj3ZA.js → user-follower-Br2H5oAR.js} +1 -1
- package/dist/assets/{util-BsBRHu6F.js → util-4xOccFjr.js} +1 -1
- package/dist/assets/{util-B-6GuSKY.js → util-B1w9UqzK.js} +1 -1
- package/dist/assets/{vendor-arcblock-B0VYnHWE.js → vendor-arcblock-CqplRmyi.js} +114 -115
- package/dist/assets/{vendor-hooks-iFsOjihK.js → vendor-hooks-CjESGRlR.js} +1 -1
- package/dist/assets/{vendor-mui-core-BPcN1m8_.js → vendor-mui-core-CnXrAOs3.js} +1 -1
- package/dist/assets/{vendor-mui-x-DEgOZXst.js → vendor-mui-x-bJ5idfMH.js} +1 -1
- package/dist/assets/vendor-utils-cJEl_UEd.js +213 -0
- package/dist/assets/{vendor-ux-CheVAuK7.js → vendor-ux-5OlTXZBe.js} +10 -10
- package/dist/assets/{wait-connect-DyWyU1dI.js → wait-connect-BA-9v9IK.js} +1 -1
- package/dist/assets/{wizard-CwvOHxpL.js → wizard-B70SUVne.js} +1 -1
- package/dist/assets/{wizard-components-Cu3iAFug.js → wizard-components-Bj1vePv_.js} +1 -1
- package/dist/assets/wrap-locale-CyFByfaX.js +1 -0
- package/dist/assets/{zh-qs5i9EFZ.js → zh-DBbr_lO3.js} +1 -1
- package/dist/index.html +1 -1
- package/dist/service-worker.js +1 -1
- package/package.json +23 -23
- package/dist/assets/api-VWP7Oo6L.js +0 -1
- package/dist/assets/bind-account-BCP_Ypfy.js +0 -1
- package/dist/assets/branding-BDdxk2E2.js +0 -1
- package/dist/assets/button-DAumqZoi.js +0 -1
- package/dist/assets/connect-to-BrFtlkBE.js +0 -1
- package/dist/assets/createClass-sKvm4qit.js +0 -1
- package/dist/assets/domain-BeE_hgxW.js +0 -9
- package/dist/assets/domain-action-card-CBIJJCbh.js +0 -28
- package/dist/assets/domains-DgAenuDY.js +0 -1
- package/dist/assets/engine-DH9sKH0j.js +0 -1
- package/dist/assets/get-safe-url-DEmvtN3J.js +0 -1
- package/dist/assets/index-B3O5tZNc.js +0 -55
- package/dist/assets/index-Bth96Xcv.js +0 -7
- package/dist/assets/index-CZ4Y1y1j.js +0 -120
- package/dist/assets/index-DUiyqDLR.js +0 -30
- package/dist/assets/index-bd0w0UHw.js +0 -6
- package/dist/assets/index-hKD4Miak.js +0 -1
- package/dist/assets/index-vci0NXIe.js +0 -1
- package/dist/assets/list-Dd8HkY3P.js +0 -103
- package/dist/assets/localization-CCBoTGdU.js +0 -1
- package/dist/assets/logger-D-AxDn18.js +0 -1
- package/dist/assets/login-DWAFC8kE.js +0 -1
- package/dist/assets/passport-Bei4Q65O.js +0 -1
- package/dist/assets/preferences-lGhRntFn.js +0 -1
- package/dist/assets/profile-embed-JHxbEwL7.js +0 -1
- package/dist/assets/publish-resource-D19FmjtU.js +0 -1
- package/dist/assets/runtime-Kn_kNxXD.js +0 -1
- package/dist/assets/sdk-C0BAXQzO.js +0 -1
- package/dist/assets/status-C9q9BOVN.js +0 -1
- package/dist/assets/team-PZ1SHeY3.js +0 -146
- package/dist/assets/traffic-Dh35q8G-.js +0 -1
- package/dist/assets/use-window-close-Dmw6cTVQ.js +0 -1
- package/dist/assets/user-center-Cwsrx5yP.js +0 -126
- package/dist/assets/vendor-utils-D6HS5QsS.js +0 -213
- package/dist/assets/wrap-locale-BLNR9__l.js +0 -1
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
import{p as Br}from"./vendor-react-Dvs43sk9.js";var Ja=9007199254740991,Va=Math.floor;function Ci(t,e){var r="";if(!t||e<1||e>Ja)return r;do e%2&&(r+=t),e=Va(e/2),e&&(t+=t);while(e);return r}const Me=globalThis||void 0||self;var qo=typeof Me=="object"&&Me&&Me.Object===Object&&Me,Ka=typeof self=="object"&&self&&self.Object===Object&&self,oe=qo||Ka||Function("return this")(),ie=oe.Symbol;function ge(t,e){for(var r=-1,n=t==null?0:t.length,u=Array(n);++r<n;)u[r]=e(t[r],r,t);return u}var Gt=Array.isArray,zo=Object.prototype,Ya=zo.hasOwnProperty,Xa=zo.toString,Ye=ie?ie.toStringTag:void 0;function Qa(t){var e=Ya.call(t,Ye),r=t[Ye];try{t[Ye]=void 0;var n=!0}catch{}var u=Xa.call(t);return n&&(e?t[Ye]=r:delete t[Ye]),u}var tu=Object.prototype,eu=tu.toString;function ru(t){return eu.call(t)}var nu="[object Null]",iu="[object Undefined]",$i=ie?ie.toStringTag:void 0;function ue(t){return t==null?t===void 0?iu:nu:$i&&$i in Object(t)?Qa(t):ru(t)}function te(t){return t!=null&&typeof t=="object"}var ou="[object Symbol]";function Le(t){return typeof t=="symbol"||te(t)&&ue(t)==ou}var Fi=ie?ie.prototype:void 0,Ri=Fi?Fi.toString:void 0;function or(t){if(typeof t=="string")return t;if(Gt(t))return ge(t,or)+"";if(Le(t))return Ri?Ri.call(t):"";var e=t+"";return e=="0"&&1/t==-1/0?"-0":e}function Qn(t,e,r){var n=-1,u=t.length;e<0&&(e=-e>u?0:u+e),r=r>u?u:r,r<0&&(r+=u),u=e>r?0:r-e>>>0,e>>>=0;for(var o=Array(u);++n<u;)o[n]=t[n+e];return o}function $r(t,e,r){var n=t.length;return r=r===void 0?n:r,!e&&r>=n?t:Qn(t,e,r)}var su="\\ud800-\\udfff",au="\\u0300-\\u036f",uu="\\ufe20-\\ufe2f",fu="\\u20d0-\\u20ff",lu=au+uu+fu,cu="\\ufe0e\\ufe0f",hu="\\u200d",pu=RegExp("["+hu+su+lu+cu+"]");function Fr(t){return pu.test(t)}function Ho(t){return function(e){return e?.[t]}}var du=Ho("length"),Go="\\ud800-\\udfff",gu="\\u0300-\\u036f",mu="\\ufe20-\\ufe2f",yu="\\u20d0-\\u20ff",wu=gu+mu+yu,vu="\\ufe0e\\ufe0f",xu="["+Go+"]",In="["+wu+"]",Nn="\\ud83c[\\udffb-\\udfff]",bu="(?:"+In+"|"+Nn+")",Wo="[^"+Go+"]",Zo="(?:\\ud83c[\\udde6-\\uddff]){2}",Jo="[\\ud800-\\udbff][\\udc00-\\udfff]",Eu="\\u200d",Vo=bu+"?",Ko="["+vu+"]?",Mu="(?:"+Eu+"(?:"+[Wo,Zo,Jo].join("|")+")"+Ko+Vo+")*",_u=Ko+Vo+Mu,Bu="(?:"+[Wo+In+"?",In,Zo,Jo,xu].join("|")+")",Ii=RegExp(Nn+"(?="+Nn+")|"+Bu+_u,"g");function Su(t){for(var e=Ii.lastIndex=0;Ii.test(t);)++e;return e}function ti(t){return Fr(t)?Su(t):du(t)}function Au(t){return t.split("")}var Yo="\\ud800-\\udfff",Tu="\\u0300-\\u036f",Ou="\\ufe20-\\ufe2f",Cu="\\u20d0-\\u20ff",$u=Tu+Ou+Cu,Fu="\\ufe0e\\ufe0f",Ru="["+Yo+"]",Un="["+$u+"]",Pn="\\ud83c[\\udffb-\\udfff]",Iu="(?:"+Un+"|"+Pn+")",Xo="[^"+Yo+"]",Qo="(?:\\ud83c[\\udde6-\\uddff]){2}",ts="[\\ud800-\\udbff][\\udc00-\\udfff]",Nu="\\u200d",es=Iu+"?",rs="["+Fu+"]?",Uu="(?:"+Nu+"(?:"+[Xo,Qo,ts].join("|")+")"+rs+es+")*",Pu=rs+es+Uu,Lu="(?:"+[Xo+Un+"?",Un,Qo,ts,Ru].join("|")+")",Du=RegExp(Pn+"(?="+Pn+")|"+Lu+Pu,"g");function ju(t){return t.match(Du)||[]}function De(t){return Fr(t)?ju(t):Au(t)}var ku=Math.ceil;function ns(t,e){e=e===void 0?" ":or(e);var r=e.length;if(r<2)return r?Ci(e,t):e;var n=Ci(e,ku(t/ti(e)));return Fr(e)?$r(De(n),0,t).join(""):n.slice(0,t)}var qu=/\s/;function is(t){for(var e=t.length;e--&&qu.test(t.charAt(e)););return e}var zu=/^\s+/;function os(t){return t&&t.slice(0,is(t)+1).replace(zu,"")}function Vt(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}const fy=Object.freeze(Object.defineProperty({__proto__:null,default:Vt},Symbol.toStringTag,{value:"Module"}));var Ni=NaN,Hu=/^[-+]0x[0-9a-f]+$/i,Gu=/^0b[01]+$/i,Wu=/^0o[0-7]+$/i,Zu=parseInt;function Ln(t){if(typeof t=="number")return t;if(Le(t))return Ni;if(Vt(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=Vt(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=os(t);var r=Gu.test(t);return r||Wu.test(t)?Zu(t.slice(2),r?2:8):Hu.test(t)?Ni:+t}var Ui=1/0,Ju=17976931348623157e292;function Vu(t){if(!t)return t===0?t:0;if(t=Ln(t),t===Ui||t===-Ui){var e=t<0?-1:1;return e*Ju}return t===t?t:0}function He(t){var e=Vu(t),r=e%1;return e===e?r?e-r:e:0}function ee(t){return t==null?"":or(t)}function Ku(t,e,r){t=ee(t),e=He(e);var n=e?ti(t):0;return e&&n<e?ns(e-n,r)+t:t}const ly=Object.freeze(Object.defineProperty({__proto__:null,default:Ku},Symbol.toStringTag,{value:"Module"}));function Yu(t){return t==null}const cy=Object.freeze(Object.defineProperty({__proto__:null,default:Yu},Symbol.toStringTag,{value:"Module"}));function Xu(){this.__data__=[],this.size=0}function Ge(t,e){return t===e||t!==t&&e!==e}function Rr(t,e){for(var r=t.length;r--;)if(Ge(t[r][0],e))return r;return-1}var Qu=Array.prototype,tf=Qu.splice;function ef(t){var e=this.__data__,r=Rr(e,t);if(r<0)return!1;var n=e.length-1;return r==n?e.pop():tf.call(e,r,1),--this.size,!0}function rf(t){var e=this.__data__,r=Rr(e,t);return r<0?void 0:e[r][1]}function nf(t){return Rr(this.__data__,t)>-1}function of(t,e){var r=this.__data__,n=Rr(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this}function ye(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}ye.prototype.clear=Xu;ye.prototype.delete=ef;ye.prototype.get=rf;ye.prototype.has=nf;ye.prototype.set=of;function sf(){this.__data__=new ye,this.size=0}function af(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}function uf(t){return this.__data__.get(t)}function ff(t){return this.__data__.has(t)}var lf="[object AsyncFunction]",cf="[object Function]",hf="[object GeneratorFunction]",pf="[object Proxy]";function ei(t){if(!Vt(t))return!1;var e=ue(t);return e==cf||e==hf||e==lf||e==pf}var wn=oe["__core-js_shared__"],Pi=function(){var t=/[^.]+$/.exec(wn&&wn.keys&&wn.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function df(t){return!!Pi&&Pi in t}var gf=Function.prototype,mf=gf.toString;function Ce(t){if(t!=null){try{return mf.call(t)}catch{}try{return t+""}catch{}}return""}var yf=/[\\^$.*+?()[\]{}|]/g,wf=/^\[object .+?Constructor\]$/,vf=Function.prototype,xf=Object.prototype,bf=vf.toString,Ef=xf.hasOwnProperty,Mf=RegExp("^"+bf.call(Ef).replace(yf,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function _f(t){if(!Vt(t)||df(t))return!1;var e=ei(t)?Mf:wf;return e.test(Ce(t))}function Bf(t,e){return t?.[e]}function $e(t,e){var r=Bf(t,e);return _f(r)?r:void 0}var er=$e(oe,"Map"),rr=$e(Object,"create");function Sf(){this.__data__=rr?rr(null):{},this.size=0}function Af(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var Tf="__lodash_hash_undefined__",Of=Object.prototype,Cf=Of.hasOwnProperty;function $f(t){var e=this.__data__;if(rr){var r=e[t];return r===Tf?void 0:r}return Cf.call(e,t)?e[t]:void 0}var Ff=Object.prototype,Rf=Ff.hasOwnProperty;function If(t){var e=this.__data__;return rr?e[t]!==void 0:Rf.call(e,t)}var Nf="__lodash_hash_undefined__";function Uf(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=rr&&e===void 0?Nf:e,this}function Se(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}Se.prototype.clear=Sf;Se.prototype.delete=Af;Se.prototype.get=$f;Se.prototype.has=If;Se.prototype.set=Uf;function Pf(){this.size=0,this.__data__={hash:new Se,map:new(er||ye),string:new Se}}function Lf(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function Ir(t,e){var r=t.__data__;return Lf(e)?r[typeof e=="string"?"string":"hash"]:r.map}function Df(t){var e=Ir(this,t).delete(t);return this.size-=e?1:0,e}function jf(t){return Ir(this,t).get(t)}function kf(t){return Ir(this,t).has(t)}function qf(t,e){var r=Ir(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this}function we(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}we.prototype.clear=Pf;we.prototype.delete=Df;we.prototype.get=jf;we.prototype.has=kf;we.prototype.set=qf;var zf=200;function Hf(t,e){var r=this.__data__;if(r instanceof ye){var n=r.__data__;if(!er||n.length<zf-1)return n.push([t,e]),this.size=++r.size,this;r=this.__data__=new we(n)}return r.set(t,e),this.size=r.size,this}function ae(t){var e=this.__data__=new ye(t);this.size=e.size}ae.prototype.clear=sf;ae.prototype.delete=af;ae.prototype.get=uf;ae.prototype.has=ff;ae.prototype.set=Hf;var Gf="__lodash_hash_undefined__";function Wf(t){return this.__data__.set(t,Gf),this}function Zf(t){return this.__data__.has(t)}function Ae(t){var e=-1,r=t==null?0:t.length;for(this.__data__=new we;++e<r;)this.add(t[e])}Ae.prototype.add=Ae.prototype.push=Wf;Ae.prototype.has=Zf;function Jf(t,e){for(var r=-1,n=t==null?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}function nr(t,e){return t.has(e)}var Vf=1,Kf=2;function ss(t,e,r,n,u,o){var p=r&Vf,b=t.length,B=e.length;if(b!=B&&!(p&&B>b))return!1;var E=o.get(t),d=o.get(e);if(E&&d)return E==e&&d==t;var $=-1,D=!0,V=r&Kf?new Ae:void 0;for(o.set(t,e),o.set(e,t);++$<b;){var tt=t[$],ot=e[$];if(n)var J=p?n(ot,tt,$,e,t,o):n(tt,ot,$,t,e,o);if(J!==void 0){if(J)continue;D=!1;break}if(V){if(!Jf(e,function(lt,X){if(!nr(V,X)&&(tt===lt||u(tt,lt,r,n,o)))return V.push(X)})){D=!1;break}}else if(!(tt===ot||u(tt,ot,r,n,o))){D=!1;break}}return o.delete(t),o.delete(e),D}var Sr=oe.Uint8Array;function Yf(t){var e=-1,r=Array(t.size);return t.forEach(function(n,u){r[++e]=[u,n]}),r}function ri(t){var e=-1,r=Array(t.size);return t.forEach(function(n){r[++e]=n}),r}var Xf=1,Qf=2,tl="[object Boolean]",el="[object Date]",rl="[object Error]",nl="[object Map]",il="[object Number]",ol="[object RegExp]",sl="[object Set]",al="[object String]",ul="[object Symbol]",fl="[object ArrayBuffer]",ll="[object DataView]",Li=ie?ie.prototype:void 0,vn=Li?Li.valueOf:void 0;function cl(t,e,r,n,u,o,p){switch(r){case ll:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case fl:return!(t.byteLength!=e.byteLength||!o(new Sr(t),new Sr(e)));case tl:case el:case il:return Ge(+t,+e);case rl:return t.name==e.name&&t.message==e.message;case ol:case al:return t==e+"";case nl:var b=Yf;case sl:var B=n&Xf;if(b||(b=ri),t.size!=e.size&&!B)return!1;var E=p.get(t);if(E)return E==e;n|=Qf,p.set(t,e);var d=ss(b(t),b(e),n,u,o,p);return p.delete(t),d;case ul:if(vn)return vn.call(t)==vn.call(e)}return!1}function ni(t,e){for(var r=-1,n=e.length,u=t.length;++r<n;)t[u+r]=e[r];return t}function as(t,e,r){var n=e(t);return Gt(t)?n:ni(n,r(t))}function us(t,e){for(var r=-1,n=t==null?0:t.length,u=0,o=[];++r<n;){var p=t[r];e(p,r,t)&&(o[u++]=p)}return o}function fs(){return[]}var hl=Object.prototype,pl=hl.propertyIsEnumerable,Di=Object.getOwnPropertySymbols,ii=Di?function(t){return t==null?[]:(t=Object(t),us(Di(t),function(e){return pl.call(t,e)}))}:fs;function dl(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}var gl="[object Arguments]";function ji(t){return te(t)&&ue(t)==gl}var ls=Object.prototype,ml=ls.hasOwnProperty,yl=ls.propertyIsEnumerable,je=ji(function(){return arguments}())?ji:function(t){return te(t)&&ml.call(t,"callee")&&!yl.call(t,"callee")};function wl(){return!1}var cs=typeof exports=="object"&&exports&&!exports.nodeType&&exports,ki=cs&&typeof module=="object"&&module&&!module.nodeType&&module,vl=ki&&ki.exports===cs,qi=vl?oe.Buffer:void 0,xl=qi?qi.isBuffer:void 0,ke=xl||wl,bl=9007199254740991,El=/^(?:0|[1-9]\d*)$/;function sr(t,e){var r=typeof t;return e=e??bl,!!e&&(r=="number"||r!="symbol"&&El.test(t))&&t>-1&&t%1==0&&t<e}var Ml=9007199254740991;function oi(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=Ml}var _l="[object Arguments]",Bl="[object Array]",Sl="[object Boolean]",Al="[object Date]",Tl="[object Error]",Ol="[object Function]",Cl="[object Map]",$l="[object Number]",Fl="[object Object]",Rl="[object RegExp]",Il="[object Set]",Nl="[object String]",Ul="[object WeakMap]",Pl="[object ArrayBuffer]",Ll="[object DataView]",Dl="[object Float32Array]",jl="[object Float64Array]",kl="[object Int8Array]",ql="[object Int16Array]",zl="[object Int32Array]",Hl="[object Uint8Array]",Gl="[object Uint8ClampedArray]",Wl="[object Uint16Array]",Zl="[object Uint32Array]",qt={};qt[Dl]=qt[jl]=qt[kl]=qt[ql]=qt[zl]=qt[Hl]=qt[Gl]=qt[Wl]=qt[Zl]=!0;qt[_l]=qt[Bl]=qt[Pl]=qt[Sl]=qt[Ll]=qt[Al]=qt[Tl]=qt[Ol]=qt[Cl]=qt[$l]=qt[Fl]=qt[Rl]=qt[Il]=qt[Nl]=qt[Ul]=!1;function Jl(t){return te(t)&&oi(t.length)&&!!qt[ue(t)]}function Nr(t){return function(e){return t(e)}}var hs=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Qe=hs&&typeof module=="object"&&module&&!module.nodeType&&module,Vl=Qe&&Qe.exports===hs,xn=Vl&&qo.process,qe=function(){try{var t=Qe&&Qe.require&&Qe.require("util").types;return t||xn&&xn.binding&&xn.binding("util")}catch{}}(),zi=qe&&qe.isTypedArray,Ur=zi?Nr(zi):Jl,Kl=Object.prototype,Yl=Kl.hasOwnProperty;function ps(t,e){var r=Gt(t),n=!r&&je(t),u=!r&&!n&&ke(t),o=!r&&!n&&!u&&Ur(t),p=r||n||u||o,b=p?dl(t.length,String):[],B=b.length;for(var E in t)(e||Yl.call(t,E))&&!(p&&(E=="length"||u&&(E=="offset"||E=="parent")||o&&(E=="buffer"||E=="byteLength"||E=="byteOffset")||sr(E,B)))&&b.push(E);return b}var Xl=Object.prototype;function Pr(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||Xl;return t===r}function ds(t,e){return function(r){return t(e(r))}}var Ql=ds(Object.keys,Object),tc=Object.prototype,ec=tc.hasOwnProperty;function gs(t){if(!Pr(t))return Ql(t);var e=[];for(var r in Object(t))ec.call(t,r)&&r!="constructor"&&e.push(r);return e}function ve(t){return t!=null&&oi(t.length)&&!ei(t)}function xe(t){return ve(t)?ps(t):gs(t)}function Dn(t){return as(t,xe,ii)}var rc=1,nc=Object.prototype,ic=nc.hasOwnProperty;function oc(t,e,r,n,u,o){var p=r&rc,b=Dn(t),B=b.length,E=Dn(e),d=E.length;if(B!=d&&!p)return!1;for(var $=B;$--;){var D=b[$];if(!(p?D in e:ic.call(e,D)))return!1}var V=o.get(t),tt=o.get(e);if(V&&tt)return V==e&&tt==t;var ot=!0;o.set(t,e),o.set(e,t);for(var J=p;++$<B;){D=b[$];var lt=t[D],X=e[D];if(n)var at=p?n(X,lt,D,e,t,o):n(lt,X,D,t,e,o);if(!(at===void 0?lt===X||u(lt,X,r,n,o):at)){ot=!1;break}J||(J=D=="constructor")}if(ot&&!J){var pt=t.constructor,ut=e.constructor;pt!=ut&&"constructor"in t&&"constructor"in e&&!(typeof pt=="function"&&pt instanceof pt&&typeof ut=="function"&&ut instanceof ut)&&(ot=!1)}return o.delete(t),o.delete(e),ot}var jn=$e(oe,"DataView"),kn=$e(oe,"Promise"),Pe=$e(oe,"Set"),qn=$e(oe,"WeakMap"),Hi="[object Map]",sc="[object Object]",Gi="[object Promise]",Wi="[object Set]",Zi="[object WeakMap]",Ji="[object DataView]",ac=Ce(jn),uc=Ce(er),fc=Ce(kn),lc=Ce(Pe),cc=Ce(qn),ne=ue;(jn&&ne(new jn(new ArrayBuffer(1)))!=Ji||er&&ne(new er)!=Hi||kn&&ne(kn.resolve())!=Gi||Pe&&ne(new Pe)!=Wi||qn&&ne(new qn)!=Zi)&&(ne=function(t){var e=ue(t),r=e==sc?t.constructor:void 0,n=r?Ce(r):"";if(n)switch(n){case ac:return Ji;case uc:return Hi;case fc:return Gi;case lc:return Wi;case cc:return Zi}return e});var hc=1,Vi="[object Arguments]",Ki="[object Array]",mr="[object Object]",pc=Object.prototype,Yi=pc.hasOwnProperty;function dc(t,e,r,n,u,o){var p=Gt(t),b=Gt(e),B=p?Ki:ne(t),E=b?Ki:ne(e);B=B==Vi?mr:B,E=E==Vi?mr:E;var d=B==mr,$=E==mr,D=B==E;if(D&&ke(t)){if(!ke(e))return!1;p=!0,d=!1}if(D&&!d)return o||(o=new ae),p||Ur(t)?ss(t,e,r,n,u,o):cl(t,e,B,r,n,u,o);if(!(r&hc)){var V=d&&Yi.call(t,"__wrapped__"),tt=$&&Yi.call(e,"__wrapped__");if(V||tt){var ot=V?t.value():t,J=tt?e.value():e;return o||(o=new ae),u(ot,J,r,n,o)}}return D?(o||(o=new ae),oc(t,e,r,n,u,o)):!1}function Lr(t,e,r,n,u){return t===e?!0:t==null||e==null||!te(t)&&!te(e)?t!==t&&e!==e:dc(t,e,r,n,Lr,u)}var gc=1,mc=2;function yc(t,e,r,n){var u=r.length,o=u;if(t==null)return!o;for(t=Object(t);u--;){var p=r[u];if(p[2]?p[1]!==t[p[0]]:!(p[0]in t))return!1}for(;++u<o;){p=r[u];var b=p[0],B=t[b],E=p[1];if(p[2]){if(B===void 0&&!(b in t))return!1}else{var d=new ae,$;if(!($===void 0?Lr(E,B,gc|mc,n,d):$))return!1}}return!0}function ms(t){return t===t&&!Vt(t)}function wc(t){for(var e=xe(t),r=e.length;r--;){var n=e[r],u=t[n];e[r]=[n,u,ms(u)]}return e}function ys(t,e){return function(r){return r==null?!1:r[t]===e&&(e!==void 0||t in Object(r))}}function vc(t){var e=wc(t);return e.length==1&&e[0][2]?ys(e[0][0],e[0][1]):function(r){return r===t||yc(r,t,e)}}var xc=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,bc=/^\w*$/;function si(t,e){if(Gt(t))return!1;var r=typeof t;return r=="number"||r=="symbol"||r=="boolean"||t==null||Le(t)?!0:bc.test(t)||!xc.test(t)||e!=null&&t in Object(e)}var Ec="Expected a function";function ai(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError(Ec);var r=function(){var n=arguments,u=e?e.apply(this,n):n[0],o=r.cache;if(o.has(u))return o.get(u);var p=t.apply(this,n);return r.cache=o.set(u,p)||o,p};return r.cache=new(ai.Cache||we),r}ai.Cache=we;var Mc=500;function _c(t){var e=ai(t,function(n){return r.size===Mc&&r.clear(),n}),r=e.cache;return e}var Bc=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Sc=/\\(\\)?/g,Ac=_c(function(t){var e=[];return t.charCodeAt(0)===46&&e.push(""),t.replace(Bc,function(r,n,u,o){e.push(u?o.replace(Sc,"$1"):n||r)}),e});function We(t,e){return Gt(t)?t:si(t,e)?[t]:Ac(ee(t))}function Ze(t){if(typeof t=="string"||Le(t))return t;var e=t+"";return e=="0"&&1/t==-1/0?"-0":e}function ar(t,e){e=We(e,t);for(var r=0,n=e.length;t!=null&&r<n;)t=t[Ze(e[r++])];return r&&r==n?t:void 0}function ws(t,e,r){var n=t==null?void 0:ar(t,e);return n===void 0?r:n}const hy=Object.freeze(Object.defineProperty({__proto__:null,default:ws},Symbol.toStringTag,{value:"Module"}));function Tc(t,e){return t!=null&&e in Object(t)}function Oc(t,e,r){e=We(e,t);for(var n=-1,u=e.length,o=!1;++n<u;){var p=Ze(e[n]);if(!(o=t!=null&&r(t,p)))break;t=t[p]}return o||++n!=u?o:(u=t==null?0:t.length,!!u&&oi(u)&&sr(p,u)&&(Gt(t)||je(t)))}function vs(t,e){return t!=null&&Oc(t,e,Tc)}var Cc=1,$c=2;function Fc(t,e){return si(t)&&ms(e)?ys(Ze(t),e):function(r){var n=ws(r,t);return n===void 0&&n===e?vs(r,t):Lr(e,n,Cc|$c)}}function ur(t){return t}function Rc(t){return function(e){return ar(e,t)}}function Ic(t){return si(t)?Ho(Ze(t)):Rc(t)}function pe(t){return typeof t=="function"?t:t==null?ur:typeof t=="object"?Gt(t)?Fc(t[0],t[1]):vc(t):Ic(t)}var Nc="Expected a function";function Uc(t){if(typeof t!="function")throw new TypeError(Nc);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}var Ar=function(){try{var t=$e(Object,"defineProperty");return t({},"",{}),t}catch{}}();function fr(t,e,r){e=="__proto__"&&Ar?Ar(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}var Pc=Object.prototype,Lc=Pc.hasOwnProperty;function ui(t,e,r){var n=t[e];(!(Lc.call(t,e)&&Ge(n,r))||r===void 0&&!(e in t))&&fr(t,e,r)}function xs(t,e,r,n){if(!Vt(t))return t;e=We(e,t);for(var u=-1,o=e.length,p=o-1,b=t;b!=null&&++u<o;){var B=Ze(e[u]),E=r;if(B==="__proto__"||B==="constructor"||B==="prototype")return t;if(u!=p){var d=b[B];E=void 0,E===void 0&&(E=Vt(d)?d:sr(e[u+1])?[]:{})}ui(b,B,E),b=b[B]}return t}function bs(t,e,r){for(var n=-1,u=e.length,o={};++n<u;){var p=e[n],b=ar(t,p);r(b,p)&&xs(o,We(p,t),b)}return o}var fi=ds(Object.getPrototypeOf,Object),Dc=Object.getOwnPropertySymbols,Es=Dc?function(t){for(var e=[];t;)ni(e,ii(t)),t=fi(t);return e}:fs;function jc(t){var e=[];if(t!=null)for(var r in Object(t))e.push(r);return e}var kc=Object.prototype,qc=kc.hasOwnProperty;function zc(t){if(!Vt(t))return jc(t);var e=Pr(t),r=[];for(var n in t)n=="constructor"&&(e||!qc.call(t,n))||r.push(n);return r}function Je(t){return ve(t)?ps(t,!0):zc(t)}function li(t){return as(t,Je,Es)}function Hc(t,e){if(t==null)return{};var r=ge(li(t),function(n){return[n]});return e=pe(e),bs(t,r,function(n,u){return e(n,u[0])})}function py(t,e){return Hc(t,Uc(pe(e)))}var xr={exports:{}},Gc=xr.exports,Xi;function dy(){return Xi||(Xi=1,function(t,e){(function(r,n){t.exports=n()})(Gc,function(){var r=1e3,n=6e4,u=36e5,o="millisecond",p="second",b="minute",B="hour",E="day",d="week",$="month",D="quarter",V="year",tt="date",ot="Invalid Date",J=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,lt=/\[([^\]]+)]|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(g){var m=["th","st","nd","rd"],v=g%100;return"["+g+(m[(v-20)%10]||m[v]||m[0])+"]"}},at=function(g,m,v){var C=String(g);return!C||C.length>=m?g:""+Array(m+1-C.length).join(v)+g},pt={s:at,z:function(g){var m=-g.utcOffset(),v=Math.abs(m),C=Math.floor(v/60),F=v%60;return(m<=0?"+":"-")+at(C,2,"0")+":"+at(F,2,"0")},m:function g(m,v){if(m.date()<v.date())return-g(v,m);var C=12*(v.year()-m.year())+(v.month()-m.month()),F=m.clone().add(C,$),M=v-F<0,f=m.clone().add(C+(M?-1:1),$);return+(-(C+(v-F)/(M?F-f:f-F))||0)},a:function(g){return g<0?Math.ceil(g)||0:Math.floor(g)},p:function(g){return{M:$,y:V,w:d,d:E,D:tt,h:B,m:b,s:p,ms:o,Q:D}[g]||String(g||"").toLowerCase().replace(/s$/,"")},u:function(g){return g===void 0}},ut="en",Y={};Y[ut]=X;var G="$isDayjsObject",st=function(g){return g instanceof i||!(!g||!g[G])},ht=function g(m,v,C){var F;if(!m)return ut;if(typeof m=="string"){var M=m.toLowerCase();Y[M]&&(F=M),v&&(Y[M]=v,F=M);var f=m.split("-");if(!F&&f.length>1)return g(f[0])}else{var T=m.name;Y[T]=m,F=T}return!C&&F&&(ut=F),F||!C&&ut},nt=function(g,m){if(st(g))return g.clone();var v=typeof m=="object"?m:{};return v.date=g,v.args=arguments,new i(v)},A=pt;A.l=ht,A.i=st,A.w=function(g,m){return nt(g,{locale:m.$L,utc:m.$u,x:m.$x,$offset:m.$offset})};var i=function(){function g(v){this.$L=ht(v.locale,null,!0),this.parse(v),this.$x=this.$x||v.x||{},this[G]=!0}var m=g.prototype;return m.parse=function(v){this.$d=function(C){var F=C.date,M=C.utc;if(F===null)return new Date(NaN);if(A.u(F))return new Date;if(F instanceof Date)return new Date(F);if(typeof F=="string"&&!/Z$/i.test(F)){var f=F.match(J);if(f){var T=f[2]-1||0,ct=(f[7]||"0").substring(0,3);return M?new Date(Date.UTC(f[1],T,f[3]||1,f[4]||0,f[5]||0,f[6]||0,ct)):new Date(f[1],T,f[3]||1,f[4]||0,f[5]||0,f[6]||0,ct)}}return new Date(F)}(v),this.init()},m.init=function(){var v=this.$d;this.$y=v.getFullYear(),this.$M=v.getMonth(),this.$D=v.getDate(),this.$W=v.getDay(),this.$H=v.getHours(),this.$m=v.getMinutes(),this.$s=v.getSeconds(),this.$ms=v.getMilliseconds()},m.$utils=function(){return A},m.isValid=function(){return this.$d.toString()!==ot},m.isSame=function(v,C){var F=nt(v);return this.startOf(C)<=F&&F<=this.endOf(C)},m.isAfter=function(v,C){return nt(v)<this.startOf(C)},m.isBefore=function(v,C){return this.endOf(C)<nt(v)},m.$g=function(v,C,F){return A.u(v)?this[C]:this.set(F,v)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(v,C){var F=this,M=!!A.u(C)||C,f=A.p(v),T=function(_t,x){var O=A.w(F.$u?Date.UTC(F.$y,x,_t):new Date(F.$y,x,_t),F);return M?O:O.endOf(E)},ct=function(_t,x){return A.w(F.toDate()[_t].apply(F.toDate("s"),(M?[0,0,0,0]:[23,59,59,999]).slice(x)),F)},dt=this.$W,k=this.$M,mt=this.$D,Mt="set"+(this.$u?"UTC":"");switch(f){case V:return M?T(1,0):T(31,11);case $:return M?T(1,k):T(0,k+1);case d:var Tt=this.$locale().weekStart||0,$t=(dt<Tt?dt+7:dt)-Tt;return T(M?mt-$t:mt+(6-$t),k);case E:case tt:return ct(Mt+"Hours",0);case B:return ct(Mt+"Minutes",1);case b:return ct(Mt+"Seconds",2);case p:return ct(Mt+"Milliseconds",3);default:return this.clone()}},m.endOf=function(v){return this.startOf(v,!1)},m.$set=function(v,C){var F,M=A.p(v),f="set"+(this.$u?"UTC":""),T=(F={},F[E]=f+"Date",F[tt]=f+"Date",F[$]=f+"Month",F[V]=f+"FullYear",F[B]=f+"Hours",F[b]=f+"Minutes",F[p]=f+"Seconds",F[o]=f+"Milliseconds",F)[M],ct=M===E?this.$D+(C-this.$W):C;if(M===$||M===V){var dt=this.clone().set(tt,1);dt.$d[T](ct),dt.init(),this.$d=dt.set(tt,Math.min(this.$D,dt.daysInMonth())).$d}else T&&this.$d[T](ct);return this.init(),this},m.set=function(v,C){return this.clone().$set(v,C)},m.get=function(v){return this[A.p(v)]()},m.add=function(v,C){var F,M=this;v=Number(v);var f=A.p(C),T=function(k){var mt=nt(M);return A.w(mt.date(mt.date()+Math.round(k*v)),M)};if(f===$)return this.set($,this.$M+v);if(f===V)return this.set(V,this.$y+v);if(f===E)return T(1);if(f===d)return T(7);var ct=(F={},F[b]=n,F[B]=u,F[p]=r,F)[f]||1,dt=this.$d.getTime()+v*ct;return A.w(dt,this)},m.subtract=function(v,C){return this.add(-1*v,C)},m.format=function(v){var C=this,F=this.$locale();if(!this.isValid())return F.invalidDate||ot;var M=v||"YYYY-MM-DDTHH:mm:ssZ",f=A.z(this),T=this.$H,ct=this.$m,dt=this.$M,k=F.weekdays,mt=F.months,Mt=F.meridiem,Tt=function(x,O,R,q){return x&&(x[O]||x(C,M))||R[O].slice(0,q)},$t=function(x){return A.s(T%12||12,x,"0")},_t=Mt||function(x,O,R){var q=x<12?"AM":"PM";return R?q.toLowerCase():q};return M.replace(lt,function(x,O){return O||function(R){switch(R){case"YY":return String(C.$y).slice(-2);case"YYYY":return A.s(C.$y,4,"0");case"M":return dt+1;case"MM":return A.s(dt+1,2,"0");case"MMM":return Tt(F.monthsShort,dt,mt,3);case"MMMM":return Tt(mt,dt);case"D":return C.$D;case"DD":return A.s(C.$D,2,"0");case"d":return String(C.$W);case"dd":return Tt(F.weekdaysMin,C.$W,k,2);case"ddd":return Tt(F.weekdaysShort,C.$W,k,3);case"dddd":return k[C.$W];case"H":return String(T);case"HH":return A.s(T,2,"0");case"h":return $t(1);case"hh":return $t(2);case"a":return _t(T,ct,!0);case"A":return _t(T,ct,!1);case"m":return String(ct);case"mm":return A.s(ct,2,"0");case"s":return String(C.$s);case"ss":return A.s(C.$s,2,"0");case"SSS":return A.s(C.$ms,3,"0");case"Z":return f}return null}(x)||f.replace(":","")})},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(v,C,F){var M,f=this,T=A.p(C),ct=nt(v),dt=(ct.utcOffset()-this.utcOffset())*n,k=this-ct,mt=function(){return A.m(f,ct)};switch(T){case V:M=mt()/12;break;case $:M=mt();break;case D:M=mt()/3;break;case d:M=(k-dt)/6048e5;break;case E:M=(k-dt)/864e5;break;case B:M=k/u;break;case b:M=k/n;break;case p:M=k/r;break;default:M=k}return F?M:A.a(M)},m.daysInMonth=function(){return this.endOf($).$D},m.$locale=function(){return Y[this.$L]},m.locale=function(v,C){if(!v)return this.$L;var F=this.clone(),M=ht(v,C,!0);return M&&(F.$L=M),F},m.clone=function(){return A.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},g}(),h=i.prototype;return nt.prototype=h,[["$ms",o],["$s",p],["$m",b],["$H",B],["$W",E],["$M",$],["$y",V],["$D",tt]].forEach(function(g){h[g[1]]=function(m){return this.$g(m,g[0],g[1])}}),nt.extend=function(g,m){return g.$i||(g(m,i,nt),g.$i=!0),nt},nt.locale=ht,nt.isDayjs=st,nt.unix=function(g){return nt(1e3*g)},nt.en=Y[ut],nt.Ls=Y,nt.p={},nt})}(xr)),xr.exports}var Wc="[object Map]",Zc="[object Set]",Jc=Object.prototype,Vc=Jc.hasOwnProperty;function Kc(t){if(t==null)return!0;if(ve(t)&&(Gt(t)||typeof t=="string"||typeof t.splice=="function"||ke(t)||Ur(t)||je(t)))return!t.length;var e=ne(t);if(e==Wc||e==Zc)return!t.size;if(Pr(t))return!gs(t).length;for(var r in t)if(Vc.call(t,r))return!1;return!0}const gy=Object.freeze(Object.defineProperty({__proto__:null,default:Kc},Symbol.toStringTag,{value:"Module"}));function my(t,e,r){return t==null?t:xs(t,e,r)}function yy(t){return t===void 0}var bn=function(){return oe.Date.now()},Yc="Expected a function",Xc=Math.max,Qc=Math.min;function t0(t,e,r){var n,u,o,p,b,B,E=0,d=!1,$=!1,D=!0;if(typeof t!="function")throw new TypeError(Yc);e=Ln(e)||0,Vt(r)&&(d=!!r.leading,$="maxWait"in r,o=$?Xc(Ln(r.maxWait)||0,e):o,D="trailing"in r?!!r.trailing:D);function V(Y){var G=n,st=u;return n=u=void 0,E=Y,p=t.apply(st,G),p}function tt(Y){return E=Y,b=setTimeout(lt,e),d?V(Y):p}function ot(Y){var G=Y-B,st=Y-E,ht=e-G;return $?Qc(ht,o-st):ht}function J(Y){var G=Y-B,st=Y-E;return B===void 0||G>=e||G<0||$&&st>=o}function lt(){var Y=bn();if(J(Y))return X(Y);b=setTimeout(lt,ot(Y))}function X(Y){return b=void 0,D&&n?V(Y):(n=u=void 0,p)}function at(){b!==void 0&&clearTimeout(b),E=0,n=B=u=b=void 0}function pt(){return b===void 0?p:X(bn())}function ut(){var Y=bn(),G=J(Y);if(n=arguments,u=this,B=Y,G){if(b===void 0)return tt(B);if($)return clearTimeout(b),b=setTimeout(lt,e),V(B)}return b===void 0&&(b=setTimeout(lt,e)),p}return ut.cancel=at,ut.flush=pt,ut}var e0="Expected a function";function wy(t,e,r){var n=!0,u=!0;if(typeof t!="function")throw new TypeError(e0);return Vt(r)&&(n="leading"in r?!!r.leading:n,u="trailing"in r?!!r.trailing:u),t0(t,e,{leading:n,maxWait:e,trailing:u})}var r0="[object Object]",n0=Function.prototype,i0=Object.prototype,Ms=n0.toString,o0=i0.hasOwnProperty,s0=Ms.call(Object);function Dr(t){if(!te(t)||ue(t)!=r0)return!1;var e=fi(t);if(e===null)return!0;var r=o0.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&Ms.call(r)==s0}const vy=Object.freeze(Object.defineProperty({__proto__:null,default:Dr},Symbol.toStringTag,{value:"Module"}));function a0(){}function zn(t,e,r){(r!==void 0&&!Ge(t[e],r)||r===void 0&&!(e in t))&&fr(t,e,r)}function u0(t){return function(e,r,n){for(var u=-1,o=Object(e),p=n(e),b=p.length;b--;){var B=p[++u];if(r(o[B],B,o)===!1)break}return e}}var _s=u0(),Bs=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Qi=Bs&&typeof module=="object"&&module&&!module.nodeType&&module,f0=Qi&&Qi.exports===Bs,to=f0?oe.Buffer:void 0,eo=to?to.allocUnsafe:void 0;function Ss(t,e){if(e)return t.slice();var r=t.length,n=eo?eo(r):new t.constructor(r);return t.copy(n),n}function ci(t){var e=new t.constructor(t.byteLength);return new Sr(e).set(new Sr(t)),e}function As(t,e){var r=e?ci(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}function hi(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r<n;)e[r]=t[r];return e}var ro=Object.create,l0=function(){function t(){}return function(e){if(!Vt(e))return{};if(ro)return ro(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();function Ts(t){return typeof t.constructor=="function"&&!Pr(t)?l0(fi(t)):{}}function Te(t){return te(t)&&ve(t)}function Hn(t,e){if(!(e==="constructor"&&typeof t[e]=="function")&&e!="__proto__")return t[e]}function Fe(t,e,r,n){var u=!r;r||(r={});for(var o=-1,p=e.length;++o<p;){var b=e[o],B=n?n(r[b],t[b],b,r,t):void 0;B===void 0&&(B=t[b]),u?fr(r,b,B):ui(r,b,B)}return r}function c0(t){return Fe(t,Je(t))}function h0(t,e,r,n,u,o,p){var b=Hn(t,r),B=Hn(e,r),E=p.get(B);if(E){zn(t,r,E);return}var d=o?o(b,B,r+"",t,e,p):void 0,$=d===void 0;if($){var D=Gt(B),V=!D&&ke(B),tt=!D&&!V&&Ur(B);d=B,D||V||tt?Gt(b)?d=b:Te(b)?d=hi(b):V?($=!1,d=Ss(B,!0)):tt?($=!1,d=As(B,!0)):d=[]:Dr(B)||je(B)?(d=b,je(b)?d=c0(b):(!Vt(b)||ei(b))&&(d=Ts(B))):$=!1}$&&(p.set(B,d),u(d,B,n,o,p),p.delete(B)),zn(t,r,d)}function jr(t,e,r,n,u){t!==e&&_s(e,function(o,p){if(u||(u=new ae),Vt(o))h0(t,e,p,r,jr,n,u);else{var b=n?n(Hn(t,p),o,p+"",t,e,u):void 0;b===void 0&&(b=o),zn(t,p,b)}},Je)}function pi(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}var no=Math.max;function Os(t,e,r){return e=no(e===void 0?t.length-1:e,0),function(){for(var n=arguments,u=-1,o=no(n.length-e,0),p=Array(o);++u<o;)p[u]=n[e+u];u=-1;for(var b=Array(e+1);++u<e;)b[u]=n[u];return b[e]=r(p),pi(t,this,b)}}function p0(t){return function(){return t}}var d0=Ar?function(t,e){return Ar(t,"toString",{configurable:!0,enumerable:!1,value:p0(e),writable:!0})}:ur,g0=800,m0=16,y0=Date.now;function w0(t){var e=0,r=0;return function(){var n=y0(),u=m0-(n-r);if(r=n,u>0){if(++e>=g0)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var Cs=w0(d0);function fe(t,e){return Cs(Os(t,e,ur),t+"")}function Gn(t,e,r){if(!Vt(r))return!1;var n=typeof e;return(n=="number"?ve(r)&&sr(e,r.length):n=="string"&&e in r)?Ge(r[e],t):!1}function di(t){return fe(function(e,r){var n=-1,u=r.length,o=u>1?r[u-1]:void 0,p=u>2?r[2]:void 0;for(o=t.length>3&&typeof o=="function"?(u--,o):void 0,p&&Gn(r[0],r[1],p)&&(o=u<3?void 0:o,u=1),e=Object(e);++n<u;){var b=r[n];b&&t(e,b,n,o)}return e})}var xy=di(function(t,e,r){jr(t,e,r)});function $s(t,e){for(var r=-1,n=t==null?0:t.length;++r<n&&e(t[r],r,t)!==!1;);return t}function v0(t,e){return t&&Fe(e,xe(e),t)}function x0(t,e){return t&&Fe(e,Je(e),t)}function b0(t,e){return Fe(t,ii(t),e)}function E0(t,e){return Fe(t,Es(t),e)}var M0=Object.prototype,_0=M0.hasOwnProperty;function B0(t){var e=t.length,r=new t.constructor(e);return e&&typeof t[0]=="string"&&_0.call(t,"index")&&(r.index=t.index,r.input=t.input),r}function S0(t,e){var r=e?ci(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}var A0=/\w*$/;function T0(t){var e=new t.constructor(t.source,A0.exec(t));return e.lastIndex=t.lastIndex,e}var io=ie?ie.prototype:void 0,oo=io?io.valueOf:void 0;function O0(t){return oo?Object(oo.call(t)):{}}var C0="[object Boolean]",$0="[object Date]",F0="[object Map]",R0="[object Number]",I0="[object RegExp]",N0="[object Set]",U0="[object String]",P0="[object Symbol]",L0="[object ArrayBuffer]",D0="[object DataView]",j0="[object Float32Array]",k0="[object Float64Array]",q0="[object Int8Array]",z0="[object Int16Array]",H0="[object Int32Array]",G0="[object Uint8Array]",W0="[object Uint8ClampedArray]",Z0="[object Uint16Array]",J0="[object Uint32Array]";function V0(t,e,r){var n=t.constructor;switch(e){case L0:return ci(t);case C0:case $0:return new n(+t);case D0:return S0(t,r);case j0:case k0:case q0:case z0:case H0:case G0:case W0:case Z0:case J0:return As(t,r);case F0:return new n;case R0:case U0:return new n(t);case I0:return T0(t);case N0:return new n;case P0:return O0(t)}}var K0="[object Map]";function Y0(t){return te(t)&&ne(t)==K0}var so=qe&&qe.isMap,X0=so?Nr(so):Y0,Q0="[object Set]";function th(t){return te(t)&&ne(t)==Q0}var ao=qe&&qe.isSet,eh=ao?Nr(ao):th,rh=1,nh=2,ih=4,Fs="[object Arguments]",oh="[object Array]",sh="[object Boolean]",ah="[object Date]",uh="[object Error]",Rs="[object Function]",fh="[object GeneratorFunction]",lh="[object Map]",ch="[object Number]",Is="[object Object]",hh="[object RegExp]",ph="[object Set]",dh="[object String]",gh="[object Symbol]",mh="[object WeakMap]",yh="[object ArrayBuffer]",wh="[object DataView]",vh="[object Float32Array]",xh="[object Float64Array]",bh="[object Int8Array]",Eh="[object Int16Array]",Mh="[object Int32Array]",_h="[object Uint8Array]",Bh="[object Uint8ClampedArray]",Sh="[object Uint16Array]",Ah="[object Uint32Array]",Dt={};Dt[Fs]=Dt[oh]=Dt[yh]=Dt[wh]=Dt[sh]=Dt[ah]=Dt[vh]=Dt[xh]=Dt[bh]=Dt[Eh]=Dt[Mh]=Dt[lh]=Dt[ch]=Dt[Is]=Dt[hh]=Dt[ph]=Dt[dh]=Dt[gh]=Dt[_h]=Dt[Bh]=Dt[Sh]=Dt[Ah]=!0;Dt[uh]=Dt[Rs]=Dt[mh]=!1;function tr(t,e,r,n,u,o){var p,b=e&rh,B=e&nh,E=e&ih;if(r&&(p=u?r(t,n,u,o):r(t)),p!==void 0)return p;if(!Vt(t))return t;var d=Gt(t);if(d){if(p=B0(t),!b)return hi(t,p)}else{var $=ne(t),D=$==Rs||$==fh;if(ke(t))return Ss(t,b);if($==Is||$==Fs||D&&!u){if(p=B||D?{}:Ts(t),!b)return B?E0(t,x0(p,t)):b0(t,v0(p,t))}else{if(!Dt[$])return u?t:{};p=V0(t,$,b)}}o||(o=new ae);var V=o.get(t);if(V)return V;o.set(t,p),eh(t)?t.forEach(function(J){p.add(tr(J,e,r,J,t,o))}):X0(t)&&t.forEach(function(J,lt){p.set(lt,tr(J,e,r,lt,t,o))});var tt=E?B?li:Dn:B?Je:xe,ot=d?void 0:tt(t);return $s(ot||t,function(J,lt){ot&&(lt=J,J=t[lt]),ui(p,lt,tr(J,e,r,lt,t,o))}),p}function kr(t){var e=t==null?0:t.length;return e?t[e-1]:void 0}function Th(t,e){return e.length<2?t:ar(t,Qn(e,0,-1))}function Oh(t,e){return e=We(e,t),t=Th(t,e),t==null||delete t[Ze(kr(e))]}function Ch(t){return Dr(t)?void 0:t}var uo=ie?ie.isConcatSpreadable:void 0;function $h(t){return Gt(t)||je(t)||!!(uo&&t&&t[uo])}function lr(t,e,r,n,u){var o=-1,p=t.length;for(r||(r=$h),u||(u=[]);++o<p;){var b=t[o];r(b)?ni(u,b):n||(u[u.length]=b)}return u}function Fh(t){var e=t==null?0:t.length;return e?lr(t):[]}function Ns(t){return Cs(Os(t,void 0,Fh),t+"")}var Rh=1,Ih=2,Nh=4,Uh=Ns(function(t,e){var r={};if(t==null)return r;var n=!1;e=ge(e,function(o){return o=We(o,t),n||(n=o.length>1),o}),Fe(t,li(t),r),n&&(r=tr(r,Rh|Ih|Nh,Ch));for(var u=e.length;u--;)Oh(r,e[u]);return r});const by=Object.freeze(Object.defineProperty({__proto__:null,default:Uh},Symbol.toStringTag,{value:"Module"}));function Us(t,e,r,n){for(var u=t.length,o=r+-1;++o<u;)if(e(t[o],o,t))return o;return-1}function Ph(t){return t!==t}function Lh(t,e,r){for(var n=r-1,u=t.length;++n<u;)if(t[n]===e)return n;return-1}function qr(t,e,r){return e===e?Lh(t,e,r):Us(t,Ph,r)}function gi(t,e){var r=t==null?0:t.length;return!!r&&qr(t,e,0)>-1}function Ps(t,e,r){for(var n=-1,u=t==null?0:t.length;++n<u;)if(r(e,t[n]))return!0;return!1}var Dh=1/0,jh=Pe&&1/ri(new Pe([,-0]))[1]==Dh?function(t){return new Pe(t)}:a0,kh=200;function ze(t,e,r){var n=-1,u=gi,o=t.length,p=!0,b=[],B=b;if(r)p=!1,u=Ps;else if(o>=kh){var E=e?null:jh(t);if(E)return ri(E);p=!1,u=nr,B=new Ae}else B=e?[]:b;t:for(;++n<o;){var d=t[n],$=e?e(d):d;if(d=r||d!==0?d:0,p&&$===$){for(var D=B.length;D--;)if(B[D]===$)continue t;e&&B.push($),b.push(d)}else u(B,$,r)||(B!==b&&B.push($),b.push(d))}return b}function qh(t,e){return t&&t.length?ze(t,pe(e)):[]}const Ey=Object.freeze(Object.defineProperty({__proto__:null,default:qh},Symbol.toStringTag,{value:"Module"})),zh=/#/g,Hh=/&/g,Gh=/\//g,Wh=/=/g,mi=/\+/g,Zh=/%5e/gi,Jh=/%60/gi,Vh=/%7c/gi,Kh=/%20/gi;function Yh(t){return encodeURI(""+t).replace(Vh,"|")}function Wn(t){return Yh(typeof t=="string"?t:JSON.stringify(t)).replace(mi,"%2B").replace(Kh,"+").replace(zh,"%23").replace(Hh,"%26").replace(Jh,"`").replace(Zh,"^").replace(Gh,"%2F")}function En(t){return Wn(t).replace(Wh,"%3D")}function Ls(t=""){try{return decodeURIComponent(""+t)}catch{return""+t}}function Xh(t){return Ls(t.replace(mi," "))}function Qh(t){return Ls(t.replace(mi," "))}function Ds(t=""){const e=Object.create(null);t[0]==="?"&&(t=t.slice(1));for(const r of t.split("&")){const n=r.match(/([^=]+)=?(.*)/)||[];if(n.length<2)continue;const u=Xh(n[1]);if(u==="__proto__"||u==="constructor")continue;const o=Qh(n[2]||"");e[u]===void 0?e[u]=o:Array.isArray(e[u])?e[u].push(o):e[u]=[e[u],o]}return e}function tp(t,e){return(typeof e=="number"||typeof e=="boolean")&&(e=String(e)),e?Array.isArray(e)?e.map(r=>`${En(t)}=${Wn(r)}`).join("&"):`${En(t)}=${Wn(e)}`:En(t)}function ep(t){return Object.keys(t).filter(e=>t[e]!==void 0).map(e=>tp(e,t[e])).filter(Boolean).join("&")}const rp=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,js=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,np=/^([/\\]\s*){2,}[^/\\]/,ip=/^\.?\//;function op(t,e={}){return typeof e=="boolean"&&(e={acceptRelative:e}),e.strict?rp.test(t):js.test(t)||(e.acceptRelative?np.test(t):!1)}function sp(t="",e){return t.endsWith("/")}function My(t="",e){return(sp(t)?t.slice(0,-1):t)||"/"}function ap(t="",e){return t.endsWith("/")?t:t+"/"}function up(t=""){return t.startsWith("/")}function _y(t=""){return(up(t)?t.slice(1):t)||"/"}function By(t,e){const r=wi(t),n={...Ds(r.search),...e};return r.search=ep(n),lp(r)}function Sy(t){return Ds(wi(t).search)}function fp(t){return t&&t!=="/"}function Ay(t,...e){let r=t||"";for(const n of e.filter(u=>fp(u)))if(r){const u=n.replace(ip,"");r=ap(r)+u}else r=n;return r}function Ty(t){return yi(t,"http://")}function Oy(t){return yi(t,"https://")}function Cy(t){return yi(t,"")}function yi(t,e){let r=t.match(js);return r||(r=t.match(/^\/{2,}/)),r?e+t.slice(r[0].length):e+t}const ks=Symbol.for("ufo:protocolRelative");function wi(t="",e){const r=t.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(r){const[,$,D=""]=r;return{protocol:$.toLowerCase(),pathname:D,href:$+D,auth:"",host:"",search:"",hash:""}}if(!op(t,{acceptRelative:!0}))return fo(t);const[,n="",u,o=""]=t.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,p="",b=""]=o.match(/([^#/?]*)(.*)?/)||[];n==="file:"&&(b=b.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:B,search:E,hash:d}=fo(b);return{protocol:n.toLowerCase(),auth:u?u.slice(0,Math.max(0,u.length-1)):"",host:p,pathname:B,search:E,hash:d,[ks]:!n}}function fo(t=""){const[e="",r="",n=""]=(t.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:e,search:r,hash:n}}function lp(t){const e=t.pathname||"",r=t.search?(t.search.startsWith("?")?"":"?")+t.search:"",n=t.hash||"",u=t.auth?t.auth+"@":"",o=t.host||"";return(t.protocol||t[ks]?(t.protocol||"")+"//":"")+u+o+e+r+n}const cp=/\/([^/]+\.[^/]+)$/;function $y(t="",e){const{pathname:r}=wi(t),n=r.match(cp);return n?n[1]:void 0}function qs(t,e){return function(){return t.apply(e,arguments)}}const{toString:hp}=Object.prototype,{getPrototypeOf:vi}=Object,{iterator:zr,toStringTag:zs}=Symbol,Hr=(t=>e=>{const r=hp.call(e);return t[r]||(t[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),le=t=>(t=t.toLowerCase(),e=>Hr(e)===t),Gr=t=>e=>typeof e===t,{isArray:Ve}=Array,ir=Gr("undefined");function pp(t){return t!==null&&!ir(t)&&t.constructor!==null&&!ir(t.constructor)&&Xt(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Hs=le("ArrayBuffer");function dp(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Hs(t.buffer),e}const gp=Gr("string"),Xt=Gr("function"),Gs=Gr("number"),Wr=t=>t!==null&&typeof t=="object",mp=t=>t===!0||t===!1,br=t=>{if(Hr(t)!=="object")return!1;const e=vi(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(zs in t)&&!(zr in t)},yp=le("Date"),wp=le("File"),vp=le("Blob"),xp=le("FileList"),bp=t=>Wr(t)&&Xt(t.pipe),Ep=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||Xt(t.append)&&((e=Hr(t))==="formdata"||e==="object"&&Xt(t.toString)&&t.toString()==="[object FormData]"))},Mp=le("URLSearchParams"),[_p,Bp,Sp,Ap]=["ReadableStream","Request","Response","Headers"].map(le),Tp=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function cr(t,e,{allOwnKeys:r=!1}={}){if(t===null||typeof t>"u")return;let n,u;if(typeof t!="object"&&(t=[t]),Ve(t))for(n=0,u=t.length;n<u;n++)e.call(null,t[n],n,t);else{const o=r?Object.getOwnPropertyNames(t):Object.keys(t),p=o.length;let b;for(n=0;n<p;n++)b=o[n],e.call(null,t[b],b,t)}}function Ws(t,e){e=e.toLowerCase();const r=Object.keys(t);let n=r.length,u;for(;n-- >0;)if(u=r[n],e===u.toLowerCase())return u;return null}const _e=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:Me,Zs=t=>!ir(t)&&t!==_e;function Zn(){const{caseless:t}=Zs(this)&&this||{},e={},r=(n,u)=>{const o=t&&Ws(e,u)||u;br(e[o])&&br(n)?e[o]=Zn(e[o],n):br(n)?e[o]=Zn({},n):Ve(n)?e[o]=n.slice():e[o]=n};for(let n=0,u=arguments.length;n<u;n++)arguments[n]&&cr(arguments[n],r);return e}const Op=(t,e,r,{allOwnKeys:n}={})=>(cr(e,(u,o)=>{r&&Xt(u)?t[o]=qs(u,r):t[o]=u},{allOwnKeys:n}),t),Cp=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),$p=(t,e,r,n)=>{t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),r&&Object.assign(t.prototype,r)},Fp=(t,e,r,n)=>{let u,o,p;const b={};if(e=e||{},t==null)return e;do{for(u=Object.getOwnPropertyNames(t),o=u.length;o-- >0;)p=u[o],(!n||n(p,t,e))&&!b[p]&&(e[p]=t[p],b[p]=!0);t=r!==!1&&vi(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},Rp=(t,e,r)=>{t=String(t),(r===void 0||r>t.length)&&(r=t.length),r-=e.length;const n=t.indexOf(e,r);return n!==-1&&n===r},Ip=t=>{if(!t)return null;if(Ve(t))return t;let e=t.length;if(!Gs(e))return null;const r=new Array(e);for(;e-- >0;)r[e]=t[e];return r},Np=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&vi(Uint8Array)),Up=(t,e)=>{const n=(t&&t[zr]).call(t);let u;for(;(u=n.next())&&!u.done;){const o=u.value;e.call(t,o[0],o[1])}},Pp=(t,e)=>{let r;const n=[];for(;(r=t.exec(e))!==null;)n.push(r);return n},Lp=le("HTMLFormElement"),Dp=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,u){return n.toUpperCase()+u}),lo=(({hasOwnProperty:t})=>(e,r)=>t.call(e,r))(Object.prototype),jp=le("RegExp"),Js=(t,e)=>{const r=Object.getOwnPropertyDescriptors(t),n={};cr(r,(u,o)=>{let p;(p=e(u,o,t))!==!1&&(n[o]=p||u)}),Object.defineProperties(t,n)},kp=t=>{Js(t,(e,r)=>{if(Xt(t)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=t[r];if(Xt(n)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},qp=(t,e)=>{const r={},n=u=>{u.forEach(o=>{r[o]=!0})};return Ve(t)?n(t):n(String(t).split(e)),r},zp=()=>{},Hp=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e;function Gp(t){return!!(t&&Xt(t.append)&&t[zs]==="FormData"&&t[zr])}const Wp=t=>{const e=new Array(10),r=(n,u)=>{if(Wr(n)){if(e.indexOf(n)>=0)return;if(!("toJSON"in n)){e[u]=n;const o=Ve(n)?[]:{};return cr(n,(p,b)=>{const B=r(p,u+1);!ir(B)&&(o[b]=B)}),e[u]=void 0,o}}return n};return r(t,0)},Zp=le("AsyncFunction"),Jp=t=>t&&(Wr(t)||Xt(t))&&Xt(t.then)&&Xt(t.catch),Vs=((t,e)=>t?setImmediate:e?((r,n)=>(_e.addEventListener("message",({source:u,data:o})=>{u===_e&&o===r&&n.length&&n.shift()()},!1),u=>{n.push(u),_e.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",Xt(_e.postMessage)),Vp=typeof queueMicrotask<"u"?queueMicrotask.bind(_e):typeof Br<"u"&&Br.nextTick||Vs,Kp=t=>t!=null&&Xt(t[zr]),et={isArray:Ve,isArrayBuffer:Hs,isBuffer:pp,isFormData:Ep,isArrayBufferView:dp,isString:gp,isNumber:Gs,isBoolean:mp,isObject:Wr,isPlainObject:br,isReadableStream:_p,isRequest:Bp,isResponse:Sp,isHeaders:Ap,isUndefined:ir,isDate:yp,isFile:wp,isBlob:vp,isRegExp:jp,isFunction:Xt,isStream:bp,isURLSearchParams:Mp,isTypedArray:Np,isFileList:xp,forEach:cr,merge:Zn,extend:Op,trim:Tp,stripBOM:Cp,inherits:$p,toFlatObject:Fp,kindOf:Hr,kindOfTest:le,endsWith:Rp,toArray:Ip,forEachEntry:Up,matchAll:Pp,isHTMLForm:Lp,hasOwnProperty:lo,hasOwnProp:lo,reduceDescriptors:Js,freezeMethods:kp,toObjectSet:qp,toCamelCase:Dp,noop:zp,toFiniteNumber:Hp,findKey:Ws,global:_e,isContextDefined:Zs,isSpecCompliantForm:Gp,toJSONObject:Wp,isAsyncFn:Zp,isThenable:Jp,setImmediate:Vs,asap:Vp,isIterable:Kp};var xi={},Zr={};Zr.byteLength=Qp;Zr.toByteArray=ed;Zr.fromByteArray=id;var he=[],re=[],Yp=typeof Uint8Array<"u"?Uint8Array:Array,Mn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var Ie=0,Xp=Mn.length;Ie<Xp;++Ie)he[Ie]=Mn[Ie],re[Mn.charCodeAt(Ie)]=Ie;re[45]=62;re[95]=63;function Ks(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function Qp(t){var e=Ks(t),r=e[0],n=e[1];return(r+n)*3/4-n}function td(t,e,r){return(e+r)*3/4-r}function ed(t){var e,r=Ks(t),n=r[0],u=r[1],o=new Yp(td(t,n,u)),p=0,b=u>0?n-4:n,B;for(B=0;B<b;B+=4)e=re[t.charCodeAt(B)]<<18|re[t.charCodeAt(B+1)]<<12|re[t.charCodeAt(B+2)]<<6|re[t.charCodeAt(B+3)],o[p++]=e>>16&255,o[p++]=e>>8&255,o[p++]=e&255;return u===2&&(e=re[t.charCodeAt(B)]<<2|re[t.charCodeAt(B+1)]>>4,o[p++]=e&255),u===1&&(e=re[t.charCodeAt(B)]<<10|re[t.charCodeAt(B+1)]<<4|re[t.charCodeAt(B+2)]>>2,o[p++]=e>>8&255,o[p++]=e&255),o}function rd(t){return he[t>>18&63]+he[t>>12&63]+he[t>>6&63]+he[t&63]}function nd(t,e,r){for(var n,u=[],o=e;o<r;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),u.push(rd(n));return u.join("")}function id(t){for(var e,r=t.length,n=r%3,u=[],o=16383,p=0,b=r-n;p<b;p+=o)u.push(nd(t,p,p+o>b?b:p+o));return n===1?(e=t[r-1],u.push(he[e>>2]+he[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],u.push(he[e>>10]+he[e>>4&63]+he[e<<2&63]+"=")),u.join("")}var bi={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */bi.read=function(t,e,r,n,u){var o,p,b=u*8-n-1,B=(1<<b)-1,E=B>>1,d=-7,$=r?u-1:0,D=r?-1:1,V=t[e+$];for($+=D,o=V&(1<<-d)-1,V>>=-d,d+=b;d>0;o=o*256+t[e+$],$+=D,d-=8);for(p=o&(1<<-d)-1,o>>=-d,d+=n;d>0;p=p*256+t[e+$],$+=D,d-=8);if(o===0)o=1-E;else{if(o===B)return p?NaN:(V?-1:1)*(1/0);p=p+Math.pow(2,n),o=o-E}return(V?-1:1)*p*Math.pow(2,o-n)};bi.write=function(t,e,r,n,u,o){var p,b,B,E=o*8-u-1,d=(1<<E)-1,$=d>>1,D=u===23?Math.pow(2,-24)-Math.pow(2,-77):0,V=n?0:o-1,tt=n?1:-1,ot=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(b=isNaN(e)?1:0,p=d):(p=Math.floor(Math.log(e)/Math.LN2),e*(B=Math.pow(2,-p))<1&&(p--,B*=2),p+$>=1?e+=D/B:e+=D*Math.pow(2,1-$),e*B>=2&&(p++,B/=2),p+$>=d?(b=0,p=d):p+$>=1?(b=(e*B-1)*Math.pow(2,u),p=p+$):(b=e*Math.pow(2,$-1)*Math.pow(2,u),p=0));u>=8;t[r+V]=b&255,V+=tt,b/=256,u-=8);for(p=p<<u|b,E+=u;E>0;t[r+V]=p&255,V+=tt,p/=256,E-=8);t[r+V-tt]|=ot*128};/*!
|
|
2
|
+
* The buffer module from node.js, for the browser.
|
|
3
|
+
*
|
|
4
|
+
* @author Feross Aboukhadijeh <https://feross.org>
|
|
5
|
+
* @license MIT
|
|
6
|
+
*/(function(t){const e=Zr,r=bi,n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=d,t.SlowBuffer=ut,t.INSPECT_MAX_BYTES=50;const u=2147483647;t.kMaxLength=u;const{Uint8Array:o,ArrayBuffer:p,SharedArrayBuffer:b}=globalThis;d.TYPED_ARRAY_SUPPORT=B(),!d.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 B(){try{const y=new o(1),s={foo:function(){return 42}};return Object.setPrototypeOf(s,o.prototype),Object.setPrototypeOf(y,s),y.foo()===42}catch{return!1}}Object.defineProperty(d.prototype,"parent",{enumerable:!0,get:function(){if(d.isBuffer(this))return this.buffer}}),Object.defineProperty(d.prototype,"offset",{enumerable:!0,get:function(){if(d.isBuffer(this))return this.byteOffset}});function E(y){if(y>u)throw new RangeError('The value "'+y+'" is invalid for option "size"');const s=new o(y);return Object.setPrototypeOf(s,d.prototype),s}function d(y,s,l){if(typeof y=="number"){if(typeof s=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return tt(y)}return $(y,s,l)}d.poolSize=8192;function $(y,s,l){if(typeof y=="string")return ot(y,s);if(p.isView(y))return lt(y);if(y==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof y);if(Et(y,p)||y&&Et(y.buffer,p)||typeof b<"u"&&(Et(y,b)||y&&Et(y.buffer,b)))return X(y,s,l);if(typeof y=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const _=y.valueOf&&y.valueOf();if(_!=null&&_!==y)return d.from(_,s,l);const I=at(y);if(I)return I;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof y[Symbol.toPrimitive]=="function")return d.from(y[Symbol.toPrimitive]("string"),s,l);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof y)}d.from=function(y,s,l){return $(y,s,l)},Object.setPrototypeOf(d.prototype,o.prototype),Object.setPrototypeOf(d,o);function D(y){if(typeof y!="number")throw new TypeError('"size" argument must be of type number');if(y<0)throw new RangeError('The value "'+y+'" is invalid for option "size"')}function V(y,s,l){return D(y),y<=0?E(y):s!==void 0?typeof l=="string"?E(y).fill(s,l):E(y).fill(s):E(y)}d.alloc=function(y,s,l){return V(y,s,l)};function tt(y){return D(y),E(y<0?0:pt(y)|0)}d.allocUnsafe=function(y){return tt(y)},d.allocUnsafeSlow=function(y){return tt(y)};function ot(y,s){if((typeof s!="string"||s==="")&&(s="utf8"),!d.isEncoding(s))throw new TypeError("Unknown encoding: "+s);const l=Y(y,s)|0;let _=E(l);const I=_.write(y,s);return I!==l&&(_=_.slice(0,I)),_}function J(y){const s=y.length<0?0:pt(y.length)|0,l=E(s);for(let _=0;_<s;_+=1)l[_]=y[_]&255;return l}function lt(y){if(Et(y,o)){const s=new o(y);return X(s.buffer,s.byteOffset,s.byteLength)}return J(y)}function X(y,s,l){if(s<0||y.byteLength<s)throw new RangeError('"offset" is outside of buffer bounds');if(y.byteLength<s+(l||0))throw new RangeError('"length" is outside of buffer bounds');let _;return s===void 0&&l===void 0?_=new o(y):l===void 0?_=new o(y,s):_=new o(y,s,l),Object.setPrototypeOf(_,d.prototype),_}function at(y){if(d.isBuffer(y)){const s=pt(y.length)|0,l=E(s);return l.length===0||y.copy(l,0,0,s),l}if(y.length!==void 0)return typeof y.length!="number"||Nt(y.length)?E(0):J(y);if(y.type==="Buffer"&&Array.isArray(y.data))return J(y.data)}function pt(y){if(y>=u)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+u.toString(16)+" bytes");return y|0}function ut(y){return+y!=y&&(y=0),d.alloc(+y)}d.isBuffer=function(s){return s!=null&&s._isBuffer===!0&&s!==d.prototype},d.compare=function(s,l){if(Et(s,o)&&(s=d.from(s,s.offset,s.byteLength)),Et(l,o)&&(l=d.from(l,l.offset,l.byteLength)),!d.isBuffer(s)||!d.isBuffer(l))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(s===l)return 0;let _=s.length,I=l.length;for(let W=0,K=Math.min(_,I);W<K;++W)if(s[W]!==l[W]){_=s[W],I=l[W];break}return _<I?-1:I<_?1:0},d.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}},d.concat=function(s,l){if(!Array.isArray(s))throw new TypeError('"list" argument must be an Array of Buffers');if(s.length===0)return d.alloc(0);let _;if(l===void 0)for(l=0,_=0;_<s.length;++_)l+=s[_].length;const I=d.allocUnsafe(l);let W=0;for(_=0;_<s.length;++_){let K=s[_];if(Et(K,o))W+K.length>I.length?(d.isBuffer(K)||(K=d.from(K)),K.copy(I,W)):o.prototype.set.call(I,K,W);else if(d.isBuffer(K))K.copy(I,W);else throw new TypeError('"list" argument must be an Array of Buffers');W+=K.length}return I};function Y(y,s){if(d.isBuffer(y))return y.length;if(p.isView(y)||Et(y,p))return y.byteLength;if(typeof y!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof y);const l=y.length,_=arguments.length>2&&arguments[2]===!0;if(!_&&l===0)return 0;let I=!1;for(;;)switch(s){case"ascii":case"latin1":case"binary":return l;case"utf8":case"utf-8":return Z(y).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return l*2;case"hex":return l>>>1;case"base64":return yt(y).length;default:if(I)return _?-1:Z(y).length;s=(""+s).toLowerCase(),I=!0}}d.byteLength=Y;function G(y,s,l){let _=!1;if((s===void 0||s<0)&&(s=0),s>this.length||((l===void 0||l>this.length)&&(l=this.length),l<=0)||(l>>>=0,s>>>=0,l<=s))return"";for(y||(y="utf8");;)switch(y){case"hex":return ct(this,s,l);case"utf8":case"utf-8":return C(this,s,l);case"ascii":return f(this,s,l);case"latin1":case"binary":return T(this,s,l);case"base64":return v(this,s,l);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return dt(this,s,l);default:if(_)throw new TypeError("Unknown encoding: "+y);y=(y+"").toLowerCase(),_=!0}}d.prototype._isBuffer=!0;function st(y,s,l){const _=y[s];y[s]=y[l],y[l]=_}d.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 l=0;l<s;l+=2)st(this,l,l+1);return this},d.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 l=0;l<s;l+=4)st(this,l,l+3),st(this,l+1,l+2);return this},d.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 l=0;l<s;l+=8)st(this,l,l+7),st(this,l+1,l+6),st(this,l+2,l+5),st(this,l+3,l+4);return this},d.prototype.toString=function(){const s=this.length;return s===0?"":arguments.length===0?C(this,0,s):G.apply(this,arguments)},d.prototype.toLocaleString=d.prototype.toString,d.prototype.equals=function(s){if(!d.isBuffer(s))throw new TypeError("Argument must be a Buffer");return this===s?!0:d.compare(this,s)===0},d.prototype.inspect=function(){let s="";const l=t.INSPECT_MAX_BYTES;return s=this.toString("hex",0,l).replace(/(.{2})/g,"$1 ").trim(),this.length>l&&(s+=" ... "),"<Buffer "+s+">"},n&&(d.prototype[n]=d.prototype.inspect),d.prototype.compare=function(s,l,_,I,W){if(Et(s,o)&&(s=d.from(s,s.offset,s.byteLength)),!d.isBuffer(s))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof s);if(l===void 0&&(l=0),_===void 0&&(_=s?s.length:0),I===void 0&&(I=0),W===void 0&&(W=this.length),l<0||_>s.length||I<0||W>this.length)throw new RangeError("out of range index");if(I>=W&&l>=_)return 0;if(I>=W)return-1;if(l>=_)return 1;if(l>>>=0,_>>>=0,I>>>=0,W>>>=0,this===s)return 0;let K=W-I,gt=_-l;const Ut=Math.min(K,gt),Bt=this.slice(I,W),St=s.slice(l,_);for(let Ft=0;Ft<Ut;++Ft)if(Bt[Ft]!==St[Ft]){K=Bt[Ft],gt=St[Ft];break}return K<gt?-1:gt<K?1:0};function ht(y,s,l,_,I){if(y.length===0)return-1;if(typeof l=="string"?(_=l,l=0):l>2147483647?l=2147483647:l<-2147483648&&(l=-2147483648),l=+l,Nt(l)&&(l=I?0:y.length-1),l<0&&(l=y.length+l),l>=y.length){if(I)return-1;l=y.length-1}else if(l<0)if(I)l=0;else return-1;if(typeof s=="string"&&(s=d.from(s,_)),d.isBuffer(s))return s.length===0?-1:nt(y,s,l,_,I);if(typeof s=="number")return s=s&255,typeof o.prototype.indexOf=="function"?I?o.prototype.indexOf.call(y,s,l):o.prototype.lastIndexOf.call(y,s,l):nt(y,[s],l,_,I);throw new TypeError("val must be string, number or Buffer")}function nt(y,s,l,_,I){let W=1,K=y.length,gt=s.length;if(_!==void 0&&(_=String(_).toLowerCase(),_==="ucs2"||_==="ucs-2"||_==="utf16le"||_==="utf-16le")){if(y.length<2||s.length<2)return-1;W=2,K/=2,gt/=2,l/=2}function Ut(St,Ft){return W===1?St[Ft]:St.readUInt16BE(Ft*W)}let Bt;if(I){let St=-1;for(Bt=l;Bt<K;Bt++)if(Ut(y,Bt)===Ut(s,St===-1?0:Bt-St)){if(St===-1&&(St=Bt),Bt-St+1===gt)return St*W}else St!==-1&&(Bt-=Bt-St),St=-1}else for(l+gt>K&&(l=K-gt),Bt=l;Bt>=0;Bt--){let St=!0;for(let Ft=0;Ft<gt;Ft++)if(Ut(y,Bt+Ft)!==Ut(s,Ft)){St=!1;break}if(St)return Bt}return-1}d.prototype.includes=function(s,l,_){return this.indexOf(s,l,_)!==-1},d.prototype.indexOf=function(s,l,_){return ht(this,s,l,_,!0)},d.prototype.lastIndexOf=function(s,l,_){return ht(this,s,l,_,!1)};function A(y,s,l,_){l=Number(l)||0;const I=y.length-l;_?(_=Number(_),_>I&&(_=I)):_=I;const W=s.length;_>W/2&&(_=W/2);let K;for(K=0;K<_;++K){const gt=parseInt(s.substr(K*2,2),16);if(Nt(gt))return K;y[l+K]=gt}return K}function i(y,s,l,_){return wt(Z(s,y.length-l),y,l,_)}function h(y,s,l,_){return wt(it(s),y,l,_)}function g(y,s,l,_){return wt(yt(s),y,l,_)}function m(y,s,l,_){return wt(ft(s,y.length-l),y,l,_)}d.prototype.write=function(s,l,_,I){if(l===void 0)I="utf8",_=this.length,l=0;else if(_===void 0&&typeof l=="string")I=l,_=this.length,l=0;else if(isFinite(l))l=l>>>0,isFinite(_)?(_=_>>>0,I===void 0&&(I="utf8")):(I=_,_=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const W=this.length-l;if((_===void 0||_>W)&&(_=W),s.length>0&&(_<0||l<0)||l>this.length)throw new RangeError("Attempt to write outside buffer bounds");I||(I="utf8");let K=!1;for(;;)switch(I){case"hex":return A(this,s,l,_);case"utf8":case"utf-8":return i(this,s,l,_);case"ascii":case"latin1":case"binary":return h(this,s,l,_);case"base64":return g(this,s,l,_);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return m(this,s,l,_);default:if(K)throw new TypeError("Unknown encoding: "+I);I=(""+I).toLowerCase(),K=!0}},d.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function v(y,s,l){return s===0&&l===y.length?e.fromByteArray(y):e.fromByteArray(y.slice(s,l))}function C(y,s,l){l=Math.min(y.length,l);const _=[];let I=s;for(;I<l;){const W=y[I];let K=null,gt=W>239?4:W>223?3:W>191?2:1;if(I+gt<=l){let Ut,Bt,St,Ft;switch(gt){case 1:W<128&&(K=W);break;case 2:Ut=y[I+1],(Ut&192)===128&&(Ft=(W&31)<<6|Ut&63,Ft>127&&(K=Ft));break;case 3:Ut=y[I+1],Bt=y[I+2],(Ut&192)===128&&(Bt&192)===128&&(Ft=(W&15)<<12|(Ut&63)<<6|Bt&63,Ft>2047&&(Ft<55296||Ft>57343)&&(K=Ft));break;case 4:Ut=y[I+1],Bt=y[I+2],St=y[I+3],(Ut&192)===128&&(Bt&192)===128&&(St&192)===128&&(Ft=(W&15)<<18|(Ut&63)<<12|(Bt&63)<<6|St&63,Ft>65535&&Ft<1114112&&(K=Ft))}}K===null?(K=65533,gt=1):K>65535&&(K-=65536,_.push(K>>>10&1023|55296),K=56320|K&1023),_.push(K),I+=gt}return M(_)}const F=4096;function M(y){const s=y.length;if(s<=F)return String.fromCharCode.apply(String,y);let l="",_=0;for(;_<s;)l+=String.fromCharCode.apply(String,y.slice(_,_+=F));return l}function f(y,s,l){let _="";l=Math.min(y.length,l);for(let I=s;I<l;++I)_+=String.fromCharCode(y[I]&127);return _}function T(y,s,l){let _="";l=Math.min(y.length,l);for(let I=s;I<l;++I)_+=String.fromCharCode(y[I]);return _}function ct(y,s,l){const _=y.length;(!s||s<0)&&(s=0),(!l||l<0||l>_)&&(l=_);let I="";for(let W=s;W<l;++W)I+=xt[y[W]];return I}function dt(y,s,l){const _=y.slice(s,l);let I="";for(let W=0;W<_.length-1;W+=2)I+=String.fromCharCode(_[W]+_[W+1]*256);return I}d.prototype.slice=function(s,l){const _=this.length;s=~~s,l=l===void 0?_:~~l,s<0?(s+=_,s<0&&(s=0)):s>_&&(s=_),l<0?(l+=_,l<0&&(l=0)):l>_&&(l=_),l<s&&(l=s);const I=this.subarray(s,l);return Object.setPrototypeOf(I,d.prototype),I};function k(y,s,l){if(y%1!==0||y<0)throw new RangeError("offset is not uint");if(y+s>l)throw new RangeError("Trying to access beyond buffer length")}d.prototype.readUintLE=d.prototype.readUIntLE=function(s,l,_){s=s>>>0,l=l>>>0,_||k(s,l,this.length);let I=this[s],W=1,K=0;for(;++K<l&&(W*=256);)I+=this[s+K]*W;return I},d.prototype.readUintBE=d.prototype.readUIntBE=function(s,l,_){s=s>>>0,l=l>>>0,_||k(s,l,this.length);let I=this[s+--l],W=1;for(;l>0&&(W*=256);)I+=this[s+--l]*W;return I},d.prototype.readUint8=d.prototype.readUInt8=function(s,l){return s=s>>>0,l||k(s,1,this.length),this[s]},d.prototype.readUint16LE=d.prototype.readUInt16LE=function(s,l){return s=s>>>0,l||k(s,2,this.length),this[s]|this[s+1]<<8},d.prototype.readUint16BE=d.prototype.readUInt16BE=function(s,l){return s=s>>>0,l||k(s,2,this.length),this[s]<<8|this[s+1]},d.prototype.readUint32LE=d.prototype.readUInt32LE=function(s,l){return s=s>>>0,l||k(s,4,this.length),(this[s]|this[s+1]<<8|this[s+2]<<16)+this[s+3]*16777216},d.prototype.readUint32BE=d.prototype.readUInt32BE=function(s,l){return s=s>>>0,l||k(s,4,this.length),this[s]*16777216+(this[s+1]<<16|this[s+2]<<8|this[s+3])},d.prototype.readBigUInt64LE=vt(function(s){s=s>>>0,H(s,"offset");const l=this[s],_=this[s+7];(l===void 0||_===void 0)&&U(s,this.length-8);const I=l+this[++s]*2**8+this[++s]*2**16+this[++s]*2**24,W=this[++s]+this[++s]*2**8+this[++s]*2**16+_*2**24;return BigInt(I)+(BigInt(W)<<BigInt(32))}),d.prototype.readBigUInt64BE=vt(function(s){s=s>>>0,H(s,"offset");const l=this[s],_=this[s+7];(l===void 0||_===void 0)&&U(s,this.length-8);const I=l*2**24+this[++s]*2**16+this[++s]*2**8+this[++s],W=this[++s]*2**24+this[++s]*2**16+this[++s]*2**8+_;return(BigInt(I)<<BigInt(32))+BigInt(W)}),d.prototype.readIntLE=function(s,l,_){s=s>>>0,l=l>>>0,_||k(s,l,this.length);let I=this[s],W=1,K=0;for(;++K<l&&(W*=256);)I+=this[s+K]*W;return W*=128,I>=W&&(I-=Math.pow(2,8*l)),I},d.prototype.readIntBE=function(s,l,_){s=s>>>0,l=l>>>0,_||k(s,l,this.length);let I=l,W=1,K=this[s+--I];for(;I>0&&(W*=256);)K+=this[s+--I]*W;return W*=128,K>=W&&(K-=Math.pow(2,8*l)),K},d.prototype.readInt8=function(s,l){return s=s>>>0,l||k(s,1,this.length),this[s]&128?(255-this[s]+1)*-1:this[s]},d.prototype.readInt16LE=function(s,l){s=s>>>0,l||k(s,2,this.length);const _=this[s]|this[s+1]<<8;return _&32768?_|4294901760:_},d.prototype.readInt16BE=function(s,l){s=s>>>0,l||k(s,2,this.length);const _=this[s+1]|this[s]<<8;return _&32768?_|4294901760:_},d.prototype.readInt32LE=function(s,l){return s=s>>>0,l||k(s,4,this.length),this[s]|this[s+1]<<8|this[s+2]<<16|this[s+3]<<24},d.prototype.readInt32BE=function(s,l){return s=s>>>0,l||k(s,4,this.length),this[s]<<24|this[s+1]<<16|this[s+2]<<8|this[s+3]},d.prototype.readBigInt64LE=vt(function(s){s=s>>>0,H(s,"offset");const l=this[s],_=this[s+7];(l===void 0||_===void 0)&&U(s,this.length-8);const I=this[s+4]+this[s+5]*2**8+this[s+6]*2**16+(_<<24);return(BigInt(I)<<BigInt(32))+BigInt(l+this[++s]*2**8+this[++s]*2**16+this[++s]*2**24)}),d.prototype.readBigInt64BE=vt(function(s){s=s>>>0,H(s,"offset");const l=this[s],_=this[s+7];(l===void 0||_===void 0)&&U(s,this.length-8);const I=(l<<24)+this[++s]*2**16+this[++s]*2**8+this[++s];return(BigInt(I)<<BigInt(32))+BigInt(this[++s]*2**24+this[++s]*2**16+this[++s]*2**8+_)}),d.prototype.readFloatLE=function(s,l){return s=s>>>0,l||k(s,4,this.length),r.read(this,s,!0,23,4)},d.prototype.readFloatBE=function(s,l){return s=s>>>0,l||k(s,4,this.length),r.read(this,s,!1,23,4)},d.prototype.readDoubleLE=function(s,l){return s=s>>>0,l||k(s,8,this.length),r.read(this,s,!0,52,8)},d.prototype.readDoubleBE=function(s,l){return s=s>>>0,l||k(s,8,this.length),r.read(this,s,!1,52,8)};function mt(y,s,l,_,I,W){if(!d.isBuffer(y))throw new TypeError('"buffer" argument must be a Buffer instance');if(s>I||s<W)throw new RangeError('"value" argument is out of bounds');if(l+_>y.length)throw new RangeError("Index out of range")}d.prototype.writeUintLE=d.prototype.writeUIntLE=function(s,l,_,I){if(s=+s,l=l>>>0,_=_>>>0,!I){const gt=Math.pow(2,8*_)-1;mt(this,s,l,_,gt,0)}let W=1,K=0;for(this[l]=s&255;++K<_&&(W*=256);)this[l+K]=s/W&255;return l+_},d.prototype.writeUintBE=d.prototype.writeUIntBE=function(s,l,_,I){if(s=+s,l=l>>>0,_=_>>>0,!I){const gt=Math.pow(2,8*_)-1;mt(this,s,l,_,gt,0)}let W=_-1,K=1;for(this[l+W]=s&255;--W>=0&&(K*=256);)this[l+W]=s/K&255;return l+_},d.prototype.writeUint8=d.prototype.writeUInt8=function(s,l,_){return s=+s,l=l>>>0,_||mt(this,s,l,1,255,0),this[l]=s&255,l+1},d.prototype.writeUint16LE=d.prototype.writeUInt16LE=function(s,l,_){return s=+s,l=l>>>0,_||mt(this,s,l,2,65535,0),this[l]=s&255,this[l+1]=s>>>8,l+2},d.prototype.writeUint16BE=d.prototype.writeUInt16BE=function(s,l,_){return s=+s,l=l>>>0,_||mt(this,s,l,2,65535,0),this[l]=s>>>8,this[l+1]=s&255,l+2},d.prototype.writeUint32LE=d.prototype.writeUInt32LE=function(s,l,_){return s=+s,l=l>>>0,_||mt(this,s,l,4,4294967295,0),this[l+3]=s>>>24,this[l+2]=s>>>16,this[l+1]=s>>>8,this[l]=s&255,l+4},d.prototype.writeUint32BE=d.prototype.writeUInt32BE=function(s,l,_){return s=+s,l=l>>>0,_||mt(this,s,l,4,4294967295,0),this[l]=s>>>24,this[l+1]=s>>>16,this[l+2]=s>>>8,this[l+3]=s&255,l+4};function Mt(y,s,l,_,I){L(s,_,I,y,l,7);let W=Number(s&BigInt(4294967295));y[l++]=W,W=W>>8,y[l++]=W,W=W>>8,y[l++]=W,W=W>>8,y[l++]=W;let K=Number(s>>BigInt(32)&BigInt(4294967295));return y[l++]=K,K=K>>8,y[l++]=K,K=K>>8,y[l++]=K,K=K>>8,y[l++]=K,l}function Tt(y,s,l,_,I){L(s,_,I,y,l,7);let W=Number(s&BigInt(4294967295));y[l+7]=W,W=W>>8,y[l+6]=W,W=W>>8,y[l+5]=W,W=W>>8,y[l+4]=W;let K=Number(s>>BigInt(32)&BigInt(4294967295));return y[l+3]=K,K=K>>8,y[l+2]=K,K=K>>8,y[l+1]=K,K=K>>8,y[l]=K,l+8}d.prototype.writeBigUInt64LE=vt(function(s,l=0){return Mt(this,s,l,BigInt(0),BigInt("0xffffffffffffffff"))}),d.prototype.writeBigUInt64BE=vt(function(s,l=0){return Tt(this,s,l,BigInt(0),BigInt("0xffffffffffffffff"))}),d.prototype.writeIntLE=function(s,l,_,I){if(s=+s,l=l>>>0,!I){const Ut=Math.pow(2,8*_-1);mt(this,s,l,_,Ut-1,-Ut)}let W=0,K=1,gt=0;for(this[l]=s&255;++W<_&&(K*=256);)s<0&>===0&&this[l+W-1]!==0&&(gt=1),this[l+W]=(s/K>>0)-gt&255;return l+_},d.prototype.writeIntBE=function(s,l,_,I){if(s=+s,l=l>>>0,!I){const Ut=Math.pow(2,8*_-1);mt(this,s,l,_,Ut-1,-Ut)}let W=_-1,K=1,gt=0;for(this[l+W]=s&255;--W>=0&&(K*=256);)s<0&>===0&&this[l+W+1]!==0&&(gt=1),this[l+W]=(s/K>>0)-gt&255;return l+_},d.prototype.writeInt8=function(s,l,_){return s=+s,l=l>>>0,_||mt(this,s,l,1,127,-128),s<0&&(s=255+s+1),this[l]=s&255,l+1},d.prototype.writeInt16LE=function(s,l,_){return s=+s,l=l>>>0,_||mt(this,s,l,2,32767,-32768),this[l]=s&255,this[l+1]=s>>>8,l+2},d.prototype.writeInt16BE=function(s,l,_){return s=+s,l=l>>>0,_||mt(this,s,l,2,32767,-32768),this[l]=s>>>8,this[l+1]=s&255,l+2},d.prototype.writeInt32LE=function(s,l,_){return s=+s,l=l>>>0,_||mt(this,s,l,4,2147483647,-2147483648),this[l]=s&255,this[l+1]=s>>>8,this[l+2]=s>>>16,this[l+3]=s>>>24,l+4},d.prototype.writeInt32BE=function(s,l,_){return s=+s,l=l>>>0,_||mt(this,s,l,4,2147483647,-2147483648),s<0&&(s=4294967295+s+1),this[l]=s>>>24,this[l+1]=s>>>16,this[l+2]=s>>>8,this[l+3]=s&255,l+4},d.prototype.writeBigInt64LE=vt(function(s,l=0){return Mt(this,s,l,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),d.prototype.writeBigInt64BE=vt(function(s,l=0){return Tt(this,s,l,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function $t(y,s,l,_,I,W){if(l+_>y.length)throw new RangeError("Index out of range");if(l<0)throw new RangeError("Index out of range")}function _t(y,s,l,_,I){return s=+s,l=l>>>0,I||$t(y,s,l,4),r.write(y,s,l,_,23,4),l+4}d.prototype.writeFloatLE=function(s,l,_){return _t(this,s,l,!0,_)},d.prototype.writeFloatBE=function(s,l,_){return _t(this,s,l,!1,_)};function x(y,s,l,_,I){return s=+s,l=l>>>0,I||$t(y,s,l,8),r.write(y,s,l,_,52,8),l+8}d.prototype.writeDoubleLE=function(s,l,_){return x(this,s,l,!0,_)},d.prototype.writeDoubleBE=function(s,l,_){return x(this,s,l,!1,_)},d.prototype.copy=function(s,l,_,I){if(!d.isBuffer(s))throw new TypeError("argument should be a Buffer");if(_||(_=0),!I&&I!==0&&(I=this.length),l>=s.length&&(l=s.length),l||(l=0),I>0&&I<_&&(I=_),I===_||s.length===0||this.length===0)return 0;if(l<0)throw new RangeError("targetStart out of bounds");if(_<0||_>=this.length)throw new RangeError("Index out of range");if(I<0)throw new RangeError("sourceEnd out of bounds");I>this.length&&(I=this.length),s.length-l<I-_&&(I=s.length-l+_);const W=I-_;return this===s&&typeof o.prototype.copyWithin=="function"?this.copyWithin(l,_,I):o.prototype.set.call(s,this.subarray(_,I),l),W},d.prototype.fill=function(s,l,_,I){if(typeof s=="string"){if(typeof l=="string"?(I=l,l=0,_=this.length):typeof _=="string"&&(I=_,_=this.length),I!==void 0&&typeof I!="string")throw new TypeError("encoding must be a string");if(typeof I=="string"&&!d.isEncoding(I))throw new TypeError("Unknown encoding: "+I);if(s.length===1){const K=s.charCodeAt(0);(I==="utf8"&&K<128||I==="latin1")&&(s=K)}}else typeof s=="number"?s=s&255:typeof s=="boolean"&&(s=Number(s));if(l<0||this.length<l||this.length<_)throw new RangeError("Out of range index");if(_<=l)return this;l=l>>>0,_=_===void 0?this.length:_>>>0,s||(s=0);let W;if(typeof s=="number")for(W=l;W<_;++W)this[W]=s;else{const K=d.isBuffer(s)?s:d.from(s,I),gt=K.length;if(gt===0)throw new TypeError('The value "'+s+'" is invalid for argument "value"');for(W=0;W<_-l;++W)this[W+l]=K[W%gt]}return this};const O={};function R(y,s,l){O[y]=class extends l{constructor(){super(),Object.defineProperty(this,"message",{value:s.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${y}]`,this.stack,delete this.name}get code(){return y}set code(I){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:I,writable:!0})}toString(){return`${this.name} [${y}]: ${this.message}`}}}R("ERR_BUFFER_OUT_OF_BOUNDS",function(y){return y?`${y} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),R("ERR_INVALID_ARG_TYPE",function(y,s){return`The "${y}" argument must be of type number. Received type ${typeof s}`},TypeError),R("ERR_OUT_OF_RANGE",function(y,s,l){let _=`The value of "${y}" is out of range.`,I=l;return Number.isInteger(l)&&Math.abs(l)>2**32?I=q(String(l)):typeof l=="bigint"&&(I=String(l),(l>BigInt(2)**BigInt(32)||l<-(BigInt(2)**BigInt(32)))&&(I=q(I)),I+="n"),_+=` It must be ${s}. Received ${I}`,_},RangeError);function q(y){let s="",l=y.length;const _=y[0]==="-"?1:0;for(;l>=_+4;l-=3)s=`_${y.slice(l-3,l)}${s}`;return`${y.slice(0,l)}${s}`}function j(y,s,l){H(s,"offset"),(y[s]===void 0||y[s+l]===void 0)&&U(s,y.length-(l+1))}function L(y,s,l,_,I,W){if(y>l||y<s){const K=typeof s=="bigint"?"n":"";let gt;throw s===0||s===BigInt(0)?gt=`>= 0${K} and < 2${K} ** ${(W+1)*8}${K}`:gt=`>= -(2${K} ** ${(W+1)*8-1}${K}) and < 2 ** ${(W+1)*8-1}${K}`,new O.ERR_OUT_OF_RANGE("value",gt,y)}j(_,I,W)}function H(y,s){if(typeof y!="number")throw new O.ERR_INVALID_ARG_TYPE(s,"number",y)}function U(y,s,l){throw Math.floor(y)!==y?(H(y,l),new O.ERR_OUT_OF_RANGE("offset","an integer",y)):s<0?new O.ERR_BUFFER_OUT_OF_BOUNDS:new O.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${s}`,y)}const P=/[^+/0-9A-Za-z-_]/g;function z(y){if(y=y.split("=")[0],y=y.trim().replace(P,""),y.length<2)return"";for(;y.length%4!==0;)y=y+"=";return y}function Z(y,s){s=s||1/0;let l;const _=y.length;let I=null;const W=[];for(let K=0;K<_;++K){if(l=y.charCodeAt(K),l>55295&&l<57344){if(!I){if(l>56319){(s-=3)>-1&&W.push(239,191,189);continue}else if(K+1===_){(s-=3)>-1&&W.push(239,191,189);continue}I=l;continue}if(l<56320){(s-=3)>-1&&W.push(239,191,189),I=l;continue}l=(I-55296<<10|l-56320)+65536}else I&&(s-=3)>-1&&W.push(239,191,189);if(I=null,l<128){if((s-=1)<0)break;W.push(l)}else if(l<2048){if((s-=2)<0)break;W.push(l>>6|192,l&63|128)}else if(l<65536){if((s-=3)<0)break;W.push(l>>12|224,l>>6&63|128,l&63|128)}else if(l<1114112){if((s-=4)<0)break;W.push(l>>18|240,l>>12&63|128,l>>6&63|128,l&63|128)}else throw new Error("Invalid code point")}return W}function it(y){const s=[];for(let l=0;l<y.length;++l)s.push(y.charCodeAt(l)&255);return s}function ft(y,s){let l,_,I;const W=[];for(let K=0;K<y.length&&!((s-=2)<0);++K)l=y.charCodeAt(K),_=l>>8,I=l%256,W.push(I),W.push(_);return W}function yt(y){return e.toByteArray(z(y))}function wt(y,s,l,_){let I;for(I=0;I<_&&!(I+l>=s.length||I>=y.length);++I)s[I+l]=y[I];return I}function Et(y,s){return y instanceof s||y!=null&&y.constructor!=null&&y.constructor.name!=null&&y.constructor.name===s.name}function Nt(y){return y!==y}const xt=function(){const y="0123456789abcdef",s=new Array(256);for(let l=0;l<16;++l){const _=l*16;for(let I=0;I<16;++I)s[_+I]=y[l]+y[I]}return s}();function vt(y){return typeof BigInt>"u"?Lt:y}function Lt(){throw new Error("BigInt not supported")}})(xi);const od=xi.Buffer,Ry=xi.Buffer;function Ct(t,e,r,n,u){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),n&&(this.request=n),u&&(this.response=u,this.status=u.status?u.status:null)}et.inherits(Ct,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:et.toJSONObject(this.config),code:this.code,status:this.status}}});const Ys=Ct.prototype,Xs={};["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(t=>{Xs[t]={value:t}});Object.defineProperties(Ct,Xs);Object.defineProperty(Ys,"isAxiosError",{value:!0});Ct.from=(t,e,r,n,u,o)=>{const p=Object.create(Ys);return et.toFlatObject(t,p,function(B){return B!==Error.prototype},b=>b!=="isAxiosError"),Ct.call(p,t.message,e,r,n,u),p.cause=t,p.name=t.name,o&&Object.assign(p,o),p};const sd=null;function Jn(t){return et.isPlainObject(t)||et.isArray(t)}function Qs(t){return et.endsWith(t,"[]")?t.slice(0,-2):t}function co(t,e,r){return t?t.concat(e).map(function(u,o){return u=Qs(u),!r&&o?"["+u+"]":u}).join(r?".":""):e}function ad(t){return et.isArray(t)&&!t.some(Jn)}const ud=et.toFlatObject(et,{},null,function(e){return/^is[A-Z]/.test(e)});function Jr(t,e,r){if(!et.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,r=et.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(ot,J){return!et.isUndefined(J[ot])});const n=r.metaTokens,u=r.visitor||d,o=r.dots,p=r.indexes,B=(r.Blob||typeof Blob<"u"&&Blob)&&et.isSpecCompliantForm(e);if(!et.isFunction(u))throw new TypeError("visitor must be a function");function E(tt){if(tt===null)return"";if(et.isDate(tt))return tt.toISOString();if(!B&&et.isBlob(tt))throw new Ct("Blob is not supported. Use a Buffer instead.");return et.isArrayBuffer(tt)||et.isTypedArray(tt)?B&&typeof Blob=="function"?new Blob([tt]):od.from(tt):tt}function d(tt,ot,J){let lt=tt;if(tt&&!J&&typeof tt=="object"){if(et.endsWith(ot,"{}"))ot=n?ot:ot.slice(0,-2),tt=JSON.stringify(tt);else if(et.isArray(tt)&&ad(tt)||(et.isFileList(tt)||et.endsWith(ot,"[]"))&&(lt=et.toArray(tt)))return ot=Qs(ot),lt.forEach(function(at,pt){!(et.isUndefined(at)||at===null)&&e.append(p===!0?co([ot],pt,o):p===null?ot:ot+"[]",E(at))}),!1}return Jn(tt)?!0:(e.append(co(J,ot,o),E(tt)),!1)}const $=[],D=Object.assign(ud,{defaultVisitor:d,convertValue:E,isVisitable:Jn});function V(tt,ot){if(!et.isUndefined(tt)){if($.indexOf(tt)!==-1)throw Error("Circular reference detected in "+ot.join("."));$.push(tt),et.forEach(tt,function(lt,X){(!(et.isUndefined(lt)||lt===null)&&u.call(e,lt,et.isString(X)?X.trim():X,ot,D))===!0&&V(lt,ot?ot.concat(X):[X])}),$.pop()}}if(!et.isObject(t))throw new TypeError("data must be an object");return V(t),e}function ho(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(n){return e[n]})}function Ei(t,e){this._pairs=[],t&&Jr(t,this,e)}const ta=Ei.prototype;ta.append=function(e,r){this._pairs.push([e,r])};ta.toString=function(e){const r=e?function(n){return e.call(this,n,ho)}:ho;return this._pairs.map(function(u){return r(u[0])+"="+r(u[1])},"").join("&")};function fd(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ea(t,e,r){if(!e)return t;const n=r&&r.encode||fd;et.isFunction(r)&&(r={serialize:r});const u=r&&r.serialize;let o;if(u?o=u(e,r):o=et.isURLSearchParams(e)?e.toString():new Ei(e,r).toString(n),o){const p=t.indexOf("#");p!==-1&&(t=t.slice(0,p)),t+=(t.indexOf("?")===-1?"?":"&")+o}return t}class po{constructor(){this.handlers=[]}use(e,r,n){return this.handlers.push({fulfilled:e,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){et.forEach(this.handlers,function(n){n!==null&&e(n)})}}const ra={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ld=typeof URLSearchParams<"u"?URLSearchParams:Ei,cd=typeof FormData<"u"?FormData:null,hd=typeof Blob<"u"?Blob:null,pd={isBrowser:!0,classes:{URLSearchParams:ld,FormData:cd,Blob:hd},protocols:["http","https","file","blob","url","data"]},Mi=typeof window<"u"&&typeof document<"u",Vn=typeof navigator=="object"&&navigator||void 0,dd=Mi&&(!Vn||["ReactNative","NativeScript","NS"].indexOf(Vn.product)<0),gd=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",md=Mi&&window.location.href||"http://localhost",yd=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Mi,hasStandardBrowserEnv:dd,hasStandardBrowserWebWorkerEnv:gd,navigator:Vn,origin:md},Symbol.toStringTag,{value:"Module"})),Yt={...yd,...pd};function wd(t,e){return Jr(t,new Yt.classes.URLSearchParams,Object.assign({visitor:function(r,n,u,o){return Yt.isNode&&et.isBuffer(r)?(this.append(n,r.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},e))}function vd(t){return et.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function xd(t){const e={},r=Object.keys(t);let n;const u=r.length;let o;for(n=0;n<u;n++)o=r[n],e[o]=t[o];return e}function na(t){function e(r,n,u,o){let p=r[o++];if(p==="__proto__")return!0;const b=Number.isFinite(+p),B=o>=r.length;return p=!p&&et.isArray(u)?u.length:p,B?(et.hasOwnProp(u,p)?u[p]=[u[p],n]:u[p]=n,!b):((!u[p]||!et.isObject(u[p]))&&(u[p]=[]),e(r,n,u[p],o)&&et.isArray(u[p])&&(u[p]=xd(u[p])),!b)}if(et.isFormData(t)&&et.isFunction(t.entries)){const r={};return et.forEachEntry(t,(n,u)=>{e(vd(n),u,r,0)}),r}return null}function bd(t,e,r){if(et.isString(t))try{return(e||JSON.parse)(t),et.trim(t)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(t)}const hr={transitional:ra,adapter:["xhr","http","fetch"],transformRequest:[function(e,r){const n=r.getContentType()||"",u=n.indexOf("application/json")>-1,o=et.isObject(e);if(o&&et.isHTMLForm(e)&&(e=new FormData(e)),et.isFormData(e))return u?JSON.stringify(na(e)):e;if(et.isArrayBuffer(e)||et.isBuffer(e)||et.isStream(e)||et.isFile(e)||et.isBlob(e)||et.isReadableStream(e))return e;if(et.isArrayBufferView(e))return e.buffer;if(et.isURLSearchParams(e))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let b;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return wd(e,this.formSerializer).toString();if((b=et.isFileList(e))||n.indexOf("multipart/form-data")>-1){const B=this.env&&this.env.FormData;return Jr(b?{"files[]":e}:e,B&&new B,this.formSerializer)}}return o||u?(r.setContentType("application/json",!1),bd(e)):e}],transformResponse:[function(e){const r=this.transitional||hr.transitional,n=r&&r.forcedJSONParsing,u=this.responseType==="json";if(et.isResponse(e)||et.isReadableStream(e))return e;if(e&&et.isString(e)&&(n&&!this.responseType||u)){const p=!(r&&r.silentJSONParsing)&&u;try{return JSON.parse(e)}catch(b){if(p)throw b.name==="SyntaxError"?Ct.from(b,Ct.ERR_BAD_RESPONSE,this,null,this.response):b}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Yt.classes.FormData,Blob:Yt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};et.forEach(["delete","get","head","post","put","patch"],t=>{hr.headers[t]={}});const Ed=et.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"]),Md=t=>{const e={};let r,n,u;return t&&t.split(`
|
|
7
|
+
`).forEach(function(p){u=p.indexOf(":"),r=p.substring(0,u).trim().toLowerCase(),n=p.substring(u+1).trim(),!(!r||e[r]&&Ed[r])&&(r==="set-cookie"?e[r]?e[r].push(n):e[r]=[n]:e[r]=e[r]?e[r]+", "+n:n)}),e},go=Symbol("internals");function Xe(t){return t&&String(t).trim().toLowerCase()}function Er(t){return t===!1||t==null?t:et.isArray(t)?t.map(Er):String(t)}function _d(t){const e=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(t);)e[n[1]]=n[2];return e}const Bd=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function _n(t,e,r,n,u){if(et.isFunction(n))return n.call(this,e,r);if(u&&(e=r),!!et.isString(e)){if(et.isString(n))return e.indexOf(n)!==-1;if(et.isRegExp(n))return n.test(e)}}function Sd(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,r,n)=>r.toUpperCase()+n)}function Ad(t,e){const r=et.toCamelCase(" "+e);["get","set","has"].forEach(n=>{Object.defineProperty(t,n+r,{value:function(u,o,p){return this[n].call(this,e,u,o,p)},configurable:!0})})}let Qt=class{constructor(e){e&&this.set(e)}set(e,r,n){const u=this;function o(b,B,E){const d=Xe(B);if(!d)throw new Error("header name must be a non-empty string");const $=et.findKey(u,d);(!$||u[$]===void 0||E===!0||E===void 0&&u[$]!==!1)&&(u[$||B]=Er(b))}const p=(b,B)=>et.forEach(b,(E,d)=>o(E,d,B));if(et.isPlainObject(e)||e instanceof this.constructor)p(e,r);else if(et.isString(e)&&(e=e.trim())&&!Bd(e))p(Md(e),r);else if(et.isObject(e)&&et.isIterable(e)){let b={},B,E;for(const d of e){if(!et.isArray(d))throw TypeError("Object iterator must return a key-value pair");b[E=d[0]]=(B=b[E])?et.isArray(B)?[...B,d[1]]:[B,d[1]]:d[1]}p(b,r)}else e!=null&&o(r,e,n);return this}get(e,r){if(e=Xe(e),e){const n=et.findKey(this,e);if(n){const u=this[n];if(!r)return u;if(r===!0)return _d(u);if(et.isFunction(r))return r.call(this,u,n);if(et.isRegExp(r))return r.exec(u);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,r){if(e=Xe(e),e){const n=et.findKey(this,e);return!!(n&&this[n]!==void 0&&(!r||_n(this,this[n],n,r)))}return!1}delete(e,r){const n=this;let u=!1;function o(p){if(p=Xe(p),p){const b=et.findKey(n,p);b&&(!r||_n(n,n[b],b,r))&&(delete n[b],u=!0)}}return et.isArray(e)?e.forEach(o):o(e),u}clear(e){const r=Object.keys(this);let n=r.length,u=!1;for(;n--;){const o=r[n];(!e||_n(this,this[o],o,e,!0))&&(delete this[o],u=!0)}return u}normalize(e){const r=this,n={};return et.forEach(this,(u,o)=>{const p=et.findKey(n,o);if(p){r[p]=Er(u),delete r[o];return}const b=e?Sd(o):String(o).trim();b!==o&&delete r[o],r[b]=Er(u),n[b]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const r=Object.create(null);return et.forEach(this,(n,u)=>{n!=null&&n!==!1&&(r[u]=e&&et.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,r])=>e+": "+r).join(`
|
|
8
|
+
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...r){const n=new this(e);return r.forEach(u=>n.set(u)),n}static accessor(e){const n=(this[go]=this[go]={accessors:{}}).accessors,u=this.prototype;function o(p){const b=Xe(p);n[b]||(Ad(u,p),n[b]=!0)}return et.isArray(e)?e.forEach(o):o(e),this}};Qt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);et.reduceDescriptors(Qt.prototype,({value:t},e)=>{let r=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(n){this[r]=n}}});et.freezeMethods(Qt);function Bn(t,e){const r=this||hr,n=e||r,u=Qt.from(n.headers);let o=n.data;return et.forEach(t,function(b){o=b.call(r,o,u.normalize(),e?e.status:void 0)}),u.normalize(),o}function ia(t){return!!(t&&t.__CANCEL__)}function Ke(t,e,r){Ct.call(this,t??"canceled",Ct.ERR_CANCELED,e,r),this.name="CanceledError"}et.inherits(Ke,Ct,{__CANCEL__:!0});function oa(t,e,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?t(r):e(new Ct("Request failed with status code "+r.status,[Ct.ERR_BAD_REQUEST,Ct.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function Td(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function Od(t,e){t=t||10;const r=new Array(t),n=new Array(t);let u=0,o=0,p;return e=e!==void 0?e:1e3,function(B){const E=Date.now(),d=n[o];p||(p=E),r[u]=B,n[u]=E;let $=o,D=0;for(;$!==u;)D+=r[$++],$=$%t;if(u=(u+1)%t,u===o&&(o=(o+1)%t),E-p<e)return;const V=d&&E-d;return V?Math.round(D*1e3/V):void 0}}function Cd(t,e){let r=0,n=1e3/e,u,o;const p=(E,d=Date.now())=>{r=d,u=null,o&&(clearTimeout(o),o=null),t.apply(null,E)};return[(...E)=>{const d=Date.now(),$=d-r;$>=n?p(E,d):(u=E,o||(o=setTimeout(()=>{o=null,p(u)},n-$)))},()=>u&&p(u)]}const Tr=(t,e,r=3)=>{let n=0;const u=Od(50,250);return Cd(o=>{const p=o.loaded,b=o.lengthComputable?o.total:void 0,B=p-n,E=u(B),d=p<=b;n=p;const $={loaded:p,total:b,progress:b?p/b:void 0,bytes:B,rate:E||void 0,estimated:E&&b&&d?(b-p)/E:void 0,event:o,lengthComputable:b!=null,[e?"download":"upload"]:!0};t($)},r)},mo=(t,e)=>{const r=t!=null;return[n=>e[0]({lengthComputable:r,total:t,loaded:n}),e[1]]},yo=t=>(...e)=>et.asap(()=>t(...e)),$d=Yt.hasStandardBrowserEnv?((t,e)=>r=>(r=new URL(r,Yt.origin),t.protocol===r.protocol&&t.host===r.host&&(e||t.port===r.port)))(new URL(Yt.origin),Yt.navigator&&/(msie|trident)/i.test(Yt.navigator.userAgent)):()=>!0,Fd=Yt.hasStandardBrowserEnv?{write(t,e,r,n,u,o){const p=[t+"="+encodeURIComponent(e)];et.isNumber(r)&&p.push("expires="+new Date(r).toGMTString()),et.isString(n)&&p.push("path="+n),et.isString(u)&&p.push("domain="+u),o===!0&&p.push("secure"),document.cookie=p.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Rd(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function Id(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function sa(t,e,r){let n=!Rd(e);return t&&(n||r==!1)?Id(t,e):e}const wo=t=>t instanceof Qt?{...t}:t;function Oe(t,e){e=e||{};const r={};function n(E,d,$,D){return et.isPlainObject(E)&&et.isPlainObject(d)?et.merge.call({caseless:D},E,d):et.isPlainObject(d)?et.merge({},d):et.isArray(d)?d.slice():d}function u(E,d,$,D){if(et.isUndefined(d)){if(!et.isUndefined(E))return n(void 0,E,$,D)}else return n(E,d,$,D)}function o(E,d){if(!et.isUndefined(d))return n(void 0,d)}function p(E,d){if(et.isUndefined(d)){if(!et.isUndefined(E))return n(void 0,E)}else return n(void 0,d)}function b(E,d,$){if($ in e)return n(E,d);if($ in t)return n(void 0,E)}const B={url:o,method:o,data:o,baseURL:p,transformRequest:p,transformResponse:p,paramsSerializer:p,timeout:p,timeoutMessage:p,withCredentials:p,withXSRFToken:p,adapter:p,responseType:p,xsrfCookieName:p,xsrfHeaderName:p,onUploadProgress:p,onDownloadProgress:p,decompress:p,maxContentLength:p,maxBodyLength:p,beforeRedirect:p,transport:p,httpAgent:p,httpsAgent:p,cancelToken:p,socketPath:p,responseEncoding:p,validateStatus:b,headers:(E,d,$)=>u(wo(E),wo(d),$,!0)};return et.forEach(Object.keys(Object.assign({},t,e)),function(d){const $=B[d]||u,D=$(t[d],e[d],d);et.isUndefined(D)&&$!==b||(r[d]=D)}),r}const aa=t=>{const e=Oe({},t);let{data:r,withXSRFToken:n,xsrfHeaderName:u,xsrfCookieName:o,headers:p,auth:b}=e;e.headers=p=Qt.from(p),e.url=ea(sa(e.baseURL,e.url,e.allowAbsoluteUrls),t.params,t.paramsSerializer),b&&p.set("Authorization","Basic "+btoa((b.username||"")+":"+(b.password?unescape(encodeURIComponent(b.password)):"")));let B;if(et.isFormData(r)){if(Yt.hasStandardBrowserEnv||Yt.hasStandardBrowserWebWorkerEnv)p.setContentType(void 0);else if((B=p.getContentType())!==!1){const[E,...d]=B?B.split(";").map($=>$.trim()).filter(Boolean):[];p.setContentType([E||"multipart/form-data",...d].join("; "))}}if(Yt.hasStandardBrowserEnv&&(n&&et.isFunction(n)&&(n=n(e)),n||n!==!1&&$d(e.url))){const E=u&&o&&Fd.read(o);E&&p.set(u,E)}return e},Nd=typeof XMLHttpRequest<"u",Ud=Nd&&function(t){return new Promise(function(r,n){const u=aa(t);let o=u.data;const p=Qt.from(u.headers).normalize();let{responseType:b,onUploadProgress:B,onDownloadProgress:E}=u,d,$,D,V,tt;function ot(){V&&V(),tt&&tt(),u.cancelToken&&u.cancelToken.unsubscribe(d),u.signal&&u.signal.removeEventListener("abort",d)}let J=new XMLHttpRequest;J.open(u.method.toUpperCase(),u.url,!0),J.timeout=u.timeout;function lt(){if(!J)return;const at=Qt.from("getAllResponseHeaders"in J&&J.getAllResponseHeaders()),ut={data:!b||b==="text"||b==="json"?J.responseText:J.response,status:J.status,statusText:J.statusText,headers:at,config:t,request:J};oa(function(G){r(G),ot()},function(G){n(G),ot()},ut),J=null}"onloadend"in J?J.onloadend=lt:J.onreadystatechange=function(){!J||J.readyState!==4||J.status===0&&!(J.responseURL&&J.responseURL.indexOf("file:")===0)||setTimeout(lt)},J.onabort=function(){J&&(n(new Ct("Request aborted",Ct.ECONNABORTED,t,J)),J=null)},J.onerror=function(){n(new Ct("Network Error",Ct.ERR_NETWORK,t,J)),J=null},J.ontimeout=function(){let pt=u.timeout?"timeout of "+u.timeout+"ms exceeded":"timeout exceeded";const ut=u.transitional||ra;u.timeoutErrorMessage&&(pt=u.timeoutErrorMessage),n(new Ct(pt,ut.clarifyTimeoutError?Ct.ETIMEDOUT:Ct.ECONNABORTED,t,J)),J=null},o===void 0&&p.setContentType(null),"setRequestHeader"in J&&et.forEach(p.toJSON(),function(pt,ut){J.setRequestHeader(ut,pt)}),et.isUndefined(u.withCredentials)||(J.withCredentials=!!u.withCredentials),b&&b!=="json"&&(J.responseType=u.responseType),E&&([D,tt]=Tr(E,!0),J.addEventListener("progress",D)),B&&J.upload&&([$,V]=Tr(B),J.upload.addEventListener("progress",$),J.upload.addEventListener("loadend",V)),(u.cancelToken||u.signal)&&(d=at=>{J&&(n(!at||at.type?new Ke(null,t,J):at),J.abort(),J=null)},u.cancelToken&&u.cancelToken.subscribe(d),u.signal&&(u.signal.aborted?d():u.signal.addEventListener("abort",d)));const X=Td(u.url);if(X&&Yt.protocols.indexOf(X)===-1){n(new Ct("Unsupported protocol "+X+":",Ct.ERR_BAD_REQUEST,t));return}J.send(o||null)})},Pd=(t,e)=>{const{length:r}=t=t?t.filter(Boolean):[];if(e||r){let n=new AbortController,u;const o=function(E){if(!u){u=!0,b();const d=E instanceof Error?E:this.reason;n.abort(d instanceof Ct?d:new Ke(d instanceof Error?d.message:d))}};let p=e&&setTimeout(()=>{p=null,o(new Ct(`timeout ${e} of ms exceeded`,Ct.ETIMEDOUT))},e);const b=()=>{t&&(p&&clearTimeout(p),p=null,t.forEach(E=>{E.unsubscribe?E.unsubscribe(o):E.removeEventListener("abort",o)}),t=null)};t.forEach(E=>E.addEventListener("abort",o));const{signal:B}=n;return B.unsubscribe=()=>et.asap(b),B}},Ld=function*(t,e){let r=t.byteLength;if(r<e){yield t;return}let n=0,u;for(;n<r;)u=n+e,yield t.slice(n,u),n=u},Dd=async function*(t,e){for await(const r of jd(t))yield*Ld(r,e)},jd=async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}const e=t.getReader();try{for(;;){const{done:r,value:n}=await e.read();if(r)break;yield n}}finally{await e.cancel()}},vo=(t,e,r,n)=>{const u=Dd(t,e);let o=0,p,b=B=>{p||(p=!0,n&&n(B))};return new ReadableStream({async pull(B){try{const{done:E,value:d}=await u.next();if(E){b(),B.close();return}let $=d.byteLength;if(r){let D=o+=$;r(D)}B.enqueue(new Uint8Array(d))}catch(E){throw b(E),E}},cancel(B){return b(B),u.return()}},{highWaterMark:2})},Vr=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",ua=Vr&&typeof ReadableStream=="function",kd=Vr&&(typeof TextEncoder=="function"?(t=>e=>t.encode(e))(new TextEncoder):async t=>new Uint8Array(await new Response(t).arrayBuffer())),fa=(t,...e)=>{try{return!!t(...e)}catch{return!1}},qd=ua&&fa(()=>{let t=!1;const e=new Request(Yt.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e}),xo=64*1024,Kn=ua&&fa(()=>et.isReadableStream(new Response("").body)),Or={stream:Kn&&(t=>t.body)};Vr&&(t=>{["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!Or[e]&&(Or[e]=et.isFunction(t[e])?r=>r[e]():(r,n)=>{throw new Ct(`Response type '${e}' is not supported`,Ct.ERR_NOT_SUPPORT,n)})})})(new Response);const zd=async t=>{if(t==null)return 0;if(et.isBlob(t))return t.size;if(et.isSpecCompliantForm(t))return(await new Request(Yt.origin,{method:"POST",body:t}).arrayBuffer()).byteLength;if(et.isArrayBufferView(t)||et.isArrayBuffer(t))return t.byteLength;if(et.isURLSearchParams(t)&&(t=t+""),et.isString(t))return(await kd(t)).byteLength},Hd=async(t,e)=>{const r=et.toFiniteNumber(t.getContentLength());return r??zd(e)},Gd=Vr&&(async t=>{let{url:e,method:r,data:n,signal:u,cancelToken:o,timeout:p,onDownloadProgress:b,onUploadProgress:B,responseType:E,headers:d,withCredentials:$="same-origin",fetchOptions:D}=aa(t);E=E?(E+"").toLowerCase():"text";let V=Pd([u,o&&o.toAbortSignal()],p),tt;const ot=V&&V.unsubscribe&&(()=>{V.unsubscribe()});let J;try{if(B&&qd&&r!=="get"&&r!=="head"&&(J=await Hd(d,n))!==0){let ut=new Request(e,{method:"POST",body:n,duplex:"half"}),Y;if(et.isFormData(n)&&(Y=ut.headers.get("content-type"))&&d.setContentType(Y),ut.body){const[G,st]=mo(J,Tr(yo(B)));n=vo(ut.body,xo,G,st)}}et.isString($)||($=$?"include":"omit");const lt="credentials"in Request.prototype;tt=new Request(e,{...D,signal:V,method:r.toUpperCase(),headers:d.normalize().toJSON(),body:n,duplex:"half",credentials:lt?$:void 0});let X=await fetch(tt);const at=Kn&&(E==="stream"||E==="response");if(Kn&&(b||at&&ot)){const ut={};["status","statusText","headers"].forEach(ht=>{ut[ht]=X[ht]});const Y=et.toFiniteNumber(X.headers.get("content-length")),[G,st]=b&&mo(Y,Tr(yo(b),!0))||[];X=new Response(vo(X.body,xo,G,()=>{st&&st(),ot&&ot()}),ut)}E=E||"text";let pt=await Or[et.findKey(Or,E)||"text"](X,t);return!at&&ot&&ot(),await new Promise((ut,Y)=>{oa(ut,Y,{data:pt,headers:Qt.from(X.headers),status:X.status,statusText:X.statusText,config:t,request:tt})})}catch(lt){throw ot&&ot(),lt&<.name==="TypeError"&&/Load failed|fetch/i.test(lt.message)?Object.assign(new Ct("Network Error",Ct.ERR_NETWORK,t,tt),{cause:lt.cause||lt}):Ct.from(lt,lt&<.code,t,tt)}}),Yn={http:sd,xhr:Ud,fetch:Gd};et.forEach(Yn,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const bo=t=>`- ${t}`,Wd=t=>et.isFunction(t)||t===null||t===!1,la={getAdapter:t=>{t=et.isArray(t)?t:[t];const{length:e}=t;let r,n;const u={};for(let o=0;o<e;o++){r=t[o];let p;if(n=r,!Wd(r)&&(n=Yn[(p=String(r)).toLowerCase()],n===void 0))throw new Ct(`Unknown adapter '${p}'`);if(n)break;u[p||"#"+o]=n}if(!n){const o=Object.entries(u).map(([b,B])=>`adapter ${b} `+(B===!1?"is not supported by the environment":"is not available in the build"));let p=e?o.length>1?`since :
|
|
9
|
+
`+o.map(bo).join(`
|
|
10
|
+
`):" "+bo(o[0]):"as no adapter specified";throw new Ct("There is no suitable adapter to dispatch the request "+p,"ERR_NOT_SUPPORT")}return n},adapters:Yn};function Sn(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Ke(null,t)}function Eo(t){return Sn(t),t.headers=Qt.from(t.headers),t.data=Bn.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),la.getAdapter(t.adapter||hr.adapter)(t).then(function(n){return Sn(t),n.data=Bn.call(t,t.transformResponse,n),n.headers=Qt.from(n.headers),n},function(n){return ia(n)||(Sn(t),n&&n.response&&(n.response.data=Bn.call(t,t.transformResponse,n.response),n.response.headers=Qt.from(n.response.headers))),Promise.reject(n)})}const ca="1.9.0",Kr={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Kr[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}});const Mo={};Kr.transitional=function(e,r,n){function u(o,p){return"[Axios v"+ca+"] Transitional option '"+o+"'"+p+(n?". "+n:"")}return(o,p,b)=>{if(e===!1)throw new Ct(u(p," has been removed"+(r?" in "+r:"")),Ct.ERR_DEPRECATED);return r&&!Mo[p]&&(Mo[p]=!0,console.warn(u(p," has been deprecated since v"+r+" and will be removed in the near future"))),e?e(o,p,b):!0}};Kr.spelling=function(e){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};function Zd(t,e,r){if(typeof t!="object")throw new Ct("options must be an object",Ct.ERR_BAD_OPTION_VALUE);const n=Object.keys(t);let u=n.length;for(;u-- >0;){const o=n[u],p=e[o];if(p){const b=t[o],B=b===void 0||p(b,o,t);if(B!==!0)throw new Ct("option "+o+" must be "+B,Ct.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new Ct("Unknown option "+o,Ct.ERR_BAD_OPTION)}}const Mr={assertOptions:Zd,validators:Kr},ce=Mr.validators;let Be=class{constructor(e){this.defaults=e||{},this.interceptors={request:new po,response:new po}}async request(e,r){try{return await this._request(e,r)}catch(n){if(n instanceof Error){let u={};Error.captureStackTrace?Error.captureStackTrace(u):u=new Error;const o=u.stack?u.stack.replace(/^.+\n/,""):"";try{n.stack?o&&!String(n.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(n.stack+=`
|
|
11
|
+
`+o):n.stack=o}catch{}}throw n}}_request(e,r){typeof e=="string"?(r=r||{},r.url=e):r=e||{},r=Oe(this.defaults,r);const{transitional:n,paramsSerializer:u,headers:o}=r;n!==void 0&&Mr.assertOptions(n,{silentJSONParsing:ce.transitional(ce.boolean),forcedJSONParsing:ce.transitional(ce.boolean),clarifyTimeoutError:ce.transitional(ce.boolean)},!1),u!=null&&(et.isFunction(u)?r.paramsSerializer={serialize:u}:Mr.assertOptions(u,{encode:ce.function,serialize:ce.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),Mr.assertOptions(r,{baseUrl:ce.spelling("baseURL"),withXsrfToken:ce.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let p=o&&et.merge(o.common,o[r.method]);o&&et.forEach(["delete","get","head","post","put","patch","common"],tt=>{delete o[tt]}),r.headers=Qt.concat(p,o);const b=[];let B=!0;this.interceptors.request.forEach(function(ot){typeof ot.runWhen=="function"&&ot.runWhen(r)===!1||(B=B&&ot.synchronous,b.unshift(ot.fulfilled,ot.rejected))});const E=[];this.interceptors.response.forEach(function(ot){E.push(ot.fulfilled,ot.rejected)});let d,$=0,D;if(!B){const tt=[Eo.bind(this),void 0];for(tt.unshift.apply(tt,b),tt.push.apply(tt,E),D=tt.length,d=Promise.resolve(r);$<D;)d=d.then(tt[$++],tt[$++]);return d}D=b.length;let V=r;for($=0;$<D;){const tt=b[$++],ot=b[$++];try{V=tt(V)}catch(J){ot.call(this,J);break}}try{d=Eo.call(this,V)}catch(tt){return Promise.reject(tt)}for($=0,D=E.length;$<D;)d=d.then(E[$++],E[$++]);return d}getUri(e){e=Oe(this.defaults,e);const r=sa(e.baseURL,e.url,e.allowAbsoluteUrls);return ea(r,e.params,e.paramsSerializer)}};et.forEach(["delete","get","head","options"],function(e){Be.prototype[e]=function(r,n){return this.request(Oe(n||{},{method:e,url:r,data:(n||{}).data}))}});et.forEach(["post","put","patch"],function(e){function r(n){return function(o,p,b){return this.request(Oe(b||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:o,data:p}))}}Be.prototype[e]=r(),Be.prototype[e+"Form"]=r(!0)});let Jd=class ha{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(o){r=o});const n=this;this.promise.then(u=>{if(!n._listeners)return;let o=n._listeners.length;for(;o-- >0;)n._listeners[o](u);n._listeners=null}),this.promise.then=u=>{let o;const p=new Promise(b=>{n.subscribe(b),o=b}).then(u);return p.cancel=function(){n.unsubscribe(o)},p},e(function(o,p,b){n.reason||(n.reason=new Ke(o,p,b),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const r=this._listeners.indexOf(e);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const e=new AbortController,r=n=>{e.abort(n)};return this.subscribe(r),e.signal.unsubscribe=()=>this.unsubscribe(r),e.signal}static source(){let e;return{token:new ha(function(u){e=u}),cancel:e}}};function Vd(t){return function(r){return t.apply(null,r)}}function Kd(t){return et.isObject(t)&&t.isAxiosError===!0}const Xn={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(Xn).forEach(([t,e])=>{Xn[e]=t});function pa(t){const e=new Be(t),r=qs(Be.prototype.request,e);return et.extend(r,Be.prototype,e,{allOwnKeys:!0}),et.extend(r,e,null,{allOwnKeys:!0}),r.create=function(u){return pa(Oe(t,u))},r}const Jt=pa(hr);Jt.Axios=Be;Jt.CanceledError=Ke;Jt.CancelToken=Jd;Jt.isCancel=ia;Jt.VERSION=ca;Jt.toFormData=Jr;Jt.AxiosError=Ct;Jt.Cancel=Jt.CanceledError;Jt.all=function(e){return Promise.all(e)};Jt.spread=Vd;Jt.isAxiosError=Kd;Jt.mergeConfig=Oe;Jt.AxiosHeaders=Qt;Jt.formToJSON=t=>na(et.isHTMLForm(t)?new FormData(t):t);Jt.getAdapter=la.getAdapter;Jt.HttpStatusCode=Xn;Jt.default=Jt;const{Axios:Uy,AxiosError:Py,CanceledError:Ly,isCancel:Dy,CancelToken:jy,VERSION:ky,all:qy,Cancel:zy,isAxiosError:Hy,spread:Gy,toFormData:Wy,AxiosHeaders:Zy,HttpStatusCode:Jy,formToJSON:Vy,getAdapter:Ky,mergeConfig:Yy}=Jt;var Yd="[object Boolean]";function Xd(t){return t===!0||t===!1||te(t)&&ue(t)==Yd}const Xy=Object.freeze(Object.defineProperty({__proto__:null,default:Xd},Symbol.toStringTag,{value:"Module"}));var Qd="[object String]";function t1(t){return typeof t=="string"||!Gt(t)&&te(t)&&ue(t)==Qd}const Qy=Object.freeze(Object.defineProperty({__proto__:null,default:t1},Symbol.toStringTag,{value:"Module"}));var e1="[object Number]";function r1(t){return typeof t=="number"||te(t)&&ue(t)==e1}const tw=Object.freeze(Object.defineProperty({__proto__:null,default:r1},Symbol.toStringTag,{value:"Module"}));function n1(t){return function(e){e=ee(e);var r=Fr(e)?De(e):void 0,n=r?r[0]:e.charAt(0),u=r?$r(r,1).join(""):e.slice(1);return n[t]()+u}}var da=n1("toUpperCase");const ew=Object.freeze(Object.defineProperty({__proto__:null,default:da},Symbol.toStringTag,{value:"Module"}));function i1(t){return da(ee(t).toLowerCase())}function o1(t,e,r,n){for(var u=-1,o=t==null?0:t.length;++u<o;)r=e(r,t[u],u,t);return r}function ga(t){return function(e){return t?.[e]}}var s1={À:"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"},a1=ga(s1),u1=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,f1="\\u0300-\\u036f",l1="\\ufe20-\\ufe2f",c1="\\u20d0-\\u20ff",h1=f1+l1+c1,p1="["+h1+"]",d1=RegExp(p1,"g");function g1(t){return t=ee(t),t&&t.replace(u1,a1).replace(d1,"")}var m1=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function y1(t){return t.match(m1)||[]}var w1=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function v1(t){return w1.test(t)}var ma="\\ud800-\\udfff",x1="\\u0300-\\u036f",b1="\\ufe20-\\ufe2f",E1="\\u20d0-\\u20ff",M1=x1+b1+E1,ya="\\u2700-\\u27bf",wa="a-z\\xdf-\\xf6\\xf8-\\xff",_1="\\xac\\xb1\\xd7\\xf7",B1="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",S1="\\u2000-\\u206f",A1=" \\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",va="A-Z\\xc0-\\xd6\\xd8-\\xde",T1="\\ufe0e\\ufe0f",xa=_1+B1+S1+A1,ba="['’]",_o="["+xa+"]",O1="["+M1+"]",Ea="\\d+",C1="["+ya+"]",Ma="["+wa+"]",_a="[^"+ma+xa+Ea+ya+wa+va+"]",$1="\\ud83c[\\udffb-\\udfff]",F1="(?:"+O1+"|"+$1+")",R1="[^"+ma+"]",Ba="(?:\\ud83c[\\udde6-\\uddff]){2}",Sa="[\\ud800-\\udbff][\\udc00-\\udfff]",Ne="["+va+"]",I1="\\u200d",Bo="(?:"+Ma+"|"+_a+")",N1="(?:"+Ne+"|"+_a+")",So="(?:"+ba+"(?:d|ll|m|re|s|t|ve))?",Ao="(?:"+ba+"(?:D|LL|M|RE|S|T|VE))?",Aa=F1+"?",Ta="["+T1+"]?",U1="(?:"+I1+"(?:"+[R1,Ba,Sa].join("|")+")"+Ta+Aa+")*",P1="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",L1="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",D1=Ta+Aa+U1,j1="(?:"+[C1,Ba,Sa].join("|")+")"+D1,k1=RegExp([Ne+"?"+Ma+"+"+So+"(?="+[_o,Ne,"$"].join("|")+")",N1+"+"+Ao+"(?="+[_o,Ne+Bo,"$"].join("|")+")",Ne+"?"+Bo+"+"+So,Ne+"+"+Ao,L1,P1,Ea,j1].join("|"),"g");function q1(t){return t.match(k1)||[]}function z1(t,e,r){return t=ee(t),e=e,e===void 0?v1(t)?q1(t):y1(t):t.match(e)||[]}var H1="['’]",G1=RegExp(H1,"g");function W1(t){return function(e){return o1(z1(g1(e).replace(G1,"")),t,"")}}var Z1=W1(function(t,e,r){return e=e.toLowerCase(),t+(r?i1(e):e)});const rw=Object.freeze(Object.defineProperty({__proto__:null,default:Z1},Symbol.toStringTag,{value:"Module"}));function J1(t){return t===null}const nw=Object.freeze(Object.defineProperty({__proto__:null,default:J1},Symbol.toStringTag,{value:"Module"}));function V1(t,e,r){t=ee(t),e=He(e);var n=e?ti(t):0;return e&&n<e?t+ns(e-n,r):t}const iw=Object.freeze(Object.defineProperty({__proto__:null,default:V1},Symbol.toStringTag,{value:"Module"}));var _r={exports:{}},An={},To;function K1(){return To||(To=1,function(t){Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var e={},r={};r.byteLength=d,r.toByteArray=D,r.fromByteArray=ot;for(var n=[],u=[],o=typeof Uint8Array<"u"?Uint8Array:Array,p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",b=0,B=p.length;b<B;++b)n[b]=p[b],u[p.charCodeAt(b)]=b;u[45]=62,u[95]=63;function E(X){var at=X.length;if(at%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var pt=X.indexOf("=");pt===-1&&(pt=at);var ut=pt===at?0:4-pt%4;return[pt,ut]}function d(X){var at=E(X),pt=at[0],ut=at[1];return(pt+ut)*3/4-ut}function $(X,at,pt){return(at+pt)*3/4-pt}function D(X){var at,pt=E(X),ut=pt[0],Y=pt[1],G=new o($(X,ut,Y)),st=0,ht=Y>0?ut-4:ut,nt;for(nt=0;nt<ht;nt+=4)at=u[X.charCodeAt(nt)]<<18|u[X.charCodeAt(nt+1)]<<12|u[X.charCodeAt(nt+2)]<<6|u[X.charCodeAt(nt+3)],G[st++]=at>>16&255,G[st++]=at>>8&255,G[st++]=at&255;return Y===2&&(at=u[X.charCodeAt(nt)]<<2|u[X.charCodeAt(nt+1)]>>4,G[st++]=at&255),Y===1&&(at=u[X.charCodeAt(nt)]<<10|u[X.charCodeAt(nt+1)]<<4|u[X.charCodeAt(nt+2)]>>2,G[st++]=at>>8&255,G[st++]=at&255),G}function V(X){return n[X>>18&63]+n[X>>12&63]+n[X>>6&63]+n[X&63]}function tt(X,at,pt){for(var ut,Y=[],G=at;G<pt;G+=3)ut=(X[G]<<16&16711680)+(X[G+1]<<8&65280)+(X[G+2]&255),Y.push(V(ut));return Y.join("")}function ot(X){for(var at,pt=X.length,ut=pt%3,Y=[],G=16383,st=0,ht=pt-ut;st<ht;st+=G)Y.push(tt(X,st,st+G>ht?ht:st+G));return ut===1?(at=X[pt-1],Y.push(n[at>>2]+n[at<<4&63]+"==")):ut===2&&(at=(X[pt-2]<<8)+X[pt-1],Y.push(n[at>>10]+n[at>>4&63]+n[at<<2&63]+"=")),Y.join("")}var J={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */J.read=function(X,at,pt,ut,Y){var G,st,ht=Y*8-ut-1,nt=(1<<ht)-1,A=nt>>1,i=-7,h=pt?Y-1:0,g=pt?-1:1,m=X[at+h];for(h+=g,G=m&(1<<-i)-1,m>>=-i,i+=ht;i>0;G=G*256+X[at+h],h+=g,i-=8);for(st=G&(1<<-i)-1,G>>=-i,i+=ut;i>0;st=st*256+X[at+h],h+=g,i-=8);if(G===0)G=1-A;else{if(G===nt)return st?NaN:(m?-1:1)*(1/0);st=st+Math.pow(2,ut),G=G-A}return(m?-1:1)*st*Math.pow(2,G-ut)},J.write=function(X,at,pt,ut,Y,G){var st,ht,nt,A=G*8-Y-1,i=(1<<A)-1,h=i>>1,g=Y===23?Math.pow(2,-24)-Math.pow(2,-77):0,m=ut?0:G-1,v=ut?1:-1,C=at<0||at===0&&1/at<0?1:0;for(at=Math.abs(at),isNaN(at)||at===1/0?(ht=isNaN(at)?1:0,st=i):(st=Math.floor(Math.log(at)/Math.LN2),at*(nt=Math.pow(2,-st))<1&&(st--,nt*=2),st+h>=1?at+=g/nt:at+=g*Math.pow(2,1-h),at*nt>=2&&(st++,nt/=2),st+h>=i?(ht=0,st=i):st+h>=1?(ht=(at*nt-1)*Math.pow(2,Y),st=st+h):(ht=at*Math.pow(2,h-1)*Math.pow(2,Y),st=0));Y>=8;X[pt+m]=ht&255,m+=v,ht/=256,Y-=8);for(st=st<<Y|ht,A+=Y;A>0;X[pt+m]=st&255,m+=v,st/=256,A-=8);X[pt+m-v]|=C*128};/*!
|
|
12
|
+
* The buffer module from node.js, for the browser.
|
|
13
|
+
*
|
|
14
|
+
* @author Feross Aboukhadijeh <https://feross.org>
|
|
15
|
+
* @license MIT
|
|
16
|
+
*/(function(X){const at=r,pt=J,ut=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;X.Buffer=i,X.SlowBuffer=dt,X.INSPECT_MAX_BYTES=50;const Y=2147483647;X.kMaxLength=Y;const{Uint8Array:G,ArrayBuffer:st,SharedArrayBuffer:ht}=globalThis;i.TYPED_ARRAY_SUPPORT=nt(),!i.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 nt(){try{const w=new G(1),a={foo:function(){return 42}};return Object.setPrototypeOf(a,G.prototype),Object.setPrototypeOf(w,a),w.foo()===42}catch{return!1}}Object.defineProperty(i.prototype,"parent",{enumerable:!0,get:function(){if(i.isBuffer(this))return this.buffer}}),Object.defineProperty(i.prototype,"offset",{enumerable:!0,get:function(){if(i.isBuffer(this))return this.byteOffset}});function A(w){if(w>Y)throw new RangeError('The value "'+w+'" is invalid for option "size"');const a=new G(w);return Object.setPrototypeOf(a,i.prototype),a}function i(w,a,c){if(typeof w=="number"){if(typeof a=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return v(w)}return h(w,a,c)}i.poolSize=8192;function h(w,a,c){if(typeof w=="string")return C(w,a);if(st.isView(w))return M(w);if(w==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof w);if(Rt(w,st)||w&&Rt(w.buffer,st)||typeof ht<"u"&&(Rt(w,ht)||w&&Rt(w.buffer,ht)))return f(w,a,c);if(typeof w=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const S=w.valueOf&&w.valueOf();if(S!=null&&S!==w)return i.from(S,a,c);const N=T(w);if(N)return N;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof w[Symbol.toPrimitive]=="function")return i.from(w[Symbol.toPrimitive]("string"),a,c);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof w)}i.from=function(w,a,c){return h(w,a,c)},Object.setPrototypeOf(i.prototype,G.prototype),Object.setPrototypeOf(i,G);function g(w){if(typeof w!="number")throw new TypeError('"size" argument must be of type number');if(w<0)throw new RangeError('The value "'+w+'" is invalid for option "size"')}function m(w,a,c){return g(w),w<=0?A(w):a!==void 0?typeof c=="string"?A(w).fill(a,c):A(w).fill(a):A(w)}i.alloc=function(w,a,c){return m(w,a,c)};function v(w){return g(w),A(w<0?0:ct(w)|0)}i.allocUnsafe=function(w){return v(w)},i.allocUnsafeSlow=function(w){return v(w)};function C(w,a){if((typeof a!="string"||a==="")&&(a="utf8"),!i.isEncoding(a))throw new TypeError("Unknown encoding: "+a);const c=k(w,a)|0;let S=A(c);const N=S.write(w,a);return N!==c&&(S=S.slice(0,N)),S}function F(w){const a=w.length<0?0:ct(w.length)|0,c=A(a);for(let S=0;S<a;S+=1)c[S]=w[S]&255;return c}function M(w){if(Rt(w,G)){const a=new G(w);return f(a.buffer,a.byteOffset,a.byteLength)}return F(w)}function f(w,a,c){if(a<0||w.byteLength<a)throw new RangeError('"offset" is outside of buffer bounds');if(w.byteLength<a+(c||0))throw new RangeError('"length" is outside of buffer bounds');let S;return a===void 0&&c===void 0?S=new G(w):c===void 0?S=new G(w,a):S=new G(w,a,c),Object.setPrototypeOf(S,i.prototype),S}function T(w){if(i.isBuffer(w)){const a=ct(w.length)|0,c=A(a);return c.length===0||w.copy(c,0,0,a),c}if(w.length!==void 0)return typeof w.length!="number"||Re(w.length)?A(0):F(w);if(w.type==="Buffer"&&Array.isArray(w.data))return F(w.data)}function ct(w){if(w>=Y)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Y.toString(16)+" bytes");return w|0}function dt(w){return+w!=w&&(w=0),i.alloc(+w)}i.isBuffer=function(a){return a!=null&&a._isBuffer===!0&&a!==i.prototype},i.compare=function(a,c){if(Rt(a,G)&&(a=i.from(a,a.offset,a.byteLength)),Rt(c,G)&&(c=i.from(c,c.offset,c.byteLength)),!i.isBuffer(a)||!i.isBuffer(c))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(a===c)return 0;let S=a.length,N=c.length;for(let Q=0,rt=Math.min(S,N);Q<rt;++Q)if(a[Q]!==c[Q]){S=a[Q],N=c[Q];break}return S<N?-1:N<S?1:0},i.isEncoding=function(a){switch(String(a).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}},i.concat=function(a,c){if(!Array.isArray(a))throw new TypeError('"list" argument must be an Array of Buffers');if(a.length===0)return i.alloc(0);let S;if(c===void 0)for(c=0,S=0;S<a.length;++S)c+=a[S].length;const N=i.allocUnsafe(c);let Q=0;for(S=0;S<a.length;++S){let rt=a[S];if(Rt(rt,G))Q+rt.length>N.length?(i.isBuffer(rt)||(rt=i.from(rt)),rt.copy(N,Q)):G.prototype.set.call(N,rt,Q);else if(i.isBuffer(rt))rt.copy(N,Q);else throw new TypeError('"list" argument must be an Array of Buffers');Q+=rt.length}return N};function k(w,a){if(i.isBuffer(w))return w.length;if(st.isView(w)||Rt(w,st))return w.byteLength;if(typeof w!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof w);const c=w.length,S=arguments.length>2&&arguments[2]===!0;if(!S&&c===0)return 0;let N=!1;for(;;)switch(a){case"ascii":case"latin1":case"binary":return c;case"utf8":case"utf-8":return Ut(w).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c*2;case"hex":return c>>>1;case"base64":return Ft(w).length;default:if(N)return S?-1:Ut(w).length;a=(""+a).toLowerCase(),N=!0}}i.byteLength=k;function mt(w,a,c){let S=!1;if((a===void 0||a<0)&&(a=0),a>this.length||((c===void 0||c>this.length)&&(c=this.length),c<=0)||(c>>>=0,a>>>=0,c<=a))return"";for(w||(w="utf8");;)switch(w){case"hex":return Z(this,a,c);case"utf8":case"utf-8":return L(this,a,c);case"ascii":return P(this,a,c);case"latin1":case"binary":return z(this,a,c);case"base64":return j(this,a,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return it(this,a,c);default:if(S)throw new TypeError("Unknown encoding: "+w);w=(w+"").toLowerCase(),S=!0}}i.prototype._isBuffer=!0;function Mt(w,a,c){const S=w[a];w[a]=w[c],w[c]=S}i.prototype.swap16=function(){const a=this.length;if(a%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let c=0;c<a;c+=2)Mt(this,c,c+1);return this},i.prototype.swap32=function(){const a=this.length;if(a%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let c=0;c<a;c+=4)Mt(this,c,c+3),Mt(this,c+1,c+2);return this},i.prototype.swap64=function(){const a=this.length;if(a%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let c=0;c<a;c+=8)Mt(this,c,c+7),Mt(this,c+1,c+6),Mt(this,c+2,c+5),Mt(this,c+3,c+4);return this},i.prototype.toString=function(){const a=this.length;return a===0?"":arguments.length===0?L(this,0,a):mt.apply(this,arguments)},i.prototype.toLocaleString=i.prototype.toString,i.prototype.equals=function(a){if(!i.isBuffer(a))throw new TypeError("Argument must be a Buffer");return this===a?!0:i.compare(this,a)===0},i.prototype.inspect=function(){let a="";const c=X.INSPECT_MAX_BYTES;return a=this.toString("hex",0,c).replace(/(.{2})/g,"$1 ").trim(),this.length>c&&(a+=" ... "),"<Buffer "+a+">"},ut&&(i.prototype[ut]=i.prototype.inspect),i.prototype.compare=function(a,c,S,N,Q){if(Rt(a,G)&&(a=i.from(a,a.offset,a.byteLength)),!i.isBuffer(a))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof a);if(c===void 0&&(c=0),S===void 0&&(S=a?a.length:0),N===void 0&&(N=0),Q===void 0&&(Q=this.length),c<0||S>a.length||N<0||Q>this.length)throw new RangeError("out of range index");if(N>=Q&&c>=S)return 0;if(N>=Q)return-1;if(c>=S)return 1;if(c>>>=0,S>>>=0,N>>>=0,Q>>>=0,this===a)return 0;let rt=Q-N,bt=S-c;const kt=Math.min(rt,bt),At=this.slice(N,Q),Ot=a.slice(c,S);for(let It=0;It<kt;++It)if(At[It]!==Ot[It]){rt=At[It],bt=Ot[It];break}return rt<bt?-1:bt<rt?1:0};function Tt(w,a,c,S,N){if(w.length===0)return-1;if(typeof c=="string"?(S=c,c=0):c>2147483647?c=2147483647:c<-2147483648&&(c=-2147483648),c=+c,Re(c)&&(c=N?0:w.length-1),c<0&&(c=w.length+c),c>=w.length){if(N)return-1;c=w.length-1}else if(c<0)if(N)c=0;else return-1;if(typeof a=="string"&&(a=i.from(a,S)),i.isBuffer(a))return a.length===0?-1:$t(w,a,c,S,N);if(typeof a=="number")return a=a&255,typeof G.prototype.indexOf=="function"?N?G.prototype.indexOf.call(w,a,c):G.prototype.lastIndexOf.call(w,a,c):$t(w,[a],c,S,N);throw new TypeError("val must be string, number or Buffer")}function $t(w,a,c,S,N){let Q=1,rt=w.length,bt=a.length;if(S!==void 0&&(S=String(S).toLowerCase(),S==="ucs2"||S==="ucs-2"||S==="utf16le"||S==="utf-16le")){if(w.length<2||a.length<2)return-1;Q=2,rt/=2,bt/=2,c/=2}function kt(Ot,It){return Q===1?Ot[It]:Ot.readUInt16BE(It*Q)}let At;if(N){let Ot=-1;for(At=c;At<rt;At++)if(kt(w,At)===kt(a,Ot===-1?0:At-Ot)){if(Ot===-1&&(Ot=At),At-Ot+1===bt)return Ot*Q}else Ot!==-1&&(At-=At-Ot),Ot=-1}else for(c+bt>rt&&(c=rt-bt),At=c;At>=0;At--){let Ot=!0;for(let It=0;It<bt;It++)if(kt(w,At+It)!==kt(a,It)){Ot=!1;break}if(Ot)return At}return-1}i.prototype.includes=function(a,c,S){return this.indexOf(a,c,S)!==-1},i.prototype.indexOf=function(a,c,S){return Tt(this,a,c,S,!0)},i.prototype.lastIndexOf=function(a,c,S){return Tt(this,a,c,S,!1)};function _t(w,a,c,S){c=Number(c)||0;const N=w.length-c;S?(S=Number(S),S>N&&(S=N)):S=N;const Q=a.length;S>Q/2&&(S=Q/2);let rt;for(rt=0;rt<S;++rt){const bt=parseInt(a.substr(rt*2,2),16);if(Re(bt))return rt;w[c+rt]=bt}return rt}function x(w,a,c,S){return jt(Ut(a,w.length-c),w,c,S)}function O(w,a,c,S){return jt(Bt(a),w,c,S)}function R(w,a,c,S){return jt(Ft(a),w,c,S)}function q(w,a,c,S){return jt(St(a,w.length-c),w,c,S)}i.prototype.write=function(a,c,S,N){if(c===void 0)N="utf8",S=this.length,c=0;else if(S===void 0&&typeof c=="string")N=c,S=this.length,c=0;else if(isFinite(c))c=c>>>0,isFinite(S)?(S=S>>>0,N===void 0&&(N="utf8")):(N=S,S=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const Q=this.length-c;if((S===void 0||S>Q)&&(S=Q),a.length>0&&(S<0||c<0)||c>this.length)throw new RangeError("Attempt to write outside buffer bounds");N||(N="utf8");let rt=!1;for(;;)switch(N){case"hex":return _t(this,a,c,S);case"utf8":case"utf-8":return x(this,a,c,S);case"ascii":case"latin1":case"binary":return O(this,a,c,S);case"base64":return R(this,a,c,S);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return q(this,a,c,S);default:if(rt)throw new TypeError("Unknown encoding: "+N);N=(""+N).toLowerCase(),rt=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function j(w,a,c){return a===0&&c===w.length?at.fromByteArray(w):at.fromByteArray(w.slice(a,c))}function L(w,a,c){c=Math.min(w.length,c);const S=[];let N=a;for(;N<c;){const Q=w[N];let rt=null,bt=Q>239?4:Q>223?3:Q>191?2:1;if(N+bt<=c){let kt,At,Ot,It;switch(bt){case 1:Q<128&&(rt=Q);break;case 2:kt=w[N+1],(kt&192)===128&&(It=(Q&31)<<6|kt&63,It>127&&(rt=It));break;case 3:kt=w[N+1],At=w[N+2],(kt&192)===128&&(At&192)===128&&(It=(Q&15)<<12|(kt&63)<<6|At&63,It>2047&&(It<55296||It>57343)&&(rt=It));break;case 4:kt=w[N+1],At=w[N+2],Ot=w[N+3],(kt&192)===128&&(At&192)===128&&(Ot&192)===128&&(It=(Q&15)<<18|(kt&63)<<12|(At&63)<<6|Ot&63,It>65535&&It<1114112&&(rt=It))}}rt===null?(rt=65533,bt=1):rt>65535&&(rt-=65536,S.push(rt>>>10&1023|55296),rt=56320|rt&1023),S.push(rt),N+=bt}return U(S)}const H=4096;function U(w){const a=w.length;if(a<=H)return String.fromCharCode.apply(String,w);let c="",S=0;for(;S<a;)c+=String.fromCharCode.apply(String,w.slice(S,S+=H));return c}function P(w,a,c){let S="";c=Math.min(w.length,c);for(let N=a;N<c;++N)S+=String.fromCharCode(w[N]&127);return S}function z(w,a,c){let S="";c=Math.min(w.length,c);for(let N=a;N<c;++N)S+=String.fromCharCode(w[N]);return S}function Z(w,a,c){const S=w.length;(!a||a<0)&&(a=0),(!c||c<0||c>S)&&(c=S);let N="";for(let Q=a;Q<c;++Q)N+=zt[w[Q]];return N}function it(w,a,c){const S=w.slice(a,c);let N="";for(let Q=0;Q<S.length-1;Q+=2)N+=String.fromCharCode(S[Q]+S[Q+1]*256);return N}i.prototype.slice=function(a,c){const S=this.length;a=~~a,c=c===void 0?S:~~c,a<0?(a+=S,a<0&&(a=0)):a>S&&(a=S),c<0?(c+=S,c<0&&(c=0)):c>S&&(c=S),c<a&&(c=a);const N=this.subarray(a,c);return Object.setPrototypeOf(N,i.prototype),N};function ft(w,a,c){if(w%1!==0||w<0)throw new RangeError("offset is not uint");if(w+a>c)throw new RangeError("Trying to access beyond buffer length")}i.prototype.readUintLE=i.prototype.readUIntLE=function(a,c,S){a=a>>>0,c=c>>>0,S||ft(a,c,this.length);let N=this[a],Q=1,rt=0;for(;++rt<c&&(Q*=256);)N+=this[a+rt]*Q;return N},i.prototype.readUintBE=i.prototype.readUIntBE=function(a,c,S){a=a>>>0,c=c>>>0,S||ft(a,c,this.length);let N=this[a+--c],Q=1;for(;c>0&&(Q*=256);)N+=this[a+--c]*Q;return N},i.prototype.readUint8=i.prototype.readUInt8=function(a,c){return a=a>>>0,c||ft(a,1,this.length),this[a]},i.prototype.readUint16LE=i.prototype.readUInt16LE=function(a,c){return a=a>>>0,c||ft(a,2,this.length),this[a]|this[a+1]<<8},i.prototype.readUint16BE=i.prototype.readUInt16BE=function(a,c){return a=a>>>0,c||ft(a,2,this.length),this[a]<<8|this[a+1]},i.prototype.readUint32LE=i.prototype.readUInt32LE=function(a,c){return a=a>>>0,c||ft(a,4,this.length),(this[a]|this[a+1]<<8|this[a+2]<<16)+this[a+3]*16777216},i.prototype.readUint32BE=i.prototype.readUInt32BE=function(a,c){return a=a>>>0,c||ft(a,4,this.length),this[a]*16777216+(this[a+1]<<16|this[a+2]<<8|this[a+3])},i.prototype.readBigUInt64LE=Pt(function(a){a=a>>>0,I(a,"offset");const c=this[a],S=this[a+7];(c===void 0||S===void 0)&&W(a,this.length-8);const N=c+this[++a]*2**8+this[++a]*2**16+this[++a]*2**24,Q=this[++a]+this[++a]*2**8+this[++a]*2**16+S*2**24;return BigInt(N)+(BigInt(Q)<<BigInt(32))}),i.prototype.readBigUInt64BE=Pt(function(a){a=a>>>0,I(a,"offset");const c=this[a],S=this[a+7];(c===void 0||S===void 0)&&W(a,this.length-8);const N=c*2**24+this[++a]*2**16+this[++a]*2**8+this[++a],Q=this[++a]*2**24+this[++a]*2**16+this[++a]*2**8+S;return(BigInt(N)<<BigInt(32))+BigInt(Q)}),i.prototype.readIntLE=function(a,c,S){a=a>>>0,c=c>>>0,S||ft(a,c,this.length);let N=this[a],Q=1,rt=0;for(;++rt<c&&(Q*=256);)N+=this[a+rt]*Q;return Q*=128,N>=Q&&(N-=Math.pow(2,8*c)),N},i.prototype.readIntBE=function(a,c,S){a=a>>>0,c=c>>>0,S||ft(a,c,this.length);let N=c,Q=1,rt=this[a+--N];for(;N>0&&(Q*=256);)rt+=this[a+--N]*Q;return Q*=128,rt>=Q&&(rt-=Math.pow(2,8*c)),rt},i.prototype.readInt8=function(a,c){return a=a>>>0,c||ft(a,1,this.length),this[a]&128?(255-this[a]+1)*-1:this[a]},i.prototype.readInt16LE=function(a,c){a=a>>>0,c||ft(a,2,this.length);const S=this[a]|this[a+1]<<8;return S&32768?S|4294901760:S},i.prototype.readInt16BE=function(a,c){a=a>>>0,c||ft(a,2,this.length);const S=this[a+1]|this[a]<<8;return S&32768?S|4294901760:S},i.prototype.readInt32LE=function(a,c){return a=a>>>0,c||ft(a,4,this.length),this[a]|this[a+1]<<8|this[a+2]<<16|this[a+3]<<24},i.prototype.readInt32BE=function(a,c){return a=a>>>0,c||ft(a,4,this.length),this[a]<<24|this[a+1]<<16|this[a+2]<<8|this[a+3]},i.prototype.readBigInt64LE=Pt(function(a){a=a>>>0,I(a,"offset");const c=this[a],S=this[a+7];(c===void 0||S===void 0)&&W(a,this.length-8);const N=this[a+4]+this[a+5]*2**8+this[a+6]*2**16+(S<<24);return(BigInt(N)<<BigInt(32))+BigInt(c+this[++a]*2**8+this[++a]*2**16+this[++a]*2**24)}),i.prototype.readBigInt64BE=Pt(function(a){a=a>>>0,I(a,"offset");const c=this[a],S=this[a+7];(c===void 0||S===void 0)&&W(a,this.length-8);const N=(c<<24)+this[++a]*2**16+this[++a]*2**8+this[++a];return(BigInt(N)<<BigInt(32))+BigInt(this[++a]*2**24+this[++a]*2**16+this[++a]*2**8+S)}),i.prototype.readFloatLE=function(a,c){return a=a>>>0,c||ft(a,4,this.length),pt.read(this,a,!0,23,4)},i.prototype.readFloatBE=function(a,c){return a=a>>>0,c||ft(a,4,this.length),pt.read(this,a,!1,23,4)},i.prototype.readDoubleLE=function(a,c){return a=a>>>0,c||ft(a,8,this.length),pt.read(this,a,!0,52,8)},i.prototype.readDoubleBE=function(a,c){return a=a>>>0,c||ft(a,8,this.length),pt.read(this,a,!1,52,8)};function yt(w,a,c,S,N,Q){if(!i.isBuffer(w))throw new TypeError('"buffer" argument must be a Buffer instance');if(a>N||a<Q)throw new RangeError('"value" argument is out of bounds');if(c+S>w.length)throw new RangeError("Index out of range")}i.prototype.writeUintLE=i.prototype.writeUIntLE=function(a,c,S,N){if(a=+a,c=c>>>0,S=S>>>0,!N){const bt=Math.pow(2,8*S)-1;yt(this,a,c,S,bt,0)}let Q=1,rt=0;for(this[c]=a&255;++rt<S&&(Q*=256);)this[c+rt]=a/Q&255;return c+S},i.prototype.writeUintBE=i.prototype.writeUIntBE=function(a,c,S,N){if(a=+a,c=c>>>0,S=S>>>0,!N){const bt=Math.pow(2,8*S)-1;yt(this,a,c,S,bt,0)}let Q=S-1,rt=1;for(this[c+Q]=a&255;--Q>=0&&(rt*=256);)this[c+Q]=a/rt&255;return c+S},i.prototype.writeUint8=i.prototype.writeUInt8=function(a,c,S){return a=+a,c=c>>>0,S||yt(this,a,c,1,255,0),this[c]=a&255,c+1},i.prototype.writeUint16LE=i.prototype.writeUInt16LE=function(a,c,S){return a=+a,c=c>>>0,S||yt(this,a,c,2,65535,0),this[c]=a&255,this[c+1]=a>>>8,c+2},i.prototype.writeUint16BE=i.prototype.writeUInt16BE=function(a,c,S){return a=+a,c=c>>>0,S||yt(this,a,c,2,65535,0),this[c]=a>>>8,this[c+1]=a&255,c+2},i.prototype.writeUint32LE=i.prototype.writeUInt32LE=function(a,c,S){return a=+a,c=c>>>0,S||yt(this,a,c,4,4294967295,0),this[c+3]=a>>>24,this[c+2]=a>>>16,this[c+1]=a>>>8,this[c]=a&255,c+4},i.prototype.writeUint32BE=i.prototype.writeUInt32BE=function(a,c,S){return a=+a,c=c>>>0,S||yt(this,a,c,4,4294967295,0),this[c]=a>>>24,this[c+1]=a>>>16,this[c+2]=a>>>8,this[c+3]=a&255,c+4};function wt(w,a,c,S,N){_(a,S,N,w,c,7);let Q=Number(a&BigInt(4294967295));w[c++]=Q,Q=Q>>8,w[c++]=Q,Q=Q>>8,w[c++]=Q,Q=Q>>8,w[c++]=Q;let rt=Number(a>>BigInt(32)&BigInt(4294967295));return w[c++]=rt,rt=rt>>8,w[c++]=rt,rt=rt>>8,w[c++]=rt,rt=rt>>8,w[c++]=rt,c}function Et(w,a,c,S,N){_(a,S,N,w,c,7);let Q=Number(a&BigInt(4294967295));w[c+7]=Q,Q=Q>>8,w[c+6]=Q,Q=Q>>8,w[c+5]=Q,Q=Q>>8,w[c+4]=Q;let rt=Number(a>>BigInt(32)&BigInt(4294967295));return w[c+3]=rt,rt=rt>>8,w[c+2]=rt,rt=rt>>8,w[c+1]=rt,rt=rt>>8,w[c]=rt,c+8}i.prototype.writeBigUInt64LE=Pt(function(a,c=0){return wt(this,a,c,BigInt(0),BigInt("0xffffffffffffffff"))}),i.prototype.writeBigUInt64BE=Pt(function(a,c=0){return Et(this,a,c,BigInt(0),BigInt("0xffffffffffffffff"))}),i.prototype.writeIntLE=function(a,c,S,N){if(a=+a,c=c>>>0,!N){const kt=Math.pow(2,8*S-1);yt(this,a,c,S,kt-1,-kt)}let Q=0,rt=1,bt=0;for(this[c]=a&255;++Q<S&&(rt*=256);)a<0&&bt===0&&this[c+Q-1]!==0&&(bt=1),this[c+Q]=(a/rt>>0)-bt&255;return c+S},i.prototype.writeIntBE=function(a,c,S,N){if(a=+a,c=c>>>0,!N){const kt=Math.pow(2,8*S-1);yt(this,a,c,S,kt-1,-kt)}let Q=S-1,rt=1,bt=0;for(this[c+Q]=a&255;--Q>=0&&(rt*=256);)a<0&&bt===0&&this[c+Q+1]!==0&&(bt=1),this[c+Q]=(a/rt>>0)-bt&255;return c+S},i.prototype.writeInt8=function(a,c,S){return a=+a,c=c>>>0,S||yt(this,a,c,1,127,-128),a<0&&(a=255+a+1),this[c]=a&255,c+1},i.prototype.writeInt16LE=function(a,c,S){return a=+a,c=c>>>0,S||yt(this,a,c,2,32767,-32768),this[c]=a&255,this[c+1]=a>>>8,c+2},i.prototype.writeInt16BE=function(a,c,S){return a=+a,c=c>>>0,S||yt(this,a,c,2,32767,-32768),this[c]=a>>>8,this[c+1]=a&255,c+2},i.prototype.writeInt32LE=function(a,c,S){return a=+a,c=c>>>0,S||yt(this,a,c,4,2147483647,-2147483648),this[c]=a&255,this[c+1]=a>>>8,this[c+2]=a>>>16,this[c+3]=a>>>24,c+4},i.prototype.writeInt32BE=function(a,c,S){return a=+a,c=c>>>0,S||yt(this,a,c,4,2147483647,-2147483648),a<0&&(a=4294967295+a+1),this[c]=a>>>24,this[c+1]=a>>>16,this[c+2]=a>>>8,this[c+3]=a&255,c+4},i.prototype.writeBigInt64LE=Pt(function(a,c=0){return wt(this,a,c,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),i.prototype.writeBigInt64BE=Pt(function(a,c=0){return Et(this,a,c,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Nt(w,a,c,S,N,Q){if(c+S>w.length)throw new RangeError("Index out of range");if(c<0)throw new RangeError("Index out of range")}function xt(w,a,c,S,N){return a=+a,c=c>>>0,N||Nt(w,a,c,4),pt.write(w,a,c,S,23,4),c+4}i.prototype.writeFloatLE=function(a,c,S){return xt(this,a,c,!0,S)},i.prototype.writeFloatBE=function(a,c,S){return xt(this,a,c,!1,S)};function vt(w,a,c,S,N){return a=+a,c=c>>>0,N||Nt(w,a,c,8),pt.write(w,a,c,S,52,8),c+8}i.prototype.writeDoubleLE=function(a,c,S){return vt(this,a,c,!0,S)},i.prototype.writeDoubleBE=function(a,c,S){return vt(this,a,c,!1,S)},i.prototype.copy=function(a,c,S,N){if(!i.isBuffer(a))throw new TypeError("argument should be a Buffer");if(S||(S=0),!N&&N!==0&&(N=this.length),c>=a.length&&(c=a.length),c||(c=0),N>0&&N<S&&(N=S),N===S||a.length===0||this.length===0)return 0;if(c<0)throw new RangeError("targetStart out of bounds");if(S<0||S>=this.length)throw new RangeError("Index out of range");if(N<0)throw new RangeError("sourceEnd out of bounds");N>this.length&&(N=this.length),a.length-c<N-S&&(N=a.length-c+S);const Q=N-S;return this===a&&typeof G.prototype.copyWithin=="function"?this.copyWithin(c,S,N):G.prototype.set.call(a,this.subarray(S,N),c),Q},i.prototype.fill=function(a,c,S,N){if(typeof a=="string"){if(typeof c=="string"?(N=c,c=0,S=this.length):typeof S=="string"&&(N=S,S=this.length),N!==void 0&&typeof N!="string")throw new TypeError("encoding must be a string");if(typeof N=="string"&&!i.isEncoding(N))throw new TypeError("Unknown encoding: "+N);if(a.length===1){const rt=a.charCodeAt(0);(N==="utf8"&&rt<128||N==="latin1")&&(a=rt)}}else typeof a=="number"?a=a&255:typeof a=="boolean"&&(a=Number(a));if(c<0||this.length<c||this.length<S)throw new RangeError("Out of range index");if(S<=c)return this;c=c>>>0,S=S===void 0?this.length:S>>>0,a||(a=0);let Q;if(typeof a=="number")for(Q=c;Q<S;++Q)this[Q]=a;else{const rt=i.isBuffer(a)?a:i.from(a,N),bt=rt.length;if(bt===0)throw new TypeError('The value "'+a+'" is invalid for argument "value"');for(Q=0;Q<S-c;++Q)this[Q+c]=rt[Q%bt]}return this};const Lt={};function y(w,a,c){Lt[w]=class extends c{constructor(){super(),Object.defineProperty(this,"message",{value:a.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${w}]`,this.stack,delete this.name}get code(){return w}set code(N){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:N,writable:!0})}toString(){return`${this.name} [${w}]: ${this.message}`}}}y("ERR_BUFFER_OUT_OF_BOUNDS",function(w){return w?`${w} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),y("ERR_INVALID_ARG_TYPE",function(w,a){return`The "${w}" argument must be of type number. Received type ${typeof a}`},TypeError),y("ERR_OUT_OF_RANGE",function(w,a,c){let S=`The value of "${w}" is out of range.`,N=c;return Number.isInteger(c)&&Math.abs(c)>2**32?N=s(String(c)):typeof c=="bigint"&&(N=String(c),(c>BigInt(2)**BigInt(32)||c<-(BigInt(2)**BigInt(32)))&&(N=s(N)),N+="n"),S+=` It must be ${a}. Received ${N}`,S},RangeError);function s(w){let a="",c=w.length;const S=w[0]==="-"?1:0;for(;c>=S+4;c-=3)a=`_${w.slice(c-3,c)}${a}`;return`${w.slice(0,c)}${a}`}function l(w,a,c){I(a,"offset"),(w[a]===void 0||w[a+c]===void 0)&&W(a,w.length-(c+1))}function _(w,a,c,S,N,Q){if(w>c||w<a){const rt=typeof a=="bigint"?"n":"";let bt;throw a===0||a===BigInt(0)?bt=`>= 0${rt} and < 2${rt} ** ${(Q+1)*8}${rt}`:bt=`>= -(2${rt} ** ${(Q+1)*8-1}${rt}) and < 2 ** ${(Q+1)*8-1}${rt}`,new Lt.ERR_OUT_OF_RANGE("value",bt,w)}l(S,N,Q)}function I(w,a){if(typeof w!="number")throw new Lt.ERR_INVALID_ARG_TYPE(a,"number",w)}function W(w,a,c){throw Math.floor(w)!==w?(I(w,c),new Lt.ERR_OUT_OF_RANGE("offset","an integer",w)):a<0?new Lt.ERR_BUFFER_OUT_OF_BOUNDS:new Lt.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${a}`,w)}const K=/[^+/0-9A-Za-z-_]/g;function gt(w){if(w=w.split("=")[0],w=w.trim().replace(K,""),w.length<2)return"";for(;w.length%4!==0;)w=w+"=";return w}function Ut(w,a){a=a||1/0;let c;const S=w.length;let N=null;const Q=[];for(let rt=0;rt<S;++rt){if(c=w.charCodeAt(rt),c>55295&&c<57344){if(!N){if(c>56319){(a-=3)>-1&&Q.push(239,191,189);continue}else if(rt+1===S){(a-=3)>-1&&Q.push(239,191,189);continue}N=c;continue}if(c<56320){(a-=3)>-1&&Q.push(239,191,189),N=c;continue}c=(N-55296<<10|c-56320)+65536}else N&&(a-=3)>-1&&Q.push(239,191,189);if(N=null,c<128){if((a-=1)<0)break;Q.push(c)}else if(c<2048){if((a-=2)<0)break;Q.push(c>>6|192,c&63|128)}else if(c<65536){if((a-=3)<0)break;Q.push(c>>12|224,c>>6&63|128,c&63|128)}else if(c<1114112){if((a-=4)<0)break;Q.push(c>>18|240,c>>12&63|128,c>>6&63|128,c&63|128)}else throw new Error("Invalid code point")}return Q}function Bt(w){const a=[];for(let c=0;c<w.length;++c)a.push(w.charCodeAt(c)&255);return a}function St(w,a){let c,S,N;const Q=[];for(let rt=0;rt<w.length&&!((a-=2)<0);++rt)c=w.charCodeAt(rt),S=c>>8,N=c%256,Q.push(N),Q.push(S);return Q}function Ft(w){return at.toByteArray(gt(w))}function jt(w,a,c,S){let N;for(N=0;N<S&&!(N+c>=a.length||N>=w.length);++N)a[N+c]=w[N];return N}function Rt(w,a){return w instanceof a||w!=null&&w.constructor!=null&&w.constructor.name!=null&&w.constructor.name===a.name}function Re(w){return w!==w}const zt=function(){const w="0123456789abcdef",a=new Array(256);for(let c=0;c<16;++c){const S=c*16;for(let N=0;N<16;++N)a[S+N]=w[c]+w[N]}return a}();function Pt(w){return typeof BigInt>"u"?gr:w}function gr(){throw new Error("BigInt not supported")}})(e);const lt=e.Buffer;t.Blob=e.Blob,t.BlobOptions=e.BlobOptions,t.Buffer=e.Buffer,t.File=e.File,t.FileOptions=e.FileOptions,t.INSPECT_MAX_BYTES=e.INSPECT_MAX_BYTES,t.SlowBuffer=e.SlowBuffer,t.TranscodeEncoding=e.TranscodeEncoding,t.atob=e.atob,t.btoa=e.btoa,t.constants=e.constants,t.default=lt,t.isAscii=e.isAscii,t.isUtf8=e.isUtf8,t.kMaxLength=e.kMaxLength,t.kStringMaxLength=e.kStringMaxLength,t.resolveObjectURL=e.resolveObjectURL,t.transcode=e.transcode}(An)),An}var Y1=_r.exports,Oo;function sw(){return Oo||(Oo=1,function(t){(function(e,r){function n(A,i){if(!A)throw new Error(i||"Assertion failed")}function u(A,i){A.super_=i;var h=function(){};h.prototype=i.prototype,A.prototype=new h,A.prototype.constructor=A}function o(A,i,h){if(o.isBN(A))return A;this.negative=0,this.words=null,this.length=0,this.red=null,A!==null&&((i==="le"||i==="be")&&(h=i,i=10),this._init(A||0,i||10,h||"be"))}typeof e=="object"?e.exports=o:r.BN=o,o.BN=o,o.wordSize=26;var p;try{typeof window<"u"&&typeof window.Buffer<"u"?p=window.Buffer:p=K1().Buffer}catch{}o.isBN=function(i){return i instanceof o?!0:i!==null&&typeof i=="object"&&i.constructor.wordSize===o.wordSize&&Array.isArray(i.words)},o.max=function(i,h){return i.cmp(h)>0?i:h},o.min=function(i,h){return i.cmp(h)<0?i:h},o.prototype._init=function(i,h,g){if(typeof i=="number")return this._initNumber(i,h,g);if(typeof i=="object")return this._initArray(i,h,g);h==="hex"&&(h=16),n(h===(h|0)&&h>=2&&h<=36),i=i.toString().replace(/\s+/g,"");var m=0;i[0]==="-"&&(m++,this.negative=1),m<i.length&&(h===16?this._parseHex(i,m,g):(this._parseBase(i,h,m),g==="le"&&this._initArray(this.toArray(),h,g)))},o.prototype._initNumber=function(i,h,g){i<0&&(this.negative=1,i=-i),i<67108864?(this.words=[i&67108863],this.length=1):i<4503599627370496?(this.words=[i&67108863,i/67108864&67108863],this.length=2):(n(i<9007199254740992),this.words=[i&67108863,i/67108864&67108863,1],this.length=3),g==="le"&&this._initArray(this.toArray(),h,g)},o.prototype._initArray=function(i,h,g){if(n(typeof i.length=="number"),i.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(i.length/3),this.words=new Array(this.length);for(var m=0;m<this.length;m++)this.words[m]=0;var v,C,F=0;if(g==="be")for(m=i.length-1,v=0;m>=0;m-=3)C=i[m]|i[m-1]<<8|i[m-2]<<16,this.words[v]|=C<<F&67108863,this.words[v+1]=C>>>26-F&67108863,F+=24,F>=26&&(F-=26,v++);else if(g==="le")for(m=0,v=0;m<i.length;m+=3)C=i[m]|i[m+1]<<8|i[m+2]<<16,this.words[v]|=C<<F&67108863,this.words[v+1]=C>>>26-F&67108863,F+=24,F>=26&&(F-=26,v++);return this.strip()};function b(A,i){var h=A.charCodeAt(i);return h>=65&&h<=70?h-55:h>=97&&h<=102?h-87:h-48&15}function B(A,i,h){var g=b(A,h);return h-1>=i&&(g|=b(A,h-1)<<4),g}o.prototype._parseHex=function(i,h,g){this.length=Math.ceil((i.length-h)/6),this.words=new Array(this.length);for(var m=0;m<this.length;m++)this.words[m]=0;var v=0,C=0,F;if(g==="be")for(m=i.length-1;m>=h;m-=2)F=B(i,h,m)<<v,this.words[C]|=F&67108863,v>=18?(v-=18,C+=1,this.words[C]|=F>>>26):v+=8;else{var M=i.length-h;for(m=M%2===0?h+1:h;m<i.length;m+=2)F=B(i,h,m)<<v,this.words[C]|=F&67108863,v>=18?(v-=18,C+=1,this.words[C]|=F>>>26):v+=8}this.strip()};function E(A,i,h,g){for(var m=0,v=Math.min(A.length,h),C=i;C<v;C++){var F=A.charCodeAt(C)-48;m*=g,F>=49?m+=F-49+10:F>=17?m+=F-17+10:m+=F}return m}o.prototype._parseBase=function(i,h,g){this.words=[0],this.length=1;for(var m=0,v=1;v<=67108863;v*=h)m++;m--,v=v/h|0;for(var C=i.length-g,F=C%m,M=Math.min(C,C-F)+g,f=0,T=g;T<M;T+=m)f=E(i,T,T+m,h),this.imuln(v),this.words[0]+f<67108864?this.words[0]+=f:this._iaddn(f);if(F!==0){var ct=1;for(f=E(i,T,i.length,h),T=0;T<F;T++)ct*=h;this.imuln(ct),this.words[0]+f<67108864?this.words[0]+=f:this._iaddn(f)}this.strip()},o.prototype.copy=function(i){i.words=new Array(this.length);for(var h=0;h<this.length;h++)i.words[h]=this.words[h];i.length=this.length,i.negative=this.negative,i.red=this.red},o.prototype.clone=function(){var i=new o(null);return this.copy(i),i},o.prototype._expand=function(i){for(;this.length<i;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},o.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var d=["","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"],$=[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],D=[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];o.prototype.toString=function(i,h){i=i||10,h=h|0||1;var g;if(i===16||i==="hex"){g="";for(var m=0,v=0,C=0;C<this.length;C++){var F=this.words[C],M=((F<<m|v)&16777215).toString(16);v=F>>>24-m&16777215,v!==0||C!==this.length-1?g=d[6-M.length]+M+g:g=M+g,m+=2,m>=26&&(m-=26,C--)}for(v!==0&&(g=v.toString(16)+g);g.length%h!==0;)g="0"+g;return this.negative!==0&&(g="-"+g),g}if(i===(i|0)&&i>=2&&i<=36){var f=$[i],T=D[i];g="";var ct=this.clone();for(ct.negative=0;!ct.isZero();){var dt=ct.modn(T).toString(i);ct=ct.idivn(T),ct.isZero()?g=dt+g:g=d[f-dt.length]+dt+g}for(this.isZero()&&(g="0"+g);g.length%h!==0;)g="0"+g;return this.negative!==0&&(g="-"+g),g}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var i=this.words[0];return this.length===2?i+=this.words[1]*67108864:this.length===3&&this.words[2]===1?i+=4503599627370496+this.words[1]*67108864:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-i:i},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(i,h){return n(typeof p<"u"),this.toArrayLike(p,i,h)},o.prototype.toArray=function(i,h){return this.toArrayLike(Array,i,h)},o.prototype.toArrayLike=function(i,h,g){var m=this.byteLength(),v=g||Math.max(1,m);n(m<=v,"byte array longer than desired length"),n(v>0,"Requested array length <= 0"),this.strip();var C=h==="le",F=new i(v),M,f,T=this.clone();if(C){for(f=0;!T.isZero();f++)M=T.andln(255),T.iushrn(8),F[f]=M;for(;f<v;f++)F[f]=0}else{for(f=0;f<v-m;f++)F[f]=0;for(f=0;!T.isZero();f++)M=T.andln(255),T.iushrn(8),F[v-f-1]=M}return F},Math.clz32?o.prototype._countBits=function(i){return 32-Math.clz32(i)}:o.prototype._countBits=function(i){var h=i,g=0;return h>=4096&&(g+=13,h>>>=13),h>=64&&(g+=7,h>>>=7),h>=8&&(g+=4,h>>>=4),h>=2&&(g+=2,h>>>=2),g+h},o.prototype._zeroBits=function(i){if(i===0)return 26;var h=i,g=0;return(h&8191)===0&&(g+=13,h>>>=13),(h&127)===0&&(g+=7,h>>>=7),(h&15)===0&&(g+=4,h>>>=4),(h&3)===0&&(g+=2,h>>>=2),(h&1)===0&&g++,g},o.prototype.bitLength=function(){var i=this.words[this.length-1],h=this._countBits(i);return(this.length-1)*26+h};function V(A){for(var i=new Array(A.bitLength()),h=0;h<i.length;h++){var g=h/26|0,m=h%26;i[h]=(A.words[g]&1<<m)>>>m}return i}o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var i=0,h=0;h<this.length;h++){var g=this._zeroBits(this.words[h]);if(i+=g,g!==26)break}return i},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(i){return this.negative!==0?this.abs().inotn(i).iaddn(1):this.clone()},o.prototype.fromTwos=function(i){return this.testn(i-1)?this.notn(i).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return this.negative!==0},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(i){for(;this.length<i.length;)this.words[this.length++]=0;for(var h=0;h<i.length;h++)this.words[h]=this.words[h]|i.words[h];return this.strip()},o.prototype.ior=function(i){return n((this.negative|i.negative)===0),this.iuor(i)},o.prototype.or=function(i){return this.length>i.length?this.clone().ior(i):i.clone().ior(this)},o.prototype.uor=function(i){return this.length>i.length?this.clone().iuor(i):i.clone().iuor(this)},o.prototype.iuand=function(i){var h;this.length>i.length?h=i:h=this;for(var g=0;g<h.length;g++)this.words[g]=this.words[g]&i.words[g];return this.length=h.length,this.strip()},o.prototype.iand=function(i){return n((this.negative|i.negative)===0),this.iuand(i)},o.prototype.and=function(i){return this.length>i.length?this.clone().iand(i):i.clone().iand(this)},o.prototype.uand=function(i){return this.length>i.length?this.clone().iuand(i):i.clone().iuand(this)},o.prototype.iuxor=function(i){var h,g;this.length>i.length?(h=this,g=i):(h=i,g=this);for(var m=0;m<g.length;m++)this.words[m]=h.words[m]^g.words[m];if(this!==h)for(;m<h.length;m++)this.words[m]=h.words[m];return this.length=h.length,this.strip()},o.prototype.ixor=function(i){return n((this.negative|i.negative)===0),this.iuxor(i)},o.prototype.xor=function(i){return this.length>i.length?this.clone().ixor(i):i.clone().ixor(this)},o.prototype.uxor=function(i){return this.length>i.length?this.clone().iuxor(i):i.clone().iuxor(this)},o.prototype.inotn=function(i){n(typeof i=="number"&&i>=0);var h=Math.ceil(i/26)|0,g=i%26;this._expand(h),g>0&&h--;for(var m=0;m<h;m++)this.words[m]=~this.words[m]&67108863;return g>0&&(this.words[m]=~this.words[m]&67108863>>26-g),this.strip()},o.prototype.notn=function(i){return this.clone().inotn(i)},o.prototype.setn=function(i,h){n(typeof i=="number"&&i>=0);var g=i/26|0,m=i%26;return this._expand(g+1),h?this.words[g]=this.words[g]|1<<m:this.words[g]=this.words[g]&~(1<<m),this.strip()},o.prototype.iadd=function(i){var h;if(this.negative!==0&&i.negative===0)return this.negative=0,h=this.isub(i),this.negative^=1,this._normSign();if(this.negative===0&&i.negative!==0)return i.negative=0,h=this.isub(i),i.negative=1,h._normSign();var g,m;this.length>i.length?(g=this,m=i):(g=i,m=this);for(var v=0,C=0;C<m.length;C++)h=(g.words[C]|0)+(m.words[C]|0)+v,this.words[C]=h&67108863,v=h>>>26;for(;v!==0&&C<g.length;C++)h=(g.words[C]|0)+v,this.words[C]=h&67108863,v=h>>>26;if(this.length=g.length,v!==0)this.words[this.length]=v,this.length++;else if(g!==this)for(;C<g.length;C++)this.words[C]=g.words[C];return this},o.prototype.add=function(i){var h;return i.negative!==0&&this.negative===0?(i.negative=0,h=this.sub(i),i.negative^=1,h):i.negative===0&&this.negative!==0?(this.negative=0,h=i.sub(this),this.negative=1,h):this.length>i.length?this.clone().iadd(i):i.clone().iadd(this)},o.prototype.isub=function(i){if(i.negative!==0){i.negative=0;var h=this.iadd(i);return i.negative=1,h._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(i),this.negative=1,this._normSign();var g=this.cmp(i);if(g===0)return this.negative=0,this.length=1,this.words[0]=0,this;var m,v;g>0?(m=this,v=i):(m=i,v=this);for(var C=0,F=0;F<v.length;F++)h=(m.words[F]|0)-(v.words[F]|0)+C,C=h>>26,this.words[F]=h&67108863;for(;C!==0&&F<m.length;F++)h=(m.words[F]|0)+C,C=h>>26,this.words[F]=h&67108863;if(C===0&&F<m.length&&m!==this)for(;F<m.length;F++)this.words[F]=m.words[F];return this.length=Math.max(this.length,F),m!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(i){return this.clone().isub(i)};function tt(A,i,h){h.negative=i.negative^A.negative;var g=A.length+i.length|0;h.length=g,g=g-1|0;var m=A.words[0]|0,v=i.words[0]|0,C=m*v,F=C&67108863,M=C/67108864|0;h.words[0]=F;for(var f=1;f<g;f++){for(var T=M>>>26,ct=M&67108863,dt=Math.min(f,i.length-1),k=Math.max(0,f-A.length+1);k<=dt;k++){var mt=f-k|0;m=A.words[mt]|0,v=i.words[k]|0,C=m*v+ct,T+=C/67108864|0,ct=C&67108863}h.words[f]=ct|0,M=T|0}return M!==0?h.words[f]=M|0:h.length--,h.strip()}var ot=function(i,h,g){var m=i.words,v=h.words,C=g.words,F=0,M,f,T,ct=m[0]|0,dt=ct&8191,k=ct>>>13,mt=m[1]|0,Mt=mt&8191,Tt=mt>>>13,$t=m[2]|0,_t=$t&8191,x=$t>>>13,O=m[3]|0,R=O&8191,q=O>>>13,j=m[4]|0,L=j&8191,H=j>>>13,U=m[5]|0,P=U&8191,z=U>>>13,Z=m[6]|0,it=Z&8191,ft=Z>>>13,yt=m[7]|0,wt=yt&8191,Et=yt>>>13,Nt=m[8]|0,xt=Nt&8191,vt=Nt>>>13,Lt=m[9]|0,y=Lt&8191,s=Lt>>>13,l=v[0]|0,_=l&8191,I=l>>>13,W=v[1]|0,K=W&8191,gt=W>>>13,Ut=v[2]|0,Bt=Ut&8191,St=Ut>>>13,Ft=v[3]|0,jt=Ft&8191,Rt=Ft>>>13,Re=v[4]|0,zt=Re&8191,Pt=Re>>>13,gr=v[5]|0,w=gr&8191,a=gr>>>13,c=v[6]|0,S=c&8191,N=c>>>13,Q=v[7]|0,rt=Q&8191,bt=Q>>>13,kt=v[8]|0,At=kt&8191,Ot=kt>>>13,It=v[9]|0,Wt=It&8191,Zt=It>>>13;g.negative=i.negative^h.negative,g.length=19,M=Math.imul(dt,_),f=Math.imul(dt,I),f=f+Math.imul(k,_)|0,T=Math.imul(k,I);var Xr=(F+M|0)+((f&8191)<<13)|0;F=(T+(f>>>13)|0)+(Xr>>>26)|0,Xr&=67108863,M=Math.imul(Mt,_),f=Math.imul(Mt,I),f=f+Math.imul(Tt,_)|0,T=Math.imul(Tt,I),M=M+Math.imul(dt,K)|0,f=f+Math.imul(dt,gt)|0,f=f+Math.imul(k,K)|0,T=T+Math.imul(k,gt)|0;var Qr=(F+M|0)+((f&8191)<<13)|0;F=(T+(f>>>13)|0)+(Qr>>>26)|0,Qr&=67108863,M=Math.imul(_t,_),f=Math.imul(_t,I),f=f+Math.imul(x,_)|0,T=Math.imul(x,I),M=M+Math.imul(Mt,K)|0,f=f+Math.imul(Mt,gt)|0,f=f+Math.imul(Tt,K)|0,T=T+Math.imul(Tt,gt)|0,M=M+Math.imul(dt,Bt)|0,f=f+Math.imul(dt,St)|0,f=f+Math.imul(k,Bt)|0,T=T+Math.imul(k,St)|0;var tn=(F+M|0)+((f&8191)<<13)|0;F=(T+(f>>>13)|0)+(tn>>>26)|0,tn&=67108863,M=Math.imul(R,_),f=Math.imul(R,I),f=f+Math.imul(q,_)|0,T=Math.imul(q,I),M=M+Math.imul(_t,K)|0,f=f+Math.imul(_t,gt)|0,f=f+Math.imul(x,K)|0,T=T+Math.imul(x,gt)|0,M=M+Math.imul(Mt,Bt)|0,f=f+Math.imul(Mt,St)|0,f=f+Math.imul(Tt,Bt)|0,T=T+Math.imul(Tt,St)|0,M=M+Math.imul(dt,jt)|0,f=f+Math.imul(dt,Rt)|0,f=f+Math.imul(k,jt)|0,T=T+Math.imul(k,Rt)|0;var en=(F+M|0)+((f&8191)<<13)|0;F=(T+(f>>>13)|0)+(en>>>26)|0,en&=67108863,M=Math.imul(L,_),f=Math.imul(L,I),f=f+Math.imul(H,_)|0,T=Math.imul(H,I),M=M+Math.imul(R,K)|0,f=f+Math.imul(R,gt)|0,f=f+Math.imul(q,K)|0,T=T+Math.imul(q,gt)|0,M=M+Math.imul(_t,Bt)|0,f=f+Math.imul(_t,St)|0,f=f+Math.imul(x,Bt)|0,T=T+Math.imul(x,St)|0,M=M+Math.imul(Mt,jt)|0,f=f+Math.imul(Mt,Rt)|0,f=f+Math.imul(Tt,jt)|0,T=T+Math.imul(Tt,Rt)|0,M=M+Math.imul(dt,zt)|0,f=f+Math.imul(dt,Pt)|0,f=f+Math.imul(k,zt)|0,T=T+Math.imul(k,Pt)|0;var rn=(F+M|0)+((f&8191)<<13)|0;F=(T+(f>>>13)|0)+(rn>>>26)|0,rn&=67108863,M=Math.imul(P,_),f=Math.imul(P,I),f=f+Math.imul(z,_)|0,T=Math.imul(z,I),M=M+Math.imul(L,K)|0,f=f+Math.imul(L,gt)|0,f=f+Math.imul(H,K)|0,T=T+Math.imul(H,gt)|0,M=M+Math.imul(R,Bt)|0,f=f+Math.imul(R,St)|0,f=f+Math.imul(q,Bt)|0,T=T+Math.imul(q,St)|0,M=M+Math.imul(_t,jt)|0,f=f+Math.imul(_t,Rt)|0,f=f+Math.imul(x,jt)|0,T=T+Math.imul(x,Rt)|0,M=M+Math.imul(Mt,zt)|0,f=f+Math.imul(Mt,Pt)|0,f=f+Math.imul(Tt,zt)|0,T=T+Math.imul(Tt,Pt)|0,M=M+Math.imul(dt,w)|0,f=f+Math.imul(dt,a)|0,f=f+Math.imul(k,w)|0,T=T+Math.imul(k,a)|0;var nn=(F+M|0)+((f&8191)<<13)|0;F=(T+(f>>>13)|0)+(nn>>>26)|0,nn&=67108863,M=Math.imul(it,_),f=Math.imul(it,I),f=f+Math.imul(ft,_)|0,T=Math.imul(ft,I),M=M+Math.imul(P,K)|0,f=f+Math.imul(P,gt)|0,f=f+Math.imul(z,K)|0,T=T+Math.imul(z,gt)|0,M=M+Math.imul(L,Bt)|0,f=f+Math.imul(L,St)|0,f=f+Math.imul(H,Bt)|0,T=T+Math.imul(H,St)|0,M=M+Math.imul(R,jt)|0,f=f+Math.imul(R,Rt)|0,f=f+Math.imul(q,jt)|0,T=T+Math.imul(q,Rt)|0,M=M+Math.imul(_t,zt)|0,f=f+Math.imul(_t,Pt)|0,f=f+Math.imul(x,zt)|0,T=T+Math.imul(x,Pt)|0,M=M+Math.imul(Mt,w)|0,f=f+Math.imul(Mt,a)|0,f=f+Math.imul(Tt,w)|0,T=T+Math.imul(Tt,a)|0,M=M+Math.imul(dt,S)|0,f=f+Math.imul(dt,N)|0,f=f+Math.imul(k,S)|0,T=T+Math.imul(k,N)|0;var on=(F+M|0)+((f&8191)<<13)|0;F=(T+(f>>>13)|0)+(on>>>26)|0,on&=67108863,M=Math.imul(wt,_),f=Math.imul(wt,I),f=f+Math.imul(Et,_)|0,T=Math.imul(Et,I),M=M+Math.imul(it,K)|0,f=f+Math.imul(it,gt)|0,f=f+Math.imul(ft,K)|0,T=T+Math.imul(ft,gt)|0,M=M+Math.imul(P,Bt)|0,f=f+Math.imul(P,St)|0,f=f+Math.imul(z,Bt)|0,T=T+Math.imul(z,St)|0,M=M+Math.imul(L,jt)|0,f=f+Math.imul(L,Rt)|0,f=f+Math.imul(H,jt)|0,T=T+Math.imul(H,Rt)|0,M=M+Math.imul(R,zt)|0,f=f+Math.imul(R,Pt)|0,f=f+Math.imul(q,zt)|0,T=T+Math.imul(q,Pt)|0,M=M+Math.imul(_t,w)|0,f=f+Math.imul(_t,a)|0,f=f+Math.imul(x,w)|0,T=T+Math.imul(x,a)|0,M=M+Math.imul(Mt,S)|0,f=f+Math.imul(Mt,N)|0,f=f+Math.imul(Tt,S)|0,T=T+Math.imul(Tt,N)|0,M=M+Math.imul(dt,rt)|0,f=f+Math.imul(dt,bt)|0,f=f+Math.imul(k,rt)|0,T=T+Math.imul(k,bt)|0;var sn=(F+M|0)+((f&8191)<<13)|0;F=(T+(f>>>13)|0)+(sn>>>26)|0,sn&=67108863,M=Math.imul(xt,_),f=Math.imul(xt,I),f=f+Math.imul(vt,_)|0,T=Math.imul(vt,I),M=M+Math.imul(wt,K)|0,f=f+Math.imul(wt,gt)|0,f=f+Math.imul(Et,K)|0,T=T+Math.imul(Et,gt)|0,M=M+Math.imul(it,Bt)|0,f=f+Math.imul(it,St)|0,f=f+Math.imul(ft,Bt)|0,T=T+Math.imul(ft,St)|0,M=M+Math.imul(P,jt)|0,f=f+Math.imul(P,Rt)|0,f=f+Math.imul(z,jt)|0,T=T+Math.imul(z,Rt)|0,M=M+Math.imul(L,zt)|0,f=f+Math.imul(L,Pt)|0,f=f+Math.imul(H,zt)|0,T=T+Math.imul(H,Pt)|0,M=M+Math.imul(R,w)|0,f=f+Math.imul(R,a)|0,f=f+Math.imul(q,w)|0,T=T+Math.imul(q,a)|0,M=M+Math.imul(_t,S)|0,f=f+Math.imul(_t,N)|0,f=f+Math.imul(x,S)|0,T=T+Math.imul(x,N)|0,M=M+Math.imul(Mt,rt)|0,f=f+Math.imul(Mt,bt)|0,f=f+Math.imul(Tt,rt)|0,T=T+Math.imul(Tt,bt)|0,M=M+Math.imul(dt,At)|0,f=f+Math.imul(dt,Ot)|0,f=f+Math.imul(k,At)|0,T=T+Math.imul(k,Ot)|0;var an=(F+M|0)+((f&8191)<<13)|0;F=(T+(f>>>13)|0)+(an>>>26)|0,an&=67108863,M=Math.imul(y,_),f=Math.imul(y,I),f=f+Math.imul(s,_)|0,T=Math.imul(s,I),M=M+Math.imul(xt,K)|0,f=f+Math.imul(xt,gt)|0,f=f+Math.imul(vt,K)|0,T=T+Math.imul(vt,gt)|0,M=M+Math.imul(wt,Bt)|0,f=f+Math.imul(wt,St)|0,f=f+Math.imul(Et,Bt)|0,T=T+Math.imul(Et,St)|0,M=M+Math.imul(it,jt)|0,f=f+Math.imul(it,Rt)|0,f=f+Math.imul(ft,jt)|0,T=T+Math.imul(ft,Rt)|0,M=M+Math.imul(P,zt)|0,f=f+Math.imul(P,Pt)|0,f=f+Math.imul(z,zt)|0,T=T+Math.imul(z,Pt)|0,M=M+Math.imul(L,w)|0,f=f+Math.imul(L,a)|0,f=f+Math.imul(H,w)|0,T=T+Math.imul(H,a)|0,M=M+Math.imul(R,S)|0,f=f+Math.imul(R,N)|0,f=f+Math.imul(q,S)|0,T=T+Math.imul(q,N)|0,M=M+Math.imul(_t,rt)|0,f=f+Math.imul(_t,bt)|0,f=f+Math.imul(x,rt)|0,T=T+Math.imul(x,bt)|0,M=M+Math.imul(Mt,At)|0,f=f+Math.imul(Mt,Ot)|0,f=f+Math.imul(Tt,At)|0,T=T+Math.imul(Tt,Ot)|0,M=M+Math.imul(dt,Wt)|0,f=f+Math.imul(dt,Zt)|0,f=f+Math.imul(k,Wt)|0,T=T+Math.imul(k,Zt)|0;var un=(F+M|0)+((f&8191)<<13)|0;F=(T+(f>>>13)|0)+(un>>>26)|0,un&=67108863,M=Math.imul(y,K),f=Math.imul(y,gt),f=f+Math.imul(s,K)|0,T=Math.imul(s,gt),M=M+Math.imul(xt,Bt)|0,f=f+Math.imul(xt,St)|0,f=f+Math.imul(vt,Bt)|0,T=T+Math.imul(vt,St)|0,M=M+Math.imul(wt,jt)|0,f=f+Math.imul(wt,Rt)|0,f=f+Math.imul(Et,jt)|0,T=T+Math.imul(Et,Rt)|0,M=M+Math.imul(it,zt)|0,f=f+Math.imul(it,Pt)|0,f=f+Math.imul(ft,zt)|0,T=T+Math.imul(ft,Pt)|0,M=M+Math.imul(P,w)|0,f=f+Math.imul(P,a)|0,f=f+Math.imul(z,w)|0,T=T+Math.imul(z,a)|0,M=M+Math.imul(L,S)|0,f=f+Math.imul(L,N)|0,f=f+Math.imul(H,S)|0,T=T+Math.imul(H,N)|0,M=M+Math.imul(R,rt)|0,f=f+Math.imul(R,bt)|0,f=f+Math.imul(q,rt)|0,T=T+Math.imul(q,bt)|0,M=M+Math.imul(_t,At)|0,f=f+Math.imul(_t,Ot)|0,f=f+Math.imul(x,At)|0,T=T+Math.imul(x,Ot)|0,M=M+Math.imul(Mt,Wt)|0,f=f+Math.imul(Mt,Zt)|0,f=f+Math.imul(Tt,Wt)|0,T=T+Math.imul(Tt,Zt)|0;var fn=(F+M|0)+((f&8191)<<13)|0;F=(T+(f>>>13)|0)+(fn>>>26)|0,fn&=67108863,M=Math.imul(y,Bt),f=Math.imul(y,St),f=f+Math.imul(s,Bt)|0,T=Math.imul(s,St),M=M+Math.imul(xt,jt)|0,f=f+Math.imul(xt,Rt)|0,f=f+Math.imul(vt,jt)|0,T=T+Math.imul(vt,Rt)|0,M=M+Math.imul(wt,zt)|0,f=f+Math.imul(wt,Pt)|0,f=f+Math.imul(Et,zt)|0,T=T+Math.imul(Et,Pt)|0,M=M+Math.imul(it,w)|0,f=f+Math.imul(it,a)|0,f=f+Math.imul(ft,w)|0,T=T+Math.imul(ft,a)|0,M=M+Math.imul(P,S)|0,f=f+Math.imul(P,N)|0,f=f+Math.imul(z,S)|0,T=T+Math.imul(z,N)|0,M=M+Math.imul(L,rt)|0,f=f+Math.imul(L,bt)|0,f=f+Math.imul(H,rt)|0,T=T+Math.imul(H,bt)|0,M=M+Math.imul(R,At)|0,f=f+Math.imul(R,Ot)|0,f=f+Math.imul(q,At)|0,T=T+Math.imul(q,Ot)|0,M=M+Math.imul(_t,Wt)|0,f=f+Math.imul(_t,Zt)|0,f=f+Math.imul(x,Wt)|0,T=T+Math.imul(x,Zt)|0;var ln=(F+M|0)+((f&8191)<<13)|0;F=(T+(f>>>13)|0)+(ln>>>26)|0,ln&=67108863,M=Math.imul(y,jt),f=Math.imul(y,Rt),f=f+Math.imul(s,jt)|0,T=Math.imul(s,Rt),M=M+Math.imul(xt,zt)|0,f=f+Math.imul(xt,Pt)|0,f=f+Math.imul(vt,zt)|0,T=T+Math.imul(vt,Pt)|0,M=M+Math.imul(wt,w)|0,f=f+Math.imul(wt,a)|0,f=f+Math.imul(Et,w)|0,T=T+Math.imul(Et,a)|0,M=M+Math.imul(it,S)|0,f=f+Math.imul(it,N)|0,f=f+Math.imul(ft,S)|0,T=T+Math.imul(ft,N)|0,M=M+Math.imul(P,rt)|0,f=f+Math.imul(P,bt)|0,f=f+Math.imul(z,rt)|0,T=T+Math.imul(z,bt)|0,M=M+Math.imul(L,At)|0,f=f+Math.imul(L,Ot)|0,f=f+Math.imul(H,At)|0,T=T+Math.imul(H,Ot)|0,M=M+Math.imul(R,Wt)|0,f=f+Math.imul(R,Zt)|0,f=f+Math.imul(q,Wt)|0,T=T+Math.imul(q,Zt)|0;var cn=(F+M|0)+((f&8191)<<13)|0;F=(T+(f>>>13)|0)+(cn>>>26)|0,cn&=67108863,M=Math.imul(y,zt),f=Math.imul(y,Pt),f=f+Math.imul(s,zt)|0,T=Math.imul(s,Pt),M=M+Math.imul(xt,w)|0,f=f+Math.imul(xt,a)|0,f=f+Math.imul(vt,w)|0,T=T+Math.imul(vt,a)|0,M=M+Math.imul(wt,S)|0,f=f+Math.imul(wt,N)|0,f=f+Math.imul(Et,S)|0,T=T+Math.imul(Et,N)|0,M=M+Math.imul(it,rt)|0,f=f+Math.imul(it,bt)|0,f=f+Math.imul(ft,rt)|0,T=T+Math.imul(ft,bt)|0,M=M+Math.imul(P,At)|0,f=f+Math.imul(P,Ot)|0,f=f+Math.imul(z,At)|0,T=T+Math.imul(z,Ot)|0,M=M+Math.imul(L,Wt)|0,f=f+Math.imul(L,Zt)|0,f=f+Math.imul(H,Wt)|0,T=T+Math.imul(H,Zt)|0;var hn=(F+M|0)+((f&8191)<<13)|0;F=(T+(f>>>13)|0)+(hn>>>26)|0,hn&=67108863,M=Math.imul(y,w),f=Math.imul(y,a),f=f+Math.imul(s,w)|0,T=Math.imul(s,a),M=M+Math.imul(xt,S)|0,f=f+Math.imul(xt,N)|0,f=f+Math.imul(vt,S)|0,T=T+Math.imul(vt,N)|0,M=M+Math.imul(wt,rt)|0,f=f+Math.imul(wt,bt)|0,f=f+Math.imul(Et,rt)|0,T=T+Math.imul(Et,bt)|0,M=M+Math.imul(it,At)|0,f=f+Math.imul(it,Ot)|0,f=f+Math.imul(ft,At)|0,T=T+Math.imul(ft,Ot)|0,M=M+Math.imul(P,Wt)|0,f=f+Math.imul(P,Zt)|0,f=f+Math.imul(z,Wt)|0,T=T+Math.imul(z,Zt)|0;var pn=(F+M|0)+((f&8191)<<13)|0;F=(T+(f>>>13)|0)+(pn>>>26)|0,pn&=67108863,M=Math.imul(y,S),f=Math.imul(y,N),f=f+Math.imul(s,S)|0,T=Math.imul(s,N),M=M+Math.imul(xt,rt)|0,f=f+Math.imul(xt,bt)|0,f=f+Math.imul(vt,rt)|0,T=T+Math.imul(vt,bt)|0,M=M+Math.imul(wt,At)|0,f=f+Math.imul(wt,Ot)|0,f=f+Math.imul(Et,At)|0,T=T+Math.imul(Et,Ot)|0,M=M+Math.imul(it,Wt)|0,f=f+Math.imul(it,Zt)|0,f=f+Math.imul(ft,Wt)|0,T=T+Math.imul(ft,Zt)|0;var dn=(F+M|0)+((f&8191)<<13)|0;F=(T+(f>>>13)|0)+(dn>>>26)|0,dn&=67108863,M=Math.imul(y,rt),f=Math.imul(y,bt),f=f+Math.imul(s,rt)|0,T=Math.imul(s,bt),M=M+Math.imul(xt,At)|0,f=f+Math.imul(xt,Ot)|0,f=f+Math.imul(vt,At)|0,T=T+Math.imul(vt,Ot)|0,M=M+Math.imul(wt,Wt)|0,f=f+Math.imul(wt,Zt)|0,f=f+Math.imul(Et,Wt)|0,T=T+Math.imul(Et,Zt)|0;var gn=(F+M|0)+((f&8191)<<13)|0;F=(T+(f>>>13)|0)+(gn>>>26)|0,gn&=67108863,M=Math.imul(y,At),f=Math.imul(y,Ot),f=f+Math.imul(s,At)|0,T=Math.imul(s,Ot),M=M+Math.imul(xt,Wt)|0,f=f+Math.imul(xt,Zt)|0,f=f+Math.imul(vt,Wt)|0,T=T+Math.imul(vt,Zt)|0;var mn=(F+M|0)+((f&8191)<<13)|0;F=(T+(f>>>13)|0)+(mn>>>26)|0,mn&=67108863,M=Math.imul(y,Wt),f=Math.imul(y,Zt),f=f+Math.imul(s,Wt)|0,T=Math.imul(s,Zt);var yn=(F+M|0)+((f&8191)<<13)|0;return F=(T+(f>>>13)|0)+(yn>>>26)|0,yn&=67108863,C[0]=Xr,C[1]=Qr,C[2]=tn,C[3]=en,C[4]=rn,C[5]=nn,C[6]=on,C[7]=sn,C[8]=an,C[9]=un,C[10]=fn,C[11]=ln,C[12]=cn,C[13]=hn,C[14]=pn,C[15]=dn,C[16]=gn,C[17]=mn,C[18]=yn,F!==0&&(C[19]=F,g.length++),g};Math.imul||(ot=tt);function J(A,i,h){h.negative=i.negative^A.negative,h.length=A.length+i.length;for(var g=0,m=0,v=0;v<h.length-1;v++){var C=m;m=0;for(var F=g&67108863,M=Math.min(v,i.length-1),f=Math.max(0,v-A.length+1);f<=M;f++){var T=v-f,ct=A.words[T]|0,dt=i.words[f]|0,k=ct*dt,mt=k&67108863;C=C+(k/67108864|0)|0,mt=mt+F|0,F=mt&67108863,C=C+(mt>>>26)|0,m+=C>>>26,C&=67108863}h.words[v]=F,g=C,C=m}return g!==0?h.words[v]=g:h.length--,h.strip()}function lt(A,i,h){var g=new X;return g.mulp(A,i,h)}o.prototype.mulTo=function(i,h){var g,m=this.length+i.length;return this.length===10&&i.length===10?g=ot(this,i,h):m<63?g=tt(this,i,h):m<1024?g=J(this,i,h):g=lt(this,i,h),g};function X(A,i){this.x=A,this.y=i}X.prototype.makeRBT=function(i){for(var h=new Array(i),g=o.prototype._countBits(i)-1,m=0;m<i;m++)h[m]=this.revBin(m,g,i);return h},X.prototype.revBin=function(i,h,g){if(i===0||i===g-1)return i;for(var m=0,v=0;v<h;v++)m|=(i&1)<<h-v-1,i>>=1;return m},X.prototype.permute=function(i,h,g,m,v,C){for(var F=0;F<C;F++)m[F]=h[i[F]],v[F]=g[i[F]]},X.prototype.transform=function(i,h,g,m,v,C){this.permute(C,i,h,g,m,v);for(var F=1;F<v;F<<=1)for(var M=F<<1,f=Math.cos(2*Math.PI/M),T=Math.sin(2*Math.PI/M),ct=0;ct<v;ct+=M)for(var dt=f,k=T,mt=0;mt<F;mt++){var Mt=g[ct+mt],Tt=m[ct+mt],$t=g[ct+mt+F],_t=m[ct+mt+F],x=dt*$t-k*_t;_t=dt*_t+k*$t,$t=x,g[ct+mt]=Mt+$t,m[ct+mt]=Tt+_t,g[ct+mt+F]=Mt-$t,m[ct+mt+F]=Tt-_t,mt!==M&&(x=f*dt-T*k,k=f*k+T*dt,dt=x)}},X.prototype.guessLen13b=function(i,h){var g=Math.max(h,i)|1,m=g&1,v=0;for(g=g/2|0;g;g=g>>>1)v++;return 1<<v+1+m},X.prototype.conjugate=function(i,h,g){if(!(g<=1))for(var m=0;m<g/2;m++){var v=i[m];i[m]=i[g-m-1],i[g-m-1]=v,v=h[m],h[m]=-h[g-m-1],h[g-m-1]=-v}},X.prototype.normalize13b=function(i,h){for(var g=0,m=0;m<h/2;m++){var v=Math.round(i[2*m+1]/h)*8192+Math.round(i[2*m]/h)+g;i[m]=v&67108863,v<67108864?g=0:g=v/67108864|0}return i},X.prototype.convert13b=function(i,h,g,m){for(var v=0,C=0;C<h;C++)v=v+(i[C]|0),g[2*C]=v&8191,v=v>>>13,g[2*C+1]=v&8191,v=v>>>13;for(C=2*h;C<m;++C)g[C]=0;n(v===0),n((v&-8192)===0)},X.prototype.stub=function(i){for(var h=new Array(i),g=0;g<i;g++)h[g]=0;return h},X.prototype.mulp=function(i,h,g){var m=2*this.guessLen13b(i.length,h.length),v=this.makeRBT(m),C=this.stub(m),F=new Array(m),M=new Array(m),f=new Array(m),T=new Array(m),ct=new Array(m),dt=new Array(m),k=g.words;k.length=m,this.convert13b(i.words,i.length,F,m),this.convert13b(h.words,h.length,T,m),this.transform(F,C,M,f,m,v),this.transform(T,C,ct,dt,m,v);for(var mt=0;mt<m;mt++){var Mt=M[mt]*ct[mt]-f[mt]*dt[mt];f[mt]=M[mt]*dt[mt]+f[mt]*ct[mt],M[mt]=Mt}return this.conjugate(M,f,m),this.transform(M,f,k,C,m,v),this.conjugate(k,C,m),this.normalize13b(k,m),g.negative=i.negative^h.negative,g.length=i.length+h.length,g.strip()},o.prototype.mul=function(i){var h=new o(null);return h.words=new Array(this.length+i.length),this.mulTo(i,h)},o.prototype.mulf=function(i){var h=new o(null);return h.words=new Array(this.length+i.length),lt(this,i,h)},o.prototype.imul=function(i){return this.clone().mulTo(i,this)},o.prototype.imuln=function(i){n(typeof i=="number"),n(i<67108864);for(var h=0,g=0;g<this.length;g++){var m=(this.words[g]|0)*i,v=(m&67108863)+(h&67108863);h>>=26,h+=m/67108864|0,h+=v>>>26,this.words[g]=v&67108863}return h!==0&&(this.words[g]=h,this.length++),this},o.prototype.muln=function(i){return this.clone().imuln(i)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(i){var h=V(i);if(h.length===0)return new o(1);for(var g=this,m=0;m<h.length&&h[m]===0;m++,g=g.sqr());if(++m<h.length)for(var v=g.sqr();m<h.length;m++,v=v.sqr())h[m]!==0&&(g=g.mul(v));return g},o.prototype.iushln=function(i){n(typeof i=="number"&&i>=0);var h=i%26,g=(i-h)/26,m=67108863>>>26-h<<26-h,v;if(h!==0){var C=0;for(v=0;v<this.length;v++){var F=this.words[v]&m,M=(this.words[v]|0)-F<<h;this.words[v]=M|C,C=F>>>26-h}C&&(this.words[v]=C,this.length++)}if(g!==0){for(v=this.length-1;v>=0;v--)this.words[v+g]=this.words[v];for(v=0;v<g;v++)this.words[v]=0;this.length+=g}return this.strip()},o.prototype.ishln=function(i){return n(this.negative===0),this.iushln(i)},o.prototype.iushrn=function(i,h,g){n(typeof i=="number"&&i>=0);var m;h?m=(h-h%26)/26:m=0;var v=i%26,C=Math.min((i-v)/26,this.length),F=67108863^67108863>>>v<<v,M=g;if(m-=C,m=Math.max(0,m),M){for(var f=0;f<C;f++)M.words[f]=this.words[f];M.length=C}if(C!==0)if(this.length>C)for(this.length-=C,f=0;f<this.length;f++)this.words[f]=this.words[f+C];else this.words[0]=0,this.length=1;var T=0;for(f=this.length-1;f>=0&&(T!==0||f>=m);f--){var ct=this.words[f]|0;this.words[f]=T<<26-v|ct>>>v,T=ct&F}return M&&T!==0&&(M.words[M.length++]=T),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(i,h,g){return n(this.negative===0),this.iushrn(i,h,g)},o.prototype.shln=function(i){return this.clone().ishln(i)},o.prototype.ushln=function(i){return this.clone().iushln(i)},o.prototype.shrn=function(i){return this.clone().ishrn(i)},o.prototype.ushrn=function(i){return this.clone().iushrn(i)},o.prototype.testn=function(i){n(typeof i=="number"&&i>=0);var h=i%26,g=(i-h)/26,m=1<<h;if(this.length<=g)return!1;var v=this.words[g];return!!(v&m)},o.prototype.imaskn=function(i){n(typeof i=="number"&&i>=0);var h=i%26,g=(i-h)/26;if(n(this.negative===0,"imaskn works only with positive numbers"),this.length<=g)return this;if(h!==0&&g++,this.length=Math.min(g,this.length),h!==0){var m=67108863^67108863>>>h<<h;this.words[this.length-1]&=m}return this.strip()},o.prototype.maskn=function(i){return this.clone().imaskn(i)},o.prototype.iaddn=function(i){return n(typeof i=="number"),n(i<67108864),i<0?this.isubn(-i):this.negative!==0?this.length===1&&(this.words[0]|0)<i?(this.words[0]=i-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(i),this.negative=1,this):this._iaddn(i)},o.prototype._iaddn=function(i){this.words[0]+=i;for(var h=0;h<this.length&&this.words[h]>=67108864;h++)this.words[h]-=67108864,h===this.length-1?this.words[h+1]=1:this.words[h+1]++;return this.length=Math.max(this.length,h+1),this},o.prototype.isubn=function(i){if(n(typeof i=="number"),n(i<67108864),i<0)return this.iaddn(-i);if(this.negative!==0)return this.negative=0,this.iaddn(i),this.negative=1,this;if(this.words[0]-=i,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var h=0;h<this.length&&this.words[h]<0;h++)this.words[h]+=67108864,this.words[h+1]-=1;return this.strip()},o.prototype.addn=function(i){return this.clone().iaddn(i)},o.prototype.subn=function(i){return this.clone().isubn(i)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(i,h,g){var m=i.length+g,v;this._expand(m);var C,F=0;for(v=0;v<i.length;v++){C=(this.words[v+g]|0)+F;var M=(i.words[v]|0)*h;C-=M&67108863,F=(C>>26)-(M/67108864|0),this.words[v+g]=C&67108863}for(;v<this.length-g;v++)C=(this.words[v+g]|0)+F,F=C>>26,this.words[v+g]=C&67108863;if(F===0)return this.strip();for(n(F===-1),F=0,v=0;v<this.length;v++)C=-(this.words[v]|0)+F,F=C>>26,this.words[v]=C&67108863;return this.negative=1,this.strip()},o.prototype._wordDiv=function(i,h){var g=this.length-i.length,m=this.clone(),v=i,C=v.words[v.length-1]|0,F=this._countBits(C);g=26-F,g!==0&&(v=v.ushln(g),m.iushln(g),C=v.words[v.length-1]|0);var M=m.length-v.length,f;if(h!=="mod"){f=new o(null),f.length=M+1,f.words=new Array(f.length);for(var T=0;T<f.length;T++)f.words[T]=0}var ct=m.clone()._ishlnsubmul(v,1,M);ct.negative===0&&(m=ct,f&&(f.words[M]=1));for(var dt=M-1;dt>=0;dt--){var k=(m.words[v.length+dt]|0)*67108864+(m.words[v.length+dt-1]|0);for(k=Math.min(k/C|0,67108863),m._ishlnsubmul(v,k,dt);m.negative!==0;)k--,m.negative=0,m._ishlnsubmul(v,1,dt),m.isZero()||(m.negative^=1);f&&(f.words[dt]=k)}return f&&f.strip(),m.strip(),h!=="div"&&g!==0&&m.iushrn(g),{div:f||null,mod:m}},o.prototype.divmod=function(i,h,g){if(n(!i.isZero()),this.isZero())return{div:new o(0),mod:new o(0)};var m,v,C;return this.negative!==0&&i.negative===0?(C=this.neg().divmod(i,h),h!=="mod"&&(m=C.div.neg()),h!=="div"&&(v=C.mod.neg(),g&&v.negative!==0&&v.iadd(i)),{div:m,mod:v}):this.negative===0&&i.negative!==0?(C=this.divmod(i.neg(),h),h!=="mod"&&(m=C.div.neg()),{div:m,mod:C.mod}):(this.negative&i.negative)!==0?(C=this.neg().divmod(i.neg(),h),h!=="div"&&(v=C.mod.neg(),g&&v.negative!==0&&v.isub(i)),{div:C.div,mod:v}):i.length>this.length||this.cmp(i)<0?{div:new o(0),mod:this}:i.length===1?h==="div"?{div:this.divn(i.words[0]),mod:null}:h==="mod"?{div:null,mod:new o(this.modn(i.words[0]))}:{div:this.divn(i.words[0]),mod:new o(this.modn(i.words[0]))}:this._wordDiv(i,h)},o.prototype.div=function(i){return this.divmod(i,"div",!1).div},o.prototype.mod=function(i){return this.divmod(i,"mod",!1).mod},o.prototype.umod=function(i){return this.divmod(i,"mod",!0).mod},o.prototype.divRound=function(i){var h=this.divmod(i);if(h.mod.isZero())return h.div;var g=h.div.negative!==0?h.mod.isub(i):h.mod,m=i.ushrn(1),v=i.andln(1),C=g.cmp(m);return C<0||v===1&&C===0?h.div:h.div.negative!==0?h.div.isubn(1):h.div.iaddn(1)},o.prototype.modn=function(i){n(i<=67108863);for(var h=(1<<26)%i,g=0,m=this.length-1;m>=0;m--)g=(h*g+(this.words[m]|0))%i;return g},o.prototype.idivn=function(i){n(i<=67108863);for(var h=0,g=this.length-1;g>=0;g--){var m=(this.words[g]|0)+h*67108864;this.words[g]=m/i|0,h=m%i}return this.strip()},o.prototype.divn=function(i){return this.clone().idivn(i)},o.prototype.egcd=function(i){n(i.negative===0),n(!i.isZero());var h=this,g=i.clone();h.negative!==0?h=h.umod(i):h=h.clone();for(var m=new o(1),v=new o(0),C=new o(0),F=new o(1),M=0;h.isEven()&&g.isEven();)h.iushrn(1),g.iushrn(1),++M;for(var f=g.clone(),T=h.clone();!h.isZero();){for(var ct=0,dt=1;(h.words[0]&dt)===0&&ct<26;++ct,dt<<=1);if(ct>0)for(h.iushrn(ct);ct-- >0;)(m.isOdd()||v.isOdd())&&(m.iadd(f),v.isub(T)),m.iushrn(1),v.iushrn(1);for(var k=0,mt=1;(g.words[0]&mt)===0&&k<26;++k,mt<<=1);if(k>0)for(g.iushrn(k);k-- >0;)(C.isOdd()||F.isOdd())&&(C.iadd(f),F.isub(T)),C.iushrn(1),F.iushrn(1);h.cmp(g)>=0?(h.isub(g),m.isub(C),v.isub(F)):(g.isub(h),C.isub(m),F.isub(v))}return{a:C,b:F,gcd:g.iushln(M)}},o.prototype._invmp=function(i){n(i.negative===0),n(!i.isZero());var h=this,g=i.clone();h.negative!==0?h=h.umod(i):h=h.clone();for(var m=new o(1),v=new o(0),C=g.clone();h.cmpn(1)>0&&g.cmpn(1)>0;){for(var F=0,M=1;(h.words[0]&M)===0&&F<26;++F,M<<=1);if(F>0)for(h.iushrn(F);F-- >0;)m.isOdd()&&m.iadd(C),m.iushrn(1);for(var f=0,T=1;(g.words[0]&T)===0&&f<26;++f,T<<=1);if(f>0)for(g.iushrn(f);f-- >0;)v.isOdd()&&v.iadd(C),v.iushrn(1);h.cmp(g)>=0?(h.isub(g),m.isub(v)):(g.isub(h),v.isub(m))}var ct;return h.cmpn(1)===0?ct=m:ct=v,ct.cmpn(0)<0&&ct.iadd(i),ct},o.prototype.gcd=function(i){if(this.isZero())return i.abs();if(i.isZero())return this.abs();var h=this.clone(),g=i.clone();h.negative=0,g.negative=0;for(var m=0;h.isEven()&&g.isEven();m++)h.iushrn(1),g.iushrn(1);do{for(;h.isEven();)h.iushrn(1);for(;g.isEven();)g.iushrn(1);var v=h.cmp(g);if(v<0){var C=h;h=g,g=C}else if(v===0||g.cmpn(1)===0)break;h.isub(g)}while(!0);return g.iushln(m)},o.prototype.invm=function(i){return this.egcd(i).a.umod(i)},o.prototype.isEven=function(){return(this.words[0]&1)===0},o.prototype.isOdd=function(){return(this.words[0]&1)===1},o.prototype.andln=function(i){return this.words[0]&i},o.prototype.bincn=function(i){n(typeof i=="number");var h=i%26,g=(i-h)/26,m=1<<h;if(this.length<=g)return this._expand(g+1),this.words[g]|=m,this;for(var v=m,C=g;v!==0&&C<this.length;C++){var F=this.words[C]|0;F+=v,v=F>>>26,F&=67108863,this.words[C]=F}return v!==0&&(this.words[C]=v,this.length++),this},o.prototype.isZero=function(){return this.length===1&&this.words[0]===0},o.prototype.cmpn=function(i){var h=i<0;if(this.negative!==0&&!h)return-1;if(this.negative===0&&h)return 1;this.strip();var g;if(this.length>1)g=1;else{h&&(i=-i),n(i<=67108863,"Number is too big");var m=this.words[0]|0;g=m===i?0:m<i?-1:1}return this.negative!==0?-g|0:g},o.prototype.cmp=function(i){if(this.negative!==0&&i.negative===0)return-1;if(this.negative===0&&i.negative!==0)return 1;var h=this.ucmp(i);return this.negative!==0?-h|0:h},o.prototype.ucmp=function(i){if(this.length>i.length)return 1;if(this.length<i.length)return-1;for(var h=0,g=this.length-1;g>=0;g--){var m=this.words[g]|0,v=i.words[g]|0;if(m!==v){m<v?h=-1:m>v&&(h=1);break}}return h},o.prototype.gtn=function(i){return this.cmpn(i)===1},o.prototype.gt=function(i){return this.cmp(i)===1},o.prototype.gten=function(i){return this.cmpn(i)>=0},o.prototype.gte=function(i){return this.cmp(i)>=0},o.prototype.ltn=function(i){return this.cmpn(i)===-1},o.prototype.lt=function(i){return this.cmp(i)===-1},o.prototype.lten=function(i){return this.cmpn(i)<=0},o.prototype.lte=function(i){return this.cmp(i)<=0},o.prototype.eqn=function(i){return this.cmpn(i)===0},o.prototype.eq=function(i){return this.cmp(i)===0},o.red=function(i){return new ht(i)},o.prototype.toRed=function(i){return n(!this.red,"Already a number in reduction context"),n(this.negative===0,"red works only with positives"),i.convertTo(this)._forceRed(i)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(i){return this.red=i,this},o.prototype.forceRed=function(i){return n(!this.red,"Already a number in reduction context"),this._forceRed(i)},o.prototype.redAdd=function(i){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},o.prototype.redIAdd=function(i){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},o.prototype.redSub=function(i){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},o.prototype.redISub=function(i){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},o.prototype.redShl=function(i){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},o.prototype.redMul=function(i){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},o.prototype.redIMul=function(i){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(i){return n(this.red&&!i.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,i)};var at={k256:null,p224:null,p192:null,p25519:null};function pt(A,i){this.name=A,this.p=new o(i,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}pt.prototype._tmp=function(){var i=new o(null);return i.words=new Array(Math.ceil(this.n/13)),i},pt.prototype.ireduce=function(i){var h=i,g;do this.split(h,this.tmp),h=this.imulK(h),h=h.iadd(this.tmp),g=h.bitLength();while(g>this.n);var m=g<this.n?-1:h.ucmp(this.p);return m===0?(h.words[0]=0,h.length=1):m>0?h.isub(this.p):h.strip!==void 0?h.strip():h._strip(),h},pt.prototype.split=function(i,h){i.iushrn(this.n,0,h)},pt.prototype.imulK=function(i){return i.imul(this.k)};function ut(){pt.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}u(ut,pt),ut.prototype.split=function(i,h){for(var g=4194303,m=Math.min(i.length,9),v=0;v<m;v++)h.words[v]=i.words[v];if(h.length=m,i.length<=9){i.words[0]=0,i.length=1;return}var C=i.words[9];for(h.words[h.length++]=C&g,v=10;v<i.length;v++){var F=i.words[v]|0;i.words[v-10]=(F&g)<<4|C>>>22,C=F}C>>>=22,i.words[v-10]=C,C===0&&i.length>10?i.length-=10:i.length-=9},ut.prototype.imulK=function(i){i.words[i.length]=0,i.words[i.length+1]=0,i.length+=2;for(var h=0,g=0;g<i.length;g++){var m=i.words[g]|0;h+=m*977,i.words[g]=h&67108863,h=m*64+(h/67108864|0)}return i.words[i.length-1]===0&&(i.length--,i.words[i.length-1]===0&&i.length--),i};function Y(){pt.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}u(Y,pt);function G(){pt.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}u(G,pt);function st(){pt.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}u(st,pt),st.prototype.imulK=function(i){for(var h=0,g=0;g<i.length;g++){var m=(i.words[g]|0)*19+h,v=m&67108863;m>>>=26,i.words[g]=v,h=m}return h!==0&&(i.words[i.length++]=h),i},o._prime=function(i){if(at[i])return at[i];var h;if(i==="k256")h=new ut;else if(i==="p224")h=new Y;else if(i==="p192")h=new G;else if(i==="p25519")h=new st;else throw new Error("Unknown prime "+i);return at[i]=h,h};function ht(A){if(typeof A=="string"){var i=o._prime(A);this.m=i.p,this.prime=i}else n(A.gtn(1),"modulus must be greater than 1"),this.m=A,this.prime=null}ht.prototype._verify1=function(i){n(i.negative===0,"red works only with positives"),n(i.red,"red works only with red numbers")},ht.prototype._verify2=function(i,h){n((i.negative|h.negative)===0,"red works only with positives"),n(i.red&&i.red===h.red,"red works only with red numbers")},ht.prototype.imod=function(i){return this.prime?this.prime.ireduce(i)._forceRed(this):i.umod(this.m)._forceRed(this)},ht.prototype.neg=function(i){return i.isZero()?i.clone():this.m.sub(i)._forceRed(this)},ht.prototype.add=function(i,h){this._verify2(i,h);var g=i.add(h);return g.cmp(this.m)>=0&&g.isub(this.m),g._forceRed(this)},ht.prototype.iadd=function(i,h){this._verify2(i,h);var g=i.iadd(h);return g.cmp(this.m)>=0&&g.isub(this.m),g},ht.prototype.sub=function(i,h){this._verify2(i,h);var g=i.sub(h);return g.cmpn(0)<0&&g.iadd(this.m),g._forceRed(this)},ht.prototype.isub=function(i,h){this._verify2(i,h);var g=i.isub(h);return g.cmpn(0)<0&&g.iadd(this.m),g},ht.prototype.shl=function(i,h){return this._verify1(i),this.imod(i.ushln(h))},ht.prototype.imul=function(i,h){return this._verify2(i,h),this.imod(i.imul(h))},ht.prototype.mul=function(i,h){return this._verify2(i,h),this.imod(i.mul(h))},ht.prototype.isqr=function(i){return this.imul(i,i.clone())},ht.prototype.sqr=function(i){return this.mul(i,i)},ht.prototype.sqrt=function(i){if(i.isZero())return i.clone();var h=this.m.andln(3);if(n(h%2===1),h===3){var g=this.m.add(new o(1)).iushrn(2);return this.pow(i,g)}for(var m=this.m.subn(1),v=0;!m.isZero()&&m.andln(1)===0;)v++,m.iushrn(1);n(!m.isZero());var C=new o(1).toRed(this),F=C.redNeg(),M=this.m.subn(1).iushrn(1),f=this.m.bitLength();for(f=new o(2*f*f).toRed(this);this.pow(f,M).cmp(F)!==0;)f.redIAdd(F);for(var T=this.pow(f,m),ct=this.pow(i,m.addn(1).iushrn(1)),dt=this.pow(i,m),k=v;dt.cmp(C)!==0;){for(var mt=dt,Mt=0;mt.cmp(C)!==0;Mt++)mt=mt.redSqr();n(Mt<k);var Tt=this.pow(T,new o(1).iushln(k-Mt-1));ct=ct.redMul(Tt),T=Tt.redSqr(),dt=dt.redMul(T),k=Mt}return ct},ht.prototype.invm=function(i){var h=i._invmp(this.m);return h.negative!==0?(h.negative=0,this.imod(h).redNeg()):this.imod(h)},ht.prototype.pow=function(i,h){if(h.isZero())return new o(1).toRed(this);if(h.cmpn(1)===0)return i.clone();var g=4,m=new Array(1<<g);m[0]=new o(1).toRed(this),m[1]=i;for(var v=2;v<m.length;v++)m[v]=this.mul(m[v-1],i);var C=m[0],F=0,M=0,f=h.bitLength()%26;for(f===0&&(f=26),v=h.length-1;v>=0;v--){for(var T=h.words[v],ct=f-1;ct>=0;ct--){var dt=T>>ct&1;if(C!==m[0]&&(C=this.sqr(C)),dt===0&&F===0){M=0;continue}F<<=1,F|=dt,M++,!(M!==g&&(v!==0||ct!==0))&&(C=this.mul(C,m[F]),M=0,F=0)}f=26}return C},ht.prototype.convertTo=function(i){var h=i.umod(this.m);return h===i?h.clone():h},ht.prototype.convertFrom=function(i){var h=i.clone();return h.red=null,h},o.mont=function(i){return new nt(i)};function nt(A){ht.call(this,A),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(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)}u(nt,ht),nt.prototype.convertTo=function(i){return this.imod(i.ushln(this.shift))},nt.prototype.convertFrom=function(i){var h=this.imod(i.mul(this.rinv));return h.red=null,h},nt.prototype.imul=function(i,h){if(i.isZero()||h.isZero())return i.words[0]=0,i.length=1,i;var g=i.imul(h),m=g.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),v=g.isub(m).iushrn(this.shift),C=v;return v.cmp(this.m)>=0?C=v.isub(this.m):v.cmpn(0)<0&&(C=v.iadd(this.m)),C._forceRed(this)},nt.prototype.mul=function(i,h){if(i.isZero()||h.isZero())return new o(0)._forceRed(this);var g=i.mul(h),m=g.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),v=g.isub(m).iushrn(this.shift),C=v;return v.cmp(this.m)>=0?C=v.isub(this.m):v.cmpn(0)<0&&(C=v.iadd(this.m)),C._forceRed(this)},nt.prototype.invm=function(i){var h=this.imod(i._invmp(this.m).mul(this.r2));return h._forceRed(this)}})(t,Y1)}(_r)),_r.exports}function X1(t,e){return Lr(t,e)}const aw=Object.freeze(Object.defineProperty({__proto__:null,default:X1},Symbol.toStringTag,{value:"Module"}));function Q1(t,e){return bs(t,e,function(r,n){return vs(t,n)})}var tg=Ns(function(t,e){return t==null?{}:Q1(t,e)});const uw=Object.freeze(Object.defineProperty({__proto__:null,default:tg},Symbol.toStringTag,{value:"Module"}));var yr={exports:{}},Tn,Co;function eg(){if(Co)return Tn;Co=1;var t=1e3,e=t*60,r=e*60,n=r*24,u=n*7,o=n*365.25;Tn=function(d,$){$=$||{};var D=typeof d;if(D==="string"&&d.length>0)return p(d);if(D==="number"&&isFinite(d))return $.long?B(d):b(d);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(d))};function p(d){if(d=String(d),!(d.length>100)){var $=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(d);if($){var D=parseFloat($[1]),V=($[2]||"ms").toLowerCase();switch(V){case"years":case"year":case"yrs":case"yr":case"y":return D*o;case"weeks":case"week":case"w":return D*u;case"days":case"day":case"d":return D*n;case"hours":case"hour":case"hrs":case"hr":case"h":return D*r;case"minutes":case"minute":case"mins":case"min":case"m":return D*e;case"seconds":case"second":case"secs":case"sec":case"s":return D*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return D;default:return}}}}function b(d){var $=Math.abs(d);return $>=n?Math.round(d/n)+"d":$>=r?Math.round(d/r)+"h":$>=e?Math.round(d/e)+"m":$>=t?Math.round(d/t)+"s":d+"ms"}function B(d){var $=Math.abs(d);return $>=n?E(d,$,n,"day"):$>=r?E(d,$,r,"hour"):$>=e?E(d,$,e,"minute"):$>=t?E(d,$,t,"second"):d+" ms"}function E(d,$,D,V){var tt=$>=D*1.5;return Math.round(d/D)+" "+V+(tt?"s":"")}return Tn}var On,$o;function rg(){if($o)return On;$o=1;function t(e){n.debug=n,n.default=n,n.coerce=E,n.disable=b,n.enable=o,n.enabled=B,n.humanize=eg(),n.destroy=d,Object.keys(e).forEach($=>{n[$]=e[$]}),n.names=[],n.skips=[],n.formatters={};function r($){let D=0;for(let V=0;V<$.length;V++)D=(D<<5)-D+$.charCodeAt(V),D|=0;return n.colors[Math.abs(D)%n.colors.length]}n.selectColor=r;function n($){let D,V=null,tt,ot;function J(...lt){if(!J.enabled)return;const X=J,at=Number(new Date),pt=at-(D||at);X.diff=pt,X.prev=D,X.curr=at,D=at,lt[0]=n.coerce(lt[0]),typeof lt[0]!="string"&<.unshift("%O");let ut=0;lt[0]=lt[0].replace(/%([a-zA-Z%])/g,(G,st)=>{if(G==="%%")return"%";ut++;const ht=n.formatters[st];if(typeof ht=="function"){const nt=lt[ut];G=ht.call(X,nt),lt.splice(ut,1),ut--}return G}),n.formatArgs.call(X,lt),(X.log||n.log).apply(X,lt)}return J.namespace=$,J.useColors=n.useColors(),J.color=n.selectColor($),J.extend=u,J.destroy=n.destroy,Object.defineProperty(J,"enabled",{enumerable:!0,configurable:!1,get:()=>V!==null?V:(tt!==n.namespaces&&(tt=n.namespaces,ot=n.enabled($)),ot),set:lt=>{V=lt}}),typeof n.init=="function"&&n.init(J),J}function u($,D){const V=n(this.namespace+(typeof D>"u"?":":D)+$);return V.log=this.log,V}function o($){n.save($),n.namespaces=$,n.names=[],n.skips=[];const D=(typeof $=="string"?$:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const V of D)V[0]==="-"?n.skips.push(V.slice(1)):n.names.push(V)}function p($,D){let V=0,tt=0,ot=-1,J=0;for(;V<$.length;)if(tt<D.length&&(D[tt]===$[V]||D[tt]==="*"))D[tt]==="*"?(ot=tt,J=V,tt++):(V++,tt++);else if(ot!==-1)tt=ot+1,J++,V=J;else return!1;for(;tt<D.length&&D[tt]==="*";)tt++;return tt===D.length}function b(){const $=[...n.names,...n.skips.map(D=>"-"+D)].join(",");return n.enable(""),$}function B($){for(const D of n.skips)if(p($,D))return!1;for(const D of n.names)if(p($,D))return!0;return!1}function E($){return $ instanceof Error?$.stack||$.message:$}function d(){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 n.enable(n.load()),n}return On=t,On}var Fo;function fw(){return Fo||(Fo=1,function(t,e){var r={};e.formatArgs=u,e.save=o,e.load=p,e.useColors=n,e.storage=b(),e.destroy=(()=>{let E=!1;return()=>{E||(E=!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`."))}})(),e.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 E;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&&(E=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(E[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function u(E){if(E[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+E[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;const d="color: "+this.color;E.splice(1,0,d,"color: inherit");let $=0,D=0;E[0].replace(/%[a-zA-Z%]/g,V=>{V!=="%%"&&($++,V==="%c"&&(D=$))}),E.splice(D,0,d)}e.log=console.debug||console.log||(()=>{});function o(E){try{E?e.storage.setItem("debug",E):e.storage.removeItem("debug")}catch{}}function p(){let E;try{E=e.storage.getItem("debug")||e.storage.getItem("DEBUG")}catch{}return!E&&typeof Br<"u"&&"env"in Br&&(E=r.DEBUG),E}function b(){try{return localStorage}catch{}}t.exports=rg()(e);const{formatters:B}=t.exports;B.j=function(E){try{return JSON.stringify(E)}catch(d){return"[UnexpectedJSONParseError]: "+d.message}}}(yr,yr.exports)),yr.exports}function Oa(t,e){for(var r=t.length;r--&&qr(e,t[r],0)>-1;);return r}function lw(t,e,r){if(t=ee(t),t&&e===void 0)return t.slice(0,is(t)+1);if(!t||!(e=or(e)))return t;var n=De(t),u=Oa(n,De(e))+1;return $r(n,0,u).join("")}var ng=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof Me<"u"?Me:typeof self<"u"?self:{};function ig(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}/*!
|
|
17
|
+
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
18
|
+
*
|
|
19
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
20
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
21
|
+
* in the Software without restriction, including without limitation the rights
|
|
22
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
23
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
24
|
+
* furnished to do so, subject to the following conditions:
|
|
25
|
+
*
|
|
26
|
+
* The above copyright notice and this permission notice shall be included in
|
|
27
|
+
* all copies or substantial portions of the Software.
|
|
28
|
+
*
|
|
29
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
30
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
31
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
32
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
33
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
34
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
35
|
+
* SOFTWARE.
|
|
36
|
+
*/var Cn,Ro;function og(){return Ro||(Ro=1,Cn={languageTag:"en-US",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},spaceSeparated:!1,ordinal:function(t){let e=t%10;return~~(t%100/10)===1?"th":e===1?"st":e===2?"nd":e===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}}}),Cn}/*!
|
|
37
|
+
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
38
|
+
*
|
|
39
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
40
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
41
|
+
* in the Software without restriction, including without limitation the rights
|
|
42
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
43
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
44
|
+
* furnished to do so, subject to the following conditions:
|
|
45
|
+
*
|
|
46
|
+
* The above copyright notice and this permission notice shall be included in
|
|
47
|
+
* all copies or substantial portions of the Software.
|
|
48
|
+
*
|
|
49
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
50
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
51
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
52
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
53
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
54
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
55
|
+
* SOFTWARE.
|
|
56
|
+
*/var $n,Io;function Ca(){if(Io)return $n;Io=1;const t=[{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 e(B){return B.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}function r(B,E,d,$,D,V,tt){if(!isNaN(+B))return+B;let ot="",J=B.replace(/(^[^(]*)\((.*)\)([^)]*$)/,"$1$2$3");if(J!==B)return-1*r(J,E,d,$,D,V);for(let Y=0;Y<t.length;Y++){let G=t[Y];if(ot=B.replace(RegExp(`([0-9 ])(${G.key})$`),"$1"),ot!==B)return r(ot,E,d,$,D,V)*G.factor}if(ot=B.replace("%",""),ot!==B)return r(ot,E,d,$,D,V)/100;let lt=parseFloat(B);if(isNaN(lt))return;let X=$(lt);if(X&&X!=="."&&(ot=B.replace(new RegExp(`${e(X)}$`),""),ot!==B))return r(ot,E,d,$,D,V);let at={};Object.keys(V).forEach(Y=>{at[V[Y]]=Y});let pt=Object.keys(at).sort().reverse(),ut=pt.length;for(let Y=0;Y<ut;Y++){let G=pt[Y],st=at[G];if(ot=B.replace(G,""),ot!==B){let ht;switch(st){case"thousand":ht=Math.pow(10,3);break;case"million":ht=Math.pow(10,6);break;case"billion":ht=Math.pow(10,9);break;case"trillion":ht=Math.pow(10,12);break}return r(ot,E,d,$,D,V)*ht}}}function n(B,E,d){let $=B.replace(d,"");return $=$.replace(new RegExp(`([0-9])${e(E.thousands)}([0-9])`,"g"),"$1$2"),$=$.replace(E.decimal,"."),$}function u(B,E,d="",$,D,V,tt){if(B==="")return;if(B===D)return 0;let ot=n(B,E,d);return r(ot,E,d,$,D,V)}function o(B,E){if(!(B.indexOf(":")&&E.thousands!==":"))return!1;let $=B.split(":");if($.length!==3)return!1;let D=+$[0],V=+$[1],tt=+$[2];return!isNaN(D)&&!isNaN(V)&&!isNaN(tt)}function p(B){let E=B.split(":"),d=+E[0],$=+E[1];return+E[2]+60*$+3600*d}function b(B,E){const d=Si();let $=d.currentDelimiters(),D=d.currentCurrency().symbol,V=d.currentOrdinal(),tt=d.getZeroFormat(),ot=d.currentAbbreviations(),J;if(typeof B=="string")o(B,$)?J=p(B):J=u(B,$,D,V,tt,ot);else if(typeof B=="number")J=B;else return;if(J!==void 0)return J}return $n={unformat:b},$n}/*!
|
|
57
|
+
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
58
|
+
*
|
|
59
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
60
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
61
|
+
* in the Software without restriction, including without limitation the rights
|
|
62
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
63
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
64
|
+
* furnished to do so, subject to the following conditions:
|
|
65
|
+
*
|
|
66
|
+
* The above copyright notice and this permission notice shall be included in
|
|
67
|
+
* all copies or substantial portions of the Software.
|
|
68
|
+
*
|
|
69
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
70
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
71
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
72
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
73
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
74
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
75
|
+
* SOFTWARE.
|
|
76
|
+
*/var Fn,No;function _i(){if(No)return Fn;No=1;let t=Ca();const e=/^[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"],u=["prefix","infix","postfix"],o=["sign","parenthesis"],p={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},E={output:{type:"string",validValues:r},base:{type:"string",validValues:["decimal","binary","general"],restriction:(J,lt)=>lt.output==="byte",message:"`base` must be provided only when the output is `byte`",mandatory:J=>J.output==="byte"},characteristic:{type:"number",restriction:J=>J>=0,message:"value must be positive"},prefix:"string",postfix:"string",forceAverage:{type:"string",validValues:n},average:"boolean",lowPrecision:{type:"boolean",restriction:(J,lt)=>lt.average===!0,message:"`lowPrecision` must be provided only when the option `average` is set"},currencyPosition:{type:"string",validValues:u},currencySymbol:"string",totalLength:{type:"number",restrictions:[{restriction:J=>J>=0,message:"value must be positive"},{restriction:(J,lt)=>!lt.exponential,message:"`totalLength` is incompatible with `exponential`"}]},mantissa:{type:"number",restriction:J=>J>=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:o},forceSign:"boolean",exponential:{type:"boolean"},prefixSymbol:{type:"boolean",restriction:(J,lt)=>lt.output==="percent",message:"`prefixSymbol` can be provided only when the output is `percent`"}},d={languageTag:{type:"string",mandatory:!0,restriction:J=>J.match(e),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:p,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 $(J,lt){let X=D(J),at=tt(lt);return X&&at}function D(J){return t.unformat(J)!==void 0}function V(J,lt,X,at=!1){let pt=Object.keys(J).map(ut=>{if(!lt[ut])return console.error(`${X} Invalid key: ${ut}`),!1;let Y=J[ut],G=lt[ut];if(typeof G=="string"&&(G={type:G}),G.type==="format"){if(!V(Y,E,`[Validate ${ut}]`,!0))return!1}else if(typeof Y!==G.type)return console.error(`${X} ${ut} type mismatched: "${G.type}" expected, "${typeof Y}" provided`),!1;if(G.restrictions&&G.restrictions.length){let st=G.restrictions.length;for(let ht=0;ht<st;ht++){let{restriction:nt,message:A}=G.restrictions[ht];if(!nt(Y,J))return console.error(`${X} ${ut} invalid value: ${A}`),!1}}return G.restriction&&!G.restriction(Y,J)?(console.error(`${X} ${ut} invalid value: ${G.message}`),!1):G.validValues&&G.validValues.indexOf(Y)===-1?(console.error(`${X} ${ut} invalid value: must be among ${JSON.stringify(G.validValues)}, "${Y}" provided`),!1):!(G.children&&!V(Y,G.children,`[Validate ${ut}]`))});return at||pt.push(...Object.keys(lt).map(ut=>{let Y=lt[ut];if(typeof Y=="string"&&(Y={type:Y}),Y.mandatory){let G=Y.mandatory;if(typeof G=="function"&&(G=G(J)),G&&J[ut]===void 0)return console.error(`${X} Missing mandatory key "${ut}"`),!1}return!0})),pt.reduce((ut,Y)=>ut&&Y,!0)}function tt(J){return V(J,E,"[Validate format]")}function ot(J){return V(J,d,"[Validate language]")}return Fn={validate:$,validateFormat:tt,validateInput:D,validateLanguage:ot},Fn}/*!
|
|
77
|
+
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
78
|
+
*
|
|
79
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
80
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
81
|
+
* in the Software without restriction, including without limitation the rights
|
|
82
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
83
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
84
|
+
* furnished to do so, subject to the following conditions:
|
|
85
|
+
*
|
|
86
|
+
* The above copyright notice and this permission notice shall be included in
|
|
87
|
+
* all copies or substantial portions of the Software.
|
|
88
|
+
*
|
|
89
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
90
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
91
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
92
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
93
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
94
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
95
|
+
* SOFTWARE.
|
|
96
|
+
*/function sg(t,e){let r=t.match(/^{([^}]*)}/);return r?(e.prefix=r[1],t.slice(r[0].length)):t}function ag(t,e){let r=t.match(/{([^}]*)}$/);return r?(e.postfix=r[1],t.slice(0,-r[0].length)):t}function ug(t,e){if(t.indexOf("$")!==-1){e.output="currency";return}if(t.indexOf("%")!==-1){e.output="percent";return}if(t.indexOf("bd")!==-1){e.output="byte",e.base="general";return}if(t.indexOf("b")!==-1){e.output="byte",e.base="binary";return}if(t.indexOf("d")!==-1){e.output="byte",e.base="decimal";return}if(t.indexOf(":")!==-1){e.output="time";return}t.indexOf("o")!==-1&&(e.output="ordinal")}function fg(t,e){t.indexOf(",")!==-1&&(e.thousandSeparated=!0)}function lg(t,e){t.indexOf(" ")!==-1&&(e.spaceSeparated=!0,e.spaceSeparatedCurrency=!0,(e.average||e.forceAverage)&&(e.spaceSeparatedAbbreviation=!0))}function cg(t,e){let r=t.match(/[1-9]+[0-9]*/);r&&(e.totalLength=+r[0])}function hg(t,e){let n=t.split(".")[0].match(/0+/);n&&(e.characteristic=n[0].length)}function pg(t,e){let r=t.split(".")[1];if(r){let n=r.match(/0+/);n&&(e.mantissa=n[0].length)}}function dg(t,e){const r=t.split(".")[1];r&&(e.trimMantissa=r.indexOf("[")!==-1)}function gg(t,e){t.indexOf("a")!==-1&&(e.average=!0)}function mg(t,e){t.indexOf("K")!==-1?e.forceAverage="thousand":t.indexOf("M")!==-1?e.forceAverage="million":t.indexOf("B")!==-1?e.forceAverage="billion":t.indexOf("T")!==-1&&(e.forceAverage="trillion")}function yg(t,e){t.match(/\[\.]/)?e.optionalMantissa=!0:t.match(/\./)&&(e.optionalMantissa=!1)}function wg(t,e){if(t.indexOf(".")!==-1){let r=t.split(".")[0];e.optionalCharacteristic=r.indexOf("0")===-1}}function vg(t,e){t.match(/^\+?\([^)]*\)$/)&&(e.negative="parenthesis"),t.match(/^\+?-/)&&(e.negative="sign")}function xg(t,e){t.match(/^\+/)&&(e.forceSign=!0)}function bg(t,e={}){return typeof t!="string"?t:(t=sg(t,e),t=ag(t,e),ug(t,e),cg(t,e),hg(t,e),wg(t,e),gg(t,e),mg(t,e),pg(t,e),yg(t,e),dg(t,e),fg(t,e),lg(t,e),vg(t,e),xg(t,e),e)}var Bi={parseFormat:bg};/*!
|
|
97
|
+
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
98
|
+
*
|
|
99
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
100
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
101
|
+
* in the Software without restriction, including without limitation the rights
|
|
102
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
103
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
104
|
+
* furnished to do so, subject to the following conditions:
|
|
105
|
+
*
|
|
106
|
+
* The above copyright notice and this permission notice shall be included in
|
|
107
|
+
* all copies or substantial portions of the Software.
|
|
108
|
+
*
|
|
109
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
110
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
111
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
112
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
113
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
114
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
115
|
+
* SOFTWARE.
|
|
116
|
+
*/var Rn,Uo;function Si(){if(Uo)return Rn;Uo=1;const t=og(),e=_i(),r=Bi;let n={},u,o={},p=null,b={};function B(d){u=d}function E(){return o[u]}return n.languages=()=>Object.assign({},o),n.currentLanguage=()=>u,n.currentBytes=()=>E().bytes||{},n.currentCurrency=()=>E().currency,n.currentAbbreviations=()=>E().abbreviations,n.currentDelimiters=()=>E().delimiters,n.currentOrdinal=()=>E().ordinal,n.currentDefaults=()=>Object.assign({},E().defaults,b),n.currentOrdinalDefaultFormat=()=>Object.assign({},n.currentDefaults(),E().ordinalFormat),n.currentByteDefaultFormat=()=>Object.assign({},n.currentDefaults(),E().byteFormat),n.currentPercentageDefaultFormat=()=>Object.assign({},n.currentDefaults(),E().percentageFormat),n.currentCurrencyDefaultFormat=()=>Object.assign({},n.currentDefaults(),E().currencyFormat),n.currentTimeDefaultFormat=()=>Object.assign({},n.currentDefaults(),E().timeFormat),n.setDefaults=d=>{d=r.parseFormat(d),e.validateFormat(d)&&(b=d)},n.getZeroFormat=()=>p,n.setZeroFormat=d=>p=typeof d=="string"?d:null,n.hasZeroFormat=()=>p!==null,n.languageData=d=>{if(d){if(o[d])return o[d];throw new Error(`Unknown tag "${d}"`)}return E()},n.registerLanguage=(d,$=!1)=>{if(!e.validateLanguage(d))throw new Error("Invalid language data");o[d.languageTag]=d,$&&B(d.languageTag)},n.setLanguage=(d,$=t.languageTag)=>{if(!o[d]){let D=d.split("-")[0],V=Object.keys(o).find(tt=>tt.split("-")[0]===D);if(!o[V]){B($);return}B(V);return}B(d)},n.registerLanguage(t),u=t.languageTag,Rn=n,Rn}function Eg(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}/*!
|
|
117
|
+
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
118
|
+
*
|
|
119
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
120
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
121
|
+
* in the Software without restriction, including without limitation the rights
|
|
122
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
123
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
124
|
+
* furnished to do so, subject to the following conditions:
|
|
125
|
+
*
|
|
126
|
+
* The above copyright notice and this permission notice shall be included in
|
|
127
|
+
* all copies or substantial portions of the Software.
|
|
128
|
+
*
|
|
129
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
130
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
131
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
132
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
133
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
134
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
135
|
+
* SOFTWARE.
|
|
136
|
+
*/function Mg(t,e){t.forEach(r=>{let n;try{n=Eg(`../languages/${r}`)}catch{console.error(`Unable to load "${r}". No matching language file found.`)}n&&e.registerLanguage(n)})}var _g=t=>({loadLanguagesInNode:e=>Mg(e,t)}),$a={exports:{}};(function(t){(function(e){var r,n=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,u=Math.ceil,o=Math.floor,p="[BigNumber Error] ",b=p+"Number primitive has more than 15 significant digits: ",B=1e14,E=14,d=9007199254740991,$=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],D=1e7,V=1e9;function tt(Y){var G,st,ht,nt=k.prototype={constructor:k,toString:null,valueOf:null},A=new k(1),i=20,h=4,g=-7,m=21,v=-1e7,C=1e7,F=!1,M=1,f=0,T={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:" ",suffix:""},ct="0123456789abcdefghijklmnopqrstuvwxyz",dt=!0;function k(x,O){var R,q,j,L,H,U,P,z,Z=this;if(!(Z instanceof k))return new k(x,O);if(O==null){if(x&&x._isBigNumber===!0){Z.s=x.s,!x.c||x.e>C?Z.c=Z.e=null:x.e<v?Z.c=[Z.e=0]:(Z.e=x.e,Z.c=x.c.slice());return}if((U=typeof x=="number")&&x*0==0){if(Z.s=1/x<0?(x=-x,-1):1,x===~~x){for(L=0,H=x;H>=10;H/=10,L++);L>C?Z.c=Z.e=null:(Z.e=L,Z.c=[x]);return}z=String(x)}else{if(!n.test(z=String(x)))return ht(Z,z,U);Z.s=z.charCodeAt(0)==45?(z=z.slice(1),-1):1}(L=z.indexOf("."))>-1&&(z=z.replace(".","")),(H=z.search(/e/i))>0?(L<0&&(L=H),L+=+z.slice(H+1),z=z.substring(0,H)):L<0&&(L=z.length)}else{if(X(O,2,ct.length,"Base"),O==10&&dt)return Z=new k(x),$t(Z,i+Z.e+1,h);if(z=String(x),U=typeof x=="number"){if(x*0!=0)return ht(Z,z,U,O);if(Z.s=1/x<0?(z=z.slice(1),-1):1,k.DEBUG&&z.replace(/^0\.0*|\./,"").length>15)throw Error(b+x)}else Z.s=z.charCodeAt(0)===45?(z=z.slice(1),-1):1;for(R=ct.slice(0,O),L=H=0,P=z.length;H<P;H++)if(R.indexOf(q=z.charAt(H))<0){if(q=="."){if(H>L){L=P;continue}}else if(!j&&(z==z.toUpperCase()&&(z=z.toLowerCase())||z==z.toLowerCase()&&(z=z.toUpperCase()))){j=!0,H=-1,L=0;continue}return ht(Z,String(x),U,O)}U=!1,z=st(z,O,10,Z.s),(L=z.indexOf("."))>-1?z=z.replace(".",""):L=z.length}for(H=0;z.charCodeAt(H)===48;H++);for(P=z.length;z.charCodeAt(--P)===48;);if(z=z.slice(H,++P)){if(P-=H,U&&k.DEBUG&&P>15&&(x>d||x!==o(x)))throw Error(b+Z.s*x);if((L=L-H-1)>C)Z.c=Z.e=null;else if(L<v)Z.c=[Z.e=0];else{if(Z.e=L,Z.c=[],H=(L+1)%E,L<0&&(H+=E),H<P){for(H&&Z.c.push(+z.slice(0,H)),P-=E;H<P;)Z.c.push(+z.slice(H,H+=E));H=E-(z=z.slice(H)).length}else H-=P;for(;H--;z+="0");Z.c.push(+z)}}else Z.c=[Z.e=0]}k.clone=tt,k.ROUND_UP=0,k.ROUND_DOWN=1,k.ROUND_CEIL=2,k.ROUND_FLOOR=3,k.ROUND_HALF_UP=4,k.ROUND_HALF_DOWN=5,k.ROUND_HALF_EVEN=6,k.ROUND_HALF_CEIL=7,k.ROUND_HALF_FLOOR=8,k.EUCLID=9,k.config=k.set=function(x){var O,R;if(x!=null)if(typeof x=="object"){if(x.hasOwnProperty(O="DECIMAL_PLACES")&&(R=x[O],X(R,0,V,O),i=R),x.hasOwnProperty(O="ROUNDING_MODE")&&(R=x[O],X(R,0,8,O),h=R),x.hasOwnProperty(O="EXPONENTIAL_AT")&&(R=x[O],R&&R.pop?(X(R[0],-V,0,O),X(R[1],0,V,O),g=R[0],m=R[1]):(X(R,-V,V,O),g=-(m=R<0?-R:R))),x.hasOwnProperty(O="RANGE"))if(R=x[O],R&&R.pop)X(R[0],-V,-1,O),X(R[1],1,V,O),v=R[0],C=R[1];else if(X(R,-V,V,O),R)v=-(C=R<0?-R:R);else throw Error(p+O+" cannot be zero: "+R);if(x.hasOwnProperty(O="CRYPTO"))if(R=x[O],R===!!R)if(R)if(typeof crypto<"u"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))F=R;else throw F=!R,Error(p+"crypto unavailable");else F=R;else throw Error(p+O+" not true or false: "+R);if(x.hasOwnProperty(O="MODULO_MODE")&&(R=x[O],X(R,0,9,O),M=R),x.hasOwnProperty(O="POW_PRECISION")&&(R=x[O],X(R,0,V,O),f=R),x.hasOwnProperty(O="FORMAT"))if(R=x[O],typeof R=="object")T=R;else throw Error(p+O+" not an object: "+R);if(x.hasOwnProperty(O="ALPHABET"))if(R=x[O],typeof R=="string"&&!/^.?$|[+\-.\s]|(.).*\1/.test(R))dt=R.slice(0,10)=="0123456789",ct=R;else throw Error(p+O+" invalid: "+R)}else throw Error(p+"Object expected: "+x);return{DECIMAL_PLACES:i,ROUNDING_MODE:h,EXPONENTIAL_AT:[g,m],RANGE:[v,C],CRYPTO:F,MODULO_MODE:M,POW_PRECISION:f,FORMAT:T,ALPHABET:ct}},k.isBigNumber=function(x){if(!x||x._isBigNumber!==!0)return!1;if(!k.DEBUG)return!0;var O,R,q=x.c,j=x.e,L=x.s;t:if({}.toString.call(q)=="[object Array]"){if((L===1||L===-1)&&j>=-V&&j<=V&&j===o(j)){if(q[0]===0){if(j===0&&q.length===1)return!0;break t}if(O=(j+1)%E,O<1&&(O+=E),String(q[0]).length==O){for(O=0;O<q.length;O++)if(R=q[O],R<0||R>=B||R!==o(R))break t;if(R!==0)return!0}}}else if(q===null&&j===null&&(L===null||L===1||L===-1))return!0;throw Error(p+"Invalid BigNumber: "+x)},k.maximum=k.max=function(){return Mt(arguments,-1)},k.minimum=k.min=function(){return Mt(arguments,1)},k.random=function(){var x=9007199254740992,O=Math.random()*x&2097151?function(){return o(Math.random()*x)}:function(){return(Math.random()*1073741824|0)*8388608+(Math.random()*8388608|0)};return function(R){var q,j,L,H,U,P=0,z=[],Z=new k(A);if(R==null?R=i:X(R,0,V),H=u(R/E),F)if(crypto.getRandomValues){for(q=crypto.getRandomValues(new Uint32Array(H*=2));P<H;)U=q[P]*131072+(q[P+1]>>>11),U>=9e15?(j=crypto.getRandomValues(new Uint32Array(2)),q[P]=j[0],q[P+1]=j[1]):(z.push(U%1e14),P+=2);P=H/2}else if(crypto.randomBytes){for(q=crypto.randomBytes(H*=7);P<H;)U=(q[P]&31)*281474976710656+q[P+1]*1099511627776+q[P+2]*4294967296+q[P+3]*16777216+(q[P+4]<<16)+(q[P+5]<<8)+q[P+6],U>=9e15?crypto.randomBytes(7).copy(q,P):(z.push(U%1e14),P+=7);P=H/7}else throw F=!1,Error(p+"crypto unavailable");if(!F)for(;P<H;)U=O(),U<9e15&&(z[P++]=U%1e14);for(H=z[--P],R%=E,H&&R&&(U=$[E-R],z[P]=o(H/U)*U);z[P]===0;z.pop(),P--);if(P<0)z=[L=0];else{for(L=-1;z[0]===0;z.splice(0,1),L-=E);for(P=1,U=z[0];U>=10;U/=10,P++);P<E&&(L-=E-P)}return Z.e=L,Z.c=z,Z}}(),k.sum=function(){for(var x=1,O=arguments,R=new k(O[0]);x<O.length;)R=R.plus(O[x++]);return R},st=function(){var x="0123456789";function O(R,q,j,L){for(var H,U=[0],P,z=0,Z=R.length;z<Z;){for(P=U.length;P--;U[P]*=q);for(U[0]+=L.indexOf(R.charAt(z++)),H=0;H<U.length;H++)U[H]>j-1&&(U[H+1]==null&&(U[H+1]=0),U[H+1]+=U[H]/j|0,U[H]%=j)}return U.reverse()}return function(R,q,j,L,H){var U,P,z,Z,it,ft,yt,wt,Et=R.indexOf("."),Nt=i,xt=h;for(Et>=0&&(Z=f,f=0,R=R.replace(".",""),wt=new k(q),ft=wt.pow(R.length-Et),f=Z,wt.c=O(ut(J(ft.c),ft.e,"0"),10,j,x),wt.e=wt.c.length),yt=O(R,q,j,H?(U=ct,x):(U=x,ct)),z=Z=yt.length;yt[--Z]==0;yt.pop());if(!yt[0])return U.charAt(0);if(Et<0?--z:(ft.c=yt,ft.e=z,ft.s=L,ft=G(ft,wt,Nt,xt,j),yt=ft.c,it=ft.r,z=ft.e),P=z+Nt+1,Et=yt[P],Z=j/2,it=it||P<0||yt[P+1]!=null,it=xt<4?(Et!=null||it)&&(xt==0||xt==(ft.s<0?3:2)):Et>Z||Et==Z&&(xt==4||it||xt==6&&yt[P-1]&1||xt==(ft.s<0?8:7)),P<1||!yt[0])R=it?ut(U.charAt(1),-Nt,U.charAt(0)):U.charAt(0);else{if(yt.length=P,it)for(--j;++yt[--P]>j;)yt[P]=0,P||(++z,yt=[1].concat(yt));for(Z=yt.length;!yt[--Z];);for(Et=0,R="";Et<=Z;R+=U.charAt(yt[Et++]));R=ut(R,z,U.charAt(0))}return R}}(),G=function(){function x(q,j,L){var H,U,P,z,Z=0,it=q.length,ft=j%D,yt=j/D|0;for(q=q.slice();it--;)P=q[it]%D,z=q[it]/D|0,H=yt*P+z*ft,U=ft*P+H%D*D+Z,Z=(U/L|0)+(H/D|0)+yt*z,q[it]=U%L;return Z&&(q=[Z].concat(q)),q}function O(q,j,L,H){var U,P;if(L!=H)P=L>H?1:-1;else for(U=P=0;U<L;U++)if(q[U]!=j[U]){P=q[U]>j[U]?1:-1;break}return P}function R(q,j,L,H){for(var U=0;L--;)q[L]-=U,U=q[L]<j[L]?1:0,q[L]=U*H+q[L]-j[L];for(;!q[0]&&q.length>1;q.splice(0,1));}return function(q,j,L,H,U){var P,z,Z,it,ft,yt,wt,Et,Nt,xt,vt,Lt,y,s,l,_,I,W=q.s==j.s?1:-1,K=q.c,gt=j.c;if(!K||!K[0]||!gt||!gt[0])return new k(!q.s||!j.s||(K?gt&&K[0]==gt[0]:!gt)?NaN:K&&K[0]==0||!gt?W*0:W/0);for(Et=new k(W),Nt=Et.c=[],z=q.e-j.e,W=L+z+1,U||(U=B,z=ot(q.e/E)-ot(j.e/E),W=W/E|0),Z=0;gt[Z]==(K[Z]||0);Z++);if(gt[Z]>(K[Z]||0)&&z--,W<0)Nt.push(1),it=!0;else{for(s=K.length,_=gt.length,Z=0,W+=2,ft=o(U/(gt[0]+1)),ft>1&&(gt=x(gt,ft,U),K=x(K,ft,U),_=gt.length,s=K.length),y=_,xt=K.slice(0,_),vt=xt.length;vt<_;xt[vt++]=0);I=gt.slice(),I=[0].concat(I),l=gt[0],gt[1]>=U/2&&l++;do{if(ft=0,P=O(gt,xt,_,vt),P<0){if(Lt=xt[0],_!=vt&&(Lt=Lt*U+(xt[1]||0)),ft=o(Lt/l),ft>1)for(ft>=U&&(ft=U-1),yt=x(gt,ft,U),wt=yt.length,vt=xt.length;O(yt,xt,wt,vt)==1;)ft--,R(yt,_<wt?I:gt,wt,U),wt=yt.length,P=1;else ft==0&&(P=ft=1),yt=gt.slice(),wt=yt.length;if(wt<vt&&(yt=[0].concat(yt)),R(xt,yt,vt,U),vt=xt.length,P==-1)for(;O(gt,xt,_,vt)<1;)ft++,R(xt,_<vt?I:gt,vt,U),vt=xt.length}else P===0&&(ft++,xt=[0]);Nt[Z++]=ft,xt[0]?xt[vt++]=K[y]||0:(xt=[K[y]],vt=1)}while((y++<s||xt[0]!=null)&&W--);it=xt[0]!=null,Nt[0]||Nt.splice(0,1)}if(U==B){for(Z=1,W=Nt[0];W>=10;W/=10,Z++);$t(Et,L+(Et.e=Z+z*E-1)+1,H,it)}else Et.e=z,Et.r=+it;return Et}}();function mt(x,O,R,q){var j,L,H,U,P;if(R==null?R=h:X(R,0,8),!x.c)return x.toString();if(j=x.c[0],H=x.e,O==null)P=J(x.c),P=q==1||q==2&&(H<=g||H>=m)?pt(P,H):ut(P,H,"0");else if(x=$t(new k(x),O,R),L=x.e,P=J(x.c),U=P.length,q==1||q==2&&(O<=L||L<=g)){for(;U<O;P+="0",U++);P=pt(P,L)}else if(O-=H,P=ut(P,L,"0"),L+1>U){if(--O>0)for(P+=".";O--;P+="0");}else if(O+=L-U,O>0)for(L+1==U&&(P+=".");O--;P+="0");return x.s<0&&j?"-"+P:P}function Mt(x,O){for(var R,q,j=1,L=new k(x[0]);j<x.length;j++)q=new k(x[j]),(!q.s||(R=lt(L,q))===O||R===0&&L.s===O)&&(L=q);return L}function Tt(x,O,R){for(var q=1,j=O.length;!O[--j];O.pop());for(j=O[0];j>=10;j/=10,q++);return(R=q+R*E-1)>C?x.c=x.e=null:R<v?x.c=[x.e=0]:(x.e=R,x.c=O),x}ht=function(){var x=/^(-?)0([xbo])(?=\w[\w.]*$)/i,O=/^([^.]+)\.$/,R=/^\.([^.]+)$/,q=/^-?(Infinity|NaN)$/,j=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(L,H,U,P){var z,Z=U?H:H.replace(j,"");if(q.test(Z))L.s=isNaN(Z)?null:Z<0?-1:1;else{if(!U&&(Z=Z.replace(x,function(it,ft,yt){return z=(yt=yt.toLowerCase())=="x"?16:yt=="b"?2:8,!P||P==z?ft:it}),P&&(z=P,Z=Z.replace(O,"$1").replace(R,"0.$1")),H!=Z))return new k(Z,z);if(k.DEBUG)throw Error(p+"Not a"+(P?" base "+P:"")+" number: "+H);L.s=null}L.c=L.e=null}}();function $t(x,O,R,q){var j,L,H,U,P,z,Z,it=x.c,ft=$;if(it){t:{for(j=1,U=it[0];U>=10;U/=10,j++);if(L=O-j,L<0)L+=E,H=O,P=it[z=0],Z=o(P/ft[j-H-1]%10);else if(z=u((L+1)/E),z>=it.length)if(q){for(;it.length<=z;it.push(0));P=Z=0,j=1,L%=E,H=L-E+1}else break t;else{for(P=U=it[z],j=1;U>=10;U/=10,j++);L%=E,H=L-E+j,Z=H<0?0:o(P/ft[j-H-1]%10)}if(q=q||O<0||it[z+1]!=null||(H<0?P:P%ft[j-H-1]),q=R<4?(Z||q)&&(R==0||R==(x.s<0?3:2)):Z>5||Z==5&&(R==4||q||R==6&&(L>0?H>0?P/ft[j-H]:0:it[z-1])%10&1||R==(x.s<0?8:7)),O<1||!it[0])return it.length=0,q?(O-=x.e+1,it[0]=ft[(E-O%E)%E],x.e=-O||0):it[0]=x.e=0,x;if(L==0?(it.length=z,U=1,z--):(it.length=z+1,U=ft[E-L],it[z]=H>0?o(P/ft[j-H]%ft[H])*U:0),q)for(;;)if(z==0){for(L=1,H=it[0];H>=10;H/=10,L++);for(H=it[0]+=U,U=1;H>=10;H/=10,U++);L!=U&&(x.e++,it[0]==B&&(it[0]=1));break}else{if(it[z]+=U,it[z]!=B)break;it[z--]=0,U=1}for(L=it.length;it[--L]===0;it.pop());}x.e>C?x.c=x.e=null:x.e<v&&(x.c=[x.e=0])}return x}function _t(x){var O,R=x.e;return R===null?x.toString():(O=J(x.c),O=R<=g||R>=m?pt(O,R):ut(O,R,"0"),x.s<0?"-"+O:O)}return nt.absoluteValue=nt.abs=function(){var x=new k(this);return x.s<0&&(x.s=1),x},nt.comparedTo=function(x,O){return lt(this,new k(x,O))},nt.decimalPlaces=nt.dp=function(x,O){var R,q,j,L=this;if(x!=null)return X(x,0,V),O==null?O=h:X(O,0,8),$t(new k(L),x+L.e+1,O);if(!(R=L.c))return null;if(q=((j=R.length-1)-ot(this.e/E))*E,j=R[j])for(;j%10==0;j/=10,q--);return q<0&&(q=0),q},nt.dividedBy=nt.div=function(x,O){return G(this,new k(x,O),i,h)},nt.dividedToIntegerBy=nt.idiv=function(x,O){return G(this,new k(x,O),0,1)},nt.exponentiatedBy=nt.pow=function(x,O){var R,q,j,L,H,U,P,z,Z,it=this;if(x=new k(x),x.c&&!x.isInteger())throw Error(p+"Exponent not an integer: "+_t(x));if(O!=null&&(O=new k(O)),U=x.e>14,!it.c||!it.c[0]||it.c[0]==1&&!it.e&&it.c.length==1||!x.c||!x.c[0])return Z=new k(Math.pow(+_t(it),U?x.s*(2-at(x)):+_t(x))),O?Z.mod(O):Z;if(P=x.s<0,O){if(O.c?!O.c[0]:!O.s)return new k(NaN);q=!P&&it.isInteger()&&O.isInteger(),q&&(it=it.mod(O))}else{if(x.e>9&&(it.e>0||it.e<-1||(it.e==0?it.c[0]>1||U&&it.c[1]>=24e7:it.c[0]<8e13||U&&it.c[0]<=9999975e7)))return L=it.s<0&&at(x)?-0:0,it.e>-1&&(L=1/L),new k(P?1/L:L);f&&(L=u(f/E+2))}for(U?(R=new k(.5),P&&(x.s=1),z=at(x)):(j=Math.abs(+_t(x)),z=j%2),Z=new k(A);;){if(z){if(Z=Z.times(it),!Z.c)break;L?Z.c.length>L&&(Z.c.length=L):q&&(Z=Z.mod(O))}if(j){if(j=o(j/2),j===0)break;z=j%2}else if(x=x.times(R),$t(x,x.e+1,1),x.e>14)z=at(x);else{if(j=+_t(x),j===0)break;z=j%2}it=it.times(it),L?it.c&&it.c.length>L&&(it.c.length=L):q&&(it=it.mod(O))}return q?Z:(P&&(Z=A.div(Z)),O?Z.mod(O):L?$t(Z,f,h,H):Z)},nt.integerValue=function(x){var O=new k(this);return x==null?x=h:X(x,0,8),$t(O,O.e+1,x)},nt.isEqualTo=nt.eq=function(x,O){return lt(this,new k(x,O))===0},nt.isFinite=function(){return!!this.c},nt.isGreaterThan=nt.gt=function(x,O){return lt(this,new k(x,O))>0},nt.isGreaterThanOrEqualTo=nt.gte=function(x,O){return(O=lt(this,new k(x,O)))===1||O===0},nt.isInteger=function(){return!!this.c&&ot(this.e/E)>this.c.length-2},nt.isLessThan=nt.lt=function(x,O){return lt(this,new k(x,O))<0},nt.isLessThanOrEqualTo=nt.lte=function(x,O){return(O=lt(this,new k(x,O)))===-1||O===0},nt.isNaN=function(){return!this.s},nt.isNegative=function(){return this.s<0},nt.isPositive=function(){return this.s>0},nt.isZero=function(){return!!this.c&&this.c[0]==0},nt.minus=function(x,O){var R,q,j,L,H=this,U=H.s;if(x=new k(x,O),O=x.s,!U||!O)return new k(NaN);if(U!=O)return x.s=-O,H.plus(x);var P=H.e/E,z=x.e/E,Z=H.c,it=x.c;if(!P||!z){if(!Z||!it)return Z?(x.s=-O,x):new k(it?H:NaN);if(!Z[0]||!it[0])return it[0]?(x.s=-O,x):new k(Z[0]?H:h==3?-0:0)}if(P=ot(P),z=ot(z),Z=Z.slice(),U=P-z){for((L=U<0)?(U=-U,j=Z):(z=P,j=it),j.reverse(),O=U;O--;j.push(0));j.reverse()}else for(q=(L=(U=Z.length)<(O=it.length))?U:O,U=O=0;O<q;O++)if(Z[O]!=it[O]){L=Z[O]<it[O];break}if(L&&(j=Z,Z=it,it=j,x.s=-x.s),O=(q=it.length)-(R=Z.length),O>0)for(;O--;Z[R++]=0);for(O=B-1;q>U;){if(Z[--q]<it[q]){for(R=q;R&&!Z[--R];Z[R]=O);--Z[R],Z[q]+=B}Z[q]-=it[q]}for(;Z[0]==0;Z.splice(0,1),--z);return Z[0]?Tt(x,Z,z):(x.s=h==3?-1:1,x.c=[x.e=0],x)},nt.modulo=nt.mod=function(x,O){var R,q,j=this;return x=new k(x,O),!j.c||!x.s||x.c&&!x.c[0]?new k(NaN):!x.c||j.c&&!j.c[0]?new k(j):(M==9?(q=x.s,x.s=1,R=G(j,x,0,3),x.s=q,R.s*=q):R=G(j,x,0,M),x=j.minus(R.times(x)),!x.c[0]&&M==1&&(x.s=j.s),x)},nt.multipliedBy=nt.times=function(x,O){var R,q,j,L,H,U,P,z,Z,it,ft,yt,wt,Et,Nt,xt=this,vt=xt.c,Lt=(x=new k(x,O)).c;if(!vt||!Lt||!vt[0]||!Lt[0])return!xt.s||!x.s||vt&&!vt[0]&&!Lt||Lt&&!Lt[0]&&!vt?x.c=x.e=x.s=null:(x.s*=xt.s,!vt||!Lt?x.c=x.e=null:(x.c=[0],x.e=0)),x;for(q=ot(xt.e/E)+ot(x.e/E),x.s*=xt.s,P=vt.length,it=Lt.length,P<it&&(wt=vt,vt=Lt,Lt=wt,j=P,P=it,it=j),j=P+it,wt=[];j--;wt.push(0));for(Et=B,Nt=D,j=it;--j>=0;){for(R=0,ft=Lt[j]%Nt,yt=Lt[j]/Nt|0,H=P,L=j+H;L>j;)z=vt[--H]%Nt,Z=vt[H]/Nt|0,U=yt*z+Z*ft,z=ft*z+U%Nt*Nt+wt[L]+R,R=(z/Et|0)+(U/Nt|0)+yt*Z,wt[L--]=z%Et;wt[L]=R}return R?++q:wt.splice(0,1),Tt(x,wt,q)},nt.negated=function(){var x=new k(this);return x.s=-x.s||null,x},nt.plus=function(x,O){var R,q=this,j=q.s;if(x=new k(x,O),O=x.s,!j||!O)return new k(NaN);if(j!=O)return x.s=-O,q.minus(x);var L=q.e/E,H=x.e/E,U=q.c,P=x.c;if(!L||!H){if(!U||!P)return new k(j/0);if(!U[0]||!P[0])return P[0]?x:new k(U[0]?q:j*0)}if(L=ot(L),H=ot(H),U=U.slice(),j=L-H){for(j>0?(H=L,R=P):(j=-j,R=U),R.reverse();j--;R.push(0));R.reverse()}for(j=U.length,O=P.length,j-O<0&&(R=P,P=U,U=R,O=j),j=0;O;)j=(U[--O]=U[O]+P[O]+j)/B|0,U[O]=B===U[O]?0:U[O]%B;return j&&(U=[j].concat(U),++H),Tt(x,U,H)},nt.precision=nt.sd=function(x,O){var R,q,j,L=this;if(x!=null&&x!==!!x)return X(x,1,V),O==null?O=h:X(O,0,8),$t(new k(L),x,O);if(!(R=L.c))return null;if(j=R.length-1,q=j*E+1,j=R[j]){for(;j%10==0;j/=10,q--);for(j=R[0];j>=10;j/=10,q++);}return x&&L.e+1>q&&(q=L.e+1),q},nt.shiftedBy=function(x){return X(x,-d,d),this.times("1e"+x)},nt.squareRoot=nt.sqrt=function(){var x,O,R,q,j,L=this,H=L.c,U=L.s,P=L.e,z=i+4,Z=new k("0.5");if(U!==1||!H||!H[0])return new k(!U||U<0&&(!H||H[0])?NaN:H?L:1/0);if(U=Math.sqrt(+_t(L)),U==0||U==1/0?(O=J(H),(O.length+P)%2==0&&(O+="0"),U=Math.sqrt(+O),P=ot((P+1)/2)-(P<0||P%2),U==1/0?O="5e"+P:(O=U.toExponential(),O=O.slice(0,O.indexOf("e")+1)+P),R=new k(O)):R=new k(U+""),R.c[0]){for(P=R.e,U=P+z,U<3&&(U=0);;)if(j=R,R=Z.times(j.plus(G(L,j,z,1))),J(j.c).slice(0,U)===(O=J(R.c)).slice(0,U))if(R.e<P&&--U,O=O.slice(U-3,U+1),O=="9999"||!q&&O=="4999"){if(!q&&($t(j,j.e+i+2,0),j.times(j).eq(L))){R=j;break}z+=4,U+=4,q=1}else{(!+O||!+O.slice(1)&&O.charAt(0)=="5")&&($t(R,R.e+i+2,1),x=!R.times(R).eq(L));break}}return $t(R,R.e+i+1,h,x)},nt.toExponential=function(x,O){return x!=null&&(X(x,0,V),x++),mt(this,x,O,1)},nt.toFixed=function(x,O){return x!=null&&(X(x,0,V),x=x+this.e+1),mt(this,x,O)},nt.toFormat=function(x,O,R){var q,j=this;if(R==null)x!=null&&O&&typeof O=="object"?(R=O,O=null):x&&typeof x=="object"?(R=x,x=O=null):R=T;else if(typeof R!="object")throw Error(p+"Argument not an object: "+R);if(q=j.toFixed(x,O),j.c){var L,H=q.split("."),U=+R.groupSize,P=+R.secondaryGroupSize,z=R.groupSeparator||"",Z=H[0],it=H[1],ft=j.s<0,yt=ft?Z.slice(1):Z,wt=yt.length;if(P&&(L=U,U=P,P=L,wt-=L),U>0&&wt>0){for(L=wt%U||U,Z=yt.substr(0,L);L<wt;L+=U)Z+=z+yt.substr(L,U);P>0&&(Z+=z+yt.slice(L)),ft&&(Z="-"+Z)}q=it?Z+(R.decimalSeparator||"")+((P=+R.fractionGroupSize)?it.replace(new RegExp("\\d{"+P+"}\\B","g"),"$&"+(R.fractionGroupSeparator||"")):it):Z}return(R.prefix||"")+q+(R.suffix||"")},nt.toFraction=function(x){var O,R,q,j,L,H,U,P,z,Z,it,ft,yt=this,wt=yt.c;if(x!=null&&(U=new k(x),!U.isInteger()&&(U.c||U.s!==1)||U.lt(A)))throw Error(p+"Argument "+(U.isInteger()?"out of range: ":"not an integer: ")+_t(U));if(!wt)return new k(yt);for(O=new k(A),z=R=new k(A),q=P=new k(A),ft=J(wt),L=O.e=ft.length-yt.e-1,O.c[0]=$[(H=L%E)<0?E+H:H],x=!x||U.comparedTo(O)>0?L>0?O:z:U,H=C,C=1/0,U=new k(ft),P.c[0]=0;Z=G(U,O,0,1),j=R.plus(Z.times(q)),j.comparedTo(x)!=1;)R=q,q=j,z=P.plus(Z.times(j=z)),P=j,O=U.minus(Z.times(j=O)),U=j;return j=G(x.minus(R),q,0,1),P=P.plus(j.times(z)),R=R.plus(j.times(q)),P.s=z.s=yt.s,L=L*2,it=G(z,q,L,h).minus(yt).abs().comparedTo(G(P,R,L,h).minus(yt).abs())<1?[z,q]:[P,R],C=H,it},nt.toNumber=function(){return+_t(this)},nt.toPrecision=function(x,O){return x!=null&&X(x,1,V),mt(this,x,O,2)},nt.toString=function(x){var O,R=this,q=R.s,j=R.e;return j===null?q?(O="Infinity",q<0&&(O="-"+O)):O="NaN":(x==null?O=j<=g||j>=m?pt(J(R.c),j):ut(J(R.c),j,"0"):x===10&&dt?(R=$t(new k(R),i+j+1,h),O=ut(J(R.c),R.e,"0")):(X(x,2,ct.length,"Base"),O=st(ut(J(R.c),j,"0"),10,x,q,!0)),q<0&&R.c[0]&&(O="-"+O)),O},nt.valueOf=nt.toJSON=function(){return _t(this)},nt._isBigNumber=!0,Y!=null&&k.set(Y),k}function ot(Y){var G=Y|0;return Y>0||Y===G?G:G-1}function J(Y){for(var G,st,ht=1,nt=Y.length,A=Y[0]+"";ht<nt;){for(G=Y[ht++]+"",st=E-G.length;st--;G="0"+G);A+=G}for(nt=A.length;A.charCodeAt(--nt)===48;);return A.slice(0,nt+1||1)}function lt(Y,G){var st,ht,nt=Y.c,A=G.c,i=Y.s,h=G.s,g=Y.e,m=G.e;if(!i||!h)return null;if(st=nt&&!nt[0],ht=A&&!A[0],st||ht)return st?ht?0:-h:i;if(i!=h)return i;if(st=i<0,ht=g==m,!nt||!A)return ht?0:!nt^st?1:-1;if(!ht)return g>m^st?1:-1;for(h=(g=nt.length)<(m=A.length)?g:m,i=0;i<h;i++)if(nt[i]!=A[i])return nt[i]>A[i]^st?1:-1;return g==m?0:g>m^st?1:-1}function X(Y,G,st,ht){if(Y<G||Y>st||Y!==o(Y))throw Error(p+(ht||"Argument")+(typeof Y=="number"?Y<G||Y>st?" out of range: ":" not an integer: ":" not a primitive number: ")+String(Y))}function at(Y){var G=Y.c.length-1;return ot(Y.e/E)==G&&Y.c[G]%2!=0}function pt(Y,G){return(Y.length>1?Y.charAt(0)+"."+Y.slice(1):Y)+(G<0?"e":"e+")+G}function ut(Y,G,st){var ht,nt;if(G<0){for(nt=st+".";++G;nt+=st);Y=nt+Y}else if(ht=Y.length,++G>ht){for(nt=st,G-=ht;--G;nt+=st);Y+=nt}else G<ht&&(Y=Y.slice(0,G)+"."+Y.slice(G));return Y}r=tt(),r.default=r.BigNumber=r,t.exports?t.exports=r:(e||(e=typeof self<"u"&&self?self:window),e.BigNumber=r)})(ng)})($a);var Fa=$a.exports;/*!
|
|
137
|
+
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
138
|
+
*
|
|
139
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
140
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
141
|
+
* in the Software without restriction, including without limitation the rights
|
|
142
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
143
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
144
|
+
* furnished to do so, subject to the following conditions:
|
|
145
|
+
*
|
|
146
|
+
* The above copyright notice and this permission notice shall be included in
|
|
147
|
+
* all copies or substantial portions of the Software.
|
|
148
|
+
*
|
|
149
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
150
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
151
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
152
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
153
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
154
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
155
|
+
* SOFTWARE.
|
|
156
|
+
*/const se=Si(),Bg=_i(),Sg=Bi,Ag=Fa,Kt={trillion:Math.pow(10,12),billion:Math.pow(10,9),million:Math.pow(10,6),thousand:Math.pow(10,3)},pr={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:Ra,decimalSuffixes:Cr}=se.currentBytes(),Ai={general:{scale:1024,suffixes:Cr},binary:{scale:1024,suffixes:Ra},decimal:{scale:1e3,suffixes:Cr}};function Tg(t,e={},r){if(typeof e=="string"&&(e=Sg.parseFormat(e)),!Bg.validateFormat(e))return"ERROR: invalid format";let u=e.prefix||"",o=e.postfix||"",p=Og(t,e,r);return p=Jg(p,u),p=Vg(p,o),p}function Og(t,e,r){switch(e.output){case"currency":return e=Ue(e,se.currentCurrencyDefaultFormat()),Pg(t,e,se);case"percent":return e=Ue(e,se.currentPercentageDefaultFormat()),Ug(t,e,se,r);case"byte":return e=Ue(e,se.currentByteDefaultFormat()),Rg(t,e,se,r);case"time":return e=Ue(e,se.currentTimeDefaultFormat()),Ng(t);case"ordinal":return e=Ue(e,se.currentOrdinalDefaultFormat()),Ig(t,e,se);case"number":default:return dr({instance:t,providedFormat:e})}}function Cg(t){let e=Ai.decimal;return Yr(t._value,e.suffixes,e.scale).suffix}function $g(t){let e=Ai.binary;return Yr(t._value,e.suffixes,e.scale).suffix}function Fg(t){let e=Ai.general;return Yr(t._value,e.suffixes,e.scale).suffix}function Yr(t,e,r){let n=e[0],u=Math.abs(t);if(u>=r){for(let o=1;o<e.length;++o){let p=Math.pow(r,o),b=Math.pow(r,o+1);if(u>=p&&u<b){n=e[o],t=t/p;break}}n===e[0]&&(t=t/Math.pow(r,e.length-1),n=e[e.length-1])}return{value:t,suffix:n}}function Rg(t,e,r,n){let u=e.base||"binary",o=Object.assign({},pr,e);const{binarySuffixes:p,decimalSuffixes:b}=r.currentBytes();let E={general:{scale:1024,suffixes:b||Cr,marker:"bd"},binary:{scale:1024,suffixes:p||Ra,marker:"b"},decimal:{scale:1e3,suffixes:b||Cr,marker:"d"}}[u],{value:d,suffix:$}=Yr(t._value,E.suffixes,E.scale);return`${dr({instance:n(d),providedFormat:e,state:r,defaults:r.currentByteDefaultFormat()})}${o.spaceSeparated?" ":""}${$}`}function Ig(t,e,r){let n=r.currentOrdinal(),u=Object.assign({},pr,e),o=dr({instance:t,providedFormat:e,state:r}),p=n(t._value);return`${o}${u.spaceSeparated?" ":""}${p}`}function Ng(t){let e=Math.floor(t._value/60/60),r=Math.floor((t._value-e*60*60)/60),n=Math.round(t._value-e*60*60-r*60);return`${e}:${r<10?"0":""}${r}:${n<10?"0":""}${n}`}function Ug(t,e,r,n){let u=e.prefixSymbol,o=dr({instance:n(t._value*100),providedFormat:e,state:r}),p=Object.assign({},pr,e);return u?`%${p.spaceSeparated?" ":""}${o}`:`${o}${p.spaceSeparated?" ":""}%`}function Pg(t,e,r){const n=r.currentCurrency();let u=Object.assign({},e),o=Object.assign({},pr,u),p,b="",B=!!o.totalLength||!!o.forceAverage||o.average,E=u.currencyPosition||n.position,d=u.currencySymbol||n.symbol;const $=o.spaceSeparatedCurrency!==void 0?o.spaceSeparatedCurrency:o.spaceSeparated;u.lowPrecision===void 0&&(u.lowPrecision=!1),$&&(b=" "),E==="infix"&&(p=b+d+b);let D=dr({instance:t,providedFormat:u,state:r,decimalSeparator:p});return E==="prefix"&&(t._value<0&&o.negative==="sign"?D=`-${b}${d}${D.slice(1)}`:t._value>0&&o.forceSign?D=`+${b}${d}${D.slice(1)}`:D=d+b+D),(!E||E==="postfix")&&(b=!o.spaceSeparatedAbbreviation&&B?"":b,D=D+b+d),D}function Lg({value:t,forceAverage:e,lowPrecision:r=!0,abbreviations:n,spaceSeparated:u=!1,totalLength:o=0,roundingFunction:p=Math.round}){let b="",B=Math.abs(t),E=-1;if(e&&n[e]&&Kt[e]?(b=n[e],t=t/Kt[e]):B>=Kt.trillion||r&&p(B/Kt.trillion)===1?(b=n.trillion,t=t/Kt.trillion):B<Kt.trillion&&B>=Kt.billion||r&&p(B/Kt.billion)===1?(b=n.billion,t=t/Kt.billion):B<Kt.billion&&B>=Kt.million||r&&p(B/Kt.million)===1?(b=n.million,t=t/Kt.million):(B<Kt.million&&B>=Kt.thousand||r&&p(B/Kt.thousand)===1)&&(b=n.thousand,t=t/Kt.thousand),b&&(b=(u?" ":"")+b),o){let $=t<0,D=t.toString().split(".")[0],V=$?D.length-1:D.length;E=Math.max(o-V,0)}return{value:t,abbreviation:b,mantissaPrecision:E}}function Dg({value:t,characteristicPrecision:e}){let[r,n]=t.toExponential().split("e"),u=+r;if(!e)return{value:u,abbreviation:`e${n}`};let o=1;return o<e&&(u=u*Math.pow(10,e-o),n=+n-(e-o),n=n>=0?`+${n}`:n),{value:u,abbreviation:`e${n}`}}function wr(t){let e="";for(let r=0;r<t;r++)e+="0";return e}function jg(t,e){let r=t.toString(),[n,u]=r.split("e"),[o,p=""]=n.split(".");if(+u>0)r=o+p+wr(u-p.length);else{let b=".";+o<0?b=`-0${b}`:b=`0${b}`;let B=(wr(-u-1)+Math.abs(o)+p).substr(0,e);B.length<e&&(B+=wr(e-B.length)),r=b+B}return+u>0&&e>0&&(r+=`.${wr(e)}`),r}function kg(t,e,r=Math.round){return t.toString().indexOf("e")!==-1?jg(t,e):new Ag(r(+`${t}e+${e}`)/Math.pow(10,e)).toFixed(e)}function qg(t,e,r,n,u,o){if(n===-1)return t;let p=kg(e,n,o),[b,B=""]=p.toString().split(".");if(B.match(/^0+$/)&&(r||u))return b;let E=B.match(/0+$/);return u&&E?`${b}.${B.toString().slice(0,E.index)}`:p.toString()}function zg(t,e,r,n){let u=t,[o,p]=u.toString().split(".");if(o.match(/^-?0$/)&&r)return p?`${o.replace("0","")}.${p}`:o.replace("0","");const b=e<0&&o.indexOf("-")===0;if(b&&(o=o.slice(1),u=u.slice(1)),o.length<n){let B=n-o.length;for(let E=0;E<B;E++)u=`0${u}`}return b&&(u=`-${u}`),u.toString()}function Hg(t,e){let r=[],n=0;for(let u=t;u>0;u--)n===e&&(r.unshift(u),n=0),n++;return r}function Gg(t,e,r,n,u){let o=n.currentDelimiters(),p=o.thousands;u=u||o.decimal;let b=o.thousandsSize||3,B=t.toString(),E=B.split(".")[0],d=B.split(".")[1];const $=e<0&&E.indexOf("-")===0;return r&&($&&(E=E.slice(1)),Hg(E.length,b).forEach((V,tt)=>{E=E.slice(0,V+tt)+p+E.slice(V+tt)}),$&&(E=`-${E}`)),d?B=E+u+d:B=E,B}function Wg(t,e){return t+e}function Zg(t,e,r){return e===0?t:+t==0?t.replace("-",""):e>0?`+${t}`:r==="sign"?t:`(${t.replace("-","")})`}function Jg(t,e){return e+t}function Vg(t,e){return t+e}function dr({instance:t,providedFormat:e,state:r=se,decimalSeparator:n,defaults:u=r.currentDefaults()}){let o=t._value;if(o===0&&r.hasZeroFormat())return r.getZeroFormat();if(!isFinite(o))return o.toString();let p=Object.assign({},pr,u,e),b=p.totalLength,B=b?0:p.characteristic,E=p.optionalCharacteristic,d=p.forceAverage,$=p.lowPrecision,D=!!b||!!d||p.average,V=b?-1:D&&e.mantissa===void 0?0:p.mantissa,tt=b?!1:e.optionalMantissa===void 0?V===-1:p.optionalMantissa,ot=p.trimMantissa,J=p.thousandSeparated,lt=p.spaceSeparated,X=p.negative,at=p.forceSign,pt=p.exponential,ut=p.roundingFunction,Y="";if(D){let st=Lg({value:o,forceAverage:d,lowPrecision:$,abbreviations:r.currentAbbreviations(),spaceSeparated:lt,roundingFunction:ut,totalLength:b});o=st.value,Y+=st.abbreviation,b&&(V=st.mantissaPrecision)}if(pt){let st=Dg({value:o,characteristicPrecision:B});o=st.value,Y=st.abbreviation+Y}let G=qg(o.toString(),o,tt,V,ot,ut);return G=zg(G,o,E,B),G=Gg(G,o,J,r,n),(D||pt)&&(G=Wg(G,Y)),(at||o<0)&&(G=Zg(G,o,X)),G}function Ue(t,e){if(!t)return e;let r=Object.keys(t);return r.length===1&&r[0]==="output"?e:t}var Kg=t=>({format:(...e)=>Tg(...e,t),getByteUnit:(...e)=>Fg(...e,t),getBinaryByteUnit:(...e)=>$g(...e,t),getDecimalByteUnit:(...e)=>Cg(...e,t),formatOrDefault:Ue});/*!
|
|
157
|
+
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
158
|
+
*
|
|
159
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
160
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
161
|
+
* in the Software without restriction, including without limitation the rights
|
|
162
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
163
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
164
|
+
* furnished to do so, subject to the following conditions:
|
|
165
|
+
*
|
|
166
|
+
* The above copyright notice and this permission notice shall be included in
|
|
167
|
+
* all copies or substantial portions of the Software.
|
|
168
|
+
*
|
|
169
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
170
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
171
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
172
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
173
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
174
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
175
|
+
* SOFTWARE.
|
|
176
|
+
*/const me=Fa;function Yg(t,e,r){let n=new me(t._value),u=e;return r.isNumbro(e)&&(u=e._value),u=new me(u),t._value=n.plus(u).toNumber(),t}function Ia(t,e,r){let n=new me(t._value),u=e;return r.isNumbro(e)&&(u=e._value),u=new me(u),t._value=n.minus(u).toNumber(),t}function Xg(t,e,r){let n=new me(t._value),u=e;return r.isNumbro(e)&&(u=e._value),u=new me(u),t._value=n.times(u).toNumber(),t}function Qg(t,e,r){let n=new me(t._value),u=e;return r.isNumbro(e)&&(u=e._value),u=new me(u),t._value=n.dividedBy(u).toNumber(),t}function tm(t,e,r){let n=e;return r.isNumbro(e)&&(n=e._value),t._value=n,t}function em(t,e,r){let n=r(t._value);return Ia(n,e,r),Math.abs(n._value)}var rm=t=>({add:(e,r)=>Yg(e,r,t),subtract:(e,r)=>Ia(e,r,t),multiply:(e,r)=>Xg(e,r,t),divide:(e,r)=>Qg(e,r,t),set:(e,r)=>tm(e,r,t),difference:(e,r)=>em(e,r,t),BigNumber:me});/*!
|
|
177
|
+
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
178
|
+
*
|
|
179
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
180
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
181
|
+
* in the Software without restriction, including without limitation the rights
|
|
182
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
183
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
184
|
+
* furnished to do so, subject to the following conditions:
|
|
185
|
+
*
|
|
186
|
+
* The above copyright notice and this permission notice shall be included in
|
|
187
|
+
* all copies or substantial portions of the Software.
|
|
188
|
+
*
|
|
189
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
190
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
191
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
192
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
193
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
194
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
195
|
+
* SOFTWARE.
|
|
196
|
+
*/const nm="2.5.0",de=Si(),im=_i(),om=_g(Ht),sm=Ca();let be=Kg(Ht),Ee=rm(Ht);const am=Bi;class Na{constructor(e){this._value=e}clone(){return Ht(this._value)}format(e={}){return be.format(this,e)}formatCurrency(e){return typeof e=="string"&&(e=am.parseFormat(e)),e=be.formatOrDefault(e,de.currentCurrencyDefaultFormat()),e.output="currency",be.format(this,e)}formatTime(e={}){return e.output="time",be.format(this,e)}binaryByteUnits(){return be.getBinaryByteUnit(this)}decimalByteUnits(){return be.getDecimalByteUnit(this)}byteUnits(){return be.getByteUnit(this)}difference(e){return Ee.difference(this,e)}add(e){return Ee.add(this,e)}subtract(e){return Ee.subtract(this,e)}multiply(e){return Ee.multiply(this,e)}divide(e){return Ee.divide(this,e)}set(e){return Ee.set(this,Ua(e))}value(){return this._value}valueOf(){return this._value}}function Ua(t){let e=t;return Ht.isNumbro(t)?e=t._value:typeof t=="string"?e=Ht.unformat(t):isNaN(t)&&(e=NaN),e}function Ht(t){return new Na(Ua(t))}Ht.version=nm;Ht.isNumbro=function(t){return t instanceof Na};Ht.language=de.currentLanguage;Ht.registerLanguage=de.registerLanguage;Ht.setLanguage=de.setLanguage;Ht.languages=de.languages;Ht.languageData=de.languageData;Ht.zeroFormat=de.setZeroFormat;Ht.defaultFormat=de.currentDefaults;Ht.setDefaults=de.setDefaults;Ht.defaultCurrencyFormat=de.currentCurrencyDefaultFormat;Ht.validate=im.validate;Ht.loadLanguagesInNode=om.loadLanguagesInNode;Ht.unformat=sm.unformat;Ht.BigNumber=Ee.BigNumber;var um=Ht,cw=ig(um),Po=di(function(t,e,r,n){Fe(e,Je(e),t,n)}),fm="[object DOMException]",lm="[object Error]";function Pa(t){if(!te(t))return!1;var e=ue(t);return e==lm||e==fm||typeof t.message=="string"&&typeof t.name=="string"&&!Dr(t)}var cm=fe(function(t,e){try{return pi(t,void 0,e)}catch(r){return Pa(r)?r:new Error(r)}});function La(t,e){return ge(e,function(r){return t[r]})}var Da=Object.prototype,hm=Da.hasOwnProperty;function Lo(t,e,r,n){return t===void 0||Ge(t,Da[r])&&!hm.call(n,r)?e:t}var pm={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function dm(t){return"\\"+pm[t]}var ja=/<%=([\s\S]+?)%>/g,gm={"&":"&","<":"<",">":">",'"':""","'":"'"},mm=ga(gm),ka=/[&<>"']/g,ym=RegExp(ka.source);function wm(t){return t=ee(t),t&&ym.test(t)?t.replace(ka,mm):t}var vm=/<%-([\s\S]+?)%>/g,xm=/<%([\s\S]+?)%>/g,Do={escape:vm,evaluate:xm,interpolate:ja,variable:"",imports:{_:{escape:wm}}},bm="Invalid `variable` option passed into `_.template`",Em=/\b__p \+= '';/g,Mm=/\b(__p \+=) '' \+/g,_m=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Bm=/[()=,{}\[\]\/\s]/,Sm=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,vr=/($^)/,Am=/['\n\r\u2028\u2029\\]/g,Tm=Object.prototype,jo=Tm.hasOwnProperty;function hw(t,e,r){var n=Do.imports._.templateSettings||Do;t=ee(t),e=Po({},e,n,Lo);var u=Po({},e.imports,n.imports,Lo),o=xe(u),p=La(u,o),b,B,E=0,d=e.interpolate||vr,$="__p += '",D=RegExp((e.escape||vr).source+"|"+d.source+"|"+(d===ja?Sm:vr).source+"|"+(e.evaluate||vr).source+"|$","g"),V=jo.call(e,"sourceURL")?"//# sourceURL="+(e.sourceURL+"").replace(/\s/g," ")+`
|
|
197
|
+
`:"";t.replace(D,function(J,lt,X,at,pt,ut){return X||(X=at),$+=t.slice(E,ut).replace(Am,dm),lt&&(b=!0,$+=`' +
|
|
198
|
+
__e(`+lt+`) +
|
|
199
|
+
'`),pt&&(B=!0,$+=`';
|
|
200
|
+
`+pt+`;
|
|
201
|
+
__p += '`),X&&($+=`' +
|
|
202
|
+
((__t = (`+X+`)) == null ? '' : __t) +
|
|
203
|
+
'`),E=ut+J.length,J}),$+=`';
|
|
204
|
+
`;var tt=jo.call(e,"variable")&&e.variable;if(!tt)$=`with (obj) {
|
|
205
|
+
`+$+`
|
|
206
|
+
}
|
|
207
|
+
`;else if(Bm.test(tt))throw new Error(bm);$=(B?$.replace(Em,""):$).replace(Mm,"$1").replace(_m,"$1;"),$="function("+(tt||"obj")+`) {
|
|
208
|
+
`+(tt?"":`obj || (obj = {});
|
|
209
|
+
`)+"var __t, __p = ''"+(b?", __e = _.escape":"")+(B?`, __j = Array.prototype.join;
|
|
210
|
+
function print() { __p += __j.call(arguments, '') }
|
|
211
|
+
`:`;
|
|
212
|
+
`)+$+`return __p
|
|
213
|
+
}`;var ot=cm(function(){return Function(o,V+"return "+$).apply(void 0,p)});if(ot.source=$,Pa(ot))throw ot;return ot}var Om=oe.isFinite;function pw(t){return typeof t=="number"&&Om(t)}var Cm=1,$m=4;function Fm(t){return tr(t,Cm|$m)}const dw=Object.freeze(Object.defineProperty({__proto__:null,default:Fm},Symbol.toStringTag,{value:"Module"}));function qa(t,e,r,n,u,o){return Vt(t)&&Vt(e)&&(o.set(e,t),jr(t,e,void 0,qa,o),o.delete(e)),t}var Rm=di(function(t,e,r,n){jr(t,e,r,n)}),gw=fe(function(t){return t.push(void 0,qa),pi(Rm,void 0,t)});function Im(t,e){for(var r=-1,n=t.length;++r<n&&qr(e,t[r],0)>-1;);return r}function Nm(t,e,r){if(t=ee(t),t&&(r||e===void 0))return os(t);if(!t||!(e=or(e)))return t;var n=De(t),u=De(e),o=Im(n,u),p=Oa(n,u)+1;return $r(n,o,p).join("")}const mw=Object.freeze(Object.defineProperty({__proto__:null,default:Nm},Symbol.toStringTag,{value:"Module"}));var Um=Math.min;function Pm(t,e,r){for(var n=gi,u=t[0].length,o=t.length,p=o,b=Array(o),B=1/0,E=[];p--;){var d=t[p];B=Um(d.length,B),b[p]=u>=120&&d.length>=120?new Ae(p&&d):void 0}d=t[0];var $=-1,D=b[0];t:for(;++$<u&&E.length<B;){var V=d[$],tt=V;if(V=V!==0?V:0,!(D?nr(D,tt):n(E,tt))){for(p=o;--p;){var ot=b[p];if(!(ot?nr(ot,tt):n(t[p],tt)))continue t}D&&D.push(tt),E.push(V)}}return E}function Lm(t){return Te(t)?t:[]}var yw=fe(function(t){var e=ge(t,Lm);return e.length&&e[0]===t[0]?Pm(e):[]}),ww=fe(function(t){var e=kr(t);return Te(e)&&(e=void 0),ze(lr(t,1,Te,!0),pe(e))});function Ti(t,e){return t&&_s(t,e,xe)}function Dm(t,e){return function(r,n){if(r==null)return r;if(!ve(r))return t(r,n);for(var u=r.length,o=-1,p=Object(r);++o<u&&n(p[o],o,p)!==!1;);return r}}var Oi=Dm(Ti);function za(t,e){var r=-1,n=ve(t)?Array(t.length):[];return Oi(t,function(u,o,p){n[++r]=e(u,o,p)}),n}function jm(t,e){var r=t.length;for(t.sort(e);r--;)t[r]=t[r].value;return t}function km(t,e){if(t!==e){var r=t!==void 0,n=t===null,u=t===t,o=Le(t),p=e!==void 0,b=e===null,B=e===e,E=Le(e);if(!b&&!E&&!o&&t>e||o&&p&&B&&!b&&!E||n&&p&&B||!r&&B||!u)return 1;if(!n&&!o&&!E&&t<e||E&&r&&u&&!n&&!o||b&&r&&u||!p&&u||!B)return-1}return 0}function qm(t,e,r){for(var n=-1,u=t.criteria,o=e.criteria,p=u.length,b=r.length;++n<p;){var B=km(u[n],o[n]);if(B){if(n>=b)return B;var E=r[n];return B*(E=="desc"?-1:1)}}return t.index-e.index}function Ha(t,e,r){e.length?e=ge(e,function(o){return Gt(o)?function(p){return ar(p,o.length===1?o[0]:o)}:o}):e=[ur];var n=-1;e=ge(e,Nr(pe));var u=za(t,function(o,p,b){var B=ge(e,function(E){return E(o)});return{criteria:B,index:++n,value:o}});return jm(u,function(o,p){return qm(o,p,r)})}var vw=fe(function(t,e){if(t==null)return[];var r=e.length;return r>1&&Gn(t,e[0],e[1])?e=[]:r>2&&Gn(e[0],e[1],e[2])&&(e=[e[0]]),Ha(t,lr(e),[])});function zm(t){return function(e,r,n){var u=Object(e);if(!ve(e)){var o=pe(r);e=xe(e),r=function(b){return o(u[b],b,u)}}var p=t(e,r,n);return p>-1?u[o?e[p]:p]:void 0}}var Hm=Math.max;function Gm(t,e,r){var n=t==null?0:t.length;if(!n)return-1;var u=r==null?0:He(r);return u<0&&(u=Hm(n+u,0)),Us(t,pe(e),u)}var xw=zm(Gm);function Wm(t){return t&&t.length?ze(t):[]}const bw=Object.freeze(Object.defineProperty({__proto__:null,default:Wm},Symbol.toStringTag,{value:"Module"}));var Zm=Math.ceil,Jm=Math.max;function Ew(t,e,r){e===void 0?e=1:e=Jm(He(e),0);var n=t==null?0:t.length;if(!n||e<1)return[];for(var u=0,o=0,p=Array(Zm(n/e));u<n;)p[o++]=Qn(t,u,u+=e);return p}function Vm(t,e,r,n){for(var u=-1,o=t==null?0:t.length;++u<o;){var p=t[u];e(n,p,r(p),t)}return n}function Km(t,e,r,n){return Oi(t,function(u,o,p){e(n,u,r(u),p)}),n}function Ga(t,e){return function(r,n){var u=Gt(r)?Vm:Km,o=e?e():{};return u(r,t,pe(n),o)}}var Ym=200;function Wa(t,e,r,n){var u=-1,o=gi,p=!0,b=t.length,B=[],E=e.length;if(!b)return B;n?(o=Ps,p=!1):e.length>=Ym&&(o=nr,p=!1,e=new Ae(e));t:for(;++u<b;){var d=t[u],$=d;if(d=n||d!==0?d:0,p&&$===$){for(var D=E;D--;)if(e[D]===$)continue t;B.push(d)}else o(e,$,n)||B.push(d)}return B}function Za(t){return typeof t=="function"?t:ur}function Mw(t,e){var r=Gt(t)?$s:Oi;return r(t,Za(e))}function Xm(t,e){var r=Gt(t)?ge:za;return r(t,pe(e))}const _w=Object.freeze(Object.defineProperty({__proto__:null,default:Xm},Symbol.toStringTag,{value:"Module"}));function Qm(t,e){return t&&Ti(t,Za(e))}const Bw=Object.freeze(Object.defineProperty({__proto__:null,default:Qm},Symbol.toStringTag,{value:"Module"}));function Sw(t){return t==null?[]:La(t,xe(t))}function Aw(t){return typeof t=="number"&&t==He(t)}var Tw=Ga(function(t,e,r){fr(t,r,e)});function Ow(t,e){var r={};return e=pe(e),Ti(t,function(n,u,o){fr(r,u,e(n,u,o))}),r}function ty(t,e){var r=t.length;if(r)return e+=e<0?r:0,sr(e,r)?t[e]:void 0}function Cw(t){return t=He(t),fe(function(e){return ty(e,t)})}function $w(t,e,r,n){return t==null?[]:(Gt(e)||(e=e==null?[]:[e]),r=r,Gt(r)||(r=r==null?[]:[r]),Ha(t,e,r))}var ey=Ga(function(t,e,r){t[r?0:1].push(e)},function(){return[[],[]]});const Fw=Object.freeze(Object.defineProperty({__proto__:null,default:ey},Symbol.toStringTag,{value:"Module"}));var ry=Array.prototype,ko=ry.splice;function ny(t,e,r,n){var u=qr,o=-1,p=e.length,b=t;for(t===e&&(e=hi(e));++o<p;)for(var B=0,E=e[o],d=E;(B=u(b,d,B))>-1;)b!==t&&ko.call(b,B,1),ko.call(t,B,1);return t}function iy(t,e){return t&&t.length&&e&&e.length?ny(t,e):t}var Rw=fe(iy);function oy(t){return ee(t).toLowerCase()}const Iw=Object.freeze(Object.defineProperty({__proto__:null,default:oy},Symbol.toStringTag,{value:"Module"}));function Nw(t){return ee(t).toUpperCase()}var sy=fe(function(t){var e=kr(t);return e=typeof e=="function"?e:void 0,ze(lr(t,1,Te,!0),void 0,e)});const Uw=Object.freeze(Object.defineProperty({__proto__:null,default:sy},Symbol.toStringTag,{value:"Module"}));var Pw=fe(function(t,e){return Te(t)?Wa(t,e):[]});function ay(t,e,r){var n=t.length;if(n<2)return n?ze(t[0]):[];for(var u=-1,o=Array(n);++u<n;)for(var p=t[u],b=-1;++b<n;)b!=u&&(o[u]=Wa(o[u]||p,t[b],e,r));return ze(lr(o),e,r)}var Lw=fe(function(t){var e=kr(t);return e=typeof e=="function"?e:void 0,ay(us(t,Te),void 0,e)});export{Rw as $,tg as A,od as B,Ay as C,Jt as D,xw as E,Vt as F,Fm as G,Nm as H,t1 as I,By as J,da as K,Z1 as L,dw as M,by as N,Oy as O,Ty as P,xy as Q,qh as R,Fh as S,ei as T,Wm as U,wi as V,r1 as W,Cw as X,Aw as Y,Uh as Z,eg as _,Kc as a,J1 as a0,vw as a1,ap as a2,X1 as a3,Sy as a4,Iw as a5,mw as a6,Ew as a7,$w as a8,Py as a9,cw as aA,Gt as aB,yw as aC,ww as aD,gw as aE,gy as aF,pw as aG,hy as aH,bw as aI,ai as aJ,Lw as aa,Ud as ab,Ry as ac,Tw as ad,Cy as ae,My as af,Bw as ag,vy as ah,_w as ai,Mw as aj,Xm as ak,Ds as al,$y as am,lp as an,Uw as ao,cy as ap,Fw as aq,Pw as ar,_y as as,Sw as at,Hc as au,Ey as av,Nw as aw,Ow as ax,lw as ay,hw as az,Yu as b,yy as c,t0 as d,ws as e,Xy as f,Me as g,Qy as h,Dr as i,tw as j,fy as k,rw as l,nw as m,a0 as n,py as o,iw as p,ly as q,dy as r,my as s,wy as t,ew as u,sw as v,K1 as w,aw as x,uw as y,fw as z};
|