@abtnode/blocklet-services 1.17.6-beta-20251216-081847-bf91c4db → 1.17.6-beta-20251216-223535-283b9ffe
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/emails/_components/compose.js +1 -1
- package/api/libs/connect/session.js +1 -1
- package/api/routes/blocklet.js +2 -0
- package/api/services/auth/session.js +9 -6
- package/dist/assets/{AdapterDayjs-Bfr4sW4C.js → AdapterDayjs-DqOr9LFk.js} +1 -1
- package/dist/assets/{Google-DA3WTnLE.js → Google-CQ1n6aSx.js} +1 -1
- package/dist/assets/{access-control-BZvc7AZG.js → access-control-LXesuJ2_.js} +1 -1
- package/dist/assets/{add-component-core-CNH5E2RR.js → add-component-core-L7bwC_64.js} +1 -1
- package/dist/assets/{add-resource-BWEvlWkH.js → add-resource-DeMXdPX_.js} +1 -1
- package/dist/assets/{addon-uM70Qwac.js → addon-kaBWGHOu.js} +1 -1
- package/dist/assets/{advanced-Caeqx4XB.js → advanced-DOrtiTqV.js} +1 -1
- package/dist/assets/{aigne-B9drp8Pq.js → aigne-BuWtyQrV.js} +1 -1
- package/dist/assets/api-2a4FTO9k.js +1 -0
- package/dist/assets/{appearance-DM7p-6Wl.js → appearance-DUs_om38.js} +1 -1
- package/dist/assets/{audit-logs-L-gO50KL.js → audit-logs-DUV4-vTj.js} +3 -3
- package/dist/assets/{authorize-D2d4GCpP.js → authorize-DC7FpxvU.js} +1 -1
- package/dist/assets/{base-chart-DSDnGziZ.js → base-chart-CRe-9w5H.js} +1 -1
- package/dist/assets/{base32-B-7CnEFd.js → base32-BqL5pnrU.js} +1 -1
- package/dist/assets/bind-account-DpXvkxLj.js +1 -0
- package/dist/assets/{branding-Dx40btDl.js → branding-BWncfl5y.js} +1 -1
- package/dist/assets/{branding-aCdIMhb0.js → branding-Btcz8N1M.js} +3 -3
- package/dist/assets/branding-DMOcia4y.js +1 -0
- package/dist/assets/{bundle-avatar-B1jZNqcH.js → bundle-avatar-BSv_e0lp.js} +1 -1
- package/dist/assets/button-C2uxCAba.js +1 -0
- package/dist/assets/click-to-copy-03_3P1nz.js +1 -0
- package/dist/assets/{cloneDeep-B_fYlLpl.js → cloneDeep-DqDclz1x.js} +1 -1
- package/dist/assets/{complete-Rr-_Zaon.js → complete-AlcncYrN.js} +2 -2
- package/dist/assets/{component-DZretbSC.js → component-Bsd478Wd.js} +2 -2
- package/dist/assets/{config-BkqISfFO.js → config-B8HbrPnF.js} +4 -4
- package/dist/assets/{config-Dw0qq-09.js → config-BBXBmv_e.js} +2 -2
- package/dist/assets/{config-Bjbv_xI5.js → config-CvvSF8W2.js} +1 -1
- package/dist/assets/{config-navigation-Dj8qf6cK.js → config-navigation-BAqSkXxH.js} +8 -8
- package/dist/assets/config-space-DnDf6PO2.js +1 -0
- package/dist/assets/{confirm-Bpit6U3-.js → confirm-Dul9DyCY.js} +1 -1
- package/dist/assets/connect-BRfx3zbS.js +1 -0
- package/dist/assets/{connect-B1ZA3nS8.js → connect-C1kqlbsb.js} +1 -1
- package/dist/assets/{connect-to-BsxW3JJi.js → connect-to-DNZM_E4B.js} +1 -1
- package/dist/assets/{create-passport-svg-DGPNsGUE.js → create-passport-svg-Cs4mVLsE.js} +1 -1
- package/dist/assets/{createClass-B5uCYz0o.js → createClass-BRKh_6kd.js} +1 -1
- package/dist/assets/{dashboard-DBwE7l6f.js → dashboard-DHNx2Vjq.js} +7 -7
- package/dist/assets/{delete-confirm-L0HXJtqt.js → delete-confirm-BT4RGlre.js} +1 -1
- package/dist/assets/did-address-DpdRECuJ.js +1 -0
- package/dist/assets/{domain-BoEowNlU.js → domain-Bc5sJ6GV.js} +1 -1
- package/dist/assets/{domain-action-card-BB0jQwcH.js → domain-action-card-DaWxksqg.js} +2 -2
- package/dist/assets/domains-CGPUezw9.js +1 -0
- package/dist/assets/{email-BAr61Jer.js → email-DsXuaICi.js} +2 -2
- package/dist/assets/engine-BaNtB6sW.js +1 -0
- package/dist/assets/{exchange-passport-BuJUAVgN.js → exchange-passport-DDScDnbP.js} +1 -1
- package/dist/assets/{form-kdwSU-mv.js → form-CmTyQIow.js} +2 -2
- package/dist/assets/{form-text-input-B_h8beXh.js → form-text-input-CsXLsIFW.js} +2 -2
- package/dist/assets/{fuel-C9kfBZ4R.js → fuel-BJDVWtLE.js} +2 -2
- package/dist/assets/{gen-access-key-Bh-o1OFU.js → gen-access-key-Ftv91l1v.js} +1 -1
- package/dist/assets/gen-simple-access-key-CWrV9bpF.js +1 -0
- package/dist/assets/get-safe-url-CqIO9371.js +1 -0
- package/dist/assets/{home-Cb5I193s.js → home-CxNed9GY.js} +1 -1
- package/dist/assets/{iframe-C233G1py.js → iframe-dmFx9kP7.js} +1 -1
- package/dist/assets/{index-MQEkIEm-.js → index-A-uhNQXl.js} +1 -1
- package/dist/assets/{index-BScxMPlP.js → index-B4sVJOOj.js} +1 -1
- package/dist/assets/{index-C-vVEZcs.js → index-B6IM_Z38.js} +3 -3
- package/dist/assets/{index-D-a8pZtp.js → index-BKE6R9dc.js} +1 -1
- package/dist/assets/{index-DuDIkjct.js → index-BNiqMLPn.js} +1 -1
- package/dist/assets/{index-DjpxFmgG.js → index-BWxvQ-Ka.js} +7 -7
- package/dist/assets/index-Bh8glecC.js +29 -0
- package/dist/assets/index-C0FXkPiP.js +62 -0
- package/dist/assets/{index-Bf3Peb0q.js → index-C6LgIqoY.js} +3 -3
- package/dist/assets/{index-CtORPeiq.js → index-CIJYNIAS.js} +2 -2
- package/dist/assets/{index-CGP3CGlC.js → index-CbTMv_sq.js} +6 -6
- package/dist/assets/{index-D29her4n.js → index-CeGNmiXz.js} +1 -1
- package/dist/assets/{index-CaTDaKrX.js → index-CiQKtWIW.js} +1 -1
- package/dist/assets/{index-WT6M-zj8.js → index-CiYSV3ew.js} +2 -2
- package/dist/assets/{index-D24LKXzO.js → index-Ck7gs4Oo.js} +1 -1
- package/dist/assets/{index-BT70k77_.js → index-CmDzr29Q.js} +2 -2
- package/dist/assets/index-CqsKmRBp.js +1 -0
- package/dist/assets/{index-lK6Pf_qM.js → index-CueIV4dA.js} +2 -2
- package/dist/assets/{index-DwJ_NASi.js → index-D4Ik9OgC.js} +2 -2
- package/dist/assets/index-DGg3AL9l.js +1039 -0
- package/dist/assets/{index-CUlOq3Sr.js → index-DQFDP0zB.js} +3 -3
- package/dist/assets/{index-CK3KHeKw.js → index-DTKew0E_.js} +1 -1
- package/dist/assets/{index-xE7OidBo.js → index-DVoa7OYS.js} +1 -1
- package/dist/assets/{index-CZBIYuko.js → index-DZnXlBSX.js} +1 -1
- package/dist/assets/{index-oS8X43Pb.js → index-DjCd3BVH.js} +6 -6
- package/dist/assets/{index-D_u0j8BO.js → index-DriYV-w5.js} +1 -1
- package/dist/assets/{index-CI3rRJqa.js → index-DzDWMabe.js} +12 -12
- package/dist/assets/{index-KIswy2vM.js → index-NpB7Thbw.js} +5 -5
- package/dist/assets/{index-CqD-x8pw.js → index-W43xyvqt.js} +2 -2
- package/dist/assets/{index-DACtt7qd.js → index-XVoTh0rZ.js} +1 -1
- package/dist/assets/{index-LaMi0T4w.js → index-cWpptG8N.js} +1 -1
- package/dist/assets/{invitation-C2S2tPzG.js → invitation-DaAeUQvL.js} +5 -5
- package/dist/assets/{invitations-Dil5QWBY.js → invitations-DY6AII7i.js} +2 -2
- package/dist/assets/{invite-GVnju9RQ.js → invite-BfQp8T_i.js} +1 -1
- package/dist/assets/{isURL-ZFgr0DWl.js → isURL-HdHdFI5D.js} +1 -1
- package/dist/assets/{issue-passport-BmU6NmKw.js → issue-passport-BKAe--H8.js} +1 -1
- package/dist/assets/{item-DfQKizv4.js → item-D8-oGTEp.js} +1 -1
- package/dist/assets/{landing-page-C3zTr0-n.js → landing-page-DQd97swG.js} +1 -1
- package/dist/assets/{layout-tkk_Lr2y.js → layout-PDwTMZS3.js} +1 -1
- package/dist/assets/list-B9c3yQuf.js +2 -0
- package/dist/assets/{list-YOpLH3o0.js → list-DYFxkX2y.js} +1 -1
- package/dist/assets/localization-XbNv70VN.js +1 -0
- package/dist/assets/{log-C0zcaEbO.js → log-ClrACcuw.js} +1 -1
- package/dist/assets/logger-D3ELa8t7.js +1 -0
- package/dist/assets/login-C3CgZVaH.js +1 -0
- package/dist/assets/{login-oauth-callback-DCJMx5J1.js → login-oauth-callback-DVq62YiP.js} +1 -1
- package/dist/assets/{logo-uploader-TLOlwvRt.js → logo-uploader-CPZeytzo.js} +1 -1
- package/dist/assets/{lost-passport-DE5KGhjz.js → lost-passport-rqbtayK0.js} +2 -2
- package/dist/assets/{omit-D_PYZZLm.js → omit-5AwbF-Ja.js} +1 -1
- package/dist/assets/{open-window-CPNpPXku.js → open-window-B20A6mUS.js} +1 -1
- package/dist/assets/{over-due-invoice-payment-1EZsSUm4.js → over-due-invoice-payment-Dpy6U-OB.js} +1 -1
- package/dist/assets/{overview-CMduEuAK.js → overview-DSMOnuTp.js} +2 -2
- package/dist/assets/passport-BeTGnBZp.js +1 -0
- package/dist/assets/{passport-item-QbgyHapR.js → passport-item-6fDG-tjs.js} +1 -1
- package/dist/assets/{permission-C0bmOzVj.js → permission-CjBTXkmT.js} +1 -1
- package/dist/assets/{preferences-0l0Zmaom.js → preferences-YojWKSr3.js} +1 -1
- package/dist/assets/profile-embed-CRKFFFmF.js +1 -0
- package/dist/assets/{publish-resource-ggObFvMi.js → publish-resource-CXd42xoH.js} +1 -1
- package/dist/assets/{react-beautiful-dnd.esm-zYw9dagY.js → react-beautiful-dnd.esm-By1RE6ef.js} +1 -1
- package/dist/assets/{runtime-BNKE0VfZ.js → runtime-Ydt2KUZV.js} +1 -1
- package/dist/assets/{sanitize-CtCDGQB6.js → sanitize-BOo6OPJZ.js} +1 -1
- package/dist/assets/sdk-BZuN1V4h.js +1 -0
- package/dist/assets/{security-CWEVWbF4.js → security-C6x1zjWI.js} +3 -3
- package/dist/assets/{session-Des-0R_y.js → session-Bavobyzn.js} +1 -1
- package/dist/assets/{setup-Cps_vpFS.js → setup-x3XlLP1U.js} +1 -1
- package/dist/assets/{spaces-2YPkTkBR.js → spaces-DKfk45f5.js} +1 -1
- package/dist/assets/start-WYmvvJ-x.js +187 -0
- package/dist/assets/{starting-progress-xuCef6_T.js → starting-progress-DbdtjHCx.js} +1 -1
- package/dist/assets/status-B7-tZFw7.js +1 -0
- package/dist/assets/{step-actions-AHe2MQxo.js → step-actions-BGJwIEbT.js} +1 -1
- package/dist/assets/{studio-HfI11Uc3.js → studio-D7UNnkpz.js} +1 -1
- package/dist/assets/{switch-control-CzYig10w.js → switch-control-BDwQ53GS.js} +1 -1
- package/dist/assets/{switch-rIcJ7tho.js → switch-wqsJ2qIA.js} +1 -1
- package/dist/assets/{table-tips-Ba9Kf02z.js → table-tips-BEPJMiqj.js} +1 -1
- package/dist/assets/{team-BWkxYdcc.js → team-D2fBm-il.js} +4 -4
- package/dist/assets/{traffic-jB6onGHq.js → traffic-BxfS8jav.js} +1 -1
- package/dist/assets/{transfer-DspVAdFc.js → transfer-C8A72tJr.js} +1 -1
- package/dist/assets/{unsubscribe-CKdMi1Kx.js → unsubscribe-DOgxD7dQ.js} +1 -1
- package/dist/assets/{use-app-logo-BAGvxEU-.js → use-app-logo-BwsHVK-l.js} +1 -1
- package/dist/assets/{use-window-close-D7QBHj75.js → use-window-close-edYntLdV.js} +1 -1
- package/dist/assets/{useAsync-CxjyODHb.js → useAsync-BSd-eaZO.js} +1 -1
- package/dist/assets/{useAsync-CgTefzpB.js → useAsync-DOpjtrvS.js} +1 -1
- package/dist/assets/{useAsyncRetry-BnuUJFwY.js → useAsyncRetry-v1aVMcV-.js} +1 -1
- package/dist/assets/useLocalStorage-8LihN_xG.js +1 -0
- package/dist/assets/user-center-9ue_tdF_.js +125 -0
- package/dist/assets/user-follower-DXIC4btc.js +32 -0
- package/dist/assets/{util-DXf_zMuU.js → util-CqIowTns.js} +1 -1
- package/dist/assets/{util-C9cWBCZz.js → util-pUhbKKIP.js} +1 -1
- package/dist/assets/{vendor-arcblock-DkdOhPyM.js → vendor-arcblock-DRfhQ9Yl.js} +1 -1
- package/dist/assets/{vendor-hooks-BZ19vVZ7.js → vendor-hooks-DpqqC65c.js} +1 -1
- package/dist/assets/vendor-utils-BqKQizRf.js +213 -0
- package/dist/assets/{vendor-ux-DMZIE6wA.js → vendor-ux-KtPBvlG0.js} +7 -7
- package/dist/assets/{wait-connect-D2wPrbE3.js → wait-connect-BwtwczC4.js} +1 -1
- package/dist/assets/{wizard-EYZCXWG5.js → wizard-LT-uDnMP.js} +1 -1
- package/dist/assets/wizard-components-BmdyIe7R.js +52 -0
- package/dist/assets/wrap-locale-C-cgVToU.js +1 -0
- package/dist/assets/{zh-CXK3bXGt.js → zh-DZyuEbhr.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +24 -24
- package/dist/assets/api-C75sLx9p.js +0 -1
- package/dist/assets/bind-account-DuzArGdZ.js +0 -1
- package/dist/assets/branding-bYH66Nug.js +0 -1
- package/dist/assets/button-BnSiFtNt.js +0 -1
- package/dist/assets/click-to-copy-CwdgHxjB.js +0 -1
- package/dist/assets/config-space-Dw6ITGIj.js +0 -1
- package/dist/assets/connect-Bl7-1lbc.js +0 -1
- package/dist/assets/did-address-uvYuZ4wv.js +0 -1
- package/dist/assets/domains-kgzxNW_C.js +0 -1
- package/dist/assets/engine-DWk3y4cO.js +0 -1
- package/dist/assets/gen-simple-access-key-DHmIlRFl.js +0 -1
- package/dist/assets/get-safe-url-gaxZoVzJ.js +0 -1
- package/dist/assets/index-B7DVpLRM.js +0 -63
- package/dist/assets/index-BaaFi7Vh.js +0 -1
- package/dist/assets/index-DwyzCfdd.js +0 -1041
- package/dist/assets/index-OMkyTUNX.js +0 -29
- package/dist/assets/list-BvgV1Jbh.js +0 -2
- package/dist/assets/localization-DcnSNZHz.js +0 -1
- package/dist/assets/logger-BbBkOuwH.js +0 -1
- package/dist/assets/login-BR26IXZx.js +0 -1
- package/dist/assets/passport-Dg1YWagy.js +0 -1
- package/dist/assets/profile-embed-BQzLZZkK.js +0 -1
- package/dist/assets/sdk-YVE2MSze.js +0 -1
- package/dist/assets/start-CuCNmoqX.js +0 -187
- package/dist/assets/status-DleDsf-t.js +0 -1
- package/dist/assets/useLocalStorage-Bj52e1ZW.js +0 -1
- package/dist/assets/user-center-CL_lKzgJ.js +0 -125
- package/dist/assets/user-follower-CfiG4RXf.js +0 -32
- package/dist/assets/vendor-utils-D5UG1a5Y.js +0 -213
- package/dist/assets/wizard-components-PMRUmw6U.js +0 -52
- package/dist/assets/wrap-locale-B4E8Yvgz.js +0 -1
|
@@ -1,213 +0,0 @@
|
|
|
1
|
-
import{p as Tr}from"./vendor-react-CTtPmzVP.js";var Ya=9007199254740991,Xa=Math.floor;function $i(t,e){var r="";if(!t||e<1||e>Ya)return r;do e%2&&(r+=t),e=Xa(e/2),e&&(t+=t);while(e);return r}const Be=globalThis||void 0||self;var Wo=typeof Be=="object"&&Be&&Be.Object===Object&&Be,Qa=typeof self=="object"&&self&&self.Object===Object&&self,ae=Wo||Qa||Function("return this")(),se=ae.Symbol;function we(t,e){for(var r=-1,n=t==null?0:t.length,s=Array(n);++r<n;)s[r]=e(t[r],r,t);return s}var Gt=Array.isArray,Zo=Object.prototype,tu=Zo.hasOwnProperty,eu=Zo.toString,tr=se?se.toStringTag:void 0;function ru(t){var e=tu.call(t,tr),r=t[tr];try{t[tr]=void 0;var n=!0}catch{}var s=eu.call(t);return n&&(e?t[tr]=r:delete t[tr]),s}var nu=Object.prototype,iu=nu.toString;function ou(t){return iu.call(t)}var su="[object Null]",au="[object Undefined]",Fi=se?se.toStringTag:void 0;function ce(t){return t==null?t===void 0?au:su:Fi&&Fi in Object(t)?ru(t):ou(t)}function ee(t){return t!=null&&typeof t=="object"}var uu="[object Symbol]";function je(t){return typeof t=="symbol"||ee(t)&&ce(t)==uu}var Ri=se?se.prototype:void 0,Ii=Ri?Ri.toString:void 0;function ar(t){if(typeof t=="string")return t;if(Gt(t))return we(t,ar)+"";if(je(t))return Ii?Ii.call(t):"";var e=t+"";return e=="0"&&1/t==-1/0?"-0":e}function Xn(t,e,r){var n=-1,s=t.length;e<0&&(e=-e>s?0:s+e),r=r>s?s:r,r<0&&(r+=s),s=e>r?0:r-e>>>0,e>>>=0;for(var o=Array(s);++n<s;)o[n]=t[n+e];return o}function Ir(t,e,r){var n=t.length;return r=r===void 0?n:r,!e&&r>=n?t:Xn(t,e,r)}var fu="\\ud800-\\udfff",lu="\\u0300-\\u036f",cu="\\ufe20-\\ufe2f",hu="\\u20d0-\\u20ff",du=lu+cu+hu,pu="\\ufe0e\\ufe0f",gu="\\u200d",mu=RegExp("["+gu+fu+du+pu+"]");function Nr(t){return mu.test(t)}function Jo(t){return function(e){return e?.[t]}}var yu=Jo("length"),Vo="\\ud800-\\udfff",wu="\\u0300-\\u036f",xu="\\ufe20-\\ufe2f",vu="\\u20d0-\\u20ff",bu=wu+xu+vu,Eu="\\ufe0e\\ufe0f",Mu="["+Vo+"]",Nn="["+bu+"]",Un="\\ud83c[\\udffb-\\udfff]",_u="(?:"+Nn+"|"+Un+")",Ko="[^"+Vo+"]",Yo="(?:\\ud83c[\\udde6-\\uddff]){2}",Xo="[\\ud800-\\udbff][\\udc00-\\udfff]",Su="\\u200d",Qo=_u+"?",ts="["+Eu+"]?",Bu="(?:"+Su+"(?:"+[Ko,Yo,Xo].join("|")+")"+ts+Qo+")*",Au=ts+Qo+Bu,Ou="(?:"+[Ko+Nn+"?",Nn,Yo,Xo,Mu].join("|")+")",Ni=RegExp(Un+"(?="+Un+")|"+Ou+Au,"g");function Tu(t){for(var e=Ni.lastIndex=0;Ni.test(t);)++e;return e}function Qn(t){return Nr(t)?Tu(t):yu(t)}function Cu(t){return t.split("")}var es="\\ud800-\\udfff",$u="\\u0300-\\u036f",Fu="\\ufe20-\\ufe2f",Ru="\\u20d0-\\u20ff",Iu=$u+Fu+Ru,Nu="\\ufe0e\\ufe0f",Uu="["+es+"]",Ln="["+Iu+"]",Pn="\\ud83c[\\udffb-\\udfff]",Lu="(?:"+Ln+"|"+Pn+")",rs="[^"+es+"]",ns="(?:\\ud83c[\\udde6-\\uddff]){2}",is="[\\ud800-\\udbff][\\udc00-\\udfff]",Pu="\\u200d",os=Lu+"?",ss="["+Nu+"]?",Du="(?:"+Pu+"(?:"+[rs,ns,is].join("|")+")"+ss+os+")*",ju=ss+os+Du,ku="(?:"+[rs+Ln+"?",Ln,ns,is,Uu].join("|")+")",qu=RegExp(Pn+"(?="+Pn+")|"+ku+ju,"g");function Hu(t){return t.match(qu)||[]}function ke(t){return Nr(t)?Hu(t):Cu(t)}var zu=Math.ceil;function as(t,e){e=e===void 0?" ":ar(e);var r=e.length;if(r<2)return r?$i(e,t):e;var n=$i(e,zu(t/Qn(e)));return Nr(e)?Ir(ke(n),0,t).join(""):n.slice(0,t)}var Gu=/\s/;function us(t){for(var e=t.length;e--&&Gu.test(t.charAt(e)););return e}var Wu=/^\s+/;function fs(t){return t&&t.slice(0,us(t)+1).replace(Wu,"")}function Kt(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}const cy=Object.freeze(Object.defineProperty({__proto__:null,default:Kt},Symbol.toStringTag,{value:"Module"}));var Ui=NaN,Zu=/^[-+]0x[0-9a-f]+$/i,Ju=/^0b[01]+$/i,Vu=/^0o[0-7]+$/i,Ku=parseInt;function Dn(t){if(typeof t=="number")return t;if(je(t))return Ui;if(Kt(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=Kt(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=fs(t);var r=Ju.test(t);return r||Vu.test(t)?Ku(t.slice(2),r?2:8):Zu.test(t)?Ui:+t}var Li=1/0,Yu=17976931348623157e292;function Xu(t){if(!t)return t===0?t:0;if(t=Dn(t),t===Li||t===-Li){var e=t<0?-1:1;return e*Yu}return t===t?t:0}function Ze(t){var e=Xu(t),r=e%1;return e===e?r?e-r:e:0}function ne(t){return t==null?"":ar(t)}function Qu(t,e,r){t=ne(t),e=Ze(e);var n=e?Qn(t):0;return e&&n<e?as(e-n,r)+t:t}const hy=Object.freeze(Object.defineProperty({__proto__:null,default:Qu},Symbol.toStringTag,{value:"Module"}));function tf(t){return t==null}const dy=Object.freeze(Object.defineProperty({__proto__:null,default:tf},Symbol.toStringTag,{value:"Module"}));function ef(){this.__data__=[],this.size=0}function Je(t,e){return t===e||t!==t&&e!==e}function Ur(t,e){for(var r=t.length;r--;)if(Je(t[r][0],e))return r;return-1}var rf=Array.prototype,nf=rf.splice;function of(t){var e=this.__data__,r=Ur(e,t);if(r<0)return!1;var n=e.length-1;return r==n?e.pop():nf.call(e,r,1),--this.size,!0}function sf(t){var e=this.__data__,r=Ur(e,t);return r<0?void 0:e[r][1]}function af(t){return Ur(this.__data__,t)>-1}function uf(t,e){var r=this.__data__,n=Ur(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this}function ve(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}ve.prototype.clear=ef;ve.prototype.delete=of;ve.prototype.get=sf;ve.prototype.has=af;ve.prototype.set=uf;function ff(){this.__data__=new ve,this.size=0}function lf(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}function cf(t){return this.__data__.get(t)}function hf(t){return this.__data__.has(t)}var df="[object AsyncFunction]",pf="[object Function]",gf="[object GeneratorFunction]",mf="[object Proxy]";function ti(t){if(!Kt(t))return!1;var e=ce(t);return e==pf||e==gf||e==df||e==mf}var xn=ae["__core-js_shared__"],Pi=function(){var t=/[^.]+$/.exec(xn&&xn.keys&&xn.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function yf(t){return!!Pi&&Pi in t}var wf=Function.prototype,xf=wf.toString;function Re(t){if(t!=null){try{return xf.call(t)}catch{}try{return t+""}catch{}}return""}var vf=/[\\^$.*+?()[\]{}|]/g,bf=/^\[object .+?Constructor\]$/,Ef=Function.prototype,Mf=Object.prototype,_f=Ef.toString,Sf=Mf.hasOwnProperty,Bf=RegExp("^"+_f.call(Sf).replace(vf,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Af(t){if(!Kt(t)||yf(t))return!1;var e=ti(t)?Bf:bf;return e.test(Re(t))}function Of(t,e){return t?.[e]}function Ie(t,e){var r=Of(t,e);return Af(r)?r:void 0}var ir=Ie(ae,"Map"),or=Ie(Object,"create");function Tf(){this.__data__=or?or(null):{},this.size=0}function Cf(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var $f="__lodash_hash_undefined__",Ff=Object.prototype,Rf=Ff.hasOwnProperty;function If(t){var e=this.__data__;if(or){var r=e[t];return r===$f?void 0:r}return Rf.call(e,t)?e[t]:void 0}var Nf=Object.prototype,Uf=Nf.hasOwnProperty;function Lf(t){var e=this.__data__;return or?e[t]!==void 0:Uf.call(e,t)}var Pf="__lodash_hash_undefined__";function Df(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=or&&e===void 0?Pf:e,this}function Te(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}Te.prototype.clear=Tf;Te.prototype.delete=Cf;Te.prototype.get=If;Te.prototype.has=Lf;Te.prototype.set=Df;function jf(){this.size=0,this.__data__={hash:new Te,map:new(ir||ve),string:new Te}}function kf(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function Lr(t,e){var r=t.__data__;return kf(e)?r[typeof e=="string"?"string":"hash"]:r.map}function qf(t){var e=Lr(this,t).delete(t);return this.size-=e?1:0,e}function Hf(t){return Lr(this,t).get(t)}function zf(t){return Lr(this,t).has(t)}function Gf(t,e){var r=Lr(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this}function be(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}be.prototype.clear=jf;be.prototype.delete=qf;be.prototype.get=Hf;be.prototype.has=zf;be.prototype.set=Gf;var Wf=200;function Zf(t,e){var r=this.__data__;if(r instanceof ve){var n=r.__data__;if(!ir||n.length<Wf-1)return n.push([t,e]),this.size=++r.size,this;r=this.__data__=new be(n)}return r.set(t,e),this.size=r.size,this}function le(t){var e=this.__data__=new ve(t);this.size=e.size}le.prototype.clear=ff;le.prototype.delete=lf;le.prototype.get=cf;le.prototype.has=hf;le.prototype.set=Zf;var Jf="__lodash_hash_undefined__";function Vf(t){return this.__data__.set(t,Jf),this}function Kf(t){return this.__data__.has(t)}function Ce(t){var e=-1,r=t==null?0:t.length;for(this.__data__=new be;++e<r;)this.add(t[e])}Ce.prototype.add=Ce.prototype.push=Vf;Ce.prototype.has=Kf;function Yf(t,e){for(var r=-1,n=t==null?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}function sr(t,e){return t.has(e)}var Xf=1,Qf=2;function ls(t,e,r,n,s,o){var d=r&Xf,w=t.length,_=e.length;if(w!=_&&!(d&&_>w))return!1;var x=o.get(t),p=o.get(e);if(x&&p)return x==e&&p==t;var C=-1,k=!0,Q=r&Qf?new Ce:void 0;for(o.set(t,e),o.set(e,t);++C<w;){var W=t[C],st=e[C];if(n)var Z=d?n(st,W,C,e,t,o):n(W,st,C,t,e,o);if(Z!==void 0){if(Z)continue;k=!1;break}if(Q){if(!Yf(e,function(ct,nt){if(!sr(Q,nt)&&(W===ct||s(W,ct,r,n,o)))return Q.push(nt)})){k=!1;break}}else if(!(W===st||s(W,st,r,n,o))){k=!1;break}}return o.delete(t),o.delete(e),k}var Cr=ae.Uint8Array;function tl(t){var e=-1,r=Array(t.size);return t.forEach(function(n,s){r[++e]=[s,n]}),r}function ei(t){var e=-1,r=Array(t.size);return t.forEach(function(n){r[++e]=n}),r}var el=1,rl=2,nl="[object Boolean]",il="[object Date]",ol="[object Error]",sl="[object Map]",al="[object Number]",ul="[object RegExp]",fl="[object Set]",ll="[object String]",cl="[object Symbol]",hl="[object ArrayBuffer]",dl="[object DataView]",Di=se?se.prototype:void 0,vn=Di?Di.valueOf:void 0;function pl(t,e,r,n,s,o,d){switch(r){case dl:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case hl:return!(t.byteLength!=e.byteLength||!o(new Cr(t),new Cr(e)));case nl:case il:case al:return Je(+t,+e);case ol:return t.name==e.name&&t.message==e.message;case ul:case ll:return t==e+"";case sl:var w=tl;case fl:var _=n⪙if(w||(w=ei),t.size!=e.size&&!_)return!1;var x=d.get(t);if(x)return x==e;n|=rl,d.set(t,e);var p=ls(w(t),w(e),n,s,o,d);return d.delete(t),p;case cl:if(vn)return vn.call(t)==vn.call(e)}return!1}function ri(t,e){for(var r=-1,n=e.length,s=t.length;++r<n;)t[s+r]=e[r];return t}function cs(t,e,r){var n=e(t);return Gt(t)?n:ri(n,r(t))}function hs(t,e){for(var r=-1,n=t==null?0:t.length,s=0,o=[];++r<n;){var d=t[r];e(d,r,t)&&(o[s++]=d)}return o}function ds(){return[]}var gl=Object.prototype,ml=gl.propertyIsEnumerable,ji=Object.getOwnPropertySymbols,ni=ji?function(t){return t==null?[]:(t=Object(t),hs(ji(t),function(e){return ml.call(t,e)}))}:ds;function yl(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}var wl="[object Arguments]";function ki(t){return ee(t)&&ce(t)==wl}var ps=Object.prototype,xl=ps.hasOwnProperty,vl=ps.propertyIsEnumerable,qe=ki(function(){return arguments}())?ki:function(t){return ee(t)&&xl.call(t,"callee")&&!vl.call(t,"callee")};function bl(){return!1}var gs=typeof exports=="object"&&exports&&!exports.nodeType&&exports,qi=gs&&typeof module=="object"&&module&&!module.nodeType&&module,El=qi&&qi.exports===gs,Hi=El?ae.Buffer:void 0,Ml=Hi?Hi.isBuffer:void 0,He=Ml||bl,_l=9007199254740991,Sl=/^(?:0|[1-9]\d*)$/;function ur(t,e){var r=typeof t;return e=e??_l,!!e&&(r=="number"||r!="symbol"&&Sl.test(t))&&t>-1&&t%1==0&&t<e}var Bl=9007199254740991;function ii(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=Bl}var Al="[object Arguments]",Ol="[object Array]",Tl="[object Boolean]",Cl="[object Date]",$l="[object Error]",Fl="[object Function]",Rl="[object Map]",Il="[object Number]",Nl="[object Object]",Ul="[object RegExp]",Ll="[object Set]",Pl="[object String]",Dl="[object WeakMap]",jl="[object ArrayBuffer]",kl="[object DataView]",ql="[object Float32Array]",Hl="[object Float64Array]",zl="[object Int8Array]",Gl="[object Int16Array]",Wl="[object Int32Array]",Zl="[object Uint8Array]",Jl="[object Uint8ClampedArray]",Vl="[object Uint16Array]",Kl="[object Uint32Array]",jt={};jt[ql]=jt[Hl]=jt[zl]=jt[Gl]=jt[Wl]=jt[Zl]=jt[Jl]=jt[Vl]=jt[Kl]=!0;jt[Al]=jt[Ol]=jt[jl]=jt[Tl]=jt[kl]=jt[Cl]=jt[$l]=jt[Fl]=jt[Rl]=jt[Il]=jt[Nl]=jt[Ul]=jt[Ll]=jt[Pl]=jt[Dl]=!1;function Yl(t){return ee(t)&&ii(t.length)&&!!jt[ce(t)]}function Pr(t){return function(e){return t(e)}}var ms=typeof exports=="object"&&exports&&!exports.nodeType&&exports,rr=ms&&typeof module=="object"&&module&&!module.nodeType&&module,Xl=rr&&rr.exports===ms,bn=Xl&&Wo.process,ze=function(){try{var t=rr&&rr.require&&rr.require("util").types;return t||bn&&bn.binding&&bn.binding("util")}catch{}}(),zi=ze&&ze.isTypedArray,Dr=zi?Pr(zi):Yl,Ql=Object.prototype,tc=Ql.hasOwnProperty;function ys(t,e){var r=Gt(t),n=!r&&qe(t),s=!r&&!n&&He(t),o=!r&&!n&&!s&&Dr(t),d=r||n||s||o,w=d?yl(t.length,String):[],_=w.length;for(var x in t)(e||tc.call(t,x))&&!(d&&(x=="length"||s&&(x=="offset"||x=="parent")||o&&(x=="buffer"||x=="byteLength"||x=="byteOffset")||ur(x,_)))&&w.push(x);return w}var ec=Object.prototype;function jr(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||ec;return t===r}function ws(t,e){return function(r){return t(e(r))}}var rc=ws(Object.keys,Object),nc=Object.prototype,ic=nc.hasOwnProperty;function xs(t){if(!jr(t))return rc(t);var e=[];for(var r in Object(t))ic.call(t,r)&&r!="constructor"&&e.push(r);return e}function Ee(t){return t!=null&&ii(t.length)&&!ti(t)}function Me(t){return Ee(t)?ys(t):xs(t)}function jn(t){return cs(t,Me,ni)}var oc=1,sc=Object.prototype,ac=sc.hasOwnProperty;function uc(t,e,r,n,s,o){var d=r&oc,w=jn(t),_=w.length,x=jn(e),p=x.length;if(_!=p&&!d)return!1;for(var C=_;C--;){var k=w[C];if(!(d?k in e:ac.call(e,k)))return!1}var Q=o.get(t),W=o.get(e);if(Q&&W)return Q==e&&W==t;var st=!0;o.set(t,e),o.set(e,t);for(var Z=d;++C<_;){k=w[C];var ct=t[k],nt=e[k];if(n)var at=d?n(nt,ct,k,e,t,o):n(ct,nt,k,t,e,o);if(!(at===void 0?ct===nt||s(ct,nt,r,n,o):at)){st=!1;break}Z||(Z=k=="constructor")}if(st&&!Z){var dt=t.constructor,ft=e.constructor;dt!=ft&&"constructor"in t&&"constructor"in e&&!(typeof dt=="function"&&dt instanceof dt&&typeof ft=="function"&&ft instanceof ft)&&(st=!1)}return o.delete(t),o.delete(e),st}var kn=Ie(ae,"DataView"),qn=Ie(ae,"Promise"),De=Ie(ae,"Set"),Hn=Ie(ae,"WeakMap"),Gi="[object Map]",fc="[object Object]",Wi="[object Promise]",Zi="[object Set]",Ji="[object WeakMap]",Vi="[object DataView]",lc=Re(kn),cc=Re(ir),hc=Re(qn),dc=Re(De),pc=Re(Hn),oe=ce;(kn&&oe(new kn(new ArrayBuffer(1)))!=Vi||ir&&oe(new ir)!=Gi||qn&&oe(qn.resolve())!=Wi||De&&oe(new De)!=Zi||Hn&&oe(new Hn)!=Ji)&&(oe=function(t){var e=ce(t),r=e==fc?t.constructor:void 0,n=r?Re(r):"";if(n)switch(n){case lc:return Vi;case cc:return Gi;case hc:return Wi;case dc:return Zi;case pc:return Ji}return e});var gc=1,Ki="[object Arguments]",Yi="[object Array]",xr="[object Object]",mc=Object.prototype,Xi=mc.hasOwnProperty;function yc(t,e,r,n,s,o){var d=Gt(t),w=Gt(e),_=d?Yi:oe(t),x=w?Yi:oe(e);_=_==Ki?xr:_,x=x==Ki?xr:x;var p=_==xr,C=x==xr,k=_==x;if(k&&He(t)){if(!He(e))return!1;d=!0,p=!1}if(k&&!p)return o||(o=new le),d||Dr(t)?ls(t,e,r,n,s,o):pl(t,e,_,r,n,s,o);if(!(r&gc)){var Q=p&&Xi.call(t,"__wrapped__"),W=C&&Xi.call(e,"__wrapped__");if(Q||W){var st=Q?t.value():t,Z=W?e.value():e;return o||(o=new le),s(st,Z,r,n,o)}}return k?(o||(o=new le),uc(t,e,r,n,s,o)):!1}function kr(t,e,r,n,s){return t===e?!0:t==null||e==null||!ee(t)&&!ee(e)?t!==t&&e!==e:yc(t,e,r,n,kr,s)}var wc=1,xc=2;function vc(t,e,r,n){var s=r.length,o=s;if(t==null)return!o;for(t=Object(t);s--;){var d=r[s];if(d[2]?d[1]!==t[d[0]]:!(d[0]in t))return!1}for(;++s<o;){d=r[s];var w=d[0],_=t[w],x=d[1];if(d[2]){if(_===void 0&&!(w in t))return!1}else{var p=new le,C;if(!(C===void 0?kr(x,_,wc|xc,n,p):C))return!1}}return!0}function vs(t){return t===t&&!Kt(t)}function bc(t){for(var e=Me(t),r=e.length;r--;){var n=e[r],s=t[n];e[r]=[n,s,vs(s)]}return e}function bs(t,e){return function(r){return r==null?!1:r[t]===e&&(e!==void 0||t in Object(r))}}function Ec(t){var e=bc(t);return e.length==1&&e[0][2]?bs(e[0][0],e[0][1]):function(r){return r===t||vc(r,t,e)}}var Mc=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,_c=/^\w*$/;function oi(t,e){if(Gt(t))return!1;var r=typeof t;return r=="number"||r=="symbol"||r=="boolean"||t==null||je(t)?!0:_c.test(t)||!Mc.test(t)||e!=null&&t in Object(e)}var Sc="Expected a function";function si(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError(Sc);var r=function(){var n=arguments,s=e?e.apply(this,n):n[0],o=r.cache;if(o.has(s))return o.get(s);var d=t.apply(this,n);return r.cache=o.set(s,d)||o,d};return r.cache=new(si.Cache||be),r}si.Cache=be;var Bc=500;function Ac(t){var e=si(t,function(n){return r.size===Bc&&r.clear(),n}),r=e.cache;return e}var Oc=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Tc=/\\(\\)?/g,Cc=Ac(function(t){var e=[];return t.charCodeAt(0)===46&&e.push(""),t.replace(Oc,function(r,n,s,o){e.push(s?o.replace(Tc,"$1"):n||r)}),e});function Ve(t,e){return Gt(t)?t:oi(t,e)?[t]:Cc(ne(t))}function Ke(t){if(typeof t=="string"||je(t))return t;var e=t+"";return e=="0"&&1/t==-1/0?"-0":e}function fr(t,e){e=Ve(e,t);for(var r=0,n=e.length;t!=null&&r<n;)t=t[Ke(e[r++])];return r&&r==n?t:void 0}function Es(t,e,r){var n=t==null?void 0:fr(t,e);return n===void 0?r:n}const py=Object.freeze(Object.defineProperty({__proto__:null,default:Es},Symbol.toStringTag,{value:"Module"}));function $c(t,e){return t!=null&&e in Object(t)}function Fc(t,e,r){e=Ve(e,t);for(var n=-1,s=e.length,o=!1;++n<s;){var d=Ke(e[n]);if(!(o=t!=null&&r(t,d)))break;t=t[d]}return o||++n!=s?o:(s=t==null?0:t.length,!!s&&ii(s)&&ur(d,s)&&(Gt(t)||qe(t)))}function Ms(t,e){return t!=null&&Fc(t,e,$c)}var Rc=1,Ic=2;function Nc(t,e){return oi(t)&&vs(e)?bs(Ke(t),e):function(r){var n=Es(r,t);return n===void 0&&n===e?Ms(r,t):kr(e,n,Rc|Ic)}}function lr(t){return t}function Uc(t){return function(e){return fr(e,t)}}function Lc(t){return oi(t)?Jo(Ke(t)):Uc(t)}function me(t){return typeof t=="function"?t:t==null?lr:typeof t=="object"?Gt(t)?Nc(t[0],t[1]):Ec(t):Lc(t)}var Pc="Expected a function";function Dc(t){if(typeof t!="function")throw new TypeError(Pc);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}var $r=function(){try{var t=Ie(Object,"defineProperty");return t({},"",{}),t}catch{}}();function cr(t,e,r){e=="__proto__"&&$r?$r(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}var jc=Object.prototype,kc=jc.hasOwnProperty;function ai(t,e,r){var n=t[e];(!(kc.call(t,e)&&Je(n,r))||r===void 0&&!(e in t))&&cr(t,e,r)}function _s(t,e,r,n){if(!Kt(t))return t;e=Ve(e,t);for(var s=-1,o=e.length,d=o-1,w=t;w!=null&&++s<o;){var _=Ke(e[s]),x=r;if(_==="__proto__"||_==="constructor"||_==="prototype")return t;if(s!=d){var p=w[_];x=void 0,x===void 0&&(x=Kt(p)?p:ur(e[s+1])?[]:{})}ai(w,_,x),w=w[_]}return t}function Ss(t,e,r){for(var n=-1,s=e.length,o={};++n<s;){var d=e[n],w=fr(t,d);r(w,d)&&_s(o,Ve(d,t),w)}return o}var ui=ws(Object.getPrototypeOf,Object),qc=Object.getOwnPropertySymbols,Bs=qc?function(t){for(var e=[];t;)ri(e,ni(t)),t=ui(t);return e}:ds;function Hc(t){var e=[];if(t!=null)for(var r in Object(t))e.push(r);return e}var zc=Object.prototype,Gc=zc.hasOwnProperty;function Wc(t){if(!Kt(t))return Hc(t);var e=jr(t),r=[];for(var n in t)n=="constructor"&&(e||!Gc.call(t,n))||r.push(n);return r}function Ye(t){return Ee(t)?ys(t,!0):Wc(t)}function fi(t){return cs(t,Ye,Bs)}function Zc(t,e){if(t==null)return{};var r=we(fi(t),function(n){return[n]});return e=me(e),Ss(t,r,function(n,s){return e(n,s[0])})}function gy(t,e){return Zc(t,Dc(me(e)))}var _r={exports:{}},Jc=_r.exports,Qi;function my(){return Qi||(Qi=1,function(t,e){(function(r,n){t.exports=n()})(Jc,function(){var r=1e3,n=6e4,s=36e5,o="millisecond",d="second",w="minute",_="hour",x="day",p="week",C="month",k="quarter",Q="year",W="date",st="Invalid Date",Z=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,ct=/\[([^\]]+)]|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,nt={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(i){var h=["th","st","nd","rd"],g=i%100;return"["+i+(h[(g-20)%10]||h[g]||h[0])+"]"}},at=function(i,h,g){var v=String(i);return!v||v.length>=h?i:""+Array(h+1-v.length).join(g)+i},dt={s:at,z:function(i){var h=-i.utcOffset(),g=Math.abs(h),v=Math.floor(g/60),b=g%60;return(h<=0?"+":"-")+at(v,2,"0")+":"+at(b,2,"0")},m:function i(h,g){if(h.date()<g.date())return-i(g,h);var v=12*(g.year()-h.year())+(g.month()-h.month()),b=h.clone().add(v,C),F=g-b<0,I=h.clone().add(v+(F?-1:1),C);return+(-(v+(g-b)/(F?b-I:I-b))||0)},a:function(i){return i<0?Math.ceil(i)||0:Math.floor(i)},p:function(i){return{M:C,y:Q,w:p,d:x,D:W,h:_,m:w,s:d,ms:o,Q:k}[i]||String(i||"").toLowerCase().replace(/s$/,"")},u:function(i){return i===void 0}},ft="en",K={};K[ft]=nt;var G="$isDayjsObject",ut=function(i){return i instanceof P||!(!i||!i[G])},mt=function i(h,g,v){var b;if(!h)return ft;if(typeof h=="string"){var F=h.toLowerCase();K[F]&&(b=F),g&&(K[F]=g,b=F);var I=h.split("-");if(!b&&I.length>1)return i(I[0])}else{var S=h.name;K[S]=h,b=S}return!v&&b&&(ft=b),b||!v&&ft},it=function(i,h){if(ut(i))return i.clone();var g=typeof h=="object"?h:{};return g.date=i,g.args=arguments,new P(g)},lt=dt;lt.l=mt,lt.i=ut,lt.w=function(i,h){return it(i,{locale:h.$L,utc:h.$u,x:h.$x,$offset:h.$offset})};var P=function(){function i(g){this.$L=mt(g.locale,null,!0),this.parse(g),this.$x=this.$x||g.x||{},this[G]=!0}var h=i.prototype;return h.parse=function(g){this.$d=function(v){var b=v.date,F=v.utc;if(b===null)return new Date(NaN);if(lt.u(b))return new Date;if(b instanceof Date)return new Date(b);if(typeof b=="string"&&!/Z$/i.test(b)){var I=b.match(Z);if(I){var S=I[2]-1||0,c=(I[7]||"0").substring(0,3);return F?new Date(Date.UTC(I[1],S,I[3]||1,I[4]||0,I[5]||0,I[6]||0,c)):new Date(I[1],S,I[3]||1,I[4]||0,I[5]||0,I[6]||0,c)}}return new Date(b)}(g),this.init()},h.init=function(){var g=this.$d;this.$y=g.getFullYear(),this.$M=g.getMonth(),this.$D=g.getDate(),this.$W=g.getDay(),this.$H=g.getHours(),this.$m=g.getMinutes(),this.$s=g.getSeconds(),this.$ms=g.getMilliseconds()},h.$utils=function(){return lt},h.isValid=function(){return this.$d.toString()!==st},h.isSame=function(g,v){var b=it(g);return this.startOf(v)<=b&&b<=this.endOf(v)},h.isAfter=function(g,v){return it(g)<this.startOf(v)},h.isBefore=function(g,v){return this.endOf(v)<it(g)},h.$g=function(g,v,b){return lt.u(g)?this[v]:this.set(b,g)},h.unix=function(){return Math.floor(this.valueOf()/1e3)},h.valueOf=function(){return this.$d.getTime()},h.startOf=function(g,v){var b=this,F=!!lt.u(v)||v,I=lt.p(g),S=function(At,E){var A=lt.w(b.$u?Date.UTC(b.$y,E,At):new Date(b.$y,E,At),b);return F?A:A.endOf(x)},c=function(At,E){return lt.w(b.toDate()[At].apply(b.toDate("s"),(F?[0,0,0,0]:[23,59,59,999]).slice(E)),b)},O=this.$W,z=this.$M,pt=this.$D,yt="set"+(this.$u?"UTC":"");switch(I){case Q:return F?S(1,0):S(31,11);case C:return F?S(1,z):S(0,z+1);case p:var Nt=this.$locale().weekStart||0,Et=(O<Nt?O+7:O)-Nt;return S(F?pt-Et:pt+(6-Et),z);case x:case W:return c(yt+"Hours",0);case _:return c(yt+"Minutes",1);case w:return c(yt+"Seconds",2);case d:return c(yt+"Milliseconds",3);default:return this.clone()}},h.endOf=function(g){return this.startOf(g,!1)},h.$set=function(g,v){var b,F=lt.p(g),I="set"+(this.$u?"UTC":""),S=(b={},b[x]=I+"Date",b[W]=I+"Date",b[C]=I+"Month",b[Q]=I+"FullYear",b[_]=I+"Hours",b[w]=I+"Minutes",b[d]=I+"Seconds",b[o]=I+"Milliseconds",b)[F],c=F===x?this.$D+(v-this.$W):v;if(F===C||F===Q){var O=this.clone().set(W,1);O.$d[S](c),O.init(),this.$d=O.set(W,Math.min(this.$D,O.daysInMonth())).$d}else S&&this.$d[S](c);return this.init(),this},h.set=function(g,v){return this.clone().$set(g,v)},h.get=function(g){return this[lt.p(g)]()},h.add=function(g,v){var b,F=this;g=Number(g);var I=lt.p(v),S=function(z){var pt=it(F);return lt.w(pt.date(pt.date()+Math.round(z*g)),F)};if(I===C)return this.set(C,this.$M+g);if(I===Q)return this.set(Q,this.$y+g);if(I===x)return S(1);if(I===p)return S(7);var c=(b={},b[w]=n,b[_]=s,b[d]=r,b)[I]||1,O=this.$d.getTime()+g*c;return lt.w(O,this)},h.subtract=function(g,v){return this.add(-1*g,v)},h.format=function(g){var v=this,b=this.$locale();if(!this.isValid())return b.invalidDate||st;var F=g||"YYYY-MM-DDTHH:mm:ssZ",I=lt.z(this),S=this.$H,c=this.$m,O=this.$M,z=b.weekdays,pt=b.months,yt=b.meridiem,Nt=function(E,A,$,V){return E&&(E[A]||E(v,F))||$[A].slice(0,V)},Et=function(E){return lt.s(S%12||12,E,"0")},At=yt||function(E,A,$){var V=E<12?"AM":"PM";return $?V.toLowerCase():V};return F.replace(ct,function(E,A){return A||function($){switch($){case"YY":return String(v.$y).slice(-2);case"YYYY":return lt.s(v.$y,4,"0");case"M":return O+1;case"MM":return lt.s(O+1,2,"0");case"MMM":return Nt(b.monthsShort,O,pt,3);case"MMMM":return Nt(pt,O);case"D":return v.$D;case"DD":return lt.s(v.$D,2,"0");case"d":return String(v.$W);case"dd":return Nt(b.weekdaysMin,v.$W,z,2);case"ddd":return Nt(b.weekdaysShort,v.$W,z,3);case"dddd":return z[v.$W];case"H":return String(S);case"HH":return lt.s(S,2,"0");case"h":return Et(1);case"hh":return Et(2);case"a":return At(S,c,!0);case"A":return At(S,c,!1);case"m":return String(c);case"mm":return lt.s(c,2,"0");case"s":return String(v.$s);case"ss":return lt.s(v.$s,2,"0");case"SSS":return lt.s(v.$ms,3,"0");case"Z":return I}return null}(E)||I.replace(":","")})},h.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},h.diff=function(g,v,b){var F,I=this,S=lt.p(v),c=it(g),O=(c.utcOffset()-this.utcOffset())*n,z=this-c,pt=function(){return lt.m(I,c)};switch(S){case Q:F=pt()/12;break;case C:F=pt();break;case k:F=pt()/3;break;case p:F=(z-O)/6048e5;break;case x:F=(z-O)/864e5;break;case _:F=z/s;break;case w:F=z/n;break;case d:F=z/r;break;default:F=z}return b?F:lt.a(F)},h.daysInMonth=function(){return this.endOf(C).$D},h.$locale=function(){return K[this.$L]},h.locale=function(g,v){if(!g)return this.$L;var b=this.clone(),F=mt(g,v,!0);return F&&(b.$L=F),b},h.clone=function(){return lt.w(this.$d,this)},h.toDate=function(){return new Date(this.valueOf())},h.toJSON=function(){return this.isValid()?this.toISOString():null},h.toISOString=function(){return this.$d.toISOString()},h.toString=function(){return this.$d.toUTCString()},i}(),T=P.prototype;return it.prototype=T,[["$ms",o],["$s",d],["$m",w],["$H",_],["$W",x],["$M",C],["$y",Q],["$D",W]].forEach(function(i){T[i[1]]=function(h){return this.$g(h,i[0],i[1])}}),it.extend=function(i,h){return i.$i||(i(h,P,it),i.$i=!0),it},it.locale=mt,it.isDayjs=ut,it.unix=function(i){return it(1e3*i)},it.en=K[ft],it.Ls=K,it.p={},it})}(_r)),_r.exports}var Vc="[object Map]",Kc="[object Set]",Yc=Object.prototype,Xc=Yc.hasOwnProperty;function Qc(t){if(t==null)return!0;if(Ee(t)&&(Gt(t)||typeof t=="string"||typeof t.splice=="function"||He(t)||Dr(t)||qe(t)))return!t.length;var e=oe(t);if(e==Vc||e==Kc)return!t.size;if(jr(t))return!xs(t).length;for(var r in t)if(Xc.call(t,r))return!1;return!0}const yy=Object.freeze(Object.defineProperty({__proto__:null,default:Qc},Symbol.toStringTag,{value:"Module"}));function wy(t,e,r){return t==null?t:_s(t,e,r)}function xy(t){return t===void 0}var En=function(){return ae.Date.now()},t0="Expected a function",e0=Math.max,r0=Math.min;function n0(t,e,r){var n,s,o,d,w,_,x=0,p=!1,C=!1,k=!0;if(typeof t!="function")throw new TypeError(t0);e=Dn(e)||0,Kt(r)&&(p=!!r.leading,C="maxWait"in r,o=C?e0(Dn(r.maxWait)||0,e):o,k="trailing"in r?!!r.trailing:k);function Q(K){var G=n,ut=s;return n=s=void 0,x=K,d=t.apply(ut,G),d}function W(K){return x=K,w=setTimeout(ct,e),p?Q(K):d}function st(K){var G=K-_,ut=K-x,mt=e-G;return C?r0(mt,o-ut):mt}function Z(K){var G=K-_,ut=K-x;return _===void 0||G>=e||G<0||C&&ut>=o}function ct(){var K=En();if(Z(K))return nt(K);w=setTimeout(ct,st(K))}function nt(K){return w=void 0,k&&n?Q(K):(n=s=void 0,d)}function at(){w!==void 0&&clearTimeout(w),x=0,n=_=s=w=void 0}function dt(){return w===void 0?d:nt(En())}function ft(){var K=En(),G=Z(K);if(n=arguments,s=this,_=K,G){if(w===void 0)return W(_);if(C)return clearTimeout(w),w=setTimeout(ct,e),Q(_)}return w===void 0&&(w=setTimeout(ct,e)),d}return ft.cancel=at,ft.flush=dt,ft}var i0="Expected a function";function vy(t,e,r){var n=!0,s=!0;if(typeof t!="function")throw new TypeError(i0);return Kt(r)&&(n="leading"in r?!!r.leading:n,s="trailing"in r?!!r.trailing:s),n0(t,e,{leading:n,maxWait:e,trailing:s})}var o0="[object Object]",s0=Function.prototype,a0=Object.prototype,As=s0.toString,u0=a0.hasOwnProperty,f0=As.call(Object);function qr(t){if(!ee(t)||ce(t)!=o0)return!1;var e=ui(t);if(e===null)return!0;var r=u0.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&As.call(r)==f0}const by=Object.freeze(Object.defineProperty({__proto__:null,default:qr},Symbol.toStringTag,{value:"Module"}));function l0(){}function zn(t,e,r){(r!==void 0&&!Je(t[e],r)||r===void 0&&!(e in t))&&cr(t,e,r)}function c0(t){return function(e,r,n){for(var s=-1,o=Object(e),d=n(e),w=d.length;w--;){var _=d[++s];if(r(o[_],_,o)===!1)break}return e}}var Os=c0(),Ts=typeof exports=="object"&&exports&&!exports.nodeType&&exports,to=Ts&&typeof module=="object"&&module&&!module.nodeType&&module,h0=to&&to.exports===Ts,eo=h0?ae.Buffer:void 0,ro=eo?eo.allocUnsafe:void 0;function Cs(t,e){if(e)return t.slice();var r=t.length,n=ro?ro(r):new t.constructor(r);return t.copy(n),n}function li(t){var e=new t.constructor(t.byteLength);return new Cr(e).set(new Cr(t)),e}function $s(t,e){var r=e?li(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}function ci(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r<n;)e[r]=t[r];return e}var no=Object.create,d0=function(){function t(){}return function(e){if(!Kt(e))return{};if(no)return no(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();function Fs(t){return typeof t.constructor=="function"&&!jr(t)?d0(ui(t)):{}}function $e(t){return ee(t)&&Ee(t)}function Gn(t,e){if(!(e==="constructor"&&typeof t[e]=="function")&&e!="__proto__")return t[e]}function Ne(t,e,r,n){var s=!r;r||(r={});for(var o=-1,d=e.length;++o<d;){var w=e[o],_=n?n(r[w],t[w],w,r,t):void 0;_===void 0&&(_=t[w]),s?cr(r,w,_):ai(r,w,_)}return r}function p0(t){return Ne(t,Ye(t))}function g0(t,e,r,n,s,o,d){var w=Gn(t,r),_=Gn(e,r),x=d.get(_);if(x){zn(t,r,x);return}var p=o?o(w,_,r+"",t,e,d):void 0,C=p===void 0;if(C){var k=Gt(_),Q=!k&&He(_),W=!k&&!Q&&Dr(_);p=_,k||Q||W?Gt(w)?p=w:$e(w)?p=ci(w):Q?(C=!1,p=Cs(_,!0)):W?(C=!1,p=$s(_,!0)):p=[]:qr(_)||qe(_)?(p=w,qe(w)?p=p0(w):(!Kt(w)||ti(w))&&(p=Fs(_))):C=!1}C&&(d.set(_,p),s(p,_,n,o,d),d.delete(_)),zn(t,r,p)}function Hr(t,e,r,n,s){t!==e&&Os(e,function(o,d){if(s||(s=new le),Kt(o))g0(t,e,d,r,Hr,n,s);else{var w=n?n(Gn(t,d),o,d+"",t,e,s):void 0;w===void 0&&(w=o),zn(t,d,w)}},Ye)}function hi(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}var io=Math.max;function Rs(t,e,r){return e=io(e===void 0?t.length-1:e,0),function(){for(var n=arguments,s=-1,o=io(n.length-e,0),d=Array(o);++s<o;)d[s]=n[e+s];s=-1;for(var w=Array(e+1);++s<e;)w[s]=n[s];return w[e]=r(d),hi(t,this,w)}}function m0(t){return function(){return t}}var y0=$r?function(t,e){return $r(t,"toString",{configurable:!0,enumerable:!1,value:m0(e),writable:!0})}:lr,w0=800,x0=16,v0=Date.now;function b0(t){var e=0,r=0;return function(){var n=v0(),s=x0-(n-r);if(r=n,s>0){if(++e>=w0)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var Is=b0(y0);function he(t,e){return Is(Rs(t,e,lr),t+"")}function Wn(t,e,r){if(!Kt(r))return!1;var n=typeof e;return(n=="number"?Ee(r)&&ur(e,r.length):n=="string"&&e in r)?Je(r[e],t):!1}function di(t){return he(function(e,r){var n=-1,s=r.length,o=s>1?r[s-1]:void 0,d=s>2?r[2]:void 0;for(o=t.length>3&&typeof o=="function"?(s--,o):void 0,d&&Wn(r[0],r[1],d)&&(o=s<3?void 0:o,s=1),e=Object(e);++n<s;){var w=r[n];w&&t(e,w,n,o)}return e})}var Ey=di(function(t,e,r){Hr(t,e,r)});function Ns(t,e){for(var r=-1,n=t==null?0:t.length;++r<n&&e(t[r],r,t)!==!1;);return t}function E0(t,e){return t&&Ne(e,Me(e),t)}function M0(t,e){return t&&Ne(e,Ye(e),t)}function _0(t,e){return Ne(t,ni(t),e)}function S0(t,e){return Ne(t,Bs(t),e)}var B0=Object.prototype,A0=B0.hasOwnProperty;function O0(t){var e=t.length,r=new t.constructor(e);return e&&typeof t[0]=="string"&&A0.call(t,"index")&&(r.index=t.index,r.input=t.input),r}function T0(t,e){var r=e?li(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}var C0=/\w*$/;function $0(t){var e=new t.constructor(t.source,C0.exec(t));return e.lastIndex=t.lastIndex,e}var oo=se?se.prototype:void 0,so=oo?oo.valueOf:void 0;function F0(t){return so?Object(so.call(t)):{}}var R0="[object Boolean]",I0="[object Date]",N0="[object Map]",U0="[object Number]",L0="[object RegExp]",P0="[object Set]",D0="[object String]",j0="[object Symbol]",k0="[object ArrayBuffer]",q0="[object DataView]",H0="[object Float32Array]",z0="[object Float64Array]",G0="[object Int8Array]",W0="[object Int16Array]",Z0="[object Int32Array]",J0="[object Uint8Array]",V0="[object Uint8ClampedArray]",K0="[object Uint16Array]",Y0="[object Uint32Array]";function X0(t,e,r){var n=t.constructor;switch(e){case k0:return li(t);case R0:case I0:return new n(+t);case q0:return T0(t,r);case H0:case z0:case G0:case W0:case Z0:case J0:case V0:case K0:case Y0:return $s(t,r);case N0:return new n;case U0:case D0:return new n(t);case L0:return $0(t);case P0:return new n;case j0:return F0(t)}}var Q0="[object Map]";function th(t){return ee(t)&&oe(t)==Q0}var ao=ze&&ze.isMap,eh=ao?Pr(ao):th,rh="[object Set]";function nh(t){return ee(t)&&oe(t)==rh}var uo=ze&&ze.isSet,ih=uo?Pr(uo):nh,oh=1,sh=2,ah=4,Us="[object Arguments]",uh="[object Array]",fh="[object Boolean]",lh="[object Date]",ch="[object Error]",Ls="[object Function]",hh="[object GeneratorFunction]",dh="[object Map]",ph="[object Number]",Ps="[object Object]",gh="[object RegExp]",mh="[object Set]",yh="[object String]",wh="[object Symbol]",xh="[object WeakMap]",vh="[object ArrayBuffer]",bh="[object DataView]",Eh="[object Float32Array]",Mh="[object Float64Array]",_h="[object Int8Array]",Sh="[object Int16Array]",Bh="[object Int32Array]",Ah="[object Uint8Array]",Oh="[object Uint8ClampedArray]",Th="[object Uint16Array]",Ch="[object Uint32Array]",Lt={};Lt[Us]=Lt[uh]=Lt[vh]=Lt[bh]=Lt[fh]=Lt[lh]=Lt[Eh]=Lt[Mh]=Lt[_h]=Lt[Sh]=Lt[Bh]=Lt[dh]=Lt[ph]=Lt[Ps]=Lt[gh]=Lt[mh]=Lt[yh]=Lt[wh]=Lt[Ah]=Lt[Oh]=Lt[Th]=Lt[Ch]=!0;Lt[ch]=Lt[Ls]=Lt[xh]=!1;function nr(t,e,r,n,s,o){var d,w=e&oh,_=e&sh,x=e&ah;if(r&&(d=s?r(t,n,s,o):r(t)),d!==void 0)return d;if(!Kt(t))return t;var p=Gt(t);if(p){if(d=O0(t),!w)return ci(t,d)}else{var C=oe(t),k=C==Ls||C==hh;if(He(t))return Cs(t,w);if(C==Ps||C==Us||k&&!s){if(d=_||k?{}:Fs(t),!w)return _?S0(t,M0(d,t)):_0(t,E0(d,t))}else{if(!Lt[C])return s?t:{};d=X0(t,C,w)}}o||(o=new le);var Q=o.get(t);if(Q)return Q;o.set(t,d),ih(t)?t.forEach(function(Z){d.add(nr(Z,e,r,Z,t,o))}):eh(t)&&t.forEach(function(Z,ct){d.set(ct,nr(Z,e,r,ct,t,o))});var W=x?_?fi:jn:_?Ye:Me,st=p?void 0:W(t);return Ns(st||t,function(Z,ct){st&&(ct=Z,Z=t[ct]),ai(d,ct,nr(Z,e,r,ct,t,o))}),d}function zr(t){var e=t==null?0:t.length;return e?t[e-1]:void 0}function $h(t,e){return e.length<2?t:fr(t,Xn(e,0,-1))}function Fh(t,e){return e=Ve(e,t),t=$h(t,e),t==null||delete t[Ke(zr(e))]}function Rh(t){return qr(t)?void 0:t}var fo=se?se.isConcatSpreadable:void 0;function Ih(t){return Gt(t)||qe(t)||!!(fo&&t&&t[fo])}function hr(t,e,r,n,s){var o=-1,d=t.length;for(r||(r=Ih),s||(s=[]);++o<d;){var w=t[o];r(w)?ri(s,w):n||(s[s.length]=w)}return s}function Nh(t){var e=t==null?0:t.length;return e?hr(t):[]}function Ds(t){return Is(Rs(t,void 0,Nh),t+"")}var Uh=1,Lh=2,Ph=4,Dh=Ds(function(t,e){var r={};if(t==null)return r;var n=!1;e=we(e,function(o){return o=Ve(o,t),n||(n=o.length>1),o}),Ne(t,fi(t),r),n&&(r=nr(r,Uh|Lh|Ph,Rh));for(var s=e.length;s--;)Fh(r,e[s]);return r});const My=Object.freeze(Object.defineProperty({__proto__:null,default:Dh},Symbol.toStringTag,{value:"Module"}));function js(t,e,r,n){for(var s=t.length,o=r+-1;++o<s;)if(e(t[o],o,t))return o;return-1}function jh(t){return t!==t}function kh(t,e,r){for(var n=r-1,s=t.length;++n<s;)if(t[n]===e)return n;return-1}function Gr(t,e,r){return e===e?kh(t,e,r):js(t,jh,r)}function pi(t,e){var r=t==null?0:t.length;return!!r&&Gr(t,e,0)>-1}function ks(t,e,r){for(var n=-1,s=t==null?0:t.length;++n<s;)if(r(e,t[n]))return!0;return!1}var qh=1/0,Hh=De&&1/ei(new De([,-0]))[1]==qh?function(t){return new De(t)}:l0,zh=200;function Ge(t,e,r){var n=-1,s=pi,o=t.length,d=!0,w=[],_=w;if(r)d=!1,s=ks;else if(o>=zh){var x=e?null:Hh(t);if(x)return ei(x);d=!1,s=sr,_=new Ce}else _=e?[]:w;t:for(;++n<o;){var p=t[n],C=e?e(p):p;if(p=r||p!==0?p:0,d&&C===C){for(var k=_.length;k--;)if(_[k]===C)continue t;e&&_.push(C),w.push(p)}else s(_,C,r)||(_!==w&&_.push(C),w.push(p))}return w}function Gh(t,e){return t&&t.length?Ge(t,me(e)):[]}const _y=Object.freeze(Object.defineProperty({__proto__:null,default:Gh},Symbol.toStringTag,{value:"Module"})),Wh=/#/g,Zh=/&/g,Jh=/\//g,Vh=/=/g,gi=/\+/g,Kh=/%5e/gi,Yh=/%60/gi,Xh=/%7c/gi,Qh=/%20/gi;function td(t){return encodeURI(""+t).replace(Xh,"|")}function Zn(t){return td(typeof t=="string"?t:JSON.stringify(t)).replace(gi,"%2B").replace(Qh,"+").replace(Wh,"%23").replace(Zh,"%26").replace(Yh,"`").replace(Kh,"^").replace(Jh,"%2F")}function Mn(t){return Zn(t).replace(Vh,"%3D")}function qs(t=""){try{return decodeURIComponent(""+t)}catch{return""+t}}function ed(t){return qs(t.replace(gi," "))}function rd(t){return qs(t.replace(gi," "))}function Hs(t=""){const e=Object.create(null);t[0]==="?"&&(t=t.slice(1));for(const r of t.split("&")){const n=r.match(/([^=]+)=?(.*)/)||[];if(n.length<2)continue;const s=ed(n[1]);if(s==="__proto__"||s==="constructor")continue;const o=rd(n[2]||"");e[s]===void 0?e[s]=o:Array.isArray(e[s])?e[s].push(o):e[s]=[e[s],o]}return e}function nd(t,e){return(typeof e=="number"||typeof e=="boolean")&&(e=String(e)),e?Array.isArray(e)?e.map(r=>`${Mn(t)}=${Zn(r)}`).join("&"):`${Mn(t)}=${Zn(e)}`:Mn(t)}function id(t){return Object.keys(t).filter(e=>t[e]!==void 0).map(e=>nd(e,t[e])).filter(Boolean).join("&")}const od=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,zs=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,sd=/^([/\\]\s*){2,}[^/\\]/,ad=/^\.?\//;function ud(t,e={}){return typeof e=="boolean"&&(e={acceptRelative:e}),e.strict?od.test(t):zs.test(t)||(e.acceptRelative?sd.test(t):!1)}function fd(t="",e){return t.endsWith("/")}function Sy(t="",e){return(fd(t)?t.slice(0,-1):t)||"/"}function ld(t="",e){return t.endsWith("/")?t:t+"/"}function cd(t=""){return t.startsWith("/")}function By(t=""){return(cd(t)?t.slice(1):t)||"/"}function Ay(t,e){const r=yi(t),n={...Hs(r.search),...e};return r.search=id(n),dd(r)}function Oy(t){return Hs(yi(t).search)}function hd(t){return t&&t!=="/"}function Ty(t,...e){let r=t||"";for(const n of e.filter(s=>hd(s)))if(r){const s=n.replace(ad,"");r=ld(r)+s}else r=n;return r}function Cy(t){return mi(t,"http://")}function $y(t){return mi(t,"https://")}function Fy(t){return mi(t,"")}function mi(t,e){let r=t.match(zs);return r||(r=t.match(/^\/{2,}/)),r?e+t.slice(r[0].length):e+t}const Gs=Symbol.for("ufo:protocolRelative");function yi(t="",e){const r=t.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(r){const[,C,k=""]=r;return{protocol:C.toLowerCase(),pathname:k,href:C+k,auth:"",host:"",search:"",hash:""}}if(!ud(t,{acceptRelative:!0}))return lo(t);const[,n="",s,o=""]=t.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,d="",w=""]=o.match(/([^#/?]*)(.*)?/)||[];n==="file:"&&(w=w.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:_,search:x,hash:p}=lo(w);return{protocol:n.toLowerCase(),auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:d,pathname:_,search:x,hash:p,[Gs]:!n}}function lo(t=""){const[e="",r="",n=""]=(t.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:e,search:r,hash:n}}function dd(t){const e=t.pathname||"",r=t.search?(t.search.startsWith("?")?"":"?")+t.search:"",n=t.hash||"",s=t.auth?t.auth+"@":"",o=t.host||"";return(t.protocol||t[Gs]?(t.protocol||"")+"//":"")+s+o+e+r+n}const pd=/\/([^/]+\.[^/]+)$/;function Ry(t="",e){const{pathname:r}=yi(t),n=r.match(pd);return n?n[1]:void 0}function Ws(t,e){return function(){return t.apply(e,arguments)}}const{toString:gd}=Object.prototype,{getPrototypeOf:wi}=Object,{iterator:Wr,toStringTag:Zs}=Symbol,Zr=(t=>e=>{const r=gd.call(e);return t[r]||(t[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),de=t=>(t=t.toLowerCase(),e=>Zr(e)===t),Jr=t=>e=>typeof e===t,{isArray:Xe}=Array,We=Jr("undefined");function dr(t){return t!==null&&!We(t)&&t.constructor!==null&&!We(t.constructor)&&Qt(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Js=de("ArrayBuffer");function md(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Js(t.buffer),e}const yd=Jr("string"),Qt=Jr("function"),Vs=Jr("number"),pr=t=>t!==null&&typeof t=="object",wd=t=>t===!0||t===!1,Sr=t=>{if(Zr(t)!=="object")return!1;const e=wi(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Zs in t)&&!(Wr in t)},xd=t=>{if(!pr(t)||dr(t))return!1;try{return Object.keys(t).length===0&&Object.getPrototypeOf(t)===Object.prototype}catch{return!1}},vd=de("Date"),bd=de("File"),Ed=de("Blob"),Md=de("FileList"),_d=t=>pr(t)&&Qt(t.pipe),Sd=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||Qt(t.append)&&((e=Zr(t))==="formdata"||e==="object"&&Qt(t.toString)&&t.toString()==="[object FormData]"))},Bd=de("URLSearchParams"),[Ad,Od,Td,Cd]=["ReadableStream","Request","Response","Headers"].map(de),$d=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function gr(t,e,{allOwnKeys:r=!1}={}){if(t===null||typeof t>"u")return;let n,s;if(typeof t!="object"&&(t=[t]),Xe(t))for(n=0,s=t.length;n<s;n++)e.call(null,t[n],n,t);else{if(dr(t))return;const o=r?Object.getOwnPropertyNames(t):Object.keys(t),d=o.length;let w;for(n=0;n<d;n++)w=o[n],e.call(null,t[w],w,t)}}function Ks(t,e){if(dr(t))return null;e=e.toLowerCase();const r=Object.keys(t);let n=r.length,s;for(;n-- >0;)if(s=r[n],e===s.toLowerCase())return s;return null}const Ae=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:Be,Ys=t=>!We(t)&&t!==Ae;function Jn(){const{caseless:t,skipUndefined:e}=Ys(this)&&this||{},r={},n=(s,o)=>{const d=t&&Ks(r,o)||o;Sr(r[d])&&Sr(s)?r[d]=Jn(r[d],s):Sr(s)?r[d]=Jn({},s):Xe(s)?r[d]=s.slice():(!e||!We(s))&&(r[d]=s)};for(let s=0,o=arguments.length;s<o;s++)arguments[s]&&gr(arguments[s],n);return r}const Fd=(t,e,r,{allOwnKeys:n}={})=>(gr(e,(s,o)=>{r&&Qt(s)?t[o]=Ws(s,r):t[o]=s},{allOwnKeys:n}),t),Rd=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),Id=(t,e,r,n)=>{t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),r&&Object.assign(t.prototype,r)},Nd=(t,e,r,n)=>{let s,o,d;const w={};if(e=e||{},t==null)return e;do{for(s=Object.getOwnPropertyNames(t),o=s.length;o-- >0;)d=s[o],(!n||n(d,t,e))&&!w[d]&&(e[d]=t[d],w[d]=!0);t=r!==!1&&wi(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},Ud=(t,e,r)=>{t=String(t),(r===void 0||r>t.length)&&(r=t.length),r-=e.length;const n=t.indexOf(e,r);return n!==-1&&n===r},Ld=t=>{if(!t)return null;if(Xe(t))return t;let e=t.length;if(!Vs(e))return null;const r=new Array(e);for(;e-- >0;)r[e]=t[e];return r},Pd=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&wi(Uint8Array)),Dd=(t,e)=>{const n=(t&&t[Wr]).call(t);let s;for(;(s=n.next())&&!s.done;){const o=s.value;e.call(t,o[0],o[1])}},jd=(t,e)=>{let r;const n=[];for(;(r=t.exec(e))!==null;)n.push(r);return n},kd=de("HTMLFormElement"),qd=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,s){return n.toUpperCase()+s}),co=(({hasOwnProperty:t})=>(e,r)=>t.call(e,r))(Object.prototype),Hd=de("RegExp"),Xs=(t,e)=>{const r=Object.getOwnPropertyDescriptors(t),n={};gr(r,(s,o)=>{let d;(d=e(s,o,t))!==!1&&(n[o]=d||s)}),Object.defineProperties(t,n)},zd=t=>{Xs(t,(e,r)=>{if(Qt(t)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=t[r];if(Qt(n)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},Gd=(t,e)=>{const r={},n=s=>{s.forEach(o=>{r[o]=!0})};return Xe(t)?n(t):n(String(t).split(e)),r},Wd=()=>{},Zd=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e;function Jd(t){return!!(t&&Qt(t.append)&&t[Zs]==="FormData"&&t[Wr])}const Vd=t=>{const e=new Array(10),r=(n,s)=>{if(pr(n)){if(e.indexOf(n)>=0)return;if(dr(n))return n;if(!("toJSON"in n)){e[s]=n;const o=Xe(n)?[]:{};return gr(n,(d,w)=>{const _=r(d,s+1);!We(_)&&(o[w]=_)}),e[s]=void 0,o}}return n};return r(t,0)},Kd=de("AsyncFunction"),Yd=t=>t&&(pr(t)||Qt(t))&&Qt(t.then)&&Qt(t.catch),Qs=((t,e)=>t?setImmediate:e?((r,n)=>(Ae.addEventListener("message",({source:s,data:o})=>{s===Ae&&o===r&&n.length&&n.shift()()},!1),s=>{n.push(s),Ae.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",Qt(Ae.postMessage)),Xd=typeof queueMicrotask<"u"?queueMicrotask.bind(Ae):typeof Tr<"u"&&Tr.nextTick||Qs,Qd=t=>t!=null&&Qt(t[Wr]),et={isArray:Xe,isArrayBuffer:Js,isBuffer:dr,isFormData:Sd,isArrayBufferView:md,isString:yd,isNumber:Vs,isBoolean:wd,isObject:pr,isPlainObject:Sr,isEmptyObject:xd,isReadableStream:Ad,isRequest:Od,isResponse:Td,isHeaders:Cd,isUndefined:We,isDate:vd,isFile:bd,isBlob:Ed,isRegExp:Hd,isFunction:Qt,isStream:_d,isURLSearchParams:Bd,isTypedArray:Pd,isFileList:Md,forEach:gr,merge:Jn,extend:Fd,trim:$d,stripBOM:Rd,inherits:Id,toFlatObject:Nd,kindOf:Zr,kindOfTest:de,endsWith:Ud,toArray:Ld,forEachEntry:Dd,matchAll:jd,isHTMLForm:kd,hasOwnProperty:co,hasOwnProp:co,reduceDescriptors:Xs,freezeMethods:zd,toObjectSet:Gd,toCamelCase:qd,noop:Wd,toFiniteNumber:Zd,findKey:Ks,global:Ae,isContextDefined:Ys,isSpecCompliantForm:Jd,toJSONObject:Vd,isAsyncFn:Kd,isThenable:Yd,setImmediate:Qs,asap:Xd,isIterable:Qd};var xi={},Vr={};Vr.byteLength=rp;Vr.toByteArray=ip;Vr.fromByteArray=ap;var ge=[],ie=[],tp=typeof Uint8Array<"u"?Uint8Array:Array,_n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var Ue=0,ep=_n.length;Ue<ep;++Ue)ge[Ue]=_n[Ue],ie[_n.charCodeAt(Ue)]=Ue;ie[45]=62;ie[95]=63;function ta(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function rp(t){var e=ta(t),r=e[0],n=e[1];return(r+n)*3/4-n}function np(t,e,r){return(e+r)*3/4-r}function ip(t){var e,r=ta(t),n=r[0],s=r[1],o=new tp(np(t,n,s)),d=0,w=s>0?n-4:n,_;for(_=0;_<w;_+=4)e=ie[t.charCodeAt(_)]<<18|ie[t.charCodeAt(_+1)]<<12|ie[t.charCodeAt(_+2)]<<6|ie[t.charCodeAt(_+3)],o[d++]=e>>16&255,o[d++]=e>>8&255,o[d++]=e&255;return s===2&&(e=ie[t.charCodeAt(_)]<<2|ie[t.charCodeAt(_+1)]>>4,o[d++]=e&255),s===1&&(e=ie[t.charCodeAt(_)]<<10|ie[t.charCodeAt(_+1)]<<4|ie[t.charCodeAt(_+2)]>>2,o[d++]=e>>8&255,o[d++]=e&255),o}function op(t){return ge[t>>18&63]+ge[t>>12&63]+ge[t>>6&63]+ge[t&63]}function sp(t,e,r){for(var n,s=[],o=e;o<r;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),s.push(op(n));return s.join("")}function ap(t){for(var e,r=t.length,n=r%3,s=[],o=16383,d=0,w=r-n;d<w;d+=o)s.push(sp(t,d,d+o>w?w:d+o));return n===1?(e=t[r-1],s.push(ge[e>>2]+ge[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],s.push(ge[e>>10]+ge[e>>4&63]+ge[e<<2&63]+"=")),s.join("")}var vi={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */vi.read=function(t,e,r,n,s){var o,d,w=s*8-n-1,_=(1<<w)-1,x=_>>1,p=-7,C=r?s-1:0,k=r?-1:1,Q=t[e+C];for(C+=k,o=Q&(1<<-p)-1,Q>>=-p,p+=w;p>0;o=o*256+t[e+C],C+=k,p-=8);for(d=o&(1<<-p)-1,o>>=-p,p+=n;p>0;d=d*256+t[e+C],C+=k,p-=8);if(o===0)o=1-x;else{if(o===_)return d?NaN:(Q?-1:1)*(1/0);d=d+Math.pow(2,n),o=o-x}return(Q?-1:1)*d*Math.pow(2,o-n)};vi.write=function(t,e,r,n,s,o){var d,w,_,x=o*8-s-1,p=(1<<x)-1,C=p>>1,k=s===23?Math.pow(2,-24)-Math.pow(2,-77):0,Q=n?0:o-1,W=n?1:-1,st=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(w=isNaN(e)?1:0,d=p):(d=Math.floor(Math.log(e)/Math.LN2),e*(_=Math.pow(2,-d))<1&&(d--,_*=2),d+C>=1?e+=k/_:e+=k*Math.pow(2,1-C),e*_>=2&&(d++,_/=2),d+C>=p?(w=0,d=p):d+C>=1?(w=(e*_-1)*Math.pow(2,s),d=d+C):(w=e*Math.pow(2,C-1)*Math.pow(2,s),d=0));s>=8;t[r+Q]=w&255,Q+=W,w/=256,s-=8);for(d=d<<s|w,x+=s;x>0;t[r+Q]=d&255,Q+=W,d/=256,x-=8);t[r+Q-W]|=st*128};/*!
|
|
2
|
-
* The buffer module from node.js, for the browser.
|
|
3
|
-
*
|
|
4
|
-
* @author Feross Aboukhadijeh <https://feross.org>
|
|
5
|
-
* @license MIT
|
|
6
|
-
*/(function(t){const e=Vr,r=vi,n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=p,t.SlowBuffer=ft,t.INSPECT_MAX_BYTES=50;const s=2147483647;t.kMaxLength=s;const{Uint8Array:o,ArrayBuffer:d,SharedArrayBuffer:w}=globalThis;p.TYPED_ARRAY_SUPPORT=_(),!p.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 _(){try{const m=new o(1),a={foo:function(){return 42}};return Object.setPrototypeOf(a,o.prototype),Object.setPrototypeOf(m,a),m.foo()===42}catch{return!1}}Object.defineProperty(p.prototype,"parent",{enumerable:!0,get:function(){if(p.isBuffer(this))return this.buffer}}),Object.defineProperty(p.prototype,"offset",{enumerable:!0,get:function(){if(p.isBuffer(this))return this.byteOffset}});function x(m){if(m>s)throw new RangeError('The value "'+m+'" is invalid for option "size"');const a=new o(m);return Object.setPrototypeOf(a,p.prototype),a}function p(m,a,f){if(typeof m=="number"){if(typeof a=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return W(m)}return C(m,a,f)}p.poolSize=8192;function C(m,a,f){if(typeof m=="string")return st(m,a);if(d.isView(m))return ct(m);if(m==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof m);if(It(m,d)||m&&It(m.buffer,d)||typeof w<"u"&&(It(m,w)||m&&It(m.buffer,w)))return nt(m,a,f);if(typeof m=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const M=m.valueOf&&m.valueOf();if(M!=null&&M!==m)return p.from(M,a,f);const N=at(m);if(N)return N;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof m[Symbol.toPrimitive]=="function")return p.from(m[Symbol.toPrimitive]("string"),a,f);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof m)}p.from=function(m,a,f){return C(m,a,f)},Object.setPrototypeOf(p.prototype,o.prototype),Object.setPrototypeOf(p,o);function k(m){if(typeof m!="number")throw new TypeError('"size" argument must be of type number');if(m<0)throw new RangeError('The value "'+m+'" is invalid for option "size"')}function Q(m,a,f){return k(m),m<=0?x(m):a!==void 0?typeof f=="string"?x(m).fill(a,f):x(m).fill(a):x(m)}p.alloc=function(m,a,f){return Q(m,a,f)};function W(m){return k(m),x(m<0?0:dt(m)|0)}p.allocUnsafe=function(m){return W(m)},p.allocUnsafeSlow=function(m){return W(m)};function st(m,a){if((typeof a!="string"||a==="")&&(a="utf8"),!p.isEncoding(a))throw new TypeError("Unknown encoding: "+a);const f=K(m,a)|0;let M=x(f);const N=M.write(m,a);return N!==f&&(M=M.slice(0,N)),M}function Z(m){const a=m.length<0?0:dt(m.length)|0,f=x(a);for(let M=0;M<a;M+=1)f[M]=m[M]&255;return f}function ct(m){if(It(m,o)){const a=new o(m);return nt(a.buffer,a.byteOffset,a.byteLength)}return Z(m)}function nt(m,a,f){if(a<0||m.byteLength<a)throw new RangeError('"offset" is outside of buffer bounds');if(m.byteLength<a+(f||0))throw new RangeError('"length" is outside of buffer bounds');let M;return a===void 0&&f===void 0?M=new o(m):f===void 0?M=new o(m,a):M=new o(m,a,f),Object.setPrototypeOf(M,p.prototype),M}function at(m){if(p.isBuffer(m)){const a=dt(m.length)|0,f=x(a);return f.length===0||m.copy(f,0,0,a),f}if(m.length!==void 0)return typeof m.length!="number"||_t(m.length)?x(0):Z(m);if(m.type==="Buffer"&&Array.isArray(m.data))return Z(m.data)}function dt(m){if(m>=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return m|0}function ft(m){return+m!=m&&(m=0),p.alloc(+m)}p.isBuffer=function(a){return a!=null&&a._isBuffer===!0&&a!==p.prototype},p.compare=function(a,f){if(It(a,o)&&(a=p.from(a,a.offset,a.byteLength)),It(f,o)&&(f=p.from(f,f.offset,f.byteLength)),!p.isBuffer(a)||!p.isBuffer(f))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(a===f)return 0;let M=a.length,N=f.length;for(let q=0,Y=Math.min(M,N);q<Y;++q)if(a[q]!==f[q]){M=a[q],N=f[q];break}return M<N?-1:N<M?1:0},p.isEncoding=function(a){switch(String(a).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},p.concat=function(a,f){if(!Array.isArray(a))throw new TypeError('"list" argument must be an Array of Buffers');if(a.length===0)return p.alloc(0);let M;if(f===void 0)for(f=0,M=0;M<a.length;++M)f+=a[M].length;const N=p.allocUnsafe(f);let q=0;for(M=0;M<a.length;++M){let Y=a[M];if(It(Y,o))q+Y.length>N.length?(p.isBuffer(Y)||(Y=p.from(Y)),Y.copy(N,q)):o.prototype.set.call(N,Y,q);else if(p.isBuffer(Y))Y.copy(N,q);else throw new TypeError('"list" argument must be an Array of Buffers');q+=Y.length}return N};function K(m,a){if(p.isBuffer(m))return m.length;if(d.isView(m)||It(m,d))return m.byteLength;if(typeof m!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof m);const f=m.length,M=arguments.length>2&&arguments[2]===!0;if(!M&&f===0)return 0;let N=!1;for(;;)switch(a){case"ascii":case"latin1":case"binary":return f;case"utf8":case"utf-8":return H(m).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return f*2;case"hex":return f>>>1;case"base64":return ht(m).length;default:if(N)return M?-1:H(m).length;a=(""+a).toLowerCase(),N=!0}}p.byteLength=K;function G(m,a,f){let M=!1;if((a===void 0||a<0)&&(a=0),a>this.length||((f===void 0||f>this.length)&&(f=this.length),f<=0)||(f>>>=0,a>>>=0,f<=a))return"";for(m||(m="utf8");;)switch(m){case"hex":return c(this,a,f);case"utf8":case"utf-8":return v(this,a,f);case"ascii":return I(this,a,f);case"latin1":case"binary":return S(this,a,f);case"base64":return g(this,a,f);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,a,f);default:if(M)throw new TypeError("Unknown encoding: "+m);m=(m+"").toLowerCase(),M=!0}}p.prototype._isBuffer=!0;function ut(m,a,f){const M=m[a];m[a]=m[f],m[f]=M}p.prototype.swap16=function(){const a=this.length;if(a%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let f=0;f<a;f+=2)ut(this,f,f+1);return this},p.prototype.swap32=function(){const a=this.length;if(a%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let f=0;f<a;f+=4)ut(this,f,f+3),ut(this,f+1,f+2);return this},p.prototype.swap64=function(){const a=this.length;if(a%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let f=0;f<a;f+=8)ut(this,f,f+7),ut(this,f+1,f+6),ut(this,f+2,f+5),ut(this,f+3,f+4);return this},p.prototype.toString=function(){const a=this.length;return a===0?"":arguments.length===0?v(this,0,a):G.apply(this,arguments)},p.prototype.toLocaleString=p.prototype.toString,p.prototype.equals=function(a){if(!p.isBuffer(a))throw new TypeError("Argument must be a Buffer");return this===a?!0:p.compare(this,a)===0},p.prototype.inspect=function(){let a="";const f=t.INSPECT_MAX_BYTES;return a=this.toString("hex",0,f).replace(/(.{2})/g,"$1 ").trim(),this.length>f&&(a+=" ... "),"<Buffer "+a+">"},n&&(p.prototype[n]=p.prototype.inspect),p.prototype.compare=function(a,f,M,N,q){if(It(a,o)&&(a=p.from(a,a.offset,a.byteLength)),!p.isBuffer(a))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof a);if(f===void 0&&(f=0),M===void 0&&(M=a?a.length:0),N===void 0&&(N=0),q===void 0&&(q=this.length),f<0||M>a.length||N<0||q>this.length)throw new RangeError("out of range index");if(N>=q&&f>=M)return 0;if(N>=q)return-1;if(f>=M)return 1;if(f>>>=0,M>>>=0,N>>>=0,q>>>=0,this===a)return 0;let Y=q-N,wt=M-f;const St=Math.min(Y,wt),Bt=this.slice(N,q),Ut=a.slice(f,M);for(let bt=0;bt<St;++bt)if(Bt[bt]!==Ut[bt]){Y=Bt[bt],wt=Ut[bt];break}return Y<wt?-1:wt<Y?1:0};function mt(m,a,f,M,N){if(m.length===0)return-1;if(typeof f=="string"?(M=f,f=0):f>2147483647?f=2147483647:f<-2147483648&&(f=-2147483648),f=+f,_t(f)&&(f=N?0:m.length-1),f<0&&(f=m.length+f),f>=m.length){if(N)return-1;f=m.length-1}else if(f<0)if(N)f=0;else return-1;if(typeof a=="string"&&(a=p.from(a,M)),p.isBuffer(a))return a.length===0?-1:it(m,a,f,M,N);if(typeof a=="number")return a=a&255,typeof o.prototype.indexOf=="function"?N?o.prototype.indexOf.call(m,a,f):o.prototype.lastIndexOf.call(m,a,f):it(m,[a],f,M,N);throw new TypeError("val must be string, number or Buffer")}function it(m,a,f,M,N){let q=1,Y=m.length,wt=a.length;if(M!==void 0&&(M=String(M).toLowerCase(),M==="ucs2"||M==="ucs-2"||M==="utf16le"||M==="utf-16le")){if(m.length<2||a.length<2)return-1;q=2,Y/=2,wt/=2,f/=2}function St(Ut,bt){return q===1?Ut[bt]:Ut.readUInt16BE(bt*q)}let Bt;if(N){let Ut=-1;for(Bt=f;Bt<Y;Bt++)if(St(m,Bt)===St(a,Ut===-1?0:Bt-Ut)){if(Ut===-1&&(Ut=Bt),Bt-Ut+1===wt)return Ut*q}else Ut!==-1&&(Bt-=Bt-Ut),Ut=-1}else for(f+wt>Y&&(f=Y-wt),Bt=f;Bt>=0;Bt--){let Ut=!0;for(let bt=0;bt<wt;bt++)if(St(m,Bt+bt)!==St(a,bt)){Ut=!1;break}if(Ut)return Bt}return-1}p.prototype.includes=function(a,f,M){return this.indexOf(a,f,M)!==-1},p.prototype.indexOf=function(a,f,M){return mt(this,a,f,M,!0)},p.prototype.lastIndexOf=function(a,f,M){return mt(this,a,f,M,!1)};function lt(m,a,f,M){f=Number(f)||0;const N=m.length-f;M?(M=Number(M),M>N&&(M=N)):M=N;const q=a.length;M>q/2&&(M=q/2);let Y;for(Y=0;Y<M;++Y){const wt=parseInt(a.substr(Y*2,2),16);if(_t(wt))return Y;m[f+Y]=wt}return Y}function P(m,a,f,M){return xt(H(a,m.length-f),m,f,M)}function T(m,a,f,M){return xt(ot(a),m,f,M)}function i(m,a,f,M){return xt(ht(a),m,f,M)}function h(m,a,f,M){return xt(gt(a,m.length-f),m,f,M)}p.prototype.write=function(a,f,M,N){if(f===void 0)N="utf8",M=this.length,f=0;else if(M===void 0&&typeof f=="string")N=f,M=this.length,f=0;else if(isFinite(f))f=f>>>0,isFinite(M)?(M=M>>>0,N===void 0&&(N="utf8")):(N=M,M=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const q=this.length-f;if((M===void 0||M>q)&&(M=q),a.length>0&&(M<0||f<0)||f>this.length)throw new RangeError("Attempt to write outside buffer bounds");N||(N="utf8");let Y=!1;for(;;)switch(N){case"hex":return lt(this,a,f,M);case"utf8":case"utf-8":return P(this,a,f,M);case"ascii":case"latin1":case"binary":return T(this,a,f,M);case"base64":return i(this,a,f,M);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return h(this,a,f,M);default:if(Y)throw new TypeError("Unknown encoding: "+N);N=(""+N).toLowerCase(),Y=!0}},p.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function g(m,a,f){return a===0&&f===m.length?e.fromByteArray(m):e.fromByteArray(m.slice(a,f))}function v(m,a,f){f=Math.min(m.length,f);const M=[];let N=a;for(;N<f;){const q=m[N];let Y=null,wt=q>239?4:q>223?3:q>191?2:1;if(N+wt<=f){let St,Bt,Ut,bt;switch(wt){case 1:q<128&&(Y=q);break;case 2:St=m[N+1],(St&192)===128&&(bt=(q&31)<<6|St&63,bt>127&&(Y=bt));break;case 3:St=m[N+1],Bt=m[N+2],(St&192)===128&&(Bt&192)===128&&(bt=(q&15)<<12|(St&63)<<6|Bt&63,bt>2047&&(bt<55296||bt>57343)&&(Y=bt));break;case 4:St=m[N+1],Bt=m[N+2],Ut=m[N+3],(St&192)===128&&(Bt&192)===128&&(Ut&192)===128&&(bt=(q&15)<<18|(St&63)<<12|(Bt&63)<<6|Ut&63,bt>65535&&bt<1114112&&(Y=bt))}}Y===null?(Y=65533,wt=1):Y>65535&&(Y-=65536,M.push(Y>>>10&1023|55296),Y=56320|Y&1023),M.push(Y),N+=wt}return F(M)}const b=4096;function F(m){const a=m.length;if(a<=b)return String.fromCharCode.apply(String,m);let f="",M=0;for(;M<a;)f+=String.fromCharCode.apply(String,m.slice(M,M+=b));return f}function I(m,a,f){let M="";f=Math.min(m.length,f);for(let N=a;N<f;++N)M+=String.fromCharCode(m[N]&127);return M}function S(m,a,f){let M="";f=Math.min(m.length,f);for(let N=a;N<f;++N)M+=String.fromCharCode(m[N]);return M}function c(m,a,f){const M=m.length;(!a||a<0)&&(a=0),(!f||f<0||f>M)&&(f=M);let N="";for(let q=a;q<f;++q)N+=vt[m[q]];return N}function O(m,a,f){const M=m.slice(a,f);let N="";for(let q=0;q<M.length-1;q+=2)N+=String.fromCharCode(M[q]+M[q+1]*256);return N}p.prototype.slice=function(a,f){const M=this.length;a=~~a,f=f===void 0?M:~~f,a<0?(a+=M,a<0&&(a=0)):a>M&&(a=M),f<0?(f+=M,f<0&&(f=0)):f>M&&(f=M),f<a&&(f=a);const N=this.subarray(a,f);return Object.setPrototypeOf(N,p.prototype),N};function z(m,a,f){if(m%1!==0||m<0)throw new RangeError("offset is not uint");if(m+a>f)throw new RangeError("Trying to access beyond buffer length")}p.prototype.readUintLE=p.prototype.readUIntLE=function(a,f,M){a=a>>>0,f=f>>>0,M||z(a,f,this.length);let N=this[a],q=1,Y=0;for(;++Y<f&&(q*=256);)N+=this[a+Y]*q;return N},p.prototype.readUintBE=p.prototype.readUIntBE=function(a,f,M){a=a>>>0,f=f>>>0,M||z(a,f,this.length);let N=this[a+--f],q=1;for(;f>0&&(q*=256);)N+=this[a+--f]*q;return N},p.prototype.readUint8=p.prototype.readUInt8=function(a,f){return a=a>>>0,f||z(a,1,this.length),this[a]},p.prototype.readUint16LE=p.prototype.readUInt16LE=function(a,f){return a=a>>>0,f||z(a,2,this.length),this[a]|this[a+1]<<8},p.prototype.readUint16BE=p.prototype.readUInt16BE=function(a,f){return a=a>>>0,f||z(a,2,this.length),this[a]<<8|this[a+1]},p.prototype.readUint32LE=p.prototype.readUInt32LE=function(a,f){return a=a>>>0,f||z(a,4,this.length),(this[a]|this[a+1]<<8|this[a+2]<<16)+this[a+3]*16777216},p.prototype.readUint32BE=p.prototype.readUInt32BE=function(a,f){return a=a>>>0,f||z(a,4,this.length),this[a]*16777216+(this[a+1]<<16|this[a+2]<<8|this[a+3])},p.prototype.readBigUInt64LE=Ct(function(a){a=a>>>0,tt(a,"offset");const f=this[a],M=this[a+7];(f===void 0||M===void 0)&&R(a,this.length-8);const N=f+this[++a]*2**8+this[++a]*2**16+this[++a]*2**24,q=this[++a]+this[++a]*2**8+this[++a]*2**16+M*2**24;return BigInt(N)+(BigInt(q)<<BigInt(32))}),p.prototype.readBigUInt64BE=Ct(function(a){a=a>>>0,tt(a,"offset");const f=this[a],M=this[a+7];(f===void 0||M===void 0)&&R(a,this.length-8);const N=f*2**24+this[++a]*2**16+this[++a]*2**8+this[++a],q=this[++a]*2**24+this[++a]*2**16+this[++a]*2**8+M;return(BigInt(N)<<BigInt(32))+BigInt(q)}),p.prototype.readIntLE=function(a,f,M){a=a>>>0,f=f>>>0,M||z(a,f,this.length);let N=this[a],q=1,Y=0;for(;++Y<f&&(q*=256);)N+=this[a+Y]*q;return q*=128,N>=q&&(N-=Math.pow(2,8*f)),N},p.prototype.readIntBE=function(a,f,M){a=a>>>0,f=f>>>0,M||z(a,f,this.length);let N=f,q=1,Y=this[a+--N];for(;N>0&&(q*=256);)Y+=this[a+--N]*q;return q*=128,Y>=q&&(Y-=Math.pow(2,8*f)),Y},p.prototype.readInt8=function(a,f){return a=a>>>0,f||z(a,1,this.length),this[a]&128?(255-this[a]+1)*-1:this[a]},p.prototype.readInt16LE=function(a,f){a=a>>>0,f||z(a,2,this.length);const M=this[a]|this[a+1]<<8;return M&32768?M|4294901760:M},p.prototype.readInt16BE=function(a,f){a=a>>>0,f||z(a,2,this.length);const M=this[a+1]|this[a]<<8;return M&32768?M|4294901760:M},p.prototype.readInt32LE=function(a,f){return a=a>>>0,f||z(a,4,this.length),this[a]|this[a+1]<<8|this[a+2]<<16|this[a+3]<<24},p.prototype.readInt32BE=function(a,f){return a=a>>>0,f||z(a,4,this.length),this[a]<<24|this[a+1]<<16|this[a+2]<<8|this[a+3]},p.prototype.readBigInt64LE=Ct(function(a){a=a>>>0,tt(a,"offset");const f=this[a],M=this[a+7];(f===void 0||M===void 0)&&R(a,this.length-8);const N=this[a+4]+this[a+5]*2**8+this[a+6]*2**16+(M<<24);return(BigInt(N)<<BigInt(32))+BigInt(f+this[++a]*2**8+this[++a]*2**16+this[++a]*2**24)}),p.prototype.readBigInt64BE=Ct(function(a){a=a>>>0,tt(a,"offset");const f=this[a],M=this[a+7];(f===void 0||M===void 0)&&R(a,this.length-8);const N=(f<<24)+this[++a]*2**16+this[++a]*2**8+this[++a];return(BigInt(N)<<BigInt(32))+BigInt(this[++a]*2**24+this[++a]*2**16+this[++a]*2**8+M)}),p.prototype.readFloatLE=function(a,f){return a=a>>>0,f||z(a,4,this.length),r.read(this,a,!0,23,4)},p.prototype.readFloatBE=function(a,f){return a=a>>>0,f||z(a,4,this.length),r.read(this,a,!1,23,4)},p.prototype.readDoubleLE=function(a,f){return a=a>>>0,f||z(a,8,this.length),r.read(this,a,!0,52,8)},p.prototype.readDoubleBE=function(a,f){return a=a>>>0,f||z(a,8,this.length),r.read(this,a,!1,52,8)};function pt(m,a,f,M,N,q){if(!p.isBuffer(m))throw new TypeError('"buffer" argument must be a Buffer instance');if(a>N||a<q)throw new RangeError('"value" argument is out of bounds');if(f+M>m.length)throw new RangeError("Index out of range")}p.prototype.writeUintLE=p.prototype.writeUIntLE=function(a,f,M,N){if(a=+a,f=f>>>0,M=M>>>0,!N){const wt=Math.pow(2,8*M)-1;pt(this,a,f,M,wt,0)}let q=1,Y=0;for(this[f]=a&255;++Y<M&&(q*=256);)this[f+Y]=a/q&255;return f+M},p.prototype.writeUintBE=p.prototype.writeUIntBE=function(a,f,M,N){if(a=+a,f=f>>>0,M=M>>>0,!N){const wt=Math.pow(2,8*M)-1;pt(this,a,f,M,wt,0)}let q=M-1,Y=1;for(this[f+q]=a&255;--q>=0&&(Y*=256);)this[f+q]=a/Y&255;return f+M},p.prototype.writeUint8=p.prototype.writeUInt8=function(a,f,M){return a=+a,f=f>>>0,M||pt(this,a,f,1,255,0),this[f]=a&255,f+1},p.prototype.writeUint16LE=p.prototype.writeUInt16LE=function(a,f,M){return a=+a,f=f>>>0,M||pt(this,a,f,2,65535,0),this[f]=a&255,this[f+1]=a>>>8,f+2},p.prototype.writeUint16BE=p.prototype.writeUInt16BE=function(a,f,M){return a=+a,f=f>>>0,M||pt(this,a,f,2,65535,0),this[f]=a>>>8,this[f+1]=a&255,f+2},p.prototype.writeUint32LE=p.prototype.writeUInt32LE=function(a,f,M){return a=+a,f=f>>>0,M||pt(this,a,f,4,4294967295,0),this[f+3]=a>>>24,this[f+2]=a>>>16,this[f+1]=a>>>8,this[f]=a&255,f+4},p.prototype.writeUint32BE=p.prototype.writeUInt32BE=function(a,f,M){return a=+a,f=f>>>0,M||pt(this,a,f,4,4294967295,0),this[f]=a>>>24,this[f+1]=a>>>16,this[f+2]=a>>>8,this[f+3]=a&255,f+4};function yt(m,a,f,M,N){j(a,M,N,m,f,7);let q=Number(a&BigInt(4294967295));m[f++]=q,q=q>>8,m[f++]=q,q=q>>8,m[f++]=q,q=q>>8,m[f++]=q;let Y=Number(a>>BigInt(32)&BigInt(4294967295));return m[f++]=Y,Y=Y>>8,m[f++]=Y,Y=Y>>8,m[f++]=Y,Y=Y>>8,m[f++]=Y,f}function Nt(m,a,f,M,N){j(a,M,N,m,f,7);let q=Number(a&BigInt(4294967295));m[f+7]=q,q=q>>8,m[f+6]=q,q=q>>8,m[f+5]=q,q=q>>8,m[f+4]=q;let Y=Number(a>>BigInt(32)&BigInt(4294967295));return m[f+3]=Y,Y=Y>>8,m[f+2]=Y,Y=Y>>8,m[f+1]=Y,Y=Y>>8,m[f]=Y,f+8}p.prototype.writeBigUInt64LE=Ct(function(a,f=0){return yt(this,a,f,BigInt(0),BigInt("0xffffffffffffffff"))}),p.prototype.writeBigUInt64BE=Ct(function(a,f=0){return Nt(this,a,f,BigInt(0),BigInt("0xffffffffffffffff"))}),p.prototype.writeIntLE=function(a,f,M,N){if(a=+a,f=f>>>0,!N){const St=Math.pow(2,8*M-1);pt(this,a,f,M,St-1,-St)}let q=0,Y=1,wt=0;for(this[f]=a&255;++q<M&&(Y*=256);)a<0&&wt===0&&this[f+q-1]!==0&&(wt=1),this[f+q]=(a/Y>>0)-wt&255;return f+M},p.prototype.writeIntBE=function(a,f,M,N){if(a=+a,f=f>>>0,!N){const St=Math.pow(2,8*M-1);pt(this,a,f,M,St-1,-St)}let q=M-1,Y=1,wt=0;for(this[f+q]=a&255;--q>=0&&(Y*=256);)a<0&&wt===0&&this[f+q+1]!==0&&(wt=1),this[f+q]=(a/Y>>0)-wt&255;return f+M},p.prototype.writeInt8=function(a,f,M){return a=+a,f=f>>>0,M||pt(this,a,f,1,127,-128),a<0&&(a=255+a+1),this[f]=a&255,f+1},p.prototype.writeInt16LE=function(a,f,M){return a=+a,f=f>>>0,M||pt(this,a,f,2,32767,-32768),this[f]=a&255,this[f+1]=a>>>8,f+2},p.prototype.writeInt16BE=function(a,f,M){return a=+a,f=f>>>0,M||pt(this,a,f,2,32767,-32768),this[f]=a>>>8,this[f+1]=a&255,f+2},p.prototype.writeInt32LE=function(a,f,M){return a=+a,f=f>>>0,M||pt(this,a,f,4,2147483647,-2147483648),this[f]=a&255,this[f+1]=a>>>8,this[f+2]=a>>>16,this[f+3]=a>>>24,f+4},p.prototype.writeInt32BE=function(a,f,M){return a=+a,f=f>>>0,M||pt(this,a,f,4,2147483647,-2147483648),a<0&&(a=4294967295+a+1),this[f]=a>>>24,this[f+1]=a>>>16,this[f+2]=a>>>8,this[f+3]=a&255,f+4},p.prototype.writeBigInt64LE=Ct(function(a,f=0){return yt(this,a,f,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),p.prototype.writeBigInt64BE=Ct(function(a,f=0){return Nt(this,a,f,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Et(m,a,f,M,N,q){if(f+M>m.length)throw new RangeError("Index out of range");if(f<0)throw new RangeError("Index out of range")}function At(m,a,f,M,N){return a=+a,f=f>>>0,N||Et(m,a,f,4),r.write(m,a,f,M,23,4),f+4}p.prototype.writeFloatLE=function(a,f,M){return At(this,a,f,!0,M)},p.prototype.writeFloatBE=function(a,f,M){return At(this,a,f,!1,M)};function E(m,a,f,M,N){return a=+a,f=f>>>0,N||Et(m,a,f,8),r.write(m,a,f,M,52,8),f+8}p.prototype.writeDoubleLE=function(a,f,M){return E(this,a,f,!0,M)},p.prototype.writeDoubleBE=function(a,f,M){return E(this,a,f,!1,M)},p.prototype.copy=function(a,f,M,N){if(!p.isBuffer(a))throw new TypeError("argument should be a Buffer");if(M||(M=0),!N&&N!==0&&(N=this.length),f>=a.length&&(f=a.length),f||(f=0),N>0&&N<M&&(N=M),N===M||a.length===0||this.length===0)return 0;if(f<0)throw new RangeError("targetStart out of bounds");if(M<0||M>=this.length)throw new RangeError("Index out of range");if(N<0)throw new RangeError("sourceEnd out of bounds");N>this.length&&(N=this.length),a.length-f<N-M&&(N=a.length-f+M);const q=N-M;return this===a&&typeof o.prototype.copyWithin=="function"?this.copyWithin(f,M,N):o.prototype.set.call(a,this.subarray(M,N),f),q},p.prototype.fill=function(a,f,M,N){if(typeof a=="string"){if(typeof f=="string"?(N=f,f=0,M=this.length):typeof M=="string"&&(N=M,M=this.length),N!==void 0&&typeof N!="string")throw new TypeError("encoding must be a string");if(typeof N=="string"&&!p.isEncoding(N))throw new TypeError("Unknown encoding: "+N);if(a.length===1){const Y=a.charCodeAt(0);(N==="utf8"&&Y<128||N==="latin1")&&(a=Y)}}else typeof a=="number"?a=a&255:typeof a=="boolean"&&(a=Number(a));if(f<0||this.length<f||this.length<M)throw new RangeError("Out of range index");if(M<=f)return this;f=f>>>0,M=M===void 0?this.length:M>>>0,a||(a=0);let q;if(typeof a=="number")for(q=f;q<M;++q)this[q]=a;else{const Y=p.isBuffer(a)?a:p.from(a,N),wt=Y.length;if(wt===0)throw new TypeError('The value "'+a+'" is invalid for argument "value"');for(q=0;q<M-f;++q)this[q+f]=Y[q%wt]}return this};const A={};function $(m,a,f){A[m]=class extends f{constructor(){super(),Object.defineProperty(this,"message",{value:a.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${m}]`,this.stack,delete this.name}get code(){return m}set code(N){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:N,writable:!0})}toString(){return`${this.name} [${m}]: ${this.message}`}}}$("ERR_BUFFER_OUT_OF_BOUNDS",function(m){return m?`${m} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),$("ERR_INVALID_ARG_TYPE",function(m,a){return`The "${m}" argument must be of type number. Received type ${typeof a}`},TypeError),$("ERR_OUT_OF_RANGE",function(m,a,f){let M=`The value of "${m}" is out of range.`,N=f;return Number.isInteger(f)&&Math.abs(f)>2**32?N=V(String(f)):typeof f=="bigint"&&(N=String(f),(f>BigInt(2)**BigInt(32)||f<-(BigInt(2)**BigInt(32)))&&(N=V(N)),N+="n"),M+=` It must be ${a}. Received ${N}`,M},RangeError);function V(m){let a="",f=m.length;const M=m[0]==="-"?1:0;for(;f>=M+4;f-=3)a=`_${m.slice(f-3,f)}${a}`;return`${m.slice(0,f)}${a}`}function U(m,a,f){tt(a,"offset"),(m[a]===void 0||m[a+f]===void 0)&&R(a,m.length-(f+1))}function j(m,a,f,M,N,q){if(m>f||m<a){const Y=typeof a=="bigint"?"n":"";let wt;throw a===0||a===BigInt(0)?wt=`>= 0${Y} and < 2${Y} ** ${(q+1)*8}${Y}`:wt=`>= -(2${Y} ** ${(q+1)*8-1}${Y}) and < 2 ** ${(q+1)*8-1}${Y}`,new A.ERR_OUT_OF_RANGE("value",wt,m)}U(M,N,q)}function tt(m,a){if(typeof m!="number")throw new A.ERR_INVALID_ARG_TYPE(a,"number",m)}function R(m,a,f){throw Math.floor(m)!==m?(tt(m,f),new A.ERR_OUT_OF_RANGE("offset","an integer",m)):a<0?new A.ERR_BUFFER_OUT_OF_BOUNDS:new A.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${a}`,m)}const L=/[^+/0-9A-Za-z-_]/g;function X(m){if(m=m.split("=")[0],m=m.trim().replace(L,""),m.length<2)return"";for(;m.length%4!==0;)m=m+"=";return m}function H(m,a){a=a||1/0;let f;const M=m.length;let N=null;const q=[];for(let Y=0;Y<M;++Y){if(f=m.charCodeAt(Y),f>55295&&f<57344){if(!N){if(f>56319){(a-=3)>-1&&q.push(239,191,189);continue}else if(Y+1===M){(a-=3)>-1&&q.push(239,191,189);continue}N=f;continue}if(f<56320){(a-=3)>-1&&q.push(239,191,189),N=f;continue}f=(N-55296<<10|f-56320)+65536}else N&&(a-=3)>-1&&q.push(239,191,189);if(N=null,f<128){if((a-=1)<0)break;q.push(f)}else if(f<2048){if((a-=2)<0)break;q.push(f>>6|192,f&63|128)}else if(f<65536){if((a-=3)<0)break;q.push(f>>12|224,f>>6&63|128,f&63|128)}else if(f<1114112){if((a-=4)<0)break;q.push(f>>18|240,f>>12&63|128,f>>6&63|128,f&63|128)}else throw new Error("Invalid code point")}return q}function ot(m){const a=[];for(let f=0;f<m.length;++f)a.push(m.charCodeAt(f)&255);return a}function gt(m,a){let f,M,N;const q=[];for(let Y=0;Y<m.length&&!((a-=2)<0);++Y)f=m.charCodeAt(Y),M=f>>8,N=f%256,q.push(N),q.push(M);return q}function ht(m){return e.toByteArray(X(m))}function xt(m,a,f,M){let N;for(N=0;N<M&&!(N+f>=a.length||N>=m.length);++N)a[N+f]=m[N];return N}function It(m,a){return m instanceof a||m!=null&&m.constructor!=null&&m.constructor.name!=null&&m.constructor.name===a.name}function _t(m){return m!==m}const vt=function(){const m="0123456789abcdef",a=new Array(256);for(let f=0;f<16;++f){const M=f*16;for(let N=0;N<16;++N)a[M+N]=m[f]+m[N]}return a}();function Ct(m){return typeof BigInt>"u"?Ot:m}function Ot(){throw new Error("BigInt not supported")}})(xi);const up=xi.Buffer,Ny=xi.Buffer;function Ft(t,e,r,n,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),n&&(this.request=n),s&&(this.response=s,this.status=s.status?s.status:null)}et.inherits(Ft,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:et.toJSONObject(this.config),code:this.code,status:this.status}}});const ea=Ft.prototype,ra={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{ra[t]={value:t}});Object.defineProperties(Ft,ra);Object.defineProperty(ea,"isAxiosError",{value:!0});Ft.from=(t,e,r,n,s,o)=>{const d=Object.create(ea);et.toFlatObject(t,d,function(p){return p!==Error.prototype},x=>x!=="isAxiosError");const w=t&&t.message?t.message:"Error",_=e==null&&t?t.code:e;return Ft.call(d,w,_,r,n,s),t&&d.cause==null&&Object.defineProperty(d,"cause",{value:t,configurable:!0}),d.name=t&&t.name||"Error",o&&Object.assign(d,o),d};const fp=null;function Vn(t){return et.isPlainObject(t)||et.isArray(t)}function na(t){return et.endsWith(t,"[]")?t.slice(0,-2):t}function ho(t,e,r){return t?t.concat(e).map(function(s,o){return s=na(s),!r&&o?"["+s+"]":s}).join(r?".":""):e}function lp(t){return et.isArray(t)&&!t.some(Vn)}const cp=et.toFlatObject(et,{},null,function(e){return/^is[A-Z]/.test(e)});function Kr(t,e,r){if(!et.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,r=et.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(st,Z){return!et.isUndefined(Z[st])});const n=r.metaTokens,s=r.visitor||p,o=r.dots,d=r.indexes,_=(r.Blob||typeof Blob<"u"&&Blob)&&et.isSpecCompliantForm(e);if(!et.isFunction(s))throw new TypeError("visitor must be a function");function x(W){if(W===null)return"";if(et.isDate(W))return W.toISOString();if(et.isBoolean(W))return W.toString();if(!_&&et.isBlob(W))throw new Ft("Blob is not supported. Use a Buffer instead.");return et.isArrayBuffer(W)||et.isTypedArray(W)?_&&typeof Blob=="function"?new Blob([W]):up.from(W):W}function p(W,st,Z){let ct=W;if(W&&!Z&&typeof W=="object"){if(et.endsWith(st,"{}"))st=n?st:st.slice(0,-2),W=JSON.stringify(W);else if(et.isArray(W)&&lp(W)||(et.isFileList(W)||et.endsWith(st,"[]"))&&(ct=et.toArray(W)))return st=na(st),ct.forEach(function(at,dt){!(et.isUndefined(at)||at===null)&&e.append(d===!0?ho([st],dt,o):d===null?st:st+"[]",x(at))}),!1}return Vn(W)?!0:(e.append(ho(Z,st,o),x(W)),!1)}const C=[],k=Object.assign(cp,{defaultVisitor:p,convertValue:x,isVisitable:Vn});function Q(W,st){if(!et.isUndefined(W)){if(C.indexOf(W)!==-1)throw Error("Circular reference detected in "+st.join("."));C.push(W),et.forEach(W,function(ct,nt){(!(et.isUndefined(ct)||ct===null)&&s.call(e,ct,et.isString(nt)?nt.trim():nt,st,k))===!0&&Q(ct,st?st.concat(nt):[nt])}),C.pop()}}if(!et.isObject(t))throw new TypeError("data must be an object");return Q(t),e}function po(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(n){return e[n]})}function bi(t,e){this._pairs=[],t&&Kr(t,this,e)}const ia=bi.prototype;ia.append=function(e,r){this._pairs.push([e,r])};ia.toString=function(e){const r=e?function(n){return e.call(this,n,po)}:po;return this._pairs.map(function(s){return r(s[0])+"="+r(s[1])},"").join("&")};function hp(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function oa(t,e,r){if(!e)return t;const n=r&&r.encode||hp;et.isFunction(r)&&(r={serialize:r});const s=r&&r.serialize;let o;if(s?o=s(e,r):o=et.isURLSearchParams(e)?e.toString():new bi(e,r).toString(n),o){const d=t.indexOf("#");d!==-1&&(t=t.slice(0,d)),t+=(t.indexOf("?")===-1?"?":"&")+o}return t}class go{constructor(){this.handlers=[]}use(e,r,n){return this.handlers.push({fulfilled:e,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){et.forEach(this.handlers,function(n){n!==null&&e(n)})}}const sa={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},dp=typeof URLSearchParams<"u"?URLSearchParams:bi,pp=typeof FormData<"u"?FormData:null,gp=typeof Blob<"u"?Blob:null,mp={isBrowser:!0,classes:{URLSearchParams:dp,FormData:pp,Blob:gp},protocols:["http","https","file","blob","url","data"]},Ei=typeof window<"u"&&typeof document<"u",Kn=typeof navigator=="object"&&navigator||void 0,yp=Ei&&(!Kn||["ReactNative","NativeScript","NS"].indexOf(Kn.product)<0),wp=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",xp=Ei&&window.location.href||"http://localhost",vp=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ei,hasStandardBrowserEnv:yp,hasStandardBrowserWebWorkerEnv:wp,navigator:Kn,origin:xp},Symbol.toStringTag,{value:"Module"})),Xt={...vp,...mp};function bp(t,e){return Kr(t,new Xt.classes.URLSearchParams,{visitor:function(r,n,s,o){return Xt.isNode&&et.isBuffer(r)?(this.append(n,r.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)},...e})}function Ep(t){return et.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function Mp(t){const e={},r=Object.keys(t);let n;const s=r.length;let o;for(n=0;n<s;n++)o=r[n],e[o]=t[o];return e}function aa(t){function e(r,n,s,o){let d=r[o++];if(d==="__proto__")return!0;const w=Number.isFinite(+d),_=o>=r.length;return d=!d&&et.isArray(s)?s.length:d,_?(et.hasOwnProp(s,d)?s[d]=[s[d],n]:s[d]=n,!w):((!s[d]||!et.isObject(s[d]))&&(s[d]=[]),e(r,n,s[d],o)&&et.isArray(s[d])&&(s[d]=Mp(s[d])),!w)}if(et.isFormData(t)&&et.isFunction(t.entries)){const r={};return et.forEachEntry(t,(n,s)=>{e(Ep(n),s,r,0)}),r}return null}function _p(t,e,r){if(et.isString(t))try{return(e||JSON.parse)(t),et.trim(t)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(t)}const mr={transitional:sa,adapter:["xhr","http","fetch"],transformRequest:[function(e,r){const n=r.getContentType()||"",s=n.indexOf("application/json")>-1,o=et.isObject(e);if(o&&et.isHTMLForm(e)&&(e=new FormData(e)),et.isFormData(e))return s?JSON.stringify(aa(e)):e;if(et.isArrayBuffer(e)||et.isBuffer(e)||et.isStream(e)||et.isFile(e)||et.isBlob(e)||et.isReadableStream(e))return e;if(et.isArrayBufferView(e))return e.buffer;if(et.isURLSearchParams(e))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let w;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return bp(e,this.formSerializer).toString();if((w=et.isFileList(e))||n.indexOf("multipart/form-data")>-1){const _=this.env&&this.env.FormData;return Kr(w?{"files[]":e}:e,_&&new _,this.formSerializer)}}return o||s?(r.setContentType("application/json",!1),_p(e)):e}],transformResponse:[function(e){const r=this.transitional||mr.transitional,n=r&&r.forcedJSONParsing,s=this.responseType==="json";if(et.isResponse(e)||et.isReadableStream(e))return e;if(e&&et.isString(e)&&(n&&!this.responseType||s)){const d=!(r&&r.silentJSONParsing)&&s;try{return JSON.parse(e,this.parseReviver)}catch(w){if(d)throw w.name==="SyntaxError"?Ft.from(w,Ft.ERR_BAD_RESPONSE,this,null,this.response):w}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Xt.classes.FormData,Blob:Xt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};et.forEach(["delete","get","head","post","put","patch"],t=>{mr.headers[t]={}});const Sp=et.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Bp=t=>{const e={};let r,n,s;return t&&t.split(`
|
|
7
|
-
`).forEach(function(d){s=d.indexOf(":"),r=d.substring(0,s).trim().toLowerCase(),n=d.substring(s+1).trim(),!(!r||e[r]&&Sp[r])&&(r==="set-cookie"?e[r]?e[r].push(n):e[r]=[n]:e[r]=e[r]?e[r]+", "+n:n)}),e},mo=Symbol("internals");function er(t){return t&&String(t).trim().toLowerCase()}function Br(t){return t===!1||t==null?t:et.isArray(t)?t.map(Br):String(t)}function Ap(t){const e=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(t);)e[n[1]]=n[2];return e}const Op=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Sn(t,e,r,n,s){if(et.isFunction(n))return n.call(this,e,r);if(s&&(e=r),!!et.isString(e)){if(et.isString(n))return e.indexOf(n)!==-1;if(et.isRegExp(n))return n.test(e)}}function Tp(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,r,n)=>r.toUpperCase()+n)}function Cp(t,e){const r=et.toCamelCase(" "+e);["get","set","has"].forEach(n=>{Object.defineProperty(t,n+r,{value:function(s,o,d){return this[n].call(this,e,s,o,d)},configurable:!0})})}let te=class{constructor(e){e&&this.set(e)}set(e,r,n){const s=this;function o(w,_,x){const p=er(_);if(!p)throw new Error("header name must be a non-empty string");const C=et.findKey(s,p);(!C||s[C]===void 0||x===!0||x===void 0&&s[C]!==!1)&&(s[C||_]=Br(w))}const d=(w,_)=>et.forEach(w,(x,p)=>o(x,p,_));if(et.isPlainObject(e)||e instanceof this.constructor)d(e,r);else if(et.isString(e)&&(e=e.trim())&&!Op(e))d(Bp(e),r);else if(et.isObject(e)&&et.isIterable(e)){let w={},_,x;for(const p of e){if(!et.isArray(p))throw TypeError("Object iterator must return a key-value pair");w[x=p[0]]=(_=w[x])?et.isArray(_)?[..._,p[1]]:[_,p[1]]:p[1]}d(w,r)}else e!=null&&o(r,e,n);return this}get(e,r){if(e=er(e),e){const n=et.findKey(this,e);if(n){const s=this[n];if(!r)return s;if(r===!0)return Ap(s);if(et.isFunction(r))return r.call(this,s,n);if(et.isRegExp(r))return r.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,r){if(e=er(e),e){const n=et.findKey(this,e);return!!(n&&this[n]!==void 0&&(!r||Sn(this,this[n],n,r)))}return!1}delete(e,r){const n=this;let s=!1;function o(d){if(d=er(d),d){const w=et.findKey(n,d);w&&(!r||Sn(n,n[w],w,r))&&(delete n[w],s=!0)}}return et.isArray(e)?e.forEach(o):o(e),s}clear(e){const r=Object.keys(this);let n=r.length,s=!1;for(;n--;){const o=r[n];(!e||Sn(this,this[o],o,e,!0))&&(delete this[o],s=!0)}return s}normalize(e){const r=this,n={};return et.forEach(this,(s,o)=>{const d=et.findKey(n,o);if(d){r[d]=Br(s),delete r[o];return}const w=e?Tp(o):String(o).trim();w!==o&&delete r[o],r[w]=Br(s),n[w]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const r=Object.create(null);return et.forEach(this,(n,s)=>{n!=null&&n!==!1&&(r[s]=e&&et.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,r])=>e+": "+r).join(`
|
|
8
|
-
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...r){const n=new this(e);return r.forEach(s=>n.set(s)),n}static accessor(e){const n=(this[mo]=this[mo]={accessors:{}}).accessors,s=this.prototype;function o(d){const w=er(d);n[w]||(Cp(s,d),n[w]=!0)}return et.isArray(e)?e.forEach(o):o(e),this}};te.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);et.reduceDescriptors(te.prototype,({value:t},e)=>{let r=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(n){this[r]=n}}});et.freezeMethods(te);function Bn(t,e){const r=this||mr,n=e||r,s=te.from(n.headers);let o=n.data;return et.forEach(t,function(w){o=w.call(r,o,s.normalize(),e?e.status:void 0)}),s.normalize(),o}function ua(t){return!!(t&&t.__CANCEL__)}function Qe(t,e,r){Ft.call(this,t??"canceled",Ft.ERR_CANCELED,e,r),this.name="CanceledError"}et.inherits(Qe,Ft,{__CANCEL__:!0});function fa(t,e,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?t(r):e(new Ft("Request failed with status code "+r.status,[Ft.ERR_BAD_REQUEST,Ft.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function $p(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function Fp(t,e){t=t||10;const r=new Array(t),n=new Array(t);let s=0,o=0,d;return e=e!==void 0?e:1e3,function(_){const x=Date.now(),p=n[o];d||(d=x),r[s]=_,n[s]=x;let C=o,k=0;for(;C!==s;)k+=r[C++],C=C%t;if(s=(s+1)%t,s===o&&(o=(o+1)%t),x-d<e)return;const Q=p&&x-p;return Q?Math.round(k*1e3/Q):void 0}}function Rp(t,e){let r=0,n=1e3/e,s,o;const d=(x,p=Date.now())=>{r=p,s=null,o&&(clearTimeout(o),o=null),t(...x)};return[(...x)=>{const p=Date.now(),C=p-r;C>=n?d(x,p):(s=x,o||(o=setTimeout(()=>{o=null,d(s)},n-C)))},()=>s&&d(s)]}const Fr=(t,e,r=3)=>{let n=0;const s=Fp(50,250);return Rp(o=>{const d=o.loaded,w=o.lengthComputable?o.total:void 0,_=d-n,x=s(_),p=d<=w;n=d;const C={loaded:d,total:w,progress:w?d/w:void 0,bytes:_,rate:x||void 0,estimated:x&&w&&p?(w-d)/x:void 0,event:o,lengthComputable:w!=null,[e?"download":"upload"]:!0};t(C)},r)},yo=(t,e)=>{const r=t!=null;return[n=>e[0]({lengthComputable:r,total:t,loaded:n}),e[1]]},wo=t=>(...e)=>et.asap(()=>t(...e)),Ip=Xt.hasStandardBrowserEnv?((t,e)=>r=>(r=new URL(r,Xt.origin),t.protocol===r.protocol&&t.host===r.host&&(e||t.port===r.port)))(new URL(Xt.origin),Xt.navigator&&/(msie|trident)/i.test(Xt.navigator.userAgent)):()=>!0,Np=Xt.hasStandardBrowserEnv?{write(t,e,r,n,s,o,d){if(typeof document>"u")return;const w=[`${t}=${encodeURIComponent(e)}`];et.isNumber(r)&&w.push(`expires=${new Date(r).toUTCString()}`),et.isString(n)&&w.push(`path=${n}`),et.isString(s)&&w.push(`domain=${s}`),o===!0&&w.push("secure"),et.isString(d)&&w.push(`SameSite=${d}`),document.cookie=w.join("; ")},read(t){if(typeof document>"u")return null;const e=document.cookie.match(new RegExp("(?:^|; )"+t+"=([^;]*)"));return e?decodeURIComponent(e[1]):null},remove(t){this.write(t,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function Up(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function Lp(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function la(t,e,r){let n=!Up(e);return t&&(n||r==!1)?Lp(t,e):e}const xo=t=>t instanceof te?{...t}:t;function Fe(t,e){e=e||{};const r={};function n(x,p,C,k){return et.isPlainObject(x)&&et.isPlainObject(p)?et.merge.call({caseless:k},x,p):et.isPlainObject(p)?et.merge({},p):et.isArray(p)?p.slice():p}function s(x,p,C,k){if(et.isUndefined(p)){if(!et.isUndefined(x))return n(void 0,x,C,k)}else return n(x,p,C,k)}function o(x,p){if(!et.isUndefined(p))return n(void 0,p)}function d(x,p){if(et.isUndefined(p)){if(!et.isUndefined(x))return n(void 0,x)}else return n(void 0,p)}function w(x,p,C){if(C in e)return n(x,p);if(C in t)return n(void 0,x)}const _={url:o,method:o,data:o,baseURL:d,transformRequest:d,transformResponse:d,paramsSerializer:d,timeout:d,timeoutMessage:d,withCredentials:d,withXSRFToken:d,adapter:d,responseType:d,xsrfCookieName:d,xsrfHeaderName:d,onUploadProgress:d,onDownloadProgress:d,decompress:d,maxContentLength:d,maxBodyLength:d,beforeRedirect:d,transport:d,httpAgent:d,httpsAgent:d,cancelToken:d,socketPath:d,responseEncoding:d,validateStatus:w,headers:(x,p,C)=>s(xo(x),xo(p),C,!0)};return et.forEach(Object.keys({...t,...e}),function(p){const C=_[p]||s,k=C(t[p],e[p],p);et.isUndefined(k)&&C!==w||(r[p]=k)}),r}const ca=t=>{const e=Fe({},t);let{data:r,withXSRFToken:n,xsrfHeaderName:s,xsrfCookieName:o,headers:d,auth:w}=e;if(e.headers=d=te.from(d),e.url=oa(la(e.baseURL,e.url,e.allowAbsoluteUrls),t.params,t.paramsSerializer),w&&d.set("Authorization","Basic "+btoa((w.username||"")+":"+(w.password?unescape(encodeURIComponent(w.password)):""))),et.isFormData(r)){if(Xt.hasStandardBrowserEnv||Xt.hasStandardBrowserWebWorkerEnv)d.setContentType(void 0);else if(et.isFunction(r.getHeaders)){const _=r.getHeaders(),x=["content-type","content-length"];Object.entries(_).forEach(([p,C])=>{x.includes(p.toLowerCase())&&d.set(p,C)})}}if(Xt.hasStandardBrowserEnv&&(n&&et.isFunction(n)&&(n=n(e)),n||n!==!1&&Ip(e.url))){const _=s&&o&&Np.read(o);_&&d.set(s,_)}return e},Pp=typeof XMLHttpRequest<"u",Dp=Pp&&function(t){return new Promise(function(r,n){const s=ca(t);let o=s.data;const d=te.from(s.headers).normalize();let{responseType:w,onUploadProgress:_,onDownloadProgress:x}=s,p,C,k,Q,W;function st(){Q&&Q(),W&&W(),s.cancelToken&&s.cancelToken.unsubscribe(p),s.signal&&s.signal.removeEventListener("abort",p)}let Z=new XMLHttpRequest;Z.open(s.method.toUpperCase(),s.url,!0),Z.timeout=s.timeout;function ct(){if(!Z)return;const at=te.from("getAllResponseHeaders"in Z&&Z.getAllResponseHeaders()),ft={data:!w||w==="text"||w==="json"?Z.responseText:Z.response,status:Z.status,statusText:Z.statusText,headers:at,config:t,request:Z};fa(function(G){r(G),st()},function(G){n(G),st()},ft),Z=null}"onloadend"in Z?Z.onloadend=ct:Z.onreadystatechange=function(){!Z||Z.readyState!==4||Z.status===0&&!(Z.responseURL&&Z.responseURL.indexOf("file:")===0)||setTimeout(ct)},Z.onabort=function(){Z&&(n(new Ft("Request aborted",Ft.ECONNABORTED,t,Z)),Z=null)},Z.onerror=function(dt){const ft=dt&&dt.message?dt.message:"Network Error",K=new Ft(ft,Ft.ERR_NETWORK,t,Z);K.event=dt||null,n(K),Z=null},Z.ontimeout=function(){let dt=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const ft=s.transitional||sa;s.timeoutErrorMessage&&(dt=s.timeoutErrorMessage),n(new Ft(dt,ft.clarifyTimeoutError?Ft.ETIMEDOUT:Ft.ECONNABORTED,t,Z)),Z=null},o===void 0&&d.setContentType(null),"setRequestHeader"in Z&&et.forEach(d.toJSON(),function(dt,ft){Z.setRequestHeader(ft,dt)}),et.isUndefined(s.withCredentials)||(Z.withCredentials=!!s.withCredentials),w&&w!=="json"&&(Z.responseType=s.responseType),x&&([k,W]=Fr(x,!0),Z.addEventListener("progress",k)),_&&Z.upload&&([C,Q]=Fr(_),Z.upload.addEventListener("progress",C),Z.upload.addEventListener("loadend",Q)),(s.cancelToken||s.signal)&&(p=at=>{Z&&(n(!at||at.type?new Qe(null,t,Z):at),Z.abort(),Z=null)},s.cancelToken&&s.cancelToken.subscribe(p),s.signal&&(s.signal.aborted?p():s.signal.addEventListener("abort",p)));const nt=$p(s.url);if(nt&&Xt.protocols.indexOf(nt)===-1){n(new Ft("Unsupported protocol "+nt+":",Ft.ERR_BAD_REQUEST,t));return}Z.send(o||null)})},jp=(t,e)=>{const{length:r}=t=t?t.filter(Boolean):[];if(e||r){let n=new AbortController,s;const o=function(x){if(!s){s=!0,w();const p=x instanceof Error?x:this.reason;n.abort(p instanceof Ft?p:new Qe(p instanceof Error?p.message:p))}};let d=e&&setTimeout(()=>{d=null,o(new Ft(`timeout ${e} of ms exceeded`,Ft.ETIMEDOUT))},e);const w=()=>{t&&(d&&clearTimeout(d),d=null,t.forEach(x=>{x.unsubscribe?x.unsubscribe(o):x.removeEventListener("abort",o)}),t=null)};t.forEach(x=>x.addEventListener("abort",o));const{signal:_}=n;return _.unsubscribe=()=>et.asap(w),_}},kp=function*(t,e){let r=t.byteLength;if(r<e){yield t;return}let n=0,s;for(;n<r;)s=n+e,yield t.slice(n,s),n=s},qp=async function*(t,e){for await(const r of Hp(t))yield*kp(r,e)},Hp=async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}const e=t.getReader();try{for(;;){const{done:r,value:n}=await e.read();if(r)break;yield n}}finally{await e.cancel()}},vo=(t,e,r,n)=>{const s=qp(t,e);let o=0,d,w=_=>{d||(d=!0,n&&n(_))};return new ReadableStream({async pull(_){try{const{done:x,value:p}=await s.next();if(x){w(),_.close();return}let C=p.byteLength;if(r){let k=o+=C;r(k)}_.enqueue(new Uint8Array(p))}catch(x){throw w(x),x}},cancel(_){return w(_),s.return()}},{highWaterMark:2})},bo=64*1024,{isFunction:vr}=et,zp=(({Request:t,Response:e})=>({Request:t,Response:e}))(et.global),{ReadableStream:Eo,TextEncoder:Mo}=et.global,_o=(t,...e)=>{try{return!!t(...e)}catch{return!1}},Gp=t=>{t=et.merge.call({skipUndefined:!0},zp,t);const{fetch:e,Request:r,Response:n}=t,s=e?vr(e):typeof fetch=="function",o=vr(r),d=vr(n);if(!s)return!1;const w=s&&vr(Eo),_=s&&(typeof Mo=="function"?(W=>st=>W.encode(st))(new Mo):async W=>new Uint8Array(await new r(W).arrayBuffer())),x=o&&w&&_o(()=>{let W=!1;const st=new r(Xt.origin,{body:new Eo,method:"POST",get duplex(){return W=!0,"half"}}).headers.has("Content-Type");return W&&!st}),p=d&&w&&_o(()=>et.isReadableStream(new n("").body)),C={stream:p&&(W=>W.body)};s&&["text","arrayBuffer","blob","formData","stream"].forEach(W=>{!C[W]&&(C[W]=(st,Z)=>{let ct=st&&st[W];if(ct)return ct.call(st);throw new Ft(`Response type '${W}' is not supported`,Ft.ERR_NOT_SUPPORT,Z)})});const k=async W=>{if(W==null)return 0;if(et.isBlob(W))return W.size;if(et.isSpecCompliantForm(W))return(await new r(Xt.origin,{method:"POST",body:W}).arrayBuffer()).byteLength;if(et.isArrayBufferView(W)||et.isArrayBuffer(W))return W.byteLength;if(et.isURLSearchParams(W)&&(W=W+""),et.isString(W))return(await _(W)).byteLength},Q=async(W,st)=>{const Z=et.toFiniteNumber(W.getContentLength());return Z??k(st)};return async W=>{let{url:st,method:Z,data:ct,signal:nt,cancelToken:at,timeout:dt,onDownloadProgress:ft,onUploadProgress:K,responseType:G,headers:ut,withCredentials:mt="same-origin",fetchOptions:it}=ca(W),lt=e||fetch;G=G?(G+"").toLowerCase():"text";let P=jp([nt,at&&at.toAbortSignal()],dt),T=null;const i=P&&P.unsubscribe&&(()=>{P.unsubscribe()});let h;try{if(K&&x&&Z!=="get"&&Z!=="head"&&(h=await Q(ut,ct))!==0){let S=new r(st,{method:"POST",body:ct,duplex:"half"}),c;if(et.isFormData(ct)&&(c=S.headers.get("content-type"))&&ut.setContentType(c),S.body){const[O,z]=yo(h,Fr(wo(K)));ct=vo(S.body,bo,O,z)}}et.isString(mt)||(mt=mt?"include":"omit");const g=o&&"credentials"in r.prototype,v={...it,signal:P,method:Z.toUpperCase(),headers:ut.normalize().toJSON(),body:ct,duplex:"half",credentials:g?mt:void 0};T=o&&new r(st,v);let b=await(o?lt(T,it):lt(st,v));const F=p&&(G==="stream"||G==="response");if(p&&(ft||F&&i)){const S={};["status","statusText","headers"].forEach(pt=>{S[pt]=b[pt]});const c=et.toFiniteNumber(b.headers.get("content-length")),[O,z]=ft&&yo(c,Fr(wo(ft),!0))||[];b=new n(vo(b.body,bo,O,()=>{z&&z(),i&&i()}),S)}G=G||"text";let I=await C[et.findKey(C,G)||"text"](b,W);return!F&&i&&i(),await new Promise((S,c)=>{fa(S,c,{data:I,headers:te.from(b.headers),status:b.status,statusText:b.statusText,config:W,request:T})})}catch(g){throw i&&i(),g&&g.name==="TypeError"&&/Load failed|fetch/i.test(g.message)?Object.assign(new Ft("Network Error",Ft.ERR_NETWORK,W,T),{cause:g.cause||g}):Ft.from(g,g&&g.code,W,T)}}},Wp=new Map,ha=t=>{let e=t&&t.env||{};const{fetch:r,Request:n,Response:s}=e,o=[n,s,r];let d=o.length,w=d,_,x,p=Wp;for(;w--;)_=o[w],x=p.get(_),x===void 0&&p.set(_,x=w?new Map:Gp(e)),p=x;return x};ha();const Mi={http:fp,xhr:Dp,fetch:{get:ha}};et.forEach(Mi,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const So=t=>`- ${t}`,Zp=t=>et.isFunction(t)||t===null||t===!1;function Jp(t,e){t=et.isArray(t)?t:[t];const{length:r}=t;let n,s;const o={};for(let d=0;d<r;d++){n=t[d];let w;if(s=n,!Zp(n)&&(s=Mi[(w=String(n)).toLowerCase()],s===void 0))throw new Ft(`Unknown adapter '${w}'`);if(s&&(et.isFunction(s)||(s=s.get(e))))break;o[w||"#"+d]=s}if(!s){const d=Object.entries(o).map(([_,x])=>`adapter ${_} `+(x===!1?"is not supported by the environment":"is not available in the build"));let w=r?d.length>1?`since :
|
|
9
|
-
`+d.map(So).join(`
|
|
10
|
-
`):" "+So(d[0]):"as no adapter specified";throw new Ft("There is no suitable adapter to dispatch the request "+w,"ERR_NOT_SUPPORT")}return s}const da={getAdapter:Jp,adapters:Mi};function An(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Qe(null,t)}function Bo(t){return An(t),t.headers=te.from(t.headers),t.data=Bn.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),da.getAdapter(t.adapter||mr.adapter,t)(t).then(function(n){return An(t),n.data=Bn.call(t,t.transformResponse,n),n.headers=te.from(n.headers),n},function(n){return ua(n)||(An(t),n&&n.response&&(n.response.data=Bn.call(t,t.transformResponse,n.response),n.response.headers=te.from(n.response.headers))),Promise.reject(n)})}const pa="1.13.2",Yr={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Yr[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}});const Ao={};Yr.transitional=function(e,r,n){function s(o,d){return"[Axios v"+pa+"] Transitional option '"+o+"'"+d+(n?". "+n:"")}return(o,d,w)=>{if(e===!1)throw new Ft(s(d," has been removed"+(r?" in "+r:"")),Ft.ERR_DEPRECATED);return r&&!Ao[d]&&(Ao[d]=!0,console.warn(s(d," has been deprecated since v"+r+" and will be removed in the near future"))),e?e(o,d,w):!0}};Yr.spelling=function(e){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};function Vp(t,e,r){if(typeof t!="object")throw new Ft("options must be an object",Ft.ERR_BAD_OPTION_VALUE);const n=Object.keys(t);let s=n.length;for(;s-- >0;){const o=n[s],d=e[o];if(d){const w=t[o],_=w===void 0||d(w,o,t);if(_!==!0)throw new Ft("option "+o+" must be "+_,Ft.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new Ft("Unknown option "+o,Ft.ERR_BAD_OPTION)}}const Ar={assertOptions:Vp,validators:Yr},pe=Ar.validators;let Oe=class{constructor(e){this.defaults=e||{},this.interceptors={request:new go,response:new go}}async request(e,r){try{return await this._request(e,r)}catch(n){if(n instanceof Error){let s={};Error.captureStackTrace?Error.captureStackTrace(s):s=new Error;const o=s.stack?s.stack.replace(/^.+\n/,""):"";try{n.stack?o&&!String(n.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(n.stack+=`
|
|
11
|
-
`+o):n.stack=o}catch{}}throw n}}_request(e,r){typeof e=="string"?(r=r||{},r.url=e):r=e||{},r=Fe(this.defaults,r);const{transitional:n,paramsSerializer:s,headers:o}=r;n!==void 0&&Ar.assertOptions(n,{silentJSONParsing:pe.transitional(pe.boolean),forcedJSONParsing:pe.transitional(pe.boolean),clarifyTimeoutError:pe.transitional(pe.boolean)},!1),s!=null&&(et.isFunction(s)?r.paramsSerializer={serialize:s}:Ar.assertOptions(s,{encode:pe.function,serialize:pe.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),Ar.assertOptions(r,{baseUrl:pe.spelling("baseURL"),withXsrfToken:pe.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let d=o&&et.merge(o.common,o[r.method]);o&&et.forEach(["delete","get","head","post","put","patch","common"],W=>{delete o[W]}),r.headers=te.concat(d,o);const w=[];let _=!0;this.interceptors.request.forEach(function(st){typeof st.runWhen=="function"&&st.runWhen(r)===!1||(_=_&&st.synchronous,w.unshift(st.fulfilled,st.rejected))});const x=[];this.interceptors.response.forEach(function(st){x.push(st.fulfilled,st.rejected)});let p,C=0,k;if(!_){const W=[Bo.bind(this),void 0];for(W.unshift(...w),W.push(...x),k=W.length,p=Promise.resolve(r);C<k;)p=p.then(W[C++],W[C++]);return p}k=w.length;let Q=r;for(;C<k;){const W=w[C++],st=w[C++];try{Q=W(Q)}catch(Z){st.call(this,Z);break}}try{p=Bo.call(this,Q)}catch(W){return Promise.reject(W)}for(C=0,k=x.length;C<k;)p=p.then(x[C++],x[C++]);return p}getUri(e){e=Fe(this.defaults,e);const r=la(e.baseURL,e.url,e.allowAbsoluteUrls);return oa(r,e.params,e.paramsSerializer)}};et.forEach(["delete","get","head","options"],function(e){Oe.prototype[e]=function(r,n){return this.request(Fe(n||{},{method:e,url:r,data:(n||{}).data}))}});et.forEach(["post","put","patch"],function(e){function r(n){return function(o,d,w){return this.request(Fe(w||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:o,data:d}))}}Oe.prototype[e]=r(),Oe.prototype[e+"Form"]=r(!0)});let Kp=class ga{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(o){r=o});const n=this;this.promise.then(s=>{if(!n._listeners)return;let o=n._listeners.length;for(;o-- >0;)n._listeners[o](s);n._listeners=null}),this.promise.then=s=>{let o;const d=new Promise(w=>{n.subscribe(w),o=w}).then(s);return d.cancel=function(){n.unsubscribe(o)},d},e(function(o,d,w){n.reason||(n.reason=new Qe(o,d,w),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const r=this._listeners.indexOf(e);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const e=new AbortController,r=n=>{e.abort(n)};return this.subscribe(r),e.signal.unsubscribe=()=>this.unsubscribe(r),e.signal}static source(){let e;return{token:new ga(function(s){e=s}),cancel:e}}};function Yp(t){return function(r){return t.apply(null,r)}}function Xp(t){return et.isObject(t)&&t.isAxiosError===!0}const Yn={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,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Yn).forEach(([t,e])=>{Yn[e]=t});function ma(t){const e=new Oe(t),r=Ws(Oe.prototype.request,e);return et.extend(r,Oe.prototype,e,{allOwnKeys:!0}),et.extend(r,e,null,{allOwnKeys:!0}),r.create=function(s){return ma(Fe(t,s))},r}const Vt=ma(mr);Vt.Axios=Oe;Vt.CanceledError=Qe;Vt.CancelToken=Kp;Vt.isCancel=ua;Vt.VERSION=pa;Vt.toFormData=Kr;Vt.AxiosError=Ft;Vt.Cancel=Vt.CanceledError;Vt.all=function(e){return Promise.all(e)};Vt.spread=Yp;Vt.isAxiosError=Xp;Vt.mergeConfig=Fe;Vt.AxiosHeaders=te;Vt.formToJSON=t=>aa(et.isHTMLForm(t)?new FormData(t):t);Vt.getAdapter=da.getAdapter;Vt.HttpStatusCode=Yn;Vt.default=Vt;const{Axios:Py,AxiosError:Dy,CanceledError:jy,isCancel:ky,CancelToken:qy,VERSION:Hy,all:zy,Cancel:Gy,isAxiosError:Wy,spread:Zy,toFormData:Jy,AxiosHeaders:Vy,HttpStatusCode:Ky,formToJSON:Yy,getAdapter:Xy,mergeConfig:Qy}=Vt;var Qp="[object Number]";function tg(t){return typeof t=="number"||ee(t)&&ce(t)==Qp}const tw=Object.freeze(Object.defineProperty({__proto__:null,default:tg},Symbol.toStringTag,{value:"Module"}));var eg="[object Boolean]";function rg(t){return t===!0||t===!1||ee(t)&&ce(t)==eg}const ew=Object.freeze(Object.defineProperty({__proto__:null,default:rg},Symbol.toStringTag,{value:"Module"}));var ng="[object String]";function ig(t){return typeof t=="string"||!Gt(t)&&ee(t)&&ce(t)==ng}const rw=Object.freeze(Object.defineProperty({__proto__:null,default:ig},Symbol.toStringTag,{value:"Module"}));function og(t){return function(e){e=ne(e);var r=Nr(e)?ke(e):void 0,n=r?r[0]:e.charAt(0),s=r?Ir(r,1).join(""):e.slice(1);return n[t]()+s}}var ya=og("toUpperCase");const nw=Object.freeze(Object.defineProperty({__proto__:null,default:ya},Symbol.toStringTag,{value:"Module"}));function sg(t){return ya(ne(t).toLowerCase())}function ag(t,e,r,n){for(var s=-1,o=t==null?0:t.length;++s<o;)r=e(r,t[s],s,t);return r}function wa(t){return function(e){return t?.[e]}}var ug={À:"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"},fg=wa(ug),lg=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,cg="\\u0300-\\u036f",hg="\\ufe20-\\ufe2f",dg="\\u20d0-\\u20ff",pg=cg+hg+dg,gg="["+pg+"]",mg=RegExp(gg,"g");function yg(t){return t=ne(t),t&&t.replace(lg,fg).replace(mg,"")}var wg=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function xg(t){return t.match(wg)||[]}var vg=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function bg(t){return vg.test(t)}var xa="\\ud800-\\udfff",Eg="\\u0300-\\u036f",Mg="\\ufe20-\\ufe2f",_g="\\u20d0-\\u20ff",Sg=Eg+Mg+_g,va="\\u2700-\\u27bf",ba="a-z\\xdf-\\xf6\\xf8-\\xff",Bg="\\xac\\xb1\\xd7\\xf7",Ag="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Og="\\u2000-\\u206f",Tg=" \\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",Ea="A-Z\\xc0-\\xd6\\xd8-\\xde",Cg="\\ufe0e\\ufe0f",Ma=Bg+Ag+Og+Tg,_a="['’]",Oo="["+Ma+"]",$g="["+Sg+"]",Sa="\\d+",Fg="["+va+"]",Ba="["+ba+"]",Aa="[^"+xa+Ma+Sa+va+ba+Ea+"]",Rg="\\ud83c[\\udffb-\\udfff]",Ig="(?:"+$g+"|"+Rg+")",Ng="[^"+xa+"]",Oa="(?:\\ud83c[\\udde6-\\uddff]){2}",Ta="[\\ud800-\\udbff][\\udc00-\\udfff]",Le="["+Ea+"]",Ug="\\u200d",To="(?:"+Ba+"|"+Aa+")",Lg="(?:"+Le+"|"+Aa+")",Co="(?:"+_a+"(?:d|ll|m|re|s|t|ve))?",$o="(?:"+_a+"(?:D|LL|M|RE|S|T|VE))?",Ca=Ig+"?",$a="["+Cg+"]?",Pg="(?:"+Ug+"(?:"+[Ng,Oa,Ta].join("|")+")"+$a+Ca+")*",Dg="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",jg="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",kg=$a+Ca+Pg,qg="(?:"+[Fg,Oa,Ta].join("|")+")"+kg,Hg=RegExp([Le+"?"+Ba+"+"+Co+"(?="+[Oo,Le,"$"].join("|")+")",Lg+"+"+$o+"(?="+[Oo,Le+To,"$"].join("|")+")",Le+"?"+To+"+"+Co,Le+"+"+$o,jg,Dg,Sa,qg].join("|"),"g");function zg(t){return t.match(Hg)||[]}function Gg(t,e,r){return t=ne(t),e=e,e===void 0?bg(t)?zg(t):xg(t):t.match(e)||[]}var Wg="['’]",Zg=RegExp(Wg,"g");function Jg(t){return function(e){return ag(Gg(yg(e).replace(Zg,"")),t,"")}}var Vg=Jg(function(t,e,r){return e=e.toLowerCase(),t+(r?sg(e):e)});const iw=Object.freeze(Object.defineProperty({__proto__:null,default:Vg},Symbol.toStringTag,{value:"Module"}));function Kg(t){return t===null}const ow=Object.freeze(Object.defineProperty({__proto__:null,default:Kg},Symbol.toStringTag,{value:"Module"}));function Yg(t,e,r){t=ne(t),e=Ze(e);var n=e?Qn(t):0;return e&&n<e?t+as(e-n,r):t}const sw=Object.freeze(Object.defineProperty({__proto__:null,default:Yg},Symbol.toStringTag,{value:"Module"}));var Or={exports:{}},On={},Fo;function Xg(){return Fo||(Fo=1,function(t){Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var e={},r={};r.byteLength=p,r.toByteArray=k,r.fromByteArray=st;for(var n=[],s=[],o=typeof Uint8Array<"u"?Uint8Array:Array,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",w=0,_=d.length;w<_;++w)n[w]=d[w],s[d.charCodeAt(w)]=w;s[45]=62,s[95]=63;function x(nt){var at=nt.length;if(at%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var dt=nt.indexOf("=");dt===-1&&(dt=at);var ft=dt===at?0:4-dt%4;return[dt,ft]}function p(nt){var at=x(nt),dt=at[0],ft=at[1];return(dt+ft)*3/4-ft}function C(nt,at,dt){return(at+dt)*3/4-dt}function k(nt){var at,dt=x(nt),ft=dt[0],K=dt[1],G=new o(C(nt,ft,K)),ut=0,mt=K>0?ft-4:ft,it;for(it=0;it<mt;it+=4)at=s[nt.charCodeAt(it)]<<18|s[nt.charCodeAt(it+1)]<<12|s[nt.charCodeAt(it+2)]<<6|s[nt.charCodeAt(it+3)],G[ut++]=at>>16&255,G[ut++]=at>>8&255,G[ut++]=at&255;return K===2&&(at=s[nt.charCodeAt(it)]<<2|s[nt.charCodeAt(it+1)]>>4,G[ut++]=at&255),K===1&&(at=s[nt.charCodeAt(it)]<<10|s[nt.charCodeAt(it+1)]<<4|s[nt.charCodeAt(it+2)]>>2,G[ut++]=at>>8&255,G[ut++]=at&255),G}function Q(nt){return n[nt>>18&63]+n[nt>>12&63]+n[nt>>6&63]+n[nt&63]}function W(nt,at,dt){for(var ft,K=[],G=at;G<dt;G+=3)ft=(nt[G]<<16&16711680)+(nt[G+1]<<8&65280)+(nt[G+2]&255),K.push(Q(ft));return K.join("")}function st(nt){for(var at,dt=nt.length,ft=dt%3,K=[],G=16383,ut=0,mt=dt-ft;ut<mt;ut+=G)K.push(W(nt,ut,ut+G>mt?mt:ut+G));return ft===1?(at=nt[dt-1],K.push(n[at>>2]+n[at<<4&63]+"==")):ft===2&&(at=(nt[dt-2]<<8)+nt[dt-1],K.push(n[at>>10]+n[at>>4&63]+n[at<<2&63]+"=")),K.join("")}var Z={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */Z.read=function(nt,at,dt,ft,K){var G,ut,mt=K*8-ft-1,it=(1<<mt)-1,lt=it>>1,P=-7,T=dt?K-1:0,i=dt?-1:1,h=nt[at+T];for(T+=i,G=h&(1<<-P)-1,h>>=-P,P+=mt;P>0;G=G*256+nt[at+T],T+=i,P-=8);for(ut=G&(1<<-P)-1,G>>=-P,P+=ft;P>0;ut=ut*256+nt[at+T],T+=i,P-=8);if(G===0)G=1-lt;else{if(G===it)return ut?NaN:(h?-1:1)*(1/0);ut=ut+Math.pow(2,ft),G=G-lt}return(h?-1:1)*ut*Math.pow(2,G-ft)},Z.write=function(nt,at,dt,ft,K,G){var ut,mt,it,lt=G*8-K-1,P=(1<<lt)-1,T=P>>1,i=K===23?Math.pow(2,-24)-Math.pow(2,-77):0,h=ft?0:G-1,g=ft?1:-1,v=at<0||at===0&&1/at<0?1:0;for(at=Math.abs(at),isNaN(at)||at===1/0?(mt=isNaN(at)?1:0,ut=P):(ut=Math.floor(Math.log(at)/Math.LN2),at*(it=Math.pow(2,-ut))<1&&(ut--,it*=2),ut+T>=1?at+=i/it:at+=i*Math.pow(2,1-T),at*it>=2&&(ut++,it/=2),ut+T>=P?(mt=0,ut=P):ut+T>=1?(mt=(at*it-1)*Math.pow(2,K),ut=ut+T):(mt=at*Math.pow(2,T-1)*Math.pow(2,K),ut=0));K>=8;nt[dt+h]=mt&255,h+=g,mt/=256,K-=8);for(ut=ut<<K|mt,lt+=K;lt>0;nt[dt+h]=ut&255,h+=g,ut/=256,lt-=8);nt[dt+h-g]|=v*128};/*!
|
|
12
|
-
* The buffer module from node.js, for the browser.
|
|
13
|
-
*
|
|
14
|
-
* @author Feross Aboukhadijeh <https://feross.org>
|
|
15
|
-
* @license MIT
|
|
16
|
-
*/(function(nt){const at=r,dt=Z,ft=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;nt.Buffer=P,nt.SlowBuffer=O,nt.INSPECT_MAX_BYTES=50;const K=2147483647;nt.kMaxLength=K;const{Uint8Array:G,ArrayBuffer:ut,SharedArrayBuffer:mt}=globalThis;P.TYPED_ARRAY_SUPPORT=it(),!P.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 it(){try{const y=new G(1),u={foo:function(){return 42}};return Object.setPrototypeOf(u,G.prototype),Object.setPrototypeOf(y,u),y.foo()===42}catch{return!1}}Object.defineProperty(P.prototype,"parent",{enumerable:!0,get:function(){if(P.isBuffer(this))return this.buffer}}),Object.defineProperty(P.prototype,"offset",{enumerable:!0,get:function(){if(P.isBuffer(this))return this.byteOffset}});function lt(y){if(y>K)throw new RangeError('The value "'+y+'" is invalid for option "size"');const u=new G(y);return Object.setPrototypeOf(u,P.prototype),u}function P(y,u,l){if(typeof y=="number"){if(typeof u=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return g(y)}return T(y,u,l)}P.poolSize=8192;function T(y,u,l){if(typeof y=="string")return v(y,u);if(ut.isView(y))return F(y);if(y==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof y);if(re(y,ut)||y&&re(y.buffer,ut)||typeof mt<"u"&&(re(y,mt)||y&&re(y.buffer,mt)))return I(y,u,l);if(typeof y=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const B=y.valueOf&&y.valueOf();if(B!=null&&B!==y)return P.from(B,u,l);const D=S(y);if(D)return D;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof y[Symbol.toPrimitive]=="function")return P.from(y[Symbol.toPrimitive]("string"),u,l);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof y)}P.from=function(y,u,l){return T(y,u,l)},Object.setPrototypeOf(P.prototype,G.prototype),Object.setPrototypeOf(P,G);function i(y){if(typeof y!="number")throw new TypeError('"size" argument must be of type number');if(y<0)throw new RangeError('The value "'+y+'" is invalid for option "size"')}function h(y,u,l){return i(y),y<=0?lt(y):u!==void 0?typeof l=="string"?lt(y).fill(u,l):lt(y).fill(u):lt(y)}P.alloc=function(y,u,l){return h(y,u,l)};function g(y){return i(y),lt(y<0?0:c(y)|0)}P.allocUnsafe=function(y){return g(y)},P.allocUnsafeSlow=function(y){return g(y)};function v(y,u){if((typeof u!="string"||u==="")&&(u="utf8"),!P.isEncoding(u))throw new TypeError("Unknown encoding: "+u);const l=z(y,u)|0;let B=lt(l);const D=B.write(y,u);return D!==l&&(B=B.slice(0,D)),B}function b(y){const u=y.length<0?0:c(y.length)|0,l=lt(u);for(let B=0;B<u;B+=1)l[B]=y[B]&255;return l}function F(y){if(re(y,G)){const u=new G(y);return I(u.buffer,u.byteOffset,u.byteLength)}return b(y)}function I(y,u,l){if(u<0||y.byteLength<u)throw new RangeError('"offset" is outside of buffer bounds');if(y.byteLength<u+(l||0))throw new RangeError('"length" is outside of buffer bounds');let B;return u===void 0&&l===void 0?B=new G(y):l===void 0?B=new G(y,u):B=new G(y,u,l),Object.setPrototypeOf(B,P.prototype),B}function S(y){if(P.isBuffer(y)){const u=c(y.length)|0,l=lt(u);return l.length===0||y.copy(l,0,0,u),l}if(y.length!==void 0)return typeof y.length!="number"||kt(y.length)?lt(0):b(y);if(y.type==="Buffer"&&Array.isArray(y.data))return b(y.data)}function c(y){if(y>=K)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+K.toString(16)+" bytes");return y|0}function O(y){return+y!=y&&(y=0),P.alloc(+y)}P.isBuffer=function(u){return u!=null&&u._isBuffer===!0&&u!==P.prototype},P.compare=function(u,l){if(re(u,G)&&(u=P.from(u,u.offset,u.byteLength)),re(l,G)&&(l=P.from(l,l.offset,l.byteLength)),!P.isBuffer(u)||!P.isBuffer(l))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(u===l)return 0;let B=u.length,D=l.length;for(let J=0,rt=Math.min(B,D);J<rt;++J)if(u[J]!==l[J]){B=u[J],D=l[J];break}return B<D?-1:D<B?1:0},P.isEncoding=function(u){switch(String(u).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}},P.concat=function(u,l){if(!Array.isArray(u))throw new TypeError('"list" argument must be an Array of Buffers');if(u.length===0)return P.alloc(0);let B;if(l===void 0)for(l=0,B=0;B<u.length;++B)l+=u[B].length;const D=P.allocUnsafe(l);let J=0;for(B=0;B<u.length;++B){let rt=u[B];if(re(rt,G))J+rt.length>D.length?(P.isBuffer(rt)||(rt=P.from(rt)),rt.copy(D,J)):G.prototype.set.call(D,rt,J);else if(P.isBuffer(rt))rt.copy(D,J);else throw new TypeError('"list" argument must be an Array of Buffers');J+=rt.length}return D};function z(y,u){if(P.isBuffer(y))return y.length;if(ut.isView(y)||re(y,ut))return y.byteLength;if(typeof y!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof y);const l=y.length,B=arguments.length>2&&arguments[2]===!0;if(!B&&l===0)return 0;let D=!1;for(;;)switch(u){case"ascii":case"latin1":case"binary":return l;case"utf8":case"utf-8":return St(y).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return l*2;case"hex":return l>>>1;case"base64":return bt(y).length;default:if(D)return B?-1:St(y).length;u=(""+u).toLowerCase(),D=!0}}P.byteLength=z;function pt(y,u,l){let B=!1;if((u===void 0||u<0)&&(u=0),u>this.length||((l===void 0||l>this.length)&&(l=this.length),l<=0)||(l>>>=0,u>>>=0,l<=u))return"";for(y||(y="utf8");;)switch(y){case"hex":return H(this,u,l);case"utf8":case"utf-8":return j(this,u,l);case"ascii":return L(this,u,l);case"latin1":case"binary":return X(this,u,l);case"base64":return U(this,u,l);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ot(this,u,l);default:if(B)throw new TypeError("Unknown encoding: "+y);y=(y+"").toLowerCase(),B=!0}}P.prototype._isBuffer=!0;function yt(y,u,l){const B=y[u];y[u]=y[l],y[l]=B}P.prototype.swap16=function(){const u=this.length;if(u%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let l=0;l<u;l+=2)yt(this,l,l+1);return this},P.prototype.swap32=function(){const u=this.length;if(u%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let l=0;l<u;l+=4)yt(this,l,l+3),yt(this,l+1,l+2);return this},P.prototype.swap64=function(){const u=this.length;if(u%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let l=0;l<u;l+=8)yt(this,l,l+7),yt(this,l+1,l+6),yt(this,l+2,l+5),yt(this,l+3,l+4);return this},P.prototype.toString=function(){const u=this.length;return u===0?"":arguments.length===0?j(this,0,u):pt.apply(this,arguments)},P.prototype.toLocaleString=P.prototype.toString,P.prototype.equals=function(u){if(!P.isBuffer(u))throw new TypeError("Argument must be a Buffer");return this===u?!0:P.compare(this,u)===0},P.prototype.inspect=function(){let u="";const l=nt.INSPECT_MAX_BYTES;return u=this.toString("hex",0,l).replace(/(.{2})/g,"$1 ").trim(),this.length>l&&(u+=" ... "),"<Buffer "+u+">"},ft&&(P.prototype[ft]=P.prototype.inspect),P.prototype.compare=function(u,l,B,D,J){if(re(u,G)&&(u=P.from(u,u.offset,u.byteLength)),!P.isBuffer(u))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof u);if(l===void 0&&(l=0),B===void 0&&(B=u?u.length:0),D===void 0&&(D=0),J===void 0&&(J=this.length),l<0||B>u.length||D<0||J>this.length)throw new RangeError("out of range index");if(D>=J&&l>=B)return 0;if(D>=J)return-1;if(l>=B)return 1;if(l>>>=0,B>>>=0,D>>>=0,J>>>=0,this===u)return 0;let rt=J-D,Rt=B-l;const $t=Math.min(rt,Rt),Tt=this.slice(D,J),Dt=u.slice(l,B);for(let Mt=0;Mt<$t;++Mt)if(Tt[Mt]!==Dt[Mt]){rt=Tt[Mt],Rt=Dt[Mt];break}return rt<Rt?-1:Rt<rt?1:0};function Nt(y,u,l,B,D){if(y.length===0)return-1;if(typeof l=="string"?(B=l,l=0):l>2147483647?l=2147483647:l<-2147483648&&(l=-2147483648),l=+l,kt(l)&&(l=D?0:y.length-1),l<0&&(l=y.length+l),l>=y.length){if(D)return-1;l=y.length-1}else if(l<0)if(D)l=0;else return-1;if(typeof u=="string"&&(u=P.from(u,B)),P.isBuffer(u))return u.length===0?-1:Et(y,u,l,B,D);if(typeof u=="number")return u=u&255,typeof G.prototype.indexOf=="function"?D?G.prototype.indexOf.call(y,u,l):G.prototype.lastIndexOf.call(y,u,l):Et(y,[u],l,B,D);throw new TypeError("val must be string, number or Buffer")}function Et(y,u,l,B,D){let J=1,rt=y.length,Rt=u.length;if(B!==void 0&&(B=String(B).toLowerCase(),B==="ucs2"||B==="ucs-2"||B==="utf16le"||B==="utf-16le")){if(y.length<2||u.length<2)return-1;J=2,rt/=2,Rt/=2,l/=2}function $t(Dt,Mt){return J===1?Dt[Mt]:Dt.readUInt16BE(Mt*J)}let Tt;if(D){let Dt=-1;for(Tt=l;Tt<rt;Tt++)if($t(y,Tt)===$t(u,Dt===-1?0:Tt-Dt)){if(Dt===-1&&(Dt=Tt),Tt-Dt+1===Rt)return Dt*J}else Dt!==-1&&(Tt-=Tt-Dt),Dt=-1}else for(l+Rt>rt&&(l=rt-Rt),Tt=l;Tt>=0;Tt--){let Dt=!0;for(let Mt=0;Mt<Rt;Mt++)if($t(y,Tt+Mt)!==$t(u,Mt)){Dt=!1;break}if(Dt)return Tt}return-1}P.prototype.includes=function(u,l,B){return this.indexOf(u,l,B)!==-1},P.prototype.indexOf=function(u,l,B){return Nt(this,u,l,B,!0)},P.prototype.lastIndexOf=function(u,l,B){return Nt(this,u,l,B,!1)};function At(y,u,l,B){l=Number(l)||0;const D=y.length-l;B?(B=Number(B),B>D&&(B=D)):B=D;const J=u.length;B>J/2&&(B=J/2);let rt;for(rt=0;rt<B;++rt){const Rt=parseInt(u.substr(rt*2,2),16);if(kt(Rt))return rt;y[l+rt]=Rt}return rt}function E(y,u,l,B){return Pt(St(u,y.length-l),y,l,B)}function A(y,u,l,B){return Pt(Bt(u),y,l,B)}function $(y,u,l,B){return Pt(bt(u),y,l,B)}function V(y,u,l,B){return Pt(Ut(u,y.length-l),y,l,B)}P.prototype.write=function(u,l,B,D){if(l===void 0)D="utf8",B=this.length,l=0;else if(B===void 0&&typeof l=="string")D=l,B=this.length,l=0;else if(isFinite(l))l=l>>>0,isFinite(B)?(B=B>>>0,D===void 0&&(D="utf8")):(D=B,B=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const J=this.length-l;if((B===void 0||B>J)&&(B=J),u.length>0&&(B<0||l<0)||l>this.length)throw new RangeError("Attempt to write outside buffer bounds");D||(D="utf8");let rt=!1;for(;;)switch(D){case"hex":return At(this,u,l,B);case"utf8":case"utf-8":return E(this,u,l,B);case"ascii":case"latin1":case"binary":return A(this,u,l,B);case"base64":return $(this,u,l,B);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return V(this,u,l,B);default:if(rt)throw new TypeError("Unknown encoding: "+D);D=(""+D).toLowerCase(),rt=!0}},P.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function U(y,u,l){return u===0&&l===y.length?at.fromByteArray(y):at.fromByteArray(y.slice(u,l))}function j(y,u,l){l=Math.min(y.length,l);const B=[];let D=u;for(;D<l;){const J=y[D];let rt=null,Rt=J>239?4:J>223?3:J>191?2:1;if(D+Rt<=l){let $t,Tt,Dt,Mt;switch(Rt){case 1:J<128&&(rt=J);break;case 2:$t=y[D+1],($t&192)===128&&(Mt=(J&31)<<6|$t&63,Mt>127&&(rt=Mt));break;case 3:$t=y[D+1],Tt=y[D+2],($t&192)===128&&(Tt&192)===128&&(Mt=(J&15)<<12|($t&63)<<6|Tt&63,Mt>2047&&(Mt<55296||Mt>57343)&&(rt=Mt));break;case 4:$t=y[D+1],Tt=y[D+2],Dt=y[D+3],($t&192)===128&&(Tt&192)===128&&(Dt&192)===128&&(Mt=(J&15)<<18|($t&63)<<12|(Tt&63)<<6|Dt&63,Mt>65535&&Mt<1114112&&(rt=Mt))}}rt===null?(rt=65533,Rt=1):rt>65535&&(rt-=65536,B.push(rt>>>10&1023|55296),rt=56320|rt&1023),B.push(rt),D+=Rt}return R(B)}const tt=4096;function R(y){const u=y.length;if(u<=tt)return String.fromCharCode.apply(String,y);let l="",B=0;for(;B<u;)l+=String.fromCharCode.apply(String,y.slice(B,B+=tt));return l}function L(y,u,l){let B="";l=Math.min(y.length,l);for(let D=u;D<l;++D)B+=String.fromCharCode(y[D]&127);return B}function X(y,u,l){let B="";l=Math.min(y.length,l);for(let D=u;D<l;++D)B+=String.fromCharCode(y[D]);return B}function H(y,u,l){const B=y.length;(!u||u<0)&&(u=0),(!l||l<0||l>B)&&(l=B);let D="";for(let J=u;J<l;++J)D+=qt[y[J]];return D}function ot(y,u,l){const B=y.slice(u,l);let D="";for(let J=0;J<B.length-1;J+=2)D+=String.fromCharCode(B[J]+B[J+1]*256);return D}P.prototype.slice=function(u,l){const B=this.length;u=~~u,l=l===void 0?B:~~l,u<0?(u+=B,u<0&&(u=0)):u>B&&(u=B),l<0?(l+=B,l<0&&(l=0)):l>B&&(l=B),l<u&&(l=u);const D=this.subarray(u,l);return Object.setPrototypeOf(D,P.prototype),D};function gt(y,u,l){if(y%1!==0||y<0)throw new RangeError("offset is not uint");if(y+u>l)throw new RangeError("Trying to access beyond buffer length")}P.prototype.readUintLE=P.prototype.readUIntLE=function(u,l,B){u=u>>>0,l=l>>>0,B||gt(u,l,this.length);let D=this[u],J=1,rt=0;for(;++rt<l&&(J*=256);)D+=this[u+rt]*J;return D},P.prototype.readUintBE=P.prototype.readUIntBE=function(u,l,B){u=u>>>0,l=l>>>0,B||gt(u,l,this.length);let D=this[u+--l],J=1;for(;l>0&&(J*=256);)D+=this[u+--l]*J;return D},P.prototype.readUint8=P.prototype.readUInt8=function(u,l){return u=u>>>0,l||gt(u,1,this.length),this[u]},P.prototype.readUint16LE=P.prototype.readUInt16LE=function(u,l){return u=u>>>0,l||gt(u,2,this.length),this[u]|this[u+1]<<8},P.prototype.readUint16BE=P.prototype.readUInt16BE=function(u,l){return u=u>>>0,l||gt(u,2,this.length),this[u]<<8|this[u+1]},P.prototype.readUint32LE=P.prototype.readUInt32LE=function(u,l){return u=u>>>0,l||gt(u,4,this.length),(this[u]|this[u+1]<<8|this[u+2]<<16)+this[u+3]*16777216},P.prototype.readUint32BE=P.prototype.readUInt32BE=function(u,l){return u=u>>>0,l||gt(u,4,this.length),this[u]*16777216+(this[u+1]<<16|this[u+2]<<8|this[u+3])},P.prototype.readBigUInt64LE=ue(function(u){u=u>>>0,N(u,"offset");const l=this[u],B=this[u+7];(l===void 0||B===void 0)&&q(u,this.length-8);const D=l+this[++u]*2**8+this[++u]*2**16+this[++u]*2**24,J=this[++u]+this[++u]*2**8+this[++u]*2**16+B*2**24;return BigInt(D)+(BigInt(J)<<BigInt(32))}),P.prototype.readBigUInt64BE=ue(function(u){u=u>>>0,N(u,"offset");const l=this[u],B=this[u+7];(l===void 0||B===void 0)&&q(u,this.length-8);const D=l*2**24+this[++u]*2**16+this[++u]*2**8+this[++u],J=this[++u]*2**24+this[++u]*2**16+this[++u]*2**8+B;return(BigInt(D)<<BigInt(32))+BigInt(J)}),P.prototype.readIntLE=function(u,l,B){u=u>>>0,l=l>>>0,B||gt(u,l,this.length);let D=this[u],J=1,rt=0;for(;++rt<l&&(J*=256);)D+=this[u+rt]*J;return J*=128,D>=J&&(D-=Math.pow(2,8*l)),D},P.prototype.readIntBE=function(u,l,B){u=u>>>0,l=l>>>0,B||gt(u,l,this.length);let D=l,J=1,rt=this[u+--D];for(;D>0&&(J*=256);)rt+=this[u+--D]*J;return J*=128,rt>=J&&(rt-=Math.pow(2,8*l)),rt},P.prototype.readInt8=function(u,l){return u=u>>>0,l||gt(u,1,this.length),this[u]&128?(255-this[u]+1)*-1:this[u]},P.prototype.readInt16LE=function(u,l){u=u>>>0,l||gt(u,2,this.length);const B=this[u]|this[u+1]<<8;return B&32768?B|4294901760:B},P.prototype.readInt16BE=function(u,l){u=u>>>0,l||gt(u,2,this.length);const B=this[u+1]|this[u]<<8;return B&32768?B|4294901760:B},P.prototype.readInt32LE=function(u,l){return u=u>>>0,l||gt(u,4,this.length),this[u]|this[u+1]<<8|this[u+2]<<16|this[u+3]<<24},P.prototype.readInt32BE=function(u,l){return u=u>>>0,l||gt(u,4,this.length),this[u]<<24|this[u+1]<<16|this[u+2]<<8|this[u+3]},P.prototype.readBigInt64LE=ue(function(u){u=u>>>0,N(u,"offset");const l=this[u],B=this[u+7];(l===void 0||B===void 0)&&q(u,this.length-8);const D=this[u+4]+this[u+5]*2**8+this[u+6]*2**16+(B<<24);return(BigInt(D)<<BigInt(32))+BigInt(l+this[++u]*2**8+this[++u]*2**16+this[++u]*2**24)}),P.prototype.readBigInt64BE=ue(function(u){u=u>>>0,N(u,"offset");const l=this[u],B=this[u+7];(l===void 0||B===void 0)&&q(u,this.length-8);const D=(l<<24)+this[++u]*2**16+this[++u]*2**8+this[++u];return(BigInt(D)<<BigInt(32))+BigInt(this[++u]*2**24+this[++u]*2**16+this[++u]*2**8+B)}),P.prototype.readFloatLE=function(u,l){return u=u>>>0,l||gt(u,4,this.length),dt.read(this,u,!0,23,4)},P.prototype.readFloatBE=function(u,l){return u=u>>>0,l||gt(u,4,this.length),dt.read(this,u,!1,23,4)},P.prototype.readDoubleLE=function(u,l){return u=u>>>0,l||gt(u,8,this.length),dt.read(this,u,!0,52,8)},P.prototype.readDoubleBE=function(u,l){return u=u>>>0,l||gt(u,8,this.length),dt.read(this,u,!1,52,8)};function ht(y,u,l,B,D,J){if(!P.isBuffer(y))throw new TypeError('"buffer" argument must be a Buffer instance');if(u>D||u<J)throw new RangeError('"value" argument is out of bounds');if(l+B>y.length)throw new RangeError("Index out of range")}P.prototype.writeUintLE=P.prototype.writeUIntLE=function(u,l,B,D){if(u=+u,l=l>>>0,B=B>>>0,!D){const Rt=Math.pow(2,8*B)-1;ht(this,u,l,B,Rt,0)}let J=1,rt=0;for(this[l]=u&255;++rt<B&&(J*=256);)this[l+rt]=u/J&255;return l+B},P.prototype.writeUintBE=P.prototype.writeUIntBE=function(u,l,B,D){if(u=+u,l=l>>>0,B=B>>>0,!D){const Rt=Math.pow(2,8*B)-1;ht(this,u,l,B,Rt,0)}let J=B-1,rt=1;for(this[l+J]=u&255;--J>=0&&(rt*=256);)this[l+J]=u/rt&255;return l+B},P.prototype.writeUint8=P.prototype.writeUInt8=function(u,l,B){return u=+u,l=l>>>0,B||ht(this,u,l,1,255,0),this[l]=u&255,l+1},P.prototype.writeUint16LE=P.prototype.writeUInt16LE=function(u,l,B){return u=+u,l=l>>>0,B||ht(this,u,l,2,65535,0),this[l]=u&255,this[l+1]=u>>>8,l+2},P.prototype.writeUint16BE=P.prototype.writeUInt16BE=function(u,l,B){return u=+u,l=l>>>0,B||ht(this,u,l,2,65535,0),this[l]=u>>>8,this[l+1]=u&255,l+2},P.prototype.writeUint32LE=P.prototype.writeUInt32LE=function(u,l,B){return u=+u,l=l>>>0,B||ht(this,u,l,4,4294967295,0),this[l+3]=u>>>24,this[l+2]=u>>>16,this[l+1]=u>>>8,this[l]=u&255,l+4},P.prototype.writeUint32BE=P.prototype.writeUInt32BE=function(u,l,B){return u=+u,l=l>>>0,B||ht(this,u,l,4,4294967295,0),this[l]=u>>>24,this[l+1]=u>>>16,this[l+2]=u>>>8,this[l+3]=u&255,l+4};function xt(y,u,l,B,D){M(u,B,D,y,l,7);let J=Number(u&BigInt(4294967295));y[l++]=J,J=J>>8,y[l++]=J,J=J>>8,y[l++]=J,J=J>>8,y[l++]=J;let rt=Number(u>>BigInt(32)&BigInt(4294967295));return y[l++]=rt,rt=rt>>8,y[l++]=rt,rt=rt>>8,y[l++]=rt,rt=rt>>8,y[l++]=rt,l}function It(y,u,l,B,D){M(u,B,D,y,l,7);let J=Number(u&BigInt(4294967295));y[l+7]=J,J=J>>8,y[l+6]=J,J=J>>8,y[l+5]=J,J=J>>8,y[l+4]=J;let rt=Number(u>>BigInt(32)&BigInt(4294967295));return y[l+3]=rt,rt=rt>>8,y[l+2]=rt,rt=rt>>8,y[l+1]=rt,rt=rt>>8,y[l]=rt,l+8}P.prototype.writeBigUInt64LE=ue(function(u,l=0){return xt(this,u,l,BigInt(0),BigInt("0xffffffffffffffff"))}),P.prototype.writeBigUInt64BE=ue(function(u,l=0){return It(this,u,l,BigInt(0),BigInt("0xffffffffffffffff"))}),P.prototype.writeIntLE=function(u,l,B,D){if(u=+u,l=l>>>0,!D){const $t=Math.pow(2,8*B-1);ht(this,u,l,B,$t-1,-$t)}let J=0,rt=1,Rt=0;for(this[l]=u&255;++J<B&&(rt*=256);)u<0&&Rt===0&&this[l+J-1]!==0&&(Rt=1),this[l+J]=(u/rt>>0)-Rt&255;return l+B},P.prototype.writeIntBE=function(u,l,B,D){if(u=+u,l=l>>>0,!D){const $t=Math.pow(2,8*B-1);ht(this,u,l,B,$t-1,-$t)}let J=B-1,rt=1,Rt=0;for(this[l+J]=u&255;--J>=0&&(rt*=256);)u<0&&Rt===0&&this[l+J+1]!==0&&(Rt=1),this[l+J]=(u/rt>>0)-Rt&255;return l+B},P.prototype.writeInt8=function(u,l,B){return u=+u,l=l>>>0,B||ht(this,u,l,1,127,-128),u<0&&(u=255+u+1),this[l]=u&255,l+1},P.prototype.writeInt16LE=function(u,l,B){return u=+u,l=l>>>0,B||ht(this,u,l,2,32767,-32768),this[l]=u&255,this[l+1]=u>>>8,l+2},P.prototype.writeInt16BE=function(u,l,B){return u=+u,l=l>>>0,B||ht(this,u,l,2,32767,-32768),this[l]=u>>>8,this[l+1]=u&255,l+2},P.prototype.writeInt32LE=function(u,l,B){return u=+u,l=l>>>0,B||ht(this,u,l,4,2147483647,-2147483648),this[l]=u&255,this[l+1]=u>>>8,this[l+2]=u>>>16,this[l+3]=u>>>24,l+4},P.prototype.writeInt32BE=function(u,l,B){return u=+u,l=l>>>0,B||ht(this,u,l,4,2147483647,-2147483648),u<0&&(u=4294967295+u+1),this[l]=u>>>24,this[l+1]=u>>>16,this[l+2]=u>>>8,this[l+3]=u&255,l+4},P.prototype.writeBigInt64LE=ue(function(u,l=0){return xt(this,u,l,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),P.prototype.writeBigInt64BE=ue(function(u,l=0){return It(this,u,l,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function _t(y,u,l,B,D,J){if(l+B>y.length)throw new RangeError("Index out of range");if(l<0)throw new RangeError("Index out of range")}function vt(y,u,l,B,D){return u=+u,l=l>>>0,D||_t(y,u,l,4),dt.write(y,u,l,B,23,4),l+4}P.prototype.writeFloatLE=function(u,l,B){return vt(this,u,l,!0,B)},P.prototype.writeFloatBE=function(u,l,B){return vt(this,u,l,!1,B)};function Ct(y,u,l,B,D){return u=+u,l=l>>>0,D||_t(y,u,l,8),dt.write(y,u,l,B,52,8),l+8}P.prototype.writeDoubleLE=function(u,l,B){return Ct(this,u,l,!0,B)},P.prototype.writeDoubleBE=function(u,l,B){return Ct(this,u,l,!1,B)},P.prototype.copy=function(u,l,B,D){if(!P.isBuffer(u))throw new TypeError("argument should be a Buffer");if(B||(B=0),!D&&D!==0&&(D=this.length),l>=u.length&&(l=u.length),l||(l=0),D>0&&D<B&&(D=B),D===B||u.length===0||this.length===0)return 0;if(l<0)throw new RangeError("targetStart out of bounds");if(B<0||B>=this.length)throw new RangeError("Index out of range");if(D<0)throw new RangeError("sourceEnd out of bounds");D>this.length&&(D=this.length),u.length-l<D-B&&(D=u.length-l+B);const J=D-B;return this===u&&typeof G.prototype.copyWithin=="function"?this.copyWithin(l,B,D):G.prototype.set.call(u,this.subarray(B,D),l),J},P.prototype.fill=function(u,l,B,D){if(typeof u=="string"){if(typeof l=="string"?(D=l,l=0,B=this.length):typeof B=="string"&&(D=B,B=this.length),D!==void 0&&typeof D!="string")throw new TypeError("encoding must be a string");if(typeof D=="string"&&!P.isEncoding(D))throw new TypeError("Unknown encoding: "+D);if(u.length===1){const rt=u.charCodeAt(0);(D==="utf8"&&rt<128||D==="latin1")&&(u=rt)}}else typeof u=="number"?u=u&255:typeof u=="boolean"&&(u=Number(u));if(l<0||this.length<l||this.length<B)throw new RangeError("Out of range index");if(B<=l)return this;l=l>>>0,B=B===void 0?this.length:B>>>0,u||(u=0);let J;if(typeof u=="number")for(J=l;J<B;++J)this[J]=u;else{const rt=P.isBuffer(u)?u:P.from(u,D),Rt=rt.length;if(Rt===0)throw new TypeError('The value "'+u+'" is invalid for argument "value"');for(J=0;J<B-l;++J)this[J+l]=rt[J%Rt]}return this};const Ot={};function m(y,u,l){Ot[y]=class extends l{constructor(){super(),Object.defineProperty(this,"message",{value:u.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${y}]`,this.stack,delete this.name}get code(){return y}set code(D){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:D,writable:!0})}toString(){return`${this.name} [${y}]: ${this.message}`}}}m("ERR_BUFFER_OUT_OF_BOUNDS",function(y){return y?`${y} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),m("ERR_INVALID_ARG_TYPE",function(y,u){return`The "${y}" argument must be of type number. Received type ${typeof u}`},TypeError),m("ERR_OUT_OF_RANGE",function(y,u,l){let B=`The value of "${y}" is out of range.`,D=l;return Number.isInteger(l)&&Math.abs(l)>2**32?D=a(String(l)):typeof l=="bigint"&&(D=String(l),(l>BigInt(2)**BigInt(32)||l<-(BigInt(2)**BigInt(32)))&&(D=a(D)),D+="n"),B+=` It must be ${u}. Received ${D}`,B},RangeError);function a(y){let u="",l=y.length;const B=y[0]==="-"?1:0;for(;l>=B+4;l-=3)u=`_${y.slice(l-3,l)}${u}`;return`${y.slice(0,l)}${u}`}function f(y,u,l){N(u,"offset"),(y[u]===void 0||y[u+l]===void 0)&&q(u,y.length-(l+1))}function M(y,u,l,B,D,J){if(y>l||y<u){const rt=typeof u=="bigint"?"n":"";let Rt;throw u===0||u===BigInt(0)?Rt=`>= 0${rt} and < 2${rt} ** ${(J+1)*8}${rt}`:Rt=`>= -(2${rt} ** ${(J+1)*8-1}${rt}) and < 2 ** ${(J+1)*8-1}${rt}`,new Ot.ERR_OUT_OF_RANGE("value",Rt,y)}f(B,D,J)}function N(y,u){if(typeof y!="number")throw new Ot.ERR_INVALID_ARG_TYPE(u,"number",y)}function q(y,u,l){throw Math.floor(y)!==y?(N(y,l),new Ot.ERR_OUT_OF_RANGE("offset","an integer",y)):u<0?new Ot.ERR_BUFFER_OUT_OF_BOUNDS:new Ot.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${u}`,y)}const Y=/[^+/0-9A-Za-z-_]/g;function wt(y){if(y=y.split("=")[0],y=y.trim().replace(Y,""),y.length<2)return"";for(;y.length%4!==0;)y=y+"=";return y}function St(y,u){u=u||1/0;let l;const B=y.length;let D=null;const J=[];for(let rt=0;rt<B;++rt){if(l=y.charCodeAt(rt),l>55295&&l<57344){if(!D){if(l>56319){(u-=3)>-1&&J.push(239,191,189);continue}else if(rt+1===B){(u-=3)>-1&&J.push(239,191,189);continue}D=l;continue}if(l<56320){(u-=3)>-1&&J.push(239,191,189),D=l;continue}l=(D-55296<<10|l-56320)+65536}else D&&(u-=3)>-1&&J.push(239,191,189);if(D=null,l<128){if((u-=1)<0)break;J.push(l)}else if(l<2048){if((u-=2)<0)break;J.push(l>>6|192,l&63|128)}else if(l<65536){if((u-=3)<0)break;J.push(l>>12|224,l>>6&63|128,l&63|128)}else if(l<1114112){if((u-=4)<0)break;J.push(l>>18|240,l>>12&63|128,l>>6&63|128,l&63|128)}else throw new Error("Invalid code point")}return J}function Bt(y){const u=[];for(let l=0;l<y.length;++l)u.push(y.charCodeAt(l)&255);return u}function Ut(y,u){let l,B,D;const J=[];for(let rt=0;rt<y.length&&!((u-=2)<0);++rt)l=y.charCodeAt(rt),B=l>>8,D=l%256,J.push(D),J.push(B);return J}function bt(y){return at.toByteArray(wt(y))}function Pt(y,u,l,B){let D;for(D=0;D<B&&!(D+l>=u.length||D>=y.length);++D)u[D+l]=y[D];return D}function re(y,u){return y instanceof u||y!=null&&y.constructor!=null&&y.constructor.name!=null&&y.constructor.name===u.name}function kt(y){return y!==y}const qt=function(){const y="0123456789abcdef",u=new Array(256);for(let l=0;l<16;++l){const B=l*16;for(let D=0;D<16;++D)u[B+D]=y[l]+y[D]}return u}();function ue(y){return typeof BigInt>"u"?Ht:y}function Ht(){throw new Error("BigInt not supported")}})(e);const ct=e.Buffer;t.Blob=e.Blob,t.BlobOptions=e.BlobOptions,t.Buffer=e.Buffer,t.File=e.File,t.FileOptions=e.FileOptions,t.INSPECT_MAX_BYTES=e.INSPECT_MAX_BYTES,t.SlowBuffer=e.SlowBuffer,t.TranscodeEncoding=e.TranscodeEncoding,t.atob=e.atob,t.btoa=e.btoa,t.constants=e.constants,t.default=ct,t.isAscii=e.isAscii,t.isUtf8=e.isUtf8,t.kMaxLength=e.kMaxLength,t.kStringMaxLength=e.kStringMaxLength,t.resolveObjectURL=e.resolveObjectURL,t.transcode=e.transcode}(On)),On}var Qg=Or.exports,Ro;function uw(){return Ro||(Ro=1,function(t){(function(e,r){function n(T,i){if(!T)throw new Error(i||"Assertion failed")}function s(T,i){T.super_=i;var h=function(){};h.prototype=i.prototype,T.prototype=new h,T.prototype.constructor=T}function o(T,i,h){if(o.isBN(T))return T;this.negative=0,this.words=null,this.length=0,this.red=null,T!==null&&((i==="le"||i==="be")&&(h=i,i=10),this._init(T||0,i||10,h||"be"))}typeof e=="object"?e.exports=o:r.BN=o,o.BN=o,o.wordSize=26;var d;try{typeof window<"u"&&typeof window.Buffer<"u"?d=window.Buffer:d=Xg().Buffer}catch{}o.isBN=function(i){return i instanceof o?!0:i!==null&&typeof i=="object"&&i.constructor.wordSize===o.wordSize&&Array.isArray(i.words)},o.max=function(i,h){return i.cmp(h)>0?i:h},o.min=function(i,h){return i.cmp(h)<0?i:h},o.prototype._init=function(i,h,g){if(typeof i=="number")return this._initNumber(i,h,g);if(typeof i=="object")return this._initArray(i,h,g);h==="hex"&&(h=16),n(h===(h|0)&&h>=2&&h<=36),i=i.toString().replace(/\s+/g,"");var v=0;i[0]==="-"&&(v++,this.negative=1),v<i.length&&(h===16?this._parseHex(i,v,g):(this._parseBase(i,h,v),g==="le"&&this._initArray(this.toArray(),h,g)))},o.prototype._initNumber=function(i,h,g){i<0&&(this.negative=1,i=-i),i<67108864?(this.words=[i&67108863],this.length=1):i<4503599627370496?(this.words=[i&67108863,i/67108864&67108863],this.length=2):(n(i<9007199254740992),this.words=[i&67108863,i/67108864&67108863,1],this.length=3),g==="le"&&this._initArray(this.toArray(),h,g)},o.prototype._initArray=function(i,h,g){if(n(typeof i.length=="number"),i.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(i.length/3),this.words=new Array(this.length);for(var v=0;v<this.length;v++)this.words[v]=0;var b,F,I=0;if(g==="be")for(v=i.length-1,b=0;v>=0;v-=3)F=i[v]|i[v-1]<<8|i[v-2]<<16,this.words[b]|=F<<I&67108863,this.words[b+1]=F>>>26-I&67108863,I+=24,I>=26&&(I-=26,b++);else if(g==="le")for(v=0,b=0;v<i.length;v+=3)F=i[v]|i[v+1]<<8|i[v+2]<<16,this.words[b]|=F<<I&67108863,this.words[b+1]=F>>>26-I&67108863,I+=24,I>=26&&(I-=26,b++);return this._strip()};function w(T,i){var h=T.charCodeAt(i);if(h>=48&&h<=57)return h-48;if(h>=65&&h<=70)return h-55;if(h>=97&&h<=102)return h-87;n(!1,"Invalid character in "+T)}function _(T,i,h){var g=w(T,h);return h-1>=i&&(g|=w(T,h-1)<<4),g}o.prototype._parseHex=function(i,h,g){this.length=Math.ceil((i.length-h)/6),this.words=new Array(this.length);for(var v=0;v<this.length;v++)this.words[v]=0;var b=0,F=0,I;if(g==="be")for(v=i.length-1;v>=h;v-=2)I=_(i,h,v)<<b,this.words[F]|=I&67108863,b>=18?(b-=18,F+=1,this.words[F]|=I>>>26):b+=8;else{var S=i.length-h;for(v=S%2===0?h+1:h;v<i.length;v+=2)I=_(i,h,v)<<b,this.words[F]|=I&67108863,b>=18?(b-=18,F+=1,this.words[F]|=I>>>26):b+=8}this._strip()};function x(T,i,h,g){for(var v=0,b=0,F=Math.min(T.length,h),I=i;I<F;I++){var S=T.charCodeAt(I)-48;v*=g,S>=49?b=S-49+10:S>=17?b=S-17+10:b=S,n(S>=0&&b<g,"Invalid character"),v+=b}return v}o.prototype._parseBase=function(i,h,g){this.words=[0],this.length=1;for(var v=0,b=1;b<=67108863;b*=h)v++;v--,b=b/h|0;for(var F=i.length-g,I=F%v,S=Math.min(F,F-I)+g,c=0,O=g;O<S;O+=v)c=x(i,O,O+v,h),this.imuln(b),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(I!==0){var z=1;for(c=x(i,O,i.length,h),O=0;O<I;O++)z*=h;this.imuln(z),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}this._strip()},o.prototype.copy=function(i){i.words=new Array(this.length);for(var h=0;h<this.length;h++)i.words[h]=this.words[h];i.length=this.length,i.negative=this.negative,i.red=this.red};function p(T,i){T.words=i.words,T.length=i.length,T.negative=i.negative,T.red=i.red}if(o.prototype._move=function(i){p(i,this)},o.prototype.clone=function(){var i=new o(null);return this.copy(i),i},o.prototype._expand=function(i){for(;this.length<i;)this.words[this.length++]=0;return this},o.prototype._strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},o.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<"u"&&typeof Symbol.for=="function")try{o.prototype[Symbol.for("nodejs.util.inspect.custom")]=C}catch{o.prototype.inspect=C}else o.prototype.inspect=C;function C(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var k=["","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"],Q=[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],W=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];o.prototype.toString=function(i,h){i=i||10,h=h|0||1;var g;if(i===16||i==="hex"){g="";for(var v=0,b=0,F=0;F<this.length;F++){var I=this.words[F],S=((I<<v|b)&16777215).toString(16);b=I>>>24-v&16777215,v+=2,v>=26&&(v-=26,F--),b!==0||F!==this.length-1?g=k[6-S.length]+S+g:g=S+g}for(b!==0&&(g=b.toString(16)+g);g.length%h!==0;)g="0"+g;return this.negative!==0&&(g="-"+g),g}if(i===(i|0)&&i>=2&&i<=36){var c=Q[i],O=W[i];g="";var z=this.clone();for(z.negative=0;!z.isZero();){var pt=z.modrn(O).toString(i);z=z.idivn(O),z.isZero()?g=pt+g:g=k[c-pt.length]+pt+g}for(this.isZero()&&(g="0"+g);g.length%h!==0;)g="0"+g;return this.negative!==0&&(g="-"+g),g}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var i=this.words[0];return this.length===2?i+=this.words[1]*67108864:this.length===3&&this.words[2]===1?i+=4503599627370496+this.words[1]*67108864:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-i:i},o.prototype.toJSON=function(){return this.toString(16,2)},d&&(o.prototype.toBuffer=function(i,h){return this.toArrayLike(d,i,h)}),o.prototype.toArray=function(i,h){return this.toArrayLike(Array,i,h)};var st=function(i,h){return i.allocUnsafe?i.allocUnsafe(h):new i(h)};o.prototype.toArrayLike=function(i,h,g){this._strip();var v=this.byteLength(),b=g||Math.max(1,v);n(v<=b,"byte array longer than desired length"),n(b>0,"Requested array length <= 0");var F=st(i,b),I=h==="le"?"LE":"BE";return this["_toArrayLike"+I](F,v),F},o.prototype._toArrayLikeLE=function(i,h){for(var g=0,v=0,b=0,F=0;b<this.length;b++){var I=this.words[b]<<F|v;i[g++]=I&255,g<i.length&&(i[g++]=I>>8&255),g<i.length&&(i[g++]=I>>16&255),F===6?(g<i.length&&(i[g++]=I>>24&255),v=0,F=0):(v=I>>>24,F+=2)}if(g<i.length)for(i[g++]=v;g<i.length;)i[g++]=0},o.prototype._toArrayLikeBE=function(i,h){for(var g=i.length-1,v=0,b=0,F=0;b<this.length;b++){var I=this.words[b]<<F|v;i[g--]=I&255,g>=0&&(i[g--]=I>>8&255),g>=0&&(i[g--]=I>>16&255),F===6?(g>=0&&(i[g--]=I>>24&255),v=0,F=0):(v=I>>>24,F+=2)}if(g>=0)for(i[g--]=v;g>=0;)i[g--]=0},Math.clz32?o.prototype._countBits=function(i){return 32-Math.clz32(i)}:o.prototype._countBits=function(i){var h=i,g=0;return h>=4096&&(g+=13,h>>>=13),h>=64&&(g+=7,h>>>=7),h>=8&&(g+=4,h>>>=4),h>=2&&(g+=2,h>>>=2),g+h},o.prototype._zeroBits=function(i){if(i===0)return 26;var h=i,g=0;return(h&8191)===0&&(g+=13,h>>>=13),(h&127)===0&&(g+=7,h>>>=7),(h&15)===0&&(g+=4,h>>>=4),(h&3)===0&&(g+=2,h>>>=2),(h&1)===0&&g++,g},o.prototype.bitLength=function(){var i=this.words[this.length-1],h=this._countBits(i);return(this.length-1)*26+h};function Z(T){for(var i=new Array(T.bitLength()),h=0;h<i.length;h++){var g=h/26|0,v=h%26;i[h]=T.words[g]>>>v&1}return i}o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var i=0,h=0;h<this.length;h++){var g=this._zeroBits(this.words[h]);if(i+=g,g!==26)break}return i},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(i){return this.negative!==0?this.abs().inotn(i).iaddn(1):this.clone()},o.prototype.fromTwos=function(i){return this.testn(i-1)?this.notn(i).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return this.negative!==0},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(i){for(;this.length<i.length;)this.words[this.length++]=0;for(var h=0;h<i.length;h++)this.words[h]=this.words[h]|i.words[h];return this._strip()},o.prototype.ior=function(i){return n((this.negative|i.negative)===0),this.iuor(i)},o.prototype.or=function(i){return this.length>i.length?this.clone().ior(i):i.clone().ior(this)},o.prototype.uor=function(i){return this.length>i.length?this.clone().iuor(i):i.clone().iuor(this)},o.prototype.iuand=function(i){var h;this.length>i.length?h=i:h=this;for(var g=0;g<h.length;g++)this.words[g]=this.words[g]&i.words[g];return this.length=h.length,this._strip()},o.prototype.iand=function(i){return n((this.negative|i.negative)===0),this.iuand(i)},o.prototype.and=function(i){return this.length>i.length?this.clone().iand(i):i.clone().iand(this)},o.prototype.uand=function(i){return this.length>i.length?this.clone().iuand(i):i.clone().iuand(this)},o.prototype.iuxor=function(i){var h,g;this.length>i.length?(h=this,g=i):(h=i,g=this);for(var v=0;v<g.length;v++)this.words[v]=h.words[v]^g.words[v];if(this!==h)for(;v<h.length;v++)this.words[v]=h.words[v];return this.length=h.length,this._strip()},o.prototype.ixor=function(i){return n((this.negative|i.negative)===0),this.iuxor(i)},o.prototype.xor=function(i){return this.length>i.length?this.clone().ixor(i):i.clone().ixor(this)},o.prototype.uxor=function(i){return this.length>i.length?this.clone().iuxor(i):i.clone().iuxor(this)},o.prototype.inotn=function(i){n(typeof i=="number"&&i>=0);var h=Math.ceil(i/26)|0,g=i%26;this._expand(h),g>0&&h--;for(var v=0;v<h;v++)this.words[v]=~this.words[v]&67108863;return g>0&&(this.words[v]=~this.words[v]&67108863>>26-g),this._strip()},o.prototype.notn=function(i){return this.clone().inotn(i)},o.prototype.setn=function(i,h){n(typeof i=="number"&&i>=0);var g=i/26|0,v=i%26;return this._expand(g+1),h?this.words[g]=this.words[g]|1<<v:this.words[g]=this.words[g]&~(1<<v),this._strip()},o.prototype.iadd=function(i){var h;if(this.negative!==0&&i.negative===0)return this.negative=0,h=this.isub(i),this.negative^=1,this._normSign();if(this.negative===0&&i.negative!==0)return i.negative=0,h=this.isub(i),i.negative=1,h._normSign();var g,v;this.length>i.length?(g=this,v=i):(g=i,v=this);for(var b=0,F=0;F<v.length;F++)h=(g.words[F]|0)+(v.words[F]|0)+b,this.words[F]=h&67108863,b=h>>>26;for(;b!==0&&F<g.length;F++)h=(g.words[F]|0)+b,this.words[F]=h&67108863,b=h>>>26;if(this.length=g.length,b!==0)this.words[this.length]=b,this.length++;else if(g!==this)for(;F<g.length;F++)this.words[F]=g.words[F];return this},o.prototype.add=function(i){var h;return i.negative!==0&&this.negative===0?(i.negative=0,h=this.sub(i),i.negative^=1,h):i.negative===0&&this.negative!==0?(this.negative=0,h=i.sub(this),this.negative=1,h):this.length>i.length?this.clone().iadd(i):i.clone().iadd(this)},o.prototype.isub=function(i){if(i.negative!==0){i.negative=0;var h=this.iadd(i);return i.negative=1,h._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(i),this.negative=1,this._normSign();var g=this.cmp(i);if(g===0)return this.negative=0,this.length=1,this.words[0]=0,this;var v,b;g>0?(v=this,b=i):(v=i,b=this);for(var F=0,I=0;I<b.length;I++)h=(v.words[I]|0)-(b.words[I]|0)+F,F=h>>26,this.words[I]=h&67108863;for(;F!==0&&I<v.length;I++)h=(v.words[I]|0)+F,F=h>>26,this.words[I]=h&67108863;if(F===0&&I<v.length&&v!==this)for(;I<v.length;I++)this.words[I]=v.words[I];return this.length=Math.max(this.length,I),v!==this&&(this.negative=1),this._strip()},o.prototype.sub=function(i){return this.clone().isub(i)};function ct(T,i,h){h.negative=i.negative^T.negative;var g=T.length+i.length|0;h.length=g,g=g-1|0;var v=T.words[0]|0,b=i.words[0]|0,F=v*b,I=F&67108863,S=F/67108864|0;h.words[0]=I;for(var c=1;c<g;c++){for(var O=S>>>26,z=S&67108863,pt=Math.min(c,i.length-1),yt=Math.max(0,c-T.length+1);yt<=pt;yt++){var Nt=c-yt|0;v=T.words[Nt]|0,b=i.words[yt]|0,F=v*b+z,O+=F/67108864|0,z=F&67108863}h.words[c]=z|0,S=O|0}return S!==0?h.words[c]=S|0:h.length--,h._strip()}var nt=function(i,h,g){var v=i.words,b=h.words,F=g.words,I=0,S,c,O,z=v[0]|0,pt=z&8191,yt=z>>>13,Nt=v[1]|0,Et=Nt&8191,At=Nt>>>13,E=v[2]|0,A=E&8191,$=E>>>13,V=v[3]|0,U=V&8191,j=V>>>13,tt=v[4]|0,R=tt&8191,L=tt>>>13,X=v[5]|0,H=X&8191,ot=X>>>13,gt=v[6]|0,ht=gt&8191,xt=gt>>>13,It=v[7]|0,_t=It&8191,vt=It>>>13,Ct=v[8]|0,Ot=Ct&8191,m=Ct>>>13,a=v[9]|0,f=a&8191,M=a>>>13,N=b[0]|0,q=N&8191,Y=N>>>13,wt=b[1]|0,St=wt&8191,Bt=wt>>>13,Ut=b[2]|0,bt=Ut&8191,Pt=Ut>>>13,re=b[3]|0,kt=re&8191,qt=re>>>13,ue=b[4]|0,Ht=ue&8191,y=ue>>>13,u=b[5]|0,l=u&8191,B=u>>>13,D=b[6]|0,J=D&8191,rt=D>>>13,Rt=b[7]|0,$t=Rt&8191,Tt=Rt>>>13,Dt=b[8]|0,Mt=Dt&8191,Wt=Dt>>>13,Ci=b[9]|0,Zt=Ci&8191,Jt=Ci>>>13;g.negative=i.negative^h.negative,g.length=19,S=Math.imul(pt,q),c=Math.imul(pt,Y),c=c+Math.imul(yt,q)|0,O=Math.imul(yt,Y);var Qr=(I+S|0)+((c&8191)<<13)|0;I=(O+(c>>>13)|0)+(Qr>>>26)|0,Qr&=67108863,S=Math.imul(Et,q),c=Math.imul(Et,Y),c=c+Math.imul(At,q)|0,O=Math.imul(At,Y),S=S+Math.imul(pt,St)|0,c=c+Math.imul(pt,Bt)|0,c=c+Math.imul(yt,St)|0,O=O+Math.imul(yt,Bt)|0;var tn=(I+S|0)+((c&8191)<<13)|0;I=(O+(c>>>13)|0)+(tn>>>26)|0,tn&=67108863,S=Math.imul(A,q),c=Math.imul(A,Y),c=c+Math.imul($,q)|0,O=Math.imul($,Y),S=S+Math.imul(Et,St)|0,c=c+Math.imul(Et,Bt)|0,c=c+Math.imul(At,St)|0,O=O+Math.imul(At,Bt)|0,S=S+Math.imul(pt,bt)|0,c=c+Math.imul(pt,Pt)|0,c=c+Math.imul(yt,bt)|0,O=O+Math.imul(yt,Pt)|0;var en=(I+S|0)+((c&8191)<<13)|0;I=(O+(c>>>13)|0)+(en>>>26)|0,en&=67108863,S=Math.imul(U,q),c=Math.imul(U,Y),c=c+Math.imul(j,q)|0,O=Math.imul(j,Y),S=S+Math.imul(A,St)|0,c=c+Math.imul(A,Bt)|0,c=c+Math.imul($,St)|0,O=O+Math.imul($,Bt)|0,S=S+Math.imul(Et,bt)|0,c=c+Math.imul(Et,Pt)|0,c=c+Math.imul(At,bt)|0,O=O+Math.imul(At,Pt)|0,S=S+Math.imul(pt,kt)|0,c=c+Math.imul(pt,qt)|0,c=c+Math.imul(yt,kt)|0,O=O+Math.imul(yt,qt)|0;var rn=(I+S|0)+((c&8191)<<13)|0;I=(O+(c>>>13)|0)+(rn>>>26)|0,rn&=67108863,S=Math.imul(R,q),c=Math.imul(R,Y),c=c+Math.imul(L,q)|0,O=Math.imul(L,Y),S=S+Math.imul(U,St)|0,c=c+Math.imul(U,Bt)|0,c=c+Math.imul(j,St)|0,O=O+Math.imul(j,Bt)|0,S=S+Math.imul(A,bt)|0,c=c+Math.imul(A,Pt)|0,c=c+Math.imul($,bt)|0,O=O+Math.imul($,Pt)|0,S=S+Math.imul(Et,kt)|0,c=c+Math.imul(Et,qt)|0,c=c+Math.imul(At,kt)|0,O=O+Math.imul(At,qt)|0,S=S+Math.imul(pt,Ht)|0,c=c+Math.imul(pt,y)|0,c=c+Math.imul(yt,Ht)|0,O=O+Math.imul(yt,y)|0;var nn=(I+S|0)+((c&8191)<<13)|0;I=(O+(c>>>13)|0)+(nn>>>26)|0,nn&=67108863,S=Math.imul(H,q),c=Math.imul(H,Y),c=c+Math.imul(ot,q)|0,O=Math.imul(ot,Y),S=S+Math.imul(R,St)|0,c=c+Math.imul(R,Bt)|0,c=c+Math.imul(L,St)|0,O=O+Math.imul(L,Bt)|0,S=S+Math.imul(U,bt)|0,c=c+Math.imul(U,Pt)|0,c=c+Math.imul(j,bt)|0,O=O+Math.imul(j,Pt)|0,S=S+Math.imul(A,kt)|0,c=c+Math.imul(A,qt)|0,c=c+Math.imul($,kt)|0,O=O+Math.imul($,qt)|0,S=S+Math.imul(Et,Ht)|0,c=c+Math.imul(Et,y)|0,c=c+Math.imul(At,Ht)|0,O=O+Math.imul(At,y)|0,S=S+Math.imul(pt,l)|0,c=c+Math.imul(pt,B)|0,c=c+Math.imul(yt,l)|0,O=O+Math.imul(yt,B)|0;var on=(I+S|0)+((c&8191)<<13)|0;I=(O+(c>>>13)|0)+(on>>>26)|0,on&=67108863,S=Math.imul(ht,q),c=Math.imul(ht,Y),c=c+Math.imul(xt,q)|0,O=Math.imul(xt,Y),S=S+Math.imul(H,St)|0,c=c+Math.imul(H,Bt)|0,c=c+Math.imul(ot,St)|0,O=O+Math.imul(ot,Bt)|0,S=S+Math.imul(R,bt)|0,c=c+Math.imul(R,Pt)|0,c=c+Math.imul(L,bt)|0,O=O+Math.imul(L,Pt)|0,S=S+Math.imul(U,kt)|0,c=c+Math.imul(U,qt)|0,c=c+Math.imul(j,kt)|0,O=O+Math.imul(j,qt)|0,S=S+Math.imul(A,Ht)|0,c=c+Math.imul(A,y)|0,c=c+Math.imul($,Ht)|0,O=O+Math.imul($,y)|0,S=S+Math.imul(Et,l)|0,c=c+Math.imul(Et,B)|0,c=c+Math.imul(At,l)|0,O=O+Math.imul(At,B)|0,S=S+Math.imul(pt,J)|0,c=c+Math.imul(pt,rt)|0,c=c+Math.imul(yt,J)|0,O=O+Math.imul(yt,rt)|0;var sn=(I+S|0)+((c&8191)<<13)|0;I=(O+(c>>>13)|0)+(sn>>>26)|0,sn&=67108863,S=Math.imul(_t,q),c=Math.imul(_t,Y),c=c+Math.imul(vt,q)|0,O=Math.imul(vt,Y),S=S+Math.imul(ht,St)|0,c=c+Math.imul(ht,Bt)|0,c=c+Math.imul(xt,St)|0,O=O+Math.imul(xt,Bt)|0,S=S+Math.imul(H,bt)|0,c=c+Math.imul(H,Pt)|0,c=c+Math.imul(ot,bt)|0,O=O+Math.imul(ot,Pt)|0,S=S+Math.imul(R,kt)|0,c=c+Math.imul(R,qt)|0,c=c+Math.imul(L,kt)|0,O=O+Math.imul(L,qt)|0,S=S+Math.imul(U,Ht)|0,c=c+Math.imul(U,y)|0,c=c+Math.imul(j,Ht)|0,O=O+Math.imul(j,y)|0,S=S+Math.imul(A,l)|0,c=c+Math.imul(A,B)|0,c=c+Math.imul($,l)|0,O=O+Math.imul($,B)|0,S=S+Math.imul(Et,J)|0,c=c+Math.imul(Et,rt)|0,c=c+Math.imul(At,J)|0,O=O+Math.imul(At,rt)|0,S=S+Math.imul(pt,$t)|0,c=c+Math.imul(pt,Tt)|0,c=c+Math.imul(yt,$t)|0,O=O+Math.imul(yt,Tt)|0;var an=(I+S|0)+((c&8191)<<13)|0;I=(O+(c>>>13)|0)+(an>>>26)|0,an&=67108863,S=Math.imul(Ot,q),c=Math.imul(Ot,Y),c=c+Math.imul(m,q)|0,O=Math.imul(m,Y),S=S+Math.imul(_t,St)|0,c=c+Math.imul(_t,Bt)|0,c=c+Math.imul(vt,St)|0,O=O+Math.imul(vt,Bt)|0,S=S+Math.imul(ht,bt)|0,c=c+Math.imul(ht,Pt)|0,c=c+Math.imul(xt,bt)|0,O=O+Math.imul(xt,Pt)|0,S=S+Math.imul(H,kt)|0,c=c+Math.imul(H,qt)|0,c=c+Math.imul(ot,kt)|0,O=O+Math.imul(ot,qt)|0,S=S+Math.imul(R,Ht)|0,c=c+Math.imul(R,y)|0,c=c+Math.imul(L,Ht)|0,O=O+Math.imul(L,y)|0,S=S+Math.imul(U,l)|0,c=c+Math.imul(U,B)|0,c=c+Math.imul(j,l)|0,O=O+Math.imul(j,B)|0,S=S+Math.imul(A,J)|0,c=c+Math.imul(A,rt)|0,c=c+Math.imul($,J)|0,O=O+Math.imul($,rt)|0,S=S+Math.imul(Et,$t)|0,c=c+Math.imul(Et,Tt)|0,c=c+Math.imul(At,$t)|0,O=O+Math.imul(At,Tt)|0,S=S+Math.imul(pt,Mt)|0,c=c+Math.imul(pt,Wt)|0,c=c+Math.imul(yt,Mt)|0,O=O+Math.imul(yt,Wt)|0;var un=(I+S|0)+((c&8191)<<13)|0;I=(O+(c>>>13)|0)+(un>>>26)|0,un&=67108863,S=Math.imul(f,q),c=Math.imul(f,Y),c=c+Math.imul(M,q)|0,O=Math.imul(M,Y),S=S+Math.imul(Ot,St)|0,c=c+Math.imul(Ot,Bt)|0,c=c+Math.imul(m,St)|0,O=O+Math.imul(m,Bt)|0,S=S+Math.imul(_t,bt)|0,c=c+Math.imul(_t,Pt)|0,c=c+Math.imul(vt,bt)|0,O=O+Math.imul(vt,Pt)|0,S=S+Math.imul(ht,kt)|0,c=c+Math.imul(ht,qt)|0,c=c+Math.imul(xt,kt)|0,O=O+Math.imul(xt,qt)|0,S=S+Math.imul(H,Ht)|0,c=c+Math.imul(H,y)|0,c=c+Math.imul(ot,Ht)|0,O=O+Math.imul(ot,y)|0,S=S+Math.imul(R,l)|0,c=c+Math.imul(R,B)|0,c=c+Math.imul(L,l)|0,O=O+Math.imul(L,B)|0,S=S+Math.imul(U,J)|0,c=c+Math.imul(U,rt)|0,c=c+Math.imul(j,J)|0,O=O+Math.imul(j,rt)|0,S=S+Math.imul(A,$t)|0,c=c+Math.imul(A,Tt)|0,c=c+Math.imul($,$t)|0,O=O+Math.imul($,Tt)|0,S=S+Math.imul(Et,Mt)|0,c=c+Math.imul(Et,Wt)|0,c=c+Math.imul(At,Mt)|0,O=O+Math.imul(At,Wt)|0,S=S+Math.imul(pt,Zt)|0,c=c+Math.imul(pt,Jt)|0,c=c+Math.imul(yt,Zt)|0,O=O+Math.imul(yt,Jt)|0;var fn=(I+S|0)+((c&8191)<<13)|0;I=(O+(c>>>13)|0)+(fn>>>26)|0,fn&=67108863,S=Math.imul(f,St),c=Math.imul(f,Bt),c=c+Math.imul(M,St)|0,O=Math.imul(M,Bt),S=S+Math.imul(Ot,bt)|0,c=c+Math.imul(Ot,Pt)|0,c=c+Math.imul(m,bt)|0,O=O+Math.imul(m,Pt)|0,S=S+Math.imul(_t,kt)|0,c=c+Math.imul(_t,qt)|0,c=c+Math.imul(vt,kt)|0,O=O+Math.imul(vt,qt)|0,S=S+Math.imul(ht,Ht)|0,c=c+Math.imul(ht,y)|0,c=c+Math.imul(xt,Ht)|0,O=O+Math.imul(xt,y)|0,S=S+Math.imul(H,l)|0,c=c+Math.imul(H,B)|0,c=c+Math.imul(ot,l)|0,O=O+Math.imul(ot,B)|0,S=S+Math.imul(R,J)|0,c=c+Math.imul(R,rt)|0,c=c+Math.imul(L,J)|0,O=O+Math.imul(L,rt)|0,S=S+Math.imul(U,$t)|0,c=c+Math.imul(U,Tt)|0,c=c+Math.imul(j,$t)|0,O=O+Math.imul(j,Tt)|0,S=S+Math.imul(A,Mt)|0,c=c+Math.imul(A,Wt)|0,c=c+Math.imul($,Mt)|0,O=O+Math.imul($,Wt)|0,S=S+Math.imul(Et,Zt)|0,c=c+Math.imul(Et,Jt)|0,c=c+Math.imul(At,Zt)|0,O=O+Math.imul(At,Jt)|0;var ln=(I+S|0)+((c&8191)<<13)|0;I=(O+(c>>>13)|0)+(ln>>>26)|0,ln&=67108863,S=Math.imul(f,bt),c=Math.imul(f,Pt),c=c+Math.imul(M,bt)|0,O=Math.imul(M,Pt),S=S+Math.imul(Ot,kt)|0,c=c+Math.imul(Ot,qt)|0,c=c+Math.imul(m,kt)|0,O=O+Math.imul(m,qt)|0,S=S+Math.imul(_t,Ht)|0,c=c+Math.imul(_t,y)|0,c=c+Math.imul(vt,Ht)|0,O=O+Math.imul(vt,y)|0,S=S+Math.imul(ht,l)|0,c=c+Math.imul(ht,B)|0,c=c+Math.imul(xt,l)|0,O=O+Math.imul(xt,B)|0,S=S+Math.imul(H,J)|0,c=c+Math.imul(H,rt)|0,c=c+Math.imul(ot,J)|0,O=O+Math.imul(ot,rt)|0,S=S+Math.imul(R,$t)|0,c=c+Math.imul(R,Tt)|0,c=c+Math.imul(L,$t)|0,O=O+Math.imul(L,Tt)|0,S=S+Math.imul(U,Mt)|0,c=c+Math.imul(U,Wt)|0,c=c+Math.imul(j,Mt)|0,O=O+Math.imul(j,Wt)|0,S=S+Math.imul(A,Zt)|0,c=c+Math.imul(A,Jt)|0,c=c+Math.imul($,Zt)|0,O=O+Math.imul($,Jt)|0;var cn=(I+S|0)+((c&8191)<<13)|0;I=(O+(c>>>13)|0)+(cn>>>26)|0,cn&=67108863,S=Math.imul(f,kt),c=Math.imul(f,qt),c=c+Math.imul(M,kt)|0,O=Math.imul(M,qt),S=S+Math.imul(Ot,Ht)|0,c=c+Math.imul(Ot,y)|0,c=c+Math.imul(m,Ht)|0,O=O+Math.imul(m,y)|0,S=S+Math.imul(_t,l)|0,c=c+Math.imul(_t,B)|0,c=c+Math.imul(vt,l)|0,O=O+Math.imul(vt,B)|0,S=S+Math.imul(ht,J)|0,c=c+Math.imul(ht,rt)|0,c=c+Math.imul(xt,J)|0,O=O+Math.imul(xt,rt)|0,S=S+Math.imul(H,$t)|0,c=c+Math.imul(H,Tt)|0,c=c+Math.imul(ot,$t)|0,O=O+Math.imul(ot,Tt)|0,S=S+Math.imul(R,Mt)|0,c=c+Math.imul(R,Wt)|0,c=c+Math.imul(L,Mt)|0,O=O+Math.imul(L,Wt)|0,S=S+Math.imul(U,Zt)|0,c=c+Math.imul(U,Jt)|0,c=c+Math.imul(j,Zt)|0,O=O+Math.imul(j,Jt)|0;var hn=(I+S|0)+((c&8191)<<13)|0;I=(O+(c>>>13)|0)+(hn>>>26)|0,hn&=67108863,S=Math.imul(f,Ht),c=Math.imul(f,y),c=c+Math.imul(M,Ht)|0,O=Math.imul(M,y),S=S+Math.imul(Ot,l)|0,c=c+Math.imul(Ot,B)|0,c=c+Math.imul(m,l)|0,O=O+Math.imul(m,B)|0,S=S+Math.imul(_t,J)|0,c=c+Math.imul(_t,rt)|0,c=c+Math.imul(vt,J)|0,O=O+Math.imul(vt,rt)|0,S=S+Math.imul(ht,$t)|0,c=c+Math.imul(ht,Tt)|0,c=c+Math.imul(xt,$t)|0,O=O+Math.imul(xt,Tt)|0,S=S+Math.imul(H,Mt)|0,c=c+Math.imul(H,Wt)|0,c=c+Math.imul(ot,Mt)|0,O=O+Math.imul(ot,Wt)|0,S=S+Math.imul(R,Zt)|0,c=c+Math.imul(R,Jt)|0,c=c+Math.imul(L,Zt)|0,O=O+Math.imul(L,Jt)|0;var dn=(I+S|0)+((c&8191)<<13)|0;I=(O+(c>>>13)|0)+(dn>>>26)|0,dn&=67108863,S=Math.imul(f,l),c=Math.imul(f,B),c=c+Math.imul(M,l)|0,O=Math.imul(M,B),S=S+Math.imul(Ot,J)|0,c=c+Math.imul(Ot,rt)|0,c=c+Math.imul(m,J)|0,O=O+Math.imul(m,rt)|0,S=S+Math.imul(_t,$t)|0,c=c+Math.imul(_t,Tt)|0,c=c+Math.imul(vt,$t)|0,O=O+Math.imul(vt,Tt)|0,S=S+Math.imul(ht,Mt)|0,c=c+Math.imul(ht,Wt)|0,c=c+Math.imul(xt,Mt)|0,O=O+Math.imul(xt,Wt)|0,S=S+Math.imul(H,Zt)|0,c=c+Math.imul(H,Jt)|0,c=c+Math.imul(ot,Zt)|0,O=O+Math.imul(ot,Jt)|0;var pn=(I+S|0)+((c&8191)<<13)|0;I=(O+(c>>>13)|0)+(pn>>>26)|0,pn&=67108863,S=Math.imul(f,J),c=Math.imul(f,rt),c=c+Math.imul(M,J)|0,O=Math.imul(M,rt),S=S+Math.imul(Ot,$t)|0,c=c+Math.imul(Ot,Tt)|0,c=c+Math.imul(m,$t)|0,O=O+Math.imul(m,Tt)|0,S=S+Math.imul(_t,Mt)|0,c=c+Math.imul(_t,Wt)|0,c=c+Math.imul(vt,Mt)|0,O=O+Math.imul(vt,Wt)|0,S=S+Math.imul(ht,Zt)|0,c=c+Math.imul(ht,Jt)|0,c=c+Math.imul(xt,Zt)|0,O=O+Math.imul(xt,Jt)|0;var gn=(I+S|0)+((c&8191)<<13)|0;I=(O+(c>>>13)|0)+(gn>>>26)|0,gn&=67108863,S=Math.imul(f,$t),c=Math.imul(f,Tt),c=c+Math.imul(M,$t)|0,O=Math.imul(M,Tt),S=S+Math.imul(Ot,Mt)|0,c=c+Math.imul(Ot,Wt)|0,c=c+Math.imul(m,Mt)|0,O=O+Math.imul(m,Wt)|0,S=S+Math.imul(_t,Zt)|0,c=c+Math.imul(_t,Jt)|0,c=c+Math.imul(vt,Zt)|0,O=O+Math.imul(vt,Jt)|0;var mn=(I+S|0)+((c&8191)<<13)|0;I=(O+(c>>>13)|0)+(mn>>>26)|0,mn&=67108863,S=Math.imul(f,Mt),c=Math.imul(f,Wt),c=c+Math.imul(M,Mt)|0,O=Math.imul(M,Wt),S=S+Math.imul(Ot,Zt)|0,c=c+Math.imul(Ot,Jt)|0,c=c+Math.imul(m,Zt)|0,O=O+Math.imul(m,Jt)|0;var yn=(I+S|0)+((c&8191)<<13)|0;I=(O+(c>>>13)|0)+(yn>>>26)|0,yn&=67108863,S=Math.imul(f,Zt),c=Math.imul(f,Jt),c=c+Math.imul(M,Zt)|0,O=Math.imul(M,Jt);var wn=(I+S|0)+((c&8191)<<13)|0;return I=(O+(c>>>13)|0)+(wn>>>26)|0,wn&=67108863,F[0]=Qr,F[1]=tn,F[2]=en,F[3]=rn,F[4]=nn,F[5]=on,F[6]=sn,F[7]=an,F[8]=un,F[9]=fn,F[10]=ln,F[11]=cn,F[12]=hn,F[13]=dn,F[14]=pn,F[15]=gn,F[16]=mn,F[17]=yn,F[18]=wn,I!==0&&(F[19]=I,g.length++),g};Math.imul||(nt=ct);function at(T,i,h){h.negative=i.negative^T.negative,h.length=T.length+i.length;for(var g=0,v=0,b=0;b<h.length-1;b++){var F=v;v=0;for(var I=g&67108863,S=Math.min(b,i.length-1),c=Math.max(0,b-T.length+1);c<=S;c++){var O=b-c,z=T.words[O]|0,pt=i.words[c]|0,yt=z*pt,Nt=yt&67108863;F=F+(yt/67108864|0)|0,Nt=Nt+I|0,I=Nt&67108863,F=F+(Nt>>>26)|0,v+=F>>>26,F&=67108863}h.words[b]=I,g=F,F=v}return g!==0?h.words[b]=g:h.length--,h._strip()}function dt(T,i,h){return at(T,i,h)}o.prototype.mulTo=function(i,h){var g,v=this.length+i.length;return this.length===10&&i.length===10?g=nt(this,i,h):v<63?g=ct(this,i,h):v<1024?g=at(this,i,h):g=dt(this,i,h),g},o.prototype.mul=function(i){var h=new o(null);return h.words=new Array(this.length+i.length),this.mulTo(i,h)},o.prototype.mulf=function(i){var h=new o(null);return h.words=new Array(this.length+i.length),dt(this,i,h)},o.prototype.imul=function(i){return this.clone().mulTo(i,this)},o.prototype.imuln=function(i){var h=i<0;h&&(i=-i),n(typeof i=="number"),n(i<67108864);for(var g=0,v=0;v<this.length;v++){var b=(this.words[v]|0)*i,F=(b&67108863)+(g&67108863);g>>=26,g+=b/67108864|0,g+=F>>>26,this.words[v]=F&67108863}return g!==0&&(this.words[v]=g,this.length++),this.length=i===0?1:this.length,h?this.ineg():this},o.prototype.muln=function(i){return this.clone().imuln(i)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(i){var h=Z(i);if(h.length===0)return new o(1);for(var g=this,v=0;v<h.length&&h[v]===0;v++,g=g.sqr());if(++v<h.length)for(var b=g.sqr();v<h.length;v++,b=b.sqr())h[v]!==0&&(g=g.mul(b));return g},o.prototype.iushln=function(i){n(typeof i=="number"&&i>=0);var h=i%26,g=(i-h)/26,v=67108863>>>26-h<<26-h,b;if(h!==0){var F=0;for(b=0;b<this.length;b++){var I=this.words[b]&v,S=(this.words[b]|0)-I<<h;this.words[b]=S|F,F=I>>>26-h}F&&(this.words[b]=F,this.length++)}if(g!==0){for(b=this.length-1;b>=0;b--)this.words[b+g]=this.words[b];for(b=0;b<g;b++)this.words[b]=0;this.length+=g}return this._strip()},o.prototype.ishln=function(i){return n(this.negative===0),this.iushln(i)},o.prototype.iushrn=function(i,h,g){n(typeof i=="number"&&i>=0);var v;h?v=(h-h%26)/26:v=0;var b=i%26,F=Math.min((i-b)/26,this.length),I=67108863^67108863>>>b<<b,S=g;if(v-=F,v=Math.max(0,v),S){for(var c=0;c<F;c++)S.words[c]=this.words[c];S.length=F}if(F!==0)if(this.length>F)for(this.length-=F,c=0;c<this.length;c++)this.words[c]=this.words[c+F];else this.words[0]=0,this.length=1;var O=0;for(c=this.length-1;c>=0&&(O!==0||c>=v);c--){var z=this.words[c]|0;this.words[c]=O<<26-b|z>>>b,O=z&I}return S&&O!==0&&(S.words[S.length++]=O),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(i,h,g){return n(this.negative===0),this.iushrn(i,h,g)},o.prototype.shln=function(i){return this.clone().ishln(i)},o.prototype.ushln=function(i){return this.clone().iushln(i)},o.prototype.shrn=function(i){return this.clone().ishrn(i)},o.prototype.ushrn=function(i){return this.clone().iushrn(i)},o.prototype.testn=function(i){n(typeof i=="number"&&i>=0);var h=i%26,g=(i-h)/26,v=1<<h;if(this.length<=g)return!1;var b=this.words[g];return!!(b&v)},o.prototype.imaskn=function(i){n(typeof i=="number"&&i>=0);var h=i%26,g=(i-h)/26;if(n(this.negative===0,"imaskn works only with positive numbers"),this.length<=g)return this;if(h!==0&&g++,this.length=Math.min(g,this.length),h!==0){var v=67108863^67108863>>>h<<h;this.words[this.length-1]&=v}return this._strip()},o.prototype.maskn=function(i){return this.clone().imaskn(i)},o.prototype.iaddn=function(i){return n(typeof i=="number"),n(i<67108864),i<0?this.isubn(-i):this.negative!==0?this.length===1&&(this.words[0]|0)<=i?(this.words[0]=i-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(i),this.negative=1,this):this._iaddn(i)},o.prototype._iaddn=function(i){this.words[0]+=i;for(var h=0;h<this.length&&this.words[h]>=67108864;h++)this.words[h]-=67108864,h===this.length-1?this.words[h+1]=1:this.words[h+1]++;return this.length=Math.max(this.length,h+1),this},o.prototype.isubn=function(i){if(n(typeof i=="number"),n(i<67108864),i<0)return this.iaddn(-i);if(this.negative!==0)return this.negative=0,this.iaddn(i),this.negative=1,this;if(this.words[0]-=i,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var h=0;h<this.length&&this.words[h]<0;h++)this.words[h]+=67108864,this.words[h+1]-=1;return this._strip()},o.prototype.addn=function(i){return this.clone().iaddn(i)},o.prototype.subn=function(i){return this.clone().isubn(i)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(i,h,g){var v=i.length+g,b;this._expand(v);var F,I=0;for(b=0;b<i.length;b++){F=(this.words[b+g]|0)+I;var S=(i.words[b]|0)*h;F-=S&67108863,I=(F>>26)-(S/67108864|0),this.words[b+g]=F&67108863}for(;b<this.length-g;b++)F=(this.words[b+g]|0)+I,I=F>>26,this.words[b+g]=F&67108863;if(I===0)return this._strip();for(n(I===-1),I=0,b=0;b<this.length;b++)F=-(this.words[b]|0)+I,I=F>>26,this.words[b]=F&67108863;return this.negative=1,this._strip()},o.prototype._wordDiv=function(i,h){var g=this.length-i.length,v=this.clone(),b=i,F=b.words[b.length-1]|0,I=this._countBits(F);g=26-I,g!==0&&(b=b.ushln(g),v.iushln(g),F=b.words[b.length-1]|0);var S=v.length-b.length,c;if(h!=="mod"){c=new o(null),c.length=S+1,c.words=new Array(c.length);for(var O=0;O<c.length;O++)c.words[O]=0}var z=v.clone()._ishlnsubmul(b,1,S);z.negative===0&&(v=z,c&&(c.words[S]=1));for(var pt=S-1;pt>=0;pt--){var yt=(v.words[b.length+pt]|0)*67108864+(v.words[b.length+pt-1]|0);for(yt=Math.min(yt/F|0,67108863),v._ishlnsubmul(b,yt,pt);v.negative!==0;)yt--,v.negative=0,v._ishlnsubmul(b,1,pt),v.isZero()||(v.negative^=1);c&&(c.words[pt]=yt)}return c&&c._strip(),v._strip(),h!=="div"&&g!==0&&v.iushrn(g),{div:c||null,mod:v}},o.prototype.divmod=function(i,h,g){if(n(!i.isZero()),this.isZero())return{div:new o(0),mod:new o(0)};var v,b,F;return this.negative!==0&&i.negative===0?(F=this.neg().divmod(i,h),h!=="mod"&&(v=F.div.neg()),h!=="div"&&(b=F.mod.neg(),g&&b.negative!==0&&b.iadd(i)),{div:v,mod:b}):this.negative===0&&i.negative!==0?(F=this.divmod(i.neg(),h),h!=="mod"&&(v=F.div.neg()),{div:v,mod:F.mod}):(this.negative&i.negative)!==0?(F=this.neg().divmod(i.neg(),h),h!=="div"&&(b=F.mod.neg(),g&&b.negative!==0&&b.isub(i)),{div:F.div,mod:b}):i.length>this.length||this.cmp(i)<0?{div:new o(0),mod:this}:i.length===1?h==="div"?{div:this.divn(i.words[0]),mod:null}:h==="mod"?{div:null,mod:new o(this.modrn(i.words[0]))}:{div:this.divn(i.words[0]),mod:new o(this.modrn(i.words[0]))}:this._wordDiv(i,h)},o.prototype.div=function(i){return this.divmod(i,"div",!1).div},o.prototype.mod=function(i){return this.divmod(i,"mod",!1).mod},o.prototype.umod=function(i){return this.divmod(i,"mod",!0).mod},o.prototype.divRound=function(i){var h=this.divmod(i);if(h.mod.isZero())return h.div;var g=h.div.negative!==0?h.mod.isub(i):h.mod,v=i.ushrn(1),b=i.andln(1),F=g.cmp(v);return F<0||b===1&&F===0?h.div:h.div.negative!==0?h.div.isubn(1):h.div.iaddn(1)},o.prototype.modrn=function(i){var h=i<0;h&&(i=-i),n(i<=67108863);for(var g=(1<<26)%i,v=0,b=this.length-1;b>=0;b--)v=(g*v+(this.words[b]|0))%i;return h?-v:v},o.prototype.modn=function(i){return this.modrn(i)},o.prototype.idivn=function(i){var h=i<0;h&&(i=-i),n(i<=67108863);for(var g=0,v=this.length-1;v>=0;v--){var b=(this.words[v]|0)+g*67108864;this.words[v]=b/i|0,g=b%i}return this._strip(),h?this.ineg():this},o.prototype.divn=function(i){return this.clone().idivn(i)},o.prototype.egcd=function(i){n(i.negative===0),n(!i.isZero());var h=this,g=i.clone();h.negative!==0?h=h.umod(i):h=h.clone();for(var v=new o(1),b=new o(0),F=new o(0),I=new o(1),S=0;h.isEven()&&g.isEven();)h.iushrn(1),g.iushrn(1),++S;for(var c=g.clone(),O=h.clone();!h.isZero();){for(var z=0,pt=1;(h.words[0]&pt)===0&&z<26;++z,pt<<=1);if(z>0)for(h.iushrn(z);z-- >0;)(v.isOdd()||b.isOdd())&&(v.iadd(c),b.isub(O)),v.iushrn(1),b.iushrn(1);for(var yt=0,Nt=1;(g.words[0]&Nt)===0&&yt<26;++yt,Nt<<=1);if(yt>0)for(g.iushrn(yt);yt-- >0;)(F.isOdd()||I.isOdd())&&(F.iadd(c),I.isub(O)),F.iushrn(1),I.iushrn(1);h.cmp(g)>=0?(h.isub(g),v.isub(F),b.isub(I)):(g.isub(h),F.isub(v),I.isub(b))}return{a:F,b:I,gcd:g.iushln(S)}},o.prototype._invmp=function(i){n(i.negative===0),n(!i.isZero());var h=this,g=i.clone();h.negative!==0?h=h.umod(i):h=h.clone();for(var v=new o(1),b=new o(0),F=g.clone();h.cmpn(1)>0&&g.cmpn(1)>0;){for(var I=0,S=1;(h.words[0]&S)===0&&I<26;++I,S<<=1);if(I>0)for(h.iushrn(I);I-- >0;)v.isOdd()&&v.iadd(F),v.iushrn(1);for(var c=0,O=1;(g.words[0]&O)===0&&c<26;++c,O<<=1);if(c>0)for(g.iushrn(c);c-- >0;)b.isOdd()&&b.iadd(F),b.iushrn(1);h.cmp(g)>=0?(h.isub(g),v.isub(b)):(g.isub(h),b.isub(v))}var z;return h.cmpn(1)===0?z=v:z=b,z.cmpn(0)<0&&z.iadd(i),z},o.prototype.gcd=function(i){if(this.isZero())return i.abs();if(i.isZero())return this.abs();var h=this.clone(),g=i.clone();h.negative=0,g.negative=0;for(var v=0;h.isEven()&&g.isEven();v++)h.iushrn(1),g.iushrn(1);do{for(;h.isEven();)h.iushrn(1);for(;g.isEven();)g.iushrn(1);var b=h.cmp(g);if(b<0){var F=h;h=g,g=F}else if(b===0||g.cmpn(1)===0)break;h.isub(g)}while(!0);return g.iushln(v)},o.prototype.invm=function(i){return this.egcd(i).a.umod(i)},o.prototype.isEven=function(){return(this.words[0]&1)===0},o.prototype.isOdd=function(){return(this.words[0]&1)===1},o.prototype.andln=function(i){return this.words[0]&i},o.prototype.bincn=function(i){n(typeof i=="number");var h=i%26,g=(i-h)/26,v=1<<h;if(this.length<=g)return this._expand(g+1),this.words[g]|=v,this;for(var b=v,F=g;b!==0&&F<this.length;F++){var I=this.words[F]|0;I+=b,b=I>>>26,I&=67108863,this.words[F]=I}return b!==0&&(this.words[F]=b,this.length++),this},o.prototype.isZero=function(){return this.length===1&&this.words[0]===0},o.prototype.cmpn=function(i){var h=i<0;if(this.negative!==0&&!h)return-1;if(this.negative===0&&h)return 1;this._strip();var g;if(this.length>1)g=1;else{h&&(i=-i),n(i<=67108863,"Number is too big");var v=this.words[0]|0;g=v===i?0:v<i?-1:1}return this.negative!==0?-g|0:g},o.prototype.cmp=function(i){if(this.negative!==0&&i.negative===0)return-1;if(this.negative===0&&i.negative!==0)return 1;var h=this.ucmp(i);return this.negative!==0?-h|0:h},o.prototype.ucmp=function(i){if(this.length>i.length)return 1;if(this.length<i.length)return-1;for(var h=0,g=this.length-1;g>=0;g--){var v=this.words[g]|0,b=i.words[g]|0;if(v!==b){v<b?h=-1:v>b&&(h=1);break}}return h},o.prototype.gtn=function(i){return this.cmpn(i)===1},o.prototype.gt=function(i){return this.cmp(i)===1},o.prototype.gten=function(i){return this.cmpn(i)>=0},o.prototype.gte=function(i){return this.cmp(i)>=0},o.prototype.ltn=function(i){return this.cmpn(i)===-1},o.prototype.lt=function(i){return this.cmp(i)===-1},o.prototype.lten=function(i){return this.cmpn(i)<=0},o.prototype.lte=function(i){return this.cmp(i)<=0},o.prototype.eqn=function(i){return this.cmpn(i)===0},o.prototype.eq=function(i){return this.cmp(i)===0},o.red=function(i){return new lt(i)},o.prototype.toRed=function(i){return n(!this.red,"Already a number in reduction context"),n(this.negative===0,"red works only with positives"),i.convertTo(this)._forceRed(i)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(i){return this.red=i,this},o.prototype.forceRed=function(i){return n(!this.red,"Already a number in reduction context"),this._forceRed(i)},o.prototype.redAdd=function(i){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},o.prototype.redIAdd=function(i){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},o.prototype.redSub=function(i){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},o.prototype.redISub=function(i){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},o.prototype.redShl=function(i){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},o.prototype.redMul=function(i){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},o.prototype.redIMul=function(i){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(i){return n(this.red&&!i.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,i)};var ft={k256:null,p224:null,p192:null,p25519:null};function K(T,i){this.name=T,this.p=new o(i,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}K.prototype._tmp=function(){var i=new o(null);return i.words=new Array(Math.ceil(this.n/13)),i},K.prototype.ireduce=function(i){var h=i,g;do this.split(h,this.tmp),h=this.imulK(h),h=h.iadd(this.tmp),g=h.bitLength();while(g>this.n);var v=g<this.n?-1:h.ucmp(this.p);return v===0?(h.words[0]=0,h.length=1):v>0?h.isub(this.p):h.strip!==void 0?h.strip():h._strip(),h},K.prototype.split=function(i,h){i.iushrn(this.n,0,h)},K.prototype.imulK=function(i){return i.imul(this.k)};function G(){K.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}s(G,K),G.prototype.split=function(i,h){for(var g=4194303,v=Math.min(i.length,9),b=0;b<v;b++)h.words[b]=i.words[b];if(h.length=v,i.length<=9){i.words[0]=0,i.length=1;return}var F=i.words[9];for(h.words[h.length++]=F&g,b=10;b<i.length;b++){var I=i.words[b]|0;i.words[b-10]=(I&g)<<4|F>>>22,F=I}F>>>=22,i.words[b-10]=F,F===0&&i.length>10?i.length-=10:i.length-=9},G.prototype.imulK=function(i){i.words[i.length]=0,i.words[i.length+1]=0,i.length+=2;for(var h=0,g=0;g<i.length;g++){var v=i.words[g]|0;h+=v*977,i.words[g]=h&67108863,h=v*64+(h/67108864|0)}return i.words[i.length-1]===0&&(i.length--,i.words[i.length-1]===0&&i.length--),i};function ut(){K.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}s(ut,K);function mt(){K.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}s(mt,K);function it(){K.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}s(it,K),it.prototype.imulK=function(i){for(var h=0,g=0;g<i.length;g++){var v=(i.words[g]|0)*19+h,b=v&67108863;v>>>=26,i.words[g]=b,h=v}return h!==0&&(i.words[i.length++]=h),i},o._prime=function(i){if(ft[i])return ft[i];var h;if(i==="k256")h=new G;else if(i==="p224")h=new ut;else if(i==="p192")h=new mt;else if(i==="p25519")h=new it;else throw new Error("Unknown prime "+i);return ft[i]=h,h};function lt(T){if(typeof T=="string"){var i=o._prime(T);this.m=i.p,this.prime=i}else n(T.gtn(1),"modulus must be greater than 1"),this.m=T,this.prime=null}lt.prototype._verify1=function(i){n(i.negative===0,"red works only with positives"),n(i.red,"red works only with red numbers")},lt.prototype._verify2=function(i,h){n((i.negative|h.negative)===0,"red works only with positives"),n(i.red&&i.red===h.red,"red works only with red numbers")},lt.prototype.imod=function(i){return this.prime?this.prime.ireduce(i)._forceRed(this):(p(i,i.umod(this.m)._forceRed(this)),i)},lt.prototype.neg=function(i){return i.isZero()?i.clone():this.m.sub(i)._forceRed(this)},lt.prototype.add=function(i,h){this._verify2(i,h);var g=i.add(h);return g.cmp(this.m)>=0&&g.isub(this.m),g._forceRed(this)},lt.prototype.iadd=function(i,h){this._verify2(i,h);var g=i.iadd(h);return g.cmp(this.m)>=0&&g.isub(this.m),g},lt.prototype.sub=function(i,h){this._verify2(i,h);var g=i.sub(h);return g.cmpn(0)<0&&g.iadd(this.m),g._forceRed(this)},lt.prototype.isub=function(i,h){this._verify2(i,h);var g=i.isub(h);return g.cmpn(0)<0&&g.iadd(this.m),g},lt.prototype.shl=function(i,h){return this._verify1(i),this.imod(i.ushln(h))},lt.prototype.imul=function(i,h){return this._verify2(i,h),this.imod(i.imul(h))},lt.prototype.mul=function(i,h){return this._verify2(i,h),this.imod(i.mul(h))},lt.prototype.isqr=function(i){return this.imul(i,i.clone())},lt.prototype.sqr=function(i){return this.mul(i,i)},lt.prototype.sqrt=function(i){if(i.isZero())return i.clone();var h=this.m.andln(3);if(n(h%2===1),h===3){var g=this.m.add(new o(1)).iushrn(2);return this.pow(i,g)}for(var v=this.m.subn(1),b=0;!v.isZero()&&v.andln(1)===0;)b++,v.iushrn(1);n(!v.isZero());var F=new o(1).toRed(this),I=F.redNeg(),S=this.m.subn(1).iushrn(1),c=this.m.bitLength();for(c=new o(2*c*c).toRed(this);this.pow(c,S).cmp(I)!==0;)c.redIAdd(I);for(var O=this.pow(c,v),z=this.pow(i,v.addn(1).iushrn(1)),pt=this.pow(i,v),yt=b;pt.cmp(F)!==0;){for(var Nt=pt,Et=0;Nt.cmp(F)!==0;Et++)Nt=Nt.redSqr();n(Et<yt);var At=this.pow(O,new o(1).iushln(yt-Et-1));z=z.redMul(At),O=At.redSqr(),pt=pt.redMul(O),yt=Et}return z},lt.prototype.invm=function(i){var h=i._invmp(this.m);return h.negative!==0?(h.negative=0,this.imod(h).redNeg()):this.imod(h)},lt.prototype.pow=function(i,h){if(h.isZero())return new o(1).toRed(this);if(h.cmpn(1)===0)return i.clone();var g=4,v=new Array(1<<g);v[0]=new o(1).toRed(this),v[1]=i;for(var b=2;b<v.length;b++)v[b]=this.mul(v[b-1],i);var F=v[0],I=0,S=0,c=h.bitLength()%26;for(c===0&&(c=26),b=h.length-1;b>=0;b--){for(var O=h.words[b],z=c-1;z>=0;z--){var pt=O>>z&1;if(F!==v[0]&&(F=this.sqr(F)),pt===0&&I===0){S=0;continue}I<<=1,I|=pt,S++,!(S!==g&&(b!==0||z!==0))&&(F=this.mul(F,v[I]),S=0,I=0)}c=26}return F},lt.prototype.convertTo=function(i){var h=i.umod(this.m);return h===i?h.clone():h},lt.prototype.convertFrom=function(i){var h=i.clone();return h.red=null,h},o.mont=function(i){return new P(i)};function P(T){lt.call(this,T),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}s(P,lt),P.prototype.convertTo=function(i){return this.imod(i.ushln(this.shift))},P.prototype.convertFrom=function(i){var h=this.imod(i.mul(this.rinv));return h.red=null,h},P.prototype.imul=function(i,h){if(i.isZero()||h.isZero())return i.words[0]=0,i.length=1,i;var g=i.imul(h),v=g.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),b=g.isub(v).iushrn(this.shift),F=b;return b.cmp(this.m)>=0?F=b.isub(this.m):b.cmpn(0)<0&&(F=b.iadd(this.m)),F._forceRed(this)},P.prototype.mul=function(i,h){if(i.isZero()||h.isZero())return new o(0)._forceRed(this);var g=i.mul(h),v=g.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),b=g.isub(v).iushrn(this.shift),F=b;return b.cmp(this.m)>=0?F=b.isub(this.m):b.cmpn(0)<0&&(F=b.iadd(this.m)),F._forceRed(this)},P.prototype.invm=function(i){var h=this.imod(i._invmp(this.m).mul(this.r2));return h._forceRed(this)}})(t,Qg)}(Or)),Or.exports}function t1(t,e){return kr(t,e)}const fw=Object.freeze(Object.defineProperty({__proto__:null,default:t1},Symbol.toStringTag,{value:"Module"}));function e1(t,e){return Ss(t,e,function(r,n){return Ms(t,n)})}var r1=Ds(function(t,e){return t==null?{}:e1(t,e)});const lw=Object.freeze(Object.defineProperty({__proto__:null,default:r1},Symbol.toStringTag,{value:"Module"}));var br={exports:{}},Tn,Io;function n1(){if(Io)return Tn;Io=1;var t=1e3,e=t*60,r=e*60,n=r*24,s=n*7,o=n*365.25;Tn=function(p,C){C=C||{};var k=typeof p;if(k==="string"&&p.length>0)return d(p);if(k==="number"&&isFinite(p))return C.long?_(p):w(p);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(p))};function d(p){if(p=String(p),!(p.length>100)){var C=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(p);if(C){var k=parseFloat(C[1]),Q=(C[2]||"ms").toLowerCase();switch(Q){case"years":case"year":case"yrs":case"yr":case"y":return k*o;case"weeks":case"week":case"w":return k*s;case"days":case"day":case"d":return k*n;case"hours":case"hour":case"hrs":case"hr":case"h":return k*r;case"minutes":case"minute":case"mins":case"min":case"m":return k*e;case"seconds":case"second":case"secs":case"sec":case"s":return k*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return k;default:return}}}}function w(p){var C=Math.abs(p);return C>=n?Math.round(p/n)+"d":C>=r?Math.round(p/r)+"h":C>=e?Math.round(p/e)+"m":C>=t?Math.round(p/t)+"s":p+"ms"}function _(p){var C=Math.abs(p);return C>=n?x(p,C,n,"day"):C>=r?x(p,C,r,"hour"):C>=e?x(p,C,e,"minute"):C>=t?x(p,C,t,"second"):p+" ms"}function x(p,C,k,Q){var W=C>=k*1.5;return Math.round(p/k)+" "+Q+(W?"s":"")}return Tn}var Cn,No;function i1(){if(No)return Cn;No=1;function t(e){n.debug=n,n.default=n,n.coerce=x,n.disable=w,n.enable=o,n.enabled=_,n.humanize=n1(),n.destroy=p,Object.keys(e).forEach(C=>{n[C]=e[C]}),n.names=[],n.skips=[],n.formatters={};function r(C){let k=0;for(let Q=0;Q<C.length;Q++)k=(k<<5)-k+C.charCodeAt(Q),k|=0;return n.colors[Math.abs(k)%n.colors.length]}n.selectColor=r;function n(C){let k,Q=null,W,st;function Z(...ct){if(!Z.enabled)return;const nt=Z,at=Number(new Date),dt=at-(k||at);nt.diff=dt,nt.prev=k,nt.curr=at,k=at,ct[0]=n.coerce(ct[0]),typeof ct[0]!="string"&&ct.unshift("%O");let ft=0;ct[0]=ct[0].replace(/%([a-zA-Z%])/g,(G,ut)=>{if(G==="%%")return"%";ft++;const mt=n.formatters[ut];if(typeof mt=="function"){const it=ct[ft];G=mt.call(nt,it),ct.splice(ft,1),ft--}return G}),n.formatArgs.call(nt,ct),(nt.log||n.log).apply(nt,ct)}return Z.namespace=C,Z.useColors=n.useColors(),Z.color=n.selectColor(C),Z.extend=s,Z.destroy=n.destroy,Object.defineProperty(Z,"enabled",{enumerable:!0,configurable:!1,get:()=>Q!==null?Q:(W!==n.namespaces&&(W=n.namespaces,st=n.enabled(C)),st),set:ct=>{Q=ct}}),typeof n.init=="function"&&n.init(Z),Z}function s(C,k){const Q=n(this.namespace+(typeof k>"u"?":":k)+C);return Q.log=this.log,Q}function o(C){n.save(C),n.namespaces=C,n.names=[],n.skips=[];const k=(typeof C=="string"?C:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const Q of k)Q[0]==="-"?n.skips.push(Q.slice(1)):n.names.push(Q)}function d(C,k){let Q=0,W=0,st=-1,Z=0;for(;Q<C.length;)if(W<k.length&&(k[W]===C[Q]||k[W]==="*"))k[W]==="*"?(st=W,Z=Q,W++):(Q++,W++);else if(st!==-1)W=st+1,Z++,Q=Z;else return!1;for(;W<k.length&&k[W]==="*";)W++;return W===k.length}function w(){const C=[...n.names,...n.skips.map(k=>"-"+k)].join(",");return n.enable(""),C}function _(C){for(const k of n.skips)if(d(C,k))return!1;for(const k of n.names)if(d(C,k))return!0;return!1}function x(C){return C instanceof Error?C.stack||C.message:C}function p(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return n.enable(n.load()),n}return Cn=t,Cn}var Uo;function cw(){return Uo||(Uo=1,function(t,e){var r={};e.formatArgs=s,e.save=o,e.load=d,e.useColors=n,e.storage=w(),e.destroy=(()=>{let x=!1;return()=>{x||(x=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function n(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let x;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&&(x=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(x[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function s(x){if(x[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+x[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;const p="color: "+this.color;x.splice(1,0,p,"color: inherit");let C=0,k=0;x[0].replace(/%[a-zA-Z%]/g,Q=>{Q!=="%%"&&(C++,Q==="%c"&&(k=C))}),x.splice(k,0,p)}e.log=console.debug||console.log||(()=>{});function o(x){try{x?e.storage.setItem("debug",x):e.storage.removeItem("debug")}catch{}}function d(){let x;try{x=e.storage.getItem("debug")||e.storage.getItem("DEBUG")}catch{}return!x&&typeof Tr<"u"&&"env"in Tr&&(x=r.DEBUG),x}function w(){try{return localStorage}catch{}}t.exports=i1()(e);const{formatters:_}=t.exports;_.j=function(x){try{return JSON.stringify(x)}catch(p){return"[UnexpectedJSONParseError]: "+p.message}}}(br,br.exports)),br.exports}function Fa(t,e){for(var r=t.length;r--&&Gr(e,t[r],0)>-1;);return r}function hw(t,e,r){if(t=ne(t),t&&e===void 0)return t.slice(0,us(t)+1);if(!t||!(e=ar(e)))return t;var n=ke(t),s=Fa(n,ke(e))+1;return Ir(n,0,s).join("")}var o1=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof Be<"u"?Be:typeof self<"u"?self:{};function s1(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}/*!
|
|
17
|
-
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
18
|
-
*
|
|
19
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
20
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
21
|
-
* in the Software without restriction, including without limitation the rights
|
|
22
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
23
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
24
|
-
* furnished to do so, subject to the following conditions:
|
|
25
|
-
*
|
|
26
|
-
* The above copyright notice and this permission notice shall be included in
|
|
27
|
-
* all copies or substantial portions of the Software.
|
|
28
|
-
*
|
|
29
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
30
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
31
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
32
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
33
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
34
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
35
|
-
* SOFTWARE.
|
|
36
|
-
*/var $n,Lo;function a1(){return Lo||(Lo=1,$n={languageTag:"en-US",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},spaceSeparated:!1,ordinal:function(t){let e=t%10;return~~(t%100/10)===1?"th":e===1?"st":e===2?"nd":e===3?"rd":"th"},bytes:{binarySuffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],decimalSuffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]},currency:{symbol:"$",position:"prefix",code:"USD"},currencyFormat:{thousandSeparated:!0,totalLength:4,spaceSeparated:!0,spaceSeparatedCurrency:!0},formats:{fourDigits:{totalLength:4,spaceSeparated:!0},fullWithTwoDecimals:{output:"currency",thousandSeparated:!0,mantissa:2},fullWithTwoDecimalsNoCurrency:{thousandSeparated:!0,mantissa:2},fullWithNoDecimals:{output:"currency",thousandSeparated:!0,mantissa:0}}}),$n}/*!
|
|
37
|
-
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
38
|
-
*
|
|
39
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
40
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
41
|
-
* in the Software without restriction, including without limitation the rights
|
|
42
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
43
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
44
|
-
* furnished to do so, subject to the following conditions:
|
|
45
|
-
*
|
|
46
|
-
* The above copyright notice and this permission notice shall be included in
|
|
47
|
-
* all copies or substantial portions of the Software.
|
|
48
|
-
*
|
|
49
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
50
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
51
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
52
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
53
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
54
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
55
|
-
* SOFTWARE.
|
|
56
|
-
*/var Fn,Po;function Ra(){if(Po)return Fn;Po=1;const t=[{key:"ZiB",factor:Math.pow(1024,7)},{key:"ZB",factor:Math.pow(1e3,7)},{key:"YiB",factor:Math.pow(1024,8)},{key:"YB",factor:Math.pow(1e3,8)},{key:"TiB",factor:Math.pow(1024,4)},{key:"TB",factor:Math.pow(1e3,4)},{key:"PiB",factor:Math.pow(1024,5)},{key:"PB",factor:Math.pow(1e3,5)},{key:"MiB",factor:Math.pow(1024,2)},{key:"MB",factor:Math.pow(1e3,2)},{key:"KiB",factor:Math.pow(1024,1)},{key:"KB",factor:Math.pow(1e3,1)},{key:"GiB",factor:Math.pow(1024,3)},{key:"GB",factor:Math.pow(1e3,3)},{key:"EiB",factor:Math.pow(1024,6)},{key:"EB",factor:Math.pow(1e3,6)},{key:"B",factor:1}];function e(_){return _.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}function r(_,x,p,C,k,Q,W){if(!isNaN(+_))return+_;let st="",Z=_.replace(/(^[^(]*)\((.*)\)([^)]*$)/,"$1$2$3");if(Z!==_)return-1*r(Z,x,p,C,k,Q);for(let K=0;K<t.length;K++){let G=t[K];if(st=_.replace(RegExp(`([0-9 ])(${G.key})$`),"$1"),st!==_)return r(st,x,p,C,k,Q)*G.factor}if(st=_.replace("%",""),st!==_)return r(st,x,p,C,k,Q)/100;let ct=parseFloat(_);if(isNaN(ct))return;let nt=C(ct);if(nt&&nt!=="."&&(st=_.replace(new RegExp(`${e(nt)}$`),""),st!==_))return r(st,x,p,C,k,Q);let at={};Object.keys(Q).forEach(K=>{at[Q[K]]=K});let dt=Object.keys(at).sort().reverse(),ft=dt.length;for(let K=0;K<ft;K++){let G=dt[K],ut=at[G];if(st=_.replace(G,""),st!==_){let mt;switch(ut){case"thousand":mt=Math.pow(10,3);break;case"million":mt=Math.pow(10,6);break;case"billion":mt=Math.pow(10,9);break;case"trillion":mt=Math.pow(10,12);break}return r(st,x,p,C,k,Q)*mt}}}function n(_,x,p){let C=_.replace(p,"");return C=C.replace(new RegExp(`([0-9])${e(x.thousands)}([0-9])`,"g"),"$1$2"),C=C.replace(x.decimal,"."),C}function s(_,x,p="",C,k,Q,W){if(_==="")return;if(_===k)return 0;let st=n(_,x,p);return r(st,x,p,C,k,Q)}function o(_,x){if(!(_.indexOf(":")&&x.thousands!==":"))return!1;let C=_.split(":");if(C.length!==3)return!1;let k=+C[0],Q=+C[1],W=+C[2];return!isNaN(k)&&!isNaN(Q)&&!isNaN(W)}function d(_){let x=_.split(":"),p=+x[0],C=+x[1];return+x[2]+60*C+3600*p}function w(_,x){const p=Bi();let C=p.currentDelimiters(),k=p.currentCurrency().symbol,Q=p.currentOrdinal(),W=p.getZeroFormat(),st=p.currentAbbreviations(),Z;if(typeof _=="string")o(_,C)?Z=d(_):Z=s(_,C,k,Q,W,st);else if(typeof _=="number")Z=_;else return;if(Z!==void 0)return Z}return Fn={unformat:w},Fn}/*!
|
|
57
|
-
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
58
|
-
*
|
|
59
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
60
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
61
|
-
* in the Software without restriction, including without limitation the rights
|
|
62
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
63
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
64
|
-
* furnished to do so, subject to the following conditions:
|
|
65
|
-
*
|
|
66
|
-
* The above copyright notice and this permission notice shall be included in
|
|
67
|
-
* all copies or substantial portions of the Software.
|
|
68
|
-
*
|
|
69
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
70
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
71
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
72
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
73
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
74
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
75
|
-
* SOFTWARE.
|
|
76
|
-
*/var Rn,Do;function _i(){if(Do)return Rn;Do=1;let t=Ra();const e=/^[a-z]{2,3}(-[a-zA-Z]{4})?(-([A-Z]{2}|[0-9]{3}))?$/,r=["currency","percent","byte","time","ordinal","number"],n=["trillion","billion","million","thousand"],s=["prefix","infix","postfix"],o=["sign","parenthesis"],d={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},x={output:{type:"string",validValues:r},base:{type:"string",validValues:["decimal","binary","general"],restriction:(Z,ct)=>ct.output==="byte",message:"`base` must be provided only when the output is `byte`",mandatory:Z=>Z.output==="byte"},characteristic:{type:"number",restriction:Z=>Z>=0,message:"value must be positive"},prefix:"string",postfix:"string",forceAverage:{type:"string",validValues:n},average:"boolean",lowPrecision:{type:"boolean",restriction:(Z,ct)=>ct.average===!0,message:"`lowPrecision` must be provided only when the option `average` is set"},currencyPosition:{type:"string",validValues:s},currencySymbol:"string",totalLength:{type:"number",restrictions:[{restriction:Z=>Z>=0,message:"value must be positive"},{restriction:(Z,ct)=>!ct.exponential,message:"`totalLength` is incompatible with `exponential`"}]},mantissa:{type:"number",restriction:Z=>Z>=0,message:"value must be positive"},optionalMantissa:"boolean",trimMantissa:"boolean",roundingFunction:"function",optionalCharacteristic:"boolean",thousandSeparated:"boolean",spaceSeparated:"boolean",spaceSeparatedCurrency:"boolean",spaceSeparatedAbbreviation:"boolean",abbreviations:{type:"object",children:{thousand:"string",million:"string",billion:"string",trillion:"string"}},negative:{type:"string",validValues:o},forceSign:"boolean",exponential:{type:"boolean"},prefixSymbol:{type:"boolean",restriction:(Z,ct)=>ct.output==="percent",message:"`prefixSymbol` can be provided only when the output is `percent`"}},p={languageTag:{type:"string",mandatory:!0,restriction:Z=>Z.match(e),message:"the language tag must follow the BCP 47 specification (see https://tools.ieft.org/html/bcp47)"},delimiters:{type:"object",children:{thousands:"string",decimal:"string",thousandsSize:"number"},mandatory:!0},abbreviations:d,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 C(Z,ct){let nt=k(Z),at=W(ct);return nt&&at}function k(Z){return t.unformat(Z)!==void 0}function Q(Z,ct,nt,at=!1){let dt=Object.keys(Z).map(ft=>{if(!ct[ft])return console.error(`${nt} Invalid key: ${ft}`),!1;let K=Z[ft],G=ct[ft];if(typeof G=="string"&&(G={type:G}),G.type==="format"){if(!Q(K,x,`[Validate ${ft}]`,!0))return!1}else if(typeof K!==G.type)return console.error(`${nt} ${ft} type mismatched: "${G.type}" expected, "${typeof K}" provided`),!1;if(G.restrictions&&G.restrictions.length){let ut=G.restrictions.length;for(let mt=0;mt<ut;mt++){let{restriction:it,message:lt}=G.restrictions[mt];if(!it(K,Z))return console.error(`${nt} ${ft} invalid value: ${lt}`),!1}}return G.restriction&&!G.restriction(K,Z)?(console.error(`${nt} ${ft} invalid value: ${G.message}`),!1):G.validValues&&G.validValues.indexOf(K)===-1?(console.error(`${nt} ${ft} invalid value: must be among ${JSON.stringify(G.validValues)}, "${K}" provided`),!1):!(G.children&&!Q(K,G.children,`[Validate ${ft}]`))});return at||dt.push(...Object.keys(ct).map(ft=>{let K=ct[ft];if(typeof K=="string"&&(K={type:K}),K.mandatory){let G=K.mandatory;if(typeof G=="function"&&(G=G(Z)),G&&Z[ft]===void 0)return console.error(`${nt} Missing mandatory key "${ft}"`),!1}return!0})),dt.reduce((ft,K)=>ft&&K,!0)}function W(Z){return Q(Z,x,"[Validate format]")}function st(Z){return Q(Z,p,"[Validate language]")}return Rn={validate:C,validateFormat:W,validateInput:k,validateLanguage:st},Rn}/*!
|
|
77
|
-
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
78
|
-
*
|
|
79
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
80
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
81
|
-
* in the Software without restriction, including without limitation the rights
|
|
82
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
83
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
84
|
-
* furnished to do so, subject to the following conditions:
|
|
85
|
-
*
|
|
86
|
-
* The above copyright notice and this permission notice shall be included in
|
|
87
|
-
* all copies or substantial portions of the Software.
|
|
88
|
-
*
|
|
89
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
90
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
91
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
92
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
93
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
94
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
95
|
-
* SOFTWARE.
|
|
96
|
-
*/function u1(t,e){let r=t.match(/^{([^}]*)}/);return r?(e.prefix=r[1],t.slice(r[0].length)):t}function f1(t,e){let r=t.match(/{([^}]*)}$/);return r?(e.postfix=r[1],t.slice(0,-r[0].length)):t}function l1(t,e){if(t.indexOf("$")!==-1){e.output="currency";return}if(t.indexOf("%")!==-1){e.output="percent";return}if(t.indexOf("bd")!==-1){e.output="byte",e.base="general";return}if(t.indexOf("b")!==-1){e.output="byte",e.base="binary";return}if(t.indexOf("d")!==-1){e.output="byte",e.base="decimal";return}if(t.indexOf(":")!==-1){e.output="time";return}t.indexOf("o")!==-1&&(e.output="ordinal")}function c1(t,e){t.indexOf(",")!==-1&&(e.thousandSeparated=!0)}function h1(t,e){t.indexOf(" ")!==-1&&(e.spaceSeparated=!0,e.spaceSeparatedCurrency=!0,(e.average||e.forceAverage)&&(e.spaceSeparatedAbbreviation=!0))}function d1(t,e){let r=t.match(/[1-9]+[0-9]*/);r&&(e.totalLength=+r[0])}function p1(t,e){let n=t.split(".")[0].match(/0+/);n&&(e.characteristic=n[0].length)}function g1(t,e){let r=t.split(".")[1];if(r){let n=r.match(/0+/);n&&(e.mantissa=n[0].length)}}function m1(t,e){const r=t.split(".")[1];r&&(e.trimMantissa=r.indexOf("[")!==-1)}function y1(t,e){t.indexOf("a")!==-1&&(e.average=!0)}function w1(t,e){t.indexOf("K")!==-1?e.forceAverage="thousand":t.indexOf("M")!==-1?e.forceAverage="million":t.indexOf("B")!==-1?e.forceAverage="billion":t.indexOf("T")!==-1&&(e.forceAverage="trillion")}function x1(t,e){t.match(/\[\.]/)?e.optionalMantissa=!0:t.match(/\./)&&(e.optionalMantissa=!1)}function v1(t,e){if(t.indexOf(".")!==-1){let r=t.split(".")[0];e.optionalCharacteristic=r.indexOf("0")===-1}}function b1(t,e){t.match(/^\+?\([^)]*\)$/)&&(e.negative="parenthesis"),t.match(/^\+?-/)&&(e.negative="sign")}function E1(t,e){t.match(/^\+/)&&(e.forceSign=!0)}function M1(t,e={}){return typeof t!="string"?t:(t=u1(t,e),t=f1(t,e),l1(t,e),d1(t,e),p1(t,e),v1(t,e),y1(t,e),w1(t,e),g1(t,e),x1(t,e),m1(t,e),c1(t,e),h1(t,e),b1(t,e),E1(t,e),e)}var Si={parseFormat:M1};/*!
|
|
97
|
-
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
98
|
-
*
|
|
99
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
100
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
101
|
-
* in the Software without restriction, including without limitation the rights
|
|
102
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
103
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
104
|
-
* furnished to do so, subject to the following conditions:
|
|
105
|
-
*
|
|
106
|
-
* The above copyright notice and this permission notice shall be included in
|
|
107
|
-
* all copies or substantial portions of the Software.
|
|
108
|
-
*
|
|
109
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
110
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
111
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
112
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
113
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
114
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
115
|
-
* SOFTWARE.
|
|
116
|
-
*/var In,jo;function Bi(){if(jo)return In;jo=1;const t=a1(),e=_i(),r=Si;let n={},s,o={},d=null,w={};function _(p){s=p}function x(){return o[s]}return n.languages=()=>Object.assign({},o),n.currentLanguage=()=>s,n.currentBytes=()=>x().bytes||{},n.currentCurrency=()=>x().currency,n.currentAbbreviations=()=>x().abbreviations,n.currentDelimiters=()=>x().delimiters,n.currentOrdinal=()=>x().ordinal,n.currentDefaults=()=>Object.assign({},x().defaults,w),n.currentOrdinalDefaultFormat=()=>Object.assign({},n.currentDefaults(),x().ordinalFormat),n.currentByteDefaultFormat=()=>Object.assign({},n.currentDefaults(),x().byteFormat),n.currentPercentageDefaultFormat=()=>Object.assign({},n.currentDefaults(),x().percentageFormat),n.currentCurrencyDefaultFormat=()=>Object.assign({},n.currentDefaults(),x().currencyFormat),n.currentTimeDefaultFormat=()=>Object.assign({},n.currentDefaults(),x().timeFormat),n.setDefaults=p=>{p=r.parseFormat(p),e.validateFormat(p)&&(w=p)},n.getZeroFormat=()=>d,n.setZeroFormat=p=>d=typeof p=="string"?p:null,n.hasZeroFormat=()=>d!==null,n.languageData=p=>{if(p){if(o[p])return o[p];throw new Error(`Unknown tag "${p}"`)}return x()},n.registerLanguage=(p,C=!1)=>{if(!e.validateLanguage(p))throw new Error("Invalid language data");o[p.languageTag]=p,C&&_(p.languageTag)},n.setLanguage=(p,C=t.languageTag)=>{if(!o[p]){let k=p.split("-")[0],Q=Object.keys(o).find(W=>W.split("-")[0]===k);if(!o[Q]){_(C);return}_(Q);return}_(p)},n.registerLanguage(t),s=t.languageTag,In=n,In}function _1(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}/*!
|
|
117
|
-
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
118
|
-
*
|
|
119
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
120
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
121
|
-
* in the Software without restriction, including without limitation the rights
|
|
122
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
123
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
124
|
-
* furnished to do so, subject to the following conditions:
|
|
125
|
-
*
|
|
126
|
-
* The above copyright notice and this permission notice shall be included in
|
|
127
|
-
* all copies or substantial portions of the Software.
|
|
128
|
-
*
|
|
129
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
130
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
131
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
132
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
133
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
134
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
135
|
-
* SOFTWARE.
|
|
136
|
-
*/function S1(t,e){t.forEach(r=>{let n;try{n=_1(`../languages/${r}`)}catch{console.error(`Unable to load "${r}". No matching language file found.`)}n&&e.registerLanguage(n)})}var B1=t=>({loadLanguagesInNode:e=>S1(e,t)}),Ia={exports:{}};(function(t){(function(e){var r,n=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,s=Math.ceil,o=Math.floor,d="[BigNumber Error] ",w=d+"Number primitive has more than 15 significant digits: ",_=1e14,x=14,p=9007199254740991,C=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],k=1e7,Q=1e9;function W(K){var G,ut,mt,it=z.prototype={constructor:z,toString:null,valueOf:null},lt=new z(1),P=20,T=4,i=-7,h=21,g=-1e7,v=1e7,b=!1,F=1,I=0,S={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:" ",suffix:""},c="0123456789abcdefghijklmnopqrstuvwxyz",O=!0;function z(E,A){var $,V,U,j,tt,R,L,X,H=this;if(!(H instanceof z))return new z(E,A);if(A==null){if(E&&E._isBigNumber===!0){H.s=E.s,!E.c||E.e>v?H.c=H.e=null:E.e<g?H.c=[H.e=0]:(H.e=E.e,H.c=E.c.slice());return}if((R=typeof E=="number")&&E*0==0){if(H.s=1/E<0?(E=-E,-1):1,E===~~E){for(j=0,tt=E;tt>=10;tt/=10,j++);j>v?H.c=H.e=null:(H.e=j,H.c=[E]);return}X=String(E)}else{if(!n.test(X=String(E)))return mt(H,X,R);H.s=X.charCodeAt(0)==45?(X=X.slice(1),-1):1}(j=X.indexOf("."))>-1&&(X=X.replace(".","")),(tt=X.search(/e/i))>0?(j<0&&(j=tt),j+=+X.slice(tt+1),X=X.substring(0,tt)):j<0&&(j=X.length)}else{if(nt(A,2,c.length,"Base"),A==10&&O)return H=new z(E),Et(H,P+H.e+1,T);if(X=String(E),R=typeof E=="number"){if(E*0!=0)return mt(H,X,R,A);if(H.s=1/E<0?(X=X.slice(1),-1):1,z.DEBUG&&X.replace(/^0\.0*|\./,"").length>15)throw Error(w+E)}else H.s=X.charCodeAt(0)===45?(X=X.slice(1),-1):1;for($=c.slice(0,A),j=tt=0,L=X.length;tt<L;tt++)if($.indexOf(V=X.charAt(tt))<0){if(V=="."){if(tt>j){j=L;continue}}else if(!U&&(X==X.toUpperCase()&&(X=X.toLowerCase())||X==X.toLowerCase()&&(X=X.toUpperCase()))){U=!0,tt=-1,j=0;continue}return mt(H,String(E),R,A)}R=!1,X=ut(X,A,10,H.s),(j=X.indexOf("."))>-1?X=X.replace(".",""):j=X.length}for(tt=0;X.charCodeAt(tt)===48;tt++);for(L=X.length;X.charCodeAt(--L)===48;);if(X=X.slice(tt,++L)){if(L-=tt,R&&z.DEBUG&&L>15&&(E>p||E!==o(E)))throw Error(w+H.s*E);if((j=j-tt-1)>v)H.c=H.e=null;else if(j<g)H.c=[H.e=0];else{if(H.e=j,H.c=[],tt=(j+1)%x,j<0&&(tt+=x),tt<L){for(tt&&H.c.push(+X.slice(0,tt)),L-=x;tt<L;)H.c.push(+X.slice(tt,tt+=x));tt=x-(X=X.slice(tt)).length}else tt-=L;for(;tt--;X+="0");H.c.push(+X)}}else H.c=[H.e=0]}z.clone=W,z.ROUND_UP=0,z.ROUND_DOWN=1,z.ROUND_CEIL=2,z.ROUND_FLOOR=3,z.ROUND_HALF_UP=4,z.ROUND_HALF_DOWN=5,z.ROUND_HALF_EVEN=6,z.ROUND_HALF_CEIL=7,z.ROUND_HALF_FLOOR=8,z.EUCLID=9,z.config=z.set=function(E){var A,$;if(E!=null)if(typeof E=="object"){if(E.hasOwnProperty(A="DECIMAL_PLACES")&&($=E[A],nt($,0,Q,A),P=$),E.hasOwnProperty(A="ROUNDING_MODE")&&($=E[A],nt($,0,8,A),T=$),E.hasOwnProperty(A="EXPONENTIAL_AT")&&($=E[A],$&&$.pop?(nt($[0],-Q,0,A),nt($[1],0,Q,A),i=$[0],h=$[1]):(nt($,-Q,Q,A),i=-(h=$<0?-$:$))),E.hasOwnProperty(A="RANGE"))if($=E[A],$&&$.pop)nt($[0],-Q,-1,A),nt($[1],1,Q,A),g=$[0],v=$[1];else if(nt($,-Q,Q,A),$)g=-(v=$<0?-$:$);else throw Error(d+A+" cannot be zero: "+$);if(E.hasOwnProperty(A="CRYPTO"))if($=E[A],$===!!$)if($)if(typeof crypto<"u"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))b=$;else throw b=!$,Error(d+"crypto unavailable");else b=$;else throw Error(d+A+" not true or false: "+$);if(E.hasOwnProperty(A="MODULO_MODE")&&($=E[A],nt($,0,9,A),F=$),E.hasOwnProperty(A="POW_PRECISION")&&($=E[A],nt($,0,Q,A),I=$),E.hasOwnProperty(A="FORMAT"))if($=E[A],typeof $=="object")S=$;else throw Error(d+A+" not an object: "+$);if(E.hasOwnProperty(A="ALPHABET"))if($=E[A],typeof $=="string"&&!/^.?$|[+\-.\s]|(.).*\1/.test($))O=$.slice(0,10)=="0123456789",c=$;else throw Error(d+A+" invalid: "+$)}else throw Error(d+"Object expected: "+E);return{DECIMAL_PLACES:P,ROUNDING_MODE:T,EXPONENTIAL_AT:[i,h],RANGE:[g,v],CRYPTO:b,MODULO_MODE:F,POW_PRECISION:I,FORMAT:S,ALPHABET:c}},z.isBigNumber=function(E){if(!E||E._isBigNumber!==!0)return!1;if(!z.DEBUG)return!0;var A,$,V=E.c,U=E.e,j=E.s;t:if({}.toString.call(V)=="[object Array]"){if((j===1||j===-1)&&U>=-Q&&U<=Q&&U===o(U)){if(V[0]===0){if(U===0&&V.length===1)return!0;break t}if(A=(U+1)%x,A<1&&(A+=x),String(V[0]).length==A){for(A=0;A<V.length;A++)if($=V[A],$<0||$>=_||$!==o($))break t;if($!==0)return!0}}}else if(V===null&&U===null&&(j===null||j===1||j===-1))return!0;throw Error(d+"Invalid BigNumber: "+E)},z.maximum=z.max=function(){return yt(arguments,-1)},z.minimum=z.min=function(){return yt(arguments,1)},z.random=function(){var E=9007199254740992,A=Math.random()*E&2097151?function(){return o(Math.random()*E)}:function(){return(Math.random()*1073741824|0)*8388608+(Math.random()*8388608|0)};return function($){var V,U,j,tt,R,L=0,X=[],H=new z(lt);if($==null?$=P:nt($,0,Q),tt=s($/x),b)if(crypto.getRandomValues){for(V=crypto.getRandomValues(new Uint32Array(tt*=2));L<tt;)R=V[L]*131072+(V[L+1]>>>11),R>=9e15?(U=crypto.getRandomValues(new Uint32Array(2)),V[L]=U[0],V[L+1]=U[1]):(X.push(R%1e14),L+=2);L=tt/2}else if(crypto.randomBytes){for(V=crypto.randomBytes(tt*=7);L<tt;)R=(V[L]&31)*281474976710656+V[L+1]*1099511627776+V[L+2]*4294967296+V[L+3]*16777216+(V[L+4]<<16)+(V[L+5]<<8)+V[L+6],R>=9e15?crypto.randomBytes(7).copy(V,L):(X.push(R%1e14),L+=7);L=tt/7}else throw b=!1,Error(d+"crypto unavailable");if(!b)for(;L<tt;)R=A(),R<9e15&&(X[L++]=R%1e14);for(tt=X[--L],$%=x,tt&&$&&(R=C[x-$],X[L]=o(tt/R)*R);X[L]===0;X.pop(),L--);if(L<0)X=[j=0];else{for(j=-1;X[0]===0;X.splice(0,1),j-=x);for(L=1,R=X[0];R>=10;R/=10,L++);L<x&&(j-=x-L)}return H.e=j,H.c=X,H}}(),z.sum=function(){for(var E=1,A=arguments,$=new z(A[0]);E<A.length;)$=$.plus(A[E++]);return $},ut=function(){var E="0123456789";function A($,V,U,j){for(var tt,R=[0],L,X=0,H=$.length;X<H;){for(L=R.length;L--;R[L]*=V);for(R[0]+=j.indexOf($.charAt(X++)),tt=0;tt<R.length;tt++)R[tt]>U-1&&(R[tt+1]==null&&(R[tt+1]=0),R[tt+1]+=R[tt]/U|0,R[tt]%=U)}return R.reverse()}return function($,V,U,j,tt){var R,L,X,H,ot,gt,ht,xt,It=$.indexOf("."),_t=P,vt=T;for(It>=0&&(H=I,I=0,$=$.replace(".",""),xt=new z(V),gt=xt.pow($.length-It),I=H,xt.c=A(ft(Z(gt.c),gt.e,"0"),10,U,E),xt.e=xt.c.length),ht=A($,V,U,tt?(R=c,E):(R=E,c)),X=H=ht.length;ht[--H]==0;ht.pop());if(!ht[0])return R.charAt(0);if(It<0?--X:(gt.c=ht,gt.e=X,gt.s=j,gt=G(gt,xt,_t,vt,U),ht=gt.c,ot=gt.r,X=gt.e),L=X+_t+1,It=ht[L],H=U/2,ot=ot||L<0||ht[L+1]!=null,ot=vt<4?(It!=null||ot)&&(vt==0||vt==(gt.s<0?3:2)):It>H||It==H&&(vt==4||ot||vt==6&&ht[L-1]&1||vt==(gt.s<0?8:7)),L<1||!ht[0])$=ot?ft(R.charAt(1),-_t,R.charAt(0)):R.charAt(0);else{if(ht.length=L,ot)for(--U;++ht[--L]>U;)ht[L]=0,L||(++X,ht=[1].concat(ht));for(H=ht.length;!ht[--H];);for(It=0,$="";It<=H;$+=R.charAt(ht[It++]));$=ft($,X,R.charAt(0))}return $}}(),G=function(){function E(V,U,j){var tt,R,L,X,H=0,ot=V.length,gt=U%k,ht=U/k|0;for(V=V.slice();ot--;)L=V[ot]%k,X=V[ot]/k|0,tt=ht*L+X*gt,R=gt*L+tt%k*k+H,H=(R/j|0)+(tt/k|0)+ht*X,V[ot]=R%j;return H&&(V=[H].concat(V)),V}function A(V,U,j,tt){var R,L;if(j!=tt)L=j>tt?1:-1;else for(R=L=0;R<j;R++)if(V[R]!=U[R]){L=V[R]>U[R]?1:-1;break}return L}function $(V,U,j,tt){for(var R=0;j--;)V[j]-=R,R=V[j]<U[j]?1:0,V[j]=R*tt+V[j]-U[j];for(;!V[0]&&V.length>1;V.splice(0,1));}return function(V,U,j,tt,R){var L,X,H,ot,gt,ht,xt,It,_t,vt,Ct,Ot,m,a,f,M,N,q=V.s==U.s?1:-1,Y=V.c,wt=U.c;if(!Y||!Y[0]||!wt||!wt[0])return new z(!V.s||!U.s||(Y?wt&&Y[0]==wt[0]:!wt)?NaN:Y&&Y[0]==0||!wt?q*0:q/0);for(It=new z(q),_t=It.c=[],X=V.e-U.e,q=j+X+1,R||(R=_,X=st(V.e/x)-st(U.e/x),q=q/x|0),H=0;wt[H]==(Y[H]||0);H++);if(wt[H]>(Y[H]||0)&&X--,q<0)_t.push(1),ot=!0;else{for(a=Y.length,M=wt.length,H=0,q+=2,gt=o(R/(wt[0]+1)),gt>1&&(wt=E(wt,gt,R),Y=E(Y,gt,R),M=wt.length,a=Y.length),m=M,vt=Y.slice(0,M),Ct=vt.length;Ct<M;vt[Ct++]=0);N=wt.slice(),N=[0].concat(N),f=wt[0],wt[1]>=R/2&&f++;do{if(gt=0,L=A(wt,vt,M,Ct),L<0){if(Ot=vt[0],M!=Ct&&(Ot=Ot*R+(vt[1]||0)),gt=o(Ot/f),gt>1)for(gt>=R&&(gt=R-1),ht=E(wt,gt,R),xt=ht.length,Ct=vt.length;A(ht,vt,xt,Ct)==1;)gt--,$(ht,M<xt?N:wt,xt,R),xt=ht.length,L=1;else gt==0&&(L=gt=1),ht=wt.slice(),xt=ht.length;if(xt<Ct&&(ht=[0].concat(ht)),$(vt,ht,Ct,R),Ct=vt.length,L==-1)for(;A(wt,vt,M,Ct)<1;)gt++,$(vt,M<Ct?N:wt,Ct,R),Ct=vt.length}else L===0&&(gt++,vt=[0]);_t[H++]=gt,vt[0]?vt[Ct++]=Y[m]||0:(vt=[Y[m]],Ct=1)}while((m++<a||vt[0]!=null)&&q--);ot=vt[0]!=null,_t[0]||_t.splice(0,1)}if(R==_){for(H=1,q=_t[0];q>=10;q/=10,H++);Et(It,j+(It.e=H+X*x-1)+1,tt,ot)}else It.e=X,It.r=+ot;return It}}();function pt(E,A,$,V){var U,j,tt,R,L;if($==null?$=T:nt($,0,8),!E.c)return E.toString();if(U=E.c[0],tt=E.e,A==null)L=Z(E.c),L=V==1||V==2&&(tt<=i||tt>=h)?dt(L,tt):ft(L,tt,"0");else if(E=Et(new z(E),A,$),j=E.e,L=Z(E.c),R=L.length,V==1||V==2&&(A<=j||j<=i)){for(;R<A;L+="0",R++);L=dt(L,j)}else if(A-=tt,L=ft(L,j,"0"),j+1>R){if(--A>0)for(L+=".";A--;L+="0");}else if(A+=j-R,A>0)for(j+1==R&&(L+=".");A--;L+="0");return E.s<0&&U?"-"+L:L}function yt(E,A){for(var $,V,U=1,j=new z(E[0]);U<E.length;U++)V=new z(E[U]),(!V.s||($=ct(j,V))===A||$===0&&j.s===A)&&(j=V);return j}function Nt(E,A,$){for(var V=1,U=A.length;!A[--U];A.pop());for(U=A[0];U>=10;U/=10,V++);return($=V+$*x-1)>v?E.c=E.e=null:$<g?E.c=[E.e=0]:(E.e=$,E.c=A),E}mt=function(){var E=/^(-?)0([xbo])(?=\w[\w.]*$)/i,A=/^([^.]+)\.$/,$=/^\.([^.]+)$/,V=/^-?(Infinity|NaN)$/,U=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(j,tt,R,L){var X,H=R?tt:tt.replace(U,"");if(V.test(H))j.s=isNaN(H)?null:H<0?-1:1;else{if(!R&&(H=H.replace(E,function(ot,gt,ht){return X=(ht=ht.toLowerCase())=="x"?16:ht=="b"?2:8,!L||L==X?gt:ot}),L&&(X=L,H=H.replace(A,"$1").replace($,"0.$1")),tt!=H))return new z(H,X);if(z.DEBUG)throw Error(d+"Not a"+(L?" base "+L:"")+" number: "+tt);j.s=null}j.c=j.e=null}}();function Et(E,A,$,V){var U,j,tt,R,L,X,H,ot=E.c,gt=C;if(ot){t:{for(U=1,R=ot[0];R>=10;R/=10,U++);if(j=A-U,j<0)j+=x,tt=A,L=ot[X=0],H=o(L/gt[U-tt-1]%10);else if(X=s((j+1)/x),X>=ot.length)if(V){for(;ot.length<=X;ot.push(0));L=H=0,U=1,j%=x,tt=j-x+1}else break t;else{for(L=R=ot[X],U=1;R>=10;R/=10,U++);j%=x,tt=j-x+U,H=tt<0?0:o(L/gt[U-tt-1]%10)}if(V=V||A<0||ot[X+1]!=null||(tt<0?L:L%gt[U-tt-1]),V=$<4?(H||V)&&($==0||$==(E.s<0?3:2)):H>5||H==5&&($==4||V||$==6&&(j>0?tt>0?L/gt[U-tt]:0:ot[X-1])%10&1||$==(E.s<0?8:7)),A<1||!ot[0])return ot.length=0,V?(A-=E.e+1,ot[0]=gt[(x-A%x)%x],E.e=-A||0):ot[0]=E.e=0,E;if(j==0?(ot.length=X,R=1,X--):(ot.length=X+1,R=gt[x-j],ot[X]=tt>0?o(L/gt[U-tt]%gt[tt])*R:0),V)for(;;)if(X==0){for(j=1,tt=ot[0];tt>=10;tt/=10,j++);for(tt=ot[0]+=R,R=1;tt>=10;tt/=10,R++);j!=R&&(E.e++,ot[0]==_&&(ot[0]=1));break}else{if(ot[X]+=R,ot[X]!=_)break;ot[X--]=0,R=1}for(j=ot.length;ot[--j]===0;ot.pop());}E.e>v?E.c=E.e=null:E.e<g&&(E.c=[E.e=0])}return E}function At(E){var A,$=E.e;return $===null?E.toString():(A=Z(E.c),A=$<=i||$>=h?dt(A,$):ft(A,$,"0"),E.s<0?"-"+A:A)}return it.absoluteValue=it.abs=function(){var E=new z(this);return E.s<0&&(E.s=1),E},it.comparedTo=function(E,A){return ct(this,new z(E,A))},it.decimalPlaces=it.dp=function(E,A){var $,V,U,j=this;if(E!=null)return nt(E,0,Q),A==null?A=T:nt(A,0,8),Et(new z(j),E+j.e+1,A);if(!($=j.c))return null;if(V=((U=$.length-1)-st(this.e/x))*x,U=$[U])for(;U%10==0;U/=10,V--);return V<0&&(V=0),V},it.dividedBy=it.div=function(E,A){return G(this,new z(E,A),P,T)},it.dividedToIntegerBy=it.idiv=function(E,A){return G(this,new z(E,A),0,1)},it.exponentiatedBy=it.pow=function(E,A){var $,V,U,j,tt,R,L,X,H,ot=this;if(E=new z(E),E.c&&!E.isInteger())throw Error(d+"Exponent not an integer: "+At(E));if(A!=null&&(A=new z(A)),R=E.e>14,!ot.c||!ot.c[0]||ot.c[0]==1&&!ot.e&&ot.c.length==1||!E.c||!E.c[0])return H=new z(Math.pow(+At(ot),R?E.s*(2-at(E)):+At(E))),A?H.mod(A):H;if(L=E.s<0,A){if(A.c?!A.c[0]:!A.s)return new z(NaN);V=!L&&ot.isInteger()&&A.isInteger(),V&&(ot=ot.mod(A))}else{if(E.e>9&&(ot.e>0||ot.e<-1||(ot.e==0?ot.c[0]>1||R&&ot.c[1]>=24e7:ot.c[0]<8e13||R&&ot.c[0]<=9999975e7)))return j=ot.s<0&&at(E)?-0:0,ot.e>-1&&(j=1/j),new z(L?1/j:j);I&&(j=s(I/x+2))}for(R?($=new z(.5),L&&(E.s=1),X=at(E)):(U=Math.abs(+At(E)),X=U%2),H=new z(lt);;){if(X){if(H=H.times(ot),!H.c)break;j?H.c.length>j&&(H.c.length=j):V&&(H=H.mod(A))}if(U){if(U=o(U/2),U===0)break;X=U%2}else if(E=E.times($),Et(E,E.e+1,1),E.e>14)X=at(E);else{if(U=+At(E),U===0)break;X=U%2}ot=ot.times(ot),j?ot.c&&ot.c.length>j&&(ot.c.length=j):V&&(ot=ot.mod(A))}return V?H:(L&&(H=lt.div(H)),A?H.mod(A):j?Et(H,I,T,tt):H)},it.integerValue=function(E){var A=new z(this);return E==null?E=T:nt(E,0,8),Et(A,A.e+1,E)},it.isEqualTo=it.eq=function(E,A){return ct(this,new z(E,A))===0},it.isFinite=function(){return!!this.c},it.isGreaterThan=it.gt=function(E,A){return ct(this,new z(E,A))>0},it.isGreaterThanOrEqualTo=it.gte=function(E,A){return(A=ct(this,new z(E,A)))===1||A===0},it.isInteger=function(){return!!this.c&&st(this.e/x)>this.c.length-2},it.isLessThan=it.lt=function(E,A){return ct(this,new z(E,A))<0},it.isLessThanOrEqualTo=it.lte=function(E,A){return(A=ct(this,new z(E,A)))===-1||A===0},it.isNaN=function(){return!this.s},it.isNegative=function(){return this.s<0},it.isPositive=function(){return this.s>0},it.isZero=function(){return!!this.c&&this.c[0]==0},it.minus=function(E,A){var $,V,U,j,tt=this,R=tt.s;if(E=new z(E,A),A=E.s,!R||!A)return new z(NaN);if(R!=A)return E.s=-A,tt.plus(E);var L=tt.e/x,X=E.e/x,H=tt.c,ot=E.c;if(!L||!X){if(!H||!ot)return H?(E.s=-A,E):new z(ot?tt:NaN);if(!H[0]||!ot[0])return ot[0]?(E.s=-A,E):new z(H[0]?tt:T==3?-0:0)}if(L=st(L),X=st(X),H=H.slice(),R=L-X){for((j=R<0)?(R=-R,U=H):(X=L,U=ot),U.reverse(),A=R;A--;U.push(0));U.reverse()}else for(V=(j=(R=H.length)<(A=ot.length))?R:A,R=A=0;A<V;A++)if(H[A]!=ot[A]){j=H[A]<ot[A];break}if(j&&(U=H,H=ot,ot=U,E.s=-E.s),A=(V=ot.length)-($=H.length),A>0)for(;A--;H[$++]=0);for(A=_-1;V>R;){if(H[--V]<ot[V]){for($=V;$&&!H[--$];H[$]=A);--H[$],H[V]+=_}H[V]-=ot[V]}for(;H[0]==0;H.splice(0,1),--X);return H[0]?Nt(E,H,X):(E.s=T==3?-1:1,E.c=[E.e=0],E)},it.modulo=it.mod=function(E,A){var $,V,U=this;return E=new z(E,A),!U.c||!E.s||E.c&&!E.c[0]?new z(NaN):!E.c||U.c&&!U.c[0]?new z(U):(F==9?(V=E.s,E.s=1,$=G(U,E,0,3),E.s=V,$.s*=V):$=G(U,E,0,F),E=U.minus($.times(E)),!E.c[0]&&F==1&&(E.s=U.s),E)},it.multipliedBy=it.times=function(E,A){var $,V,U,j,tt,R,L,X,H,ot,gt,ht,xt,It,_t,vt=this,Ct=vt.c,Ot=(E=new z(E,A)).c;if(!Ct||!Ot||!Ct[0]||!Ot[0])return!vt.s||!E.s||Ct&&!Ct[0]&&!Ot||Ot&&!Ot[0]&&!Ct?E.c=E.e=E.s=null:(E.s*=vt.s,!Ct||!Ot?E.c=E.e=null:(E.c=[0],E.e=0)),E;for(V=st(vt.e/x)+st(E.e/x),E.s*=vt.s,L=Ct.length,ot=Ot.length,L<ot&&(xt=Ct,Ct=Ot,Ot=xt,U=L,L=ot,ot=U),U=L+ot,xt=[];U--;xt.push(0));for(It=_,_t=k,U=ot;--U>=0;){for($=0,gt=Ot[U]%_t,ht=Ot[U]/_t|0,tt=L,j=U+tt;j>U;)X=Ct[--tt]%_t,H=Ct[tt]/_t|0,R=ht*X+H*gt,X=gt*X+R%_t*_t+xt[j]+$,$=(X/It|0)+(R/_t|0)+ht*H,xt[j--]=X%It;xt[j]=$}return $?++V:xt.splice(0,1),Nt(E,xt,V)},it.negated=function(){var E=new z(this);return E.s=-E.s||null,E},it.plus=function(E,A){var $,V=this,U=V.s;if(E=new z(E,A),A=E.s,!U||!A)return new z(NaN);if(U!=A)return E.s=-A,V.minus(E);var j=V.e/x,tt=E.e/x,R=V.c,L=E.c;if(!j||!tt){if(!R||!L)return new z(U/0);if(!R[0]||!L[0])return L[0]?E:new z(R[0]?V:U*0)}if(j=st(j),tt=st(tt),R=R.slice(),U=j-tt){for(U>0?(tt=j,$=L):(U=-U,$=R),$.reverse();U--;$.push(0));$.reverse()}for(U=R.length,A=L.length,U-A<0&&($=L,L=R,R=$,A=U),U=0;A;)U=(R[--A]=R[A]+L[A]+U)/_|0,R[A]=_===R[A]?0:R[A]%_;return U&&(R=[U].concat(R),++tt),Nt(E,R,tt)},it.precision=it.sd=function(E,A){var $,V,U,j=this;if(E!=null&&E!==!!E)return nt(E,1,Q),A==null?A=T:nt(A,0,8),Et(new z(j),E,A);if(!($=j.c))return null;if(U=$.length-1,V=U*x+1,U=$[U]){for(;U%10==0;U/=10,V--);for(U=$[0];U>=10;U/=10,V++);}return E&&j.e+1>V&&(V=j.e+1),V},it.shiftedBy=function(E){return nt(E,-p,p),this.times("1e"+E)},it.squareRoot=it.sqrt=function(){var E,A,$,V,U,j=this,tt=j.c,R=j.s,L=j.e,X=P+4,H=new z("0.5");if(R!==1||!tt||!tt[0])return new z(!R||R<0&&(!tt||tt[0])?NaN:tt?j:1/0);if(R=Math.sqrt(+At(j)),R==0||R==1/0?(A=Z(tt),(A.length+L)%2==0&&(A+="0"),R=Math.sqrt(+A),L=st((L+1)/2)-(L<0||L%2),R==1/0?A="5e"+L:(A=R.toExponential(),A=A.slice(0,A.indexOf("e")+1)+L),$=new z(A)):$=new z(R+""),$.c[0]){for(L=$.e,R=L+X,R<3&&(R=0);;)if(U=$,$=H.times(U.plus(G(j,U,X,1))),Z(U.c).slice(0,R)===(A=Z($.c)).slice(0,R))if($.e<L&&--R,A=A.slice(R-3,R+1),A=="9999"||!V&&A=="4999"){if(!V&&(Et(U,U.e+P+2,0),U.times(U).eq(j))){$=U;break}X+=4,R+=4,V=1}else{(!+A||!+A.slice(1)&&A.charAt(0)=="5")&&(Et($,$.e+P+2,1),E=!$.times($).eq(j));break}}return Et($,$.e+P+1,T,E)},it.toExponential=function(E,A){return E!=null&&(nt(E,0,Q),E++),pt(this,E,A,1)},it.toFixed=function(E,A){return E!=null&&(nt(E,0,Q),E=E+this.e+1),pt(this,E,A)},it.toFormat=function(E,A,$){var V,U=this;if($==null)E!=null&&A&&typeof A=="object"?($=A,A=null):E&&typeof E=="object"?($=E,E=A=null):$=S;else if(typeof $!="object")throw Error(d+"Argument not an object: "+$);if(V=U.toFixed(E,A),U.c){var j,tt=V.split("."),R=+$.groupSize,L=+$.secondaryGroupSize,X=$.groupSeparator||"",H=tt[0],ot=tt[1],gt=U.s<0,ht=gt?H.slice(1):H,xt=ht.length;if(L&&(j=R,R=L,L=j,xt-=j),R>0&&xt>0){for(j=xt%R||R,H=ht.substr(0,j);j<xt;j+=R)H+=X+ht.substr(j,R);L>0&&(H+=X+ht.slice(j)),gt&&(H="-"+H)}V=ot?H+($.decimalSeparator||"")+((L=+$.fractionGroupSize)?ot.replace(new RegExp("\\d{"+L+"}\\B","g"),"$&"+($.fractionGroupSeparator||"")):ot):H}return($.prefix||"")+V+($.suffix||"")},it.toFraction=function(E){var A,$,V,U,j,tt,R,L,X,H,ot,gt,ht=this,xt=ht.c;if(E!=null&&(R=new z(E),!R.isInteger()&&(R.c||R.s!==1)||R.lt(lt)))throw Error(d+"Argument "+(R.isInteger()?"out of range: ":"not an integer: ")+At(R));if(!xt)return new z(ht);for(A=new z(lt),X=$=new z(lt),V=L=new z(lt),gt=Z(xt),j=A.e=gt.length-ht.e-1,A.c[0]=C[(tt=j%x)<0?x+tt:tt],E=!E||R.comparedTo(A)>0?j>0?A:X:R,tt=v,v=1/0,R=new z(gt),L.c[0]=0;H=G(R,A,0,1),U=$.plus(H.times(V)),U.comparedTo(E)!=1;)$=V,V=U,X=L.plus(H.times(U=X)),L=U,A=R.minus(H.times(U=A)),R=U;return U=G(E.minus($),V,0,1),L=L.plus(U.times(X)),$=$.plus(U.times(V)),L.s=X.s=ht.s,j=j*2,ot=G(X,V,j,T).minus(ht).abs().comparedTo(G(L,$,j,T).minus(ht).abs())<1?[X,V]:[L,$],v=tt,ot},it.toNumber=function(){return+At(this)},it.toPrecision=function(E,A){return E!=null&&nt(E,1,Q),pt(this,E,A,2)},it.toString=function(E){var A,$=this,V=$.s,U=$.e;return U===null?V?(A="Infinity",V<0&&(A="-"+A)):A="NaN":(E==null?A=U<=i||U>=h?dt(Z($.c),U):ft(Z($.c),U,"0"):E===10&&O?($=Et(new z($),P+U+1,T),A=ft(Z($.c),$.e,"0")):(nt(E,2,c.length,"Base"),A=ut(ft(Z($.c),U,"0"),10,E,V,!0)),V<0&&$.c[0]&&(A="-"+A)),A},it.valueOf=it.toJSON=function(){return At(this)},it._isBigNumber=!0,K!=null&&z.set(K),z}function st(K){var G=K|0;return K>0||K===G?G:G-1}function Z(K){for(var G,ut,mt=1,it=K.length,lt=K[0]+"";mt<it;){for(G=K[mt++]+"",ut=x-G.length;ut--;G="0"+G);lt+=G}for(it=lt.length;lt.charCodeAt(--it)===48;);return lt.slice(0,it+1||1)}function ct(K,G){var ut,mt,it=K.c,lt=G.c,P=K.s,T=G.s,i=K.e,h=G.e;if(!P||!T)return null;if(ut=it&&!it[0],mt=lt&&!lt[0],ut||mt)return ut?mt?0:-T:P;if(P!=T)return P;if(ut=P<0,mt=i==h,!it||!lt)return mt?0:!it^ut?1:-1;if(!mt)return i>h^ut?1:-1;for(T=(i=it.length)<(h=lt.length)?i:h,P=0;P<T;P++)if(it[P]!=lt[P])return it[P]>lt[P]^ut?1:-1;return i==h?0:i>h^ut?1:-1}function nt(K,G,ut,mt){if(K<G||K>ut||K!==o(K))throw Error(d+(mt||"Argument")+(typeof K=="number"?K<G||K>ut?" out of range: ":" not an integer: ":" not a primitive number: ")+String(K))}function at(K){var G=K.c.length-1;return st(K.e/x)==G&&K.c[G]%2!=0}function dt(K,G){return(K.length>1?K.charAt(0)+"."+K.slice(1):K)+(G<0?"e":"e+")+G}function ft(K,G,ut){var mt,it;if(G<0){for(it=ut+".";++G;it+=ut);K=it+K}else if(mt=K.length,++G>mt){for(it=ut,G-=mt;--G;it+=ut);K+=it}else G<mt&&(K=K.slice(0,G)+"."+K.slice(G));return K}r=W(),r.default=r.BigNumber=r,t.exports?t.exports=r:(e||(e=typeof self<"u"&&self?self:window),e.BigNumber=r)})(o1)})(Ia);var Na=Ia.exports;/*!
|
|
137
|
-
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
138
|
-
*
|
|
139
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
140
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
141
|
-
* in the Software without restriction, including without limitation the rights
|
|
142
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
143
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
144
|
-
* furnished to do so, subject to the following conditions:
|
|
145
|
-
*
|
|
146
|
-
* The above copyright notice and this permission notice shall be included in
|
|
147
|
-
* all copies or substantial portions of the Software.
|
|
148
|
-
*
|
|
149
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
150
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
151
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
152
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
153
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
154
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
155
|
-
* SOFTWARE.
|
|
156
|
-
*/const fe=Bi(),A1=_i(),O1=Si,T1=Na,Yt={trillion:Math.pow(10,12),billion:Math.pow(10,9),million:Math.pow(10,6),thousand:Math.pow(10,3)},yr={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:Ua,decimalSuffixes:Rr}=fe.currentBytes(),Ai={general:{scale:1024,suffixes:Rr},binary:{scale:1024,suffixes:Ua},decimal:{scale:1e3,suffixes:Rr}};function C1(t,e={},r){if(typeof e=="string"&&(e=O1.parseFormat(e)),!A1.validateFormat(e))return"ERROR: invalid format";let s=e.prefix||"",o=e.postfix||"",d=$1(t,e,r);return d=K1(d,s),d=Y1(d,o),d}function $1(t,e,r){switch(e.output){case"currency":return e=Pe(e,fe.currentCurrencyDefaultFormat()),D1(t,e,fe);case"percent":return e=Pe(e,fe.currentPercentageDefaultFormat()),P1(t,e,fe,r);case"byte":return e=Pe(e,fe.currentByteDefaultFormat()),N1(t,e,fe,r);case"time":return e=Pe(e,fe.currentTimeDefaultFormat()),L1(t);case"ordinal":return e=Pe(e,fe.currentOrdinalDefaultFormat()),U1(t,e,fe);case"number":default:return wr({instance:t,providedFormat:e})}}function F1(t){let e=Ai.decimal;return Xr(t._value,e.suffixes,e.scale).suffix}function R1(t){let e=Ai.binary;return Xr(t._value,e.suffixes,e.scale).suffix}function I1(t){let e=Ai.general;return Xr(t._value,e.suffixes,e.scale).suffix}function Xr(t,e,r){let n=e[0],s=Math.abs(t);if(s>=r){for(let o=1;o<e.length;++o){let d=Math.pow(r,o),w=Math.pow(r,o+1);if(s>=d&&s<w){n=e[o],t=t/d;break}}n===e[0]&&(t=t/Math.pow(r,e.length-1),n=e[e.length-1])}return{value:t,suffix:n}}function N1(t,e,r,n){let s=e.base||"binary",o=Object.assign({},yr,e);const{binarySuffixes:d,decimalSuffixes:w}=r.currentBytes();let x={general:{scale:1024,suffixes:w||Rr,marker:"bd"},binary:{scale:1024,suffixes:d||Ua,marker:"b"},decimal:{scale:1e3,suffixes:w||Rr,marker:"d"}}[s],{value:p,suffix:C}=Xr(t._value,x.suffixes,x.scale);return`${wr({instance:n(p),providedFormat:e,state:r,defaults:r.currentByteDefaultFormat()})}${o.spaceSeparated?" ":""}${C}`}function U1(t,e,r){let n=r.currentOrdinal(),s=Object.assign({},yr,e),o=wr({instance:t,providedFormat:e,state:r}),d=n(t._value);return`${o}${s.spaceSeparated?" ":""}${d}`}function L1(t){let e=Math.floor(t._value/60/60),r=Math.floor((t._value-e*60*60)/60),n=Math.round(t._value-e*60*60-r*60);return`${e}:${r<10?"0":""}${r}:${n<10?"0":""}${n}`}function P1(t,e,r,n){let s=e.prefixSymbol,o=wr({instance:n(t._value*100),providedFormat:e,state:r}),d=Object.assign({},yr,e);return s?`%${d.spaceSeparated?" ":""}${o}`:`${o}${d.spaceSeparated?" ":""}%`}function D1(t,e,r){const n=r.currentCurrency();let s=Object.assign({},e),o=Object.assign({},yr,s),d,w="",_=!!o.totalLength||!!o.forceAverage||o.average,x=s.currencyPosition||n.position,p=s.currencySymbol||n.symbol;const C=o.spaceSeparatedCurrency!==void 0?o.spaceSeparatedCurrency:o.spaceSeparated;s.lowPrecision===void 0&&(s.lowPrecision=!1),C&&(w=" "),x==="infix"&&(d=w+p+w);let k=wr({instance:t,providedFormat:s,state:r,decimalSeparator:d});return x==="prefix"&&(t._value<0&&o.negative==="sign"?k=`-${w}${p}${k.slice(1)}`:t._value>0&&o.forceSign?k=`+${w}${p}${k.slice(1)}`:k=p+w+k),(!x||x==="postfix")&&(w=!o.spaceSeparatedAbbreviation&&_?"":w,k=k+w+p),k}function j1({value:t,forceAverage:e,lowPrecision:r=!0,abbreviations:n,spaceSeparated:s=!1,totalLength:o=0,roundingFunction:d=Math.round}){let w="",_=Math.abs(t),x=-1;if(e&&n[e]&&Yt[e]?(w=n[e],t=t/Yt[e]):_>=Yt.trillion||r&&d(_/Yt.trillion)===1?(w=n.trillion,t=t/Yt.trillion):_<Yt.trillion&&_>=Yt.billion||r&&d(_/Yt.billion)===1?(w=n.billion,t=t/Yt.billion):_<Yt.billion&&_>=Yt.million||r&&d(_/Yt.million)===1?(w=n.million,t=t/Yt.million):(_<Yt.million&&_>=Yt.thousand||r&&d(_/Yt.thousand)===1)&&(w=n.thousand,t=t/Yt.thousand),w&&(w=(s?" ":"")+w),o){let C=t<0,k=t.toString().split(".")[0],Q=C?k.length-1:k.length;x=Math.max(o-Q,0)}return{value:t,abbreviation:w,mantissaPrecision:x}}function k1({value:t,characteristicPrecision:e}){let[r,n]=t.toExponential().split("e"),s=+r;if(!e)return{value:s,abbreviation:`e${n}`};let o=1;return o<e&&(s=s*Math.pow(10,e-o),n=+n-(e-o),n=n>=0?`+${n}`:n),{value:s,abbreviation:`e${n}`}}function Er(t){let e="";for(let r=0;r<t;r++)e+="0";return e}function q1(t,e){let r=t.toString(),[n,s]=r.split("e"),[o,d=""]=n.split(".");if(+s>0)r=o+d+Er(s-d.length);else{let w=".";+o<0?w=`-0${w}`:w=`0${w}`;let _=(Er(-s-1)+Math.abs(o)+d).substr(0,e);_.length<e&&(_+=Er(e-_.length)),r=w+_}return+s>0&&e>0&&(r+=`.${Er(e)}`),r}function H1(t,e,r=Math.round){return t.toString().indexOf("e")!==-1?q1(t,e):new T1(r(+`${t}e+${e}`)/Math.pow(10,e)).toFixed(e)}function z1(t,e,r,n,s,o){if(n===-1)return t;let d=H1(e,n,o),[w,_=""]=d.toString().split(".");if(_.match(/^0+$/)&&(r||s))return w;let x=_.match(/0+$/);return s&&x?`${w}.${_.toString().slice(0,x.index)}`:d.toString()}function G1(t,e,r,n){let s=t,[o,d]=s.toString().split(".");if(o.match(/^-?0$/)&&r)return d?`${o.replace("0","")}.${d}`:o.replace("0","");const w=e<0&&o.indexOf("-")===0;if(w&&(o=o.slice(1),s=s.slice(1)),o.length<n){let _=n-o.length;for(let x=0;x<_;x++)s=`0${s}`}return w&&(s=`-${s}`),s.toString()}function W1(t,e){let r=[],n=0;for(let s=t;s>0;s--)n===e&&(r.unshift(s),n=0),n++;return r}function Z1(t,e,r,n,s){let o=n.currentDelimiters(),d=o.thousands;s=s||o.decimal;let w=o.thousandsSize||3,_=t.toString(),x=_.split(".")[0],p=_.split(".")[1];const C=e<0&&x.indexOf("-")===0;return r&&(C&&(x=x.slice(1)),W1(x.length,w).forEach((Q,W)=>{x=x.slice(0,Q+W)+d+x.slice(Q+W)}),C&&(x=`-${x}`)),p?_=x+s+p:_=x,_}function J1(t,e){return t+e}function V1(t,e,r){return e===0?t:+t==0?t.replace("-",""):e>0?`+${t}`:r==="sign"?t:`(${t.replace("-","")})`}function K1(t,e){return e+t}function Y1(t,e){return t+e}function wr({instance:t,providedFormat:e,state:r=fe,decimalSeparator:n,defaults:s=r.currentDefaults()}){let o=t._value;if(o===0&&r.hasZeroFormat())return r.getZeroFormat();if(!isFinite(o))return o.toString();let d=Object.assign({},yr,s,e),w=d.totalLength,_=w?0:d.characteristic,x=d.optionalCharacteristic,p=d.forceAverage,C=d.lowPrecision,k=!!w||!!p||d.average,Q=w?-1:k&&e.mantissa===void 0?0:d.mantissa,W=w?!1:e.optionalMantissa===void 0?Q===-1:d.optionalMantissa,st=d.trimMantissa,Z=d.thousandSeparated,ct=d.spaceSeparated,nt=d.negative,at=d.forceSign,dt=d.exponential,ft=d.roundingFunction,K="";if(k){let ut=j1({value:o,forceAverage:p,lowPrecision:C,abbreviations:r.currentAbbreviations(),spaceSeparated:ct,roundingFunction:ft,totalLength:w});o=ut.value,K+=ut.abbreviation,w&&(Q=ut.mantissaPrecision)}if(dt){let ut=k1({value:o,characteristicPrecision:_});o=ut.value,K=ut.abbreviation+K}let G=z1(o.toString(),o,W,Q,st,ft);return G=G1(G,o,x,_),G=Z1(G,o,Z,r,n),(k||dt)&&(G=J1(G,K)),(at||o<0)&&(G=V1(G,o,nt)),G}function Pe(t,e){if(!t)return e;let r=Object.keys(t);return r.length===1&&r[0]==="output"?e:t}var X1=t=>({format:(...e)=>C1(...e,t),getByteUnit:(...e)=>I1(...e,t),getBinaryByteUnit:(...e)=>R1(...e,t),getDecimalByteUnit:(...e)=>F1(...e,t),formatOrDefault:Pe});/*!
|
|
157
|
-
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
158
|
-
*
|
|
159
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
160
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
161
|
-
* in the Software without restriction, including without limitation the rights
|
|
162
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
163
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
164
|
-
* furnished to do so, subject to the following conditions:
|
|
165
|
-
*
|
|
166
|
-
* The above copyright notice and this permission notice shall be included in
|
|
167
|
-
* all copies or substantial portions of the Software.
|
|
168
|
-
*
|
|
169
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
170
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
171
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
172
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
173
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
174
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
175
|
-
* SOFTWARE.
|
|
176
|
-
*/const xe=Na;function Q1(t,e,r){let n=new xe(t._value),s=e;return r.isNumbro(e)&&(s=e._value),s=new xe(s),t._value=n.plus(s).toNumber(),t}function La(t,e,r){let n=new xe(t._value),s=e;return r.isNumbro(e)&&(s=e._value),s=new xe(s),t._value=n.minus(s).toNumber(),t}function tm(t,e,r){let n=new xe(t._value),s=e;return r.isNumbro(e)&&(s=e._value),s=new xe(s),t._value=n.times(s).toNumber(),t}function em(t,e,r){let n=new xe(t._value),s=e;return r.isNumbro(e)&&(s=e._value),s=new xe(s),t._value=n.dividedBy(s).toNumber(),t}function rm(t,e,r){let n=e;return r.isNumbro(e)&&(n=e._value),t._value=n,t}function nm(t,e,r){let n=r(t._value);return La(n,e,r),Math.abs(n._value)}var im=t=>({add:(e,r)=>Q1(e,r,t),subtract:(e,r)=>La(e,r,t),multiply:(e,r)=>tm(e,r,t),divide:(e,r)=>em(e,r,t),set:(e,r)=>rm(e,r,t),difference:(e,r)=>nm(e,r,t),BigNumber:xe});/*!
|
|
177
|
-
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
178
|
-
*
|
|
179
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
180
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
181
|
-
* in the Software without restriction, including without limitation the rights
|
|
182
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
183
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
184
|
-
* furnished to do so, subject to the following conditions:
|
|
185
|
-
*
|
|
186
|
-
* The above copyright notice and this permission notice shall be included in
|
|
187
|
-
* all copies or substantial portions of the Software.
|
|
188
|
-
*
|
|
189
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
190
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
191
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
192
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
193
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
194
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
195
|
-
* SOFTWARE.
|
|
196
|
-
*/const om="2.5.0",ye=Bi(),sm=_i(),am=B1(zt),um=Ra();let _e=X1(zt),Se=im(zt);const fm=Si;class Pa{constructor(e){this._value=e}clone(){return zt(this._value)}format(e={}){return _e.format(this,e)}formatCurrency(e){return typeof e=="string"&&(e=fm.parseFormat(e)),e=_e.formatOrDefault(e,ye.currentCurrencyDefaultFormat()),e.output="currency",_e.format(this,e)}formatTime(e={}){return e.output="time",_e.format(this,e)}binaryByteUnits(){return _e.getBinaryByteUnit(this)}decimalByteUnits(){return _e.getDecimalByteUnit(this)}byteUnits(){return _e.getByteUnit(this)}difference(e){return Se.difference(this,e)}add(e){return Se.add(this,e)}subtract(e){return Se.subtract(this,e)}multiply(e){return Se.multiply(this,e)}divide(e){return Se.divide(this,e)}set(e){return Se.set(this,Da(e))}value(){return this._value}valueOf(){return this._value}}function Da(t){let e=t;return zt.isNumbro(t)?e=t._value:typeof t=="string"?e=zt.unformat(t):isNaN(t)&&(e=NaN),e}function zt(t){return new Pa(Da(t))}zt.version=om;zt.isNumbro=function(t){return t instanceof Pa};zt.language=ye.currentLanguage;zt.registerLanguage=ye.registerLanguage;zt.setLanguage=ye.setLanguage;zt.languages=ye.languages;zt.languageData=ye.languageData;zt.zeroFormat=ye.setZeroFormat;zt.defaultFormat=ye.currentDefaults;zt.setDefaults=ye.setDefaults;zt.defaultCurrencyFormat=ye.currentCurrencyDefaultFormat;zt.validate=sm.validate;zt.loadLanguagesInNode=am.loadLanguagesInNode;zt.unformat=um.unformat;zt.BigNumber=Se.BigNumber;var lm=zt,dw=s1(lm),ko=di(function(t,e,r,n){Ne(e,Ye(e),t,n)}),cm="[object DOMException]",hm="[object Error]";function ja(t){if(!ee(t))return!1;var e=ce(t);return e==hm||e==cm||typeof t.message=="string"&&typeof t.name=="string"&&!qr(t)}var dm=he(function(t,e){try{return hi(t,void 0,e)}catch(r){return ja(r)?r:new Error(r)}});function ka(t,e){return we(e,function(r){return t[r]})}var qa=Object.prototype,pm=qa.hasOwnProperty;function qo(t,e,r,n){return t===void 0||Je(t,qa[r])&&!pm.call(n,r)?e:t}var gm={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function mm(t){return"\\"+gm[t]}var Ha=/<%=([\s\S]+?)%>/g,ym={"&":"&","<":"<",">":">",'"':""","'":"'"},wm=wa(ym),za=/[&<>"']/g,xm=RegExp(za.source);function vm(t){return t=ne(t),t&&xm.test(t)?t.replace(za,wm):t}var bm=/<%-([\s\S]+?)%>/g,Em=/<%([\s\S]+?)%>/g,Ho={escape:bm,evaluate:Em,interpolate:Ha,variable:"",imports:{_:{escape:vm}}},Mm="Invalid `variable` option passed into `_.template`",_m=/\b__p \+= '';/g,Sm=/\b(__p \+=) '' \+/g,Bm=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Am=/[()=,{}\[\]\/\s]/,Om=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Mr=/($^)/,Tm=/['\n\r\u2028\u2029\\]/g,Cm=Object.prototype,zo=Cm.hasOwnProperty;function pw(t,e,r){var n=Ho.imports._.templateSettings||Ho;t=ne(t),e=ko({},e,n,qo);var s=ko({},e.imports,n.imports,qo),o=Me(s),d=ka(s,o),w,_,x=0,p=e.interpolate||Mr,C="__p += '",k=RegExp((e.escape||Mr).source+"|"+p.source+"|"+(p===Ha?Om:Mr).source+"|"+(e.evaluate||Mr).source+"|$","g"),Q=zo.call(e,"sourceURL")?"//# sourceURL="+(e.sourceURL+"").replace(/\s/g," ")+`
|
|
197
|
-
`:"";t.replace(k,function(Z,ct,nt,at,dt,ft){return nt||(nt=at),C+=t.slice(x,ft).replace(Tm,mm),ct&&(w=!0,C+=`' +
|
|
198
|
-
__e(`+ct+`) +
|
|
199
|
-
'`),dt&&(_=!0,C+=`';
|
|
200
|
-
`+dt+`;
|
|
201
|
-
__p += '`),nt&&(C+=`' +
|
|
202
|
-
((__t = (`+nt+`)) == null ? '' : __t) +
|
|
203
|
-
'`),x=ft+Z.length,Z}),C+=`';
|
|
204
|
-
`;var W=zo.call(e,"variable")&&e.variable;if(!W)C=`with (obj) {
|
|
205
|
-
`+C+`
|
|
206
|
-
}
|
|
207
|
-
`;else if(Am.test(W))throw new Error(Mm);C=(_?C.replace(_m,""):C).replace(Sm,"$1").replace(Bm,"$1;"),C="function("+(W||"obj")+`) {
|
|
208
|
-
`+(W?"":`obj || (obj = {});
|
|
209
|
-
`)+"var __t, __p = ''"+(w?", __e = _.escape":"")+(_?`, __j = Array.prototype.join;
|
|
210
|
-
function print() { __p += __j.call(arguments, '') }
|
|
211
|
-
`:`;
|
|
212
|
-
`)+C+`return __p
|
|
213
|
-
}`;var st=dm(function(){return Function(o,Q+"return "+C).apply(void 0,d)});if(st.source=C,ja(st))throw st;return st}var $m=ae.isFinite;function gw(t){return typeof t=="number"&&$m(t)}var Fm=1,Rm=4;function Im(t){return nr(t,Fm|Rm)}const mw=Object.freeze(Object.defineProperty({__proto__:null,default:Im},Symbol.toStringTag,{value:"Module"}));function Ga(t,e,r,n,s,o){return Kt(t)&&Kt(e)&&(o.set(e,t),Hr(t,e,void 0,Ga,o),o.delete(e)),t}var Nm=di(function(t,e,r,n){Hr(t,e,r,n)}),yw=he(function(t){return t.push(void 0,Ga),hi(Nm,void 0,t)});function Um(t,e){for(var r=-1,n=t.length;++r<n&&Gr(e,t[r],0)>-1;);return r}function Lm(t,e,r){if(t=ne(t),t&&(r||e===void 0))return fs(t);if(!t||!(e=ar(e)))return t;var n=ke(t),s=ke(e),o=Um(n,s),d=Fa(n,s)+1;return Ir(n,o,d).join("")}const ww=Object.freeze(Object.defineProperty({__proto__:null,default:Lm},Symbol.toStringTag,{value:"Module"}));var Pm=Math.min;function Dm(t,e,r){for(var n=pi,s=t[0].length,o=t.length,d=o,w=Array(o),_=1/0,x=[];d--;){var p=t[d];_=Pm(p.length,_),w[d]=s>=120&&p.length>=120?new Ce(d&&p):void 0}p=t[0];var C=-1,k=w[0];t:for(;++C<s&&x.length<_;){var Q=p[C],W=Q;if(Q=Q!==0?Q:0,!(k?sr(k,W):n(x,W))){for(d=o;--d;){var st=w[d];if(!(st?sr(st,W):n(t[d],W)))continue t}k&&k.push(W),x.push(Q)}}return x}function jm(t){return $e(t)?t:[]}var xw=he(function(t){var e=we(t,jm);return e.length&&e[0]===t[0]?Dm(e):[]}),vw=he(function(t){var e=zr(t);return $e(e)&&(e=void 0),Ge(hr(t,1,$e,!0),me(e))});function Oi(t,e){return t&&Os(t,e,Me)}function km(t,e){return function(r,n){if(r==null)return r;if(!Ee(r))return t(r,n);for(var s=r.length,o=-1,d=Object(r);++o<s&&n(d[o],o,d)!==!1;);return r}}var Ti=km(Oi);function Wa(t,e){var r=-1,n=Ee(t)?Array(t.length):[];return Ti(t,function(s,o,d){n[++r]=e(s,o,d)}),n}function qm(t,e){var r=t.length;for(t.sort(e);r--;)t[r]=t[r].value;return t}function Hm(t,e){if(t!==e){var r=t!==void 0,n=t===null,s=t===t,o=je(t),d=e!==void 0,w=e===null,_=e===e,x=je(e);if(!w&&!x&&!o&&t>e||o&&d&&_&&!w&&!x||n&&d&&_||!r&&_||!s)return 1;if(!n&&!o&&!x&&t<e||x&&r&&s&&!n&&!o||w&&r&&s||!d&&s||!_)return-1}return 0}function zm(t,e,r){for(var n=-1,s=t.criteria,o=e.criteria,d=s.length,w=r.length;++n<d;){var _=Hm(s[n],o[n]);if(_){if(n>=w)return _;var x=r[n];return _*(x=="desc"?-1:1)}}return t.index-e.index}function Za(t,e,r){e.length?e=we(e,function(o){return Gt(o)?function(d){return fr(d,o.length===1?o[0]:o)}:o}):e=[lr];var n=-1;e=we(e,Pr(me));var s=Wa(t,function(o,d,w){var _=we(e,function(x){return x(o)});return{criteria:_,index:++n,value:o}});return qm(s,function(o,d){return zm(o,d,r)})}var bw=he(function(t,e){if(t==null)return[];var r=e.length;return r>1&&Wn(t,e[0],e[1])?e=[]:r>2&&Wn(e[0],e[1],e[2])&&(e=[e[0]]),Za(t,hr(e),[])});function Gm(t){return function(e,r,n){var s=Object(e);if(!Ee(e)){var o=me(r);e=Me(e),r=function(w){return o(s[w],w,s)}}var d=t(e,r,n);return d>-1?s[o?e[d]:d]:void 0}}var Wm=Math.max;function Zm(t,e,r){var n=t==null?0:t.length;if(!n)return-1;var s=r==null?0:Ze(r);return s<0&&(s=Wm(n+s,0)),js(t,me(e),s)}var Ew=Gm(Zm);function Jm(t){return t&&t.length?Ge(t):[]}const Mw=Object.freeze(Object.defineProperty({__proto__:null,default:Jm},Symbol.toStringTag,{value:"Module"}));var Vm=Math.ceil,Km=Math.max;function _w(t,e,r){e===void 0?e=1:e=Km(Ze(e),0);var n=t==null?0:t.length;if(!n||e<1)return[];for(var s=0,o=0,d=Array(Vm(n/e));s<n;)d[o++]=Xn(t,s,s+=e);return d}function Ym(t,e,r,n){for(var s=-1,o=t==null?0:t.length;++s<o;){var d=t[s];e(n,d,r(d),t)}return n}function Xm(t,e,r,n){return Ti(t,function(s,o,d){e(n,s,r(s),d)}),n}function Ja(t,e){return function(r,n){var s=Gt(r)?Ym:Xm,o=e?e():{};return s(r,t,me(n),o)}}var Qm=200;function Va(t,e,r,n){var s=-1,o=pi,d=!0,w=t.length,_=[],x=e.length;if(!w)return _;n?(o=ks,d=!1):e.length>=Qm&&(o=sr,d=!1,e=new Ce(e));t:for(;++s<w;){var p=t[s],C=p;if(p=n||p!==0?p:0,d&&C===C){for(var k=x;k--;)if(e[k]===C)continue t;_.push(p)}else o(e,C,n)||_.push(p)}return _}function Ka(t){return typeof t=="function"?t:lr}function Sw(t,e){var r=Gt(t)?Ns:Ti;return r(t,Ka(e))}function ty(t,e){var r=Gt(t)?we:Wa;return r(t,me(e))}const Bw=Object.freeze(Object.defineProperty({__proto__:null,default:ty},Symbol.toStringTag,{value:"Module"}));function ey(t,e){return t&&Oi(t,Ka(e))}const Aw=Object.freeze(Object.defineProperty({__proto__:null,default:ey},Symbol.toStringTag,{value:"Module"}));function Ow(t){return t==null?[]:ka(t,Me(t))}function Tw(t){return typeof t=="number"&&t==Ze(t)}var Cw=Ja(function(t,e,r){cr(t,r,e)});function $w(t,e){var r={};return e=me(e),Oi(t,function(n,s,o){cr(r,s,e(n,s,o))}),r}function ry(t,e){var r=t.length;if(r)return e+=e<0?r:0,ur(e,r)?t[e]:void 0}function Fw(t){return t=Ze(t),he(function(e){return ry(e,t)})}function Rw(t,e,r,n){return t==null?[]:(Gt(e)||(e=e==null?[]:[e]),r=r,Gt(r)||(r=r==null?[]:[r]),Za(t,e,r))}var ny=Ja(function(t,e,r){t[r?0:1].push(e)},function(){return[[],[]]});const Iw=Object.freeze(Object.defineProperty({__proto__:null,default:ny},Symbol.toStringTag,{value:"Module"}));var iy=Array.prototype,Go=iy.splice;function oy(t,e,r,n){var s=Gr,o=-1,d=e.length,w=t;for(t===e&&(e=ci(e));++o<d;)for(var _=0,x=e[o],p=x;(_=s(w,p,_))>-1;)w!==t&&Go.call(w,_,1),Go.call(t,_,1);return t}function sy(t,e){return t&&t.length&&e&&e.length?oy(t,e):t}var Nw=he(sy);function ay(t){return ne(t).toLowerCase()}const Uw=Object.freeze(Object.defineProperty({__proto__:null,default:ay},Symbol.toStringTag,{value:"Module"}));function Lw(t){return ne(t).toUpperCase()}var uy=he(function(t){var e=zr(t);return e=typeof e=="function"?e:void 0,Ge(hr(t,1,$e,!0),void 0,e)});const Pw=Object.freeze(Object.defineProperty({__proto__:null,default:uy},Symbol.toStringTag,{value:"Module"}));var Dw=he(function(t,e){return $e(t)?Va(t,e):[]});function fy(t,e,r){var n=t.length;if(n<2)return n?Ge(t[0]):[];for(var s=-1,o=Array(n);++s<n;)for(var d=t[s],w=-1;++w<n;)w!=s&&(o[s]=Va(o[s]||d,t[w],e,r));return Ge(hr(o),e,r)}var jw=he(function(t){var e=zr(t);return e=typeof e=="function"?e:void 0,fy(hs(t,$e),void 0,e)});export{Ey as $,r1 as A,up as B,Ty as C,Vt as D,Ew as E,Kt as F,Im as G,tg as H,Dh as I,Ay as J,pw as K,dw as L,hw as M,Kg as N,Oy as O,Ny as P,ig as Q,Gt as R,Fy as S,Lm as T,xw as U,ti as V,bw as W,vw as X,yw as Y,yy as Z,gw as _,Qc as a,py as a0,Mw as a1,$y as a2,si as a3,Gh as a4,Cy as a5,jw as a6,_w as a7,Rw as a8,yi as a9,Nw as aA,ld as aB,t1 as aC,Pw as aD,dy as aE,Iw as aF,Dw as aG,By as aH,Ow as aI,Cw as aJ,ya as aa,Sy as ab,Jm as ac,Dp as ad,Tw as ae,Dy as af,Vg as ag,Hs as ah,Ry as ai,dd as aj,Nh as ak,Aw as al,by as am,Bw as an,Sw as ao,ty as ap,mw as aq,My as ar,Uw as as,ww as at,$w as au,Lw as av,Fw as aw,Zc as ax,_y as ay,n1 as az,tf as b,xy as c,n0 as d,Es as e,ew as f,Be as g,rw as h,qr as i,tw as j,cy as k,iw as l,ow as m,l0 as n,gy as o,sw as p,hy as q,my as r,wy as s,vy as t,nw as u,uw as v,Xg as w,fw as x,lw as y,cw as z};
|