@abtnode/blocklet-services 1.16.43-beta-20250419-231352-c78ac93d → 1.16.43-beta-20250422-042711-c40bec75
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/services/auth/connect/gen-access-key.js +9 -2
- package/api/services/auth/session.js +7 -4
- package/dist/assets/{AdapterDayjs-DBd25Gc9.js → AdapterDayjs-DcprbhsV.js} +1 -1
- package/dist/assets/{ArrowDropDown-CplPoZk0.js → ArrowDropDown-BHNhtNqo.js} +1 -1
- package/dist/assets/{CheckCircle-DKW0gPt9.js → CheckCircle-C7lAzkFm.js} +1 -1
- package/dist/assets/{ChevronLeft-f4mXxiqC.js → ChevronLeft-fcaEvvT2.js} +1 -1
- package/dist/assets/{ChevronRight-I8lL2o6m.js → ChevronRight-BWcj-otI.js} +1 -1
- package/dist/assets/{Community-eISlOOkV.js → Community-BXFIKoZW.js} +1 -1
- package/dist/assets/{DeleteOutline-gXV6-Yj1.js → DeleteOutline-CMgoFNHT.js} +1 -1
- package/dist/assets/{Done-D7ovxqe0.js → Done-CkkNExgL.js} +1 -1
- package/dist/assets/{Download-DnSJYUu9.js → Download-B1KcU2Zd.js} +1 -1
- package/dist/assets/{Edit-K6PObbWp.js → Edit-C-ChSGAK.js} +1 -1
- package/dist/assets/{EditIcon-CQgpOLLT.js → EditIcon-BRKobKzh.js} +1 -1
- package/dist/assets/{Email-BWTg6iJI.js → Email-7cDhevM1.js} +1 -1
- package/dist/assets/{Error-Cpr3WuZf.js → Error-Du9QXuYs.js} +1 -1
- package/dist/assets/{ExpandLess-CfCbhFiC.js → ExpandLess-Cdn0T-U2.js} +1 -1
- package/dist/assets/{Google-BPbeA72O.js → Google-3Ox3gIL3.js} +1 -1
- package/dist/assets/{Holiday-C3bRTVlx.js → Holiday-BtexoPxk.js} +1 -1
- package/dist/assets/{InfoOutlined-Cxodw3Dd.js → InfoOutlined-ZIQMeu0p.js} +1 -1
- package/dist/assets/{Launch-BtCtZYws.js → Launch-qJWNGQwX.js} +1 -1
- package/dist/assets/{LaunchOutlined--YSktZgX.js → LaunchOutlined-BVUDVgft.js} +1 -1
- package/dist/assets/LoadingButton-D_tuQuaP.js +1 -0
- package/dist/assets/{Location-C_mUMqZP.js → Location-BF9BwrVf.js} +1 -1
- package/dist/assets/{LockIcon-G8zLxYzV.js → LockIcon-L5QI4AoC.js} +1 -1
- package/dist/assets/{Meeting-vvmUKHs1.js → Meeting-gc3Ts6jN.js} +1 -1
- package/dist/assets/{MoreHoriz-ChU2hdzJ.js → MoreHoriz-ByNTWUxY.js} +1 -1
- package/dist/assets/{OffSick-BTxtVws3.js → OffSick-_EZgqU01.js} +1 -1
- package/dist/assets/{Phone-Cz_yY8ed.js → Phone-oJLFEdfI.js} +1 -1
- package/dist/assets/{PlayArrow-sN_fSbsI.js → PlayArrow-rSzT1Thf.js} +1 -1
- package/dist/assets/{QuestionMarkCircle-DeAbZuzW.js → QuestionMarkCircle-Cw7EtCDd.js} +1 -1
- package/dist/assets/{ServerLogo-UZVUmHWK.js → ServerLogo-zdbLsMaw.js} +1 -1
- package/dist/assets/{Timezone-5RxC7sK-.js → Timezone-BtCtoEo9.js} +1 -1
- package/dist/assets/{TuneOutlined-CiDODSgi.js → TuneOutlined-BnxAi8kP.js} +1 -1
- package/dist/assets/{ViewList-BgK0KBCz.js → ViewList-DbzNMeex.js} +1 -1
- package/dist/assets/{WorkingRemotely-_QD8QN72.js → WorkingRemotely-YBya8rZT.js} +1 -1
- package/dist/assets/{access-control-Py8YI7Sg.js → access-control-q2DA79L8.js} +1 -1
- package/dist/assets/actions-J8MFA_6y.js +1 -0
- package/dist/assets/{add-component-core-Qy10hfGq.js → add-component-core-IYRc9eac.js} +30 -30
- package/dist/assets/{add-resource--JfwloZn.js → add-resource-8w2aCwfA.js} +1 -1
- package/dist/assets/{addon-BF7ni3fn.js → addon-BQEpbqTR.js} +1 -1
- package/dist/assets/{advanced--o9qksiV.js → advanced-CX8tZItX.js} +1 -1
- package/dist/assets/api-BrU7j0QA.js +1 -0
- package/dist/assets/appearance-C5895lZP.js +1 -0
- package/dist/assets/{audit-logs-CXRUUhqH.js → audit-logs-DukS3LSM.js} +3 -3
- package/dist/assets/authorize-CEHLfOxJ.js +1 -0
- package/dist/assets/{base32-CWI-u9nV.js → base32--dljmFCF.js} +1 -1
- package/dist/assets/{branding-D9uh0isl.js → branding-Abk6CVlX.js} +1 -1
- package/dist/assets/branding-Cczews7F.js +40 -0
- package/dist/assets/bundle-avatar-DFwyxj9P.js +1 -0
- package/dist/assets/button-CJk6Iiza.js +1 -0
- package/dist/assets/click-to-copy-CbKZyfyr.js +1 -0
- package/dist/assets/cloneDeep-SfcdeqEN.js +1 -0
- package/dist/assets/{complete-DVY-bJt4.js → complete-ejUOC1cY.js} +2 -2
- package/dist/assets/{component-DvDJBvwl.js → component-BOLQzzEI.js} +2 -2
- package/dist/assets/{config-ogNfLnBw.js → config-Bv0DcfgY.js} +2 -2
- package/dist/assets/{config-BQCgx2fR.js → config-efFznM9P.js} +1 -1
- package/dist/assets/{config-navigation-gxUAyoWT.js → config-navigation-1cuUaRsL.js} +6 -6
- package/dist/assets/{config-space-BVobvnPL.js → config-space-DEku2tJv.js} +1 -1
- package/dist/assets/confirm-miQS3Z1c.js +7 -0
- package/dist/assets/connect-0B3z_kZV.js +5 -0
- package/dist/assets/{connect-CZiBZEfi.js → connect-OYujfpaQ.js} +1 -1
- package/dist/assets/connect-to-C-vFK0ym.js +1 -0
- package/dist/assets/{content-layout-Cg5RRv1R.js → content-layout-JixQ7owc.js} +1 -1
- package/dist/assets/dashboard-C9tAGBV0.js +280 -0
- package/dist/assets/{delete-confirm-XK8jSuf8.js → delete-confirm-kKb8VxbQ.js} +1 -1
- package/dist/assets/{did-address-CQl19Nvh.js → did-address-DNf_-NM-.js} +1 -1
- package/dist/assets/domain-RAN90v9n.js +9 -0
- package/dist/assets/domain-action-card-BNybk5kq.js +25 -0
- package/dist/assets/domains-B51g2OQM.js +1 -0
- package/dist/assets/dot-xwsgXXMo.js +7 -0
- package/dist/assets/{email-C_xHssUU.js → email-CBFKGDtB.js} +3 -3
- package/dist/assets/{empty-spinner-yzHJfTIe.js → empty-spinner-Rr_2DR73.js} +1 -1
- package/dist/assets/{exchange-passport-hQXgq3GD.js → exchange-passport-2U7cUaM-.js} +1 -1
- package/dist/assets/{format-error-LAoTjvJe.js → format-error-BrmqJs5a.js} +1 -1
- package/dist/assets/{fuel-DVf4_c57.js → fuel-Ctl6kh4M.js} +1 -1
- package/dist/assets/{gen-access-key-DpUd0FlR.js → gen-access-key-CIrRotRy.js} +2 -2
- package/dist/assets/{get-safe-url-B-sc0A-n.js → get-safe-url-BXaepgsm.js} +1 -1
- package/dist/assets/{get-safe-url-B_RF0YU0.js → get-safe-url-MZ-ksvtD.js} +1 -1
- package/dist/assets/{home-DMgMCymt.js → home-C2Bgs4zS.js} +1 -1
- package/dist/assets/{iframe-4UgdZZC1.js → iframe-oHkt22fl.js} +1 -1
- package/dist/assets/{index-CHnniEyF.js → index-51ncOoae.js} +2 -2
- package/dist/assets/{index-BkddeMo4.js → index-B1-S-x6B.js} +32 -32
- package/dist/assets/{index-DDQJBjEj.js → index-B1EwWGHW.js} +4 -4
- package/dist/assets/index-B1ljmpu4.css +1 -0
- package/dist/assets/{index-CsgM0f6J.js → index-BRXM9-_y.js} +1 -1
- package/dist/assets/{index-DLKBGmpX.js → index-BT3gX_Gs.js} +1 -1
- package/dist/assets/index-BWx6ivvZ.js +708 -0
- package/dist/assets/{index-WrR7FOJW.js → index-BaU0U5xc.js} +10 -10
- package/dist/assets/index-BiIKWZTs.js +113 -0
- package/dist/assets/{index-B0Z8409R.js → index-C3XAI9I7.js} +1 -1
- package/dist/assets/{index-DpPN2Hn-.js → index-C7UL-KG1.js} +2 -2
- package/dist/assets/{index-Cy-N-WWk.js → index-CILVFQJH.js} +4 -4
- package/dist/assets/{index-Pg83GFwT.js → index-CNpN35y4.js} +1 -1
- package/dist/assets/{index-pV_0wOyY.js → index-CPE8Apzb.js} +1 -1
- package/dist/assets/{index-haYY8BAk.js → index-CYeIiQ6Q.js} +1 -1
- package/dist/assets/index-CzzLOOSx.js +55 -0
- package/dist/assets/{index-C7N2sf_h.js → index-DGPhY8xp.js} +2 -2
- package/dist/assets/{index-I8x_0gIy.js → index-DHdYd4nT.js} +3 -3
- package/dist/assets/index-DHjPgdgK.js +1 -0
- package/dist/assets/{index-CEMXycV7.js → index-DQc29-JM.js} +1 -1
- package/dist/assets/{index-tUQxVYYQ.js → index-DVQCgvFb.js} +1 -1
- package/dist/assets/{index-CgtY16Wm.js → index-DhGZEbPZ.js} +1 -1
- package/dist/assets/index-Ds7z-vG7.js +10 -0
- package/dist/assets/{index-CtXa7h2w.js → index-GJgyTjK2.js} +9 -9
- package/dist/assets/{index-DPgbycNO.js → index-Hl4sXXdc.js} +1 -1
- package/dist/assets/{index-BjmnM2sd.js → index-ILkKQT7G.js} +1 -1
- package/dist/assets/{index-kqlC8JFQ.js → index-YbJjfDTR.js} +1 -1
- package/dist/assets/{index-GjE02L4C.js → index-qcSTfn8X.js} +2 -2
- package/dist/assets/{invitation-BHGagSLV.js → invitation-CPSru_8S.js} +4 -4
- package/dist/assets/invite-DquuAqEb.js +1 -0
- package/dist/assets/issue-passport-DW27M9Fi.js +1 -0
- package/dist/assets/{item-BF4KPkcQ.js → item-CdEFLc19.js} +1 -1
- package/dist/assets/{landing-page-D5MYBFUa.js → landing-page-DPD1zNWJ.js} +1 -1
- package/dist/assets/{launch-result-message-Ckk5lRW7.js → launch-result-message-yorrVgpQ.js} +1 -1
- package/dist/assets/{layout-aojLTImI.js → layout-DBsOgAhr.js} +1 -1
- package/dist/assets/{list-Dc8Jfe8L.js → list-BNd4p4TF.js} +8 -7
- package/dist/assets/{list-header-BYlc5SI1.js → list-header-BTUducS9.js} +1 -1
- package/dist/assets/localization-CS7BsCef.js +1 -0
- package/dist/assets/{log-DOIIPe_H.js → log-R8TIkchf.js} +1 -1
- package/dist/assets/logger-d2Lh_KCF.js +1 -0
- package/dist/assets/{login-CWe2jVnz.js → login-Dgvm6HMJ.js} +1 -1
- package/dist/assets/{login-oauth-callback-DX0RUZbI.js → login-oauth-callback-rmUYgE44.js} +1 -1
- package/dist/assets/logo-uploader-Bv2ZSxJV.js +133 -0
- package/dist/assets/{lost-passport-3IUMBdMK.js → lost-passport-CiVM9B2L.js} +4 -4
- package/dist/assets/{lottie-react.esm-CPHH620R.js → lottie-react.esm-D2t-u0YU.js} +1 -1
- package/dist/assets/{lottie-web-B6s7dDoL.js → lottie-web-jYmAQWuC.js} +1 -1
- package/dist/assets/omit-bLid3PKQ.js +1 -0
- package/dist/assets/{open-window-C9M0sLPo.js → open-window-D2wkW326.js} +1 -1
- package/dist/assets/{overview-DXBkrcK9.js → overview-C_fDcPQA.js} +2 -2
- package/dist/assets/{page-header-CtJV2gil.js → page-header-C86YQnHE.js} +1 -1
- package/dist/assets/{passport-item-Eb0O4plM.js → passport-item-C4X2VZeo.js} +1 -1
- package/dist/assets/{permission-Bua36Doc.js → permission-CbDCh9eS.js} +1 -1
- package/dist/assets/preferences-Cdzon7pe.js +1 -0
- package/dist/assets/profile-embed-Dr2ZxkvM.js +1 -0
- package/dist/assets/publish-resource-DumHfLtC.js +1 -0
- package/dist/assets/{raf-schd.esm-GV-XhwE0.js → raf-schd.esm-B3j6BePR.js} +1 -1
- package/dist/assets/{react-beautiful-dnd.esm-QRb5iprr.js → react-beautiful-dnd.esm-kcYalw4r.js} +1 -1
- package/dist/assets/{relative-time-BTIpMkPf.js → relative-time-Dkz5qmEb.js} +1 -1
- package/dist/assets/runtime-HBzWjxDb.js +1 -0
- package/dist/assets/sdk-DuZx5LYY.js +1 -0
- package/dist/assets/{security-fEJBFCBy.js → security-BFBpBlQy.js} +4 -4
- package/dist/assets/session-CdQbSkeB.js +1 -0
- package/dist/assets/setup-BSfklNq4.js +19 -0
- package/dist/assets/{shorten-label-8jfEkawx.js → shorten-label-Dz7RgJfj.js} +1 -1
- package/dist/assets/{simple-select-CNZc1N7Q.js → simple-select-BlUQXxNL.js} +1 -1
- package/dist/assets/{slicedToArray-gyBkcGHe.js → slicedToArray-lOWXD6Th.js} +1 -1
- package/dist/assets/{spaces-970nXC4W.js → spaces-CcTi9vap.js} +1 -1
- package/dist/assets/{start-2a5gIZRp.js → start-BitVK7fH.js} +1 -1
- package/dist/assets/{status-DBrvkky_.js → status-F7OR8ZWk.js} +1 -1
- package/dist/assets/{step-actions-6TYxd1MB.js → step-actions-Cmh5n2jE.js} +1 -1
- package/dist/assets/{studio-DbIZ4lHD.js → studio-CW2bLcBh.js} +1 -1
- package/dist/assets/{switch-control-Bw3ohhMA.js → switch-control-BjOmRKBW.js} +1 -1
- package/dist/assets/{traffic-DBgXOCbQ.js → traffic-CcfffSvS.js} +2 -2
- package/dist/assets/{transfer-B0de7VRU.js → transfer-DHcMO-R4.js} +1 -1
- package/dist/assets/{unsubscribe-CUEA_4Ow.js → unsubscribe-DnPmucfC.js} +1 -1
- package/dist/assets/{use-app-logo-DoDXvoIT.js → use-app-logo-DnfizCGM.js} +1 -1
- package/dist/assets/{use-mobile-BbxjRR_q.js → use-mobile-Bgy7gTTP.js} +1 -1
- package/dist/assets/{use-mobile-T-9_nK_m.js → use-mobile-CcdVxg80.js} +1 -1
- package/dist/assets/useAsync-70zHrUMr.js +1 -0
- package/dist/assets/useAsync-BquSRC77.js +1 -0
- package/dist/assets/{useLocalStorage-CkST2tLi.js → useLocalStorage-BJb7uGDO.js} +1 -1
- package/dist/assets/{useSetState-BL3ktMon.js → useSetState-CWq0AVWn.js} +1 -1
- package/dist/assets/user-center-u43jJYr4.js +77 -0
- package/dist/assets/{util-Bt5DR42K.js → util-BYLEVYA_.js} +1 -1
- package/dist/assets/{util-BUnBptcm.js → util-CJbxj6IE.js} +1 -1
- package/dist/assets/{vendor-arcblock-CBc_0mJh.js → vendor-arcblock-CWji6U03.js} +300 -300
- package/dist/assets/{vendor-hooks-jg6xPUPF.js → vendor-hooks-DftG_2gV.js} +2 -2
- package/dist/assets/{vendor-mui-core-DiDsSLd-.js → vendor-mui-core-CfA4EdRA.js} +26 -26
- package/dist/assets/{vendor-mui-x-mVhD3N7n.js → vendor-mui-x-DSNWmGVo.js} +1 -1
- package/dist/assets/{vendor-react-DoD83n6N.js → vendor-react-DEoibe3W.js} +1 -1
- package/dist/assets/vendor-utils-BNHJB5U7.js +208 -0
- package/dist/assets/vendor-ux-did-connect-zBIy2ulO.js +2265 -0
- package/dist/assets/{wrap-locale-CJY3ql5f.js → wrap-locale-BSYWBgCo.js} +1 -1
- package/dist/assets/zh-_GYrLCB8.js +1 -0
- package/dist/index.html +9 -8
- package/dist/service-worker.js +1 -1
- package/package.json +30 -28
- package/dist/assets/actions-C-bMrlCM.js +0 -1
- package/dist/assets/api-DwjKcjK8.js +0 -1
- package/dist/assets/appearance-DQ7WvKeM.js +0 -1
- package/dist/assets/authorize-DUug1C68.js +0 -1
- package/dist/assets/branding-BS99MP-h.js +0 -40
- package/dist/assets/bundle-avatar-nPtHnMPN.js +0 -1
- package/dist/assets/button-BxdaIS5g.js +0 -1
- package/dist/assets/click-to-copy-CTfzGpml.js +0 -1
- package/dist/assets/cloneDeep-DUYD8ZBI.js +0 -1
- package/dist/assets/confirm-DVW7YBsC.js +0 -7
- package/dist/assets/connect-C1ax2q5c.js +0 -5
- package/dist/assets/connect-to-CzcgHUZG.js +0 -1
- package/dist/assets/dashboard-CP2P7oxj.js +0 -279
- package/dist/assets/domain-Gbwc_7wY.js +0 -9
- package/dist/assets/domain-action-card-kpBwugfc.js +0 -25
- package/dist/assets/domains-PNVO5nNw.js +0 -1
- package/dist/assets/dot-BBxUn__M.js +0 -7
- package/dist/assets/index-BwaE3jmF.js +0 -10
- package/dist/assets/index-CagPo5v-.js +0 -113
- package/dist/assets/index-D0RC10aR.js +0 -55
- package/dist/assets/index-DZj02tPf.js +0 -113
- package/dist/assets/index-Gm2-_e3j.js +0 -1
- package/dist/assets/invite-CvX-43Qc.js +0 -1
- package/dist/assets/issue-passport-BW6yzKx3.js +0 -1
- package/dist/assets/localization-Bd0hX08w.js +0 -1
- package/dist/assets/logger-BWFrucDF.js +0 -1
- package/dist/assets/logo-uploader-DrmXtKUh.js +0 -133
- package/dist/assets/omit-B1LDXfkq.js +0 -1
- package/dist/assets/preferences-D4p_dB62.js +0 -1
- package/dist/assets/profile-embed-CBcCbRqv.js +0 -1
- package/dist/assets/publish-resource-DZIl2SXf.js +0 -1
- package/dist/assets/runtime-DZIYyJfe.js +0 -1
- package/dist/assets/sdk-Bt5s8-As.js +0 -1
- package/dist/assets/session-CW6CHHdW.js +0 -1
- package/dist/assets/setup-D3w4xkpj.js +0 -19
- package/dist/assets/useAsync-B_98ShEr.js +0 -1
- package/dist/assets/user-center-B2qCZ2yX.js +0 -77
- package/dist/assets/vendor-utils-DMClavLd.js +0 -11
- package/dist/assets/vendor-ux-did-connect-BKeZkgZt.js +0 -1832
- package/dist/assets/zh-yJzqRkfw.js +0 -1
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
var Uu=Object.defineProperty;var Du=(e,t,r)=>t in e?Uu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Ot=(e,t,r)=>Du(e,typeof t!="symbol"?t+"":t,r);import{e as gs,g as ms,a as ju}from"./vendor-react-DEoibe3W.js";var ku=9007199254740991,qu=Math.floor;function so(e,t){var r="";if(!e||t<1||t>ku)return r;do t%2&&(r+=e),t=qu(t/2),t&&(e+=e);while(t);return r}const $t=globalThis||void 0||self;var ys=typeof $t=="object"&&$t&&$t.Object===Object&&$t,zu=typeof self=="object"&&self&&self.Object===Object&&self,ot=ys||zu||Function("return this")(),it=ot.Symbol;function gt(e,t){for(var r=-1,n=e==null?0:e.length,a=Array(n);++r<n;)a[r]=t(e[r],r,e);return a}var $e=Array.isArray,ws=Object.prototype,Hu=ws.hasOwnProperty,Gu=ws.toString,ur=it?it.toStringTag:void 0;function Wu(e){var t=Hu.call(e,ur),r=e[ur];try{e[ur]=void 0;var n=!0}catch{}var a=Gu.call(e);return n&&(t?e[ur]=r:delete e[ur]),a}var Zu=Object.prototype,Ju=Zu.toString;function Vu(e){return Ju.call(e)}var Ku="[object Null]",Yu="[object Undefined]",ao=it?it.toStringTag:void 0;function ut(e){return e==null?e===void 0?Yu:Ku:ao&&ao in Object(e)?Wu(e):Vu(e)}function Xe(e){return e!=null&&typeof e=="object"}var Xu="[object Symbol]";function Zt(e){return typeof e=="symbol"||Xe(e)&&ut(e)==Xu}var Qu=1/0,uo=it?it.prototype:void 0,fo=uo?uo.toString:void 0;function yr(e){if(typeof e=="string")return e;if($e(e))return gt(e,yr)+"";if(Zt(e))return fo?fo.call(e):"";var t=e+"";return t=="0"&&1/e==-Qu?"-0":t}function Mi(e,t,r){var n=-1,a=e.length;t<0&&(t=-t>a?0:a+t),r=r>a?a:r,r<0&&(r+=a),a=t>r?0:r-t>>>0,t>>>=0;for(var i=Array(a);++n<a;)i[n]=e[n+t];return i}function Gr(e,t,r){var n=e.length;return r=r===void 0?n:r,!t&&r>=n?e:Mi(e,t,r)}var ef="\\ud800-\\udfff",tf="\\u0300-\\u036f",rf="\\ufe20-\\ufe2f",nf="\\u20d0-\\u20ff",of=tf+rf+nf,sf="\\ufe0e\\ufe0f",af="\\u200d",uf=RegExp("["+af+ef+of+sf+"]");function Wr(e){return uf.test(e)}function vs(e){return function(t){return t==null?void 0:t[e]}}var ff=vs("length"),bs="\\ud800-\\udfff",lf="\\u0300-\\u036f",cf="\\ufe20-\\ufe2f",hf="\\u20d0-\\u20ff",df=lf+cf+hf,pf="\\ufe0e\\ufe0f",gf="["+bs+"]",Xn="["+df+"]",Qn="\\ud83c[\\udffb-\\udfff]",mf="(?:"+Xn+"|"+Qn+")",xs="[^"+bs+"]",Ms="(?:\\ud83c[\\udde6-\\uddff]){2}",_s="[\\ud800-\\udbff][\\udc00-\\udfff]",yf="\\u200d",Es=mf+"?",Ss="["+pf+"]?",wf="(?:"+yf+"(?:"+[xs,Ms,_s].join("|")+")"+Ss+Es+")*",vf=Ss+Es+wf,bf="(?:"+[xs+Xn+"?",Xn,Ms,_s,gf].join("|")+")",lo=RegExp(Qn+"(?="+Qn+")|"+bf+vf,"g");function xf(e){for(var t=lo.lastIndex=0;lo.test(e);)++t;return t}function _i(e){return Wr(e)?xf(e):ff(e)}function Mf(e){return e.split("")}var Os="\\ud800-\\udfff",_f="\\u0300-\\u036f",Ef="\\ufe20-\\ufe2f",Sf="\\u20d0-\\u20ff",Of=_f+Ef+Sf,Af="\\ufe0e\\ufe0f",Tf="["+Os+"]",ei="["+Of+"]",ti="\\ud83c[\\udffb-\\udfff]",$f="(?:"+ei+"|"+ti+")",As="[^"+Os+"]",Ts="(?:\\ud83c[\\udde6-\\uddff]){2}",$s="[\\ud800-\\udbff][\\udc00-\\udfff]",Cf="\\u200d",Cs=$f+"?",Rs="["+Af+"]?",Rf="(?:"+Cf+"(?:"+[As,Ts,$s].join("|")+")"+Rs+Cs+")*",Bf=Rs+Cs+Rf,Ff="(?:"+[As+ei+"?",ei,Ts,$s,Tf].join("|")+")",If=RegExp(ti+"(?="+ti+")|"+Ff+Bf,"g");function Nf(e){return e.match(If)||[]}function Jt(e){return Wr(e)?Nf(e):Mf(e)}var Pf=Math.ceil;function Bs(e,t){t=t===void 0?" ":yr(t);var r=t.length;if(r<2)return r?so(t,e):t;var n=so(t,Pf(e/_i(t)));return Wr(t)?Gr(Jt(n),0,e).join(""):n.slice(0,e)}var Lf=/\s/;function Fs(e){for(var t=e.length;t--&&Lf.test(e.charAt(t)););return t}var Uf=/^\s+/;function Is(e){return e&&e.slice(0,Fs(e)+1).replace(Uf,"")}function Ze(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}const av=Object.freeze(Object.defineProperty({__proto__:null,default:Ze},Symbol.toStringTag,{value:"Module"}));var co=NaN,Df=/^[-+]0x[0-9a-f]+$/i,jf=/^0b[01]+$/i,kf=/^0o[0-7]+$/i,qf=parseInt;function ri(e){if(typeof e=="number")return e;if(Zt(e))return co;if(Ze(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Ze(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Is(e);var r=jf.test(e);return r||kf.test(e)?qf(e.slice(2),r?2:8):Df.test(e)?co:+e}var ho=1/0,zf=17976931348623157e292;function Hf(e){if(!e)return e===0?e:0;if(e=ri(e),e===ho||e===-ho){var t=e<0?-1:1;return t*zf}return e===e?e:0}function er(e){var t=Hf(e),r=t%1;return t===t?r?t-r:t:0}function tt(e){return e==null?"":yr(e)}function Gf(e,t,r){e=tt(e),t=er(t);var n=t?_i(e):0;return t&&n<t?Bs(t-n,r)+e:e}const uv=Object.freeze(Object.defineProperty({__proto__:null,default:Gf},Symbol.toStringTag,{value:"Module"}));function Wf(e){return e==null}const fv=Object.freeze(Object.defineProperty({__proto__:null,default:Wf},Symbol.toStringTag,{value:"Module"}));function Zf(){this.__data__=[],this.size=0}function tr(e,t){return e===t||e!==e&&t!==t}function Zr(e,t){for(var r=e.length;r--;)if(tr(e[r][0],t))return r;return-1}var Jf=Array.prototype,Vf=Jf.splice;function Kf(e){var t=this.__data__,r=Zr(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():Vf.call(t,r,1),--this.size,!0}function Yf(e){var t=this.__data__,r=Zr(t,e);return r<0?void 0:t[r][1]}function Xf(e){return Zr(this.__data__,e)>-1}function Qf(e,t){var r=this.__data__,n=Zr(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function vt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}vt.prototype.clear=Zf;vt.prototype.delete=Kf;vt.prototype.get=Yf;vt.prototype.has=Xf;vt.prototype.set=Qf;function el(){this.__data__=new vt,this.size=0}function tl(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function rl(e){return this.__data__.get(e)}function nl(e){return this.__data__.has(e)}var il="[object AsyncFunction]",ol="[object Function]",sl="[object GeneratorFunction]",al="[object Proxy]";function Ei(e){if(!Ze(e))return!1;var t=ut(e);return t==ol||t==sl||t==il||t==al}var Ln=ot["__core-js_shared__"],po=function(){var e=/[^.]+$/.exec(Ln&&Ln.keys&&Ln.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function ul(e){return!!po&&po in e}var fl=Function.prototype,ll=fl.toString;function Lt(e){if(e!=null){try{return ll.call(e)}catch{}try{return e+""}catch{}}return""}var cl=/[\\^$.*+?()[\]{}|]/g,hl=/^\[object .+?Constructor\]$/,dl=Function.prototype,pl=Object.prototype,gl=dl.toString,ml=pl.hasOwnProperty,yl=RegExp("^"+gl.call(ml).replace(cl,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function wl(e){if(!Ze(e)||ul(e))return!1;var t=Ei(e)?yl:hl;return t.test(Lt(e))}function vl(e,t){return e==null?void 0:e[t]}function Ut(e,t){var r=vl(e,t);return wl(r)?r:void 0}var hr=Ut(ot,"Map"),dr=Ut(Object,"create");function bl(){this.__data__=dr?dr(null):{},this.size=0}function xl(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Ml="__lodash_hash_undefined__",_l=Object.prototype,El=_l.hasOwnProperty;function Sl(e){var t=this.__data__;if(dr){var r=t[e];return r===Ml?void 0:r}return El.call(t,e)?t[e]:void 0}var Ol=Object.prototype,Al=Ol.hasOwnProperty;function Tl(e){var t=this.__data__;return dr?t[e]!==void 0:Al.call(t,e)}var $l="__lodash_hash_undefined__";function Cl(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=dr&&t===void 0?$l:t,this}function Ft(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Ft.prototype.clear=bl;Ft.prototype.delete=xl;Ft.prototype.get=Sl;Ft.prototype.has=Tl;Ft.prototype.set=Cl;function Rl(){this.size=0,this.__data__={hash:new Ft,map:new(hr||vt),string:new Ft}}function Bl(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Jr(e,t){var r=e.__data__;return Bl(t)?r[typeof t=="string"?"string":"hash"]:r.map}function Fl(e){var t=Jr(this,e).delete(e);return this.size-=t?1:0,t}function Il(e){return Jr(this,e).get(e)}function Nl(e){return Jr(this,e).has(e)}function Pl(e,t){var r=Jr(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function bt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}bt.prototype.clear=Rl;bt.prototype.delete=Fl;bt.prototype.get=Il;bt.prototype.has=Nl;bt.prototype.set=Pl;var Ll=200;function Ul(e,t){var r=this.__data__;if(r instanceof vt){var n=r.__data__;if(!hr||n.length<Ll-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new bt(n)}return r.set(e,t),this.size=r.size,this}function at(e){var t=this.__data__=new vt(e);this.size=t.size}at.prototype.clear=el;at.prototype.delete=tl;at.prototype.get=rl;at.prototype.has=nl;at.prototype.set=Ul;var Dl="__lodash_hash_undefined__";function jl(e){return this.__data__.set(e,Dl),this}function kl(e){return this.__data__.has(e)}function It(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new bt;++t<r;)this.add(e[t])}It.prototype.add=It.prototype.push=jl;It.prototype.has=kl;function ql(e,t){for(var r=-1,n=e==null?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}function pr(e,t){return e.has(t)}var zl=1,Hl=2;function Ns(e,t,r,n,a,i){var l=r&zl,v=e.length,M=t.length;if(v!=M&&!(l&&M>v))return!1;var y=i.get(e),h=i.get(t);if(y&&h)return y==t&&h==e;var S=-1,B=!0,z=r&Hl?new It:void 0;for(i.set(e,t),i.set(t,e);++S<v;){var G=e[S],Z=t[S];if(n)var q=l?n(Z,G,S,t,e,i):n(G,Z,S,e,t,i);if(q!==void 0){if(q)continue;B=!1;break}if(z){if(!ql(t,function(Q,X){if(!pr(z,X)&&(G===Q||a(G,Q,r,n,i)))return z.push(X)})){B=!1;break}}else if(!(G===Z||a(G,Z,r,n,i))){B=!1;break}}return i.delete(e),i.delete(t),B}var Pr=ot.Uint8Array;function Gl(e){var t=-1,r=Array(e.size);return e.forEach(function(n,a){r[++t]=[a,n]}),r}function Si(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var Wl=1,Zl=2,Jl="[object Boolean]",Vl="[object Date]",Kl="[object Error]",Yl="[object Map]",Xl="[object Number]",Ql="[object RegExp]",ec="[object Set]",tc="[object String]",rc="[object Symbol]",nc="[object ArrayBuffer]",ic="[object DataView]",go=it?it.prototype:void 0,Un=go?go.valueOf:void 0;function oc(e,t,r,n,a,i,l){switch(r){case ic:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case nc:return!(e.byteLength!=t.byteLength||!i(new Pr(e),new Pr(t)));case Jl:case Vl:case Xl:return tr(+e,+t);case Kl:return e.name==t.name&&e.message==t.message;case Ql:case tc:return e==t+"";case Yl:var v=Gl;case ec:var M=n&Wl;if(v||(v=Si),e.size!=t.size&&!M)return!1;var y=l.get(e);if(y)return y==t;n|=Zl,l.set(e,t);var h=Ns(v(e),v(t),n,a,i,l);return l.delete(e),h;case rc:if(Un)return Un.call(e)==Un.call(t)}return!1}function Oi(e,t){for(var r=-1,n=t.length,a=e.length;++r<n;)e[a+r]=t[r];return e}function Ps(e,t,r){var n=t(e);return $e(e)?n:Oi(n,r(e))}function Ls(e,t){for(var r=-1,n=e==null?0:e.length,a=0,i=[];++r<n;){var l=e[r];t(l,r,e)&&(i[a++]=l)}return i}function Us(){return[]}var sc=Object.prototype,ac=sc.propertyIsEnumerable,mo=Object.getOwnPropertySymbols,Ai=mo?function(e){return e==null?[]:(e=Object(e),Ls(mo(e),function(t){return ac.call(e,t)}))}:Us;function uc(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var fc="[object Arguments]";function yo(e){return Xe(e)&&ut(e)==fc}var Ds=Object.prototype,lc=Ds.hasOwnProperty,cc=Ds.propertyIsEnumerable,Vt=yo(function(){return arguments}())?yo:function(e){return Xe(e)&&lc.call(e,"callee")&&!cc.call(e,"callee")};function hc(){return!1}var js=typeof exports=="object"&&exports&&!exports.nodeType&&exports,wo=js&&typeof module=="object"&&module&&!module.nodeType&&module,dc=wo&&wo.exports===js,vo=dc?ot.Buffer:void 0,pc=vo?vo.isBuffer:void 0,Kt=pc||hc,gc=9007199254740991,mc=/^(?:0|[1-9]\d*)$/;function wr(e,t){var r=typeof e;return t=t??gc,!!t&&(r=="number"||r!="symbol"&&mc.test(e))&&e>-1&&e%1==0&&e<t}var yc=9007199254740991;function Ti(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=yc}var wc="[object Arguments]",vc="[object Array]",bc="[object Boolean]",xc="[object Date]",Mc="[object Error]",_c="[object Function]",Ec="[object Map]",Sc="[object Number]",Oc="[object Object]",Ac="[object RegExp]",Tc="[object Set]",$c="[object String]",Cc="[object WeakMap]",Rc="[object ArrayBuffer]",Bc="[object DataView]",Fc="[object Float32Array]",Ic="[object Float64Array]",Nc="[object Int8Array]",Pc="[object Int16Array]",Lc="[object Int32Array]",Uc="[object Uint8Array]",Dc="[object Uint8ClampedArray]",jc="[object Uint16Array]",kc="[object Uint32Array]",Oe={};Oe[Fc]=Oe[Ic]=Oe[Nc]=Oe[Pc]=Oe[Lc]=Oe[Uc]=Oe[Dc]=Oe[jc]=Oe[kc]=!0;Oe[wc]=Oe[vc]=Oe[Rc]=Oe[bc]=Oe[Bc]=Oe[xc]=Oe[Mc]=Oe[_c]=Oe[Ec]=Oe[Sc]=Oe[Oc]=Oe[Ac]=Oe[Tc]=Oe[$c]=Oe[Cc]=!1;function qc(e){return Xe(e)&&Ti(e.length)&&!!Oe[ut(e)]}function vr(e){return function(t){return e(t)}}var ks=typeof exports=="object"&&exports&&!exports.nodeType&&exports,lr=ks&&typeof module=="object"&&module&&!module.nodeType&&module,zc=lr&&lr.exports===ks,Dn=zc&&ys.process,Yt=function(){try{var e=lr&&lr.require&&lr.require("util").types;return e||Dn&&Dn.binding&&Dn.binding("util")}catch{}}(),bo=Yt&&Yt.isTypedArray,Vr=bo?vr(bo):qc,Hc=Object.prototype,Gc=Hc.hasOwnProperty;function qs(e,t){var r=$e(e),n=!r&&Vt(e),a=!r&&!n&&Kt(e),i=!r&&!n&&!a&&Vr(e),l=r||n||a||i,v=l?uc(e.length,String):[],M=v.length;for(var y in e)(t||Gc.call(e,y))&&!(l&&(y=="length"||a&&(y=="offset"||y=="parent")||i&&(y=="buffer"||y=="byteLength"||y=="byteOffset")||wr(y,M)))&&v.push(y);return v}var Wc=Object.prototype;function Kr(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Wc;return e===r}function zs(e,t){return function(r){return e(t(r))}}var Zc=zs(Object.keys,Object),Jc=Object.prototype,Vc=Jc.hasOwnProperty;function Hs(e){if(!Kr(e))return Zc(e);var t=[];for(var r in Object(e))Vc.call(e,r)&&r!="constructor"&&t.push(r);return t}function Et(e){return e!=null&&Ti(e.length)&&!Ei(e)}function St(e){return Et(e)?qs(e):Hs(e)}function ni(e){return Ps(e,St,Ai)}var Kc=1,Yc=Object.prototype,Xc=Yc.hasOwnProperty;function Qc(e,t,r,n,a,i){var l=r&Kc,v=ni(e),M=v.length,y=ni(t),h=y.length;if(M!=h&&!l)return!1;for(var S=M;S--;){var B=v[S];if(!(l?B in t:Xc.call(t,B)))return!1}var z=i.get(e),G=i.get(t);if(z&&G)return z==t&&G==e;var Z=!0;i.set(e,t),i.set(t,e);for(var q=l;++S<M;){B=v[S];var Q=e[B],X=t[B];if(n)var pe=l?n(X,Q,B,t,e,i):n(Q,X,B,e,t,i);if(!(pe===void 0?Q===X||a(Q,X,r,n,i):pe)){Z=!1;break}q||(q=B=="constructor")}if(Z&&!q){var ce=e.constructor,oe=t.constructor;ce!=oe&&"constructor"in e&&"constructor"in t&&!(typeof ce=="function"&&ce instanceof ce&&typeof oe=="function"&&oe instanceof oe)&&(Z=!1)}return i.delete(e),i.delete(t),Z}var ii=Ut(ot,"DataView"),oi=Ut(ot,"Promise"),Gt=Ut(ot,"Set"),si=Ut(ot,"WeakMap"),xo="[object Map]",e0="[object Object]",Mo="[object Promise]",_o="[object Set]",Eo="[object WeakMap]",So="[object DataView]",t0=Lt(ii),r0=Lt(hr),n0=Lt(oi),i0=Lt(Gt),o0=Lt(si),nt=ut;(ii&&nt(new ii(new ArrayBuffer(1)))!=So||hr&&nt(new hr)!=xo||oi&&nt(oi.resolve())!=Mo||Gt&&nt(new Gt)!=_o||si&&nt(new si)!=Eo)&&(nt=function(e){var t=ut(e),r=t==e0?e.constructor:void 0,n=r?Lt(r):"";if(n)switch(n){case t0:return So;case r0:return xo;case n0:return Mo;case i0:return _o;case o0:return Eo}return t});var s0=1,Oo="[object Arguments]",Ao="[object Array]",Ar="[object Object]",a0=Object.prototype,To=a0.hasOwnProperty;function u0(e,t,r,n,a,i){var l=$e(e),v=$e(t),M=l?Ao:nt(e),y=v?Ao:nt(t);M=M==Oo?Ar:M,y=y==Oo?Ar:y;var h=M==Ar,S=y==Ar,B=M==y;if(B&&Kt(e)){if(!Kt(t))return!1;l=!0,h=!1}if(B&&!h)return i||(i=new at),l||Vr(e)?Ns(e,t,r,n,a,i):oc(e,t,M,r,n,a,i);if(!(r&s0)){var z=h&&To.call(e,"__wrapped__"),G=S&&To.call(t,"__wrapped__");if(z||G){var Z=z?e.value():e,q=G?t.value():t;return i||(i=new at),a(Z,q,r,n,i)}}return B?(i||(i=new at),Qc(e,t,r,n,a,i)):!1}function Yr(e,t,r,n,a){return e===t?!0:e==null||t==null||!Xe(e)&&!Xe(t)?e!==e&&t!==t:u0(e,t,r,n,Yr,a)}var f0=1,l0=2;function c0(e,t,r,n){var a=r.length,i=a;if(e==null)return!i;for(e=Object(e);a--;){var l=r[a];if(l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++a<i;){l=r[a];var v=l[0],M=e[v],y=l[1];if(l[2]){if(M===void 0&&!(v in e))return!1}else{var h=new at,S;if(!(S===void 0?Yr(y,M,f0|l0,n,h):S))return!1}}return!0}function Gs(e){return e===e&&!Ze(e)}function h0(e){for(var t=St(e),r=t.length;r--;){var n=t[r],a=e[n];t[r]=[n,a,Gs(a)]}return t}function Ws(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}function d0(e){var t=h0(e);return t.length==1&&t[0][2]?Ws(t[0][0],t[0][1]):function(r){return r===e||c0(r,e,t)}}var p0=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,g0=/^\w*$/;function $i(e,t){if($e(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||Zt(e)?!0:g0.test(e)||!p0.test(e)||t!=null&&e in Object(t)}var m0="Expected a function";function Ci(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(m0);var r=function(){var n=arguments,a=t?t.apply(this,n):n[0],i=r.cache;if(i.has(a))return i.get(a);var l=e.apply(this,n);return r.cache=i.set(a,l)||i,l};return r.cache=new(Ci.Cache||bt),r}Ci.Cache=bt;var y0=500;function w0(e){var t=Ci(e,function(n){return r.size===y0&&r.clear(),n}),r=t.cache;return t}var v0=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,b0=/\\(\\)?/g,x0=w0(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(v0,function(r,n,a,i){t.push(a?i.replace(b0,"$1"):n||r)}),t});function rr(e,t){return $e(e)?e:$i(e,t)?[e]:x0(tt(e))}var M0=1/0;function nr(e){if(typeof e=="string"||Zt(e))return e;var t=e+"";return t=="0"&&1/e==-M0?"-0":t}function br(e,t){t=rr(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[nr(t[r++])];return r&&r==n?e:void 0}function Zs(e,t,r){var n=e==null?void 0:br(e,t);return n===void 0?r:n}const lv=Object.freeze(Object.defineProperty({__proto__:null,default:Zs},Symbol.toStringTag,{value:"Module"}));function _0(e,t){return e!=null&&t in Object(e)}function E0(e,t,r){t=rr(t,e);for(var n=-1,a=t.length,i=!1;++n<a;){var l=nr(t[n]);if(!(i=e!=null&&r(e,l)))break;e=e[l]}return i||++n!=a?i:(a=e==null?0:e.length,!!a&&Ti(a)&&wr(l,a)&&($e(e)||Vt(e)))}function Js(e,t){return e!=null&&E0(e,t,_0)}var S0=1,O0=2;function A0(e,t){return $i(e)&&Gs(t)?Ws(nr(e),t):function(r){var n=Zs(r,e);return n===void 0&&n===t?Js(r,e):Yr(t,n,S0|O0)}}function xr(e){return e}function T0(e){return function(t){return br(t,e)}}function $0(e){return $i(e)?vs(nr(e)):T0(e)}function xt(e){return typeof e=="function"?e:e==null?xr:typeof e=="object"?$e(e)?A0(e[0],e[1]):d0(e):$0(e)}var C0="Expected a function";function R0(e){if(typeof e!="function")throw new TypeError(C0);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}var Lr=function(){try{var e=Ut(Object,"defineProperty");return e({},"",{}),e}catch{}}();function Xr(e,t,r){t=="__proto__"&&Lr?Lr(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var B0=Object.prototype,F0=B0.hasOwnProperty;function Ri(e,t,r){var n=e[t];(!(F0.call(e,t)&&tr(n,r))||r===void 0&&!(t in e))&&Xr(e,t,r)}function I0(e,t,r,n){if(!Ze(e))return e;t=rr(t,e);for(var a=-1,i=t.length,l=i-1,v=e;v!=null&&++a<i;){var M=nr(t[a]),y=r;if(M==="__proto__"||M==="constructor"||M==="prototype")return e;if(a!=l){var h=v[M];y=void 0,y===void 0&&(y=Ze(h)?h:wr(t[a+1])?[]:{})}Ri(v,M,y),v=v[M]}return e}function Vs(e,t,r){for(var n=-1,a=t.length,i={};++n<a;){var l=t[n],v=br(e,l);r(v,l)&&I0(i,rr(l,e),v)}return i}var Bi=zs(Object.getPrototypeOf,Object),N0=Object.getOwnPropertySymbols,Ks=N0?function(e){for(var t=[];e;)Oi(t,Ai(e)),e=Bi(e);return t}:Us;function P0(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var L0=Object.prototype,U0=L0.hasOwnProperty;function D0(e){if(!Ze(e))return P0(e);var t=Kr(e),r=[];for(var n in e)n=="constructor"&&(t||!U0.call(e,n))||r.push(n);return r}function ir(e){return Et(e)?qs(e,!0):D0(e)}function Fi(e){return Ps(e,ir,Ks)}function j0(e,t){if(e==null)return{};var r=gt(Fi(e),function(n){return[n]});return t=xt(t),Vs(e,r,function(n,a){return t(n,a[0])})}function cv(e,t){return j0(e,R0(xt(t)))}var Ys={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(gs,function(){var r=1e3,n=6e4,a=36e5,i="millisecond",l="second",v="minute",M="hour",y="day",h="week",S="month",B="quarter",z="year",G="date",Z="Invalid Date",q=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,Q=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,X={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(d){var p=["th","st","nd","rd"],w=d%100;return"["+d+(p[(w-20)%10]||p[w]||p[0])+"]"}},pe=function(d,p,w){var A=String(d);return!A||A.length>=p?d:""+Array(p+1-A.length).join(w)+d},ce={s:pe,z:function(d){var p=-d.utcOffset(),w=Math.abs(p),A=Math.floor(w/60),$=w%60;return(p<=0?"+":"-")+pe(A,2,"0")+":"+pe($,2,"0")},m:function d(p,w){if(p.date()<w.date())return-d(w,p);var A=12*(w.year()-p.year())+(w.month()-p.month()),$=p.clone().add(A,S),b=w-$<0,u=p.clone().add(A+(b?-1:1),S);return+(-(A+(w-$)/(b?$-u:u-$))||0)},a:function(d){return d<0?Math.ceil(d)||0:Math.floor(d)},p:function(d){return{M:S,y:z,w:h,d:y,D:G,h:M,m:v,s:l,ms:i,Q:B}[d]||String(d||"").toLowerCase().replace(/s$/,"")},u:function(d){return d===void 0}},oe="en",V={};V[oe]=X;var K="$isDayjsObject",ae=function(d){return d instanceof o||!(!d||!d[K])},se=function d(p,w,A){var $;if(!p)return oe;if(typeof p=="string"){var b=p.toLowerCase();V[b]&&($=b),w&&(V[b]=w,$=b);var u=p.split("-");if(!$&&u.length>1)return d(u[0])}else{var _=p.name;V[_]=p,$=_}return!A&&$&&(oe=$),$||!A&&oe},Y=function(d,p){if(ae(d))return d.clone();var w=typeof p=="object"?p:{};return w.date=d,w.args=arguments,new o(w)},E=ce;E.l=se,E.i=ae,E.w=function(d,p){return Y(d,{locale:p.$L,utc:p.$u,x:p.$x,$offset:p.$offset})};var o=function(){function d(w){this.$L=se(w.locale,null,!0),this.parse(w),this.$x=this.$x||w.x||{},this[K]=!0}var p=d.prototype;return p.parse=function(w){this.$d=function(A){var $=A.date,b=A.utc;if($===null)return new Date(NaN);if(E.u($))return new Date;if($ instanceof Date)return new Date($);if(typeof $=="string"&&!/Z$/i.test($)){var u=$.match(q);if(u){var _=u[2]-1||0,ee=(u[7]||"0").substring(0,3);return b?new Date(Date.UTC(u[1],_,u[3]||1,u[4]||0,u[5]||0,u[6]||0,ee)):new Date(u[1],_,u[3]||1,u[4]||0,u[5]||0,u[6]||0,ee)}}return new Date($)}(w),this.init()},p.init=function(){var w=this.$d;this.$y=w.getFullYear(),this.$M=w.getMonth(),this.$D=w.getDate(),this.$W=w.getDay(),this.$H=w.getHours(),this.$m=w.getMinutes(),this.$s=w.getSeconds(),this.$ms=w.getMilliseconds()},p.$utils=function(){return E},p.isValid=function(){return this.$d.toString()!==Z},p.isSame=function(w,A){var $=Y(w);return this.startOf(A)<=$&&$<=this.endOf(A)},p.isAfter=function(w,A){return Y(w)<this.startOf(A)},p.isBefore=function(w,A){return this.endOf(A)<Y(w)},p.$g=function(w,A,$){return E.u(w)?this[A]:this.set($,w)},p.unix=function(){return Math.floor(this.valueOf()/1e3)},p.valueOf=function(){return this.$d.getTime()},p.startOf=function(w,A){var $=this,b=!!E.u(A)||A,u=E.p(w),_=function(ge,m){var O=E.w($.$u?Date.UTC($.$y,m,ge):new Date($.$y,m,ge),$);return b?O:O.endOf(y)},ee=function(ge,m){return E.w($.toDate()[ge].apply($.toDate("s"),(b?[0,0,0,0]:[23,59,59,999]).slice(m)),$)},te=this.$W,L=this.$M,ie=this.$D,ye="set"+(this.$u?"UTC":"");switch(u){case z:return b?_(1,0):_(31,11);case S:return b?_(1,L):_(0,L+1);case h:var be=this.$locale().weekStart||0,xe=(te<be?te+7:te)-be;return _(b?ie-xe:ie+(6-xe),L);case y:case G:return ee(ye+"Hours",0);case M:return ee(ye+"Minutes",1);case v:return ee(ye+"Seconds",2);case l:return ee(ye+"Milliseconds",3);default:return this.clone()}},p.endOf=function(w){return this.startOf(w,!1)},p.$set=function(w,A){var $,b=E.p(w),u="set"+(this.$u?"UTC":""),_=($={},$[y]=u+"Date",$[G]=u+"Date",$[S]=u+"Month",$[z]=u+"FullYear",$[M]=u+"Hours",$[v]=u+"Minutes",$[l]=u+"Seconds",$[i]=u+"Milliseconds",$)[b],ee=b===y?this.$D+(A-this.$W):A;if(b===S||b===z){var te=this.clone().set(G,1);te.$d[_](ee),te.init(),this.$d=te.set(G,Math.min(this.$D,te.daysInMonth())).$d}else _&&this.$d[_](ee);return this.init(),this},p.set=function(w,A){return this.clone().$set(w,A)},p.get=function(w){return this[E.p(w)]()},p.add=function(w,A){var $,b=this;w=Number(w);var u=E.p(A),_=function(L){var ie=Y(b);return E.w(ie.date(ie.date()+Math.round(L*w)),b)};if(u===S)return this.set(S,this.$M+w);if(u===z)return this.set(z,this.$y+w);if(u===y)return _(1);if(u===h)return _(7);var ee=($={},$[v]=n,$[M]=a,$[l]=r,$)[u]||1,te=this.$d.getTime()+w*ee;return E.w(te,this)},p.subtract=function(w,A){return this.add(-1*w,A)},p.format=function(w){var A=this,$=this.$locale();if(!this.isValid())return $.invalidDate||Z;var b=w||"YYYY-MM-DDTHH:mm:ssZ",u=E.z(this),_=this.$H,ee=this.$m,te=this.$M,L=$.weekdays,ie=$.months,ye=$.meridiem,be=function(m,O,T,P){return m&&(m[O]||m(A,b))||T[O].slice(0,P)},xe=function(m){return E.s(_%12||12,m,"0")},ge=ye||function(m,O,T){var P=m<12?"AM":"PM";return T?P.toLowerCase():P};return b.replace(Q,function(m,O){return O||function(T){switch(T){case"YY":return String(A.$y).slice(-2);case"YYYY":return E.s(A.$y,4,"0");case"M":return te+1;case"MM":return E.s(te+1,2,"0");case"MMM":return be($.monthsShort,te,ie,3);case"MMMM":return be(ie,te);case"D":return A.$D;case"DD":return E.s(A.$D,2,"0");case"d":return String(A.$W);case"dd":return be($.weekdaysMin,A.$W,L,2);case"ddd":return be($.weekdaysShort,A.$W,L,3);case"dddd":return L[A.$W];case"H":return String(_);case"HH":return E.s(_,2,"0");case"h":return xe(1);case"hh":return xe(2);case"a":return ge(_,ee,!0);case"A":return ge(_,ee,!1);case"m":return String(ee);case"mm":return E.s(ee,2,"0");case"s":return String(A.$s);case"ss":return E.s(A.$s,2,"0");case"SSS":return E.s(A.$ms,3,"0");case"Z":return u}return null}(m)||u.replace(":","")})},p.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},p.diff=function(w,A,$){var b,u=this,_=E.p(A),ee=Y(w),te=(ee.utcOffset()-this.utcOffset())*n,L=this-ee,ie=function(){return E.m(u,ee)};switch(_){case z:b=ie()/12;break;case S:b=ie();break;case B:b=ie()/3;break;case h:b=(L-te)/6048e5;break;case y:b=(L-te)/864e5;break;case M:b=L/a;break;case v:b=L/n;break;case l:b=L/r;break;default:b=L}return $?b:E.a(b)},p.daysInMonth=function(){return this.endOf(S).$D},p.$locale=function(){return V[this.$L]},p.locale=function(w,A){if(!w)return this.$L;var $=this.clone(),b=se(w,A,!0);return b&&($.$L=b),$},p.clone=function(){return E.w(this.$d,this)},p.toDate=function(){return new Date(this.valueOf())},p.toJSON=function(){return this.isValid()?this.toISOString():null},p.toISOString=function(){return this.$d.toISOString()},p.toString=function(){return this.$d.toUTCString()},d}(),c=o.prototype;return Y.prototype=c,[["$ms",i],["$s",l],["$m",v],["$H",M],["$W",y],["$M",S],["$y",z],["$D",G]].forEach(function(d){c[d[1]]=function(p){return this.$g(p,d[0],d[1])}}),Y.extend=function(d,p){return d.$i||(d(p,o,Y),d.$i=!0),Y},Y.locale=se,Y.isDayjs=ae,Y.unix=function(d){return Y(1e3*d)},Y.en=V[oe],Y.Ls=V,Y.p={},Y})})(Ys);var k0=Ys.exports;const hv=ms(k0);function Xs(){}const dv=Object.freeze(Object.defineProperty({__proto__:null,default:Xs},Symbol.toStringTag,{value:"Module"}));function ai(e,t,r){(r!==void 0&&!tr(e[t],r)||r===void 0&&!(t in e))&&Xr(e,t,r)}function q0(e){return function(t,r,n){for(var a=-1,i=Object(t),l=n(t),v=l.length;v--;){var M=l[++a];if(r(i[M],M,i)===!1)break}return t}}var Qs=q0(),ea=typeof exports=="object"&&exports&&!exports.nodeType&&exports,$o=ea&&typeof module=="object"&&module&&!module.nodeType&&module,z0=$o&&$o.exports===ea,Co=z0?ot.Buffer:void 0,Ro=Co?Co.allocUnsafe:void 0;function ta(e,t){if(t)return e.slice();var r=e.length,n=Ro?Ro(r):new e.constructor(r);return e.copy(n),n}function Ii(e){var t=new e.constructor(e.byteLength);return new Pr(t).set(new Pr(e)),t}function ra(e,t){var r=t?Ii(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function Ni(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}var Bo=Object.create,H0=function(){function e(){}return function(t){if(!Ze(t))return{};if(Bo)return Bo(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();function na(e){return typeof e.constructor=="function"&&!Kr(e)?H0(Bi(e)):{}}function Nt(e){return Xe(e)&&Et(e)}var G0="[object Object]",W0=Function.prototype,Z0=Object.prototype,ia=W0.toString,J0=Z0.hasOwnProperty,V0=ia.call(Object);function Qr(e){if(!Xe(e)||ut(e)!=G0)return!1;var t=Bi(e);if(t===null)return!0;var r=J0.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&ia.call(r)==V0}const pv=Object.freeze(Object.defineProperty({__proto__:null,default:Qr},Symbol.toStringTag,{value:"Module"}));function ui(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function Dt(e,t,r,n){var a=!r;r||(r={});for(var i=-1,l=t.length;++i<l;){var v=t[i],M=n?n(r[v],e[v],v,r,e):void 0;M===void 0&&(M=e[v]),a?Xr(r,v,M):Ri(r,v,M)}return r}function K0(e){return Dt(e,ir(e))}function Y0(e,t,r,n,a,i,l){var v=ui(e,r),M=ui(t,r),y=l.get(M);if(y){ai(e,r,y);return}var h=i?i(v,M,r+"",e,t,l):void 0,S=h===void 0;if(S){var B=$e(M),z=!B&&Kt(M),G=!B&&!z&&Vr(M);h=M,B||z||G?$e(v)?h=v:Nt(v)?h=Ni(v):z?(S=!1,h=ta(M,!0)):G?(S=!1,h=ra(M,!0)):h=[]:Qr(M)||Vt(M)?(h=v,Vt(v)?h=K0(v):(!Ze(v)||Ei(v))&&(h=na(M))):S=!1}S&&(l.set(M,h),a(h,M,n,i,l),l.delete(M)),ai(e,r,h)}function en(e,t,r,n,a){e!==t&&Qs(t,function(i,l){if(a||(a=new at),Ze(i))Y0(e,t,l,r,en,n,a);else{var v=n?n(ui(e,l),i,l+"",e,t,a):void 0;v===void 0&&(v=i),ai(e,l,v)}},ir)}function Pi(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}var Fo=Math.max;function oa(e,t,r){return t=Fo(t===void 0?e.length-1:t,0),function(){for(var n=arguments,a=-1,i=Fo(n.length-t,0),l=Array(i);++a<i;)l[a]=n[t+a];a=-1;for(var v=Array(t+1);++a<t;)v[a]=n[a];return v[t]=r(l),Pi(e,this,v)}}function X0(e){return function(){return e}}var Q0=Lr?function(e,t){return Lr(e,"toString",{configurable:!0,enumerable:!1,value:X0(t),writable:!0})}:xr,eh=800,th=16,rh=Date.now;function nh(e){var t=0,r=0;return function(){var n=rh(),a=th-(n-r);if(r=n,a>0){if(++t>=eh)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var sa=nh(Q0);function ft(e,t){return sa(oa(e,t,xr),e+"")}function fi(e,t,r){if(!Ze(r))return!1;var n=typeof t;return(n=="number"?Et(r)&&wr(t,r.length):n=="string"&&t in r)?tr(r[t],e):!1}function Li(e){return ft(function(t,r){var n=-1,a=r.length,i=a>1?r[a-1]:void 0,l=a>2?r[2]:void 0;for(i=e.length>3&&typeof i=="function"?(a--,i):void 0,l&&fi(r[0],r[1],l)&&(i=a<3?void 0:i,a=1),t=Object(t);++n<a;){var v=r[n];v&&e(t,v,n,i)}return t})}var gv=Li(function(e,t,r){en(e,t,r)}),jn=function(){return ot.Date.now()},ih="Expected a function",oh=Math.max,sh=Math.min;function aa(e,t,r){var n,a,i,l,v,M,y=0,h=!1,S=!1,B=!0;if(typeof e!="function")throw new TypeError(ih);t=ri(t)||0,Ze(r)&&(h=!!r.leading,S="maxWait"in r,i=S?oh(ri(r.maxWait)||0,t):i,B="trailing"in r?!!r.trailing:B);function z(V){var K=n,ae=a;return n=a=void 0,y=V,l=e.apply(ae,K),l}function G(V){return y=V,v=setTimeout(Q,t),h?z(V):l}function Z(V){var K=V-M,ae=V-y,se=t-K;return S?sh(se,i-ae):se}function q(V){var K=V-M,ae=V-y;return M===void 0||K>=t||K<0||S&&ae>=i}function Q(){var V=jn();if(q(V))return X(V);v=setTimeout(Q,Z(V))}function X(V){return v=void 0,B&&n?z(V):(n=a=void 0,l)}function pe(){v!==void 0&&clearTimeout(v),y=0,n=M=a=v=void 0}function ce(){return v===void 0?l:X(jn())}function oe(){var V=jn(),K=q(V);if(n=arguments,a=this,M=V,K){if(v===void 0)return G(M);if(S)return clearTimeout(v),v=setTimeout(Q,t),z(M)}return v===void 0&&(v=setTimeout(Q,t)),l}return oe.cancel=pe,oe.flush=ce,oe}const mv=Object.freeze(Object.defineProperty({__proto__:null,default:aa},Symbol.toStringTag,{value:"Module"}));var ah="Expected a function";function yv(e,t,r){var n=!0,a=!0;if(typeof e!="function")throw new TypeError(ah);return Ze(r)&&(n="leading"in r?!!r.leading:n,a="trailing"in r?!!r.trailing:a),aa(e,t,{leading:n,maxWait:t,trailing:a})}function ua(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}function uh(e,t){return e&&Dt(t,St(t),e)}function fh(e,t){return e&&Dt(t,ir(t),e)}function lh(e,t){return Dt(e,Ai(e),t)}function ch(e,t){return Dt(e,Ks(e),t)}var hh=Object.prototype,dh=hh.hasOwnProperty;function ph(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&dh.call(e,"index")&&(r.index=e.index,r.input=e.input),r}function gh(e,t){var r=t?Ii(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var mh=/\w*$/;function yh(e){var t=new e.constructor(e.source,mh.exec(e));return t.lastIndex=e.lastIndex,t}var Io=it?it.prototype:void 0,No=Io?Io.valueOf:void 0;function wh(e){return No?Object(No.call(e)):{}}var vh="[object Boolean]",bh="[object Date]",xh="[object Map]",Mh="[object Number]",_h="[object RegExp]",Eh="[object Set]",Sh="[object String]",Oh="[object Symbol]",Ah="[object ArrayBuffer]",Th="[object DataView]",$h="[object Float32Array]",Ch="[object Float64Array]",Rh="[object Int8Array]",Bh="[object Int16Array]",Fh="[object Int32Array]",Ih="[object Uint8Array]",Nh="[object Uint8ClampedArray]",Ph="[object Uint16Array]",Lh="[object Uint32Array]";function Uh(e,t,r){var n=e.constructor;switch(t){case Ah:return Ii(e);case vh:case bh:return new n(+e);case Th:return gh(e,r);case $h:case Ch:case Rh:case Bh:case Fh:case Ih:case Nh:case Ph:case Lh:return ra(e,r);case xh:return new n;case Mh:case Sh:return new n(e);case _h:return yh(e);case Eh:return new n;case Oh:return wh(e)}}var Dh="[object Map]";function jh(e){return Xe(e)&&nt(e)==Dh}var Po=Yt&&Yt.isMap,kh=Po?vr(Po):jh,qh="[object Set]";function zh(e){return Xe(e)&&nt(e)==qh}var Lo=Yt&&Yt.isSet,Hh=Lo?vr(Lo):zh,Gh=1,Wh=2,Zh=4,fa="[object Arguments]",Jh="[object Array]",Vh="[object Boolean]",Kh="[object Date]",Yh="[object Error]",la="[object Function]",Xh="[object GeneratorFunction]",Qh="[object Map]",ed="[object Number]",ca="[object Object]",td="[object RegExp]",rd="[object Set]",nd="[object String]",id="[object Symbol]",od="[object WeakMap]",sd="[object ArrayBuffer]",ad="[object DataView]",ud="[object Float32Array]",fd="[object Float64Array]",ld="[object Int8Array]",cd="[object Int16Array]",hd="[object Int32Array]",dd="[object Uint8Array]",pd="[object Uint8ClampedArray]",gd="[object Uint16Array]",md="[object Uint32Array]",Ee={};Ee[fa]=Ee[Jh]=Ee[sd]=Ee[ad]=Ee[Vh]=Ee[Kh]=Ee[ud]=Ee[fd]=Ee[ld]=Ee[cd]=Ee[hd]=Ee[Qh]=Ee[ed]=Ee[ca]=Ee[td]=Ee[rd]=Ee[nd]=Ee[id]=Ee[dd]=Ee[pd]=Ee[gd]=Ee[md]=!0;Ee[Yh]=Ee[la]=Ee[od]=!1;function cr(e,t,r,n,a,i){var l,v=t&Gh,M=t&Wh,y=t&Zh;if(r&&(l=a?r(e,n,a,i):r(e)),l!==void 0)return l;if(!Ze(e))return e;var h=$e(e);if(h){if(l=ph(e),!v)return Ni(e,l)}else{var S=nt(e),B=S==la||S==Xh;if(Kt(e))return ta(e,v);if(S==ca||S==fa||B&&!a){if(l=M||B?{}:na(e),!v)return M?ch(e,fh(l,e)):lh(e,uh(l,e))}else{if(!Ee[S])return a?e:{};l=Uh(e,S,v)}}i||(i=new at);var z=i.get(e);if(z)return z;i.set(e,l),Hh(e)?e.forEach(function(q){l.add(cr(q,t,r,q,e,i))}):kh(e)&&e.forEach(function(q,Q){l.set(Q,cr(q,t,r,Q,e,i))});var G=y?M?Fi:ni:M?ir:St,Z=h?void 0:G(e);return ua(Z||e,function(q,Q){Z&&(Q=q,q=e[Q]),Ri(l,Q,cr(q,t,r,Q,e,i))}),l}function tn(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function yd(e,t){return t.length<2?e:br(e,Mi(t,0,-1))}function wd(e,t){return t=rr(t,e),e=yd(e,t),e==null||delete e[nr(tn(t))]}function vd(e){return Qr(e)?void 0:e}var Uo=it?it.isConcatSpreadable:void 0;function bd(e){return $e(e)||Vt(e)||!!(Uo&&e&&e[Uo])}function Mr(e,t,r,n,a){var i=-1,l=e.length;for(r||(r=bd),a||(a=[]);++i<l;){var v=e[i];r(v)?Oi(a,v):n||(a[a.length]=v)}return a}function xd(e){var t=e==null?0:e.length;return t?Mr(e):[]}function ha(e){return sa(oa(e,void 0,xd),e+"")}var Md=1,_d=2,Ed=4,Sd=ha(function(e,t){var r={};if(e==null)return r;var n=!1;t=gt(t,function(i){return i=rr(i,e),n||(n=i.length>1),i}),Dt(e,Fi(e),r),n&&(r=cr(r,Md|_d|Ed,vd));for(var a=t.length;a--;)wd(r,t[a]);return r});const wv=Object.freeze(Object.defineProperty({__proto__:null,default:Sd},Symbol.toStringTag,{value:"Module"}));function da(e,t,r,n){for(var a=e.length,i=r+-1;++i<a;)if(t(e[i],i,e))return i;return-1}function Od(e){return e!==e}function Ad(e,t,r){for(var n=r-1,a=e.length;++n<a;)if(e[n]===t)return n;return-1}function rn(e,t,r){return t===t?Ad(e,t,r):da(e,Od,r)}function Ui(e,t){var r=e==null?0:e.length;return!!r&&rn(e,t,0)>-1}function pa(e,t,r){for(var n=-1,a=e==null?0:e.length;++n<a;)if(r(t,e[n]))return!0;return!1}var Td=1/0,$d=Gt&&1/Si(new Gt([,-0]))[1]==Td?function(e){return new Gt(e)}:Xs,Cd=200;function Xt(e,t,r){var n=-1,a=Ui,i=e.length,l=!0,v=[],M=v;if(r)l=!1,a=pa;else if(i>=Cd){var y=t?null:$d(e);if(y)return Si(y);l=!1,a=pr,M=new It}else M=t?[]:v;e:for(;++n<i;){var h=e[n],S=t?t(h):h;if(h=r||h!==0?h:0,l&&S===S){for(var B=M.length;B--;)if(M[B]===S)continue e;t&&M.push(S),v.push(h)}else a(M,S,r)||(M!==v&&M.push(S),v.push(h))}return v}function Rd(e,t){return e&&e.length?Xt(e,xt(t)):[]}const vv=Object.freeze(Object.defineProperty({__proto__:null,default:Rd},Symbol.toStringTag,{value:"Module"})),Bd=/[^\0-\x7E]/,Fd=/[\x2E\u3002\uFF0E\uFF61]/g,Id={overflow:"Overflow Error","not-basic":"Illegal Input","invalid-input":"Invalid Input"},Ht=Math.floor,kn=String.fromCharCode;function Do(e){throw new RangeError(Id[e])}const jo=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},Nd=function(e,t,r){let n=0;for(e=r?Ht(e/700):e>>1,e+=Ht(e/t);e>455;n+=36)e=Ht(e/35);return Ht(n+36*e/(e+38))};function Pd(e){return function(t,r){const n=t.split("@");let a="";n.length>1&&(a=n[0]+"@",t=n[1]);const i=function(l,v){const M=[];let y=l.length;for(;y--;)M[y]=v(l[y]);return M}((t=t.replace(Fd,".")).split("."),r).join(".");return a+i}(e,function(t){return Bd.test(t)?"xn--"+function(r){const n=[],a=(r=function(h){const S=[];let B=0;const z=h.length;for(;B<z;){const G=h.charCodeAt(B++);if(G>=55296&&G<=56319&&B<z){const Z=h.charCodeAt(B++);(64512&Z)==56320?S.push(((1023&G)<<10)+(1023&Z)+65536):(S.push(G),B--)}else S.push(G)}return S}(r)).length;let i=128,l=0,v=72;for(const h of r)h<128&&n.push(kn(h));const M=n.length;let y=M;for(M&&n.push("-");y<a;){let h=2147483647;for(const B of r)B>=i&&B<h&&(h=B);const S=y+1;h-i>Ht((2147483647-l)/S)&&Do("overflow"),l+=(h-i)*S,i=h;for(const B of r)if(B<i&&++l>2147483647&&Do("overflow"),B==i){let z=l;for(let G=36;;G+=36){const Z=G<=v?1:G>=v+26?26:G-v;if(z<Z)break;const q=z-Z,Q=36-Z;n.push(kn(jo(Z+q%Q,0))),z=Ht(q/Q)}n.push(kn(jo(z,0))),v=Nd(l,S,y==M),l=0,++y}++l,++i}return n.join("")}(t):t})}const ga=/#/g,ma=/&/g,ya=/\//g,Ld=/=/g,Ud=/\?/g,nn=/\+/g,wa=/%5e/gi,Dd=/%60/gi,jd=/%7b/gi,kd=/%7c/gi,qd=/%7d/gi,zd=/%20/gi,Hd=/%2f/gi,Gd=/%252f/gi;function on(e){return encodeURI(""+e).replace(kd,"|")}function sn(e){return on(e).replace(jd,"{").replace(qd,"}").replace(wa,"^")}function Ur(e){return on(typeof e=="string"?e:JSON.stringify(e)).replace(nn,"%2B").replace(zd,"+").replace(ga,"%23").replace(ma,"%26").replace(Dd,"`").replace(wa,"^").replace(ya,"%2F")}function Cr(e){return Ur(e).replace(Ld,"%3D")}function an(e){return on(e).replace(ga,"%23").replace(Ud,"%3F").replace(Gd,"%2F").replace(ma,"%26").replace(nn,"%2B")}function Wd(e){return an(e).replace(ya,"%2F")}function Ve(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Di(e){return Ve(e.replace(Hd,"%252F"))}function va(e){return Ve(e.replace(nn," "))}function ba(e){return Ve(e.replace(nn," "))}function Dr(e=""){return Pd(e)}function _t(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const r of e.split("&")){const n=r.match(/([^=]+)=?(.*)/)||[];if(n.length<2)continue;const a=va(n[1]);if(a==="__proto__"||a==="constructor")continue;const i=ba(n[2]||"");t[a]===void 0?t[a]=i:Array.isArray(t[a])?t[a].push(i):t[a]=[t[a],i]}return t}function xa(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(r=>`${Cr(e)}=${Ur(r)}`).join("&"):`${Cr(e)}=${Ur(t)}`:Cr(e)}function or(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>xa(t,e[t])).filter(Boolean).join("&")}const Zd=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Ma=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Jd=/^([/\\]\s*){2,}[^/\\]/,Vd=/^[\s\0]*(blob|data|javascript|vbscript):$/i,Kd=/\/$|\/\?|\/#/,Yd=/^\.?\//;function Xd(e){return["./","../"].some(t=>e.startsWith(t))}function un(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Zd.test(e):Ma.test(e)||(t.acceptRelative?Jd.test(e):!1)}function Qd(e){return!!e&&Vd.test(e)}function jr(e="",t){return t?Kd.test(e):e.endsWith("/")}function gr(e="",t){if(!t)return(jr(e)?e.slice(0,-1):e)||"/";if(!jr(e,!0))return e||"/";let r=e,n="";const a=e.indexOf("#");a!==-1&&(r=e.slice(0,a),n=e.slice(a));const[i,...l]=r.split("?");return((i.endsWith("/")?i.slice(0,-1):i)||"/")+(l.length>0?`?${l.join("?")}`:"")+n}function Qt(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(jr(e,!0))return e||"/";let r=e,n="";const a=e.indexOf("#");if(a!==-1&&(r=e.slice(0,a),n=e.slice(a),!r))return n;const[i,...l]=r.split("?");return i+"/"+(l.length>0?`?${l.join("?")}`:"")+n}function ji(e=""){return e.startsWith("/")}function ki(e=""){return(ji(e)?e.slice(1):e)||"/"}function li(e=""){return ji(e)?e:"/"+e}function ep(e=""){return e.split("://").map(t=>t.replace(/\/{2,}/g,"/")).join("://")}function tp(e,t){if(qi(t)||un(e))return e;const r=gr(t);return e.startsWith(r)?e:_a(r,e)}function rp(e,t){if(qi(t))return e;const r=gr(t);if(!e.startsWith(r))return e;const n=e.slice(r.length);return n[0]==="/"?n:"/"+n}function np(e,t){const r=et(e),n={..._t(r.search),...t};return r.search=or(n),jt(r)}function ip(e,t){if(!e.includes("?"))return e;const r=et(e),n=_t(r.search),a=Object.fromEntries(Object.entries(n).filter(([i,l])=>t(i,l)));return r.search=or(a),jt(r)}function op(e){return _t(et(e).search)}function qi(e){return!e||e==="/"}function zi(e){return e&&e!=="/"}function _a(e,...t){let r=e||"";for(const n of t.filter(a=>zi(a)))if(r){const a=n.replace(Yd,"");r=Qt(r)+a}else r=n;return r}function sp(...e){var l,v,M,y;const t=/\/(?!\/)/,r=e.filter(Boolean),n=[];let a=0;for(const h of r)if(!(!h||h==="/")){for(const[S,B]of h.split(t).entries())if(!(!B||B===".")){if(B===".."){if(n.length===1&&un(n[0]))continue;n.pop(),a--;continue}if(S===1&&((l=n[n.length-1])!=null&&l.endsWith(":/"))){n[n.length-1]+="/"+B;continue}n.push(B),a++}}let i=n.join("/");return a>=0?(v=r[0])!=null&&v.startsWith("/")&&!i.startsWith("/")?i="/"+i:(M=r[0])!=null&&M.startsWith("./")&&!i.startsWith("./")&&(i="./"+i):i="../".repeat(-1*a)+i,(y=r[r.length-1])!=null&&y.endsWith("/")&&!i.endsWith("/")&&(i+="/"),i}function ap(e){return fn(e,"http://")}function up(e){return fn(e,"https://")}function fp(e){return fn(e,"")}function fn(e,t){let r=e.match(Ma);return r||(r=e.match(/^\/{2,}/)),r?t+e.slice(r[0].length):t+e}function lp(e){const t=et(e);return t.pathname=an(Di(t.pathname)),t.hash=sn(Ve(t.hash)),t.host=Dr(Ve(t.host)),t.search=or(_t(t.search)),jt(t)}function cp(e="",...t){if(typeof e!="string")throw new TypeError(`URL input should be string received ${typeof e} (${e})`);const r=t.filter(a=>zi(a));if(r.length===0)return e;const n=et(e);for(const a of r){const i=et(a);if(i.pathname&&(n.pathname=Qt(n.pathname)+ki(i.pathname)),i.hash&&i.hash!=="#"&&(n.hash=i.hash),i.search&&i.search!=="?")if(n.search&&n.search!=="?"){const l=or({..._t(n.search),..._t(i.search)});n.search=l.length>0?"?"+l:""}else n.search=i.search}return jt(n)}function hp(e,t){return Ve(gr(e))===Ve(gr(t))}function dp(e,t,r={}){return r.trailingSlash||(e=Qt(e),t=Qt(t)),r.leadingSlash||(e=li(e),t=li(t)),r.encoding||(e=Ve(e),t=Ve(t)),e===t}function pp(e,t){if(!t||t==="#")return e;const r=et(e);return r.hash=t===""?"":"#"+sn(t),jt(r)}function gp(e){return jt({...et(e),hash:""})}function mp(e){const t=et(e);return(t.pathname||"/")+t.search+t.hash}const Ea=Symbol.for("ufo:protocolRelative");function et(e="",t){const r=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(r){const[,S,B=""]=r;return{protocol:S.toLowerCase(),pathname:B,href:S+B,auth:"",host:"",search:"",hash:""}}if(!un(e,{acceptRelative:!0}))return t?et(t+e):ci(e);const[,n="",a,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,l="",v=""]=i.match(/([^#/?]*)(.*)?/)||[];n==="file:"&&(v=v.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:M,search:y,hash:h}=ci(v);return{protocol:n.toLowerCase(),auth:a?a.slice(0,Math.max(0,a.length-1)):"",host:l,pathname:M,search:y,hash:h,[Ea]:!n}}function ci(e=""){const[t="",r="",n=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:r,hash:n}}function Rr(e=""){const[t,r]=e.split(":");return{username:Ve(t),password:Ve(r)}}function hi(e=""){const[t,r]=(e.match(/([^/:]*):?(\d+)?/)||[]).splice(1);return{hostname:Ve(t),port:r}}function jt(e){const t=e.pathname||"",r=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",n=e.hash||"",a=e.auth?e.auth+"@":"",i=e.host||"";return(e.protocol||e[Ea]?(e.protocol||"")+"//":"")+a+i+t+r+n}const yp=/\/([^/]+\.[^/]+)$/,wp=/\/([^/]+)$/;function vp(e="",t){const{pathname:r}=et(e),n=t!=null&&t.strict?r.match(yp):r.match(wp);return n?n[1]:void 0}class Sa{constructor(t=""){Ot(this,"protocol");Ot(this,"host");Ot(this,"auth");Ot(this,"pathname");Ot(this,"query",{});Ot(this,"hash");if(typeof t!="string")throw new TypeError(`URL input should be string received ${typeof t} (${t})`);const r=et(t);this.protocol=Ve(r.protocol),this.host=Ve(r.host),this.auth=Ve(r.auth),this.pathname=Di(r.pathname),this.query=_t(r.search),this.hash=Ve(r.hash)}get hostname(){return hi(this.host).hostname}get port(){return hi(this.host).port||""}get username(){return Rr(this.auth).username}get password(){return Rr(this.auth).password||""}get hasProtocol(){return this.protocol.length}get isAbsolute(){return this.hasProtocol||this.pathname[0]==="/"}get search(){const t=or(this.query);return t.length>0?"?"+t:""}get searchParams(){const t=new URLSearchParams;for(const r in this.query){const n=this.query[r];if(Array.isArray(n))for(const a of n)t.append(r,a);else t.append(r,typeof n=="string"?n:JSON.stringify(n))}return t}get origin(){return(this.protocol?this.protocol+"//":"")+Dr(this.host)}get fullpath(){return an(this.pathname)+this.search+sn(this.hash)}get encodedAuth(){if(!this.auth)return"";const{username:t,password:r}=Rr(this.auth);return encodeURIComponent(t)+(r?":"+encodeURIComponent(r):"")}get href(){const t=this.encodedAuth,r=(this.protocol?this.protocol+"//":"")+(t?t+"@":"")+Dr(this.host);return this.hasProtocol&&this.isAbsolute?r+this.fullpath:this.fullpath}append(t){if(t.hasProtocol)throw new Error("Cannot append a URL with protocol");Object.assign(this.query,t.query),t.pathname&&(this.pathname=Qt(this.pathname)+ki(t.pathname)),t.hash&&(this.hash=t.hash)}toJSON(){return this.href}toString(){return this.href}}function bp(e){return new Sa(e)}const bv=Object.freeze(Object.defineProperty({__proto__:null,$URL:Sa,cleanDoubleSlashes:ep,createURL:bp,decode:Ve,decodePath:Di,decodeQueryKey:va,decodeQueryValue:ba,encode:on,encodeHash:sn,encodeHost:Dr,encodeParam:Wd,encodePath:an,encodeQueryItem:xa,encodeQueryKey:Cr,encodeQueryValue:Ur,filterQuery:ip,getQuery:op,hasLeadingSlash:ji,hasProtocol:un,hasTrailingSlash:jr,isEmptyURL:qi,isEqual:dp,isNonEmptyURL:zi,isRelative:Xd,isSamePath:hp,isScriptProtocol:Qd,joinRelativeURL:sp,joinURL:_a,normalizeURL:lp,parseAuth:Rr,parseFilename:vp,parseHost:hi,parsePath:ci,parseQuery:_t,parseURL:et,resolveURL:cp,stringifyParsedURL:jt,stringifyQuery:or,withBase:tp,withFragment:pp,withHttp:ap,withHttps:up,withLeadingSlash:li,withProtocol:fn,withQuery:np,withTrailingSlash:Qt,withoutBase:rp,withoutFragment:gp,withoutHost:mp,withoutLeadingSlash:ki,withoutProtocol:fp,withoutTrailingSlash:gr},Symbol.toStringTag,{value:"Module"}));var xp="[object Map]",Mp="[object Set]",_p=Object.prototype,Ep=_p.hasOwnProperty;function xv(e){if(e==null)return!0;if(Et(e)&&($e(e)||typeof e=="string"||typeof e.splice=="function"||Kt(e)||Vr(e)||Vt(e)))return!e.length;var t=nt(e);if(t==xp||t==Mp)return!e.size;if(Kr(e))return!Hs(e).length;for(var r in e)if(Ep.call(e,r))return!1;return!0}function Sp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Oa={exports:{}},Re=Oa.exports={},ht,dt;function di(){throw new Error("setTimeout has not been defined")}function pi(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?ht=setTimeout:ht=di}catch{ht=di}try{typeof clearTimeout=="function"?dt=clearTimeout:dt=pi}catch{dt=pi}})();function Aa(e){if(ht===setTimeout)return setTimeout(e,0);if((ht===di||!ht)&&setTimeout)return ht=setTimeout,setTimeout(e,0);try{return ht(e,0)}catch{try{return ht.call(null,e,0)}catch{return ht.call(this,e,0)}}}function Op(e){if(dt===clearTimeout)return clearTimeout(e);if((dt===pi||!dt)&&clearTimeout)return dt=clearTimeout,clearTimeout(e);try{return dt(e)}catch{try{return dt.call(null,e)}catch{return dt.call(this,e)}}}var yt=[],Wt=!1,Ct,Br=-1;function Ap(){!Wt||!Ct||(Wt=!1,Ct.length?yt=Ct.concat(yt):Br=-1,yt.length&&Ta())}function Ta(){if(!Wt){var e=Aa(Ap);Wt=!0;for(var t=yt.length;t;){for(Ct=yt,yt=[];++Br<t;)Ct&&Ct[Br].run();Br=-1,t=yt.length}Ct=null,Wt=!1,Op(e)}}Re.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];yt.push(new $a(e,t)),yt.length===1&&!Wt&&Aa(Ta)};function $a(e,t){this.fun=e,this.array=t}$a.prototype.run=function(){this.fun.apply(null,this.array)};Re.title="browser";Re.browser=!0;Re.env={};Re.argv=[];Re.version="";Re.versions={};function Mt(){}Re.on=Mt;Re.addListener=Mt;Re.once=Mt;Re.off=Mt;Re.removeListener=Mt;Re.removeAllListeners=Mt;Re.emit=Mt;Re.prependListener=Mt;Re.prependOnceListener=Mt;Re.listeners=function(e){return[]};Re.binding=function(e){throw new Error("process.binding is not supported")};Re.cwd=function(){return"/"};Re.chdir=function(e){throw new Error("process.chdir is not supported")};Re.umask=function(){return 0};var Tp=Oa.exports;const kr=Sp(Tp);function Ca(e,t){return function(){return e.apply(t,arguments)}}const{toString:$p}=Object.prototype,{getPrototypeOf:Hi}=Object,ln=(e=>t=>{const r=$p.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),lt=e=>(e=e.toLowerCase(),t=>ln(t)===e),cn=e=>t=>typeof t===e,{isArray:sr}=Array,mr=cn("undefined");function Cp(e){return e!==null&&!mr(e)&&e.constructor!==null&&!mr(e.constructor)&&Qe(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Ra=lt("ArrayBuffer");function Rp(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Ra(e.buffer),t}const Bp=cn("string"),Qe=cn("function"),Ba=cn("number"),hn=e=>e!==null&&typeof e=="object",Fp=e=>e===!0||e===!1,Fr=e=>{if(ln(e)!=="object")return!1;const t=Hi(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Ip=lt("Date"),Np=lt("File"),Pp=lt("Blob"),Lp=lt("FileList"),Up=e=>hn(e)&&Qe(e.pipe),Dp=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Qe(e.append)&&((t=ln(e))==="formdata"||t==="object"&&Qe(e.toString)&&e.toString()==="[object FormData]"))},jp=lt("URLSearchParams"),[kp,qp,zp,Hp]=["ReadableStream","Request","Response","Headers"].map(lt),Gp=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function _r(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,a;if(typeof e!="object"&&(e=[e]),sr(e))for(n=0,a=e.length;n<a;n++)t.call(null,e[n],n,e);else{const i=r?Object.getOwnPropertyNames(e):Object.keys(e),l=i.length;let v;for(n=0;n<l;n++)v=i[n],t.call(null,e[v],v,e)}}function Fa(e,t){t=t.toLowerCase();const r=Object.keys(e);let n=r.length,a;for(;n-- >0;)if(a=r[n],t===a.toLowerCase())return a;return null}const Rt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:$t,Ia=e=>!mr(e)&&e!==Rt;function gi(){const{caseless:e}=Ia(this)&&this||{},t={},r=(n,a)=>{const i=e&&Fa(t,a)||a;Fr(t[i])&&Fr(n)?t[i]=gi(t[i],n):Fr(n)?t[i]=gi({},n):sr(n)?t[i]=n.slice():t[i]=n};for(let n=0,a=arguments.length;n<a;n++)arguments[n]&&_r(arguments[n],r);return t}const Wp=(e,t,r,{allOwnKeys:n}={})=>(_r(t,(a,i)=>{r&&Qe(a)?e[i]=Ca(a,r):e[i]=a},{allOwnKeys:n}),e),Zp=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Jp=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},Vp=(e,t,r,n)=>{let a,i,l;const v={};if(t=t||{},e==null)return t;do{for(a=Object.getOwnPropertyNames(e),i=a.length;i-- >0;)l=a[i],(!n||n(l,e,t))&&!v[l]&&(t[l]=e[l],v[l]=!0);e=r!==!1&&Hi(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},Kp=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},Yp=e=>{if(!e)return null;if(sr(e))return e;let t=e.length;if(!Ba(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},Xp=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Hi(Uint8Array)),Qp=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let a;for(;(a=n.next())&&!a.done;){const i=a.value;t.call(e,i[0],i[1])}},eg=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},tg=lt("HTMLFormElement"),rg=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,a){return n.toUpperCase()+a}),ko=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),ng=lt("RegExp"),Na=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};_r(r,(a,i)=>{let l;(l=t(a,i,e))!==!1&&(n[i]=l||a)}),Object.defineProperties(e,n)},ig=e=>{Na(e,(t,r)=>{if(Qe(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(Qe(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},og=(e,t)=>{const r={},n=a=>{a.forEach(i=>{r[i]=!0})};return sr(e)?n(e):n(String(e).split(t)),r},sg=()=>{},ag=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,qn="abcdefghijklmnopqrstuvwxyz",qo="0123456789",Pa={DIGIT:qo,ALPHA:qn,ALPHA_DIGIT:qn+qn.toUpperCase()+qo},ug=(e=16,t=Pa.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r};function fg(e){return!!(e&&Qe(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const lg=e=>{const t=new Array(10),r=(n,a)=>{if(hn(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[a]=n;const i=sr(n)?[]:{};return _r(n,(l,v)=>{const M=r(l,a+1);!mr(M)&&(i[v]=M)}),t[a]=void 0,i}}return n};return r(e,0)},cg=lt("AsyncFunction"),hg=e=>e&&(hn(e)||Qe(e))&&Qe(e.then)&&Qe(e.catch),La=((e,t)=>e?setImmediate:t?((r,n)=>(Rt.addEventListener("message",({source:a,data:i})=>{a===Rt&&i===r&&n.length&&n.shift()()},!1),a=>{n.push(a),Rt.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",Qe(Rt.postMessage)),dg=typeof queueMicrotask<"u"?queueMicrotask.bind(Rt):typeof kr<"u"&&kr.nextTick||La,W={isArray:sr,isArrayBuffer:Ra,isBuffer:Cp,isFormData:Dp,isArrayBufferView:Rp,isString:Bp,isNumber:Ba,isBoolean:Fp,isObject:hn,isPlainObject:Fr,isReadableStream:kp,isRequest:qp,isResponse:zp,isHeaders:Hp,isUndefined:mr,isDate:Ip,isFile:Np,isBlob:Pp,isRegExp:ng,isFunction:Qe,isStream:Up,isURLSearchParams:jp,isTypedArray:Xp,isFileList:Lp,forEach:_r,merge:gi,extend:Wp,trim:Gp,stripBOM:Zp,inherits:Jp,toFlatObject:Vp,kindOf:ln,kindOfTest:lt,endsWith:Kp,toArray:Yp,forEachEntry:Qp,matchAll:eg,isHTMLForm:tg,hasOwnProperty:ko,hasOwnProp:ko,reduceDescriptors:Na,freezeMethods:ig,toObjectSet:og,toCamelCase:rg,noop:sg,toFiniteNumber:ag,findKey:Fa,global:Rt,isContextDefined:Ia,ALPHABET:Pa,generateString:ug,isSpecCompliantForm:fg,toJSONObject:lg,isAsyncFn:cg,isThenable:hg,setImmediate:La,asap:dg};var We={},dn={};dn.byteLength=mg;dn.toByteArray=wg;dn.fromByteArray=xg;var pt=[],rt=[],pg=typeof Uint8Array<"u"?Uint8Array:Array,zn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var kt=0,gg=zn.length;kt<gg;++kt)pt[kt]=zn[kt],rt[zn.charCodeAt(kt)]=kt;rt[45]=62;rt[95]=63;function Ua(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var n=r===t?0:4-r%4;return[r,n]}function mg(e){var t=Ua(e),r=t[0],n=t[1];return(r+n)*3/4-n}function yg(e,t,r){return(t+r)*3/4-r}function wg(e){var t,r=Ua(e),n=r[0],a=r[1],i=new pg(yg(e,n,a)),l=0,v=a>0?n-4:n,M;for(M=0;M<v;M+=4)t=rt[e.charCodeAt(M)]<<18|rt[e.charCodeAt(M+1)]<<12|rt[e.charCodeAt(M+2)]<<6|rt[e.charCodeAt(M+3)],i[l++]=t>>16&255,i[l++]=t>>8&255,i[l++]=t&255;return a===2&&(t=rt[e.charCodeAt(M)]<<2|rt[e.charCodeAt(M+1)]>>4,i[l++]=t&255),a===1&&(t=rt[e.charCodeAt(M)]<<10|rt[e.charCodeAt(M+1)]<<4|rt[e.charCodeAt(M+2)]>>2,i[l++]=t>>8&255,i[l++]=t&255),i}function vg(e){return pt[e>>18&63]+pt[e>>12&63]+pt[e>>6&63]+pt[e&63]}function bg(e,t,r){for(var n,a=[],i=t;i<r;i+=3)n=(e[i]<<16&16711680)+(e[i+1]<<8&65280)+(e[i+2]&255),a.push(vg(n));return a.join("")}function xg(e){for(var t,r=e.length,n=r%3,a=[],i=16383,l=0,v=r-n;l<v;l+=i)a.push(bg(e,l,l+i>v?v:l+i));return n===1?(t=e[r-1],a.push(pt[t>>2]+pt[t<<4&63]+"==")):n===2&&(t=(e[r-2]<<8)+e[r-1],a.push(pt[t>>10]+pt[t>>4&63]+pt[t<<2&63]+"=")),a.join("")}var Gi={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */Gi.read=function(e,t,r,n,a){var i,l,v=a*8-n-1,M=(1<<v)-1,y=M>>1,h=-7,S=r?a-1:0,B=r?-1:1,z=e[t+S];for(S+=B,i=z&(1<<-h)-1,z>>=-h,h+=v;h>0;i=i*256+e[t+S],S+=B,h-=8);for(l=i&(1<<-h)-1,i>>=-h,h+=n;h>0;l=l*256+e[t+S],S+=B,h-=8);if(i===0)i=1-y;else{if(i===M)return l?NaN:(z?-1:1)*(1/0);l=l+Math.pow(2,n),i=i-y}return(z?-1:1)*l*Math.pow(2,i-n)};Gi.write=function(e,t,r,n,a,i){var l,v,M,y=i*8-a-1,h=(1<<y)-1,S=h>>1,B=a===23?Math.pow(2,-24)-Math.pow(2,-77):0,z=n?0:i-1,G=n?1:-1,Z=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(v=isNaN(t)?1:0,l=h):(l=Math.floor(Math.log(t)/Math.LN2),t*(M=Math.pow(2,-l))<1&&(l--,M*=2),l+S>=1?t+=B/M:t+=B*Math.pow(2,1-S),t*M>=2&&(l++,M/=2),l+S>=h?(v=0,l=h):l+S>=1?(v=(t*M-1)*Math.pow(2,a),l=l+S):(v=t*Math.pow(2,S-1)*Math.pow(2,a),l=0));a>=8;e[r+z]=v&255,z+=G,v/=256,a-=8);for(l=l<<a|v,y+=a;y>0;e[r+z]=l&255,z+=G,l/=256,y-=8);e[r+z-G]|=Z*128};/*!
|
|
2
|
+
* The buffer module from node.js, for the browser.
|
|
3
|
+
*
|
|
4
|
+
* @author Feross Aboukhadijeh <https://feross.org>
|
|
5
|
+
* @license MIT
|
|
6
|
+
*/(function(e){const t=dn,r=Gi,n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=h,e.SlowBuffer=oe,e.INSPECT_MAX_BYTES=50;const a=2147483647;e.kMaxLength=a;const{Uint8Array:i,ArrayBuffer:l,SharedArrayBuffer:v}=globalThis;h.TYPED_ARRAY_SUPPORT=M(),!h.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function M(){try{const g=new i(1),s={foo:function(){return 42}};return Object.setPrototypeOf(s,i.prototype),Object.setPrototypeOf(g,s),g.foo()===42}catch{return!1}}Object.defineProperty(h.prototype,"parent",{enumerable:!0,get:function(){if(h.isBuffer(this))return this.buffer}}),Object.defineProperty(h.prototype,"offset",{enumerable:!0,get:function(){if(h.isBuffer(this))return this.byteOffset}});function y(g){if(g>a)throw new RangeError('The value "'+g+'" is invalid for option "size"');const s=new i(g);return Object.setPrototypeOf(s,h.prototype),s}function h(g,s,f){if(typeof g=="number"){if(typeof s=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return G(g)}return S(g,s,f)}h.poolSize=8192;function S(g,s,f){if(typeof g=="string")return Z(g,s);if(l.isView(g))return Q(g);if(g==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof g);if(de(g,l)||g&&de(g.buffer,l)||typeof v<"u"&&(de(g,v)||g&&de(g.buffer,v)))return X(g,s,f);if(typeof g=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const x=g.valueOf&&g.valueOf();if(x!=null&&x!==g)return h.from(x,s,f);const C=pe(g);if(C)return C;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof g[Symbol.toPrimitive]=="function")return h.from(g[Symbol.toPrimitive]("string"),s,f);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof g)}h.from=function(g,s,f){return S(g,s,f)},Object.setPrototypeOf(h.prototype,i.prototype),Object.setPrototypeOf(h,i);function B(g){if(typeof g!="number")throw new TypeError('"size" argument must be of type number');if(g<0)throw new RangeError('The value "'+g+'" is invalid for option "size"')}function z(g,s,f){return B(g),g<=0?y(g):s!==void 0?typeof f=="string"?y(g).fill(s,f):y(g).fill(s):y(g)}h.alloc=function(g,s,f){return z(g,s,f)};function G(g){return B(g),y(g<0?0:ce(g)|0)}h.allocUnsafe=function(g){return G(g)},h.allocUnsafeSlow=function(g){return G(g)};function Z(g,s){if((typeof s!="string"||s==="")&&(s="utf8"),!h.isEncoding(s))throw new TypeError("Unknown encoding: "+s);const f=V(g,s)|0;let x=y(f);const C=x.write(g,s);return C!==f&&(x=x.slice(0,C)),x}function q(g){const s=g.length<0?0:ce(g.length)|0,f=y(s);for(let x=0;x<s;x+=1)f[x]=g[x]&255;return f}function Q(g){if(de(g,i)){const s=new i(g);return X(s.buffer,s.byteOffset,s.byteLength)}return q(g)}function X(g,s,f){if(s<0||g.byteLength<s)throw new RangeError('"offset" is outside of buffer bounds');if(g.byteLength<s+(f||0))throw new RangeError('"length" is outside of buffer bounds');let x;return s===void 0&&f===void 0?x=new i(g):f===void 0?x=new i(g,s):x=new i(g,s,f),Object.setPrototypeOf(x,h.prototype),x}function pe(g){if(h.isBuffer(g)){const s=ce(g.length)|0,f=y(s);return f.length===0||g.copy(f,0,0,s),f}if(g.length!==void 0)return typeof g.length!="number"||_e(g.length)?y(0):q(g);if(g.type==="Buffer"&&Array.isArray(g.data))return q(g.data)}function ce(g){if(g>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return g|0}function oe(g){return+g!=g&&(g=0),h.alloc(+g)}h.isBuffer=function(s){return s!=null&&s._isBuffer===!0&&s!==h.prototype},h.compare=function(s,f){if(de(s,i)&&(s=h.from(s,s.offset,s.byteLength)),de(f,i)&&(f=h.from(f,f.offset,f.byteLength)),!h.isBuffer(s)||!h.isBuffer(f))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(s===f)return 0;let x=s.length,C=f.length;for(let j=0,H=Math.min(x,C);j<H;++j)if(s[j]!==f[j]){x=s[j],C=f[j];break}return x<C?-1:C<x?1:0},h.isEncoding=function(s){switch(String(s).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},h.concat=function(s,f){if(!Array.isArray(s))throw new TypeError('"list" argument must be an Array of Buffers');if(s.length===0)return h.alloc(0);let x;if(f===void 0)for(f=0,x=0;x<s.length;++x)f+=s[x].length;const C=h.allocUnsafe(f);let j=0;for(x=0;x<s.length;++x){let H=s[x];if(de(H,i))j+H.length>C.length?(h.isBuffer(H)||(H=h.from(H)),H.copy(C,j)):i.prototype.set.call(C,H,j);else if(h.isBuffer(H))H.copy(C,j);else throw new TypeError('"list" argument must be an Array of Buffers');j+=H.length}return C};function V(g,s){if(h.isBuffer(g))return g.length;if(l.isView(g)||de(g,l))return g.byteLength;if(typeof g!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof g);const f=g.length,x=arguments.length>2&&arguments[2]===!0;if(!x&&f===0)return 0;let C=!1;for(;;)switch(s){case"ascii":case"latin1":case"binary":return f;case"utf8":case"utf-8":return k(g).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return f*2;case"hex":return f>>>1;case"base64":return ue(g).length;default:if(C)return x?-1:k(g).length;s=(""+s).toLowerCase(),C=!0}}h.byteLength=V;function K(g,s,f){let x=!1;if((s===void 0||s<0)&&(s=0),s>this.length||((f===void 0||f>this.length)&&(f=this.length),f<=0)||(f>>>=0,s>>>=0,f<=s))return"";for(g||(g="utf8");;)switch(g){case"hex":return ee(this,s,f);case"utf8":case"utf-8":return A(this,s,f);case"ascii":return u(this,s,f);case"latin1":case"binary":return _(this,s,f);case"base64":return w(this,s,f);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return te(this,s,f);default:if(x)throw new TypeError("Unknown encoding: "+g);g=(g+"").toLowerCase(),x=!0}}h.prototype._isBuffer=!0;function ae(g,s,f){const x=g[s];g[s]=g[f],g[f]=x}h.prototype.swap16=function(){const s=this.length;if(s%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let f=0;f<s;f+=2)ae(this,f,f+1);return this},h.prototype.swap32=function(){const s=this.length;if(s%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let f=0;f<s;f+=4)ae(this,f,f+3),ae(this,f+1,f+2);return this},h.prototype.swap64=function(){const s=this.length;if(s%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let f=0;f<s;f+=8)ae(this,f,f+7),ae(this,f+1,f+6),ae(this,f+2,f+5),ae(this,f+3,f+4);return this},h.prototype.toString=function(){const s=this.length;return s===0?"":arguments.length===0?A(this,0,s):K.apply(this,arguments)},h.prototype.toLocaleString=h.prototype.toString,h.prototype.equals=function(s){if(!h.isBuffer(s))throw new TypeError("Argument must be a Buffer");return this===s?!0:h.compare(this,s)===0},h.prototype.inspect=function(){let s="";const f=e.INSPECT_MAX_BYTES;return s=this.toString("hex",0,f).replace(/(.{2})/g,"$1 ").trim(),this.length>f&&(s+=" ... "),"<Buffer "+s+">"},n&&(h.prototype[n]=h.prototype.inspect),h.prototype.compare=function(s,f,x,C,j){if(de(s,i)&&(s=h.from(s,s.offset,s.byteLength)),!h.isBuffer(s))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof s);if(f===void 0&&(f=0),x===void 0&&(x=s?s.length:0),C===void 0&&(C=0),j===void 0&&(j=this.length),f<0||x>s.length||C<0||j>this.length)throw new RangeError("out of range index");if(C>=j&&f>=x)return 0;if(C>=j)return-1;if(f>=x)return 1;if(f>>>=0,x>>>=0,C>>>=0,j>>>=0,this===s)return 0;let H=j-C,re=x-f;const Se=Math.min(H,re),me=this.slice(C,j),we=s.slice(f,x);for(let Me=0;Me<Se;++Me)if(me[Me]!==we[Me]){H=me[Me],re=we[Me];break}return H<re?-1:re<H?1:0};function se(g,s,f,x,C){if(g.length===0)return-1;if(typeof f=="string"?(x=f,f=0):f>2147483647?f=2147483647:f<-2147483648&&(f=-2147483648),f=+f,_e(f)&&(f=C?0:g.length-1),f<0&&(f=g.length+f),f>=g.length){if(C)return-1;f=g.length-1}else if(f<0)if(C)f=0;else return-1;if(typeof s=="string"&&(s=h.from(s,x)),h.isBuffer(s))return s.length===0?-1:Y(g,s,f,x,C);if(typeof s=="number")return s=s&255,typeof i.prototype.indexOf=="function"?C?i.prototype.indexOf.call(g,s,f):i.prototype.lastIndexOf.call(g,s,f):Y(g,[s],f,x,C);throw new TypeError("val must be string, number or Buffer")}function Y(g,s,f,x,C){let j=1,H=g.length,re=s.length;if(x!==void 0&&(x=String(x).toLowerCase(),x==="ucs2"||x==="ucs-2"||x==="utf16le"||x==="utf-16le")){if(g.length<2||s.length<2)return-1;j=2,H/=2,re/=2,f/=2}function Se(we,Me){return j===1?we[Me]:we.readUInt16BE(Me*j)}let me;if(C){let we=-1;for(me=f;me<H;me++)if(Se(g,me)===Se(s,we===-1?0:me-we)){if(we===-1&&(we=me),me-we+1===re)return we*j}else we!==-1&&(me-=me-we),we=-1}else for(f+re>H&&(f=H-re),me=f;me>=0;me--){let we=!0;for(let Me=0;Me<re;Me++)if(Se(g,me+Me)!==Se(s,Me)){we=!1;break}if(we)return me}return-1}h.prototype.includes=function(s,f,x){return this.indexOf(s,f,x)!==-1},h.prototype.indexOf=function(s,f,x){return se(this,s,f,x,!0)},h.prototype.lastIndexOf=function(s,f,x){return se(this,s,f,x,!1)};function E(g,s,f,x){f=Number(f)||0;const C=g.length-f;x?(x=Number(x),x>C&&(x=C)):x=C;const j=s.length;x>j/2&&(x=j/2);let H;for(H=0;H<x;++H){const re=parseInt(s.substr(H*2,2),16);if(_e(re))return H;g[f+H]=re}return H}function o(g,s,f,x){return fe(k(s,g.length-f),g,f,x)}function c(g,s,f,x){return fe(J(s),g,f,x)}function d(g,s,f,x){return fe(ue(s),g,f,x)}function p(g,s,f,x){return fe(ne(s,g.length-f),g,f,x)}h.prototype.write=function(s,f,x,C){if(f===void 0)C="utf8",x=this.length,f=0;else if(x===void 0&&typeof f=="string")C=f,x=this.length,f=0;else if(isFinite(f))f=f>>>0,isFinite(x)?(x=x>>>0,C===void 0&&(C="utf8")):(C=x,x=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const j=this.length-f;if((x===void 0||x>j)&&(x=j),s.length>0&&(x<0||f<0)||f>this.length)throw new RangeError("Attempt to write outside buffer bounds");C||(C="utf8");let H=!1;for(;;)switch(C){case"hex":return E(this,s,f,x);case"utf8":case"utf-8":return o(this,s,f,x);case"ascii":case"latin1":case"binary":return c(this,s,f,x);case"base64":return d(this,s,f,x);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return p(this,s,f,x);default:if(H)throw new TypeError("Unknown encoding: "+C);C=(""+C).toLowerCase(),H=!0}},h.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function w(g,s,f){return s===0&&f===g.length?t.fromByteArray(g):t.fromByteArray(g.slice(s,f))}function A(g,s,f){f=Math.min(g.length,f);const x=[];let C=s;for(;C<f;){const j=g[C];let H=null,re=j>239?4:j>223?3:j>191?2:1;if(C+re<=f){let Se,me,we,Me;switch(re){case 1:j<128&&(H=j);break;case 2:Se=g[C+1],(Se&192)===128&&(Me=(j&31)<<6|Se&63,Me>127&&(H=Me));break;case 3:Se=g[C+1],me=g[C+2],(Se&192)===128&&(me&192)===128&&(Me=(j&15)<<12|(Se&63)<<6|me&63,Me>2047&&(Me<55296||Me>57343)&&(H=Me));break;case 4:Se=g[C+1],me=g[C+2],we=g[C+3],(Se&192)===128&&(me&192)===128&&(we&192)===128&&(Me=(j&15)<<18|(Se&63)<<12|(me&63)<<6|we&63,Me>65535&&Me<1114112&&(H=Me))}}H===null?(H=65533,re=1):H>65535&&(H-=65536,x.push(H>>>10&1023|55296),H=56320|H&1023),x.push(H),C+=re}return b(x)}const $=4096;function b(g){const s=g.length;if(s<=$)return String.fromCharCode.apply(String,g);let f="",x=0;for(;x<s;)f+=String.fromCharCode.apply(String,g.slice(x,x+=$));return f}function u(g,s,f){let x="";f=Math.min(g.length,f);for(let C=s;C<f;++C)x+=String.fromCharCode(g[C]&127);return x}function _(g,s,f){let x="";f=Math.min(g.length,f);for(let C=s;C<f;++C)x+=String.fromCharCode(g[C]);return x}function ee(g,s,f){const x=g.length;(!s||s<0)&&(s=0),(!f||f<0||f>x)&&(f=x);let C="";for(let j=s;j<f;++j)C+=he[g[j]];return C}function te(g,s,f){const x=g.slice(s,f);let C="";for(let j=0;j<x.length-1;j+=2)C+=String.fromCharCode(x[j]+x[j+1]*256);return C}h.prototype.slice=function(s,f){const x=this.length;s=~~s,f=f===void 0?x:~~f,s<0?(s+=x,s<0&&(s=0)):s>x&&(s=x),f<0?(f+=x,f<0&&(f=0)):f>x&&(f=x),f<s&&(f=s);const C=this.subarray(s,f);return Object.setPrototypeOf(C,h.prototype),C};function L(g,s,f){if(g%1!==0||g<0)throw new RangeError("offset is not uint");if(g+s>f)throw new RangeError("Trying to access beyond buffer length")}h.prototype.readUintLE=h.prototype.readUIntLE=function(s,f,x){s=s>>>0,f=f>>>0,x||L(s,f,this.length);let C=this[s],j=1,H=0;for(;++H<f&&(j*=256);)C+=this[s+H]*j;return C},h.prototype.readUintBE=h.prototype.readUIntBE=function(s,f,x){s=s>>>0,f=f>>>0,x||L(s,f,this.length);let C=this[s+--f],j=1;for(;f>0&&(j*=256);)C+=this[s+--f]*j;return C},h.prototype.readUint8=h.prototype.readUInt8=function(s,f){return s=s>>>0,f||L(s,1,this.length),this[s]},h.prototype.readUint16LE=h.prototype.readUInt16LE=function(s,f){return s=s>>>0,f||L(s,2,this.length),this[s]|this[s+1]<<8},h.prototype.readUint16BE=h.prototype.readUInt16BE=function(s,f){return s=s>>>0,f||L(s,2,this.length),this[s]<<8|this[s+1]},h.prototype.readUint32LE=h.prototype.readUInt32LE=function(s,f){return s=s>>>0,f||L(s,4,this.length),(this[s]|this[s+1]<<8|this[s+2]<<16)+this[s+3]*16777216},h.prototype.readUint32BE=h.prototype.readUInt32BE=function(s,f){return s=s>>>0,f||L(s,4,this.length),this[s]*16777216+(this[s+1]<<16|this[s+2]<<8|this[s+3])},h.prototype.readBigUInt64LE=le(function(s){s=s>>>0,D(s,"offset");const f=this[s],x=this[s+7];(f===void 0||x===void 0)&&R(s,this.length-8);const C=f+this[++s]*2**8+this[++s]*2**16+this[++s]*2**24,j=this[++s]+this[++s]*2**8+this[++s]*2**16+x*2**24;return BigInt(C)+(BigInt(j)<<BigInt(32))}),h.prototype.readBigUInt64BE=le(function(s){s=s>>>0,D(s,"offset");const f=this[s],x=this[s+7];(f===void 0||x===void 0)&&R(s,this.length-8);const C=f*2**24+this[++s]*2**16+this[++s]*2**8+this[++s],j=this[++s]*2**24+this[++s]*2**16+this[++s]*2**8+x;return(BigInt(C)<<BigInt(32))+BigInt(j)}),h.prototype.readIntLE=function(s,f,x){s=s>>>0,f=f>>>0,x||L(s,f,this.length);let C=this[s],j=1,H=0;for(;++H<f&&(j*=256);)C+=this[s+H]*j;return j*=128,C>=j&&(C-=Math.pow(2,8*f)),C},h.prototype.readIntBE=function(s,f,x){s=s>>>0,f=f>>>0,x||L(s,f,this.length);let C=f,j=1,H=this[s+--C];for(;C>0&&(j*=256);)H+=this[s+--C]*j;return j*=128,H>=j&&(H-=Math.pow(2,8*f)),H},h.prototype.readInt8=function(s,f){return s=s>>>0,f||L(s,1,this.length),this[s]&128?(255-this[s]+1)*-1:this[s]},h.prototype.readInt16LE=function(s,f){s=s>>>0,f||L(s,2,this.length);const x=this[s]|this[s+1]<<8;return x&32768?x|4294901760:x},h.prototype.readInt16BE=function(s,f){s=s>>>0,f||L(s,2,this.length);const x=this[s+1]|this[s]<<8;return x&32768?x|4294901760:x},h.prototype.readInt32LE=function(s,f){return s=s>>>0,f||L(s,4,this.length),this[s]|this[s+1]<<8|this[s+2]<<16|this[s+3]<<24},h.prototype.readInt32BE=function(s,f){return s=s>>>0,f||L(s,4,this.length),this[s]<<24|this[s+1]<<16|this[s+2]<<8|this[s+3]},h.prototype.readBigInt64LE=le(function(s){s=s>>>0,D(s,"offset");const f=this[s],x=this[s+7];(f===void 0||x===void 0)&&R(s,this.length-8);const C=this[s+4]+this[s+5]*2**8+this[s+6]*2**16+(x<<24);return(BigInt(C)<<BigInt(32))+BigInt(f+this[++s]*2**8+this[++s]*2**16+this[++s]*2**24)}),h.prototype.readBigInt64BE=le(function(s){s=s>>>0,D(s,"offset");const f=this[s],x=this[s+7];(f===void 0||x===void 0)&&R(s,this.length-8);const C=(f<<24)+this[++s]*2**16+this[++s]*2**8+this[++s];return(BigInt(C)<<BigInt(32))+BigInt(this[++s]*2**24+this[++s]*2**16+this[++s]*2**8+x)}),h.prototype.readFloatLE=function(s,f){return s=s>>>0,f||L(s,4,this.length),r.read(this,s,!0,23,4)},h.prototype.readFloatBE=function(s,f){return s=s>>>0,f||L(s,4,this.length),r.read(this,s,!1,23,4)},h.prototype.readDoubleLE=function(s,f){return s=s>>>0,f||L(s,8,this.length),r.read(this,s,!0,52,8)},h.prototype.readDoubleBE=function(s,f){return s=s>>>0,f||L(s,8,this.length),r.read(this,s,!1,52,8)};function ie(g,s,f,x,C,j){if(!h.isBuffer(g))throw new TypeError('"buffer" argument must be a Buffer instance');if(s>C||s<j)throw new RangeError('"value" argument is out of bounds');if(f+x>g.length)throw new RangeError("Index out of range")}h.prototype.writeUintLE=h.prototype.writeUIntLE=function(s,f,x,C){if(s=+s,f=f>>>0,x=x>>>0,!C){const re=Math.pow(2,8*x)-1;ie(this,s,f,x,re,0)}let j=1,H=0;for(this[f]=s&255;++H<x&&(j*=256);)this[f+H]=s/j&255;return f+x},h.prototype.writeUintBE=h.prototype.writeUIntBE=function(s,f,x,C){if(s=+s,f=f>>>0,x=x>>>0,!C){const re=Math.pow(2,8*x)-1;ie(this,s,f,x,re,0)}let j=x-1,H=1;for(this[f+j]=s&255;--j>=0&&(H*=256);)this[f+j]=s/H&255;return f+x},h.prototype.writeUint8=h.prototype.writeUInt8=function(s,f,x){return s=+s,f=f>>>0,x||ie(this,s,f,1,255,0),this[f]=s&255,f+1},h.prototype.writeUint16LE=h.prototype.writeUInt16LE=function(s,f,x){return s=+s,f=f>>>0,x||ie(this,s,f,2,65535,0),this[f]=s&255,this[f+1]=s>>>8,f+2},h.prototype.writeUint16BE=h.prototype.writeUInt16BE=function(s,f,x){return s=+s,f=f>>>0,x||ie(this,s,f,2,65535,0),this[f]=s>>>8,this[f+1]=s&255,f+2},h.prototype.writeUint32LE=h.prototype.writeUInt32LE=function(s,f,x){return s=+s,f=f>>>0,x||ie(this,s,f,4,4294967295,0),this[f+3]=s>>>24,this[f+2]=s>>>16,this[f+1]=s>>>8,this[f]=s&255,f+4},h.prototype.writeUint32BE=h.prototype.writeUInt32BE=function(s,f,x){return s=+s,f=f>>>0,x||ie(this,s,f,4,4294967295,0),this[f]=s>>>24,this[f+1]=s>>>16,this[f+2]=s>>>8,this[f+3]=s&255,f+4};function ye(g,s,f,x,C){I(s,x,C,g,f,7);let j=Number(s&BigInt(4294967295));g[f++]=j,j=j>>8,g[f++]=j,j=j>>8,g[f++]=j,j=j>>8,g[f++]=j;let H=Number(s>>BigInt(32)&BigInt(4294967295));return g[f++]=H,H=H>>8,g[f++]=H,H=H>>8,g[f++]=H,H=H>>8,g[f++]=H,f}function be(g,s,f,x,C){I(s,x,C,g,f,7);let j=Number(s&BigInt(4294967295));g[f+7]=j,j=j>>8,g[f+6]=j,j=j>>8,g[f+5]=j,j=j>>8,g[f+4]=j;let H=Number(s>>BigInt(32)&BigInt(4294967295));return g[f+3]=H,H=H>>8,g[f+2]=H,H=H>>8,g[f+1]=H,H=H>>8,g[f]=H,f+8}h.prototype.writeBigUInt64LE=le(function(s,f=0){return ye(this,s,f,BigInt(0),BigInt("0xffffffffffffffff"))}),h.prototype.writeBigUInt64BE=le(function(s,f=0){return be(this,s,f,BigInt(0),BigInt("0xffffffffffffffff"))}),h.prototype.writeIntLE=function(s,f,x,C){if(s=+s,f=f>>>0,!C){const Se=Math.pow(2,8*x-1);ie(this,s,f,x,Se-1,-Se)}let j=0,H=1,re=0;for(this[f]=s&255;++j<x&&(H*=256);)s<0&&re===0&&this[f+j-1]!==0&&(re=1),this[f+j]=(s/H>>0)-re&255;return f+x},h.prototype.writeIntBE=function(s,f,x,C){if(s=+s,f=f>>>0,!C){const Se=Math.pow(2,8*x-1);ie(this,s,f,x,Se-1,-Se)}let j=x-1,H=1,re=0;for(this[f+j]=s&255;--j>=0&&(H*=256);)s<0&&re===0&&this[f+j+1]!==0&&(re=1),this[f+j]=(s/H>>0)-re&255;return f+x},h.prototype.writeInt8=function(s,f,x){return s=+s,f=f>>>0,x||ie(this,s,f,1,127,-128),s<0&&(s=255+s+1),this[f]=s&255,f+1},h.prototype.writeInt16LE=function(s,f,x){return s=+s,f=f>>>0,x||ie(this,s,f,2,32767,-32768),this[f]=s&255,this[f+1]=s>>>8,f+2},h.prototype.writeInt16BE=function(s,f,x){return s=+s,f=f>>>0,x||ie(this,s,f,2,32767,-32768),this[f]=s>>>8,this[f+1]=s&255,f+2},h.prototype.writeInt32LE=function(s,f,x){return s=+s,f=f>>>0,x||ie(this,s,f,4,2147483647,-2147483648),this[f]=s&255,this[f+1]=s>>>8,this[f+2]=s>>>16,this[f+3]=s>>>24,f+4},h.prototype.writeInt32BE=function(s,f,x){return s=+s,f=f>>>0,x||ie(this,s,f,4,2147483647,-2147483648),s<0&&(s=4294967295+s+1),this[f]=s>>>24,this[f+1]=s>>>16,this[f+2]=s>>>8,this[f+3]=s&255,f+4},h.prototype.writeBigInt64LE=le(function(s,f=0){return ye(this,s,f,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),h.prototype.writeBigInt64BE=le(function(s,f=0){return be(this,s,f,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function xe(g,s,f,x,C,j){if(f+x>g.length)throw new RangeError("Index out of range");if(f<0)throw new RangeError("Index out of range")}function ge(g,s,f,x,C){return s=+s,f=f>>>0,C||xe(g,s,f,4),r.write(g,s,f,x,23,4),f+4}h.prototype.writeFloatLE=function(s,f,x){return ge(this,s,f,!0,x)},h.prototype.writeFloatBE=function(s,f,x){return ge(this,s,f,!1,x)};function m(g,s,f,x,C){return s=+s,f=f>>>0,C||xe(g,s,f,8),r.write(g,s,f,x,52,8),f+8}h.prototype.writeDoubleLE=function(s,f,x){return m(this,s,f,!0,x)},h.prototype.writeDoubleBE=function(s,f,x){return m(this,s,f,!1,x)},h.prototype.copy=function(s,f,x,C){if(!h.isBuffer(s))throw new TypeError("argument should be a Buffer");if(x||(x=0),!C&&C!==0&&(C=this.length),f>=s.length&&(f=s.length),f||(f=0),C>0&&C<x&&(C=x),C===x||s.length===0||this.length===0)return 0;if(f<0)throw new RangeError("targetStart out of bounds");if(x<0||x>=this.length)throw new RangeError("Index out of range");if(C<0)throw new RangeError("sourceEnd out of bounds");C>this.length&&(C=this.length),s.length-f<C-x&&(C=s.length-f+x);const j=C-x;return this===s&&typeof i.prototype.copyWithin=="function"?this.copyWithin(f,x,C):i.prototype.set.call(s,this.subarray(x,C),f),j},h.prototype.fill=function(s,f,x,C){if(typeof s=="string"){if(typeof f=="string"?(C=f,f=0,x=this.length):typeof x=="string"&&(C=x,x=this.length),C!==void 0&&typeof C!="string")throw new TypeError("encoding must be a string");if(typeof C=="string"&&!h.isEncoding(C))throw new TypeError("Unknown encoding: "+C);if(s.length===1){const H=s.charCodeAt(0);(C==="utf8"&&H<128||C==="latin1")&&(s=H)}}else typeof s=="number"?s=s&255:typeof s=="boolean"&&(s=Number(s));if(f<0||this.length<f||this.length<x)throw new RangeError("Out of range index");if(x<=f)return this;f=f>>>0,x=x===void 0?this.length:x>>>0,s||(s=0);let j;if(typeof s=="number")for(j=f;j<x;++j)this[j]=s;else{const H=h.isBuffer(s)?s:h.from(s,C),re=H.length;if(re===0)throw new TypeError('The value "'+s+'" is invalid for argument "value"');for(j=0;j<x-f;++j)this[j+f]=H[j%re]}return this};const O={};function T(g,s,f){O[g]=class extends f{constructor(){super(),Object.defineProperty(this,"message",{value:s.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${g}]`,this.stack,delete this.name}get code(){return g}set code(C){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:C,writable:!0})}toString(){return`${this.name} [${g}]: ${this.message}`}}}T("ERR_BUFFER_OUT_OF_BOUNDS",function(g){return g?`${g} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),T("ERR_INVALID_ARG_TYPE",function(g,s){return`The "${g}" argument must be of type number. Received type ${typeof s}`},TypeError),T("ERR_OUT_OF_RANGE",function(g,s,f){let x=`The value of "${g}" is out of range.`,C=f;return Number.isInteger(f)&&Math.abs(f)>2**32?C=P(String(f)):typeof f=="bigint"&&(C=String(f),(f>BigInt(2)**BigInt(32)||f<-(BigInt(2)**BigInt(32)))&&(C=P(C)),C+="n"),x+=` It must be ${s}. Received ${C}`,x},RangeError);function P(g){let s="",f=g.length;const x=g[0]==="-"?1:0;for(;f>=x+4;f-=3)s=`_${g.slice(f-3,f)}${s}`;return`${g.slice(0,f)}${s}`}function N(g,s,f){D(s,"offset"),(g[s]===void 0||g[s+f]===void 0)&&R(s,g.length-(f+1))}function I(g,s,f,x,C,j){if(g>f||g<s){const H=typeof s=="bigint"?"n":"";let re;throw s===0||s===BigInt(0)?re=`>= 0${H} and < 2${H} ** ${(j+1)*8}${H}`:re=`>= -(2${H} ** ${(j+1)*8-1}${H}) and < 2 ** ${(j+1)*8-1}${H}`,new O.ERR_OUT_OF_RANGE("value",re,g)}N(x,C,j)}function D(g,s){if(typeof g!="number")throw new O.ERR_INVALID_ARG_TYPE(s,"number",g)}function R(g,s,f){throw Math.floor(g)!==g?(D(g,f),new O.ERR_OUT_OF_RANGE("offset","an integer",g)):s<0?new O.ERR_BUFFER_OUT_OF_BOUNDS:new O.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${s}`,g)}const F=/[^+/0-9A-Za-z-_]/g;function U(g){if(g=g.split("=")[0],g=g.trim().replace(F,""),g.length<2)return"";for(;g.length%4!==0;)g=g+"=";return g}function k(g,s){s=s||1/0;let f;const x=g.length;let C=null;const j=[];for(let H=0;H<x;++H){if(f=g.charCodeAt(H),f>55295&&f<57344){if(!C){if(f>56319){(s-=3)>-1&&j.push(239,191,189);continue}else if(H+1===x){(s-=3)>-1&&j.push(239,191,189);continue}C=f;continue}if(f<56320){(s-=3)>-1&&j.push(239,191,189),C=f;continue}f=(C-55296<<10|f-56320)+65536}else C&&(s-=3)>-1&&j.push(239,191,189);if(C=null,f<128){if((s-=1)<0)break;j.push(f)}else if(f<2048){if((s-=2)<0)break;j.push(f>>6|192,f&63|128)}else if(f<65536){if((s-=3)<0)break;j.push(f>>12|224,f>>6&63|128,f&63|128)}else if(f<1114112){if((s-=4)<0)break;j.push(f>>18|240,f>>12&63|128,f>>6&63|128,f&63|128)}else throw new Error("Invalid code point")}return j}function J(g){const s=[];for(let f=0;f<g.length;++f)s.push(g.charCodeAt(f)&255);return s}function ne(g,s){let f,x,C;const j=[];for(let H=0;H<g.length&&!((s-=2)<0);++H)f=g.charCodeAt(H),x=f>>8,C=f%256,j.push(C),j.push(x);return j}function ue(g){return t.toByteArray(U(g))}function fe(g,s,f,x){let C;for(C=0;C<x&&!(C+f>=s.length||C>=g.length);++C)s[C+f]=g[C];return C}function de(g,s){return g instanceof s||g!=null&&g.constructor!=null&&g.constructor.name!=null&&g.constructor.name===s.name}function _e(g){return g!==g}const he=function(){const g="0123456789abcdef",s=new Array(256);for(let f=0;f<16;++f){const x=f*16;for(let C=0;C<16;++C)s[x+C]=g[f]+g[C]}return s}();function le(g){return typeof BigInt>"u"?Te:g}function Te(){throw new Error("BigInt not supported")}})(We);const Da=We.Buffer,Mg=We.Blob,_g=We.BlobOptions,Eg=We.Buffer,Sg=We.File,Og=We.FileOptions,Ag=We.INSPECT_MAX_BYTES,Tg=We.SlowBuffer,$g=We.TranscodeEncoding,Cg=We.atob,Rg=We.btoa,Bg=We.constants,Fg=We.isAscii,Ig=We.isUtf8,Ng=We.kMaxLength,Pg=We.kStringMaxLength,Lg=We.resolveObjectURL,Ug=We.transcode,Dg=Object.freeze(Object.defineProperty({__proto__:null,Blob:Mg,BlobOptions:_g,Buffer:Eg,File:Sg,FileOptions:Og,INSPECT_MAX_BYTES:Ag,SlowBuffer:Tg,TranscodeEncoding:$g,atob:Cg,btoa:Rg,constants:Bg,default:Da,isAscii:Fg,isUtf8:Ig,kMaxLength:Ng,kStringMaxLength:Pg,resolveObjectURL:Lg,transcode:Ug},Symbol.toStringTag,{value:"Module"}));function ve(e,t,r,n,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),a&&(this.response=a,this.status=a.status?a.status:null)}W.inherits(ve,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:W.toJSONObject(this.config),code:this.code,status:this.status}}});const ja=ve.prototype,ka={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{ka[e]={value:e}});Object.defineProperties(ve,ka);Object.defineProperty(ja,"isAxiosError",{value:!0});ve.from=(e,t,r,n,a,i)=>{const l=Object.create(ja);return W.toFlatObject(e,l,function(M){return M!==Error.prototype},v=>v!=="isAxiosError"),ve.call(l,e.message,t,r,n,a),l.cause=e,l.name=e.name,i&&Object.assign(l,i),l};const jg=null;function mi(e){return W.isPlainObject(e)||W.isArray(e)}function qa(e){return W.endsWith(e,"[]")?e.slice(0,-2):e}function zo(e,t,r){return e?e.concat(t).map(function(a,i){return a=qa(a),!r&&i?"["+a+"]":a}).join(r?".":""):t}function kg(e){return W.isArray(e)&&!e.some(mi)}const qg=W.toFlatObject(W,{},null,function(t){return/^is[A-Z]/.test(t)});function pn(e,t,r){if(!W.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=W.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(Z,q){return!W.isUndefined(q[Z])});const n=r.metaTokens,a=r.visitor||h,i=r.dots,l=r.indexes,M=(r.Blob||typeof Blob<"u"&&Blob)&&W.isSpecCompliantForm(t);if(!W.isFunction(a))throw new TypeError("visitor must be a function");function y(G){if(G===null)return"";if(W.isDate(G))return G.toISOString();if(!M&&W.isBlob(G))throw new ve("Blob is not supported. Use a Buffer instead.");return W.isArrayBuffer(G)||W.isTypedArray(G)?M&&typeof Blob=="function"?new Blob([G]):Da.from(G):G}function h(G,Z,q){let Q=G;if(G&&!q&&typeof G=="object"){if(W.endsWith(Z,"{}"))Z=n?Z:Z.slice(0,-2),G=JSON.stringify(G);else if(W.isArray(G)&&kg(G)||(W.isFileList(G)||W.endsWith(Z,"[]"))&&(Q=W.toArray(G)))return Z=qa(Z),Q.forEach(function(pe,ce){!(W.isUndefined(pe)||pe===null)&&t.append(l===!0?zo([Z],ce,i):l===null?Z:Z+"[]",y(pe))}),!1}return mi(G)?!0:(t.append(zo(q,Z,i),y(G)),!1)}const S=[],B=Object.assign(qg,{defaultVisitor:h,convertValue:y,isVisitable:mi});function z(G,Z){if(!W.isUndefined(G)){if(S.indexOf(G)!==-1)throw Error("Circular reference detected in "+Z.join("."));S.push(G),W.forEach(G,function(Q,X){(!(W.isUndefined(Q)||Q===null)&&a.call(t,Q,W.isString(X)?X.trim():X,Z,B))===!0&&z(Q,Z?Z.concat(X):[X])}),S.pop()}}if(!W.isObject(e))throw new TypeError("data must be an object");return z(e),t}function Ho(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function Wi(e,t){this._pairs=[],e&&pn(e,this,t)}const za=Wi.prototype;za.append=function(t,r){this._pairs.push([t,r])};za.toString=function(t){const r=t?function(n){return t.call(this,n,Ho)}:Ho;return this._pairs.map(function(a){return r(a[0])+"="+r(a[1])},"").join("&")};function zg(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ha(e,t,r){if(!t)return e;const n=r&&r.encode||zg;W.isFunction(r)&&(r={serialize:r});const a=r&&r.serialize;let i;if(a?i=a(t,r):i=W.isURLSearchParams(t)?t.toString():new Wi(t,r).toString(n),i){const l=e.indexOf("#");l!==-1&&(e=e.slice(0,l)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Go{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){W.forEach(this.handlers,function(n){n!==null&&t(n)})}}const Ga={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Hg=typeof URLSearchParams<"u"?URLSearchParams:Wi,Gg=typeof FormData<"u"?FormData:null,Wg=typeof Blob<"u"?Blob:null,Zg={isBrowser:!0,classes:{URLSearchParams:Hg,FormData:Gg,Blob:Wg},protocols:["http","https","file","blob","url","data"]},Zi=typeof window<"u"&&typeof document<"u",yi=typeof navigator=="object"&&navigator||void 0,Jg=Zi&&(!yi||["ReactNative","NativeScript","NS"].indexOf(yi.product)<0),Vg=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Kg=Zi&&window.location.href||"http://localhost",Yg=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Zi,hasStandardBrowserEnv:Jg,hasStandardBrowserWebWorkerEnv:Vg,navigator:yi,origin:Kg},Symbol.toStringTag,{value:"Module"})),Ke={...Yg,...Zg};function Xg(e,t){return pn(e,new Ke.classes.URLSearchParams,Object.assign({visitor:function(r,n,a,i){return Ke.isNode&&W.isBuffer(r)?(this.append(n,r.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function Qg(e){return W.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function em(e){const t={},r=Object.keys(e);let n;const a=r.length;let i;for(n=0;n<a;n++)i=r[n],t[i]=e[i];return t}function Wa(e){function t(r,n,a,i){let l=r[i++];if(l==="__proto__")return!0;const v=Number.isFinite(+l),M=i>=r.length;return l=!l&&W.isArray(a)?a.length:l,M?(W.hasOwnProp(a,l)?a[l]=[a[l],n]:a[l]=n,!v):((!a[l]||!W.isObject(a[l]))&&(a[l]=[]),t(r,n,a[l],i)&&W.isArray(a[l])&&(a[l]=em(a[l])),!v)}if(W.isFormData(e)&&W.isFunction(e.entries)){const r={};return W.forEachEntry(e,(n,a)=>{t(Qg(n),a,r,0)}),r}return null}function tm(e,t,r){if(W.isString(e))try{return(t||JSON.parse)(e),W.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const Er={transitional:Ga,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const n=r.getContentType()||"",a=n.indexOf("application/json")>-1,i=W.isObject(t);if(i&&W.isHTMLForm(t)&&(t=new FormData(t)),W.isFormData(t))return a?JSON.stringify(Wa(t)):t;if(W.isArrayBuffer(t)||W.isBuffer(t)||W.isStream(t)||W.isFile(t)||W.isBlob(t)||W.isReadableStream(t))return t;if(W.isArrayBufferView(t))return t.buffer;if(W.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let v;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return Xg(t,this.formSerializer).toString();if((v=W.isFileList(t))||n.indexOf("multipart/form-data")>-1){const M=this.env&&this.env.FormData;return pn(v?{"files[]":t}:t,M&&new M,this.formSerializer)}}return i||a?(r.setContentType("application/json",!1),tm(t)):t}],transformResponse:[function(t){const r=this.transitional||Er.transitional,n=r&&r.forcedJSONParsing,a=this.responseType==="json";if(W.isResponse(t)||W.isReadableStream(t))return t;if(t&&W.isString(t)&&(n&&!this.responseType||a)){const l=!(r&&r.silentJSONParsing)&&a;try{return JSON.parse(t)}catch(v){if(l)throw v.name==="SyntaxError"?ve.from(v,ve.ERR_BAD_RESPONSE,this,null,this.response):v}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ke.classes.FormData,Blob:Ke.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};W.forEach(["delete","get","head","post","put","patch"],e=>{Er.headers[e]={}});const rm=W.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),nm=e=>{const t={};let r,n,a;return e&&e.split(`
|
|
7
|
+
`).forEach(function(l){a=l.indexOf(":"),r=l.substring(0,a).trim().toLowerCase(),n=l.substring(a+1).trim(),!(!r||t[r]&&rm[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},Wo=Symbol("internals");function fr(e){return e&&String(e).trim().toLowerCase()}function Ir(e){return e===!1||e==null?e:W.isArray(e)?e.map(Ir):String(e)}function im(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const om=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Hn(e,t,r,n,a){if(W.isFunction(n))return n.call(this,t,r);if(a&&(t=r),!!W.isString(t)){if(W.isString(n))return t.indexOf(n)!==-1;if(W.isRegExp(n))return n.test(t)}}function sm(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function am(e,t){const r=W.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(a,i,l){return this[n].call(this,t,a,i,l)},configurable:!0})})}let Ye=class{constructor(t){t&&this.set(t)}set(t,r,n){const a=this;function i(v,M,y){const h=fr(M);if(!h)throw new Error("header name must be a non-empty string");const S=W.findKey(a,h);(!S||a[S]===void 0||y===!0||y===void 0&&a[S]!==!1)&&(a[S||M]=Ir(v))}const l=(v,M)=>W.forEach(v,(y,h)=>i(y,h,M));if(W.isPlainObject(t)||t instanceof this.constructor)l(t,r);else if(W.isString(t)&&(t=t.trim())&&!om(t))l(nm(t),r);else if(W.isHeaders(t))for(const[v,M]of t.entries())i(M,v,n);else t!=null&&i(r,t,n);return this}get(t,r){if(t=fr(t),t){const n=W.findKey(this,t);if(n){const a=this[n];if(!r)return a;if(r===!0)return im(a);if(W.isFunction(r))return r.call(this,a,n);if(W.isRegExp(r))return r.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=fr(t),t){const n=W.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||Hn(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let a=!1;function i(l){if(l=fr(l),l){const v=W.findKey(n,l);v&&(!r||Hn(n,n[v],v,r))&&(delete n[v],a=!0)}}return W.isArray(t)?t.forEach(i):i(t),a}clear(t){const r=Object.keys(this);let n=r.length,a=!1;for(;n--;){const i=r[n];(!t||Hn(this,this[i],i,t,!0))&&(delete this[i],a=!0)}return a}normalize(t){const r=this,n={};return W.forEach(this,(a,i)=>{const l=W.findKey(n,i);if(l){r[l]=Ir(a),delete r[i];return}const v=t?sm(i):String(i).trim();v!==i&&delete r[i],r[v]=Ir(a),n[v]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return W.forEach(this,(n,a)=>{n!=null&&n!==!1&&(r[a]=t&&W.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(`
|
|
8
|
+
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(a=>n.set(a)),n}static accessor(t){const n=(this[Wo]=this[Wo]={accessors:{}}).accessors,a=this.prototype;function i(l){const v=fr(l);n[v]||(am(a,l),n[v]=!0)}return W.isArray(t)?t.forEach(i):i(t),this}};Ye.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);W.reduceDescriptors(Ye.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});W.freezeMethods(Ye);function Gn(e,t){const r=this||Er,n=t||r,a=Ye.from(n.headers);let i=n.data;return W.forEach(e,function(v){i=v.call(r,i,a.normalize(),t?t.status:void 0)}),a.normalize(),i}function Za(e){return!!(e&&e.__CANCEL__)}function ar(e,t,r){ve.call(this,e??"canceled",ve.ERR_CANCELED,t,r),this.name="CanceledError"}W.inherits(ar,ve,{__CANCEL__:!0});function Ja(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new ve("Request failed with status code "+r.status,[ve.ERR_BAD_REQUEST,ve.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function um(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function fm(e,t){e=e||10;const r=new Array(e),n=new Array(e);let a=0,i=0,l;return t=t!==void 0?t:1e3,function(M){const y=Date.now(),h=n[i];l||(l=y),r[a]=M,n[a]=y;let S=i,B=0;for(;S!==a;)B+=r[S++],S=S%e;if(a=(a+1)%e,a===i&&(i=(i+1)%e),y-l<t)return;const z=h&&y-h;return z?Math.round(B*1e3/z):void 0}}function lm(e,t){let r=0,n=1e3/t,a,i;const l=(y,h=Date.now())=>{r=h,a=null,i&&(clearTimeout(i),i=null),e.apply(null,y)};return[(...y)=>{const h=Date.now(),S=h-r;S>=n?l(y,h):(a=y,i||(i=setTimeout(()=>{i=null,l(a)},n-S)))},()=>a&&l(a)]}const qr=(e,t,r=3)=>{let n=0;const a=fm(50,250);return lm(i=>{const l=i.loaded,v=i.lengthComputable?i.total:void 0,M=l-n,y=a(M),h=l<=v;n=l;const S={loaded:l,total:v,progress:v?l/v:void 0,bytes:M,rate:y||void 0,estimated:y&&v&&h?(v-l)/y:void 0,event:i,lengthComputable:v!=null,[t?"download":"upload"]:!0};e(S)},r)},Zo=(e,t)=>{const r=e!=null;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},Jo=e=>(...t)=>W.asap(()=>e(...t)),cm=Ke.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,Ke.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(Ke.origin),Ke.navigator&&/(msie|trident)/i.test(Ke.navigator.userAgent)):()=>!0,hm=Ke.hasStandardBrowserEnv?{write(e,t,r,n,a,i){const l=[e+"="+encodeURIComponent(t)];W.isNumber(r)&&l.push("expires="+new Date(r).toGMTString()),W.isString(n)&&l.push("path="+n),W.isString(a)&&l.push("domain="+a),i===!0&&l.push("secure"),document.cookie=l.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function dm(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function pm(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Va(e,t){return e&&!dm(t)?pm(e,t):t}const Vo=e=>e instanceof Ye?{...e}:e;function Pt(e,t){t=t||{};const r={};function n(y,h,S,B){return W.isPlainObject(y)&&W.isPlainObject(h)?W.merge.call({caseless:B},y,h):W.isPlainObject(h)?W.merge({},h):W.isArray(h)?h.slice():h}function a(y,h,S,B){if(W.isUndefined(h)){if(!W.isUndefined(y))return n(void 0,y,S,B)}else return n(y,h,S,B)}function i(y,h){if(!W.isUndefined(h))return n(void 0,h)}function l(y,h){if(W.isUndefined(h)){if(!W.isUndefined(y))return n(void 0,y)}else return n(void 0,h)}function v(y,h,S){if(S in t)return n(y,h);if(S in e)return n(void 0,y)}const M={url:i,method:i,data:i,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,withXSRFToken:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,responseEncoding:l,validateStatus:v,headers:(y,h,S)=>a(Vo(y),Vo(h),S,!0)};return W.forEach(Object.keys(Object.assign({},e,t)),function(h){const S=M[h]||a,B=S(e[h],t[h],h);W.isUndefined(B)&&S!==v||(r[h]=B)}),r}const Ka=e=>{const t=Pt({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:a,xsrfCookieName:i,headers:l,auth:v}=t;t.headers=l=Ye.from(l),t.url=Ha(Va(t.baseURL,t.url),e.params,e.paramsSerializer),v&&l.set("Authorization","Basic "+btoa((v.username||"")+":"+(v.password?unescape(encodeURIComponent(v.password)):"")));let M;if(W.isFormData(r)){if(Ke.hasStandardBrowserEnv||Ke.hasStandardBrowserWebWorkerEnv)l.setContentType(void 0);else if((M=l.getContentType())!==!1){const[y,...h]=M?M.split(";").map(S=>S.trim()).filter(Boolean):[];l.setContentType([y||"multipart/form-data",...h].join("; "))}}if(Ke.hasStandardBrowserEnv&&(n&&W.isFunction(n)&&(n=n(t)),n||n!==!1&&cm(t.url))){const y=a&&i&&hm.read(i);y&&l.set(a,y)}return t},gm=typeof XMLHttpRequest<"u",mm=gm&&function(e){return new Promise(function(r,n){const a=Ka(e);let i=a.data;const l=Ye.from(a.headers).normalize();let{responseType:v,onUploadProgress:M,onDownloadProgress:y}=a,h,S,B,z,G;function Z(){z&&z(),G&&G(),a.cancelToken&&a.cancelToken.unsubscribe(h),a.signal&&a.signal.removeEventListener("abort",h)}let q=new XMLHttpRequest;q.open(a.method.toUpperCase(),a.url,!0),q.timeout=a.timeout;function Q(){if(!q)return;const pe=Ye.from("getAllResponseHeaders"in q&&q.getAllResponseHeaders()),oe={data:!v||v==="text"||v==="json"?q.responseText:q.response,status:q.status,statusText:q.statusText,headers:pe,config:e,request:q};Ja(function(K){r(K),Z()},function(K){n(K),Z()},oe),q=null}"onloadend"in q?q.onloadend=Q:q.onreadystatechange=function(){!q||q.readyState!==4||q.status===0&&!(q.responseURL&&q.responseURL.indexOf("file:")===0)||setTimeout(Q)},q.onabort=function(){q&&(n(new ve("Request aborted",ve.ECONNABORTED,e,q)),q=null)},q.onerror=function(){n(new ve("Network Error",ve.ERR_NETWORK,e,q)),q=null},q.ontimeout=function(){let ce=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";const oe=a.transitional||Ga;a.timeoutErrorMessage&&(ce=a.timeoutErrorMessage),n(new ve(ce,oe.clarifyTimeoutError?ve.ETIMEDOUT:ve.ECONNABORTED,e,q)),q=null},i===void 0&&l.setContentType(null),"setRequestHeader"in q&&W.forEach(l.toJSON(),function(ce,oe){q.setRequestHeader(oe,ce)}),W.isUndefined(a.withCredentials)||(q.withCredentials=!!a.withCredentials),v&&v!=="json"&&(q.responseType=a.responseType),y&&([B,G]=qr(y,!0),q.addEventListener("progress",B)),M&&q.upload&&([S,z]=qr(M),q.upload.addEventListener("progress",S),q.upload.addEventListener("loadend",z)),(a.cancelToken||a.signal)&&(h=pe=>{q&&(n(!pe||pe.type?new ar(null,e,q):pe),q.abort(),q=null)},a.cancelToken&&a.cancelToken.subscribe(h),a.signal&&(a.signal.aborted?h():a.signal.addEventListener("abort",h)));const X=um(a.url);if(X&&Ke.protocols.indexOf(X)===-1){n(new ve("Unsupported protocol "+X+":",ve.ERR_BAD_REQUEST,e));return}q.send(i||null)})},ym=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let n=new AbortController,a;const i=function(y){if(!a){a=!0,v();const h=y instanceof Error?y:this.reason;n.abort(h instanceof ve?h:new ar(h instanceof Error?h.message:h))}};let l=t&&setTimeout(()=>{l=null,i(new ve(`timeout ${t} of ms exceeded`,ve.ETIMEDOUT))},t);const v=()=>{e&&(l&&clearTimeout(l),l=null,e.forEach(y=>{y.unsubscribe?y.unsubscribe(i):y.removeEventListener("abort",i)}),e=null)};e.forEach(y=>y.addEventListener("abort",i));const{signal:M}=n;return M.unsubscribe=()=>W.asap(v),M}},wm=function*(e,t){let r=e.byteLength;if(!t||r<t){yield e;return}let n=0,a;for(;n<r;)a=n+t,yield e.slice(n,a),n=a},vm=async function*(e,t){for await(const r of bm(e))yield*wm(r,t)},bm=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:r,value:n}=await t.read();if(r)break;yield n}}finally{await t.cancel()}},Ko=(e,t,r,n)=>{const a=vm(e,t);let i=0,l,v=M=>{l||(l=!0,n&&n(M))};return new ReadableStream({async pull(M){try{const{done:y,value:h}=await a.next();if(y){v(),M.close();return}let S=h.byteLength;if(r){let B=i+=S;r(B)}M.enqueue(new Uint8Array(h))}catch(y){throw v(y),y}},cancel(M){return v(M),a.return()}},{highWaterMark:2})},gn=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Ya=gn&&typeof ReadableStream=="function",xm=gn&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Xa=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Mm=Ya&&Xa(()=>{let e=!1;const t=new Request(Ke.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Yo=64*1024,wi=Ya&&Xa(()=>W.isReadableStream(new Response("").body)),zr={stream:wi&&(e=>e.body)};gn&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!zr[t]&&(zr[t]=W.isFunction(e[t])?r=>r[t]():(r,n)=>{throw new ve(`Response type '${t}' is not supported`,ve.ERR_NOT_SUPPORT,n)})})})(new Response);const _m=async e=>{if(e==null)return 0;if(W.isBlob(e))return e.size;if(W.isSpecCompliantForm(e))return(await new Request(Ke.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(W.isArrayBufferView(e)||W.isArrayBuffer(e))return e.byteLength;if(W.isURLSearchParams(e)&&(e=e+""),W.isString(e))return(await xm(e)).byteLength},Em=async(e,t)=>{const r=W.toFiniteNumber(e.getContentLength());return r??_m(t)},Sm=gn&&(async e=>{let{url:t,method:r,data:n,signal:a,cancelToken:i,timeout:l,onDownloadProgress:v,onUploadProgress:M,responseType:y,headers:h,withCredentials:S="same-origin",fetchOptions:B}=Ka(e);y=y?(y+"").toLowerCase():"text";let z=ym([a,i&&i.toAbortSignal()],l),G;const Z=z&&z.unsubscribe&&(()=>{z.unsubscribe()});let q;try{if(M&&Mm&&r!=="get"&&r!=="head"&&(q=await Em(h,n))!==0){let oe=new Request(t,{method:"POST",body:n,duplex:"half"}),V;if(W.isFormData(n)&&(V=oe.headers.get("content-type"))&&h.setContentType(V),oe.body){const[K,ae]=Zo(q,qr(Jo(M)));n=Ko(oe.body,Yo,K,ae)}}W.isString(S)||(S=S?"include":"omit");const Q="credentials"in Request.prototype;G=new Request(t,{...B,signal:z,method:r.toUpperCase(),headers:h.normalize().toJSON(),body:n,duplex:"half",credentials:Q?S:void 0});let X=await fetch(G);const pe=wi&&(y==="stream"||y==="response");if(wi&&(v||pe&&Z)){const oe={};["status","statusText","headers"].forEach(se=>{oe[se]=X[se]});const V=W.toFiniteNumber(X.headers.get("content-length")),[K,ae]=v&&Zo(V,qr(Jo(v),!0))||[];X=new Response(Ko(X.body,Yo,K,()=>{ae&&ae(),Z&&Z()}),oe)}y=y||"text";let ce=await zr[W.findKey(zr,y)||"text"](X,e);return!pe&&Z&&Z(),await new Promise((oe,V)=>{Ja(oe,V,{data:ce,headers:Ye.from(X.headers),status:X.status,statusText:X.statusText,config:e,request:G})})}catch(Q){throw Z&&Z(),Q&&Q.name==="TypeError"&&/fetch/i.test(Q.message)?Object.assign(new ve("Network Error",ve.ERR_NETWORK,e,G),{cause:Q.cause||Q}):ve.from(Q,Q&&Q.code,e,G)}}),vi={http:jg,xhr:mm,fetch:Sm};W.forEach(vi,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Xo=e=>`- ${e}`,Om=e=>W.isFunction(e)||e===null||e===!1,Qa={getAdapter:e=>{e=W.isArray(e)?e:[e];const{length:t}=e;let r,n;const a={};for(let i=0;i<t;i++){r=e[i];let l;if(n=r,!Om(r)&&(n=vi[(l=String(r)).toLowerCase()],n===void 0))throw new ve(`Unknown adapter '${l}'`);if(n)break;a[l||"#"+i]=n}if(!n){const i=Object.entries(a).map(([v,M])=>`adapter ${v} `+(M===!1?"is not supported by the environment":"is not available in the build"));let l=t?i.length>1?`since :
|
|
9
|
+
`+i.map(Xo).join(`
|
|
10
|
+
`):" "+Xo(i[0]):"as no adapter specified";throw new ve("There is no suitable adapter to dispatch the request "+l,"ERR_NOT_SUPPORT")}return n},adapters:vi};function Wn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ar(null,e)}function Qo(e){return Wn(e),e.headers=Ye.from(e.headers),e.data=Gn.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Qa.getAdapter(e.adapter||Er.adapter)(e).then(function(n){return Wn(e),n.data=Gn.call(e,e.transformResponse,n),n.headers=Ye.from(n.headers),n},function(n){return Za(n)||(Wn(e),n&&n.response&&(n.response.data=Gn.call(e,e.transformResponse,n.response),n.response.headers=Ye.from(n.response.headers))),Promise.reject(n)})}const eu="1.7.9",mn={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{mn[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const es={};mn.transitional=function(t,r,n){function a(i,l){return"[Axios v"+eu+"] Transitional option '"+i+"'"+l+(n?". "+n:"")}return(i,l,v)=>{if(t===!1)throw new ve(a(l," has been removed"+(r?" in "+r:"")),ve.ERR_DEPRECATED);return r&&!es[l]&&(es[l]=!0,console.warn(a(l," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(i,l,v):!0}};mn.spelling=function(t){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function Am(e,t,r){if(typeof e!="object")throw new ve("options must be an object",ve.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let a=n.length;for(;a-- >0;){const i=n[a],l=t[i];if(l){const v=e[i],M=v===void 0||l(v,i,e);if(M!==!0)throw new ve("option "+i+" must be "+M,ve.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new ve("Unknown option "+i,ve.ERR_BAD_OPTION)}}const Nr={assertOptions:Am,validators:mn},ct=Nr.validators;let Bt=class{constructor(t){this.defaults=t,this.interceptors={request:new Go,response:new Go}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let a={};Error.captureStackTrace?Error.captureStackTrace(a):a=new Error;const i=a.stack?a.stack.replace(/^.+\n/,""):"";try{n.stack?i&&!String(n.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(n.stack+=`
|
|
11
|
+
`+i):n.stack=i}catch{}}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Pt(this.defaults,r);const{transitional:n,paramsSerializer:a,headers:i}=r;n!==void 0&&Nr.assertOptions(n,{silentJSONParsing:ct.transitional(ct.boolean),forcedJSONParsing:ct.transitional(ct.boolean),clarifyTimeoutError:ct.transitional(ct.boolean)},!1),a!=null&&(W.isFunction(a)?r.paramsSerializer={serialize:a}:Nr.assertOptions(a,{encode:ct.function,serialize:ct.function},!0)),Nr.assertOptions(r,{baseUrl:ct.spelling("baseURL"),withXsrfToken:ct.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let l=i&&W.merge(i.common,i[r.method]);i&&W.forEach(["delete","get","head","post","put","patch","common"],G=>{delete i[G]}),r.headers=Ye.concat(l,i);const v=[];let M=!0;this.interceptors.request.forEach(function(Z){typeof Z.runWhen=="function"&&Z.runWhen(r)===!1||(M=M&&Z.synchronous,v.unshift(Z.fulfilled,Z.rejected))});const y=[];this.interceptors.response.forEach(function(Z){y.push(Z.fulfilled,Z.rejected)});let h,S=0,B;if(!M){const G=[Qo.bind(this),void 0];for(G.unshift.apply(G,v),G.push.apply(G,y),B=G.length,h=Promise.resolve(r);S<B;)h=h.then(G[S++],G[S++]);return h}B=v.length;let z=r;for(S=0;S<B;){const G=v[S++],Z=v[S++];try{z=G(z)}catch(q){Z.call(this,q);break}}try{h=Qo.call(this,z)}catch(G){return Promise.reject(G)}for(S=0,B=y.length;S<B;)h=h.then(y[S++],y[S++]);return h}getUri(t){t=Pt(this.defaults,t);const r=Va(t.baseURL,t.url);return Ha(r,t.params,t.paramsSerializer)}};W.forEach(["delete","get","head","options"],function(t){Bt.prototype[t]=function(r,n){return this.request(Pt(n||{},{method:t,url:r,data:(n||{}).data}))}});W.forEach(["post","put","patch"],function(t){function r(n){return function(i,l,v){return this.request(Pt(v||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:i,data:l}))}}Bt.prototype[t]=r(),Bt.prototype[t+"Form"]=r(!0)});let Tm=class tu{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(i){r=i});const n=this;this.promise.then(a=>{if(!n._listeners)return;let i=n._listeners.length;for(;i-- >0;)n._listeners[i](a);n._listeners=null}),this.promise.then=a=>{let i;const l=new Promise(v=>{n.subscribe(v),i=v}).then(a);return l.cancel=function(){n.unsubscribe(i)},l},t(function(i,l,v){n.reason||(n.reason=new ar(i,l,v),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=n=>{t.abort(n)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new tu(function(a){t=a}),cancel:t}}};function $m(e){return function(r){return e.apply(null,r)}}function Cm(e){return W.isObject(e)&&e.isAxiosError===!0}const bi={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(bi).forEach(([e,t])=>{bi[t]=e});function ru(e){const t=new Bt(e),r=Ca(Bt.prototype.request,t);return W.extend(r,Bt.prototype,t,{allOwnKeys:!0}),W.extend(r,t,null,{allOwnKeys:!0}),r.create=function(a){return ru(Pt(e,a))},r}const Ce=ru(Er);Ce.Axios=Bt;Ce.CanceledError=ar;Ce.CancelToken=Tm;Ce.isCancel=Za;Ce.VERSION=eu;Ce.toFormData=pn;Ce.AxiosError=ve;Ce.Cancel=Ce.CanceledError;Ce.all=function(t){return Promise.all(t)};Ce.spread=$m;Ce.isAxiosError=Cm;Ce.mergeConfig=Pt;Ce.AxiosHeaders=Ye;Ce.formToJSON=e=>Wa(W.isHTMLForm(e)?new FormData(e):e);Ce.getAdapter=Qa.getAdapter;Ce.HttpStatusCode=bi;Ce.default=Ce;const{Axios:Rm,AxiosError:Bm,CanceledError:Fm,isCancel:Im,CancelToken:Nm,VERSION:Pm,all:Lm,Cancel:Um,isAxiosError:Dm,spread:jm,toFormData:km,AxiosHeaders:qm,HttpStatusCode:zm,formToJSON:Hm,getAdapter:Gm,mergeConfig:Wm}=Ce,Sv=Object.freeze(Object.defineProperty({__proto__:null,Axios:Rm,AxiosError:Bm,AxiosHeaders:qm,Cancel:Um,CancelToken:Nm,CanceledError:Fm,HttpStatusCode:zm,VERSION:Pm,all:Lm,default:Ce,formToJSON:Hm,getAdapter:Gm,isAxiosError:Dm,isCancel:Im,mergeConfig:Wm,spread:jm,toFormData:km},Symbol.toStringTag,{value:"Module"}));var Zm="[object Boolean]";function Jm(e){return e===!0||e===!1||Xe(e)&&ut(e)==Zm}const Ov=Object.freeze(Object.defineProperty({__proto__:null,default:Jm},Symbol.toStringTag,{value:"Module"}));var Vm="[object String]";function Km(e){return typeof e=="string"||!$e(e)&&Xe(e)&&ut(e)==Vm}const Av=Object.freeze(Object.defineProperty({__proto__:null,default:Km},Symbol.toStringTag,{value:"Module"}));var Ym="[object Number]";function Xm(e){return typeof e=="number"||Xe(e)&&ut(e)==Ym}const Tv=Object.freeze(Object.defineProperty({__proto__:null,default:Xm},Symbol.toStringTag,{value:"Module"}));function Qm(e){return function(t){t=tt(t);var r=Wr(t)?Jt(t):void 0,n=r?r[0]:t.charAt(0),a=r?Gr(r,1).join(""):t.slice(1);return n[e]()+a}}var nu=Qm("toUpperCase");const $v=Object.freeze(Object.defineProperty({__proto__:null,default:nu},Symbol.toStringTag,{value:"Module"}));function e1(e){return nu(tt(e).toLowerCase())}function t1(e,t,r,n){for(var a=-1,i=e==null?0:e.length;++a<i;)r=t(r,e[a],a,e);return r}function iu(e){return function(t){return e==null?void 0:e[t]}}var r1={À:"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"},n1=iu(r1),i1=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,o1="\\u0300-\\u036f",s1="\\ufe20-\\ufe2f",a1="\\u20d0-\\u20ff",u1=o1+s1+a1,f1="["+u1+"]",l1=RegExp(f1,"g");function c1(e){return e=tt(e),e&&e.replace(i1,n1).replace(l1,"")}var h1=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function d1(e){return e.match(h1)||[]}var p1=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function g1(e){return p1.test(e)}var ou="\\ud800-\\udfff",m1="\\u0300-\\u036f",y1="\\ufe20-\\ufe2f",w1="\\u20d0-\\u20ff",v1=m1+y1+w1,su="\\u2700-\\u27bf",au="a-z\\xdf-\\xf6\\xf8-\\xff",b1="\\xac\\xb1\\xd7\\xf7",x1="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",M1="\\u2000-\\u206f",_1=" \\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",uu="A-Z\\xc0-\\xd6\\xd8-\\xde",E1="\\ufe0e\\ufe0f",fu=b1+x1+M1+_1,lu="['’]",ts="["+fu+"]",S1="["+v1+"]",cu="\\d+",O1="["+su+"]",hu="["+au+"]",du="[^"+ou+fu+cu+su+au+uu+"]",A1="\\ud83c[\\udffb-\\udfff]",T1="(?:"+S1+"|"+A1+")",$1="[^"+ou+"]",pu="(?:\\ud83c[\\udde6-\\uddff]){2}",gu="[\\ud800-\\udbff][\\udc00-\\udfff]",qt="["+uu+"]",C1="\\u200d",rs="(?:"+hu+"|"+du+")",R1="(?:"+qt+"|"+du+")",ns="(?:"+lu+"(?:d|ll|m|re|s|t|ve))?",is="(?:"+lu+"(?:D|LL|M|RE|S|T|VE))?",mu=T1+"?",yu="["+E1+"]?",B1="(?:"+C1+"(?:"+[$1,pu,gu].join("|")+")"+yu+mu+")*",F1="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",I1="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",N1=yu+mu+B1,P1="(?:"+[O1,pu,gu].join("|")+")"+N1,L1=RegExp([qt+"?"+hu+"+"+ns+"(?="+[ts,qt,"$"].join("|")+")",R1+"+"+is+"(?="+[ts,qt+rs,"$"].join("|")+")",qt+"?"+rs+"+"+ns,qt+"+"+is,I1,F1,cu,P1].join("|"),"g");function U1(e){return e.match(L1)||[]}function D1(e,t,r){return e=tt(e),t=t,t===void 0?g1(e)?U1(e):d1(e):e.match(t)||[]}var j1="['’]",k1=RegExp(j1,"g");function q1(e){return function(t){return t1(D1(c1(t).replace(k1,"")),e,"")}}var z1=q1(function(e,t,r){return t=t.toLowerCase(),e+(r?e1(t):t)});const Cv=Object.freeze(Object.defineProperty({__proto__:null,default:z1},Symbol.toStringTag,{value:"Module"}));function H1(e){return e===null}const Rv=Object.freeze(Object.defineProperty({__proto__:null,default:H1},Symbol.toStringTag,{value:"Module"}));function G1(e,t,r){e=tt(e),t=er(t);var n=t?_i(e):0;return t&&n<t?e+Bs(t-n,r):e}const Bv=Object.freeze(Object.defineProperty({__proto__:null,default:G1},Symbol.toStringTag,{value:"Module"})),W1=ju(Dg);var Ji={exports:{}};Ji.exports;(function(e){(function(t,r){function n(E,o){if(!E)throw new Error(o||"Assertion failed")}function a(E,o){E.super_=o;var c=function(){};c.prototype=o.prototype,E.prototype=new c,E.prototype.constructor=E}function i(E,o,c){if(i.isBN(E))return E;this.negative=0,this.words=null,this.length=0,this.red=null,E!==null&&((o==="le"||o==="be")&&(c=o,o=10),this._init(E||0,o||10,c||"be"))}typeof t=="object"?t.exports=i:r.BN=i,i.BN=i,i.wordSize=26;var l;try{typeof window<"u"&&typeof window.Buffer<"u"?l=window.Buffer:l=W1.Buffer}catch{}i.isBN=function(o){return o instanceof i?!0:o!==null&&typeof o=="object"&&o.constructor.wordSize===i.wordSize&&Array.isArray(o.words)},i.max=function(o,c){return o.cmp(c)>0?o:c},i.min=function(o,c){return o.cmp(c)<0?o:c},i.prototype._init=function(o,c,d){if(typeof o=="number")return this._initNumber(o,c,d);if(typeof o=="object")return this._initArray(o,c,d);c==="hex"&&(c=16),n(c===(c|0)&&c>=2&&c<=36),o=o.toString().replace(/\s+/g,"");var p=0;o[0]==="-"&&(p++,this.negative=1),p<o.length&&(c===16?this._parseHex(o,p,d):(this._parseBase(o,c,p),d==="le"&&this._initArray(this.toArray(),c,d)))},i.prototype._initNumber=function(o,c,d){o<0&&(this.negative=1,o=-o),o<67108864?(this.words=[o&67108863],this.length=1):o<4503599627370496?(this.words=[o&67108863,o/67108864&67108863],this.length=2):(n(o<9007199254740992),this.words=[o&67108863,o/67108864&67108863,1],this.length=3),d==="le"&&this._initArray(this.toArray(),c,d)},i.prototype._initArray=function(o,c,d){if(n(typeof o.length=="number"),o.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(o.length/3),this.words=new Array(this.length);for(var p=0;p<this.length;p++)this.words[p]=0;var w,A,$=0;if(d==="be")for(p=o.length-1,w=0;p>=0;p-=3)A=o[p]|o[p-1]<<8|o[p-2]<<16,this.words[w]|=A<<$&67108863,this.words[w+1]=A>>>26-$&67108863,$+=24,$>=26&&($-=26,w++);else if(d==="le")for(p=0,w=0;p<o.length;p+=3)A=o[p]|o[p+1]<<8|o[p+2]<<16,this.words[w]|=A<<$&67108863,this.words[w+1]=A>>>26-$&67108863,$+=24,$>=26&&($-=26,w++);return this.strip()};function v(E,o){var c=E.charCodeAt(o);return c>=65&&c<=70?c-55:c>=97&&c<=102?c-87:c-48&15}function M(E,o,c){var d=v(E,c);return c-1>=o&&(d|=v(E,c-1)<<4),d}i.prototype._parseHex=function(o,c,d){this.length=Math.ceil((o.length-c)/6),this.words=new Array(this.length);for(var p=0;p<this.length;p++)this.words[p]=0;var w=0,A=0,$;if(d==="be")for(p=o.length-1;p>=c;p-=2)$=M(o,c,p)<<w,this.words[A]|=$&67108863,w>=18?(w-=18,A+=1,this.words[A]|=$>>>26):w+=8;else{var b=o.length-c;for(p=b%2===0?c+1:c;p<o.length;p+=2)$=M(o,c,p)<<w,this.words[A]|=$&67108863,w>=18?(w-=18,A+=1,this.words[A]|=$>>>26):w+=8}this.strip()};function y(E,o,c,d){for(var p=0,w=Math.min(E.length,c),A=o;A<w;A++){var $=E.charCodeAt(A)-48;p*=d,$>=49?p+=$-49+10:$>=17?p+=$-17+10:p+=$}return p}i.prototype._parseBase=function(o,c,d){this.words=[0],this.length=1;for(var p=0,w=1;w<=67108863;w*=c)p++;p--,w=w/c|0;for(var A=o.length-d,$=A%p,b=Math.min(A,A-$)+d,u=0,_=d;_<b;_+=p)u=y(o,_,_+p,c),this.imuln(w),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u);if($!==0){var ee=1;for(u=y(o,_,o.length,c),_=0;_<$;_++)ee*=c;this.imuln(ee),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u)}this.strip()},i.prototype.copy=function(o){o.words=new Array(this.length);for(var c=0;c<this.length;c++)o.words[c]=this.words[c];o.length=this.length,o.negative=this.negative,o.red=this.red},i.prototype.clone=function(){var o=new i(null);return this.copy(o),o},i.prototype._expand=function(o){for(;this.length<o;)this.words[this.length++]=0;return this},i.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},i.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},i.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var h=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],S=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],B=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];i.prototype.toString=function(o,c){o=o||10,c=c|0||1;var d;if(o===16||o==="hex"){d="";for(var p=0,w=0,A=0;A<this.length;A++){var $=this.words[A],b=(($<<p|w)&16777215).toString(16);w=$>>>24-p&16777215,w!==0||A!==this.length-1?d=h[6-b.length]+b+d:d=b+d,p+=2,p>=26&&(p-=26,A--)}for(w!==0&&(d=w.toString(16)+d);d.length%c!==0;)d="0"+d;return this.negative!==0&&(d="-"+d),d}if(o===(o|0)&&o>=2&&o<=36){var u=S[o],_=B[o];d="";var ee=this.clone();for(ee.negative=0;!ee.isZero();){var te=ee.modn(_).toString(o);ee=ee.idivn(_),ee.isZero()?d=te+d:d=h[u-te.length]+te+d}for(this.isZero()&&(d="0"+d);d.length%c!==0;)d="0"+d;return this.negative!==0&&(d="-"+d),d}n(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var o=this.words[0];return this.length===2?o+=this.words[1]*67108864:this.length===3&&this.words[2]===1?o+=4503599627370496+this.words[1]*67108864:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-o:o},i.prototype.toJSON=function(){return this.toString(16)},i.prototype.toBuffer=function(o,c){return n(typeof l<"u"),this.toArrayLike(l,o,c)},i.prototype.toArray=function(o,c){return this.toArrayLike(Array,o,c)},i.prototype.toArrayLike=function(o,c,d){var p=this.byteLength(),w=d||Math.max(1,p);n(p<=w,"byte array longer than desired length"),n(w>0,"Requested array length <= 0"),this.strip();var A=c==="le",$=new o(w),b,u,_=this.clone();if(A){for(u=0;!_.isZero();u++)b=_.andln(255),_.iushrn(8),$[u]=b;for(;u<w;u++)$[u]=0}else{for(u=0;u<w-p;u++)$[u]=0;for(u=0;!_.isZero();u++)b=_.andln(255),_.iushrn(8),$[w-u-1]=b}return $},Math.clz32?i.prototype._countBits=function(o){return 32-Math.clz32(o)}:i.prototype._countBits=function(o){var c=o,d=0;return c>=4096&&(d+=13,c>>>=13),c>=64&&(d+=7,c>>>=7),c>=8&&(d+=4,c>>>=4),c>=2&&(d+=2,c>>>=2),d+c},i.prototype._zeroBits=function(o){if(o===0)return 26;var c=o,d=0;return c&8191||(d+=13,c>>>=13),c&127||(d+=7,c>>>=7),c&15||(d+=4,c>>>=4),c&3||(d+=2,c>>>=2),c&1||d++,d},i.prototype.bitLength=function(){var o=this.words[this.length-1],c=this._countBits(o);return(this.length-1)*26+c};function z(E){for(var o=new Array(E.bitLength()),c=0;c<o.length;c++){var d=c/26|0,p=c%26;o[c]=(E.words[d]&1<<p)>>>p}return o}i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var o=0,c=0;c<this.length;c++){var d=this._zeroBits(this.words[c]);if(o+=d,d!==26)break}return o},i.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},i.prototype.toTwos=function(o){return this.negative!==0?this.abs().inotn(o).iaddn(1):this.clone()},i.prototype.fromTwos=function(o){return this.testn(o-1)?this.notn(o).iaddn(1).ineg():this.clone()},i.prototype.isNeg=function(){return this.negative!==0},i.prototype.neg=function(){return this.clone().ineg()},i.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},i.prototype.iuor=function(o){for(;this.length<o.length;)this.words[this.length++]=0;for(var c=0;c<o.length;c++)this.words[c]=this.words[c]|o.words[c];return this.strip()},i.prototype.ior=function(o){return n((this.negative|o.negative)===0),this.iuor(o)},i.prototype.or=function(o){return this.length>o.length?this.clone().ior(o):o.clone().ior(this)},i.prototype.uor=function(o){return this.length>o.length?this.clone().iuor(o):o.clone().iuor(this)},i.prototype.iuand=function(o){var c;this.length>o.length?c=o:c=this;for(var d=0;d<c.length;d++)this.words[d]=this.words[d]&o.words[d];return this.length=c.length,this.strip()},i.prototype.iand=function(o){return n((this.negative|o.negative)===0),this.iuand(o)},i.prototype.and=function(o){return this.length>o.length?this.clone().iand(o):o.clone().iand(this)},i.prototype.uand=function(o){return this.length>o.length?this.clone().iuand(o):o.clone().iuand(this)},i.prototype.iuxor=function(o){var c,d;this.length>o.length?(c=this,d=o):(c=o,d=this);for(var p=0;p<d.length;p++)this.words[p]=c.words[p]^d.words[p];if(this!==c)for(;p<c.length;p++)this.words[p]=c.words[p];return this.length=c.length,this.strip()},i.prototype.ixor=function(o){return n((this.negative|o.negative)===0),this.iuxor(o)},i.prototype.xor=function(o){return this.length>o.length?this.clone().ixor(o):o.clone().ixor(this)},i.prototype.uxor=function(o){return this.length>o.length?this.clone().iuxor(o):o.clone().iuxor(this)},i.prototype.inotn=function(o){n(typeof o=="number"&&o>=0);var c=Math.ceil(o/26)|0,d=o%26;this._expand(c),d>0&&c--;for(var p=0;p<c;p++)this.words[p]=~this.words[p]&67108863;return d>0&&(this.words[p]=~this.words[p]&67108863>>26-d),this.strip()},i.prototype.notn=function(o){return this.clone().inotn(o)},i.prototype.setn=function(o,c){n(typeof o=="number"&&o>=0);var d=o/26|0,p=o%26;return this._expand(d+1),c?this.words[d]=this.words[d]|1<<p:this.words[d]=this.words[d]&~(1<<p),this.strip()},i.prototype.iadd=function(o){var c;if(this.negative!==0&&o.negative===0)return this.negative=0,c=this.isub(o),this.negative^=1,this._normSign();if(this.negative===0&&o.negative!==0)return o.negative=0,c=this.isub(o),o.negative=1,c._normSign();var d,p;this.length>o.length?(d=this,p=o):(d=o,p=this);for(var w=0,A=0;A<p.length;A++)c=(d.words[A]|0)+(p.words[A]|0)+w,this.words[A]=c&67108863,w=c>>>26;for(;w!==0&&A<d.length;A++)c=(d.words[A]|0)+w,this.words[A]=c&67108863,w=c>>>26;if(this.length=d.length,w!==0)this.words[this.length]=w,this.length++;else if(d!==this)for(;A<d.length;A++)this.words[A]=d.words[A];return this},i.prototype.add=function(o){var c;return o.negative!==0&&this.negative===0?(o.negative=0,c=this.sub(o),o.negative^=1,c):o.negative===0&&this.negative!==0?(this.negative=0,c=o.sub(this),this.negative=1,c):this.length>o.length?this.clone().iadd(o):o.clone().iadd(this)},i.prototype.isub=function(o){if(o.negative!==0){o.negative=0;var c=this.iadd(o);return o.negative=1,c._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(o),this.negative=1,this._normSign();var d=this.cmp(o);if(d===0)return this.negative=0,this.length=1,this.words[0]=0,this;var p,w;d>0?(p=this,w=o):(p=o,w=this);for(var A=0,$=0;$<w.length;$++)c=(p.words[$]|0)-(w.words[$]|0)+A,A=c>>26,this.words[$]=c&67108863;for(;A!==0&&$<p.length;$++)c=(p.words[$]|0)+A,A=c>>26,this.words[$]=c&67108863;if(A===0&&$<p.length&&p!==this)for(;$<p.length;$++)this.words[$]=p.words[$];return this.length=Math.max(this.length,$),p!==this&&(this.negative=1),this.strip()},i.prototype.sub=function(o){return this.clone().isub(o)};function G(E,o,c){c.negative=o.negative^E.negative;var d=E.length+o.length|0;c.length=d,d=d-1|0;var p=E.words[0]|0,w=o.words[0]|0,A=p*w,$=A&67108863,b=A/67108864|0;c.words[0]=$;for(var u=1;u<d;u++){for(var _=b>>>26,ee=b&67108863,te=Math.min(u,o.length-1),L=Math.max(0,u-E.length+1);L<=te;L++){var ie=u-L|0;p=E.words[ie]|0,w=o.words[L]|0,A=p*w+ee,_+=A/67108864|0,ee=A&67108863}c.words[u]=ee|0,b=_|0}return b!==0?c.words[u]=b|0:c.length--,c.strip()}var Z=function(o,c,d){var p=o.words,w=c.words,A=d.words,$=0,b,u,_,ee=p[0]|0,te=ee&8191,L=ee>>>13,ie=p[1]|0,ye=ie&8191,be=ie>>>13,xe=p[2]|0,ge=xe&8191,m=xe>>>13,O=p[3]|0,T=O&8191,P=O>>>13,N=p[4]|0,I=N&8191,D=N>>>13,R=p[5]|0,F=R&8191,U=R>>>13,k=p[6]|0,J=k&8191,ne=k>>>13,ue=p[7]|0,fe=ue&8191,de=ue>>>13,_e=p[8]|0,he=_e&8191,le=_e>>>13,Te=p[9]|0,g=Te&8191,s=Te>>>13,f=w[0]|0,x=f&8191,C=f>>>13,j=w[1]|0,H=j&8191,re=j>>>13,Se=w[2]|0,me=Se&8191,we=Se>>>13,Me=w[3]|0,Be=Me&8191,Fe=Me>>>13,eo=w[4]|0,Ie=eo&8191,Ne=eo>>>13,to=w[5]|0,Pe=to&8191,Le=to>>>13,ro=w[6]|0,Ue=ro&8191,De=ro>>>13,no=w[7]|0,je=no&8191,ke=no>>>13,io=w[8]|0,qe=io&8191,ze=io>>>13,oo=w[9]|0,He=oo&8191,Ge=oo>>>13;d.negative=o.negative^c.negative,d.length=19,b=Math.imul(te,x),u=Math.imul(te,C),u=u+Math.imul(L,x)|0,_=Math.imul(L,C);var wn=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(wn>>>26)|0,wn&=67108863,b=Math.imul(ye,x),u=Math.imul(ye,C),u=u+Math.imul(be,x)|0,_=Math.imul(be,C),b=b+Math.imul(te,H)|0,u=u+Math.imul(te,re)|0,u=u+Math.imul(L,H)|0,_=_+Math.imul(L,re)|0;var vn=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(vn>>>26)|0,vn&=67108863,b=Math.imul(ge,x),u=Math.imul(ge,C),u=u+Math.imul(m,x)|0,_=Math.imul(m,C),b=b+Math.imul(ye,H)|0,u=u+Math.imul(ye,re)|0,u=u+Math.imul(be,H)|0,_=_+Math.imul(be,re)|0,b=b+Math.imul(te,me)|0,u=u+Math.imul(te,we)|0,u=u+Math.imul(L,me)|0,_=_+Math.imul(L,we)|0;var bn=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(bn>>>26)|0,bn&=67108863,b=Math.imul(T,x),u=Math.imul(T,C),u=u+Math.imul(P,x)|0,_=Math.imul(P,C),b=b+Math.imul(ge,H)|0,u=u+Math.imul(ge,re)|0,u=u+Math.imul(m,H)|0,_=_+Math.imul(m,re)|0,b=b+Math.imul(ye,me)|0,u=u+Math.imul(ye,we)|0,u=u+Math.imul(be,me)|0,_=_+Math.imul(be,we)|0,b=b+Math.imul(te,Be)|0,u=u+Math.imul(te,Fe)|0,u=u+Math.imul(L,Be)|0,_=_+Math.imul(L,Fe)|0;var xn=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(xn>>>26)|0,xn&=67108863,b=Math.imul(I,x),u=Math.imul(I,C),u=u+Math.imul(D,x)|0,_=Math.imul(D,C),b=b+Math.imul(T,H)|0,u=u+Math.imul(T,re)|0,u=u+Math.imul(P,H)|0,_=_+Math.imul(P,re)|0,b=b+Math.imul(ge,me)|0,u=u+Math.imul(ge,we)|0,u=u+Math.imul(m,me)|0,_=_+Math.imul(m,we)|0,b=b+Math.imul(ye,Be)|0,u=u+Math.imul(ye,Fe)|0,u=u+Math.imul(be,Be)|0,_=_+Math.imul(be,Fe)|0,b=b+Math.imul(te,Ie)|0,u=u+Math.imul(te,Ne)|0,u=u+Math.imul(L,Ie)|0,_=_+Math.imul(L,Ne)|0;var Mn=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(Mn>>>26)|0,Mn&=67108863,b=Math.imul(F,x),u=Math.imul(F,C),u=u+Math.imul(U,x)|0,_=Math.imul(U,C),b=b+Math.imul(I,H)|0,u=u+Math.imul(I,re)|0,u=u+Math.imul(D,H)|0,_=_+Math.imul(D,re)|0,b=b+Math.imul(T,me)|0,u=u+Math.imul(T,we)|0,u=u+Math.imul(P,me)|0,_=_+Math.imul(P,we)|0,b=b+Math.imul(ge,Be)|0,u=u+Math.imul(ge,Fe)|0,u=u+Math.imul(m,Be)|0,_=_+Math.imul(m,Fe)|0,b=b+Math.imul(ye,Ie)|0,u=u+Math.imul(ye,Ne)|0,u=u+Math.imul(be,Ie)|0,_=_+Math.imul(be,Ne)|0,b=b+Math.imul(te,Pe)|0,u=u+Math.imul(te,Le)|0,u=u+Math.imul(L,Pe)|0,_=_+Math.imul(L,Le)|0;var _n=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(_n>>>26)|0,_n&=67108863,b=Math.imul(J,x),u=Math.imul(J,C),u=u+Math.imul(ne,x)|0,_=Math.imul(ne,C),b=b+Math.imul(F,H)|0,u=u+Math.imul(F,re)|0,u=u+Math.imul(U,H)|0,_=_+Math.imul(U,re)|0,b=b+Math.imul(I,me)|0,u=u+Math.imul(I,we)|0,u=u+Math.imul(D,me)|0,_=_+Math.imul(D,we)|0,b=b+Math.imul(T,Be)|0,u=u+Math.imul(T,Fe)|0,u=u+Math.imul(P,Be)|0,_=_+Math.imul(P,Fe)|0,b=b+Math.imul(ge,Ie)|0,u=u+Math.imul(ge,Ne)|0,u=u+Math.imul(m,Ie)|0,_=_+Math.imul(m,Ne)|0,b=b+Math.imul(ye,Pe)|0,u=u+Math.imul(ye,Le)|0,u=u+Math.imul(be,Pe)|0,_=_+Math.imul(be,Le)|0,b=b+Math.imul(te,Ue)|0,u=u+Math.imul(te,De)|0,u=u+Math.imul(L,Ue)|0,_=_+Math.imul(L,De)|0;var En=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(En>>>26)|0,En&=67108863,b=Math.imul(fe,x),u=Math.imul(fe,C),u=u+Math.imul(de,x)|0,_=Math.imul(de,C),b=b+Math.imul(J,H)|0,u=u+Math.imul(J,re)|0,u=u+Math.imul(ne,H)|0,_=_+Math.imul(ne,re)|0,b=b+Math.imul(F,me)|0,u=u+Math.imul(F,we)|0,u=u+Math.imul(U,me)|0,_=_+Math.imul(U,we)|0,b=b+Math.imul(I,Be)|0,u=u+Math.imul(I,Fe)|0,u=u+Math.imul(D,Be)|0,_=_+Math.imul(D,Fe)|0,b=b+Math.imul(T,Ie)|0,u=u+Math.imul(T,Ne)|0,u=u+Math.imul(P,Ie)|0,_=_+Math.imul(P,Ne)|0,b=b+Math.imul(ge,Pe)|0,u=u+Math.imul(ge,Le)|0,u=u+Math.imul(m,Pe)|0,_=_+Math.imul(m,Le)|0,b=b+Math.imul(ye,Ue)|0,u=u+Math.imul(ye,De)|0,u=u+Math.imul(be,Ue)|0,_=_+Math.imul(be,De)|0,b=b+Math.imul(te,je)|0,u=u+Math.imul(te,ke)|0,u=u+Math.imul(L,je)|0,_=_+Math.imul(L,ke)|0;var Sn=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(Sn>>>26)|0,Sn&=67108863,b=Math.imul(he,x),u=Math.imul(he,C),u=u+Math.imul(le,x)|0,_=Math.imul(le,C),b=b+Math.imul(fe,H)|0,u=u+Math.imul(fe,re)|0,u=u+Math.imul(de,H)|0,_=_+Math.imul(de,re)|0,b=b+Math.imul(J,me)|0,u=u+Math.imul(J,we)|0,u=u+Math.imul(ne,me)|0,_=_+Math.imul(ne,we)|0,b=b+Math.imul(F,Be)|0,u=u+Math.imul(F,Fe)|0,u=u+Math.imul(U,Be)|0,_=_+Math.imul(U,Fe)|0,b=b+Math.imul(I,Ie)|0,u=u+Math.imul(I,Ne)|0,u=u+Math.imul(D,Ie)|0,_=_+Math.imul(D,Ne)|0,b=b+Math.imul(T,Pe)|0,u=u+Math.imul(T,Le)|0,u=u+Math.imul(P,Pe)|0,_=_+Math.imul(P,Le)|0,b=b+Math.imul(ge,Ue)|0,u=u+Math.imul(ge,De)|0,u=u+Math.imul(m,Ue)|0,_=_+Math.imul(m,De)|0,b=b+Math.imul(ye,je)|0,u=u+Math.imul(ye,ke)|0,u=u+Math.imul(be,je)|0,_=_+Math.imul(be,ke)|0,b=b+Math.imul(te,qe)|0,u=u+Math.imul(te,ze)|0,u=u+Math.imul(L,qe)|0,_=_+Math.imul(L,ze)|0;var On=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(On>>>26)|0,On&=67108863,b=Math.imul(g,x),u=Math.imul(g,C),u=u+Math.imul(s,x)|0,_=Math.imul(s,C),b=b+Math.imul(he,H)|0,u=u+Math.imul(he,re)|0,u=u+Math.imul(le,H)|0,_=_+Math.imul(le,re)|0,b=b+Math.imul(fe,me)|0,u=u+Math.imul(fe,we)|0,u=u+Math.imul(de,me)|0,_=_+Math.imul(de,we)|0,b=b+Math.imul(J,Be)|0,u=u+Math.imul(J,Fe)|0,u=u+Math.imul(ne,Be)|0,_=_+Math.imul(ne,Fe)|0,b=b+Math.imul(F,Ie)|0,u=u+Math.imul(F,Ne)|0,u=u+Math.imul(U,Ie)|0,_=_+Math.imul(U,Ne)|0,b=b+Math.imul(I,Pe)|0,u=u+Math.imul(I,Le)|0,u=u+Math.imul(D,Pe)|0,_=_+Math.imul(D,Le)|0,b=b+Math.imul(T,Ue)|0,u=u+Math.imul(T,De)|0,u=u+Math.imul(P,Ue)|0,_=_+Math.imul(P,De)|0,b=b+Math.imul(ge,je)|0,u=u+Math.imul(ge,ke)|0,u=u+Math.imul(m,je)|0,_=_+Math.imul(m,ke)|0,b=b+Math.imul(ye,qe)|0,u=u+Math.imul(ye,ze)|0,u=u+Math.imul(be,qe)|0,_=_+Math.imul(be,ze)|0,b=b+Math.imul(te,He)|0,u=u+Math.imul(te,Ge)|0,u=u+Math.imul(L,He)|0,_=_+Math.imul(L,Ge)|0;var An=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(An>>>26)|0,An&=67108863,b=Math.imul(g,H),u=Math.imul(g,re),u=u+Math.imul(s,H)|0,_=Math.imul(s,re),b=b+Math.imul(he,me)|0,u=u+Math.imul(he,we)|0,u=u+Math.imul(le,me)|0,_=_+Math.imul(le,we)|0,b=b+Math.imul(fe,Be)|0,u=u+Math.imul(fe,Fe)|0,u=u+Math.imul(de,Be)|0,_=_+Math.imul(de,Fe)|0,b=b+Math.imul(J,Ie)|0,u=u+Math.imul(J,Ne)|0,u=u+Math.imul(ne,Ie)|0,_=_+Math.imul(ne,Ne)|0,b=b+Math.imul(F,Pe)|0,u=u+Math.imul(F,Le)|0,u=u+Math.imul(U,Pe)|0,_=_+Math.imul(U,Le)|0,b=b+Math.imul(I,Ue)|0,u=u+Math.imul(I,De)|0,u=u+Math.imul(D,Ue)|0,_=_+Math.imul(D,De)|0,b=b+Math.imul(T,je)|0,u=u+Math.imul(T,ke)|0,u=u+Math.imul(P,je)|0,_=_+Math.imul(P,ke)|0,b=b+Math.imul(ge,qe)|0,u=u+Math.imul(ge,ze)|0,u=u+Math.imul(m,qe)|0,_=_+Math.imul(m,ze)|0,b=b+Math.imul(ye,He)|0,u=u+Math.imul(ye,Ge)|0,u=u+Math.imul(be,He)|0,_=_+Math.imul(be,Ge)|0;var Tn=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(Tn>>>26)|0,Tn&=67108863,b=Math.imul(g,me),u=Math.imul(g,we),u=u+Math.imul(s,me)|0,_=Math.imul(s,we),b=b+Math.imul(he,Be)|0,u=u+Math.imul(he,Fe)|0,u=u+Math.imul(le,Be)|0,_=_+Math.imul(le,Fe)|0,b=b+Math.imul(fe,Ie)|0,u=u+Math.imul(fe,Ne)|0,u=u+Math.imul(de,Ie)|0,_=_+Math.imul(de,Ne)|0,b=b+Math.imul(J,Pe)|0,u=u+Math.imul(J,Le)|0,u=u+Math.imul(ne,Pe)|0,_=_+Math.imul(ne,Le)|0,b=b+Math.imul(F,Ue)|0,u=u+Math.imul(F,De)|0,u=u+Math.imul(U,Ue)|0,_=_+Math.imul(U,De)|0,b=b+Math.imul(I,je)|0,u=u+Math.imul(I,ke)|0,u=u+Math.imul(D,je)|0,_=_+Math.imul(D,ke)|0,b=b+Math.imul(T,qe)|0,u=u+Math.imul(T,ze)|0,u=u+Math.imul(P,qe)|0,_=_+Math.imul(P,ze)|0,b=b+Math.imul(ge,He)|0,u=u+Math.imul(ge,Ge)|0,u=u+Math.imul(m,He)|0,_=_+Math.imul(m,Ge)|0;var $n=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+($n>>>26)|0,$n&=67108863,b=Math.imul(g,Be),u=Math.imul(g,Fe),u=u+Math.imul(s,Be)|0,_=Math.imul(s,Fe),b=b+Math.imul(he,Ie)|0,u=u+Math.imul(he,Ne)|0,u=u+Math.imul(le,Ie)|0,_=_+Math.imul(le,Ne)|0,b=b+Math.imul(fe,Pe)|0,u=u+Math.imul(fe,Le)|0,u=u+Math.imul(de,Pe)|0,_=_+Math.imul(de,Le)|0,b=b+Math.imul(J,Ue)|0,u=u+Math.imul(J,De)|0,u=u+Math.imul(ne,Ue)|0,_=_+Math.imul(ne,De)|0,b=b+Math.imul(F,je)|0,u=u+Math.imul(F,ke)|0,u=u+Math.imul(U,je)|0,_=_+Math.imul(U,ke)|0,b=b+Math.imul(I,qe)|0,u=u+Math.imul(I,ze)|0,u=u+Math.imul(D,qe)|0,_=_+Math.imul(D,ze)|0,b=b+Math.imul(T,He)|0,u=u+Math.imul(T,Ge)|0,u=u+Math.imul(P,He)|0,_=_+Math.imul(P,Ge)|0;var Cn=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(Cn>>>26)|0,Cn&=67108863,b=Math.imul(g,Ie),u=Math.imul(g,Ne),u=u+Math.imul(s,Ie)|0,_=Math.imul(s,Ne),b=b+Math.imul(he,Pe)|0,u=u+Math.imul(he,Le)|0,u=u+Math.imul(le,Pe)|0,_=_+Math.imul(le,Le)|0,b=b+Math.imul(fe,Ue)|0,u=u+Math.imul(fe,De)|0,u=u+Math.imul(de,Ue)|0,_=_+Math.imul(de,De)|0,b=b+Math.imul(J,je)|0,u=u+Math.imul(J,ke)|0,u=u+Math.imul(ne,je)|0,_=_+Math.imul(ne,ke)|0,b=b+Math.imul(F,qe)|0,u=u+Math.imul(F,ze)|0,u=u+Math.imul(U,qe)|0,_=_+Math.imul(U,ze)|0,b=b+Math.imul(I,He)|0,u=u+Math.imul(I,Ge)|0,u=u+Math.imul(D,He)|0,_=_+Math.imul(D,Ge)|0;var Rn=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(Rn>>>26)|0,Rn&=67108863,b=Math.imul(g,Pe),u=Math.imul(g,Le),u=u+Math.imul(s,Pe)|0,_=Math.imul(s,Le),b=b+Math.imul(he,Ue)|0,u=u+Math.imul(he,De)|0,u=u+Math.imul(le,Ue)|0,_=_+Math.imul(le,De)|0,b=b+Math.imul(fe,je)|0,u=u+Math.imul(fe,ke)|0,u=u+Math.imul(de,je)|0,_=_+Math.imul(de,ke)|0,b=b+Math.imul(J,qe)|0,u=u+Math.imul(J,ze)|0,u=u+Math.imul(ne,qe)|0,_=_+Math.imul(ne,ze)|0,b=b+Math.imul(F,He)|0,u=u+Math.imul(F,Ge)|0,u=u+Math.imul(U,He)|0,_=_+Math.imul(U,Ge)|0;var Bn=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(Bn>>>26)|0,Bn&=67108863,b=Math.imul(g,Ue),u=Math.imul(g,De),u=u+Math.imul(s,Ue)|0,_=Math.imul(s,De),b=b+Math.imul(he,je)|0,u=u+Math.imul(he,ke)|0,u=u+Math.imul(le,je)|0,_=_+Math.imul(le,ke)|0,b=b+Math.imul(fe,qe)|0,u=u+Math.imul(fe,ze)|0,u=u+Math.imul(de,qe)|0,_=_+Math.imul(de,ze)|0,b=b+Math.imul(J,He)|0,u=u+Math.imul(J,Ge)|0,u=u+Math.imul(ne,He)|0,_=_+Math.imul(ne,Ge)|0;var Fn=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,b=Math.imul(g,je),u=Math.imul(g,ke),u=u+Math.imul(s,je)|0,_=Math.imul(s,ke),b=b+Math.imul(he,qe)|0,u=u+Math.imul(he,ze)|0,u=u+Math.imul(le,qe)|0,_=_+Math.imul(le,ze)|0,b=b+Math.imul(fe,He)|0,u=u+Math.imul(fe,Ge)|0,u=u+Math.imul(de,He)|0,_=_+Math.imul(de,Ge)|0;var In=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(In>>>26)|0,In&=67108863,b=Math.imul(g,qe),u=Math.imul(g,ze),u=u+Math.imul(s,qe)|0,_=Math.imul(s,ze),b=b+Math.imul(he,He)|0,u=u+Math.imul(he,Ge)|0,u=u+Math.imul(le,He)|0,_=_+Math.imul(le,Ge)|0;var Nn=($+b|0)+((u&8191)<<13)|0;$=(_+(u>>>13)|0)+(Nn>>>26)|0,Nn&=67108863,b=Math.imul(g,He),u=Math.imul(g,Ge),u=u+Math.imul(s,He)|0,_=Math.imul(s,Ge);var Pn=($+b|0)+((u&8191)<<13)|0;return $=(_+(u>>>13)|0)+(Pn>>>26)|0,Pn&=67108863,A[0]=wn,A[1]=vn,A[2]=bn,A[3]=xn,A[4]=Mn,A[5]=_n,A[6]=En,A[7]=Sn,A[8]=On,A[9]=An,A[10]=Tn,A[11]=$n,A[12]=Cn,A[13]=Rn,A[14]=Bn,A[15]=Fn,A[16]=In,A[17]=Nn,A[18]=Pn,$!==0&&(A[19]=$,d.length++),d};Math.imul||(Z=G);function q(E,o,c){c.negative=o.negative^E.negative,c.length=E.length+o.length;for(var d=0,p=0,w=0;w<c.length-1;w++){var A=p;p=0;for(var $=d&67108863,b=Math.min(w,o.length-1),u=Math.max(0,w-E.length+1);u<=b;u++){var _=w-u,ee=E.words[_]|0,te=o.words[u]|0,L=ee*te,ie=L&67108863;A=A+(L/67108864|0)|0,ie=ie+$|0,$=ie&67108863,A=A+(ie>>>26)|0,p+=A>>>26,A&=67108863}c.words[w]=$,d=A,A=p}return d!==0?c.words[w]=d:c.length--,c.strip()}function Q(E,o,c){var d=new X;return d.mulp(E,o,c)}i.prototype.mulTo=function(o,c){var d,p=this.length+o.length;return this.length===10&&o.length===10?d=Z(this,o,c):p<63?d=G(this,o,c):p<1024?d=q(this,o,c):d=Q(this,o,c),d};function X(E,o){this.x=E,this.y=o}X.prototype.makeRBT=function(o){for(var c=new Array(o),d=i.prototype._countBits(o)-1,p=0;p<o;p++)c[p]=this.revBin(p,d,o);return c},X.prototype.revBin=function(o,c,d){if(o===0||o===d-1)return o;for(var p=0,w=0;w<c;w++)p|=(o&1)<<c-w-1,o>>=1;return p},X.prototype.permute=function(o,c,d,p,w,A){for(var $=0;$<A;$++)p[$]=c[o[$]],w[$]=d[o[$]]},X.prototype.transform=function(o,c,d,p,w,A){this.permute(A,o,c,d,p,w);for(var $=1;$<w;$<<=1)for(var b=$<<1,u=Math.cos(2*Math.PI/b),_=Math.sin(2*Math.PI/b),ee=0;ee<w;ee+=b)for(var te=u,L=_,ie=0;ie<$;ie++){var ye=d[ee+ie],be=p[ee+ie],xe=d[ee+ie+$],ge=p[ee+ie+$],m=te*xe-L*ge;ge=te*ge+L*xe,xe=m,d[ee+ie]=ye+xe,p[ee+ie]=be+ge,d[ee+ie+$]=ye-xe,p[ee+ie+$]=be-ge,ie!==b&&(m=u*te-_*L,L=u*L+_*te,te=m)}},X.prototype.guessLen13b=function(o,c){var d=Math.max(c,o)|1,p=d&1,w=0;for(d=d/2|0;d;d=d>>>1)w++;return 1<<w+1+p},X.prototype.conjugate=function(o,c,d){if(!(d<=1))for(var p=0;p<d/2;p++){var w=o[p];o[p]=o[d-p-1],o[d-p-1]=w,w=c[p],c[p]=-c[d-p-1],c[d-p-1]=-w}},X.prototype.normalize13b=function(o,c){for(var d=0,p=0;p<c/2;p++){var w=Math.round(o[2*p+1]/c)*8192+Math.round(o[2*p]/c)+d;o[p]=w&67108863,w<67108864?d=0:d=w/67108864|0}return o},X.prototype.convert13b=function(o,c,d,p){for(var w=0,A=0;A<c;A++)w=w+(o[A]|0),d[2*A]=w&8191,w=w>>>13,d[2*A+1]=w&8191,w=w>>>13;for(A=2*c;A<p;++A)d[A]=0;n(w===0),n((w&-8192)===0)},X.prototype.stub=function(o){for(var c=new Array(o),d=0;d<o;d++)c[d]=0;return c},X.prototype.mulp=function(o,c,d){var p=2*this.guessLen13b(o.length,c.length),w=this.makeRBT(p),A=this.stub(p),$=new Array(p),b=new Array(p),u=new Array(p),_=new Array(p),ee=new Array(p),te=new Array(p),L=d.words;L.length=p,this.convert13b(o.words,o.length,$,p),this.convert13b(c.words,c.length,_,p),this.transform($,A,b,u,p,w),this.transform(_,A,ee,te,p,w);for(var ie=0;ie<p;ie++){var ye=b[ie]*ee[ie]-u[ie]*te[ie];u[ie]=b[ie]*te[ie]+u[ie]*ee[ie],b[ie]=ye}return this.conjugate(b,u,p),this.transform(b,u,L,A,p,w),this.conjugate(L,A,p),this.normalize13b(L,p),d.negative=o.negative^c.negative,d.length=o.length+c.length,d.strip()},i.prototype.mul=function(o){var c=new i(null);return c.words=new Array(this.length+o.length),this.mulTo(o,c)},i.prototype.mulf=function(o){var c=new i(null);return c.words=new Array(this.length+o.length),Q(this,o,c)},i.prototype.imul=function(o){return this.clone().mulTo(o,this)},i.prototype.imuln=function(o){n(typeof o=="number"),n(o<67108864);for(var c=0,d=0;d<this.length;d++){var p=(this.words[d]|0)*o,w=(p&67108863)+(c&67108863);c>>=26,c+=p/67108864|0,c+=w>>>26,this.words[d]=w&67108863}return c!==0&&(this.words[d]=c,this.length++),this},i.prototype.muln=function(o){return this.clone().imuln(o)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(o){var c=z(o);if(c.length===0)return new i(1);for(var d=this,p=0;p<c.length&&c[p]===0;p++,d=d.sqr());if(++p<c.length)for(var w=d.sqr();p<c.length;p++,w=w.sqr())c[p]!==0&&(d=d.mul(w));return d},i.prototype.iushln=function(o){n(typeof o=="number"&&o>=0);var c=o%26,d=(o-c)/26,p=67108863>>>26-c<<26-c,w;if(c!==0){var A=0;for(w=0;w<this.length;w++){var $=this.words[w]&p,b=(this.words[w]|0)-$<<c;this.words[w]=b|A,A=$>>>26-c}A&&(this.words[w]=A,this.length++)}if(d!==0){for(w=this.length-1;w>=0;w--)this.words[w+d]=this.words[w];for(w=0;w<d;w++)this.words[w]=0;this.length+=d}return this.strip()},i.prototype.ishln=function(o){return n(this.negative===0),this.iushln(o)},i.prototype.iushrn=function(o,c,d){n(typeof o=="number"&&o>=0);var p;c?p=(c-c%26)/26:p=0;var w=o%26,A=Math.min((o-w)/26,this.length),$=67108863^67108863>>>w<<w,b=d;if(p-=A,p=Math.max(0,p),b){for(var u=0;u<A;u++)b.words[u]=this.words[u];b.length=A}if(A!==0)if(this.length>A)for(this.length-=A,u=0;u<this.length;u++)this.words[u]=this.words[u+A];else this.words[0]=0,this.length=1;var _=0;for(u=this.length-1;u>=0&&(_!==0||u>=p);u--){var ee=this.words[u]|0;this.words[u]=_<<26-w|ee>>>w,_=ee&$}return b&&_!==0&&(b.words[b.length++]=_),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},i.prototype.ishrn=function(o,c,d){return n(this.negative===0),this.iushrn(o,c,d)},i.prototype.shln=function(o){return this.clone().ishln(o)},i.prototype.ushln=function(o){return this.clone().iushln(o)},i.prototype.shrn=function(o){return this.clone().ishrn(o)},i.prototype.ushrn=function(o){return this.clone().iushrn(o)},i.prototype.testn=function(o){n(typeof o=="number"&&o>=0);var c=o%26,d=(o-c)/26,p=1<<c;if(this.length<=d)return!1;var w=this.words[d];return!!(w&p)},i.prototype.imaskn=function(o){n(typeof o=="number"&&o>=0);var c=o%26,d=(o-c)/26;if(n(this.negative===0,"imaskn works only with positive numbers"),this.length<=d)return this;if(c!==0&&d++,this.length=Math.min(d,this.length),c!==0){var p=67108863^67108863>>>c<<c;this.words[this.length-1]&=p}return this.strip()},i.prototype.maskn=function(o){return this.clone().imaskn(o)},i.prototype.iaddn=function(o){return n(typeof o=="number"),n(o<67108864),o<0?this.isubn(-o):this.negative!==0?this.length===1&&(this.words[0]|0)<o?(this.words[0]=o-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(o),this.negative=1,this):this._iaddn(o)},i.prototype._iaddn=function(o){this.words[0]+=o;for(var c=0;c<this.length&&this.words[c]>=67108864;c++)this.words[c]-=67108864,c===this.length-1?this.words[c+1]=1:this.words[c+1]++;return this.length=Math.max(this.length,c+1),this},i.prototype.isubn=function(o){if(n(typeof o=="number"),n(o<67108864),o<0)return this.iaddn(-o);if(this.negative!==0)return this.negative=0,this.iaddn(o),this.negative=1,this;if(this.words[0]-=o,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var c=0;c<this.length&&this.words[c]<0;c++)this.words[c]+=67108864,this.words[c+1]-=1;return this.strip()},i.prototype.addn=function(o){return this.clone().iaddn(o)},i.prototype.subn=function(o){return this.clone().isubn(o)},i.prototype.iabs=function(){return this.negative=0,this},i.prototype.abs=function(){return this.clone().iabs()},i.prototype._ishlnsubmul=function(o,c,d){var p=o.length+d,w;this._expand(p);var A,$=0;for(w=0;w<o.length;w++){A=(this.words[w+d]|0)+$;var b=(o.words[w]|0)*c;A-=b&67108863,$=(A>>26)-(b/67108864|0),this.words[w+d]=A&67108863}for(;w<this.length-d;w++)A=(this.words[w+d]|0)+$,$=A>>26,this.words[w+d]=A&67108863;if($===0)return this.strip();for(n($===-1),$=0,w=0;w<this.length;w++)A=-(this.words[w]|0)+$,$=A>>26,this.words[w]=A&67108863;return this.negative=1,this.strip()},i.prototype._wordDiv=function(o,c){var d=this.length-o.length,p=this.clone(),w=o,A=w.words[w.length-1]|0,$=this._countBits(A);d=26-$,d!==0&&(w=w.ushln(d),p.iushln(d),A=w.words[w.length-1]|0);var b=p.length-w.length,u;if(c!=="mod"){u=new i(null),u.length=b+1,u.words=new Array(u.length);for(var _=0;_<u.length;_++)u.words[_]=0}var ee=p.clone()._ishlnsubmul(w,1,b);ee.negative===0&&(p=ee,u&&(u.words[b]=1));for(var te=b-1;te>=0;te--){var L=(p.words[w.length+te]|0)*67108864+(p.words[w.length+te-1]|0);for(L=Math.min(L/A|0,67108863),p._ishlnsubmul(w,L,te);p.negative!==0;)L--,p.negative=0,p._ishlnsubmul(w,1,te),p.isZero()||(p.negative^=1);u&&(u.words[te]=L)}return u&&u.strip(),p.strip(),c!=="div"&&d!==0&&p.iushrn(d),{div:u||null,mod:p}},i.prototype.divmod=function(o,c,d){if(n(!o.isZero()),this.isZero())return{div:new i(0),mod:new i(0)};var p,w,A;return this.negative!==0&&o.negative===0?(A=this.neg().divmod(o,c),c!=="mod"&&(p=A.div.neg()),c!=="div"&&(w=A.mod.neg(),d&&w.negative!==0&&w.iadd(o)),{div:p,mod:w}):this.negative===0&&o.negative!==0?(A=this.divmod(o.neg(),c),c!=="mod"&&(p=A.div.neg()),{div:p,mod:A.mod}):this.negative&o.negative?(A=this.neg().divmod(o.neg(),c),c!=="div"&&(w=A.mod.neg(),d&&w.negative!==0&&w.isub(o)),{div:A.div,mod:w}):o.length>this.length||this.cmp(o)<0?{div:new i(0),mod:this}:o.length===1?c==="div"?{div:this.divn(o.words[0]),mod:null}:c==="mod"?{div:null,mod:new i(this.modn(o.words[0]))}:{div:this.divn(o.words[0]),mod:new i(this.modn(o.words[0]))}:this._wordDiv(o,c)},i.prototype.div=function(o){return this.divmod(o,"div",!1).div},i.prototype.mod=function(o){return this.divmod(o,"mod",!1).mod},i.prototype.umod=function(o){return this.divmod(o,"mod",!0).mod},i.prototype.divRound=function(o){var c=this.divmod(o);if(c.mod.isZero())return c.div;var d=c.div.negative!==0?c.mod.isub(o):c.mod,p=o.ushrn(1),w=o.andln(1),A=d.cmp(p);return A<0||w===1&&A===0?c.div:c.div.negative!==0?c.div.isubn(1):c.div.iaddn(1)},i.prototype.modn=function(o){n(o<=67108863);for(var c=(1<<26)%o,d=0,p=this.length-1;p>=0;p--)d=(c*d+(this.words[p]|0))%o;return d},i.prototype.idivn=function(o){n(o<=67108863);for(var c=0,d=this.length-1;d>=0;d--){var p=(this.words[d]|0)+c*67108864;this.words[d]=p/o|0,c=p%o}return this.strip()},i.prototype.divn=function(o){return this.clone().idivn(o)},i.prototype.egcd=function(o){n(o.negative===0),n(!o.isZero());var c=this,d=o.clone();c.negative!==0?c=c.umod(o):c=c.clone();for(var p=new i(1),w=new i(0),A=new i(0),$=new i(1),b=0;c.isEven()&&d.isEven();)c.iushrn(1),d.iushrn(1),++b;for(var u=d.clone(),_=c.clone();!c.isZero();){for(var ee=0,te=1;!(c.words[0]&te)&&ee<26;++ee,te<<=1);if(ee>0)for(c.iushrn(ee);ee-- >0;)(p.isOdd()||w.isOdd())&&(p.iadd(u),w.isub(_)),p.iushrn(1),w.iushrn(1);for(var L=0,ie=1;!(d.words[0]&ie)&&L<26;++L,ie<<=1);if(L>0)for(d.iushrn(L);L-- >0;)(A.isOdd()||$.isOdd())&&(A.iadd(u),$.isub(_)),A.iushrn(1),$.iushrn(1);c.cmp(d)>=0?(c.isub(d),p.isub(A),w.isub($)):(d.isub(c),A.isub(p),$.isub(w))}return{a:A,b:$,gcd:d.iushln(b)}},i.prototype._invmp=function(o){n(o.negative===0),n(!o.isZero());var c=this,d=o.clone();c.negative!==0?c=c.umod(o):c=c.clone();for(var p=new i(1),w=new i(0),A=d.clone();c.cmpn(1)>0&&d.cmpn(1)>0;){for(var $=0,b=1;!(c.words[0]&b)&&$<26;++$,b<<=1);if($>0)for(c.iushrn($);$-- >0;)p.isOdd()&&p.iadd(A),p.iushrn(1);for(var u=0,_=1;!(d.words[0]&_)&&u<26;++u,_<<=1);if(u>0)for(d.iushrn(u);u-- >0;)w.isOdd()&&w.iadd(A),w.iushrn(1);c.cmp(d)>=0?(c.isub(d),p.isub(w)):(d.isub(c),w.isub(p))}var ee;return c.cmpn(1)===0?ee=p:ee=w,ee.cmpn(0)<0&&ee.iadd(o),ee},i.prototype.gcd=function(o){if(this.isZero())return o.abs();if(o.isZero())return this.abs();var c=this.clone(),d=o.clone();c.negative=0,d.negative=0;for(var p=0;c.isEven()&&d.isEven();p++)c.iushrn(1),d.iushrn(1);do{for(;c.isEven();)c.iushrn(1);for(;d.isEven();)d.iushrn(1);var w=c.cmp(d);if(w<0){var A=c;c=d,d=A}else if(w===0||d.cmpn(1)===0)break;c.isub(d)}while(!0);return d.iushln(p)},i.prototype.invm=function(o){return this.egcd(o).a.umod(o)},i.prototype.isEven=function(){return(this.words[0]&1)===0},i.prototype.isOdd=function(){return(this.words[0]&1)===1},i.prototype.andln=function(o){return this.words[0]&o},i.prototype.bincn=function(o){n(typeof o=="number");var c=o%26,d=(o-c)/26,p=1<<c;if(this.length<=d)return this._expand(d+1),this.words[d]|=p,this;for(var w=p,A=d;w!==0&&A<this.length;A++){var $=this.words[A]|0;$+=w,w=$>>>26,$&=67108863,this.words[A]=$}return w!==0&&(this.words[A]=w,this.length++),this},i.prototype.isZero=function(){return this.length===1&&this.words[0]===0},i.prototype.cmpn=function(o){var c=o<0;if(this.negative!==0&&!c)return-1;if(this.negative===0&&c)return 1;this.strip();var d;if(this.length>1)d=1;else{c&&(o=-o),n(o<=67108863,"Number is too big");var p=this.words[0]|0;d=p===o?0:p<o?-1:1}return this.negative!==0?-d|0:d},i.prototype.cmp=function(o){if(this.negative!==0&&o.negative===0)return-1;if(this.negative===0&&o.negative!==0)return 1;var c=this.ucmp(o);return this.negative!==0?-c|0:c},i.prototype.ucmp=function(o){if(this.length>o.length)return 1;if(this.length<o.length)return-1;for(var c=0,d=this.length-1;d>=0;d--){var p=this.words[d]|0,w=o.words[d]|0;if(p!==w){p<w?c=-1:p>w&&(c=1);break}}return c},i.prototype.gtn=function(o){return this.cmpn(o)===1},i.prototype.gt=function(o){return this.cmp(o)===1},i.prototype.gten=function(o){return this.cmpn(o)>=0},i.prototype.gte=function(o){return this.cmp(o)>=0},i.prototype.ltn=function(o){return this.cmpn(o)===-1},i.prototype.lt=function(o){return this.cmp(o)===-1},i.prototype.lten=function(o){return this.cmpn(o)<=0},i.prototype.lte=function(o){return this.cmp(o)<=0},i.prototype.eqn=function(o){return this.cmpn(o)===0},i.prototype.eq=function(o){return this.cmp(o)===0},i.red=function(o){return new se(o)},i.prototype.toRed=function(o){return n(!this.red,"Already a number in reduction context"),n(this.negative===0,"red works only with positives"),o.convertTo(this)._forceRed(o)},i.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(o){return this.red=o,this},i.prototype.forceRed=function(o){return n(!this.red,"Already a number in reduction context"),this._forceRed(o)},i.prototype.redAdd=function(o){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,o)},i.prototype.redIAdd=function(o){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,o)},i.prototype.redSub=function(o){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,o)},i.prototype.redISub=function(o){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,o)},i.prototype.redShl=function(o){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,o)},i.prototype.redMul=function(o){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,o),this.red.mul(this,o)},i.prototype.redIMul=function(o){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,o),this.red.imul(this,o)},i.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(o){return n(this.red&&!o.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,o)};var pe={k256:null,p224:null,p192:null,p25519:null};function ce(E,o){this.name=E,this.p=new i(o,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}ce.prototype._tmp=function(){var o=new i(null);return o.words=new Array(Math.ceil(this.n/13)),o},ce.prototype.ireduce=function(o){var c=o,d;do this.split(c,this.tmp),c=this.imulK(c),c=c.iadd(this.tmp),d=c.bitLength();while(d>this.n);var p=d<this.n?-1:c.ucmp(this.p);return p===0?(c.words[0]=0,c.length=1):p>0?c.isub(this.p):c.strip!==void 0?c.strip():c._strip(),c},ce.prototype.split=function(o,c){o.iushrn(this.n,0,c)},ce.prototype.imulK=function(o){return o.imul(this.k)};function oe(){ce.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}a(oe,ce),oe.prototype.split=function(o,c){for(var d=4194303,p=Math.min(o.length,9),w=0;w<p;w++)c.words[w]=o.words[w];if(c.length=p,o.length<=9){o.words[0]=0,o.length=1;return}var A=o.words[9];for(c.words[c.length++]=A&d,w=10;w<o.length;w++){var $=o.words[w]|0;o.words[w-10]=($&d)<<4|A>>>22,A=$}A>>>=22,o.words[w-10]=A,A===0&&o.length>10?o.length-=10:o.length-=9},oe.prototype.imulK=function(o){o.words[o.length]=0,o.words[o.length+1]=0,o.length+=2;for(var c=0,d=0;d<o.length;d++){var p=o.words[d]|0;c+=p*977,o.words[d]=c&67108863,c=p*64+(c/67108864|0)}return o.words[o.length-1]===0&&(o.length--,o.words[o.length-1]===0&&o.length--),o};function V(){ce.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}a(V,ce);function K(){ce.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}a(K,ce);function ae(){ce.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}a(ae,ce),ae.prototype.imulK=function(o){for(var c=0,d=0;d<o.length;d++){var p=(o.words[d]|0)*19+c,w=p&67108863;p>>>=26,o.words[d]=w,c=p}return c!==0&&(o.words[o.length++]=c),o},i._prime=function(o){if(pe[o])return pe[o];var c;if(o==="k256")c=new oe;else if(o==="p224")c=new V;else if(o==="p192")c=new K;else if(o==="p25519")c=new ae;else throw new Error("Unknown prime "+o);return pe[o]=c,c};function se(E){if(typeof E=="string"){var o=i._prime(E);this.m=o.p,this.prime=o}else n(E.gtn(1),"modulus must be greater than 1"),this.m=E,this.prime=null}se.prototype._verify1=function(o){n(o.negative===0,"red works only with positives"),n(o.red,"red works only with red numbers")},se.prototype._verify2=function(o,c){n((o.negative|c.negative)===0,"red works only with positives"),n(o.red&&o.red===c.red,"red works only with red numbers")},se.prototype.imod=function(o){return this.prime?this.prime.ireduce(o)._forceRed(this):o.umod(this.m)._forceRed(this)},se.prototype.neg=function(o){return o.isZero()?o.clone():this.m.sub(o)._forceRed(this)},se.prototype.add=function(o,c){this._verify2(o,c);var d=o.add(c);return d.cmp(this.m)>=0&&d.isub(this.m),d._forceRed(this)},se.prototype.iadd=function(o,c){this._verify2(o,c);var d=o.iadd(c);return d.cmp(this.m)>=0&&d.isub(this.m),d},se.prototype.sub=function(o,c){this._verify2(o,c);var d=o.sub(c);return d.cmpn(0)<0&&d.iadd(this.m),d._forceRed(this)},se.prototype.isub=function(o,c){this._verify2(o,c);var d=o.isub(c);return d.cmpn(0)<0&&d.iadd(this.m),d},se.prototype.shl=function(o,c){return this._verify1(o),this.imod(o.ushln(c))},se.prototype.imul=function(o,c){return this._verify2(o,c),this.imod(o.imul(c))},se.prototype.mul=function(o,c){return this._verify2(o,c),this.imod(o.mul(c))},se.prototype.isqr=function(o){return this.imul(o,o.clone())},se.prototype.sqr=function(o){return this.mul(o,o)},se.prototype.sqrt=function(o){if(o.isZero())return o.clone();var c=this.m.andln(3);if(n(c%2===1),c===3){var d=this.m.add(new i(1)).iushrn(2);return this.pow(o,d)}for(var p=this.m.subn(1),w=0;!p.isZero()&&p.andln(1)===0;)w++,p.iushrn(1);n(!p.isZero());var A=new i(1).toRed(this),$=A.redNeg(),b=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new i(2*u*u).toRed(this);this.pow(u,b).cmp($)!==0;)u.redIAdd($);for(var _=this.pow(u,p),ee=this.pow(o,p.addn(1).iushrn(1)),te=this.pow(o,p),L=w;te.cmp(A)!==0;){for(var ie=te,ye=0;ie.cmp(A)!==0;ye++)ie=ie.redSqr();n(ye<L);var be=this.pow(_,new i(1).iushln(L-ye-1));ee=ee.redMul(be),_=be.redSqr(),te=te.redMul(_),L=ye}return ee},se.prototype.invm=function(o){var c=o._invmp(this.m);return c.negative!==0?(c.negative=0,this.imod(c).redNeg()):this.imod(c)},se.prototype.pow=function(o,c){if(c.isZero())return new i(1).toRed(this);if(c.cmpn(1)===0)return o.clone();var d=4,p=new Array(1<<d);p[0]=new i(1).toRed(this),p[1]=o;for(var w=2;w<p.length;w++)p[w]=this.mul(p[w-1],o);var A=p[0],$=0,b=0,u=c.bitLength()%26;for(u===0&&(u=26),w=c.length-1;w>=0;w--){for(var _=c.words[w],ee=u-1;ee>=0;ee--){var te=_>>ee&1;if(A!==p[0]&&(A=this.sqr(A)),te===0&&$===0){b=0;continue}$<<=1,$|=te,b++,!(b!==d&&(w!==0||ee!==0))&&(A=this.mul(A,p[$]),b=0,$=0)}u=26}return A},se.prototype.convertTo=function(o){var c=o.umod(this.m);return c===o?c.clone():c},se.prototype.convertFrom=function(o){var c=o.clone();return c.red=null,c},i.mont=function(o){return new Y(o)};function Y(E){se.call(this,E),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}a(Y,se),Y.prototype.convertTo=function(o){return this.imod(o.ushln(this.shift))},Y.prototype.convertFrom=function(o){var c=this.imod(o.mul(this.rinv));return c.red=null,c},Y.prototype.imul=function(o,c){if(o.isZero()||c.isZero())return o.words[0]=0,o.length=1,o;var d=o.imul(c),p=d.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),w=d.isub(p).iushrn(this.shift),A=w;return w.cmp(this.m)>=0?A=w.isub(this.m):w.cmpn(0)<0&&(A=w.iadd(this.m)),A._forceRed(this)},Y.prototype.mul=function(o,c){if(o.isZero()||c.isZero())return new i(0)._forceRed(this);var d=o.mul(c),p=d.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),w=d.isub(p).iushrn(this.shift),A=w;return w.cmp(this.m)>=0?A=w.isub(this.m):w.cmpn(0)<0&&(A=w.iadd(this.m)),A._forceRed(this)},Y.prototype.invm=function(o){var c=this.imod(o._invmp(this.m).mul(this.r2));return c._forceRed(this)}})(e,gs)})(Ji);var Fv=Ji.exports;function Z1(e,t){return Yr(e,t)}const Iv=Object.freeze(Object.defineProperty({__proto__:null,default:Z1},Symbol.toStringTag,{value:"Module"}));function J1(e,t){return Vs(e,t,function(r,n){return Js(e,n)})}var V1=ha(function(e,t){return e==null?{}:J1(e,t)});const Nv=Object.freeze(Object.defineProperty({__proto__:null,default:V1},Symbol.toStringTag,{value:"Module"}));function wu(e,t){for(var r=e.length;r--&&rn(t,e[r],0)>-1;);return r}function Pv(e,t,r){if(e=tt(e),e&&t===void 0)return e.slice(0,Fs(e)+1);if(!e||!(t=yr(t)))return e;var n=Jt(e),a=wu(n,Jt(t))+1;return Gr(n,0,a).join("")}var K1=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof $t<"u"?$t:typeof self<"u"?self:{};function Y1(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}/*!
|
|
12
|
+
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
13
|
+
*
|
|
14
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
15
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
16
|
+
* in the Software without restriction, including without limitation the rights
|
|
17
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
18
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
19
|
+
* furnished to do so, subject to the following conditions:
|
|
20
|
+
*
|
|
21
|
+
* The above copyright notice and this permission notice shall be included in
|
|
22
|
+
* all copies or substantial portions of the Software.
|
|
23
|
+
*
|
|
24
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
25
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
26
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
27
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
28
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
29
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
30
|
+
* SOFTWARE.
|
|
31
|
+
*/var Zn,os;function X1(){return os||(os=1,Zn={languageTag:"en-US",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},spaceSeparated:!1,ordinal:function(e){let t=e%10;return~~(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th"},bytes:{binarySuffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],decimalSuffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]},currency:{symbol:"$",position:"prefix",code:"USD"},currencyFormat:{thousandSeparated:!0,totalLength:4,spaceSeparated:!0,spaceSeparatedCurrency:!0},formats:{fourDigits:{totalLength:4,spaceSeparated:!0},fullWithTwoDecimals:{output:"currency",thousandSeparated:!0,mantissa:2},fullWithTwoDecimalsNoCurrency:{thousandSeparated:!0,mantissa:2},fullWithNoDecimals:{output:"currency",thousandSeparated:!0,mantissa:0}}}),Zn}/*!
|
|
32
|
+
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
33
|
+
*
|
|
34
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
35
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
36
|
+
* in the Software without restriction, including without limitation the rights
|
|
37
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
38
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
39
|
+
* furnished to do so, subject to the following conditions:
|
|
40
|
+
*
|
|
41
|
+
* The above copyright notice and this permission notice shall be included in
|
|
42
|
+
* all copies or substantial portions of the Software.
|
|
43
|
+
*
|
|
44
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
45
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
46
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
47
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
48
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
49
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
50
|
+
* SOFTWARE.
|
|
51
|
+
*/var Jn,ss;function vu(){if(ss)return Jn;ss=1;const e=[{key:"ZiB",factor:Math.pow(1024,7)},{key:"ZB",factor:Math.pow(1e3,7)},{key:"YiB",factor:Math.pow(1024,8)},{key:"YB",factor:Math.pow(1e3,8)},{key:"TiB",factor:Math.pow(1024,4)},{key:"TB",factor:Math.pow(1e3,4)},{key:"PiB",factor:Math.pow(1024,5)},{key:"PB",factor:Math.pow(1e3,5)},{key:"MiB",factor:Math.pow(1024,2)},{key:"MB",factor:Math.pow(1e3,2)},{key:"KiB",factor:Math.pow(1024,1)},{key:"KB",factor:Math.pow(1e3,1)},{key:"GiB",factor:Math.pow(1024,3)},{key:"GB",factor:Math.pow(1e3,3)},{key:"EiB",factor:Math.pow(1024,6)},{key:"EB",factor:Math.pow(1e3,6)},{key:"B",factor:1}];function t(M){return M.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}function r(M,y,h,S,B,z,G){if(!isNaN(+M))return+M;let Z="",q=M.replace(/(^[^(]*)\((.*)\)([^)]*$)/,"$1$2$3");if(q!==M)return-1*r(q,y,h,S,B,z);for(let V=0;V<e.length;V++){let K=e[V];if(Z=M.replace(RegExp(`([0-9 ])(${K.key})$`),"$1"),Z!==M)return r(Z,y,h,S,B,z)*K.factor}if(Z=M.replace("%",""),Z!==M)return r(Z,y,h,S,B,z)/100;let Q=parseFloat(M);if(isNaN(Q))return;let X=S(Q);if(X&&X!=="."&&(Z=M.replace(new RegExp(`${t(X)}$`),""),Z!==M))return r(Z,y,h,S,B,z);let pe={};Object.keys(z).forEach(V=>{pe[z[V]]=V});let ce=Object.keys(pe).sort().reverse(),oe=ce.length;for(let V=0;V<oe;V++){let K=ce[V],ae=pe[K];if(Z=M.replace(K,""),Z!==M){let se;switch(ae){case"thousand":se=Math.pow(10,3);break;case"million":se=Math.pow(10,6);break;case"billion":se=Math.pow(10,9);break;case"trillion":se=Math.pow(10,12);break}return r(Z,y,h,S,B,z)*se}}}function n(M,y,h){let S=M.replace(h,"");return S=S.replace(new RegExp(`([0-9])${t(y.thousands)}([0-9])`,"g"),"$1$2"),S=S.replace(y.decimal,"."),S}function a(M,y,h="",S,B,z,G){if(M==="")return;if(M===B)return 0;let Z=n(M,y,h);return r(Z,y,h,S,B,z)}function i(M,y){if(!(M.indexOf(":")&&y.thousands!==":"))return!1;let S=M.split(":");if(S.length!==3)return!1;let B=+S[0],z=+S[1],G=+S[2];return!isNaN(B)&&!isNaN(z)&&!isNaN(G)}function l(M){let y=M.split(":"),h=+y[0],S=+y[1];return+y[2]+60*S+3600*h}function v(M,y){const h=Yi();let S=h.currentDelimiters(),B=h.currentCurrency().symbol,z=h.currentOrdinal(),G=h.getZeroFormat(),Z=h.currentAbbreviations(),q;if(typeof M=="string")i(M,S)?q=l(M):q=a(M,S,B,z,G,Z);else if(typeof M=="number")q=M;else return;if(q!==void 0)return q}return Jn={unformat:v},Jn}/*!
|
|
52
|
+
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
53
|
+
*
|
|
54
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
55
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
56
|
+
* in the Software without restriction, including without limitation the rights
|
|
57
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
58
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
59
|
+
* furnished to do so, subject to the following conditions:
|
|
60
|
+
*
|
|
61
|
+
* The above copyright notice and this permission notice shall be included in
|
|
62
|
+
* all copies or substantial portions of the Software.
|
|
63
|
+
*
|
|
64
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
65
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
66
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
67
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
68
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
69
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
70
|
+
* SOFTWARE.
|
|
71
|
+
*/var Vn,as;function Vi(){if(as)return Vn;as=1;let e=vu();const t=/^[a-z]{2,3}(-[a-zA-Z]{4})?(-([A-Z]{2}|[0-9]{3}))?$/,r=["currency","percent","byte","time","ordinal","number"],n=["trillion","billion","million","thousand"],a=["prefix","infix","postfix"],i=["sign","parenthesis"],l={type:"object",children:{thousand:{type:"string",mandatory:!0},million:{type:"string",mandatory:!0},billion:{type:"string",mandatory:!0},trillion:{type:"string",mandatory:!0}},mandatory:!0},y={output:{type:"string",validValues:r},base:{type:"string",validValues:["decimal","binary","general"],restriction:(q,Q)=>Q.output==="byte",message:"`base` must be provided only when the output is `byte`",mandatory:q=>q.output==="byte"},characteristic:{type:"number",restriction:q=>q>=0,message:"value must be positive"},prefix:"string",postfix:"string",forceAverage:{type:"string",validValues:n},average:"boolean",lowPrecision:{type:"boolean",restriction:(q,Q)=>Q.average===!0,message:"`lowPrecision` must be provided only when the option `average` is set"},currencyPosition:{type:"string",validValues:a},currencySymbol:"string",totalLength:{type:"number",restrictions:[{restriction:q=>q>=0,message:"value must be positive"},{restriction:(q,Q)=>!Q.exponential,message:"`totalLength` is incompatible with `exponential`"}]},mantissa:{type:"number",restriction:q=>q>=0,message:"value must be positive"},optionalMantissa:"boolean",trimMantissa:"boolean",roundingFunction:"function",optionalCharacteristic:"boolean",thousandSeparated:"boolean",spaceSeparated:"boolean",spaceSeparatedCurrency:"boolean",spaceSeparatedAbbreviation:"boolean",abbreviations:{type:"object",children:{thousand:"string",million:"string",billion:"string",trillion:"string"}},negative:{type:"string",validValues:i},forceSign:"boolean",exponential:{type:"boolean"},prefixSymbol:{type:"boolean",restriction:(q,Q)=>Q.output==="percent",message:"`prefixSymbol` can be provided only when the output is `percent`"}},h={languageTag:{type:"string",mandatory:!0,restriction:q=>q.match(t),message:"the language tag must follow the BCP 47 specification (see https://tools.ieft.org/html/bcp47)"},delimiters:{type:"object",children:{thousands:"string",decimal:"string",thousandsSize:"number"},mandatory:!0},abbreviations:l,spaceSeparated:"boolean",spaceSeparatedCurrency:"boolean",ordinal:{type:"function",mandatory:!0},bytes:{type:"object",children:{binarySuffixes:"object",decimalSuffixes:"object"}},currency:{type:"object",children:{symbol:"string",position:"string",code:"string"},mandatory:!0},defaults:"format",ordinalFormat:"format",byteFormat:"format",percentageFormat:"format",currencyFormat:"format",timeDefaults:"format",formats:{type:"object",children:{fourDigits:{type:"format",mandatory:!0},fullWithTwoDecimals:{type:"format",mandatory:!0},fullWithTwoDecimalsNoCurrency:{type:"format",mandatory:!0},fullWithNoDecimals:{type:"format",mandatory:!0}}}};function S(q,Q){let X=B(q),pe=G(Q);return X&&pe}function B(q){return e.unformat(q)!==void 0}function z(q,Q,X,pe=!1){let ce=Object.keys(q).map(oe=>{if(!Q[oe])return console.error(`${X} Invalid key: ${oe}`),!1;let V=q[oe],K=Q[oe];if(typeof K=="string"&&(K={type:K}),K.type==="format"){if(!z(V,y,`[Validate ${oe}]`,!0))return!1}else if(typeof V!==K.type)return console.error(`${X} ${oe} type mismatched: "${K.type}" expected, "${typeof V}" provided`),!1;if(K.restrictions&&K.restrictions.length){let ae=K.restrictions.length;for(let se=0;se<ae;se++){let{restriction:Y,message:E}=K.restrictions[se];if(!Y(V,q))return console.error(`${X} ${oe} invalid value: ${E}`),!1}}return K.restriction&&!K.restriction(V,q)?(console.error(`${X} ${oe} invalid value: ${K.message}`),!1):K.validValues&&K.validValues.indexOf(V)===-1?(console.error(`${X} ${oe} invalid value: must be among ${JSON.stringify(K.validValues)}, "${V}" provided`),!1):!(K.children&&!z(V,K.children,`[Validate ${oe}]`))});return pe||ce.push(...Object.keys(Q).map(oe=>{let V=Q[oe];if(typeof V=="string"&&(V={type:V}),V.mandatory){let K=V.mandatory;if(typeof K=="function"&&(K=K(q)),K&&q[oe]===void 0)return console.error(`${X} Missing mandatory key "${oe}"`),!1}return!0})),ce.reduce((oe,V)=>oe&&V,!0)}function G(q){return z(q,y,"[Validate format]")}function Z(q){return z(q,h,"[Validate language]")}return Vn={validate:S,validateFormat:G,validateInput:B,validateLanguage:Z},Vn}/*!
|
|
72
|
+
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
73
|
+
*
|
|
74
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
75
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
76
|
+
* in the Software without restriction, including without limitation the rights
|
|
77
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
78
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
79
|
+
* furnished to do so, subject to the following conditions:
|
|
80
|
+
*
|
|
81
|
+
* The above copyright notice and this permission notice shall be included in
|
|
82
|
+
* all copies or substantial portions of the Software.
|
|
83
|
+
*
|
|
84
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
85
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
86
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
87
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
88
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
89
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
90
|
+
* SOFTWARE.
|
|
91
|
+
*/function Q1(e,t){let r=e.match(/^{([^}]*)}/);return r?(t.prefix=r[1],e.slice(r[0].length)):e}function ey(e,t){let r=e.match(/{([^}]*)}$/);return r?(t.postfix=r[1],e.slice(0,-r[0].length)):e}function ty(e,t){if(e.indexOf("$")!==-1){t.output="currency";return}if(e.indexOf("%")!==-1){t.output="percent";return}if(e.indexOf("bd")!==-1){t.output="byte",t.base="general";return}if(e.indexOf("b")!==-1){t.output="byte",t.base="binary";return}if(e.indexOf("d")!==-1){t.output="byte",t.base="decimal";return}if(e.indexOf(":")!==-1){t.output="time";return}e.indexOf("o")!==-1&&(t.output="ordinal")}function ry(e,t){e.indexOf(",")!==-1&&(t.thousandSeparated=!0)}function ny(e,t){e.indexOf(" ")!==-1&&(t.spaceSeparated=!0,t.spaceSeparatedCurrency=!0,(t.average||t.forceAverage)&&(t.spaceSeparatedAbbreviation=!0))}function iy(e,t){let r=e.match(/[1-9]+[0-9]*/);r&&(t.totalLength=+r[0])}function oy(e,t){let n=e.split(".")[0].match(/0+/);n&&(t.characteristic=n[0].length)}function sy(e,t){let r=e.split(".")[1];if(r){let n=r.match(/0+/);n&&(t.mantissa=n[0].length)}}function ay(e,t){const r=e.split(".")[1];r&&(t.trimMantissa=r.indexOf("[")!==-1)}function uy(e,t){e.indexOf("a")!==-1&&(t.average=!0)}function fy(e,t){e.indexOf("K")!==-1?t.forceAverage="thousand":e.indexOf("M")!==-1?t.forceAverage="million":e.indexOf("B")!==-1?t.forceAverage="billion":e.indexOf("T")!==-1&&(t.forceAverage="trillion")}function ly(e,t){e.match(/\[\.]/)?t.optionalMantissa=!0:e.match(/\./)&&(t.optionalMantissa=!1)}function cy(e,t){if(e.indexOf(".")!==-1){let r=e.split(".")[0];t.optionalCharacteristic=r.indexOf("0")===-1}}function hy(e,t){e.match(/^\+?\([^)]*\)$/)&&(t.negative="parenthesis"),e.match(/^\+?-/)&&(t.negative="sign")}function dy(e,t){e.match(/^\+/)&&(t.forceSign=!0)}function py(e,t={}){return typeof e!="string"?e:(e=Q1(e,t),e=ey(e,t),ty(e,t),iy(e,t),oy(e,t),cy(e,t),uy(e,t),fy(e,t),sy(e,t),ly(e,t),ay(e,t),ry(e,t),ny(e,t),hy(e,t),dy(e,t),t)}var Ki={parseFormat:py};/*!
|
|
92
|
+
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
93
|
+
*
|
|
94
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
95
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
96
|
+
* in the Software without restriction, including without limitation the rights
|
|
97
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
98
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
99
|
+
* furnished to do so, subject to the following conditions:
|
|
100
|
+
*
|
|
101
|
+
* The above copyright notice and this permission notice shall be included in
|
|
102
|
+
* all copies or substantial portions of the Software.
|
|
103
|
+
*
|
|
104
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
105
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
106
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
107
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
108
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
109
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
110
|
+
* SOFTWARE.
|
|
111
|
+
*/var Kn,us;function Yi(){if(us)return Kn;us=1;const e=X1(),t=Vi(),r=Ki;let n={},a,i={},l=null,v={};function M(h){a=h}function y(){return i[a]}return n.languages=()=>Object.assign({},i),n.currentLanguage=()=>a,n.currentBytes=()=>y().bytes||{},n.currentCurrency=()=>y().currency,n.currentAbbreviations=()=>y().abbreviations,n.currentDelimiters=()=>y().delimiters,n.currentOrdinal=()=>y().ordinal,n.currentDefaults=()=>Object.assign({},y().defaults,v),n.currentOrdinalDefaultFormat=()=>Object.assign({},n.currentDefaults(),y().ordinalFormat),n.currentByteDefaultFormat=()=>Object.assign({},n.currentDefaults(),y().byteFormat),n.currentPercentageDefaultFormat=()=>Object.assign({},n.currentDefaults(),y().percentageFormat),n.currentCurrencyDefaultFormat=()=>Object.assign({},n.currentDefaults(),y().currencyFormat),n.currentTimeDefaultFormat=()=>Object.assign({},n.currentDefaults(),y().timeFormat),n.setDefaults=h=>{h=r.parseFormat(h),t.validateFormat(h)&&(v=h)},n.getZeroFormat=()=>l,n.setZeroFormat=h=>l=typeof h=="string"?h:null,n.hasZeroFormat=()=>l!==null,n.languageData=h=>{if(h){if(i[h])return i[h];throw new Error(`Unknown tag "${h}"`)}return y()},n.registerLanguage=(h,S=!1)=>{if(!t.validateLanguage(h))throw new Error("Invalid language data");i[h.languageTag]=h,S&&M(h.languageTag)},n.setLanguage=(h,S=e.languageTag)=>{if(!i[h]){let B=h.split("-")[0],z=Object.keys(i).find(G=>G.split("-")[0]===B);if(!i[z]){M(S);return}M(z);return}M(h)},n.registerLanguage(e),a=e.languageTag,Kn=n,Kn}function gy(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}/*!
|
|
112
|
+
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
113
|
+
*
|
|
114
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
115
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
116
|
+
* in the Software without restriction, including without limitation the rights
|
|
117
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
118
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
119
|
+
* furnished to do so, subject to the following conditions:
|
|
120
|
+
*
|
|
121
|
+
* The above copyright notice and this permission notice shall be included in
|
|
122
|
+
* all copies or substantial portions of the Software.
|
|
123
|
+
*
|
|
124
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
125
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
126
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
127
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
128
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
129
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
130
|
+
* SOFTWARE.
|
|
131
|
+
*/function my(e,t){e.forEach(r=>{let n;try{n=gy(`../languages/${r}`)}catch{console.error(`Unable to load "${r}". No matching language file found.`)}n&&t.registerLanguage(n)})}var yy=e=>({loadLanguagesInNode:t=>my(t,e)}),bu={exports:{}};(function(e){(function(t){var r,n=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,a=Math.ceil,i=Math.floor,l="[BigNumber Error] ",v=l+"Number primitive has more than 15 significant digits: ",M=1e14,y=14,h=9007199254740991,S=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],B=1e7,z=1e9;function G(V){var K,ae,se,Y=L.prototype={constructor:L,toString:null,valueOf:null},E=new L(1),o=20,c=4,d=-7,p=21,w=-1e7,A=1e7,$=!1,b=1,u=0,_={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:" ",suffix:""},ee="0123456789abcdefghijklmnopqrstuvwxyz",te=!0;function L(m,O){var T,P,N,I,D,R,F,U,k=this;if(!(k instanceof L))return new L(m,O);if(O==null){if(m&&m._isBigNumber===!0){k.s=m.s,!m.c||m.e>A?k.c=k.e=null:m.e<w?k.c=[k.e=0]:(k.e=m.e,k.c=m.c.slice());return}if((R=typeof m=="number")&&m*0==0){if(k.s=1/m<0?(m=-m,-1):1,m===~~m){for(I=0,D=m;D>=10;D/=10,I++);I>A?k.c=k.e=null:(k.e=I,k.c=[m]);return}U=String(m)}else{if(!n.test(U=String(m)))return se(k,U,R);k.s=U.charCodeAt(0)==45?(U=U.slice(1),-1):1}(I=U.indexOf("."))>-1&&(U=U.replace(".","")),(D=U.search(/e/i))>0?(I<0&&(I=D),I+=+U.slice(D+1),U=U.substring(0,D)):I<0&&(I=U.length)}else{if(X(O,2,ee.length,"Base"),O==10&&te)return k=new L(m),xe(k,o+k.e+1,c);if(U=String(m),R=typeof m=="number"){if(m*0!=0)return se(k,U,R,O);if(k.s=1/m<0?(U=U.slice(1),-1):1,L.DEBUG&&U.replace(/^0\.0*|\./,"").length>15)throw Error(v+m)}else k.s=U.charCodeAt(0)===45?(U=U.slice(1),-1):1;for(T=ee.slice(0,O),I=D=0,F=U.length;D<F;D++)if(T.indexOf(P=U.charAt(D))<0){if(P=="."){if(D>I){I=F;continue}}else if(!N&&(U==U.toUpperCase()&&(U=U.toLowerCase())||U==U.toLowerCase()&&(U=U.toUpperCase()))){N=!0,D=-1,I=0;continue}return se(k,String(m),R,O)}R=!1,U=ae(U,O,10,k.s),(I=U.indexOf("."))>-1?U=U.replace(".",""):I=U.length}for(D=0;U.charCodeAt(D)===48;D++);for(F=U.length;U.charCodeAt(--F)===48;);if(U=U.slice(D,++F)){if(F-=D,R&&L.DEBUG&&F>15&&(m>h||m!==i(m)))throw Error(v+k.s*m);if((I=I-D-1)>A)k.c=k.e=null;else if(I<w)k.c=[k.e=0];else{if(k.e=I,k.c=[],D=(I+1)%y,I<0&&(D+=y),D<F){for(D&&k.c.push(+U.slice(0,D)),F-=y;D<F;)k.c.push(+U.slice(D,D+=y));D=y-(U=U.slice(D)).length}else D-=F;for(;D--;U+="0");k.c.push(+U)}}else k.c=[k.e=0]}L.clone=G,L.ROUND_UP=0,L.ROUND_DOWN=1,L.ROUND_CEIL=2,L.ROUND_FLOOR=3,L.ROUND_HALF_UP=4,L.ROUND_HALF_DOWN=5,L.ROUND_HALF_EVEN=6,L.ROUND_HALF_CEIL=7,L.ROUND_HALF_FLOOR=8,L.EUCLID=9,L.config=L.set=function(m){var O,T;if(m!=null)if(typeof m=="object"){if(m.hasOwnProperty(O="DECIMAL_PLACES")&&(T=m[O],X(T,0,z,O),o=T),m.hasOwnProperty(O="ROUNDING_MODE")&&(T=m[O],X(T,0,8,O),c=T),m.hasOwnProperty(O="EXPONENTIAL_AT")&&(T=m[O],T&&T.pop?(X(T[0],-z,0,O),X(T[1],0,z,O),d=T[0],p=T[1]):(X(T,-z,z,O),d=-(p=T<0?-T:T))),m.hasOwnProperty(O="RANGE"))if(T=m[O],T&&T.pop)X(T[0],-z,-1,O),X(T[1],1,z,O),w=T[0],A=T[1];else if(X(T,-z,z,O),T)w=-(A=T<0?-T:T);else throw Error(l+O+" cannot be zero: "+T);if(m.hasOwnProperty(O="CRYPTO"))if(T=m[O],T===!!T)if(T)if(typeof crypto<"u"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))$=T;else throw $=!T,Error(l+"crypto unavailable");else $=T;else throw Error(l+O+" not true or false: "+T);if(m.hasOwnProperty(O="MODULO_MODE")&&(T=m[O],X(T,0,9,O),b=T),m.hasOwnProperty(O="POW_PRECISION")&&(T=m[O],X(T,0,z,O),u=T),m.hasOwnProperty(O="FORMAT"))if(T=m[O],typeof T=="object")_=T;else throw Error(l+O+" not an object: "+T);if(m.hasOwnProperty(O="ALPHABET"))if(T=m[O],typeof T=="string"&&!/^.?$|[+\-.\s]|(.).*\1/.test(T))te=T.slice(0,10)=="0123456789",ee=T;else throw Error(l+O+" invalid: "+T)}else throw Error(l+"Object expected: "+m);return{DECIMAL_PLACES:o,ROUNDING_MODE:c,EXPONENTIAL_AT:[d,p],RANGE:[w,A],CRYPTO:$,MODULO_MODE:b,POW_PRECISION:u,FORMAT:_,ALPHABET:ee}},L.isBigNumber=function(m){if(!m||m._isBigNumber!==!0)return!1;if(!L.DEBUG)return!0;var O,T,P=m.c,N=m.e,I=m.s;e:if({}.toString.call(P)=="[object Array]"){if((I===1||I===-1)&&N>=-z&&N<=z&&N===i(N)){if(P[0]===0){if(N===0&&P.length===1)return!0;break e}if(O=(N+1)%y,O<1&&(O+=y),String(P[0]).length==O){for(O=0;O<P.length;O++)if(T=P[O],T<0||T>=M||T!==i(T))break e;if(T!==0)return!0}}}else if(P===null&&N===null&&(I===null||I===1||I===-1))return!0;throw Error(l+"Invalid BigNumber: "+m)},L.maximum=L.max=function(){return ye(arguments,-1)},L.minimum=L.min=function(){return ye(arguments,1)},L.random=function(){var m=9007199254740992,O=Math.random()*m&2097151?function(){return i(Math.random()*m)}:function(){return(Math.random()*1073741824|0)*8388608+(Math.random()*8388608|0)};return function(T){var P,N,I,D,R,F=0,U=[],k=new L(E);if(T==null?T=o:X(T,0,z),D=a(T/y),$)if(crypto.getRandomValues){for(P=crypto.getRandomValues(new Uint32Array(D*=2));F<D;)R=P[F]*131072+(P[F+1]>>>11),R>=9e15?(N=crypto.getRandomValues(new Uint32Array(2)),P[F]=N[0],P[F+1]=N[1]):(U.push(R%1e14),F+=2);F=D/2}else if(crypto.randomBytes){for(P=crypto.randomBytes(D*=7);F<D;)R=(P[F]&31)*281474976710656+P[F+1]*1099511627776+P[F+2]*4294967296+P[F+3]*16777216+(P[F+4]<<16)+(P[F+5]<<8)+P[F+6],R>=9e15?crypto.randomBytes(7).copy(P,F):(U.push(R%1e14),F+=7);F=D/7}else throw $=!1,Error(l+"crypto unavailable");if(!$)for(;F<D;)R=O(),R<9e15&&(U[F++]=R%1e14);for(D=U[--F],T%=y,D&&T&&(R=S[y-T],U[F]=i(D/R)*R);U[F]===0;U.pop(),F--);if(F<0)U=[I=0];else{for(I=-1;U[0]===0;U.splice(0,1),I-=y);for(F=1,R=U[0];R>=10;R/=10,F++);F<y&&(I-=y-F)}return k.e=I,k.c=U,k}}(),L.sum=function(){for(var m=1,O=arguments,T=new L(O[0]);m<O.length;)T=T.plus(O[m++]);return T},ae=function(){var m="0123456789";function O(T,P,N,I){for(var D,R=[0],F,U=0,k=T.length;U<k;){for(F=R.length;F--;R[F]*=P);for(R[0]+=I.indexOf(T.charAt(U++)),D=0;D<R.length;D++)R[D]>N-1&&(R[D+1]==null&&(R[D+1]=0),R[D+1]+=R[D]/N|0,R[D]%=N)}return R.reverse()}return function(T,P,N,I,D){var R,F,U,k,J,ne,ue,fe,de=T.indexOf("."),_e=o,he=c;for(de>=0&&(k=u,u=0,T=T.replace(".",""),fe=new L(P),ne=fe.pow(T.length-de),u=k,fe.c=O(oe(q(ne.c),ne.e,"0"),10,N,m),fe.e=fe.c.length),ue=O(T,P,N,D?(R=ee,m):(R=m,ee)),U=k=ue.length;ue[--k]==0;ue.pop());if(!ue[0])return R.charAt(0);if(de<0?--U:(ne.c=ue,ne.e=U,ne.s=I,ne=K(ne,fe,_e,he,N),ue=ne.c,J=ne.r,U=ne.e),F=U+_e+1,de=ue[F],k=N/2,J=J||F<0||ue[F+1]!=null,J=he<4?(de!=null||J)&&(he==0||he==(ne.s<0?3:2)):de>k||de==k&&(he==4||J||he==6&&ue[F-1]&1||he==(ne.s<0?8:7)),F<1||!ue[0])T=J?oe(R.charAt(1),-_e,R.charAt(0)):R.charAt(0);else{if(ue.length=F,J)for(--N;++ue[--F]>N;)ue[F]=0,F||(++U,ue=[1].concat(ue));for(k=ue.length;!ue[--k];);for(de=0,T="";de<=k;T+=R.charAt(ue[de++]));T=oe(T,U,R.charAt(0))}return T}}(),K=function(){function m(P,N,I){var D,R,F,U,k=0,J=P.length,ne=N%B,ue=N/B|0;for(P=P.slice();J--;)F=P[J]%B,U=P[J]/B|0,D=ue*F+U*ne,R=ne*F+D%B*B+k,k=(R/I|0)+(D/B|0)+ue*U,P[J]=R%I;return k&&(P=[k].concat(P)),P}function O(P,N,I,D){var R,F;if(I!=D)F=I>D?1:-1;else for(R=F=0;R<I;R++)if(P[R]!=N[R]){F=P[R]>N[R]?1:-1;break}return F}function T(P,N,I,D){for(var R=0;I--;)P[I]-=R,R=P[I]<N[I]?1:0,P[I]=R*D+P[I]-N[I];for(;!P[0]&&P.length>1;P.splice(0,1));}return function(P,N,I,D,R){var F,U,k,J,ne,ue,fe,de,_e,he,le,Te,g,s,f,x,C,j=P.s==N.s?1:-1,H=P.c,re=N.c;if(!H||!H[0]||!re||!re[0])return new L(!P.s||!N.s||(H?re&&H[0]==re[0]:!re)?NaN:H&&H[0]==0||!re?j*0:j/0);for(de=new L(j),_e=de.c=[],U=P.e-N.e,j=I+U+1,R||(R=M,U=Z(P.e/y)-Z(N.e/y),j=j/y|0),k=0;re[k]==(H[k]||0);k++);if(re[k]>(H[k]||0)&&U--,j<0)_e.push(1),J=!0;else{for(s=H.length,x=re.length,k=0,j+=2,ne=i(R/(re[0]+1)),ne>1&&(re=m(re,ne,R),H=m(H,ne,R),x=re.length,s=H.length),g=x,he=H.slice(0,x),le=he.length;le<x;he[le++]=0);C=re.slice(),C=[0].concat(C),f=re[0],re[1]>=R/2&&f++;do{if(ne=0,F=O(re,he,x,le),F<0){if(Te=he[0],x!=le&&(Te=Te*R+(he[1]||0)),ne=i(Te/f),ne>1)for(ne>=R&&(ne=R-1),ue=m(re,ne,R),fe=ue.length,le=he.length;O(ue,he,fe,le)==1;)ne--,T(ue,x<fe?C:re,fe,R),fe=ue.length,F=1;else ne==0&&(F=ne=1),ue=re.slice(),fe=ue.length;if(fe<le&&(ue=[0].concat(ue)),T(he,ue,le,R),le=he.length,F==-1)for(;O(re,he,x,le)<1;)ne++,T(he,x<le?C:re,le,R),le=he.length}else F===0&&(ne++,he=[0]);_e[k++]=ne,he[0]?he[le++]=H[g]||0:(he=[H[g]],le=1)}while((g++<s||he[0]!=null)&&j--);J=he[0]!=null,_e[0]||_e.splice(0,1)}if(R==M){for(k=1,j=_e[0];j>=10;j/=10,k++);xe(de,I+(de.e=k+U*y-1)+1,D,J)}else de.e=U,de.r=+J;return de}}();function ie(m,O,T,P){var N,I,D,R,F;if(T==null?T=c:X(T,0,8),!m.c)return m.toString();if(N=m.c[0],D=m.e,O==null)F=q(m.c),F=P==1||P==2&&(D<=d||D>=p)?ce(F,D):oe(F,D,"0");else if(m=xe(new L(m),O,T),I=m.e,F=q(m.c),R=F.length,P==1||P==2&&(O<=I||I<=d)){for(;R<O;F+="0",R++);F=ce(F,I)}else if(O-=D,F=oe(F,I,"0"),I+1>R){if(--O>0)for(F+=".";O--;F+="0");}else if(O+=I-R,O>0)for(I+1==R&&(F+=".");O--;F+="0");return m.s<0&&N?"-"+F:F}function ye(m,O){for(var T,P,N=1,I=new L(m[0]);N<m.length;N++)P=new L(m[N]),(!P.s||(T=Q(I,P))===O||T===0&&I.s===O)&&(I=P);return I}function be(m,O,T){for(var P=1,N=O.length;!O[--N];O.pop());for(N=O[0];N>=10;N/=10,P++);return(T=P+T*y-1)>A?m.c=m.e=null:T<w?m.c=[m.e=0]:(m.e=T,m.c=O),m}se=function(){var m=/^(-?)0([xbo])(?=\w[\w.]*$)/i,O=/^([^.]+)\.$/,T=/^\.([^.]+)$/,P=/^-?(Infinity|NaN)$/,N=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(I,D,R,F){var U,k=R?D:D.replace(N,"");if(P.test(k))I.s=isNaN(k)?null:k<0?-1:1;else{if(!R&&(k=k.replace(m,function(J,ne,ue){return U=(ue=ue.toLowerCase())=="x"?16:ue=="b"?2:8,!F||F==U?ne:J}),F&&(U=F,k=k.replace(O,"$1").replace(T,"0.$1")),D!=k))return new L(k,U);if(L.DEBUG)throw Error(l+"Not a"+(F?" base "+F:"")+" number: "+D);I.s=null}I.c=I.e=null}}();function xe(m,O,T,P){var N,I,D,R,F,U,k,J=m.c,ne=S;if(J){e:{for(N=1,R=J[0];R>=10;R/=10,N++);if(I=O-N,I<0)I+=y,D=O,F=J[U=0],k=i(F/ne[N-D-1]%10);else if(U=a((I+1)/y),U>=J.length)if(P){for(;J.length<=U;J.push(0));F=k=0,N=1,I%=y,D=I-y+1}else break e;else{for(F=R=J[U],N=1;R>=10;R/=10,N++);I%=y,D=I-y+N,k=D<0?0:i(F/ne[N-D-1]%10)}if(P=P||O<0||J[U+1]!=null||(D<0?F:F%ne[N-D-1]),P=T<4?(k||P)&&(T==0||T==(m.s<0?3:2)):k>5||k==5&&(T==4||P||T==6&&(I>0?D>0?F/ne[N-D]:0:J[U-1])%10&1||T==(m.s<0?8:7)),O<1||!J[0])return J.length=0,P?(O-=m.e+1,J[0]=ne[(y-O%y)%y],m.e=-O||0):J[0]=m.e=0,m;if(I==0?(J.length=U,R=1,U--):(J.length=U+1,R=ne[y-I],J[U]=D>0?i(F/ne[N-D]%ne[D])*R:0),P)for(;;)if(U==0){for(I=1,D=J[0];D>=10;D/=10,I++);for(D=J[0]+=R,R=1;D>=10;D/=10,R++);I!=R&&(m.e++,J[0]==M&&(J[0]=1));break}else{if(J[U]+=R,J[U]!=M)break;J[U--]=0,R=1}for(I=J.length;J[--I]===0;J.pop());}m.e>A?m.c=m.e=null:m.e<w&&(m.c=[m.e=0])}return m}function ge(m){var O,T=m.e;return T===null?m.toString():(O=q(m.c),O=T<=d||T>=p?ce(O,T):oe(O,T,"0"),m.s<0?"-"+O:O)}return Y.absoluteValue=Y.abs=function(){var m=new L(this);return m.s<0&&(m.s=1),m},Y.comparedTo=function(m,O){return Q(this,new L(m,O))},Y.decimalPlaces=Y.dp=function(m,O){var T,P,N,I=this;if(m!=null)return X(m,0,z),O==null?O=c:X(O,0,8),xe(new L(I),m+I.e+1,O);if(!(T=I.c))return null;if(P=((N=T.length-1)-Z(this.e/y))*y,N=T[N])for(;N%10==0;N/=10,P--);return P<0&&(P=0),P},Y.dividedBy=Y.div=function(m,O){return K(this,new L(m,O),o,c)},Y.dividedToIntegerBy=Y.idiv=function(m,O){return K(this,new L(m,O),0,1)},Y.exponentiatedBy=Y.pow=function(m,O){var T,P,N,I,D,R,F,U,k,J=this;if(m=new L(m),m.c&&!m.isInteger())throw Error(l+"Exponent not an integer: "+ge(m));if(O!=null&&(O=new L(O)),R=m.e>14,!J.c||!J.c[0]||J.c[0]==1&&!J.e&&J.c.length==1||!m.c||!m.c[0])return k=new L(Math.pow(+ge(J),R?m.s*(2-pe(m)):+ge(m))),O?k.mod(O):k;if(F=m.s<0,O){if(O.c?!O.c[0]:!O.s)return new L(NaN);P=!F&&J.isInteger()&&O.isInteger(),P&&(J=J.mod(O))}else{if(m.e>9&&(J.e>0||J.e<-1||(J.e==0?J.c[0]>1||R&&J.c[1]>=24e7:J.c[0]<8e13||R&&J.c[0]<=9999975e7)))return I=J.s<0&&pe(m)?-0:0,J.e>-1&&(I=1/I),new L(F?1/I:I);u&&(I=a(u/y+2))}for(R?(T=new L(.5),F&&(m.s=1),U=pe(m)):(N=Math.abs(+ge(m)),U=N%2),k=new L(E);;){if(U){if(k=k.times(J),!k.c)break;I?k.c.length>I&&(k.c.length=I):P&&(k=k.mod(O))}if(N){if(N=i(N/2),N===0)break;U=N%2}else if(m=m.times(T),xe(m,m.e+1,1),m.e>14)U=pe(m);else{if(N=+ge(m),N===0)break;U=N%2}J=J.times(J),I?J.c&&J.c.length>I&&(J.c.length=I):P&&(J=J.mod(O))}return P?k:(F&&(k=E.div(k)),O?k.mod(O):I?xe(k,u,c,D):k)},Y.integerValue=function(m){var O=new L(this);return m==null?m=c:X(m,0,8),xe(O,O.e+1,m)},Y.isEqualTo=Y.eq=function(m,O){return Q(this,new L(m,O))===0},Y.isFinite=function(){return!!this.c},Y.isGreaterThan=Y.gt=function(m,O){return Q(this,new L(m,O))>0},Y.isGreaterThanOrEqualTo=Y.gte=function(m,O){return(O=Q(this,new L(m,O)))===1||O===0},Y.isInteger=function(){return!!this.c&&Z(this.e/y)>this.c.length-2},Y.isLessThan=Y.lt=function(m,O){return Q(this,new L(m,O))<0},Y.isLessThanOrEqualTo=Y.lte=function(m,O){return(O=Q(this,new L(m,O)))===-1||O===0},Y.isNaN=function(){return!this.s},Y.isNegative=function(){return this.s<0},Y.isPositive=function(){return this.s>0},Y.isZero=function(){return!!this.c&&this.c[0]==0},Y.minus=function(m,O){var T,P,N,I,D=this,R=D.s;if(m=new L(m,O),O=m.s,!R||!O)return new L(NaN);if(R!=O)return m.s=-O,D.plus(m);var F=D.e/y,U=m.e/y,k=D.c,J=m.c;if(!F||!U){if(!k||!J)return k?(m.s=-O,m):new L(J?D:NaN);if(!k[0]||!J[0])return J[0]?(m.s=-O,m):new L(k[0]?D:c==3?-0:0)}if(F=Z(F),U=Z(U),k=k.slice(),R=F-U){for((I=R<0)?(R=-R,N=k):(U=F,N=J),N.reverse(),O=R;O--;N.push(0));N.reverse()}else for(P=(I=(R=k.length)<(O=J.length))?R:O,R=O=0;O<P;O++)if(k[O]!=J[O]){I=k[O]<J[O];break}if(I&&(N=k,k=J,J=N,m.s=-m.s),O=(P=J.length)-(T=k.length),O>0)for(;O--;k[T++]=0);for(O=M-1;P>R;){if(k[--P]<J[P]){for(T=P;T&&!k[--T];k[T]=O);--k[T],k[P]+=M}k[P]-=J[P]}for(;k[0]==0;k.splice(0,1),--U);return k[0]?be(m,k,U):(m.s=c==3?-1:1,m.c=[m.e=0],m)},Y.modulo=Y.mod=function(m,O){var T,P,N=this;return m=new L(m,O),!N.c||!m.s||m.c&&!m.c[0]?new L(NaN):!m.c||N.c&&!N.c[0]?new L(N):(b==9?(P=m.s,m.s=1,T=K(N,m,0,3),m.s=P,T.s*=P):T=K(N,m,0,b),m=N.minus(T.times(m)),!m.c[0]&&b==1&&(m.s=N.s),m)},Y.multipliedBy=Y.times=function(m,O){var T,P,N,I,D,R,F,U,k,J,ne,ue,fe,de,_e,he=this,le=he.c,Te=(m=new L(m,O)).c;if(!le||!Te||!le[0]||!Te[0])return!he.s||!m.s||le&&!le[0]&&!Te||Te&&!Te[0]&&!le?m.c=m.e=m.s=null:(m.s*=he.s,!le||!Te?m.c=m.e=null:(m.c=[0],m.e=0)),m;for(P=Z(he.e/y)+Z(m.e/y),m.s*=he.s,F=le.length,J=Te.length,F<J&&(fe=le,le=Te,Te=fe,N=F,F=J,J=N),N=F+J,fe=[];N--;fe.push(0));for(de=M,_e=B,N=J;--N>=0;){for(T=0,ne=Te[N]%_e,ue=Te[N]/_e|0,D=F,I=N+D;I>N;)U=le[--D]%_e,k=le[D]/_e|0,R=ue*U+k*ne,U=ne*U+R%_e*_e+fe[I]+T,T=(U/de|0)+(R/_e|0)+ue*k,fe[I--]=U%de;fe[I]=T}return T?++P:fe.splice(0,1),be(m,fe,P)},Y.negated=function(){var m=new L(this);return m.s=-m.s||null,m},Y.plus=function(m,O){var T,P=this,N=P.s;if(m=new L(m,O),O=m.s,!N||!O)return new L(NaN);if(N!=O)return m.s=-O,P.minus(m);var I=P.e/y,D=m.e/y,R=P.c,F=m.c;if(!I||!D){if(!R||!F)return new L(N/0);if(!R[0]||!F[0])return F[0]?m:new L(R[0]?P:N*0)}if(I=Z(I),D=Z(D),R=R.slice(),N=I-D){for(N>0?(D=I,T=F):(N=-N,T=R),T.reverse();N--;T.push(0));T.reverse()}for(N=R.length,O=F.length,N-O<0&&(T=F,F=R,R=T,O=N),N=0;O;)N=(R[--O]=R[O]+F[O]+N)/M|0,R[O]=M===R[O]?0:R[O]%M;return N&&(R=[N].concat(R),++D),be(m,R,D)},Y.precision=Y.sd=function(m,O){var T,P,N,I=this;if(m!=null&&m!==!!m)return X(m,1,z),O==null?O=c:X(O,0,8),xe(new L(I),m,O);if(!(T=I.c))return null;if(N=T.length-1,P=N*y+1,N=T[N]){for(;N%10==0;N/=10,P--);for(N=T[0];N>=10;N/=10,P++);}return m&&I.e+1>P&&(P=I.e+1),P},Y.shiftedBy=function(m){return X(m,-h,h),this.times("1e"+m)},Y.squareRoot=Y.sqrt=function(){var m,O,T,P,N,I=this,D=I.c,R=I.s,F=I.e,U=o+4,k=new L("0.5");if(R!==1||!D||!D[0])return new L(!R||R<0&&(!D||D[0])?NaN:D?I:1/0);if(R=Math.sqrt(+ge(I)),R==0||R==1/0?(O=q(D),(O.length+F)%2==0&&(O+="0"),R=Math.sqrt(+O),F=Z((F+1)/2)-(F<0||F%2),R==1/0?O="5e"+F:(O=R.toExponential(),O=O.slice(0,O.indexOf("e")+1)+F),T=new L(O)):T=new L(R+""),T.c[0]){for(F=T.e,R=F+U,R<3&&(R=0);;)if(N=T,T=k.times(N.plus(K(I,N,U,1))),q(N.c).slice(0,R)===(O=q(T.c)).slice(0,R))if(T.e<F&&--R,O=O.slice(R-3,R+1),O=="9999"||!P&&O=="4999"){if(!P&&(xe(N,N.e+o+2,0),N.times(N).eq(I))){T=N;break}U+=4,R+=4,P=1}else{(!+O||!+O.slice(1)&&O.charAt(0)=="5")&&(xe(T,T.e+o+2,1),m=!T.times(T).eq(I));break}}return xe(T,T.e+o+1,c,m)},Y.toExponential=function(m,O){return m!=null&&(X(m,0,z),m++),ie(this,m,O,1)},Y.toFixed=function(m,O){return m!=null&&(X(m,0,z),m=m+this.e+1),ie(this,m,O)},Y.toFormat=function(m,O,T){var P,N=this;if(T==null)m!=null&&O&&typeof O=="object"?(T=O,O=null):m&&typeof m=="object"?(T=m,m=O=null):T=_;else if(typeof T!="object")throw Error(l+"Argument not an object: "+T);if(P=N.toFixed(m,O),N.c){var I,D=P.split("."),R=+T.groupSize,F=+T.secondaryGroupSize,U=T.groupSeparator||"",k=D[0],J=D[1],ne=N.s<0,ue=ne?k.slice(1):k,fe=ue.length;if(F&&(I=R,R=F,F=I,fe-=I),R>0&&fe>0){for(I=fe%R||R,k=ue.substr(0,I);I<fe;I+=R)k+=U+ue.substr(I,R);F>0&&(k+=U+ue.slice(I)),ne&&(k="-"+k)}P=J?k+(T.decimalSeparator||"")+((F=+T.fractionGroupSize)?J.replace(new RegExp("\\d{"+F+"}\\B","g"),"$&"+(T.fractionGroupSeparator||"")):J):k}return(T.prefix||"")+P+(T.suffix||"")},Y.toFraction=function(m){var O,T,P,N,I,D,R,F,U,k,J,ne,ue=this,fe=ue.c;if(m!=null&&(R=new L(m),!R.isInteger()&&(R.c||R.s!==1)||R.lt(E)))throw Error(l+"Argument "+(R.isInteger()?"out of range: ":"not an integer: ")+ge(R));if(!fe)return new L(ue);for(O=new L(E),U=T=new L(E),P=F=new L(E),ne=q(fe),I=O.e=ne.length-ue.e-1,O.c[0]=S[(D=I%y)<0?y+D:D],m=!m||R.comparedTo(O)>0?I>0?O:U:R,D=A,A=1/0,R=new L(ne),F.c[0]=0;k=K(R,O,0,1),N=T.plus(k.times(P)),N.comparedTo(m)!=1;)T=P,P=N,U=F.plus(k.times(N=U)),F=N,O=R.minus(k.times(N=O)),R=N;return N=K(m.minus(T),P,0,1),F=F.plus(N.times(U)),T=T.plus(N.times(P)),F.s=U.s=ue.s,I=I*2,J=K(U,P,I,c).minus(ue).abs().comparedTo(K(F,T,I,c).minus(ue).abs())<1?[U,P]:[F,T],A=D,J},Y.toNumber=function(){return+ge(this)},Y.toPrecision=function(m,O){return m!=null&&X(m,1,z),ie(this,m,O,2)},Y.toString=function(m){var O,T=this,P=T.s,N=T.e;return N===null?P?(O="Infinity",P<0&&(O="-"+O)):O="NaN":(m==null?O=N<=d||N>=p?ce(q(T.c),N):oe(q(T.c),N,"0"):m===10&&te?(T=xe(new L(T),o+N+1,c),O=oe(q(T.c),T.e,"0")):(X(m,2,ee.length,"Base"),O=ae(oe(q(T.c),N,"0"),10,m,P,!0)),P<0&&T.c[0]&&(O="-"+O)),O},Y.valueOf=Y.toJSON=function(){return ge(this)},Y._isBigNumber=!0,V!=null&&L.set(V),L}function Z(V){var K=V|0;return V>0||V===K?K:K-1}function q(V){for(var K,ae,se=1,Y=V.length,E=V[0]+"";se<Y;){for(K=V[se++]+"",ae=y-K.length;ae--;K="0"+K);E+=K}for(Y=E.length;E.charCodeAt(--Y)===48;);return E.slice(0,Y+1||1)}function Q(V,K){var ae,se,Y=V.c,E=K.c,o=V.s,c=K.s,d=V.e,p=K.e;if(!o||!c)return null;if(ae=Y&&!Y[0],se=E&&!E[0],ae||se)return ae?se?0:-c:o;if(o!=c)return o;if(ae=o<0,se=d==p,!Y||!E)return se?0:!Y^ae?1:-1;if(!se)return d>p^ae?1:-1;for(c=(d=Y.length)<(p=E.length)?d:p,o=0;o<c;o++)if(Y[o]!=E[o])return Y[o]>E[o]^ae?1:-1;return d==p?0:d>p^ae?1:-1}function X(V,K,ae,se){if(V<K||V>ae||V!==i(V))throw Error(l+(se||"Argument")+(typeof V=="number"?V<K||V>ae?" out of range: ":" not an integer: ":" not a primitive number: ")+String(V))}function pe(V){var K=V.c.length-1;return Z(V.e/y)==K&&V.c[K]%2!=0}function ce(V,K){return(V.length>1?V.charAt(0)+"."+V.slice(1):V)+(K<0?"e":"e+")+K}function oe(V,K,ae){var se,Y;if(K<0){for(Y=ae+".";++K;Y+=ae);V=Y+V}else if(se=V.length,++K>se){for(Y=ae,K-=se;--K;Y+=ae);V+=Y}else K<se&&(V=V.slice(0,K)+"."+V.slice(K));return V}r=G(),r.default=r.BigNumber=r,e.exports?e.exports=r:(t||(t=typeof self<"u"&&self?self:window),t.BigNumber=r)})(K1)})(bu);var xu=bu.exports;/*!
|
|
132
|
+
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
133
|
+
*
|
|
134
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
135
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
136
|
+
* in the Software without restriction, including without limitation the rights
|
|
137
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
138
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
139
|
+
* furnished to do so, subject to the following conditions:
|
|
140
|
+
*
|
|
141
|
+
* The above copyright notice and this permission notice shall be included in
|
|
142
|
+
* all copies or substantial portions of the Software.
|
|
143
|
+
*
|
|
144
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
145
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
146
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
147
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
148
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
149
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
150
|
+
* SOFTWARE.
|
|
151
|
+
*/const st=Yi(),wy=Vi(),vy=Ki,by=xu,Je={trillion:Math.pow(10,12),billion:Math.pow(10,9),million:Math.pow(10,6),thousand:Math.pow(10,3)},Sr={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:Mu,decimalSuffixes:Hr}=st.currentBytes(),Xi={general:{scale:1024,suffixes:Hr,marker:"bd"},binary:{scale:1024,suffixes:Mu,marker:"b"},decimal:{scale:1e3,suffixes:Hr,marker:"d"}};function xy(e,t={},r){if(typeof t=="string"&&(t=vy.parseFormat(t)),!wy.validateFormat(t))return"ERROR: invalid format";let a=t.prefix||"",i=t.postfix||"",l=My(e,t,r);return l=ky(l,a),l=qy(l,i),l}function My(e,t,r){switch(t.output){case"currency":return t=zt(t,st.currentCurrencyDefaultFormat()),Cy(e,t,st);case"percent":return t=zt(t,st.currentPercentageDefaultFormat()),$y(e,t,st,r);case"byte":return t=zt(t,st.currentByteDefaultFormat()),Oy(e,t,st,r);case"time":return t=zt(t,st.currentTimeDefaultFormat()),Ty(e);case"ordinal":return t=zt(t,st.currentOrdinalDefaultFormat()),Ay(e,t,st);case"number":default:return Or({instance:e,providedFormat:t,numbro:r})}}function _y(e){let t=Xi.decimal;return yn(e._value,t.suffixes,t.scale).suffix}function Ey(e){let t=Xi.binary;return yn(e._value,t.suffixes,t.scale).suffix}function Sy(e){let t=Xi.general;return yn(e._value,t.suffixes,t.scale).suffix}function yn(e,t,r){let n=t[0],a=Math.abs(e);if(a>=r){for(let i=1;i<t.length;++i){let l=Math.pow(r,i),v=Math.pow(r,i+1);if(a>=l&&a<v){n=t[i],e=e/l;break}}n===t[0]&&(e=e/Math.pow(r,t.length-1),n=t[t.length-1])}return{value:e,suffix:n}}function Oy(e,t,r,n){let a=t.base||"binary",i=Object.assign({},Sr,t);const{binarySuffixes:l,decimalSuffixes:v}=r.currentBytes();let y={general:{scale:1024,suffixes:v||Hr,marker:"bd"},binary:{scale:1024,suffixes:l||Mu,marker:"b"},decimal:{scale:1e3,suffixes:v||Hr,marker:"d"}}[a],{value:h,suffix:S}=yn(e._value,y.suffixes,y.scale);return`${Or({instance:n(h),providedFormat:t,state:r,defaults:r.currentByteDefaultFormat()})}${i.spaceSeparated?" ":""}${S}`}function Ay(e,t,r){let n=r.currentOrdinal(),a=Object.assign({},Sr,t),i=Or({instance:e,providedFormat:t,state:r}),l=n(e._value);return`${i}${a.spaceSeparated?" ":""}${l}`}function Ty(e){let t=Math.floor(e._value/60/60),r=Math.floor((e._value-t*60*60)/60),n=Math.round(e._value-t*60*60-r*60);return`${t}:${r<10?"0":""}${r}:${n<10?"0":""}${n}`}function $y(e,t,r,n){let a=t.prefixSymbol,i=Or({instance:n(e._value*100),providedFormat:t,state:r}),l=Object.assign({},Sr,t);return a?`%${l.spaceSeparated?" ":""}${i}`:`${i}${l.spaceSeparated?" ":""}%`}function Cy(e,t,r){const n=r.currentCurrency();let a=Object.assign({},t),i=Object.assign({},Sr,a),l,v="",M=!!i.totalLength||!!i.forceAverage||i.average,y=a.currencyPosition||n.position,h=a.currencySymbol||n.symbol;const S=i.spaceSeparatedCurrency!==void 0?i.spaceSeparatedCurrency:i.spaceSeparated;a.lowPrecision===void 0&&(a.lowPrecision=!1),S&&(v=" "),y==="infix"&&(l=v+h+v);let B=Or({instance:e,providedFormat:a,state:r,decimalSeparator:l});return y==="prefix"&&(e._value<0&&i.negative==="sign"?B=`-${v}${h}${B.slice(1)}`:e._value>0&&i.forceSign?B=`+${v}${h}${B.slice(1)}`:B=h+v+B),(!y||y==="postfix")&&(v=!i.spaceSeparatedAbbreviation&&M?"":v,B=B+v+h),B}function Ry({value:e,forceAverage:t,lowPrecision:r=!0,abbreviations:n,spaceSeparated:a=!1,totalLength:i=0,roundingFunction:l=Math.round}){let v="",M=Math.abs(e),y=-1;if(t&&n[t]&&Je[t]?(v=n[t],e=e/Je[t]):M>=Je.trillion||r&&l(M/Je.trillion)===1?(v=n.trillion,e=e/Je.trillion):M<Je.trillion&&M>=Je.billion||r&&l(M/Je.billion)===1?(v=n.billion,e=e/Je.billion):M<Je.billion&&M>=Je.million||r&&l(M/Je.million)===1?(v=n.million,e=e/Je.million):(M<Je.million&&M>=Je.thousand||r&&l(M/Je.thousand)===1)&&(v=n.thousand,e=e/Je.thousand),v&&(v=(a?" ":"")+v),i){let S=e<0,B=e.toString().split(".")[0],z=S?B.length-1:B.length;y=Math.max(i-z,0)}return{value:e,abbreviation:v,mantissaPrecision:y}}function By({value:e,characteristicPrecision:t}){let[r,n]=e.toExponential().split("e"),a=+r;if(!t)return{value:a,abbreviation:`e${n}`};let i=1;return i<t&&(a=a*Math.pow(10,t-i),n=+n-(t-i),n=n>=0?`+${n}`:n),{value:a,abbreviation:`e${n}`}}function Tr(e){let t="";for(let r=0;r<e;r++)t+="0";return t}function Fy(e,t){let r=e.toString(),[n,a]=r.split("e"),[i,l=""]=n.split(".");if(+a>0)r=i+l+Tr(a-l.length);else{let v=".";+i<0?v=`-0${v}`:v=`0${v}`;let M=(Tr(-a-1)+Math.abs(i)+l).substr(0,t);M.length<t&&(M+=Tr(t-M.length)),r=v+M}return+a>0&&t>0&&(r+=`.${Tr(t)}`),r}function Iy(e,t,r=Math.round){return e.toString().indexOf("e")!==-1?Fy(e,t):new by(r(+`${e}e+${t}`)/Math.pow(10,t)).toFixed(t)}function Ny(e,t,r,n,a,i){if(n===-1)return e;let l=Iy(t,n,i),[v,M=""]=l.toString().split(".");if(M.match(/^0+$/)&&(r||a))return v;let y=M.match(/0+$/);return a&&y?`${v}.${M.toString().slice(0,y.index)}`:l.toString()}function Py(e,t,r,n){let a=e,[i,l]=a.toString().split(".");if(i.match(/^-?0$/)&&r)return l?`${i.replace("0","")}.${l}`:i.replace("0","");const v=t<0&&i.indexOf("-")===0;if(v&&(i=i.slice(1),a=a.slice(1)),i.length<n){let M=n-i.length;for(let y=0;y<M;y++)a=`0${a}`}return v&&(a=`-${a}`),a.toString()}function Ly(e,t){let r=[],n=0;for(let a=e;a>0;a--)n===t&&(r.unshift(a),n=0),n++;return r}function Uy(e,t,r,n,a){let i=n.currentDelimiters(),l=i.thousands;a=a||i.decimal;let v=i.thousandsSize||3,M=e.toString(),y=M.split(".")[0],h=M.split(".")[1];const S=t<0&&y.indexOf("-")===0;return r&&(S&&(y=y.slice(1)),Ly(y.length,v).forEach((z,G)=>{y=y.slice(0,z+G)+l+y.slice(z+G)}),S&&(y=`-${y}`)),h?M=y+a+h:M=y,M}function Dy(e,t){return e+t}function jy(e,t,r){return t===0?e:+e==0?e.replace("-",""):t>0?`+${e}`:r==="sign"?e:`(${e.replace("-","")})`}function ky(e,t){return t+e}function qy(e,t){return e+t}function Or({instance:e,providedFormat:t,state:r=st,decimalSeparator:n,defaults:a=r.currentDefaults()}){let i=e._value;if(i===0&&r.hasZeroFormat())return r.getZeroFormat();if(!isFinite(i))return i.toString();let l=Object.assign({},Sr,a,t),v=l.totalLength,M=v?0:l.characteristic,y=l.optionalCharacteristic,h=l.forceAverage,S=l.lowPrecision,B=!!v||!!h||l.average,z=v?-1:B&&t.mantissa===void 0?0:l.mantissa,G=v?!1:t.optionalMantissa===void 0?z===-1:l.optionalMantissa,Z=l.trimMantissa,q=l.thousandSeparated,Q=l.spaceSeparated,X=l.negative,pe=l.forceSign,ce=l.exponential,oe=l.roundingFunction,V="";if(B){let ae=Ry({value:i,forceAverage:h,lowPrecision:S,abbreviations:r.currentAbbreviations(),spaceSeparated:Q,roundingFunction:oe,totalLength:v});i=ae.value,V+=ae.abbreviation,v&&(z=ae.mantissaPrecision)}if(ce){let ae=By({value:i,characteristicPrecision:M});i=ae.value,V=ae.abbreviation+V}let K=Ny(i.toString(),i,G,z,Z,oe);return K=Py(K,i,y,M),K=Uy(K,i,q,r,n),(B||ce)&&(K=Dy(K,V)),(pe||i<0)&&(K=jy(K,i,X)),K}function zt(e,t){if(!e)return t;let r=Object.keys(e);return r.length===1&&r[0]==="output"?t:e}var zy=e=>({format:(...t)=>xy(...t,e),getByteUnit:(...t)=>Sy(...t,e),getBinaryByteUnit:(...t)=>Ey(...t,e),getDecimalByteUnit:(...t)=>_y(...t,e),formatOrDefault:zt});/*!
|
|
152
|
+
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
153
|
+
*
|
|
154
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
155
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
156
|
+
* in the Software without restriction, including without limitation the rights
|
|
157
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
158
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
159
|
+
* furnished to do so, subject to the following conditions:
|
|
160
|
+
*
|
|
161
|
+
* The above copyright notice and this permission notice shall be included in
|
|
162
|
+
* all copies or substantial portions of the Software.
|
|
163
|
+
*
|
|
164
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
165
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
166
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
167
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
168
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
169
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
170
|
+
* SOFTWARE.
|
|
171
|
+
*/const wt=xu;function Hy(e,t,r){let n=new wt(e._value),a=t;return r.isNumbro(t)&&(a=t._value),a=new wt(a),e._value=n.plus(a).toNumber(),e}function _u(e,t,r){let n=new wt(e._value),a=t;return r.isNumbro(t)&&(a=t._value),a=new wt(a),e._value=n.minus(a).toNumber(),e}function Gy(e,t,r){let n=new wt(e._value),a=t;return r.isNumbro(t)&&(a=t._value),a=new wt(a),e._value=n.times(a).toNumber(),e}function Wy(e,t,r){let n=new wt(e._value),a=t;return r.isNumbro(t)&&(a=t._value),a=new wt(a),e._value=n.dividedBy(a).toNumber(),e}function Zy(e,t,r){let n=t;return r.isNumbro(t)&&(n=t._value),e._value=n,e}function Jy(e,t,r){let n=r(e._value);return _u(n,t,r),Math.abs(n._value)}var Vy=e=>({add:(t,r)=>Hy(t,r,e),subtract:(t,r)=>_u(t,r,e),multiply:(t,r)=>Gy(t,r,e),divide:(t,r)=>Wy(t,r,e),set:(t,r)=>Zy(t,r,e),difference:(t,r)=>Jy(t,r,e),BigNumber:wt});/*!
|
|
172
|
+
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
173
|
+
*
|
|
174
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
175
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
176
|
+
* in the Software without restriction, including without limitation the rights
|
|
177
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
178
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
179
|
+
* furnished to do so, subject to the following conditions:
|
|
180
|
+
*
|
|
181
|
+
* The above copyright notice and this permission notice shall be included in
|
|
182
|
+
* all copies or substantial portions of the Software.
|
|
183
|
+
*
|
|
184
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
185
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
186
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
187
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
188
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
189
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
190
|
+
* SOFTWARE.
|
|
191
|
+
*/const Ky="2.5.0",mt=Yi(),Yy=Vi(),Xy=yy(Ae),Qy=vu();let At=zy(Ae),Tt=Vy(Ae);const ew=Ki;class Eu{constructor(t){this._value=t}clone(){return Ae(this._value)}format(t={}){return At.format(this,t)}formatCurrency(t){return typeof t=="string"&&(t=ew.parseFormat(t)),t=At.formatOrDefault(t,mt.currentCurrencyDefaultFormat()),t.output="currency",At.format(this,t)}formatTime(t={}){return t.output="time",At.format(this,t)}binaryByteUnits(){return At.getBinaryByteUnit(this)}decimalByteUnits(){return At.getDecimalByteUnit(this)}byteUnits(){return At.getByteUnit(this)}difference(t){return Tt.difference(this,t)}add(t){return Tt.add(this,t)}subtract(t){return Tt.subtract(this,t)}multiply(t){return Tt.multiply(this,t)}divide(t){return Tt.divide(this,t)}set(t){return Tt.set(this,Su(t))}value(){return this._value}valueOf(){return this._value}}function Su(e){let t=e;return Ae.isNumbro(e)?t=e._value:typeof e=="string"?t=Ae.unformat(e):isNaN(e)&&(t=NaN),t}function Ae(e){return new Eu(Su(e))}Ae.version=Ky;Ae.isNumbro=function(e){return e instanceof Eu};Ae.language=mt.currentLanguage;Ae.registerLanguage=mt.registerLanguage;Ae.setLanguage=mt.setLanguage;Ae.languages=mt.languages;Ae.languageData=mt.languageData;Ae.zeroFormat=mt.setZeroFormat;Ae.defaultFormat=mt.currentDefaults;Ae.setDefaults=mt.setDefaults;Ae.defaultCurrencyFormat=mt.currentCurrencyDefaultFormat;Ae.validate=Yy.validate;Ae.loadLanguagesInNode=Xy.loadLanguagesInNode;Ae.unformat=Qy.unformat;Ae.BigNumber=Tt.BigNumber;var tw=Ae,Lv=Y1(tw),fs=Li(function(e,t,r,n){Dt(t,ir(t),e,n)}),rw="[object DOMException]",nw="[object Error]";function Ou(e){if(!Xe(e))return!1;var t=ut(e);return t==nw||t==rw||typeof e.message=="string"&&typeof e.name=="string"&&!Qr(e)}var iw=ft(function(e,t){try{return Pi(e,void 0,t)}catch(r){return Ou(r)?r:new Error(r)}});function Au(e,t){return gt(t,function(r){return e[r]})}var Tu=Object.prototype,ow=Tu.hasOwnProperty;function ls(e,t,r,n){return e===void 0||tr(e,Tu[r])&&!ow.call(n,r)?t:e}var sw={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function aw(e){return"\\"+sw[e]}var $u=/<%=([\s\S]+?)%>/g,uw={"&":"&","<":"<",">":">",'"':""","'":"'"},fw=iu(uw),Cu=/[&<>"']/g,lw=RegExp(Cu.source);function cw(e){return e=tt(e),e&&lw.test(e)?e.replace(Cu,fw):e}var hw=/<%-([\s\S]+?)%>/g,dw=/<%([\s\S]+?)%>/g,cs={escape:hw,evaluate:dw,interpolate:$u,variable:"",imports:{_:{escape:cw}}},pw="Invalid `variable` option passed into `_.template`",gw=/\b__p \+= '';/g,mw=/\b(__p \+=) '' \+/g,yw=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ww=/[()=,{}\[\]\/\s]/,vw=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,$r=/($^)/,bw=/['\n\r\u2028\u2029\\]/g,xw=Object.prototype,hs=xw.hasOwnProperty;function Uv(e,t,r){var n=cs.imports._.templateSettings||cs;e=tt(e),t=fs({},t,n,ls);var a=fs({},t.imports,n.imports,ls),i=St(a),l=Au(a,i),v,M,y=0,h=t.interpolate||$r,S="__p += '",B=RegExp((t.escape||$r).source+"|"+h.source+"|"+(h===$u?vw:$r).source+"|"+(t.evaluate||$r).source+"|$","g"),z=hs.call(t,"sourceURL")?"//# sourceURL="+(t.sourceURL+"").replace(/\s/g," ")+`
|
|
192
|
+
`:"";e.replace(B,function(q,Q,X,pe,ce,oe){return X||(X=pe),S+=e.slice(y,oe).replace(bw,aw),Q&&(v=!0,S+=`' +
|
|
193
|
+
__e(`+Q+`) +
|
|
194
|
+
'`),ce&&(M=!0,S+=`';
|
|
195
|
+
`+ce+`;
|
|
196
|
+
__p += '`),X&&(S+=`' +
|
|
197
|
+
((__t = (`+X+`)) == null ? '' : __t) +
|
|
198
|
+
'`),y=oe+q.length,q}),S+=`';
|
|
199
|
+
`;var G=hs.call(t,"variable")&&t.variable;if(!G)S=`with (obj) {
|
|
200
|
+
`+S+`
|
|
201
|
+
}
|
|
202
|
+
`;else if(ww.test(G))throw new Error(pw);S=(M?S.replace(gw,""):S).replace(mw,"$1").replace(yw,"$1;"),S="function("+(G||"obj")+`) {
|
|
203
|
+
`+(G?"":`obj || (obj = {});
|
|
204
|
+
`)+"var __t, __p = ''"+(v?", __e = _.escape":"")+(M?`, __j = Array.prototype.join;
|
|
205
|
+
function print() { __p += __j.call(arguments, '') }
|
|
206
|
+
`:`;
|
|
207
|
+
`)+S+`return __p
|
|
208
|
+
}`;var Z=iw(function(){return Function(i,z+"return "+S).apply(void 0,l)});if(Z.source=S,Ou(Z))throw Z;return Z}var Mw=ot.isFinite;function Dv(e){return typeof e=="number"&&Mw(e)}var _w=1,Ew=4;function Sw(e){return cr(e,_w|Ew)}const jv=Object.freeze(Object.defineProperty({__proto__:null,default:Sw},Symbol.toStringTag,{value:"Module"}));function kv(e){return e===void 0}function Ru(e,t,r,n,a,i){return Ze(e)&&Ze(t)&&(i.set(t,e),en(e,t,void 0,Ru,i),i.delete(t)),e}var Ow=Li(function(e,t,r,n){en(e,t,r,n)}),qv=ft(function(e){return e.push(void 0,Ru),Pi(Ow,void 0,e)}),xi={exports:{}},Yn,ds;function Aw(){if(ds)return Yn;ds=1;var e=1e3,t=e*60,r=t*60,n=r*24,a=n*7,i=n*365.25;Yn=function(h,S){S=S||{};var B=typeof h;if(B==="string"&&h.length>0)return l(h);if(B==="number"&&isFinite(h))return S.long?M(h):v(h);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(h))};function l(h){if(h=String(h),!(h.length>100)){var S=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(h);if(S){var B=parseFloat(S[1]),z=(S[2]||"ms").toLowerCase();switch(z){case"years":case"year":case"yrs":case"yr":case"y":return B*i;case"weeks":case"week":case"w":return B*a;case"days":case"day":case"d":return B*n;case"hours":case"hour":case"hrs":case"hr":case"h":return B*r;case"minutes":case"minute":case"mins":case"min":case"m":return B*t;case"seconds":case"second":case"secs":case"sec":case"s":return B*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return B;default:return}}}}function v(h){var S=Math.abs(h);return S>=n?Math.round(h/n)+"d":S>=r?Math.round(h/r)+"h":S>=t?Math.round(h/t)+"m":S>=e?Math.round(h/e)+"s":h+"ms"}function M(h){var S=Math.abs(h);return S>=n?y(h,S,n,"day"):S>=r?y(h,S,r,"hour"):S>=t?y(h,S,t,"minute"):S>=e?y(h,S,e,"second"):h+" ms"}function y(h,S,B,z){var G=S>=B*1.5;return Math.round(h/B)+" "+z+(G?"s":"")}return Yn}function Tw(e){r.debug=r,r.default=r,r.coerce=M,r.disable=l,r.enable=a,r.enabled=v,r.humanize=Aw(),r.destroy=y,Object.keys(e).forEach(h=>{r[h]=e[h]}),r.names=[],r.skips=[],r.formatters={};function t(h){let S=0;for(let B=0;B<h.length;B++)S=(S<<5)-S+h.charCodeAt(B),S|=0;return r.colors[Math.abs(S)%r.colors.length]}r.selectColor=t;function r(h){let S,B=null,z,G;function Z(...q){if(!Z.enabled)return;const Q=Z,X=Number(new Date),pe=X-(S||X);Q.diff=pe,Q.prev=S,Q.curr=X,S=X,q[0]=r.coerce(q[0]),typeof q[0]!="string"&&q.unshift("%O");let ce=0;q[0]=q[0].replace(/%([a-zA-Z%])/g,(V,K)=>{if(V==="%%")return"%";ce++;const ae=r.formatters[K];if(typeof ae=="function"){const se=q[ce];V=ae.call(Q,se),q.splice(ce,1),ce--}return V}),r.formatArgs.call(Q,q),(Q.log||r.log).apply(Q,q)}return Z.namespace=h,Z.useColors=r.useColors(),Z.color=r.selectColor(h),Z.extend=n,Z.destroy=r.destroy,Object.defineProperty(Z,"enabled",{enumerable:!0,configurable:!1,get:()=>B!==null?B:(z!==r.namespaces&&(z=r.namespaces,G=r.enabled(h)),G),set:q=>{B=q}}),typeof r.init=="function"&&r.init(Z),Z}function n(h,S){const B=r(this.namespace+(typeof S>"u"?":":S)+h);return B.log=this.log,B}function a(h){r.save(h),r.namespaces=h,r.names=[],r.skips=[];const S=(typeof h=="string"?h:"").trim().replace(" ",",").split(",").filter(Boolean);for(const B of S)B[0]==="-"?r.skips.push(B.slice(1)):r.names.push(B)}function i(h,S){let B=0,z=0,G=-1,Z=0;for(;B<h.length;)if(z<S.length&&(S[z]===h[B]||S[z]==="*"))S[z]==="*"?(G=z,Z=B,z++):(B++,z++);else if(G!==-1)z=G+1,Z++,B=Z;else return!1;for(;z<S.length&&S[z]==="*";)z++;return z===S.length}function l(){const h=[...r.names,...r.skips.map(S=>"-"+S)].join(",");return r.enable(""),h}function v(h){for(const S of r.skips)if(i(h,S))return!1;for(const S of r.names)if(i(h,S))return!0;return!1}function M(h){return h instanceof Error?h.stack||h.message:h}function y(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return r.enable(r.load()),r}var $w=Tw;(function(e,t){var r={};t.formatArgs=a,t.save=i,t.load=l,t.useColors=n,t.storage=v(),t.destroy=(()=>{let y=!1;return()=>{y||(y=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function n(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let y;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(y=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(y[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function a(y){if(y[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+y[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const h="color: "+this.color;y.splice(1,0,h,"color: inherit");let S=0,B=0;y[0].replace(/%[a-zA-Z%]/g,z=>{z!=="%%"&&(S++,z==="%c"&&(B=S))}),y.splice(B,0,h)}t.log=console.debug||console.log||(()=>{});function i(y){try{y?t.storage.setItem("debug",y):t.storage.removeItem("debug")}catch{}}function l(){let y;try{y=t.storage.getItem("debug")}catch{}return!y&&typeof kr<"u"&&"env"in kr&&(y=r.DEBUG),y}function v(){try{return localStorage}catch{}}e.exports=$w(t);const{formatters:M}=e.exports;M.j=function(y){try{return JSON.stringify(y)}catch(h){return"[UnexpectedJSONParseError]: "+h.message}}})(xi,xi.exports);var Cw=xi.exports;const zv=ms(Cw);function Rw(e,t){for(var r=-1,n=e.length;++r<n&&rn(t,e[r],0)>-1;);return r}function Bw(e,t,r){if(e=tt(e),e&&(r||t===void 0))return Is(e);if(!e||!(t=yr(t)))return e;var n=Jt(e),a=Jt(t),i=Rw(n,a),l=wu(n,a)+1;return Gr(n,i,l).join("")}const Hv=Object.freeze(Object.defineProperty({__proto__:null,default:Bw},Symbol.toStringTag,{value:"Module"}));var Fw=Math.min;function Iw(e,t,r){for(var n=Ui,a=e[0].length,i=e.length,l=i,v=Array(i),M=1/0,y=[];l--;){var h=e[l];l&&t&&(h=gt(h,vr(t))),M=Fw(h.length,M),v[l]=a>=120&&h.length>=120?new It(l&&h):void 0}h=e[0];var S=-1,B=v[0];e:for(;++S<a&&y.length<M;){var z=h[S],G=z;if(z=z!==0?z:0,!(B?pr(B,G):n(y,G))){for(l=i;--l;){var Z=v[l];if(!(Z?pr(Z,G):n(e[l],G)))continue e}B&&B.push(G),y.push(z)}}return y}function Nw(e){return Nt(e)?e:[]}var Gv=ft(function(e){var t=gt(e,Nw);return t.length&&t[0]===e[0]?Iw(t):[]}),Wv=ft(function(e){var t=tn(e);return Nt(t)&&(t=void 0),Xt(Mr(e,1,Nt,!0),xt(t))});function Bu(e,t){return e&&Qs(e,t,St)}function Pw(e,t){return function(r,n){if(r==null)return r;if(!Et(r))return e(r,n);for(var a=r.length,i=-1,l=Object(r);++i<a&&n(l[i],i,l)!==!1;);return r}}var Qi=Pw(Bu);function Fu(e,t){var r=-1,n=Et(e)?Array(e.length):[];return Qi(e,function(a,i,l){n[++r]=t(a,i,l)}),n}function Lw(e,t){var r=e.length;for(e.sort(t);r--;)e[r]=e[r].value;return e}function Uw(e,t){if(e!==t){var r=e!==void 0,n=e===null,a=e===e,i=Zt(e),l=t!==void 0,v=t===null,M=t===t,y=Zt(t);if(!v&&!y&&!i&&e>t||i&&l&&M&&!v&&!y||n&&l&&M||!r&&M||!a)return 1;if(!n&&!i&&!y&&e<t||y&&r&&a&&!n&&!i||v&&r&&a||!l&&a||!M)return-1}return 0}function Dw(e,t,r){for(var n=-1,a=e.criteria,i=t.criteria,l=a.length,v=r.length;++n<l;){var M=Uw(a[n],i[n]);if(M){if(n>=v)return M;var y=r[n];return M*(y=="desc"?-1:1)}}return e.index-t.index}function Iu(e,t,r){t.length?t=gt(t,function(i){return $e(i)?function(l){return br(l,i.length===1?i[0]:i)}:i}):t=[xr];var n=-1;t=gt(t,vr(xt));var a=Fu(e,function(i,l,v){var M=gt(t,function(y){return y(i)});return{criteria:M,index:++n,value:i}});return Lw(a,function(i,l){return Dw(i,l,r)})}var Zv=ft(function(e,t){if(e==null)return[];var r=t.length;return r>1&&fi(e,t[0],t[1])?t=[]:r>2&&fi(t[0],t[1],t[2])&&(t=[t[0]]),Iu(e,Mr(t),[])});function jw(e){return function(t,r,n){var a=Object(t);if(!Et(t)){var i=xt(r);t=St(t),r=function(v){return i(a[v],v,a)}}var l=e(t,r,n);return l>-1?a[i?t[l]:l]:void 0}}var kw=Math.max;function qw(e,t,r){var n=e==null?0:e.length;if(!n)return-1;var a=r==null?0:er(r);return a<0&&(a=kw(n+a,0)),da(e,xt(t),a)}var Jv=jw(qw);function zw(e){return e&&e.length?Xt(e):[]}const Vv=Object.freeze(Object.defineProperty({__proto__:null,default:zw},Symbol.toStringTag,{value:"Module"}));var Hw=Math.ceil,Gw=Math.max;function Kv(e,t,r){t===void 0?t=1:t=Gw(er(t),0);var n=e==null?0:e.length;if(!n||t<1)return[];for(var a=0,i=0,l=Array(Hw(n/t));a<n;)l[i++]=Mi(e,a,a+=t);return l}function Ww(e,t,r,n){for(var a=-1,i=e==null?0:e.length;++a<i;){var l=e[a];t(n,l,r(l),e)}return n}function Zw(e,t,r,n){return Qi(e,function(a,i,l){t(n,a,r(a),l)}),n}function Nu(e,t){return function(r,n){var a=$e(r)?Ww:Zw,i=t?t():{};return a(r,e,xt(n),i)}}var Jw=200;function Pu(e,t,r,n){var a=-1,i=Ui,l=!0,v=e.length,M=[],y=t.length;if(!v)return M;n?(i=pa,l=!1):t.length>=Jw&&(i=pr,l=!1,t=new It(t));e:for(;++a<v;){var h=e[a],S=h;if(h=n||h!==0?h:0,l&&S===S){for(var B=y;B--;)if(t[B]===S)continue e;M.push(h)}else i(t,S,n)||M.push(h)}return M}function Lu(e){return typeof e=="function"?e:xr}function Yv(e,t){var r=$e(e)?ua:Qi;return r(e,Lu(t))}function Vw(e,t){var r=$e(e)?gt:Fu;return r(e,xt(t))}const Xv=Object.freeze(Object.defineProperty({__proto__:null,default:Vw},Symbol.toStringTag,{value:"Module"}));function Kw(e,t){return e&&Bu(e,Lu(t))}const Qv=Object.freeze(Object.defineProperty({__proto__:null,default:Kw},Symbol.toStringTag,{value:"Module"}));function eb(e){return e==null?[]:Au(e,St(e))}function tb(e){return typeof e=="number"&&e==er(e)}var rb=Nu(function(e,t,r){Xr(e,r,t)});function Yw(e,t){var r=e.length;if(r)return t+=t<0?r:0,wr(t,r)?e[t]:void 0}function nb(e){return e=er(e),ft(function(t){return Yw(t,e)})}function ib(e,t,r,n){return e==null?[]:($e(t)||(t=t==null?[]:[t]),r=r,$e(r)||(r=r==null?[]:[r]),Iu(e,t,r))}var Xw=Nu(function(e,t,r){e[r?0:1].push(t)},function(){return[[],[]]});const ob=Object.freeze(Object.defineProperty({__proto__:null,default:Xw},Symbol.toStringTag,{value:"Module"}));var Qw=Array.prototype,ps=Qw.splice;function ev(e,t,r,n){var a=rn,i=-1,l=t.length,v=e;for(e===t&&(t=Ni(t));++i<l;)for(var M=0,y=t[i],h=y;(M=a(v,h,M))>-1;)v!==e&&ps.call(v,M,1),ps.call(e,M,1);return e}function tv(e,t){return e&&e.length&&t&&t.length?ev(e,t):e}var sb=ft(tv);function rv(e){return tt(e).toLowerCase()}const ab=Object.freeze(Object.defineProperty({__proto__:null,default:rv},Symbol.toStringTag,{value:"Module"}));function ub(e){return tt(e).toUpperCase()}var nv=ft(function(e){var t=tn(e);return t=typeof t=="function"?t:void 0,Xt(Mr(e,1,Nt,!0),void 0,t)});const fb=Object.freeze(Object.defineProperty({__proto__:null,default:nv},Symbol.toStringTag,{value:"Module"}));var lb=ft(function(e,t){return Nt(e)?Pu(e,t):[]});function iv(e,t,r){var n=e.length;if(n<2)return n?Xt(e[0]):[];for(var a=-1,i=Array(n);++a<n;)for(var l=e[a],v=-1;++v<n;)v!=a&&(i[a]=Pu(i[a]||l,e[v],t,r));return Xt(Mr(i),t,r)}var cb=ft(function(e){var t=tn(e);return t=typeof t=="function"?t:void 0,iv(Ls(e,Nt),void 0,t)});export{Bm as $,Ze as A,Da as B,Sd as C,Ce as D,zv as E,Eg as F,Km as G,kv as H,V1 as I,Bw as J,Cw as K,Sw as L,Gv as M,Ei as N,Zv as O,Wv as P,qv as Q,k0 as R,Jv as S,bv as T,Dv as U,mm as V,tb as W,fp as X,et as Y,nu as Z,Rd as _,hv as a,op as a0,gr as a1,Uv as a2,Lv as a3,Pv as a4,H1 as a5,gv as a6,Sv as a7,lv as a8,Vv as a9,nb as aA,fb as aB,fv as aC,ob as aD,lb as aE,ki as aF,eb as aG,sb as aH,Qt as aI,zw as aJ,Xm as aK,ub as aL,rb as aM,Ci as aa,up as ab,ap as ac,cb as ad,Kv as ae,ib as af,$e as ag,_t as ah,vp as ai,jt as aj,xd as ak,z1 as al,Qv as am,pv as an,Xv as ao,Yv as ap,Vw as aq,jv as ar,ab as as,Hv as at,mv as au,dv as av,vv as aw,wv as ax,Aw as ay,Z1 as az,Wf as b,Zs as c,aa as d,Ov as e,Av as f,$t as g,Tv as h,Qr as i,av as j,Cv as k,Rv as l,uv as m,Xs as n,cv as o,Bv as p,kr as q,W1 as r,Fv as s,yv as t,$v as u,Iv as v,Nv as w,np as x,_a as y,xv as z};
|