@dcl/explore-site 0.0.1-24252946891.commit-825a313 → 0.0.1-24267316931.commit-799a906
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/assets/HomePage-CmbpPu7G.js +5 -0
- package/assets/{QueryClientProvider-C-NHVHHp.js → QueryClientProvider-BH-IbUQr.js} +1 -1
- package/assets/{SensorsRounded-JPN-5LAe.js → SensorsRounded-B21l4gbp.js} +1 -1
- package/assets/{__federation_expose_App-IZ0GxuOa.js → __federation_expose_App-CvYxiYru.js} +1 -1
- package/assets/{__federation_fn_import-BpUcHfOt.js → __federation_fn_import-DOOor4Tc.js} +1 -1
- package/assets/__federation_shared_@dcl/{hooks-DmfiTWc1.js → hooks-LDrJeRe8.js} +3 -3
- package/assets/__federation_shared_@emotion/react-15yK1GaH.js +1 -0
- package/assets/__federation_shared_@emotion/{styled-rphXTDtE.js → styled-DB7CfooL.js} +1 -1
- package/assets/{__federation_shared_decentraland-ui2-CGAOHsvb.js → __federation_shared_decentraland-ui2-De4vDvii.js} +6 -6
- package/assets/{__federation_shared_react-redux-DNN93ZTk.js → __federation_shared_react-redux-BTCU_VHn.js} +1 -1
- package/assets/{__federation_shared_react-router-dom-DAD_IRwb.js → __federation_shared_react-router-dom-8CrTxutN.js} +1 -1
- package/assets/{__federation_shared_viem-CtaxVkf9.js → __federation_shared_viem-L7rImFc2.js} +1 -1
- package/assets/{__federation_shared_wagmi-Cy245c18.js → __federation_shared_wagmi-xU7oGt7C.js} +1 -1
- package/assets/{add-CRDAsoS6.js → add-BIaFihyg.js} +1 -1
- package/assets/{all-wallets-M8PSbQIn.js → all-wallets-Cfqn8PYe.js} +1 -1
- package/assets/{app-store-BbwUhtBT.js → app-store-BxDqeIqC.js} +1 -1
- package/assets/{apple-KYMxwI8C.js → apple-QJkClsJb.js} +1 -1
- package/assets/{arrow-bottom-CpvmQ1Sm.js → arrow-bottom--x7UucJT.js} +1 -1
- package/assets/{arrow-bottom-circle-CerfhIVS.js → arrow-bottom-circle-B6n9IioS.js} +1 -1
- package/assets/{arrow-left-dVEFXKxi.js → arrow-left-CbI3FC2k.js} +1 -1
- package/assets/{arrow-right-Co8yigww.js → arrow-right-DUpKnhaL.js} +1 -1
- package/assets/{arrow-top-KlKLphV1.js → arrow-top-ed8A36YY.js} +1 -1
- package/assets/{auto-track-B5V2sEPk.js → auto-track-DVN9JGQL.js} +1 -1
- package/assets/{bank-DP6slqnu.js → bank-DXf1YkKA.js} +1 -1
- package/assets/{basic-Bbqn4F9Z.js → basic-DC4Q-2hh.js} +1 -1
- package/assets/{browser-DemG1Tjp.js → browser-CVrIMCbR.js} +1 -1
- package/assets/{card-DI9bRVEe.js → card-DgyBT68T.js} +1 -1
- package/assets/{ccip-BBFbZHDd.js → ccip-BFT6thRj.js} +1 -1
- package/assets/{checkmark-ClaV4zyl.js → checkmark-7hzDBsql.js} +1 -1
- package/assets/{checkmark-bold-CpTXXIQl.js → checkmark-bold-DGsuPsPt.js} +1 -1
- package/assets/{chevron-bottom-B7WEB302.js → chevron-bottom-KAJVVB8V.js} +1 -1
- package/assets/{chevron-left-s49yO0vq.js → chevron-left-QtyERYwY.js} +1 -1
- package/assets/{chevron-right-DLxDeInf.js → chevron-right-C0eFIW4T.js} +1 -1
- package/assets/{chevron-top-BNesEvvt.js → chevron-top-D_qeKe8O.js} +1 -1
- package/assets/{chrome-store-CYoj3jLA.js → chrome-store-B_QNIif-.js} +1 -1
- package/assets/{clock-Cowlhipt.js → clock-Dl1FecER.js} +1 -1
- package/assets/{close-CHDSWjeu.js → close-CVONymnQ.js} +1 -1
- package/assets/{coinPlaceholder-CWCahYS0.js → coinPlaceholder-D5mWuYoH.js} +1 -1
- package/assets/{compass-DTVuLPLx.js → compass-B6DJCHlH.js} +1 -1
- package/assets/{copy-CTWrc8Rs.js → copy-DXzUKW8b.js} +1 -1
- package/assets/{core-CpW5hIOT.js → core-CKL2t7br.js} +3 -3
- package/assets/{createClient-zxCjTTdy.js → createClient-BX8igSrC.js} +1 -1
- package/assets/{cursor-BFEE41Uw.js → cursor-BaYtj4Cp.js} +1 -1
- package/assets/{cursor-transparent-_fazXWeP.js → cursor-transparent-rkrBpH7G.js} +1 -1
- package/assets/{desktop-Cvlh7_59.js → desktop-BZmREBP0.js} +1 -1
- package/assets/{disconnect-D86MdYry.js → disconnect-JHh9OB23.js} +1 -1
- package/assets/{discord-D3nT23vI.js → discord-VVP8zM-_.js} +1 -1
- package/assets/{emotion-react.browser.esm-Dg3AE4Kj.js → emotion-react.browser.esm-DEU8IF7l.js} +1 -1
- package/assets/{emotion-use-insertion-effect-with-fallbacks.browser.esm-BB-KD4bd.js → emotion-use-insertion-effect-with-fallbacks.browser.esm-BVHTexMg.js} +1 -1
- package/assets/{etherscan-BdEW9vqc.js → etherscan-BbYifZFZ.js} +1 -1
- package/assets/{exclamation-triangle-B5oynvdL.js → exclamation-triangle-CpcXflnC.js} +1 -1
- package/assets/{extension-opfmx5KG.js → extension-CYQ7TNQ0.js} +1 -1
- package/assets/{external-link-HqD0KIHl.js → external-link-Bl_2Xa1d.js} +1 -1
- package/assets/{facebook-B4PtxY49.js → facebook-BLoOTkup.js} +1 -1
- package/assets/{farcaster-B7ZESl8t.js → farcaster-S-7ZNLCN.js} +1 -1
- package/assets/{filters-B9Lc7WUh.js → filters-rcIRW8Y2.js} +1 -1
- package/assets/{github-ej36lilR.js → github-1RRpC6gF.js} +1 -1
- package/assets/{google-SZDPskQA.js → google-BrEjql_r.js} +1 -1
- package/assets/{help-circle-Dlk1DWFb.js → help-circle-_-klJVev.js} +1 -1
- package/assets/{id-C1JuIBUw.js → id-BruMHf38.js} +1 -1
- package/assets/{image-DrbB-EB0.js → image-D_WfaLXE.js} +1 -1
- package/assets/{index-CS17BYIc.js → index-7-Mcjp5z.js} +1 -1
- package/assets/{index-WpGhNLfq.js → index-B73GCj3R.js} +1 -1
- package/assets/{index-YLeJoyMs.js → index-BUFfda2b.js} +1 -1
- package/assets/{index-0ao9d42m.js → index-Bmhq34sv.js} +1 -1
- package/assets/index-BqMgoBT5.js +1 -0
- package/assets/{index-DYH9xpq_.js → index-C4zctrBM.js} +1 -1
- package/assets/{index-BEfcyzqC.js → index-DA4Xnl3Z.js} +2 -2
- package/assets/{index-D6O4pjzC.js → index-DLT4yAcF.js} +1 -1
- package/assets/{index-Bsc49IIV.js → index-DsHsO_hv.js} +3 -3
- package/assets/index-Dy0yjznp.js +1 -1
- package/assets/index-VfkM29PH.js +1 -1
- package/assets/{index-BO7uzrKR.js → index-sWqGpxny.js} +1 -1
- package/assets/{index.es-CPsAnK0o.js → index.es-CzdwEqXn.js} +3 -3
- package/assets/{info-CGOdSL7l.js → info-XfmynO47.js} +1 -1
- package/assets/{info-circle-BwpvAP6c.js → info-circle-DVJGAyOl.js} +1 -1
- package/assets/jsx-runtime-B1l0k91v.js +1 -1
- package/assets/{lightbulb-DZgqqIhJ.js → lightbulb-DFNuvMz-.js} +1 -1
- package/assets/{localBatchGatewayRequest-DCkB3-pI.js → localBatchGatewayRequest-CaH3acob.js} +1 -1
- package/assets/{mail-DWm8ISSp.js → mail-Drod4DXU.js} +1 -1
- package/assets/{mobile-CbZLz58l.js → mobile-BJnalH7G.js} +1 -1
- package/assets/{more-DRXJyPbv.js → more-CzFkj1ed.js} +1 -1
- package/assets/{network-placeholder-n_BgsbNp.js → network-placeholder-BLUwDLic.js} +1 -1
- package/assets/{nftPlaceholder-BCafmzLA.js → nftPlaceholder-ChOx-BzT.js} +1 -1
- package/assets/{off-9RGrlpVz.js → off-CleAz5gO.js} +1 -1
- package/assets/{play-store-CgGjC9IP.js → play-store-DwxG6fai.js} +1 -1
- package/assets/{plus-DSM-LJkV.js → plus-Bvi_TZCr.js} +1 -1
- package/assets/{preload-helper-DQQ0dFoV.js → preload-helper-CDMQs6vf.js} +1 -1
- package/assets/{qr-code-B_iIzgRO.js → qr-code-A_RC2EmO.js} +1 -1
- package/assets/{recycle-horizontal-Bo6tvA9N.js → recycle-horizontal-B2rk_278.js} +1 -1
- package/assets/{refresh-B78swHHA.js → refresh-V894JvlS.js} +1 -1
- package/assets/remoteEntry.js +1 -1
- package/assets/{reown-logo-D2dt5GtC.js → reown-logo-BNIMS198.js} +1 -1
- package/assets/{search-MMFg1Zhv.js → search-DI_vEcaH.js} +1 -1
- package/assets/{secp256k1-n1MnUPPi.js → secp256k1-BW5LuV-N.js} +1 -1
- package/assets/{send-B3i1cdWv.js → send-ng28MvLm.js} +1 -1
- package/assets/{swapHorizontal-D_VQ2y9f.js → swapHorizontal-D0cqXt37.js} +1 -1
- package/assets/{swapHorizontalBold-BYohtxO2.js → swapHorizontalBold-CtmXcN3X.js} +1 -1
- package/assets/{swapHorizontalMedium-Clp3nUGv.js → swapHorizontalMedium-CjEnNl_e.js} +1 -1
- package/assets/{swapHorizontalRoundedBold-Huee7GR3.js → swapHorizontalRoundedBold-DmunpO0t.js} +1 -1
- package/assets/{swapVertical-Cnz02KmB.js → swapVertical-BSmQhuqF.js} +1 -1
- package/assets/{telegram-CfNIuKsL.js → telegram-BwcgdqeC.js} +1 -1
- package/assets/{three-dots-BHatBJ1U.js → three-dots-C4jGuJ67.js} +1 -1
- package/assets/{twitch-Beqf5KuC.js → twitch-DSM_HUQO.js} +1 -1
- package/assets/{twitterIcon-DuUcyFsu.js → twitterIcon-55En8ege.js} +1 -1
- package/assets/{uid-D-qT9Vzk.js → uid-B6TQPZnN.js} +3 -3
- package/assets/{verify-DcYfguuu.js → verify-B-XAdwYY.js} +1 -1
- package/assets/{verify-filled-Bm-OA5jk.js → verify-filled-BT00Wrp3.js} +1 -1
- package/assets/{w3m-modal-DHdvQ3lm.js → w3m-modal-Z27GCgYK.js} +1 -1
- package/assets/{wallet-BzCF_mRB.js → wallet-C3hGKolu.js} +1 -1
- package/assets/{wallet-placeholder-CLEz6Dmc.js → wallet-placeholder-CgMPW3Yz.js} +1 -1
- package/assets/{walletconnect-CFHDyppb.js → walletconnect-Blbor9eR.js} +1 -1
- package/assets/{warning-circle-CVUFMZ_R.js → warning-circle-aLVajLoj.js} +1 -1
- package/assets/{webSocket--2m-5bpv.js → webSocket-B1uGWEVk.js} +1 -1
- package/assets/{x-DpE2gOjc.js → x-CMcLjjTv.js} +1 -1
- package/index.html +14 -14
- package/package.json +3 -3
- package/assets/HomePage-CaRpsccZ.js +0 -5
- package/assets/__federation_shared_@emotion/react-CQqlYazz.js +0 -1
- package/assets/index-JFBsW0Hp.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c as ee,g as Qr,a as gu}from"./_commonjsHelpers-C4iS2aBk.js";import{r as wr}from"./___vite-browser-external_commonjs-proxy-BqV5D26a.js";import{E as Fo}from"./index-CdrMQoR6.js";import{i as Rt}from"./inherits_browser-BlmhoU4v.js";import{w as mu,t as wu,c as yu,i as bu}from"./index-JFBsW0Hp.js";import{p as vu,a as _u}from"./hooks.module-Dz_XB4AG.js";import{t as Eu}from"./tslib.es6-DbvBTznf.js";const Su=Object.freeze(Object.defineProperty({__proto__:null,EventEmitter:Fo,default:Fo},Symbol.toStringTag,{value:"Module"}));var Ws={exports:{}},hs,Do;function Ru(){if(Do)return hs;Do=1;var e=1e3,t=e*60,r=t*60,n=r*24,i=n*7,s=n*365.25;hs=function(p,v){v=v||{};var E=typeof p;if(E==="string"&&p.length>0)return c(p);if(E==="number"&&isFinite(p))return v.long?f(p):a(p);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(p))};function c(p){if(p=String(p),!(p.length>100)){var v=/^(-?(?:\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(v){var E=parseFloat(v[1]),A=(v[2]||"ms").toLowerCase();switch(A){case"years":case"year":case"yrs":case"yr":case"y":return E*s;case"weeks":case"week":case"w":return E*i;case"days":case"day":case"d":return E*n;case"hours":case"hour":case"hrs":case"hr":case"h":return E*r;case"minutes":case"minute":case"mins":case"min":case"m":return E*t;case"seconds":case"second":case"secs":case"sec":case"s":return E*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return E;default:return}}}}function a(p){var v=Math.abs(p);return v>=n?Math.round(p/n)+"d":v>=r?Math.round(p/r)+"h":v>=t?Math.round(p/t)+"m":v>=e?Math.round(p/e)+"s":p+"ms"}function f(p){var v=Math.abs(p);return v>=n?g(p,v,n,"day"):v>=r?g(p,v,r,"hour"):v>=t?g(p,v,t,"minute"):v>=e?g(p,v,e,"second"):p+" ms"}function g(p,v,E,A){var U=v>=E*1.5;return Math.round(p/E)+" "+A+(U?"s":"")}return hs}function Mu(e){r.debug=r,r.default=r,r.coerce=f,r.disable=s,r.enable=i,r.enabled=c,r.humanize=Ru(),r.destroy=g,Object.keys(e).forEach(p=>{r[p]=e[p]}),r.names=[],r.skips=[],r.formatters={};function t(p){let v=0;for(let E=0;E<p.length;E++)v=(v<<5)-v+p.charCodeAt(E),v|=0;return r.colors[Math.abs(v)%r.colors.length]}r.selectColor=t;function r(p){let v,E=null,A,U;function F(...H){if(!F.enabled)return;const x=F,L=Number(new Date),O=L-(v||L);x.diff=O,x.prev=v,x.curr=L,v=L,H[0]=r.coerce(H[0]),typeof H[0]!="string"&&H.unshift("%O");let V=0;H[0]=H[0].replace(/%([a-zA-Z%])/g,(z,te)=>{if(z==="%%")return"%";V++;const Y=r.formatters[te];if(typeof Y=="function"){const Q=H[V];z=Y.call(x,Q),H.splice(V,1),V--}return z}),r.formatArgs.call(x,H),(x.log||r.log).apply(x,H)}return F.namespace=p,F.useColors=r.useColors(),F.color=r.selectColor(p),F.extend=n,F.destroy=r.destroy,Object.defineProperty(F,"enabled",{enumerable:!0,configurable:!1,get:()=>E!==null?E:(A!==r.namespaces&&(A=r.namespaces,U=r.enabled(p)),U),set:H=>{E=H}}),typeof r.init=="function"&&r.init(F),F}function n(p,v){const E=r(this.namespace+(typeof v>"u"?":":v)+p);return E.log=this.log,E}function i(p){r.save(p),r.namespaces=p,r.names=[],r.skips=[];let v;const E=(typeof p=="string"?p:"").split(/[\s,]+/),A=E.length;for(v=0;v<A;v++)E[v]&&(p=E[v].replace(/\*/g,".*?"),p[0]==="-"?r.skips.push(new RegExp("^"+p.slice(1)+"$")):r.names.push(new RegExp("^"+p+"$")))}function s(){const p=[...r.names.map(a),...r.skips.map(a).map(v=>"-"+v)].join(",");return r.enable(""),p}function c(p){if(p[p.length-1]==="*")return!0;let v,E;for(v=0,E=r.skips.length;v<E;v++)if(r.skips[v].test(p))return!1;for(v=0,E=r.names.length;v<E;v++)if(r.names[v].test(p))return!0;return!1}function a(p){return p.toString().substring(2,p.toString().length-2).replace(/\.\*\?$/,"*")}function f(p){return p instanceof Error?p.stack||p.message:p}function g(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return r.enable(r.load()),r}var Cu=Mu;(function(e,t){var r={};t.formatArgs=i,t.save=s,t.load=c,t.useColors=n,t.storage=a(),t.destroy=(()=>{let g=!1;return()=>{g||(g=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function n(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1: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&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function i(g){if(g[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+g[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const p="color: "+this.color;g.splice(1,0,p,"color: inherit");let v=0,E=0;g[0].replace(/%[a-zA-Z%]/g,A=>{A!=="%%"&&(v++,A==="%c"&&(E=v))}),g.splice(E,0,p)}t.log=console.debug||console.log||(()=>{});function s(g){try{g?t.storage.setItem("debug",g):t.storage.removeItem("debug")}catch{}}function c(){let g;try{g=t.storage.getItem("debug")}catch{}return!g&&typeof process<"u"&&"env"in process&&(g=r.DEBUG),g}function a(){try{return localStorage}catch{}}e.exports=Cu(t);const{formatters:f}=e.exports;f.j=function(g){try{return JSON.stringify(g)}catch(p){return"[UnexpectedJSONParseError]: "+p.message}}})(Ws,Ws.exports);var ku=Ws.exports,Iu=fn;fn.default=fn;fn.stable=yc;fn.stableStringify=yc;var oi="[...]",mc="[Circular]",yr=[],pr=[];function wc(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function fn(e,t,r,n){typeof n>"u"&&(n=wc()),Vs(e,"",0,[],void 0,0,n);var i;try{pr.length===0?i=JSON.stringify(e,t,r):i=JSON.stringify(e,bc(t),r)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;yr.length!==0;){var s=yr.pop();s.length===4?Object.defineProperty(s[0],s[1],s[3]):s[0][s[1]]=s[2]}}return i}function jr(e,t,r,n){var i=Object.getOwnPropertyDescriptor(n,r);i.get!==void 0?i.configurable?(Object.defineProperty(n,r,{value:e}),yr.push([n,r,t,i])):pr.push([t,r,e]):(n[r]=e,yr.push([n,r,t]))}function Vs(e,t,r,n,i,s,c){s+=1;var a;if(typeof e=="object"&&e!==null){for(a=0;a<n.length;a++)if(n[a]===e){jr(mc,e,t,i);return}if(typeof c.depthLimit<"u"&&s>c.depthLimit){jr(oi,e,t,i);return}if(typeof c.edgesLimit<"u"&&r+1>c.edgesLimit){jr(oi,e,t,i);return}if(n.push(e),Array.isArray(e))for(a=0;a<e.length;a++)Vs(e[a],a,a,n,e,s,c);else{var f=Object.keys(e);for(a=0;a<f.length;a++){var g=f[a];Vs(e[g],g,a,n,e,s,c)}}n.pop()}}function xu(e,t){return e<t?-1:e>t?1:0}function yc(e,t,r,n){typeof n>"u"&&(n=wc());var i=qs(e,"",0,[],void 0,0,n)||e,s;try{pr.length===0?s=JSON.stringify(i,t,r):s=JSON.stringify(i,bc(t),r)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;yr.length!==0;){var c=yr.pop();c.length===4?Object.defineProperty(c[0],c[1],c[3]):c[0][c[1]]=c[2]}}return s}function qs(e,t,r,n,i,s,c){s+=1;var a;if(typeof e=="object"&&e!==null){for(a=0;a<n.length;a++)if(n[a]===e){jr(mc,e,t,i);return}try{if(typeof e.toJSON=="function")return}catch{return}if(typeof c.depthLimit<"u"&&s>c.depthLimit){jr(oi,e,t,i);return}if(typeof c.edgesLimit<"u"&&r+1>c.edgesLimit){jr(oi,e,t,i);return}if(n.push(e),Array.isArray(e))for(a=0;a<e.length;a++)qs(e[a],a,a,n,e,s,c);else{var f={},g=Object.keys(e).sort(xu);for(a=0;a<g.length;a++){var p=g[a];qs(e[p],p,a,n,e,s,c),f[p]=e[p]}if(typeof i<"u")yr.push([i,t,e]),i[t]=f;else return f}n.pop()}}function bc(e){return e=typeof e<"u"?e:function(t,r){return r},function(t,r){if(pr.length>0)for(var n=0;n<pr.length;n++){var i=pr[n];if(i[1]===t&&i[0]===r){r=i[2],pr.splice(n,1);break}}return e.call(this,t,r)}}var vc={},pn={},li={};Object.defineProperty(li,"__esModule",{value:!0});li.walletLogo=void 0;const Au=(e,t)=>{let r;switch(e){case"standard":return r=t,`data:image/svg+xml,%3Csvg width='${t}' height='${r}' viewBox='0 0 1024 1024' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Crect width='1024' height='1024' fill='%230052FF'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M152 512C152 710.823 313.177 872 512 872C710.823 872 872 710.823 872 512C872 313.177 710.823 152 512 152C313.177 152 152 313.177 152 512ZM420 396C406.745 396 396 406.745 396 420V604C396 617.255 406.745 628 420 628H604C617.255 628 628 617.255 628 604V420C628 406.745 617.255 396 604 396H420Z' fill='white'/%3E %3C/svg%3E `;case"circle":return r=t,`data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='${t}' height='${r}' viewBox='0 0 999.81 999.81'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%230052fe;%7D.cls-2%7Bfill:%23fefefe;%7D.cls-3%7Bfill:%230152fe;%7D%3C/style%3E%3C/defs%3E%3Cpath class='cls-1' d='M655-115.9h56c.83,1.59,2.36.88,3.56,1a478,478,0,0,1,75.06,10.42C891.4-81.76,978.33-32.58,1049.19,44q116.7,126,131.94,297.61c.38,4.14-.34,8.53,1.78,12.45v59c-1.58.84-.91,2.35-1,3.56a482.05,482.05,0,0,1-10.38,74.05c-24,106.72-76.64,196.76-158.83,268.93s-178.18,112.82-287.2,122.6c-4.83.43-9.86-.25-14.51,1.77H654c-1-1.68-2.69-.91-4.06-1a496.89,496.89,0,0,1-105.9-18.59c-93.54-27.42-172.78-77.59-236.91-150.94Q199.34,590.1,184.87,426.58c-.47-5.19.25-10.56-1.77-15.59V355c1.68-1,.91-2.7,1-4.06a498.12,498.12,0,0,1,18.58-105.9c26-88.75,72.64-164.9,140.6-227.57q126-116.27,297.21-131.61C645.32-114.57,650.35-113.88,655-115.9Zm377.92,500c0-192.44-156.31-349.49-347.56-350.15-194.13-.68-350.94,155.13-352.29,347.42-1.37,194.55,155.51,352.1,348.56,352.47C876.15,734.23,1032.93,577.84,1032.93,384.11Z' transform='translate(-183.1 115.9)'/%3E%3Cpath class='cls-2' d='M1032.93,384.11c0,193.73-156.78,350.12-351.29,349.74-193-.37-349.93-157.92-348.56-352.47C334.43,189.09,491.24,33.28,685.37,34,876.62,34.62,1032.94,191.67,1032.93,384.11ZM683,496.81q43.74,0,87.48,0c15.55,0,25.32-9.72,25.33-25.21q0-87.48,0-175c0-15.83-9.68-25.46-25.59-25.46H595.77c-15.88,0-25.57,9.64-25.58,25.46q0,87.23,0,174.45c0,16.18,9.59,25.7,25.84,25.71Z' transform='translate(-183.1 115.9)'/%3E%3Cpath class='cls-3' d='M683,496.81H596c-16.25,0-25.84-9.53-25.84-25.71q0-87.23,0-174.45c0-15.82,9.7-25.46,25.58-25.46H770.22c15.91,0,25.59,9.63,25.59,25.46q0,87.47,0,175c0,15.49-9.78,25.2-25.33,25.21Q726.74,496.84,683,496.81Z' transform='translate(-183.1 115.9)'/%3E%3C/svg%3E`;case"text":return r=(.1*t).toFixed(2),`data:image/svg+xml,%3Csvg width='${t}' height='${r}' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 528.15 53.64'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%230052ff;%7D%3C/style%3E%3C/defs%3E%3Ctitle%3ECoinbase_Wordmark_SubBrands_ALL%3C/title%3E%3Cpath class='cls-1' d='M164.45,15a15,15,0,0,0-11.74,5.4V0h-8.64V52.92h8.5V48a15,15,0,0,0,11.88,5.62c10.37,0,18.21-8.21,18.21-19.3S174.67,15,164.45,15Zm-1.3,30.67c-6.19,0-10.73-4.83-10.73-11.31S157,23,163.22,23s10.66,4.82,10.66,11.37S169.34,45.65,163.15,45.65Zm83.31-14.91-6.34-.93c-3-.43-5.18-1.44-5.18-3.82,0-2.59,2.8-3.89,6.62-3.89,4.18,0,6.84,1.8,7.42,4.76h8.35c-.94-7.49-6.7-11.88-15.55-11.88-9.15,0-15.2,4.68-15.2,11.3,0,6.34,4,10,12,11.16l6.33.94c3.1.43,4.83,1.65,4.83,4,0,2.95-3,4.17-7.2,4.17-5.12,0-8-2.09-8.43-5.25h-8.49c.79,7.27,6.48,12.38,16.84,12.38,9.44,0,15.7-4.32,15.7-11.74C258.12,35.28,253.58,31.82,246.46,30.74Zm-27.65-2.3c0-8.06-4.9-13.46-15.27-13.46-9.79,0-15.26,5-16.34,12.6h8.57c.43-3,2.73-5.4,7.63-5.4,4.39,0,6.55,1.94,6.55,4.32,0,3.09-4,3.88-8.85,4.39-6.63.72-14.84,3-14.84,11.66,0,6.7,5,11,12.89,11,6.19,0,10.08-2.59,12-6.7.28,3.67,3,6.05,6.84,6.05h5v-7.7h-4.25Zm-8.5,9.36c0,5-4.32,8.64-9.57,8.64-3.24,0-6-1.37-6-4.25,0-3.67,4.39-4.68,8.42-5.11s6-1.22,7.13-2.88ZM281.09,15c-11.09,0-19.23,8.35-19.23,19.36,0,11.6,8.72,19.3,19.37,19.3,9,0,16.06-5.33,17.86-12.89h-9c-1.3,3.31-4.47,5.19-8.71,5.19-5.55,0-9.72-3.46-10.66-9.51H299.3V33.12C299.3,22.46,291.53,15,281.09,15Zm-9.87,15.26c1.37-5.18,5.26-7.7,9.72-7.7,4.9,0,8.64,2.8,9.51,7.7ZM19.3,23a9.84,9.84,0,0,1,9.5,7h9.14c-1.65-8.93-9-15-18.57-15A19,19,0,0,0,0,34.34c0,11.09,8.28,19.3,19.37,19.3,9.36,0,16.85-6,18.5-15H28.8a9.75,9.75,0,0,1-9.43,7.06c-6.27,0-10.66-4.83-10.66-11.31S13,23,19.3,23Zm41.11-8A19,19,0,0,0,41,34.34c0,11.09,8.28,19.3,19.37,19.3A19,19,0,0,0,79.92,34.27C79.92,23.33,71.64,15,60.41,15Zm.07,30.67c-6.19,0-10.73-4.83-10.73-11.31S54.22,23,60.41,23s10.8,4.89,10.8,11.37S66.67,45.65,60.48,45.65ZM123.41,15c-5.62,0-9.29,2.3-11.45,5.54V15.7h-8.57V52.92H112V32.69C112,27,115.63,23,121,23c5,0,8.06,3.53,8.06,8.64V52.92h8.64V31C137.66,21.6,132.84,15,123.41,15ZM92,.36a5.36,5.36,0,0,0-5.55,5.47,5.55,5.55,0,0,0,11.09,0A5.35,5.35,0,0,0,92,.36Zm-9.72,23h5.4V52.92h8.64V15.7h-14Zm298.17-7.7L366.2,52.92H372L375.29,44H392l3.33,8.88h6L386.87,15.7ZM377,39.23l6.45-17.56h.1l6.56,17.56ZM362.66,15.7l-7.88,29h-.11l-8.14-29H341l-8,28.93h-.1l-8-28.87H319L329.82,53h5.45l8.19-29.24h.11L352,53h5.66L368.1,15.7Zm135.25,0v4.86h12.32V52.92h5.6V20.56h12.32V15.7ZM467.82,52.92h25.54V48.06H473.43v-12h18.35V31.35H473.43V20.56h19.93V15.7H467.82ZM443,15.7h-5.6V52.92h24.32V48.06H443Zm-30.45,0h-5.61V52.92h24.32V48.06H412.52Z'/%3E%3C/svg%3E`;case"textWithLogo":return r=(.25*t).toFixed(2),`data:image/svg+xml,%3Csvg width='${t}' height='${r}' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 308.44 77.61'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%230052ff;%7D%3C/style%3E%3C/defs%3E%3Cpath class='cls-1' d='M142.94,20.2l-7.88,29H135l-8.15-29h-5.55l-8,28.93h-.11l-8-28.87H99.27l10.84,37.27h5.44l8.2-29.24h.1l8.41,29.24h5.66L148.39,20.2Zm17.82,0L146.48,57.42h5.82l3.28-8.88h16.65l3.34,8.88h6L167.16,20.2Zm-3.44,23.52,6.45-17.55h.11l6.56,17.55ZM278.2,20.2v4.86h12.32V57.42h5.6V25.06h12.32V20.2ZM248.11,57.42h25.54V52.55H253.71V40.61h18.35V35.85H253.71V25.06h19.94V20.2H248.11ZM223.26,20.2h-5.61V57.42H242V52.55H223.26Zm-30.46,0h-5.6V57.42h24.32V52.55H192.8Zm-154,38A19.41,19.41,0,1,1,57.92,35.57H77.47a38.81,38.81,0,1,0,0,6.47H57.92A19.39,19.39,0,0,1,38.81,58.21Z'/%3E%3C/svg%3E`;case"textLight":return r=(.1*t).toFixed(2),`data:image/svg+xml,%3Csvg width='${t}' height='${r}' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 528.15 53.64'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23fefefe;%7D%3C/style%3E%3C/defs%3E%3Ctitle%3ECoinbase_Wordmark_SubBrands_ALL%3C/title%3E%3Cpath class='cls-1' d='M164.45,15a15,15,0,0,0-11.74,5.4V0h-8.64V52.92h8.5V48a15,15,0,0,0,11.88,5.62c10.37,0,18.21-8.21,18.21-19.3S174.67,15,164.45,15Zm-1.3,30.67c-6.19,0-10.73-4.83-10.73-11.31S157,23,163.22,23s10.66,4.82,10.66,11.37S169.34,45.65,163.15,45.65Zm83.31-14.91-6.34-.93c-3-.43-5.18-1.44-5.18-3.82,0-2.59,2.8-3.89,6.62-3.89,4.18,0,6.84,1.8,7.42,4.76h8.35c-.94-7.49-6.7-11.88-15.55-11.88-9.15,0-15.2,4.68-15.2,11.3,0,6.34,4,10,12,11.16l6.33.94c3.1.43,4.83,1.65,4.83,4,0,2.95-3,4.17-7.2,4.17-5.12,0-8-2.09-8.43-5.25h-8.49c.79,7.27,6.48,12.38,16.84,12.38,9.44,0,15.7-4.32,15.7-11.74C258.12,35.28,253.58,31.82,246.46,30.74Zm-27.65-2.3c0-8.06-4.9-13.46-15.27-13.46-9.79,0-15.26,5-16.34,12.6h8.57c.43-3,2.73-5.4,7.63-5.4,4.39,0,6.55,1.94,6.55,4.32,0,3.09-4,3.88-8.85,4.39-6.63.72-14.84,3-14.84,11.66,0,6.7,5,11,12.89,11,6.19,0,10.08-2.59,12-6.7.28,3.67,3,6.05,6.84,6.05h5v-7.7h-4.25Zm-8.5,9.36c0,5-4.32,8.64-9.57,8.64-3.24,0-6-1.37-6-4.25,0-3.67,4.39-4.68,8.42-5.11s6-1.22,7.13-2.88ZM281.09,15c-11.09,0-19.23,8.35-19.23,19.36,0,11.6,8.72,19.3,19.37,19.3,9,0,16.06-5.33,17.86-12.89h-9c-1.3,3.31-4.47,5.19-8.71,5.19-5.55,0-9.72-3.46-10.66-9.51H299.3V33.12C299.3,22.46,291.53,15,281.09,15Zm-9.87,15.26c1.37-5.18,5.26-7.7,9.72-7.7,4.9,0,8.64,2.8,9.51,7.7ZM19.3,23a9.84,9.84,0,0,1,9.5,7h9.14c-1.65-8.93-9-15-18.57-15A19,19,0,0,0,0,34.34c0,11.09,8.28,19.3,19.37,19.3,9.36,0,16.85-6,18.5-15H28.8a9.75,9.75,0,0,1-9.43,7.06c-6.27,0-10.66-4.83-10.66-11.31S13,23,19.3,23Zm41.11-8A19,19,0,0,0,41,34.34c0,11.09,8.28,19.3,19.37,19.3A19,19,0,0,0,79.92,34.27C79.92,23.33,71.64,15,60.41,15Zm.07,30.67c-6.19,0-10.73-4.83-10.73-11.31S54.22,23,60.41,23s10.8,4.89,10.8,11.37S66.67,45.65,60.48,45.65ZM123.41,15c-5.62,0-9.29,2.3-11.45,5.54V15.7h-8.57V52.92H112V32.69C112,27,115.63,23,121,23c5,0,8.06,3.53,8.06,8.64V52.92h8.64V31C137.66,21.6,132.84,15,123.41,15ZM92,.36a5.36,5.36,0,0,0-5.55,5.47,5.55,5.55,0,0,0,11.09,0A5.35,5.35,0,0,0,92,.36Zm-9.72,23h5.4V52.92h8.64V15.7h-14Zm298.17-7.7L366.2,52.92H372L375.29,44H392l3.33,8.88h6L386.87,15.7ZM377,39.23l6.45-17.56h.1l6.56,17.56ZM362.66,15.7l-7.88,29h-.11l-8.14-29H341l-8,28.93h-.1l-8-28.87H319L329.82,53h5.45l8.19-29.24h.11L352,53h5.66L368.1,15.7Zm135.25,0v4.86h12.32V52.92h5.6V20.56h12.32V15.7ZM467.82,52.92h25.54V48.06H473.43v-12h18.35V31.35H473.43V20.56h19.93V15.7H467.82ZM443,15.7h-5.6V52.92h24.32V48.06H443Zm-30.45,0h-5.61V52.92h24.32V48.06H412.52Z'/%3E%3C/svg%3E`;case"textWithLogoLight":return r=(.25*t).toFixed(2),`data:image/svg+xml,%3Csvg width='${t}' height='${r}' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 308.44 77.61'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23fefefe;%7D%3C/style%3E%3C/defs%3E%3Cpath class='cls-1' d='M142.94,20.2l-7.88,29H135l-8.15-29h-5.55l-8,28.93h-.11l-8-28.87H99.27l10.84,37.27h5.44l8.2-29.24h.1l8.41,29.24h5.66L148.39,20.2Zm17.82,0L146.48,57.42h5.82l3.28-8.88h16.65l3.34,8.88h6L167.16,20.2Zm-3.44,23.52,6.45-17.55h.11l6.56,17.55ZM278.2,20.2v4.86h12.32V57.42h5.6V25.06h12.32V20.2ZM248.11,57.42h25.54V52.55H253.71V40.61h18.35V35.85H253.71V25.06h19.94V20.2H248.11ZM223.26,20.2h-5.61V57.42H242V52.55H223.26Zm-30.46,0h-5.6V57.42h24.32V52.55H192.8Zm-154,38A19.41,19.41,0,1,1,57.92,35.57H77.47a38.81,38.81,0,1,0,0,6.47H57.92A19.39,19.39,0,0,1,38.81,58.21Z'/%3E%3C/svg%3E`;default:return r=t,`data:image/svg+xml,%3Csvg width='${t}' height='${r}' viewBox='0 0 1024 1024' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Crect width='1024' height='1024' fill='%230052FF'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M152 512C152 710.823 313.177 872 512 872C710.823 872 872 710.823 872 512C872 313.177 710.823 152 512 152C313.177 152 152 313.177 152 512ZM420 396C406.745 396 396 406.745 396 420V604C396 617.255 406.745 628 420 628H604C617.255 628 628 617.255 628 604V420C628 406.745 617.255 396 604 396H420Z' fill='white'/%3E %3C/svg%3E `}};li.walletLogo=Au;var ui={};Object.defineProperty(ui,"__esModule",{value:!0});ui.LINK_API_URL=void 0;ui.LINK_API_URL="https://www.walletlink.org";var X={},Ys={exports:{}};Ys.exports;(function(e){(function(t,r){function n(I,o){if(!I)throw new Error(o||"Assertion failed")}function i(I,o){I.super_=o;var d=function(){};d.prototype=o.prototype,I.prototype=new d,I.prototype.constructor=I}function s(I,o,d){if(s.isBN(I))return I;this.negative=0,this.words=null,this.length=0,this.red=null,I!==null&&((o==="le"||o==="be")&&(d=o,o=10),this._init(I||0,o||10,d||"be"))}typeof t=="object"?t.exports=s:r.BN=s,s.BN=s,s.wordSize=26;var c;try{typeof window<"u"&&typeof window.Buffer<"u"?c=window.Buffer:c=wr.Buffer}catch{}s.isBN=function(o){return o instanceof s?!0:o!==null&&typeof o=="object"&&o.constructor.wordSize===s.wordSize&&Array.isArray(o.words)},s.max=function(o,d){return o.cmp(d)>0?o:d},s.min=function(o,d){return o.cmp(d)<0?o:d},s.prototype._init=function(o,d,w){if(typeof o=="number")return this._initNumber(o,d,w);if(typeof o=="object")return this._initArray(o,d,w);d==="hex"&&(d=16),n(d===(d|0)&&d>=2&&d<=36),o=o.toString().replace(/\s+/g,"");var y=0;o[0]==="-"&&(y++,this.negative=1),y<o.length&&(d===16?this._parseHex(o,y,w):(this._parseBase(o,d,y),w==="le"&&this._initArray(this.toArray(),d,w)))},s.prototype._initNumber=function(o,d,w){o<0&&(this.negative=1,o=-o),o<67108864?(this.words=[o&67108863],this.length=1):o<4503599627370496?(this.words=[o&67108863,o/67108864&67108863],this.length=2):(n(o<9007199254740992),this.words=[o&67108863,o/67108864&67108863,1],this.length=3),w==="le"&&this._initArray(this.toArray(),d,w)},s.prototype._initArray=function(o,d,w){if(n(typeof o.length=="number"),o.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(o.length/3),this.words=new Array(this.length);for(var y=0;y<this.length;y++)this.words[y]=0;var S,k,B=0;if(w==="be")for(y=o.length-1,S=0;y>=0;y-=3)k=o[y]|o[y-1]<<8|o[y-2]<<16,this.words[S]|=k<<B&67108863,this.words[S+1]=k>>>26-B&67108863,B+=24,B>=26&&(B-=26,S++);else if(w==="le")for(y=0,S=0;y<o.length;y+=3)k=o[y]|o[y+1]<<8|o[y+2]<<16,this.words[S]|=k<<B&67108863,this.words[S+1]=k>>>26-B&67108863,B+=24,B>=26&&(B-=26,S++);return this._strip()};function a(I,o){var d=I.charCodeAt(o);if(d>=48&&d<=57)return d-48;if(d>=65&&d<=70)return d-55;if(d>=97&&d<=102)return d-87;n(!1,"Invalid character in "+I)}function f(I,o,d){var w=a(I,d);return d-1>=o&&(w|=a(I,d-1)<<4),w}s.prototype._parseHex=function(o,d,w){this.length=Math.ceil((o.length-d)/6),this.words=new Array(this.length);for(var y=0;y<this.length;y++)this.words[y]=0;var S=0,k=0,B;if(w==="be")for(y=o.length-1;y>=d;y-=2)B=f(o,d,y)<<S,this.words[k]|=B&67108863,S>=18?(S-=18,k+=1,this.words[k]|=B>>>26):S+=8;else{var b=o.length-d;for(y=b%2===0?d+1:d;y<o.length;y+=2)B=f(o,d,y)<<S,this.words[k]|=B&67108863,S>=18?(S-=18,k+=1,this.words[k]|=B>>>26):S+=8}this._strip()};function g(I,o,d,w){for(var y=0,S=0,k=Math.min(I.length,d),B=o;B<k;B++){var b=I.charCodeAt(B)-48;y*=w,b>=49?S=b-49+10:b>=17?S=b-17+10:S=b,n(b>=0&&S<w,"Invalid character"),y+=S}return y}s.prototype._parseBase=function(o,d,w){this.words=[0],this.length=1;for(var y=0,S=1;S<=67108863;S*=d)y++;y--,S=S/d|0;for(var k=o.length-w,B=k%y,b=Math.min(k,k-B)+w,u=0,R=w;R<b;R+=y)u=g(o,R,R+y,d),this.imuln(S),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u);if(B!==0){var K=1;for(u=g(o,R,o.length,d),R=0;R<B;R++)K*=d;this.imuln(K),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u)}this._strip()},s.prototype.copy=function(o){o.words=new Array(this.length);for(var d=0;d<this.length;d++)o.words[d]=this.words[d];o.length=this.length,o.negative=this.negative,o.red=this.red};function p(I,o){I.words=o.words,I.length=o.length,I.negative=o.negative,I.red=o.red}if(s.prototype._move=function(o){p(o,this)},s.prototype.clone=function(){var o=new s(null);return this.copy(o),o},s.prototype._expand=function(o){for(;this.length<o;)this.words[this.length++]=0;return this},s.prototype._strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},s.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<"u"&&typeof Symbol.for=="function")try{s.prototype[Symbol.for("nodejs.util.inspect.custom")]=v}catch{s.prototype.inspect=v}else s.prototype.inspect=v;function v(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var E=["","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"],A=[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],U=[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];s.prototype.toString=function(o,d){o=o||10,d=d|0||1;var w;if(o===16||o==="hex"){w="";for(var y=0,S=0,k=0;k<this.length;k++){var B=this.words[k],b=((B<<y|S)&16777215).toString(16);S=B>>>24-y&16777215,y+=2,y>=26&&(y-=26,k--),S!==0||k!==this.length-1?w=E[6-b.length]+b+w:w=b+w}for(S!==0&&(w=S.toString(16)+w);w.length%d!==0;)w="0"+w;return this.negative!==0&&(w="-"+w),w}if(o===(o|0)&&o>=2&&o<=36){var u=A[o],R=U[o];w="";var K=this.clone();for(K.negative=0;!K.isZero();){var J=K.modrn(R).toString(o);K=K.idivn(R),K.isZero()?w=J+w:w=E[u-J.length]+J+w}for(this.isZero()&&(w="0"+w);w.length%d!==0;)w="0"+w;return this.negative!==0&&(w="-"+w),w}n(!1,"Base should be between 2 and 36")},s.prototype.toNumber=function(){var o=this.words[0];return this.length===2?o+=this.words[1]*67108864:this.length===3&&this.words[2]===1?o+=4503599627370496+this.words[1]*67108864:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-o:o},s.prototype.toJSON=function(){return this.toString(16,2)},c&&(s.prototype.toBuffer=function(o,d){return this.toArrayLike(c,o,d)}),s.prototype.toArray=function(o,d){return this.toArrayLike(Array,o,d)};var F=function(o,d){return o.allocUnsafe?o.allocUnsafe(d):new o(d)};s.prototype.toArrayLike=function(o,d,w){this._strip();var y=this.byteLength(),S=w||Math.max(1,y);n(y<=S,"byte array longer than desired length"),n(S>0,"Requested array length <= 0");var k=F(o,S),B=d==="le"?"LE":"BE";return this["_toArrayLike"+B](k,y),k},s.prototype._toArrayLikeLE=function(o,d){for(var w=0,y=0,S=0,k=0;S<this.length;S++){var B=this.words[S]<<k|y;o[w++]=B&255,w<o.length&&(o[w++]=B>>8&255),w<o.length&&(o[w++]=B>>16&255),k===6?(w<o.length&&(o[w++]=B>>24&255),y=0,k=0):(y=B>>>24,k+=2)}if(w<o.length)for(o[w++]=y;w<o.length;)o[w++]=0},s.prototype._toArrayLikeBE=function(o,d){for(var w=o.length-1,y=0,S=0,k=0;S<this.length;S++){var B=this.words[S]<<k|y;o[w--]=B&255,w>=0&&(o[w--]=B>>8&255),w>=0&&(o[w--]=B>>16&255),k===6?(w>=0&&(o[w--]=B>>24&255),y=0,k=0):(y=B>>>24,k+=2)}if(w>=0)for(o[w--]=y;w>=0;)o[w--]=0},Math.clz32?s.prototype._countBits=function(o){return 32-Math.clz32(o)}:s.prototype._countBits=function(o){var d=o,w=0;return d>=4096&&(w+=13,d>>>=13),d>=64&&(w+=7,d>>>=7),d>=8&&(w+=4,d>>>=4),d>=2&&(w+=2,d>>>=2),w+d},s.prototype._zeroBits=function(o){if(o===0)return 26;var d=o,w=0;return d&8191||(w+=13,d>>>=13),d&127||(w+=7,d>>>=7),d&15||(w+=4,d>>>=4),d&3||(w+=2,d>>>=2),d&1||w++,w},s.prototype.bitLength=function(){var o=this.words[this.length-1],d=this._countBits(o);return(this.length-1)*26+d};function H(I){for(var o=new Array(I.bitLength()),d=0;d<o.length;d++){var w=d/26|0,y=d%26;o[d]=I.words[w]>>>y&1}return o}s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var o=0,d=0;d<this.length;d++){var w=this._zeroBits(this.words[d]);if(o+=w,w!==26)break}return o},s.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},s.prototype.toTwos=function(o){return this.negative!==0?this.abs().inotn(o).iaddn(1):this.clone()},s.prototype.fromTwos=function(o){return this.testn(o-1)?this.notn(o).iaddn(1).ineg():this.clone()},s.prototype.isNeg=function(){return this.negative!==0},s.prototype.neg=function(){return this.clone().ineg()},s.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},s.prototype.iuor=function(o){for(;this.length<o.length;)this.words[this.length++]=0;for(var d=0;d<o.length;d++)this.words[d]=this.words[d]|o.words[d];return this._strip()},s.prototype.ior=function(o){return n((this.negative|o.negative)===0),this.iuor(o)},s.prototype.or=function(o){return this.length>o.length?this.clone().ior(o):o.clone().ior(this)},s.prototype.uor=function(o){return this.length>o.length?this.clone().iuor(o):o.clone().iuor(this)},s.prototype.iuand=function(o){var d;this.length>o.length?d=o:d=this;for(var w=0;w<d.length;w++)this.words[w]=this.words[w]&o.words[w];return this.length=d.length,this._strip()},s.prototype.iand=function(o){return n((this.negative|o.negative)===0),this.iuand(o)},s.prototype.and=function(o){return this.length>o.length?this.clone().iand(o):o.clone().iand(this)},s.prototype.uand=function(o){return this.length>o.length?this.clone().iuand(o):o.clone().iuand(this)},s.prototype.iuxor=function(o){var d,w;this.length>o.length?(d=this,w=o):(d=o,w=this);for(var y=0;y<w.length;y++)this.words[y]=d.words[y]^w.words[y];if(this!==d)for(;y<d.length;y++)this.words[y]=d.words[y];return this.length=d.length,this._strip()},s.prototype.ixor=function(o){return n((this.negative|o.negative)===0),this.iuxor(o)},s.prototype.xor=function(o){return this.length>o.length?this.clone().ixor(o):o.clone().ixor(this)},s.prototype.uxor=function(o){return this.length>o.length?this.clone().iuxor(o):o.clone().iuxor(this)},s.prototype.inotn=function(o){n(typeof o=="number"&&o>=0);var d=Math.ceil(o/26)|0,w=o%26;this._expand(d),w>0&&d--;for(var y=0;y<d;y++)this.words[y]=~this.words[y]&67108863;return w>0&&(this.words[y]=~this.words[y]&67108863>>26-w),this._strip()},s.prototype.notn=function(o){return this.clone().inotn(o)},s.prototype.setn=function(o,d){n(typeof o=="number"&&o>=0);var w=o/26|0,y=o%26;return this._expand(w+1),d?this.words[w]=this.words[w]|1<<y:this.words[w]=this.words[w]&~(1<<y),this._strip()},s.prototype.iadd=function(o){var d;if(this.negative!==0&&o.negative===0)return this.negative=0,d=this.isub(o),this.negative^=1,this._normSign();if(this.negative===0&&o.negative!==0)return o.negative=0,d=this.isub(o),o.negative=1,d._normSign();var w,y;this.length>o.length?(w=this,y=o):(w=o,y=this);for(var S=0,k=0;k<y.length;k++)d=(w.words[k]|0)+(y.words[k]|0)+S,this.words[k]=d&67108863,S=d>>>26;for(;S!==0&&k<w.length;k++)d=(w.words[k]|0)+S,this.words[k]=d&67108863,S=d>>>26;if(this.length=w.length,S!==0)this.words[this.length]=S,this.length++;else if(w!==this)for(;k<w.length;k++)this.words[k]=w.words[k];return this},s.prototype.add=function(o){var d;return o.negative!==0&&this.negative===0?(o.negative=0,d=this.sub(o),o.negative^=1,d):o.negative===0&&this.negative!==0?(this.negative=0,d=o.sub(this),this.negative=1,d):this.length>o.length?this.clone().iadd(o):o.clone().iadd(this)},s.prototype.isub=function(o){if(o.negative!==0){o.negative=0;var d=this.iadd(o);return o.negative=1,d._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(o),this.negative=1,this._normSign();var w=this.cmp(o);if(w===0)return this.negative=0,this.length=1,this.words[0]=0,this;var y,S;w>0?(y=this,S=o):(y=o,S=this);for(var k=0,B=0;B<S.length;B++)d=(y.words[B]|0)-(S.words[B]|0)+k,k=d>>26,this.words[B]=d&67108863;for(;k!==0&&B<y.length;B++)d=(y.words[B]|0)+k,k=d>>26,this.words[B]=d&67108863;if(k===0&&B<y.length&&y!==this)for(;B<y.length;B++)this.words[B]=y.words[B];return this.length=Math.max(this.length,B),y!==this&&(this.negative=1),this._strip()},s.prototype.sub=function(o){return this.clone().isub(o)};function x(I,o,d){d.negative=o.negative^I.negative;var w=I.length+o.length|0;d.length=w,w=w-1|0;var y=I.words[0]|0,S=o.words[0]|0,k=y*S,B=k&67108863,b=k/67108864|0;d.words[0]=B;for(var u=1;u<w;u++){for(var R=b>>>26,K=b&67108863,J=Math.min(u,o.length-1),T=Math.max(0,u-I.length+1);T<=J;T++){var P=u-T|0;y=I.words[P]|0,S=o.words[T]|0,k=y*S+K,R+=k/67108864|0,K=k&67108863}d.words[u]=K|0,b=R|0}return b!==0?d.words[u]=b|0:d.length--,d._strip()}var L=function(o,d,w){var y=o.words,S=d.words,k=w.words,B=0,b,u,R,K=y[0]|0,J=K&8191,T=K>>>13,P=y[1]|0,W=P&8191,Z=P>>>13,le=y[2]|0,M=le&8191,C=le>>>13,q=y[3]|0,G=q&8191,se=q>>>13,ue=y[4]|0,re=ue&8191,be=ue>>>13,dt=y[5]|0,Se=dt&8191,Ee=dt>>>13,Je=y[6]|0,ve=Je&8191,Re=Je>>>13,Qe=y[7]|0,_e=Qe&8191,m=Qe>>>13,l=y[8]|0,h=l&8191,_=l>>>13,N=y[9]|0,$=N&8191,j=N>>>13,he=S[0]|0,ae=he&8191,ie=he>>>13,Me=S[1]|0,ne=Me&8191,Ce=Me>>>13,Rr=S[2]|0,ke=Rr&8191,Ie=Rr>>>13,Mr=S[3]|0,xe=Mr&8191,Ae=Mr>>>13,Cr=S[4]|0,Te=Cr&8191,Be=Cr>>>13,kr=S[5]|0,Ne=kr&8191,Le=kr>>>13,Ir=S[6]|0,Pe=Ir&8191,Oe=Ir>>>13,xr=S[7]|0,$e=xr&8191,Fe=xr>>>13,Ar=S[8]|0,De=Ar&8191,je=Ar>>>13,Tr=S[9]|0,Ue=Tr&8191,He=Tr>>>13;w.negative=o.negative^d.negative,w.length=19,b=Math.imul(J,ae),u=Math.imul(J,ie),u=u+Math.imul(T,ae)|0,R=Math.imul(T,ie);var Jt=(B+b|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(Jt>>>26)|0,Jt&=67108863,b=Math.imul(W,ae),u=Math.imul(W,ie),u=u+Math.imul(Z,ae)|0,R=Math.imul(Z,ie),b=b+Math.imul(J,ne)|0,u=u+Math.imul(J,Ce)|0,u=u+Math.imul(T,ne)|0,R=R+Math.imul(T,Ce)|0;var Zt=(B+b|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,b=Math.imul(M,ae),u=Math.imul(M,ie),u=u+Math.imul(C,ae)|0,R=Math.imul(C,ie),b=b+Math.imul(W,ne)|0,u=u+Math.imul(W,Ce)|0,u=u+Math.imul(Z,ne)|0,R=R+Math.imul(Z,Ce)|0,b=b+Math.imul(J,ke)|0,u=u+Math.imul(J,Ie)|0,u=u+Math.imul(T,ke)|0,R=R+Math.imul(T,Ie)|0;var Kt=(B+b|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(Kt>>>26)|0,Kt&=67108863,b=Math.imul(G,ae),u=Math.imul(G,ie),u=u+Math.imul(se,ae)|0,R=Math.imul(se,ie),b=b+Math.imul(M,ne)|0,u=u+Math.imul(M,Ce)|0,u=u+Math.imul(C,ne)|0,R=R+Math.imul(C,Ce)|0,b=b+Math.imul(W,ke)|0,u=u+Math.imul(W,Ie)|0,u=u+Math.imul(Z,ke)|0,R=R+Math.imul(Z,Ie)|0,b=b+Math.imul(J,xe)|0,u=u+Math.imul(J,Ae)|0,u=u+Math.imul(T,xe)|0,R=R+Math.imul(T,Ae)|0;var Qt=(B+b|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,b=Math.imul(re,ae),u=Math.imul(re,ie),u=u+Math.imul(be,ae)|0,R=Math.imul(be,ie),b=b+Math.imul(G,ne)|0,u=u+Math.imul(G,Ce)|0,u=u+Math.imul(se,ne)|0,R=R+Math.imul(se,Ce)|0,b=b+Math.imul(M,ke)|0,u=u+Math.imul(M,Ie)|0,u=u+Math.imul(C,ke)|0,R=R+Math.imul(C,Ie)|0,b=b+Math.imul(W,xe)|0,u=u+Math.imul(W,Ae)|0,u=u+Math.imul(Z,xe)|0,R=R+Math.imul(Z,Ae)|0,b=b+Math.imul(J,Te)|0,u=u+Math.imul(J,Be)|0,u=u+Math.imul(T,Te)|0,R=R+Math.imul(T,Be)|0;var Yt=(B+b|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,b=Math.imul(Se,ae),u=Math.imul(Se,ie),u=u+Math.imul(Ee,ae)|0,R=Math.imul(Ee,ie),b=b+Math.imul(re,ne)|0,u=u+Math.imul(re,Ce)|0,u=u+Math.imul(be,ne)|0,R=R+Math.imul(be,Ce)|0,b=b+Math.imul(G,ke)|0,u=u+Math.imul(G,Ie)|0,u=u+Math.imul(se,ke)|0,R=R+Math.imul(se,Ie)|0,b=b+Math.imul(M,xe)|0,u=u+Math.imul(M,Ae)|0,u=u+Math.imul(C,xe)|0,R=R+Math.imul(C,Ae)|0,b=b+Math.imul(W,Te)|0,u=u+Math.imul(W,Be)|0,u=u+Math.imul(Z,Te)|0,R=R+Math.imul(Z,Be)|0,b=b+Math.imul(J,Ne)|0,u=u+Math.imul(J,Le)|0,u=u+Math.imul(T,Ne)|0,R=R+Math.imul(T,Le)|0;var Xt=(B+b|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(Xt>>>26)|0,Xt&=67108863,b=Math.imul(ve,ae),u=Math.imul(ve,ie),u=u+Math.imul(Re,ae)|0,R=Math.imul(Re,ie),b=b+Math.imul(Se,ne)|0,u=u+Math.imul(Se,Ce)|0,u=u+Math.imul(Ee,ne)|0,R=R+Math.imul(Ee,Ce)|0,b=b+Math.imul(re,ke)|0,u=u+Math.imul(re,Ie)|0,u=u+Math.imul(be,ke)|0,R=R+Math.imul(be,Ie)|0,b=b+Math.imul(G,xe)|0,u=u+Math.imul(G,Ae)|0,u=u+Math.imul(se,xe)|0,R=R+Math.imul(se,Ae)|0,b=b+Math.imul(M,Te)|0,u=u+Math.imul(M,Be)|0,u=u+Math.imul(C,Te)|0,R=R+Math.imul(C,Be)|0,b=b+Math.imul(W,Ne)|0,u=u+Math.imul(W,Le)|0,u=u+Math.imul(Z,Ne)|0,R=R+Math.imul(Z,Le)|0,b=b+Math.imul(J,Pe)|0,u=u+Math.imul(J,Oe)|0,u=u+Math.imul(T,Pe)|0,R=R+Math.imul(T,Oe)|0;var er=(B+b|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(er>>>26)|0,er&=67108863,b=Math.imul(_e,ae),u=Math.imul(_e,ie),u=u+Math.imul(m,ae)|0,R=Math.imul(m,ie),b=b+Math.imul(ve,ne)|0,u=u+Math.imul(ve,Ce)|0,u=u+Math.imul(Re,ne)|0,R=R+Math.imul(Re,Ce)|0,b=b+Math.imul(Se,ke)|0,u=u+Math.imul(Se,Ie)|0,u=u+Math.imul(Ee,ke)|0,R=R+Math.imul(Ee,Ie)|0,b=b+Math.imul(re,xe)|0,u=u+Math.imul(re,Ae)|0,u=u+Math.imul(be,xe)|0,R=R+Math.imul(be,Ae)|0,b=b+Math.imul(G,Te)|0,u=u+Math.imul(G,Be)|0,u=u+Math.imul(se,Te)|0,R=R+Math.imul(se,Be)|0,b=b+Math.imul(M,Ne)|0,u=u+Math.imul(M,Le)|0,u=u+Math.imul(C,Ne)|0,R=R+Math.imul(C,Le)|0,b=b+Math.imul(W,Pe)|0,u=u+Math.imul(W,Oe)|0,u=u+Math.imul(Z,Pe)|0,R=R+Math.imul(Z,Oe)|0,b=b+Math.imul(J,$e)|0,u=u+Math.imul(J,Fe)|0,u=u+Math.imul(T,$e)|0,R=R+Math.imul(T,Fe)|0;var tr=(B+b|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(tr>>>26)|0,tr&=67108863,b=Math.imul(h,ae),u=Math.imul(h,ie),u=u+Math.imul(_,ae)|0,R=Math.imul(_,ie),b=b+Math.imul(_e,ne)|0,u=u+Math.imul(_e,Ce)|0,u=u+Math.imul(m,ne)|0,R=R+Math.imul(m,Ce)|0,b=b+Math.imul(ve,ke)|0,u=u+Math.imul(ve,Ie)|0,u=u+Math.imul(Re,ke)|0,R=R+Math.imul(Re,Ie)|0,b=b+Math.imul(Se,xe)|0,u=u+Math.imul(Se,Ae)|0,u=u+Math.imul(Ee,xe)|0,R=R+Math.imul(Ee,Ae)|0,b=b+Math.imul(re,Te)|0,u=u+Math.imul(re,Be)|0,u=u+Math.imul(be,Te)|0,R=R+Math.imul(be,Be)|0,b=b+Math.imul(G,Ne)|0,u=u+Math.imul(G,Le)|0,u=u+Math.imul(se,Ne)|0,R=R+Math.imul(se,Le)|0,b=b+Math.imul(M,Pe)|0,u=u+Math.imul(M,Oe)|0,u=u+Math.imul(C,Pe)|0,R=R+Math.imul(C,Oe)|0,b=b+Math.imul(W,$e)|0,u=u+Math.imul(W,Fe)|0,u=u+Math.imul(Z,$e)|0,R=R+Math.imul(Z,Fe)|0,b=b+Math.imul(J,De)|0,u=u+Math.imul(J,je)|0,u=u+Math.imul(T,De)|0,R=R+Math.imul(T,je)|0;var rr=(B+b|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(rr>>>26)|0,rr&=67108863,b=Math.imul($,ae),u=Math.imul($,ie),u=u+Math.imul(j,ae)|0,R=Math.imul(j,ie),b=b+Math.imul(h,ne)|0,u=u+Math.imul(h,Ce)|0,u=u+Math.imul(_,ne)|0,R=R+Math.imul(_,Ce)|0,b=b+Math.imul(_e,ke)|0,u=u+Math.imul(_e,Ie)|0,u=u+Math.imul(m,ke)|0,R=R+Math.imul(m,Ie)|0,b=b+Math.imul(ve,xe)|0,u=u+Math.imul(ve,Ae)|0,u=u+Math.imul(Re,xe)|0,R=R+Math.imul(Re,Ae)|0,b=b+Math.imul(Se,Te)|0,u=u+Math.imul(Se,Be)|0,u=u+Math.imul(Ee,Te)|0,R=R+Math.imul(Ee,Be)|0,b=b+Math.imul(re,Ne)|0,u=u+Math.imul(re,Le)|0,u=u+Math.imul(be,Ne)|0,R=R+Math.imul(be,Le)|0,b=b+Math.imul(G,Pe)|0,u=u+Math.imul(G,Oe)|0,u=u+Math.imul(se,Pe)|0,R=R+Math.imul(se,Oe)|0,b=b+Math.imul(M,$e)|0,u=u+Math.imul(M,Fe)|0,u=u+Math.imul(C,$e)|0,R=R+Math.imul(C,Fe)|0,b=b+Math.imul(W,De)|0,u=u+Math.imul(W,je)|0,u=u+Math.imul(Z,De)|0,R=R+Math.imul(Z,je)|0,b=b+Math.imul(J,Ue)|0,u=u+Math.imul(J,He)|0,u=u+Math.imul(T,Ue)|0,R=R+Math.imul(T,He)|0;var nr=(B+b|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(nr>>>26)|0,nr&=67108863,b=Math.imul($,ne),u=Math.imul($,Ce),u=u+Math.imul(j,ne)|0,R=Math.imul(j,Ce),b=b+Math.imul(h,ke)|0,u=u+Math.imul(h,Ie)|0,u=u+Math.imul(_,ke)|0,R=R+Math.imul(_,Ie)|0,b=b+Math.imul(_e,xe)|0,u=u+Math.imul(_e,Ae)|0,u=u+Math.imul(m,xe)|0,R=R+Math.imul(m,Ae)|0,b=b+Math.imul(ve,Te)|0,u=u+Math.imul(ve,Be)|0,u=u+Math.imul(Re,Te)|0,R=R+Math.imul(Re,Be)|0,b=b+Math.imul(Se,Ne)|0,u=u+Math.imul(Se,Le)|0,u=u+Math.imul(Ee,Ne)|0,R=R+Math.imul(Ee,Le)|0,b=b+Math.imul(re,Pe)|0,u=u+Math.imul(re,Oe)|0,u=u+Math.imul(be,Pe)|0,R=R+Math.imul(be,Oe)|0,b=b+Math.imul(G,$e)|0,u=u+Math.imul(G,Fe)|0,u=u+Math.imul(se,$e)|0,R=R+Math.imul(se,Fe)|0,b=b+Math.imul(M,De)|0,u=u+Math.imul(M,je)|0,u=u+Math.imul(C,De)|0,R=R+Math.imul(C,je)|0,b=b+Math.imul(W,Ue)|0,u=u+Math.imul(W,He)|0,u=u+Math.imul(Z,Ue)|0,R=R+Math.imul(Z,He)|0;var ir=(B+b|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(ir>>>26)|0,ir&=67108863,b=Math.imul($,ke),u=Math.imul($,Ie),u=u+Math.imul(j,ke)|0,R=Math.imul(j,Ie),b=b+Math.imul(h,xe)|0,u=u+Math.imul(h,Ae)|0,u=u+Math.imul(_,xe)|0,R=R+Math.imul(_,Ae)|0,b=b+Math.imul(_e,Te)|0,u=u+Math.imul(_e,Be)|0,u=u+Math.imul(m,Te)|0,R=R+Math.imul(m,Be)|0,b=b+Math.imul(ve,Ne)|0,u=u+Math.imul(ve,Le)|0,u=u+Math.imul(Re,Ne)|0,R=R+Math.imul(Re,Le)|0,b=b+Math.imul(Se,Pe)|0,u=u+Math.imul(Se,Oe)|0,u=u+Math.imul(Ee,Pe)|0,R=R+Math.imul(Ee,Oe)|0,b=b+Math.imul(re,$e)|0,u=u+Math.imul(re,Fe)|0,u=u+Math.imul(be,$e)|0,R=R+Math.imul(be,Fe)|0,b=b+Math.imul(G,De)|0,u=u+Math.imul(G,je)|0,u=u+Math.imul(se,De)|0,R=R+Math.imul(se,je)|0,b=b+Math.imul(M,Ue)|0,u=u+Math.imul(M,He)|0,u=u+Math.imul(C,Ue)|0,R=R+Math.imul(C,He)|0;var sr=(B+b|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(sr>>>26)|0,sr&=67108863,b=Math.imul($,xe),u=Math.imul($,Ae),u=u+Math.imul(j,xe)|0,R=Math.imul(j,Ae),b=b+Math.imul(h,Te)|0,u=u+Math.imul(h,Be)|0,u=u+Math.imul(_,Te)|0,R=R+Math.imul(_,Be)|0,b=b+Math.imul(_e,Ne)|0,u=u+Math.imul(_e,Le)|0,u=u+Math.imul(m,Ne)|0,R=R+Math.imul(m,Le)|0,b=b+Math.imul(ve,Pe)|0,u=u+Math.imul(ve,Oe)|0,u=u+Math.imul(Re,Pe)|0,R=R+Math.imul(Re,Oe)|0,b=b+Math.imul(Se,$e)|0,u=u+Math.imul(Se,Fe)|0,u=u+Math.imul(Ee,$e)|0,R=R+Math.imul(Ee,Fe)|0,b=b+Math.imul(re,De)|0,u=u+Math.imul(re,je)|0,u=u+Math.imul(be,De)|0,R=R+Math.imul(be,je)|0,b=b+Math.imul(G,Ue)|0,u=u+Math.imul(G,He)|0,u=u+Math.imul(se,Ue)|0,R=R+Math.imul(se,He)|0;var or=(B+b|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(or>>>26)|0,or&=67108863,b=Math.imul($,Te),u=Math.imul($,Be),u=u+Math.imul(j,Te)|0,R=Math.imul(j,Be),b=b+Math.imul(h,Ne)|0,u=u+Math.imul(h,Le)|0,u=u+Math.imul(_,Ne)|0,R=R+Math.imul(_,Le)|0,b=b+Math.imul(_e,Pe)|0,u=u+Math.imul(_e,Oe)|0,u=u+Math.imul(m,Pe)|0,R=R+Math.imul(m,Oe)|0,b=b+Math.imul(ve,$e)|0,u=u+Math.imul(ve,Fe)|0,u=u+Math.imul(Re,$e)|0,R=R+Math.imul(Re,Fe)|0,b=b+Math.imul(Se,De)|0,u=u+Math.imul(Se,je)|0,u=u+Math.imul(Ee,De)|0,R=R+Math.imul(Ee,je)|0,b=b+Math.imul(re,Ue)|0,u=u+Math.imul(re,He)|0,u=u+Math.imul(be,Ue)|0,R=R+Math.imul(be,He)|0;var ar=(B+b|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(ar>>>26)|0,ar&=67108863,b=Math.imul($,Ne),u=Math.imul($,Le),u=u+Math.imul(j,Ne)|0,R=Math.imul(j,Le),b=b+Math.imul(h,Pe)|0,u=u+Math.imul(h,Oe)|0,u=u+Math.imul(_,Pe)|0,R=R+Math.imul(_,Oe)|0,b=b+Math.imul(_e,$e)|0,u=u+Math.imul(_e,Fe)|0,u=u+Math.imul(m,$e)|0,R=R+Math.imul(m,Fe)|0,b=b+Math.imul(ve,De)|0,u=u+Math.imul(ve,je)|0,u=u+Math.imul(Re,De)|0,R=R+Math.imul(Re,je)|0,b=b+Math.imul(Se,Ue)|0,u=u+Math.imul(Se,He)|0,u=u+Math.imul(Ee,Ue)|0,R=R+Math.imul(Ee,He)|0;var os=(B+b|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(os>>>26)|0,os&=67108863,b=Math.imul($,Pe),u=Math.imul($,Oe),u=u+Math.imul(j,Pe)|0,R=Math.imul(j,Oe),b=b+Math.imul(h,$e)|0,u=u+Math.imul(h,Fe)|0,u=u+Math.imul(_,$e)|0,R=R+Math.imul(_,Fe)|0,b=b+Math.imul(_e,De)|0,u=u+Math.imul(_e,je)|0,u=u+Math.imul(m,De)|0,R=R+Math.imul(m,je)|0,b=b+Math.imul(ve,Ue)|0,u=u+Math.imul(ve,He)|0,u=u+Math.imul(Re,Ue)|0,R=R+Math.imul(Re,He)|0;var as=(B+b|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(as>>>26)|0,as&=67108863,b=Math.imul($,$e),u=Math.imul($,Fe),u=u+Math.imul(j,$e)|0,R=Math.imul(j,Fe),b=b+Math.imul(h,De)|0,u=u+Math.imul(h,je)|0,u=u+Math.imul(_,De)|0,R=R+Math.imul(_,je)|0,b=b+Math.imul(_e,Ue)|0,u=u+Math.imul(_e,He)|0,u=u+Math.imul(m,Ue)|0,R=R+Math.imul(m,He)|0;var cs=(B+b|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(cs>>>26)|0,cs&=67108863,b=Math.imul($,De),u=Math.imul($,je),u=u+Math.imul(j,De)|0,R=Math.imul(j,je),b=b+Math.imul(h,Ue)|0,u=u+Math.imul(h,He)|0,u=u+Math.imul(_,Ue)|0,R=R+Math.imul(_,He)|0;var ls=(B+b|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(ls>>>26)|0,ls&=67108863,b=Math.imul($,Ue),u=Math.imul($,He),u=u+Math.imul(j,Ue)|0,R=Math.imul(j,He);var us=(B+b|0)+((u&8191)<<13)|0;return B=(R+(u>>>13)|0)+(us>>>26)|0,us&=67108863,k[0]=Jt,k[1]=Zt,k[2]=Kt,k[3]=Qt,k[4]=Yt,k[5]=Xt,k[6]=er,k[7]=tr,k[8]=rr,k[9]=nr,k[10]=ir,k[11]=sr,k[12]=or,k[13]=ar,k[14]=os,k[15]=as,k[16]=cs,k[17]=ls,k[18]=us,B!==0&&(k[19]=B,w.length++),w};Math.imul||(L=x);function O(I,o,d){d.negative=o.negative^I.negative,d.length=I.length+o.length;for(var w=0,y=0,S=0;S<d.length-1;S++){var k=y;y=0;for(var B=w&67108863,b=Math.min(S,o.length-1),u=Math.max(0,S-I.length+1);u<=b;u++){var R=S-u,K=I.words[R]|0,J=o.words[u]|0,T=K*J,P=T&67108863;k=k+(T/67108864|0)|0,P=P+B|0,B=P&67108863,k=k+(P>>>26)|0,y+=k>>>26,k&=67108863}d.words[S]=B,w=k,k=y}return w!==0?d.words[S]=w:d.length--,d._strip()}function V(I,o,d){return O(I,o,d)}s.prototype.mulTo=function(o,d){var w,y=this.length+o.length;return this.length===10&&o.length===10?w=L(this,o,d):y<63?w=x(this,o,d):y<1024?w=O(this,o,d):w=V(this,o,d),w},s.prototype.mul=function(o){var d=new s(null);return d.words=new Array(this.length+o.length),this.mulTo(o,d)},s.prototype.mulf=function(o){var d=new s(null);return d.words=new Array(this.length+o.length),V(this,o,d)},s.prototype.imul=function(o){return this.clone().mulTo(o,this)},s.prototype.imuln=function(o){var d=o<0;d&&(o=-o),n(typeof o=="number"),n(o<67108864);for(var w=0,y=0;y<this.length;y++){var S=(this.words[y]|0)*o,k=(S&67108863)+(w&67108863);w>>=26,w+=S/67108864|0,w+=k>>>26,this.words[y]=k&67108863}return w!==0&&(this.words[y]=w,this.length++),this.length=o===0?1:this.length,d?this.ineg():this},s.prototype.muln=function(o){return this.clone().imuln(o)},s.prototype.sqr=function(){return this.mul(this)},s.prototype.isqr=function(){return this.imul(this.clone())},s.prototype.pow=function(o){var d=H(o);if(d.length===0)return new s(1);for(var w=this,y=0;y<d.length&&d[y]===0;y++,w=w.sqr());if(++y<d.length)for(var S=w.sqr();y<d.length;y++,S=S.sqr())d[y]!==0&&(w=w.mul(S));return w},s.prototype.iushln=function(o){n(typeof o=="number"&&o>=0);var d=o%26,w=(o-d)/26,y=67108863>>>26-d<<26-d,S;if(d!==0){var k=0;for(S=0;S<this.length;S++){var B=this.words[S]&y,b=(this.words[S]|0)-B<<d;this.words[S]=b|k,k=B>>>26-d}k&&(this.words[S]=k,this.length++)}if(w!==0){for(S=this.length-1;S>=0;S--)this.words[S+w]=this.words[S];for(S=0;S<w;S++)this.words[S]=0;this.length+=w}return this._strip()},s.prototype.ishln=function(o){return n(this.negative===0),this.iushln(o)},s.prototype.iushrn=function(o,d,w){n(typeof o=="number"&&o>=0);var y;d?y=(d-d%26)/26:y=0;var S=o%26,k=Math.min((o-S)/26,this.length),B=67108863^67108863>>>S<<S,b=w;if(y-=k,y=Math.max(0,y),b){for(var u=0;u<k;u++)b.words[u]=this.words[u];b.length=k}if(k!==0)if(this.length>k)for(this.length-=k,u=0;u<this.length;u++)this.words[u]=this.words[u+k];else this.words[0]=0,this.length=1;var R=0;for(u=this.length-1;u>=0&&(R!==0||u>=y);u--){var K=this.words[u]|0;this.words[u]=R<<26-S|K>>>S,R=K&B}return b&&R!==0&&(b.words[b.length++]=R),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},s.prototype.ishrn=function(o,d,w){return n(this.negative===0),this.iushrn(o,d,w)},s.prototype.shln=function(o){return this.clone().ishln(o)},s.prototype.ushln=function(o){return this.clone().iushln(o)},s.prototype.shrn=function(o){return this.clone().ishrn(o)},s.prototype.ushrn=function(o){return this.clone().iushrn(o)},s.prototype.testn=function(o){n(typeof o=="number"&&o>=0);var d=o%26,w=(o-d)/26,y=1<<d;if(this.length<=w)return!1;var S=this.words[w];return!!(S&y)},s.prototype.imaskn=function(o){n(typeof o=="number"&&o>=0);var d=o%26,w=(o-d)/26;if(n(this.negative===0,"imaskn works only with positive numbers"),this.length<=w)return this;if(d!==0&&w++,this.length=Math.min(w,this.length),d!==0){var y=67108863^67108863>>>d<<d;this.words[this.length-1]&=y}return this.length===0&&(this.words[0]=0,this.length=1),this._strip()},s.prototype.maskn=function(o){return this.clone().imaskn(o)},s.prototype.iaddn=function(o){return n(typeof o=="number"),n(o<67108864),o<0?this.isubn(-o):this.negative!==0?this.length===1&&(this.words[0]|0)<=o?(this.words[0]=o-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(o),this.negative=1,this):this._iaddn(o)},s.prototype._iaddn=function(o){this.words[0]+=o;for(var d=0;d<this.length&&this.words[d]>=67108864;d++)this.words[d]-=67108864,d===this.length-1?this.words[d+1]=1:this.words[d+1]++;return this.length=Math.max(this.length,d+1),this},s.prototype.isubn=function(o){if(n(typeof o=="number"),n(o<67108864),o<0)return this.iaddn(-o);if(this.negative!==0)return this.negative=0,this.iaddn(o),this.negative=1,this;if(this.words[0]-=o,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var d=0;d<this.length&&this.words[d]<0;d++)this.words[d]+=67108864,this.words[d+1]-=1;return this._strip()},s.prototype.addn=function(o){return this.clone().iaddn(o)},s.prototype.subn=function(o){return this.clone().isubn(o)},s.prototype.iabs=function(){return this.negative=0,this},s.prototype.abs=function(){return this.clone().iabs()},s.prototype._ishlnsubmul=function(o,d,w){var y=o.length+w,S;this._expand(y);var k,B=0;for(S=0;S<o.length;S++){k=(this.words[S+w]|0)+B;var b=(o.words[S]|0)*d;k-=b&67108863,B=(k>>26)-(b/67108864|0),this.words[S+w]=k&67108863}for(;S<this.length-w;S++)k=(this.words[S+w]|0)+B,B=k>>26,this.words[S+w]=k&67108863;if(B===0)return this._strip();for(n(B===-1),B=0,S=0;S<this.length;S++)k=-(this.words[S]|0)+B,B=k>>26,this.words[S]=k&67108863;return this.negative=1,this._strip()},s.prototype._wordDiv=function(o,d){var w=this.length-o.length,y=this.clone(),S=o,k=S.words[S.length-1]|0,B=this._countBits(k);w=26-B,w!==0&&(S=S.ushln(w),y.iushln(w),k=S.words[S.length-1]|0);var b=y.length-S.length,u;if(d!=="mod"){u=new s(null),u.length=b+1,u.words=new Array(u.length);for(var R=0;R<u.length;R++)u.words[R]=0}var K=y.clone()._ishlnsubmul(S,1,b);K.negative===0&&(y=K,u&&(u.words[b]=1));for(var J=b-1;J>=0;J--){var T=(y.words[S.length+J]|0)*67108864+(y.words[S.length+J-1]|0);for(T=Math.min(T/k|0,67108863),y._ishlnsubmul(S,T,J);y.negative!==0;)T--,y.negative=0,y._ishlnsubmul(S,1,J),y.isZero()||(y.negative^=1);u&&(u.words[J]=T)}return u&&u._strip(),y._strip(),d!=="div"&&w!==0&&y.iushrn(w),{div:u||null,mod:y}},s.prototype.divmod=function(o,d,w){if(n(!o.isZero()),this.isZero())return{div:new s(0),mod:new s(0)};var y,S,k;return this.negative!==0&&o.negative===0?(k=this.neg().divmod(o,d),d!=="mod"&&(y=k.div.neg()),d!=="div"&&(S=k.mod.neg(),w&&S.negative!==0&&S.iadd(o)),{div:y,mod:S}):this.negative===0&&o.negative!==0?(k=this.divmod(o.neg(),d),d!=="mod"&&(y=k.div.neg()),{div:y,mod:k.mod}):this.negative&o.negative?(k=this.neg().divmod(o.neg(),d),d!=="div"&&(S=k.mod.neg(),w&&S.negative!==0&&S.isub(o)),{div:k.div,mod:S}):o.length>this.length||this.cmp(o)<0?{div:new s(0),mod:this}:o.length===1?d==="div"?{div:this.divn(o.words[0]),mod:null}:d==="mod"?{div:null,mod:new s(this.modrn(o.words[0]))}:{div:this.divn(o.words[0]),mod:new s(this.modrn(o.words[0]))}:this._wordDiv(o,d)},s.prototype.div=function(o){return this.divmod(o,"div",!1).div},s.prototype.mod=function(o){return this.divmod(o,"mod",!1).mod},s.prototype.umod=function(o){return this.divmod(o,"mod",!0).mod},s.prototype.divRound=function(o){var d=this.divmod(o);if(d.mod.isZero())return d.div;var w=d.div.negative!==0?d.mod.isub(o):d.mod,y=o.ushrn(1),S=o.andln(1),k=w.cmp(y);return k<0||S===1&&k===0?d.div:d.div.negative!==0?d.div.isubn(1):d.div.iaddn(1)},s.prototype.modrn=function(o){var d=o<0;d&&(o=-o),n(o<=67108863);for(var w=(1<<26)%o,y=0,S=this.length-1;S>=0;S--)y=(w*y+(this.words[S]|0))%o;return d?-y:y},s.prototype.modn=function(o){return this.modrn(o)},s.prototype.idivn=function(o){var d=o<0;d&&(o=-o),n(o<=67108863);for(var w=0,y=this.length-1;y>=0;y--){var S=(this.words[y]|0)+w*67108864;this.words[y]=S/o|0,w=S%o}return this._strip(),d?this.ineg():this},s.prototype.divn=function(o){return this.clone().idivn(o)},s.prototype.egcd=function(o){n(o.negative===0),n(!o.isZero());var d=this,w=o.clone();d.negative!==0?d=d.umod(o):d=d.clone();for(var y=new s(1),S=new s(0),k=new s(0),B=new s(1),b=0;d.isEven()&&w.isEven();)d.iushrn(1),w.iushrn(1),++b;for(var u=w.clone(),R=d.clone();!d.isZero();){for(var K=0,J=1;!(d.words[0]&J)&&K<26;++K,J<<=1);if(K>0)for(d.iushrn(K);K-- >0;)(y.isOdd()||S.isOdd())&&(y.iadd(u),S.isub(R)),y.iushrn(1),S.iushrn(1);for(var T=0,P=1;!(w.words[0]&P)&&T<26;++T,P<<=1);if(T>0)for(w.iushrn(T);T-- >0;)(k.isOdd()||B.isOdd())&&(k.iadd(u),B.isub(R)),k.iushrn(1),B.iushrn(1);d.cmp(w)>=0?(d.isub(w),y.isub(k),S.isub(B)):(w.isub(d),k.isub(y),B.isub(S))}return{a:k,b:B,gcd:w.iushln(b)}},s.prototype._invmp=function(o){n(o.negative===0),n(!o.isZero());var d=this,w=o.clone();d.negative!==0?d=d.umod(o):d=d.clone();for(var y=new s(1),S=new s(0),k=w.clone();d.cmpn(1)>0&&w.cmpn(1)>0;){for(var B=0,b=1;!(d.words[0]&b)&&B<26;++B,b<<=1);if(B>0)for(d.iushrn(B);B-- >0;)y.isOdd()&&y.iadd(k),y.iushrn(1);for(var u=0,R=1;!(w.words[0]&R)&&u<26;++u,R<<=1);if(u>0)for(w.iushrn(u);u-- >0;)S.isOdd()&&S.iadd(k),S.iushrn(1);d.cmp(w)>=0?(d.isub(w),y.isub(S)):(w.isub(d),S.isub(y))}var K;return d.cmpn(1)===0?K=y:K=S,K.cmpn(0)<0&&K.iadd(o),K},s.prototype.gcd=function(o){if(this.isZero())return o.abs();if(o.isZero())return this.abs();var d=this.clone(),w=o.clone();d.negative=0,w.negative=0;for(var y=0;d.isEven()&&w.isEven();y++)d.iushrn(1),w.iushrn(1);do{for(;d.isEven();)d.iushrn(1);for(;w.isEven();)w.iushrn(1);var S=d.cmp(w);if(S<0){var k=d;d=w,w=k}else if(S===0||w.cmpn(1)===0)break;d.isub(w)}while(!0);return w.iushln(y)},s.prototype.invm=function(o){return this.egcd(o).a.umod(o)},s.prototype.isEven=function(){return(this.words[0]&1)===0},s.prototype.isOdd=function(){return(this.words[0]&1)===1},s.prototype.andln=function(o){return this.words[0]&o},s.prototype.bincn=function(o){n(typeof o=="number");var d=o%26,w=(o-d)/26,y=1<<d;if(this.length<=w)return this._expand(w+1),this.words[w]|=y,this;for(var S=y,k=w;S!==0&&k<this.length;k++){var B=this.words[k]|0;B+=S,S=B>>>26,B&=67108863,this.words[k]=B}return S!==0&&(this.words[k]=S,this.length++),this},s.prototype.isZero=function(){return this.length===1&&this.words[0]===0},s.prototype.cmpn=function(o){var d=o<0;if(this.negative!==0&&!d)return-1;if(this.negative===0&&d)return 1;this._strip();var w;if(this.length>1)w=1;else{d&&(o=-o),n(o<=67108863,"Number is too big");var y=this.words[0]|0;w=y===o?0:y<o?-1:1}return this.negative!==0?-w|0:w},s.prototype.cmp=function(o){if(this.negative!==0&&o.negative===0)return-1;if(this.negative===0&&o.negative!==0)return 1;var d=this.ucmp(o);return this.negative!==0?-d|0:d},s.prototype.ucmp=function(o){if(this.length>o.length)return 1;if(this.length<o.length)return-1;for(var d=0,w=this.length-1;w>=0;w--){var y=this.words[w]|0,S=o.words[w]|0;if(y!==S){y<S?d=-1:y>S&&(d=1);break}}return d},s.prototype.gtn=function(o){return this.cmpn(o)===1},s.prototype.gt=function(o){return this.cmp(o)===1},s.prototype.gten=function(o){return this.cmpn(o)>=0},s.prototype.gte=function(o){return this.cmp(o)>=0},s.prototype.ltn=function(o){return this.cmpn(o)===-1},s.prototype.lt=function(o){return this.cmp(o)===-1},s.prototype.lten=function(o){return this.cmpn(o)<=0},s.prototype.lte=function(o){return this.cmp(o)<=0},s.prototype.eqn=function(o){return this.cmpn(o)===0},s.prototype.eq=function(o){return this.cmp(o)===0},s.red=function(o){return new oe(o)},s.prototype.toRed=function(o){return n(!this.red,"Already a number in reduction context"),n(this.negative===0,"red works only with positives"),o.convertTo(this)._forceRed(o)},s.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},s.prototype._forceRed=function(o){return this.red=o,this},s.prototype.forceRed=function(o){return n(!this.red,"Already a number in reduction context"),this._forceRed(o)},s.prototype.redAdd=function(o){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,o)},s.prototype.redIAdd=function(o){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,o)},s.prototype.redSub=function(o){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,o)},s.prototype.redISub=function(o){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,o)},s.prototype.redShl=function(o){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,o)},s.prototype.redMul=function(o){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,o),this.red.mul(this,o)},s.prototype.redIMul=function(o){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,o),this.red.imul(this,o)},s.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(o){return n(this.red&&!o.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,o)};var D={k256:null,p224:null,p192:null,p25519:null};function z(I,o){this.name=I,this.p=new s(o,16),this.n=this.p.bitLength(),this.k=new s(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}z.prototype._tmp=function(){var o=new s(null);return o.words=new Array(Math.ceil(this.n/13)),o},z.prototype.ireduce=function(o){var d=o,w;do this.split(d,this.tmp),d=this.imulK(d),d=d.iadd(this.tmp),w=d.bitLength();while(w>this.n);var y=w<this.n?-1:d.ucmp(this.p);return y===0?(d.words[0]=0,d.length=1):y>0?d.isub(this.p):d.strip!==void 0?d.strip():d._strip(),d},z.prototype.split=function(o,d){o.iushrn(this.n,0,d)},z.prototype.imulK=function(o){return o.imul(this.k)};function te(){z.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}i(te,z),te.prototype.split=function(o,d){for(var w=4194303,y=Math.min(o.length,9),S=0;S<y;S++)d.words[S]=o.words[S];if(d.length=y,o.length<=9){o.words[0]=0,o.length=1;return}var k=o.words[9];for(d.words[d.length++]=k&w,S=10;S<o.length;S++){var B=o.words[S]|0;o.words[S-10]=(B&w)<<4|k>>>22,k=B}k>>>=22,o.words[S-10]=k,k===0&&o.length>10?o.length-=10:o.length-=9},te.prototype.imulK=function(o){o.words[o.length]=0,o.words[o.length+1]=0,o.length+=2;for(var d=0,w=0;w<o.length;w++){var y=o.words[w]|0;d+=y*977,o.words[w]=d&67108863,d=y*64+(d/67108864|0)}return o.words[o.length-1]===0&&(o.length--,o.words[o.length-1]===0&&o.length--),o};function Y(){z.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}i(Y,z);function Q(){z.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}i(Q,z);function fe(){z.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}i(fe,z),fe.prototype.imulK=function(o){for(var d=0,w=0;w<o.length;w++){var y=(o.words[w]|0)*19+d,S=y&67108863;y>>>=26,o.words[w]=S,d=y}return d!==0&&(o.words[o.length++]=d),o},s._prime=function(o){if(D[o])return D[o];var d;if(o==="k256")d=new te;else if(o==="p224")d=new Y;else if(o==="p192")d=new Q;else if(o==="p25519")d=new fe;else throw new Error("Unknown prime "+o);return D[o]=d,d};function oe(I){if(typeof I=="string"){var o=s._prime(I);this.m=o.p,this.prime=o}else n(I.gtn(1),"modulus must be greater than 1"),this.m=I,this.prime=null}oe.prototype._verify1=function(o){n(o.negative===0,"red works only with positives"),n(o.red,"red works only with red numbers")},oe.prototype._verify2=function(o,d){n((o.negative|d.negative)===0,"red works only with positives"),n(o.red&&o.red===d.red,"red works only with red numbers")},oe.prototype.imod=function(o){return this.prime?this.prime.ireduce(o)._forceRed(this):(p(o,o.umod(this.m)._forceRed(this)),o)},oe.prototype.neg=function(o){return o.isZero()?o.clone():this.m.sub(o)._forceRed(this)},oe.prototype.add=function(o,d){this._verify2(o,d);var w=o.add(d);return w.cmp(this.m)>=0&&w.isub(this.m),w._forceRed(this)},oe.prototype.iadd=function(o,d){this._verify2(o,d);var w=o.iadd(d);return w.cmp(this.m)>=0&&w.isub(this.m),w},oe.prototype.sub=function(o,d){this._verify2(o,d);var w=o.sub(d);return w.cmpn(0)<0&&w.iadd(this.m),w._forceRed(this)},oe.prototype.isub=function(o,d){this._verify2(o,d);var w=o.isub(d);return w.cmpn(0)<0&&w.iadd(this.m),w},oe.prototype.shl=function(o,d){return this._verify1(o),this.imod(o.ushln(d))},oe.prototype.imul=function(o,d){return this._verify2(o,d),this.imod(o.imul(d))},oe.prototype.mul=function(o,d){return this._verify2(o,d),this.imod(o.mul(d))},oe.prototype.isqr=function(o){return this.imul(o,o.clone())},oe.prototype.sqr=function(o){return this.mul(o,o)},oe.prototype.sqrt=function(o){if(o.isZero())return o.clone();var d=this.m.andln(3);if(n(d%2===1),d===3){var w=this.m.add(new s(1)).iushrn(2);return this.pow(o,w)}for(var y=this.m.subn(1),S=0;!y.isZero()&&y.andln(1)===0;)S++,y.iushrn(1);n(!y.isZero());var k=new s(1).toRed(this),B=k.redNeg(),b=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new s(2*u*u).toRed(this);this.pow(u,b).cmp(B)!==0;)u.redIAdd(B);for(var R=this.pow(u,y),K=this.pow(o,y.addn(1).iushrn(1)),J=this.pow(o,y),T=S;J.cmp(k)!==0;){for(var P=J,W=0;P.cmp(k)!==0;W++)P=P.redSqr();n(W<T);var Z=this.pow(R,new s(1).iushln(T-W-1));K=K.redMul(Z),R=Z.redSqr(),J=J.redMul(R),T=W}return K},oe.prototype.invm=function(o){var d=o._invmp(this.m);return d.negative!==0?(d.negative=0,this.imod(d).redNeg()):this.imod(d)},oe.prototype.pow=function(o,d){if(d.isZero())return new s(1).toRed(this);if(d.cmpn(1)===0)return o.clone();var w=4,y=new Array(1<<w);y[0]=new s(1).toRed(this),y[1]=o;for(var S=2;S<y.length;S++)y[S]=this.mul(y[S-1],o);var k=y[0],B=0,b=0,u=d.bitLength()%26;for(u===0&&(u=26),S=d.length-1;S>=0;S--){for(var R=d.words[S],K=u-1;K>=0;K--){var J=R>>K&1;if(k!==y[0]&&(k=this.sqr(k)),J===0&&B===0){b=0;continue}B<<=1,B|=J,b++,!(b!==w&&(S!==0||K!==0))&&(k=this.mul(k,y[B]),b=0,B=0)}u=26}return k},oe.prototype.convertTo=function(o){var d=o.umod(this.m);return d===o?d.clone():d},oe.prototype.convertFrom=function(o){var d=o.clone();return d.red=null,d},s.mont=function(o){return new pe(o)};function pe(I){oe.call(this,I),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new s(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)}i(pe,oe),pe.prototype.convertTo=function(o){return this.imod(o.ushln(this.shift))},pe.prototype.convertFrom=function(o){var d=this.imod(o.mul(this.rinv));return d.red=null,d},pe.prototype.imul=function(o,d){if(o.isZero()||d.isZero())return o.words[0]=0,o.length=1,o;var w=o.imul(d),y=w.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),S=w.isub(y).iushrn(this.shift),k=S;return S.cmp(this.m)>=0?k=S.isub(this.m):S.cmpn(0)<0&&(k=S.iadd(this.m)),k._forceRed(this)},pe.prototype.mul=function(o,d){if(o.isZero()||d.isZero())return new s(0)._forceRed(this);var w=o.mul(d),y=w.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),S=w.isub(y).iushrn(this.shift),k=S;return S.cmp(this.m)>=0?k=S.isub(this.m):S.cmpn(0)<0&&(k=S.iadd(this.m)),k._forceRed(this)},pe.prototype.invm=function(o){var d=this.imod(o._invmp(this.m).mul(this.r2));return d._forceRed(this)}})(e,ee)})(Ys);var hi=Ys.exports,wn={},Dt={};Object.defineProperty(Dt,"__esModule",{value:!0});Dt.errorValues=Dt.standardErrorCodes=void 0;Dt.standardErrorCodes={rpc:{invalidInput:-32e3,resourceNotFound:-32001,resourceUnavailable:-32002,transactionRejected:-32003,methodNotSupported:-32004,limitExceeded:-32005,parse:-32700,invalidRequest:-32600,methodNotFound:-32601,invalidParams:-32602,internal:-32603},provider:{userRejectedRequest:4001,unauthorized:4100,unsupportedMethod:4200,disconnected:4900,chainDisconnected:4901,unsupportedChain:4902}};Dt.errorValues={"-32700":{standard:"JSON RPC 2.0",message:"Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text."},"-32600":{standard:"JSON RPC 2.0",message:"The JSON sent is not a valid Request object."},"-32601":{standard:"JSON RPC 2.0",message:"The method does not exist / is not available."},"-32602":{standard:"JSON RPC 2.0",message:"Invalid method parameter(s)."},"-32603":{standard:"JSON RPC 2.0",message:"Internal JSON-RPC error."},"-32000":{standard:"EIP-1474",message:"Invalid input."},"-32001":{standard:"EIP-1474",message:"Resource not found."},"-32002":{standard:"EIP-1474",message:"Resource unavailable."},"-32003":{standard:"EIP-1474",message:"Transaction rejected."},"-32004":{standard:"EIP-1474",message:"Method not supported."},"-32005":{standard:"EIP-1474",message:"Request limit exceeded."},4001:{standard:"EIP-1193",message:"User rejected the request."},4100:{standard:"EIP-1193",message:"The requested account and/or method has not been authorized by the user."},4200:{standard:"EIP-1193",message:"The requested method is not supported by this Ethereum provider."},4900:{standard:"EIP-1193",message:"The provider is disconnected from all chains."},4901:{standard:"EIP-1193",message:"The provider is disconnected from the specified chain."},4902:{standard:"EIP-3085",message:"Unrecognized chain ID."}};var di={},fi={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.serialize=e.getErrorCode=e.isValidCode=e.getMessageFromCode=e.JSON_RPC_SERVER_ERROR_MESSAGE=void 0;const t=Dt,r="Unspecified error message.";e.JSON_RPC_SERVER_ERROR_MESSAGE="Unspecified server error.";function n(E,A=r){if(E&&Number.isInteger(E)){const U=E.toString();if(p(t.errorValues,U))return t.errorValues[U].message;if(f(E))return e.JSON_RPC_SERVER_ERROR_MESSAGE}return A}e.getMessageFromCode=n;function i(E){if(!Number.isInteger(E))return!1;const A=E.toString();return!!(t.errorValues[A]||f(E))}e.isValidCode=i;function s(E){var A;if(typeof E=="number")return E;if(c(E))return(A=E.code)!==null&&A!==void 0?A:E.errorCode}e.getErrorCode=s;function c(E){return typeof E=="object"&&E!==null&&(typeof E.code=="number"||typeof E.errorCode=="number")}function a(E,{shouldIncludeStack:A=!1}={}){const U={};if(E&&typeof E=="object"&&!Array.isArray(E)&&p(E,"code")&&i(E.code)){const F=E;U.code=F.code,F.message&&typeof F.message=="string"?(U.message=F.message,p(F,"data")&&(U.data=F.data)):(U.message=n(U.code),U.data={originalError:g(E)})}else U.code=t.standardErrorCodes.rpc.internal,U.message=v(E,"message")?E.message:r,U.data={originalError:g(E)};return A&&(U.stack=v(E,"stack")?E.stack:void 0),U}e.serialize=a;function f(E){return E>=-32099&&E<=-32e3}function g(E){return E&&typeof E=="object"&&!Array.isArray(E)?Object.assign({},E):E}function p(E,A){return Object.prototype.hasOwnProperty.call(E,A)}function v(E,A){return typeof E=="object"&&E!==null&&A in E&&typeof E[A]=="string"}})(fi);Object.defineProperty(di,"__esModule",{value:!0});di.standardErrors=void 0;const et=Dt,_c=fi;di.standardErrors={rpc:{parse:e=>ft(et.standardErrorCodes.rpc.parse,e),invalidRequest:e=>ft(et.standardErrorCodes.rpc.invalidRequest,e),invalidParams:e=>ft(et.standardErrorCodes.rpc.invalidParams,e),methodNotFound:e=>ft(et.standardErrorCodes.rpc.methodNotFound,e),internal:e=>ft(et.standardErrorCodes.rpc.internal,e),server:e=>{if(!e||typeof e!="object"||Array.isArray(e))throw new Error("Ethereum RPC Server errors must provide single object argument.");const{code:t}=e;if(!Number.isInteger(t)||t>-32005||t<-32099)throw new Error('"code" must be an integer such that: -32099 <= code <= -32005');return ft(t,e)},invalidInput:e=>ft(et.standardErrorCodes.rpc.invalidInput,e),resourceNotFound:e=>ft(et.standardErrorCodes.rpc.resourceNotFound,e),resourceUnavailable:e=>ft(et.standardErrorCodes.rpc.resourceUnavailable,e),transactionRejected:e=>ft(et.standardErrorCodes.rpc.transactionRejected,e),methodNotSupported:e=>ft(et.standardErrorCodes.rpc.methodNotSupported,e),limitExceeded:e=>ft(et.standardErrorCodes.rpc.limitExceeded,e)},provider:{userRejectedRequest:e=>Br(et.standardErrorCodes.provider.userRejectedRequest,e),unauthorized:e=>Br(et.standardErrorCodes.provider.unauthorized,e),unsupportedMethod:e=>Br(et.standardErrorCodes.provider.unsupportedMethod,e),disconnected:e=>Br(et.standardErrorCodes.provider.disconnected,e),chainDisconnected:e=>Br(et.standardErrorCodes.provider.chainDisconnected,e),unsupportedChain:e=>Br(et.standardErrorCodes.provider.unsupportedChain,e),custom:e=>{if(!e||typeof e!="object"||Array.isArray(e))throw new Error("Ethereum Provider custom errors must provide single object argument.");const{code:t,message:r,data:n}=e;if(!r||typeof r!="string")throw new Error('"message" must be a nonempty string');return new Rc(t,r,n)}}};function ft(e,t){const[r,n]=Ec(t);return new Sc(e,r||(0,_c.getMessageFromCode)(e),n)}function Br(e,t){const[r,n]=Ec(t);return new Rc(e,r||(0,_c.getMessageFromCode)(e),n)}function Ec(e){if(e){if(typeof e=="string")return[e];if(typeof e=="object"&&!Array.isArray(e)){const{message:t,data:r}=e;if(t&&typeof t!="string")throw new Error("Must specify string message.");return[t||void 0,r]}}return[]}let Sc=class extends Error{constructor(t,r,n){if(!Number.isInteger(t))throw new Error('"code" must be an integer.');if(!r||typeof r!="string")throw new Error('"message" must be a nonempty string.');super(r),this.code=t,n!==void 0&&(this.data=n)}},Rc=class extends Sc{constructor(t,r,n){if(!Tu(t))throw new Error('"code" must be an integer such that: 1000 <= code <= 4999');super(t,r,n)}};function Tu(e){return Number.isInteger(e)&&e>=1e3&&e<=4999}var pi={},Yr={};Object.defineProperty(Yr,"__esModule",{value:!0});Yr.isErrorResponse=void 0;function Bu(e){return e.errorMessage!==void 0}Yr.isErrorResponse=Bu;var Xr={};Object.defineProperty(Xr,"__esModule",{value:!0});Xr.LIB_VERSION=void 0;Xr.LIB_VERSION="3.9.3";Object.defineProperty(pi,"__esModule",{value:!0});pi.serializeError=void 0;const Nu=Yr,Lu=Xr,Pu=Dt,Ou=fi;function $u(e,t){const r=(0,Ou.serialize)(Fu(e),{shouldIncludeStack:!0}),n=new URL("https://docs.cloud.coinbase.com/wallet-sdk/docs/errors");n.searchParams.set("version",Lu.LIB_VERSION),n.searchParams.set("code",r.code.toString());const i=Du(r.data,t);return i&&n.searchParams.set("method",i),n.searchParams.set("message",r.message),Object.assign(Object.assign({},r),{docUrl:n.href})}pi.serializeError=$u;function Fu(e){return typeof e=="string"?{message:e,code:Pu.standardErrorCodes.rpc.internal}:(0,Nu.isErrorResponse)(e)?Object.assign(Object.assign({},e),{message:e.errorMessage,code:e.errorCode,data:{method:e.method}}):e}function Du(e,t){const r=e?.method;if(r)return r;if(t!==void 0){if(typeof t=="string")return t;if(Array.isArray(t)){if(t.length>0)return t[0].method}else return t.method}}(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.standardErrors=e.standardErrorCodes=e.serializeError=e.getMessageFromCode=e.getErrorCode=void 0;const t=Dt;Object.defineProperty(e,"standardErrorCodes",{enumerable:!0,get:function(){return t.standardErrorCodes}});const r=di;Object.defineProperty(e,"standardErrors",{enumerable:!0,get:function(){return r.standardErrors}});const n=pi;Object.defineProperty(e,"serializeError",{enumerable:!0,get:function(){return n.serializeError}});const i=fi;Object.defineProperty(e,"getErrorCode",{enumerable:!0,get:function(){return i.getErrorCode}}),Object.defineProperty(e,"getMessageFromCode",{enumerable:!0,get:function(){return i.getMessageFromCode}})})(wn);var Ze={};Object.defineProperty(Ze,"__esModule",{value:!0});Ze.ProviderType=Ze.RegExpString=Ze.IntNumber=Ze.BigIntString=Ze.AddressString=Ze.HexString=Ze.OpaqueType=void 0;function yn(){return e=>e}Ze.OpaqueType=yn;Ze.HexString=yn();Ze.AddressString=yn();Ze.BigIntString=yn();function ju(e){return Math.floor(e)}Ze.IntNumber=ju;Ze.RegExpString=yn();var jo;(function(e){e.CoinbaseWallet="CoinbaseWallet",e.MetaMask="MetaMask",e.Unselected=""})(jo||(Ze.ProviderType=jo={}));var Uu=ee&&ee.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(X,"__esModule",{value:!0});X.isMobileWeb=X.getLocation=X.isInIFrame=X.createQrUrl=X.getFavicon=X.range=X.isBigNumber=X.ensureParsedJSONObject=X.ensureBN=X.ensureRegExpString=X.ensureIntNumber=X.ensureBuffer=X.ensureAddressString=X.ensureEvenLengthHexString=X.ensureHexString=X.isHexString=X.prepend0x=X.strip0x=X.has0xPrefix=X.hexStringFromIntNumber=X.intNumberFromHexString=X.bigIntStringFromBN=X.hexStringFromBuffer=X.hexStringToUint8Array=X.uint8ArrayToHex=X.randomBytesHex=void 0;const Vt=Uu(hi),vr=wn,yt=Ze,Mc=/^[0-9]*$/,Cc=/^[a-f0-9]*$/;function Hu(e){return kc(crypto.getRandomValues(new Uint8Array(e)))}X.randomBytesHex=Hu;function kc(e){return[...e].map(t=>t.toString(16).padStart(2,"0")).join("")}X.uint8ArrayToHex=kc;function Wu(e){return new Uint8Array(e.match(/.{1,2}/g).map(t=>parseInt(t,16)))}X.hexStringToUint8Array=Wu;function Vu(e,t=!1){const r=e.toString("hex");return(0,yt.HexString)(t?`0x${r}`:r)}X.hexStringFromBuffer=Vu;function qu(e){return(0,yt.BigIntString)(e.toString(10))}X.bigIntStringFromBN=qu;function zu(e){return(0,yt.IntNumber)(new Vt.default(vn(e,!1),16).toNumber())}X.intNumberFromHexString=zu;function Gu(e){return(0,yt.HexString)(`0x${new Vt.default(e).toString(16)}`)}X.hexStringFromIntNumber=Gu;function Xs(e){return e.startsWith("0x")||e.startsWith("0X")}X.has0xPrefix=Xs;function gi(e){return Xs(e)?e.slice(2):e}X.strip0x=gi;function Ic(e){return Xs(e)?`0x${e.slice(2)}`:`0x${e}`}X.prepend0x=Ic;function bn(e){if(typeof e!="string")return!1;const t=gi(e).toLowerCase();return Cc.test(t)}X.isHexString=bn;function xc(e,t=!1){if(typeof e=="string"){const r=gi(e).toLowerCase();if(Cc.test(r))return(0,yt.HexString)(t?`0x${r}`:r)}throw vr.standardErrors.rpc.invalidParams(`"${String(e)}" is not a hexadecimal string`)}X.ensureHexString=xc;function vn(e,t=!1){let r=xc(e,!1);return r.length%2===1&&(r=(0,yt.HexString)(`0${r}`)),t?(0,yt.HexString)(`0x${r}`):r}X.ensureEvenLengthHexString=vn;function Ju(e){if(typeof e=="string"){const t=gi(e).toLowerCase();if(bn(t)&&t.length===40)return(0,yt.AddressString)(Ic(t))}throw vr.standardErrors.rpc.invalidParams(`Invalid Ethereum address: ${String(e)}`)}X.ensureAddressString=Ju;function Zu(e){if(Buffer.isBuffer(e))return e;if(typeof e=="string"){if(bn(e)){const t=vn(e,!1);return Buffer.from(t,"hex")}return Buffer.from(e,"utf8")}throw vr.standardErrors.rpc.invalidParams(`Not binary data: ${String(e)}`)}X.ensureBuffer=Zu;function Ac(e){if(typeof e=="number"&&Number.isInteger(e))return(0,yt.IntNumber)(e);if(typeof e=="string"){if(Mc.test(e))return(0,yt.IntNumber)(Number(e));if(bn(e))return(0,yt.IntNumber)(new Vt.default(vn(e,!1),16).toNumber())}throw vr.standardErrors.rpc.invalidParams(`Not an integer: ${String(e)}`)}X.ensureIntNumber=Ac;function Ku(e){if(e instanceof RegExp)return(0,yt.RegExpString)(e.toString());throw vr.standardErrors.rpc.invalidParams(`Not a RegExp: ${String(e)}`)}X.ensureRegExpString=Ku;function Qu(e){if(e!==null&&(Vt.default.isBN(e)||Tc(e)))return new Vt.default(e.toString(10),10);if(typeof e=="number")return new Vt.default(Ac(e));if(typeof e=="string"){if(Mc.test(e))return new Vt.default(e,10);if(bn(e))return new Vt.default(vn(e,!1),16)}throw vr.standardErrors.rpc.invalidParams(`Not an integer: ${String(e)}`)}X.ensureBN=Qu;function Yu(e){if(typeof e=="string")return JSON.parse(e);if(typeof e=="object")return e;throw vr.standardErrors.rpc.invalidParams(`Not a JSON string or an object: ${String(e)}`)}X.ensureParsedJSONObject=Yu;function Tc(e){if(e==null||typeof e.constructor!="function")return!1;const{constructor:t}=e;return typeof t.config=="function"&&typeof t.EUCLID=="number"}X.isBigNumber=Tc;function Xu(e,t){return Array.from({length:t-e},(r,n)=>e+n)}X.range=Xu;function eh(){const e=document.querySelector('link[sizes="192x192"]')||document.querySelector('link[sizes="180x180"]')||document.querySelector('link[rel="icon"]')||document.querySelector('link[rel="shortcut icon"]'),{protocol:t,host:r}=document.location,n=e?e.getAttribute("href"):null;return!n||n.startsWith("javascript:")||n.startsWith("vbscript:")?null:n.startsWith("http://")||n.startsWith("https://")||n.startsWith("data:")?n:n.startsWith("//")?t+n:`${t}//${r}${n}`}X.getFavicon=eh;function th(e,t,r,n,i,s){const c=n?"parent-id":"id",a=new URLSearchParams({[c]:e,secret:t,server:r,v:i,chainId:s.toString()}).toString();return`${r}/#/link?${a}`}X.createQrUrl=th;function Bc(){try{return window.frameElement!==null}catch{return!1}}X.isInIFrame=Bc;function rh(){try{return Bc()&&window.top?window.top.location:window.location}catch{return window.location}}X.getLocation=rh;function nh(){var e;return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test((e=window?.navigator)===null||e===void 0?void 0:e.userAgent)}X.isMobileWeb=nh;var mi={};Object.defineProperty(mi,"__esModule",{value:!0});mi.ScopedLocalStorage=void 0;class ih{constructor(t){this.scope=t}setItem(t,r){localStorage.setItem(this.scopedKey(t),r)}getItem(t){return localStorage.getItem(this.scopedKey(t))}removeItem(t){localStorage.removeItem(this.scopedKey(t))}clear(){const t=this.scopedKey(""),r=[];for(let n=0;n<localStorage.length;n++){const i=localStorage.key(n);typeof i=="string"&&i.startsWith(t)&&r.push(i)}r.forEach(n=>localStorage.removeItem(n))}scopedKey(t){return`${this.scope}:${t}`}}mi.ScopedLocalStorage=ih;var Vr={};const sh=Qr(Su);var _n={},En={},en={};Object.defineProperty(en,"__esModule",{value:!0});en.EVENTS=void 0;en.EVENTS={STARTED_CONNECTING:"walletlink_sdk.started.connecting",CONNECTED_STATE_CHANGE:"walletlink_sdk.connected",DISCONNECTED:"walletlink_sdk.disconnected",METADATA_DESTROYED:"walletlink_sdk_metadata_destroyed",LINKED:"walletlink_sdk.linked",FAILURE:"walletlink_sdk.generic_failure",SESSION_CONFIG_RECEIVED:"walletlink_sdk.session_config_event_received",ETH_ACCOUNTS_STATE:"walletlink_sdk.eth_accounts_state",SESSION_STATE_CHANGE:"walletlink_sdk.session_state_change",UNLINKED_ERROR_STATE:"walletlink_sdk.unlinked_error_state",SKIPPED_CLEARING_SESSION:"walletlink_sdk.skipped_clearing_session",GENERAL_ERROR:"walletlink_sdk.general_error",WEB3_REQUEST:"walletlink_sdk.web3.request",WEB3_REQUEST_PUBLISHED:"walletlink_sdk.web3.request_published",WEB3_RESPONSE:"walletlink_sdk.web3.response",METHOD_NOT_IMPLEMENTED:"walletlink_sdk.method_not_implemented",UNKNOWN_ADDRESS_ENCOUNTERED:"walletlink_sdk.unknown_address_encountered"};var wt={};Object.defineProperty(wt,"__esModule",{value:!0});wt.RelayAbstract=wt.APP_VERSION_KEY=wt.LOCAL_STORAGE_ADDRESSES_KEY=wt.WALLET_USER_NAME_KEY=void 0;const Uo=wn;wt.WALLET_USER_NAME_KEY="walletUsername";wt.LOCAL_STORAGE_ADDRESSES_KEY="Addresses";wt.APP_VERSION_KEY="AppVersion";class oh{async makeEthereumJSONRPCRequest(t,r){if(!r)throw new Error("Error: No jsonRpcUrl provided");return window.fetch(r,{method:"POST",body:JSON.stringify(t),mode:"cors",headers:{"Content-Type":"application/json"}}).then(n=>n.json()).then(n=>{if(!n)throw Uo.standardErrors.rpc.parse({});const i=n,{error:s}=i;if(s)throw(0,Uo.serializeError)(s,t.method);return i})}}wt.RelayAbstract=oh;var tn={},Nc={exports:{}},zs={exports:{}},Sn={},wi={};wi.byteLength=lh;wi.toByteArray=hh;wi.fromByteArray=ph;var Bt=[],mt=[],ah=typeof Uint8Array<"u"?Uint8Array:Array,ds="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var Nr=0,ch=ds.length;Nr<ch;++Nr)Bt[Nr]=ds[Nr],mt[ds.charCodeAt(Nr)]=Nr;mt[45]=62;mt[95]=63;function Lc(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var n=r===t?0:4-r%4;return[r,n]}function lh(e){var t=Lc(e),r=t[0],n=t[1];return(r+n)*3/4-n}function uh(e,t,r){return(t+r)*3/4-r}function hh(e){var t,r=Lc(e),n=r[0],i=r[1],s=new ah(uh(e,n,i)),c=0,a=i>0?n-4:n,f;for(f=0;f<a;f+=4)t=mt[e.charCodeAt(f)]<<18|mt[e.charCodeAt(f+1)]<<12|mt[e.charCodeAt(f+2)]<<6|mt[e.charCodeAt(f+3)],s[c++]=t>>16&255,s[c++]=t>>8&255,s[c++]=t&255;return i===2&&(t=mt[e.charCodeAt(f)]<<2|mt[e.charCodeAt(f+1)]>>4,s[c++]=t&255),i===1&&(t=mt[e.charCodeAt(f)]<<10|mt[e.charCodeAt(f+1)]<<4|mt[e.charCodeAt(f+2)]>>2,s[c++]=t>>8&255,s[c++]=t&255),s}function dh(e){return Bt[e>>18&63]+Bt[e>>12&63]+Bt[e>>6&63]+Bt[e&63]}function fh(e,t,r){for(var n,i=[],s=t;s<r;s+=3)n=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(e[s+2]&255),i.push(dh(n));return i.join("")}function ph(e){for(var t,r=e.length,n=r%3,i=[],s=16383,c=0,a=r-n;c<a;c+=s)i.push(fh(e,c,c+s>a?a:c+s));return n===1?(t=e[r-1],i.push(Bt[t>>2]+Bt[t<<4&63]+"==")):n===2&&(t=(e[r-2]<<8)+e[r-1],i.push(Bt[t>>10]+Bt[t>>4&63]+Bt[t<<2&63]+"=")),i.join("")}var eo={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */eo.read=function(e,t,r,n,i){var s,c,a=i*8-n-1,f=(1<<a)-1,g=f>>1,p=-7,v=r?i-1:0,E=r?-1:1,A=e[t+v];for(v+=E,s=A&(1<<-p)-1,A>>=-p,p+=a;p>0;s=s*256+e[t+v],v+=E,p-=8);for(c=s&(1<<-p)-1,s>>=-p,p+=n;p>0;c=c*256+e[t+v],v+=E,p-=8);if(s===0)s=1-g;else{if(s===f)return c?NaN:(A?-1:1)*(1/0);c=c+Math.pow(2,n),s=s-g}return(A?-1:1)*c*Math.pow(2,s-n)};eo.write=function(e,t,r,n,i,s){var c,a,f,g=s*8-i-1,p=(1<<g)-1,v=p>>1,E=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,A=n?0:s-1,U=n?1:-1,F=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,c=p):(c=Math.floor(Math.log(t)/Math.LN2),t*(f=Math.pow(2,-c))<1&&(c--,f*=2),c+v>=1?t+=E/f:t+=E*Math.pow(2,1-v),t*f>=2&&(c++,f/=2),c+v>=p?(a=0,c=p):c+v>=1?(a=(t*f-1)*Math.pow(2,i),c=c+v):(a=t*Math.pow(2,v-1)*Math.pow(2,i),c=0));i>=8;e[r+A]=a&255,A+=U,a/=256,i-=8);for(c=c<<i|a,g+=i;g>0;e[r+A]=c&255,A+=U,c/=256,g-=8);e[r+A-U]|=F*128};/*!
|
|
1
|
+
import{c as ee,g as Qr,a as gu}from"./_commonjsHelpers-C4iS2aBk.js";import{r as wr}from"./___vite-browser-external_commonjs-proxy-BqV5D26a.js";import{E as Fo}from"./index-CdrMQoR6.js";import{i as Rt}from"./inherits_browser-BlmhoU4v.js";import{w as mu,t as wu,c as yu,i as bu}from"./index-BqMgoBT5.js";import{p as vu,a as _u}from"./hooks.module-Dz_XB4AG.js";import{t as Eu}from"./tslib.es6-DbvBTznf.js";const Su=Object.freeze(Object.defineProperty({__proto__:null,EventEmitter:Fo,default:Fo},Symbol.toStringTag,{value:"Module"}));var Ws={exports:{}},hs,Do;function Ru(){if(Do)return hs;Do=1;var e=1e3,t=e*60,r=t*60,n=r*24,i=n*7,s=n*365.25;hs=function(p,v){v=v||{};var E=typeof p;if(E==="string"&&p.length>0)return c(p);if(E==="number"&&isFinite(p))return v.long?f(p):a(p);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(p))};function c(p){if(p=String(p),!(p.length>100)){var v=/^(-?(?:\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(v){var E=parseFloat(v[1]),A=(v[2]||"ms").toLowerCase();switch(A){case"years":case"year":case"yrs":case"yr":case"y":return E*s;case"weeks":case"week":case"w":return E*i;case"days":case"day":case"d":return E*n;case"hours":case"hour":case"hrs":case"hr":case"h":return E*r;case"minutes":case"minute":case"mins":case"min":case"m":return E*t;case"seconds":case"second":case"secs":case"sec":case"s":return E*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return E;default:return}}}}function a(p){var v=Math.abs(p);return v>=n?Math.round(p/n)+"d":v>=r?Math.round(p/r)+"h":v>=t?Math.round(p/t)+"m":v>=e?Math.round(p/e)+"s":p+"ms"}function f(p){var v=Math.abs(p);return v>=n?g(p,v,n,"day"):v>=r?g(p,v,r,"hour"):v>=t?g(p,v,t,"minute"):v>=e?g(p,v,e,"second"):p+" ms"}function g(p,v,E,A){var U=v>=E*1.5;return Math.round(p/E)+" "+A+(U?"s":"")}return hs}function Mu(e){r.debug=r,r.default=r,r.coerce=f,r.disable=s,r.enable=i,r.enabled=c,r.humanize=Ru(),r.destroy=g,Object.keys(e).forEach(p=>{r[p]=e[p]}),r.names=[],r.skips=[],r.formatters={};function t(p){let v=0;for(let E=0;E<p.length;E++)v=(v<<5)-v+p.charCodeAt(E),v|=0;return r.colors[Math.abs(v)%r.colors.length]}r.selectColor=t;function r(p){let v,E=null,A,U;function F(...H){if(!F.enabled)return;const x=F,L=Number(new Date),O=L-(v||L);x.diff=O,x.prev=v,x.curr=L,v=L,H[0]=r.coerce(H[0]),typeof H[0]!="string"&&H.unshift("%O");let V=0;H[0]=H[0].replace(/%([a-zA-Z%])/g,(z,te)=>{if(z==="%%")return"%";V++;const Y=r.formatters[te];if(typeof Y=="function"){const Q=H[V];z=Y.call(x,Q),H.splice(V,1),V--}return z}),r.formatArgs.call(x,H),(x.log||r.log).apply(x,H)}return F.namespace=p,F.useColors=r.useColors(),F.color=r.selectColor(p),F.extend=n,F.destroy=r.destroy,Object.defineProperty(F,"enabled",{enumerable:!0,configurable:!1,get:()=>E!==null?E:(A!==r.namespaces&&(A=r.namespaces,U=r.enabled(p)),U),set:H=>{E=H}}),typeof r.init=="function"&&r.init(F),F}function n(p,v){const E=r(this.namespace+(typeof v>"u"?":":v)+p);return E.log=this.log,E}function i(p){r.save(p),r.namespaces=p,r.names=[],r.skips=[];let v;const E=(typeof p=="string"?p:"").split(/[\s,]+/),A=E.length;for(v=0;v<A;v++)E[v]&&(p=E[v].replace(/\*/g,".*?"),p[0]==="-"?r.skips.push(new RegExp("^"+p.slice(1)+"$")):r.names.push(new RegExp("^"+p+"$")))}function s(){const p=[...r.names.map(a),...r.skips.map(a).map(v=>"-"+v)].join(",");return r.enable(""),p}function c(p){if(p[p.length-1]==="*")return!0;let v,E;for(v=0,E=r.skips.length;v<E;v++)if(r.skips[v].test(p))return!1;for(v=0,E=r.names.length;v<E;v++)if(r.names[v].test(p))return!0;return!1}function a(p){return p.toString().substring(2,p.toString().length-2).replace(/\.\*\?$/,"*")}function f(p){return p instanceof Error?p.stack||p.message:p}function g(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return r.enable(r.load()),r}var Cu=Mu;(function(e,t){var r={};t.formatArgs=i,t.save=s,t.load=c,t.useColors=n,t.storage=a(),t.destroy=(()=>{let g=!1;return()=>{g||(g=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function n(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1: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&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function i(g){if(g[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+g[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const p="color: "+this.color;g.splice(1,0,p,"color: inherit");let v=0,E=0;g[0].replace(/%[a-zA-Z%]/g,A=>{A!=="%%"&&(v++,A==="%c"&&(E=v))}),g.splice(E,0,p)}t.log=console.debug||console.log||(()=>{});function s(g){try{g?t.storage.setItem("debug",g):t.storage.removeItem("debug")}catch{}}function c(){let g;try{g=t.storage.getItem("debug")}catch{}return!g&&typeof process<"u"&&"env"in process&&(g=r.DEBUG),g}function a(){try{return localStorage}catch{}}e.exports=Cu(t);const{formatters:f}=e.exports;f.j=function(g){try{return JSON.stringify(g)}catch(p){return"[UnexpectedJSONParseError]: "+p.message}}})(Ws,Ws.exports);var ku=Ws.exports,Iu=fn;fn.default=fn;fn.stable=yc;fn.stableStringify=yc;var oi="[...]",mc="[Circular]",yr=[],pr=[];function wc(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function fn(e,t,r,n){typeof n>"u"&&(n=wc()),Vs(e,"",0,[],void 0,0,n);var i;try{pr.length===0?i=JSON.stringify(e,t,r):i=JSON.stringify(e,bc(t),r)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;yr.length!==0;){var s=yr.pop();s.length===4?Object.defineProperty(s[0],s[1],s[3]):s[0][s[1]]=s[2]}}return i}function jr(e,t,r,n){var i=Object.getOwnPropertyDescriptor(n,r);i.get!==void 0?i.configurable?(Object.defineProperty(n,r,{value:e}),yr.push([n,r,t,i])):pr.push([t,r,e]):(n[r]=e,yr.push([n,r,t]))}function Vs(e,t,r,n,i,s,c){s+=1;var a;if(typeof e=="object"&&e!==null){for(a=0;a<n.length;a++)if(n[a]===e){jr(mc,e,t,i);return}if(typeof c.depthLimit<"u"&&s>c.depthLimit){jr(oi,e,t,i);return}if(typeof c.edgesLimit<"u"&&r+1>c.edgesLimit){jr(oi,e,t,i);return}if(n.push(e),Array.isArray(e))for(a=0;a<e.length;a++)Vs(e[a],a,a,n,e,s,c);else{var f=Object.keys(e);for(a=0;a<f.length;a++){var g=f[a];Vs(e[g],g,a,n,e,s,c)}}n.pop()}}function xu(e,t){return e<t?-1:e>t?1:0}function yc(e,t,r,n){typeof n>"u"&&(n=wc());var i=qs(e,"",0,[],void 0,0,n)||e,s;try{pr.length===0?s=JSON.stringify(i,t,r):s=JSON.stringify(i,bc(t),r)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;yr.length!==0;){var c=yr.pop();c.length===4?Object.defineProperty(c[0],c[1],c[3]):c[0][c[1]]=c[2]}}return s}function qs(e,t,r,n,i,s,c){s+=1;var a;if(typeof e=="object"&&e!==null){for(a=0;a<n.length;a++)if(n[a]===e){jr(mc,e,t,i);return}try{if(typeof e.toJSON=="function")return}catch{return}if(typeof c.depthLimit<"u"&&s>c.depthLimit){jr(oi,e,t,i);return}if(typeof c.edgesLimit<"u"&&r+1>c.edgesLimit){jr(oi,e,t,i);return}if(n.push(e),Array.isArray(e))for(a=0;a<e.length;a++)qs(e[a],a,a,n,e,s,c);else{var f={},g=Object.keys(e).sort(xu);for(a=0;a<g.length;a++){var p=g[a];qs(e[p],p,a,n,e,s,c),f[p]=e[p]}if(typeof i<"u")yr.push([i,t,e]),i[t]=f;else return f}n.pop()}}function bc(e){return e=typeof e<"u"?e:function(t,r){return r},function(t,r){if(pr.length>0)for(var n=0;n<pr.length;n++){var i=pr[n];if(i[1]===t&&i[0]===r){r=i[2],pr.splice(n,1);break}}return e.call(this,t,r)}}var vc={},pn={},li={};Object.defineProperty(li,"__esModule",{value:!0});li.walletLogo=void 0;const Au=(e,t)=>{let r;switch(e){case"standard":return r=t,`data:image/svg+xml,%3Csvg width='${t}' height='${r}' viewBox='0 0 1024 1024' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Crect width='1024' height='1024' fill='%230052FF'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M152 512C152 710.823 313.177 872 512 872C710.823 872 872 710.823 872 512C872 313.177 710.823 152 512 152C313.177 152 152 313.177 152 512ZM420 396C406.745 396 396 406.745 396 420V604C396 617.255 406.745 628 420 628H604C617.255 628 628 617.255 628 604V420C628 406.745 617.255 396 604 396H420Z' fill='white'/%3E %3C/svg%3E `;case"circle":return r=t,`data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='${t}' height='${r}' viewBox='0 0 999.81 999.81'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%230052fe;%7D.cls-2%7Bfill:%23fefefe;%7D.cls-3%7Bfill:%230152fe;%7D%3C/style%3E%3C/defs%3E%3Cpath class='cls-1' d='M655-115.9h56c.83,1.59,2.36.88,3.56,1a478,478,0,0,1,75.06,10.42C891.4-81.76,978.33-32.58,1049.19,44q116.7,126,131.94,297.61c.38,4.14-.34,8.53,1.78,12.45v59c-1.58.84-.91,2.35-1,3.56a482.05,482.05,0,0,1-10.38,74.05c-24,106.72-76.64,196.76-158.83,268.93s-178.18,112.82-287.2,122.6c-4.83.43-9.86-.25-14.51,1.77H654c-1-1.68-2.69-.91-4.06-1a496.89,496.89,0,0,1-105.9-18.59c-93.54-27.42-172.78-77.59-236.91-150.94Q199.34,590.1,184.87,426.58c-.47-5.19.25-10.56-1.77-15.59V355c1.68-1,.91-2.7,1-4.06a498.12,498.12,0,0,1,18.58-105.9c26-88.75,72.64-164.9,140.6-227.57q126-116.27,297.21-131.61C645.32-114.57,650.35-113.88,655-115.9Zm377.92,500c0-192.44-156.31-349.49-347.56-350.15-194.13-.68-350.94,155.13-352.29,347.42-1.37,194.55,155.51,352.1,348.56,352.47C876.15,734.23,1032.93,577.84,1032.93,384.11Z' transform='translate(-183.1 115.9)'/%3E%3Cpath class='cls-2' d='M1032.93,384.11c0,193.73-156.78,350.12-351.29,349.74-193-.37-349.93-157.92-348.56-352.47C334.43,189.09,491.24,33.28,685.37,34,876.62,34.62,1032.94,191.67,1032.93,384.11ZM683,496.81q43.74,0,87.48,0c15.55,0,25.32-9.72,25.33-25.21q0-87.48,0-175c0-15.83-9.68-25.46-25.59-25.46H595.77c-15.88,0-25.57,9.64-25.58,25.46q0,87.23,0,174.45c0,16.18,9.59,25.7,25.84,25.71Z' transform='translate(-183.1 115.9)'/%3E%3Cpath class='cls-3' d='M683,496.81H596c-16.25,0-25.84-9.53-25.84-25.71q0-87.23,0-174.45c0-15.82,9.7-25.46,25.58-25.46H770.22c15.91,0,25.59,9.63,25.59,25.46q0,87.47,0,175c0,15.49-9.78,25.2-25.33,25.21Q726.74,496.84,683,496.81Z' transform='translate(-183.1 115.9)'/%3E%3C/svg%3E`;case"text":return r=(.1*t).toFixed(2),`data:image/svg+xml,%3Csvg width='${t}' height='${r}' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 528.15 53.64'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%230052ff;%7D%3C/style%3E%3C/defs%3E%3Ctitle%3ECoinbase_Wordmark_SubBrands_ALL%3C/title%3E%3Cpath class='cls-1' d='M164.45,15a15,15,0,0,0-11.74,5.4V0h-8.64V52.92h8.5V48a15,15,0,0,0,11.88,5.62c10.37,0,18.21-8.21,18.21-19.3S174.67,15,164.45,15Zm-1.3,30.67c-6.19,0-10.73-4.83-10.73-11.31S157,23,163.22,23s10.66,4.82,10.66,11.37S169.34,45.65,163.15,45.65Zm83.31-14.91-6.34-.93c-3-.43-5.18-1.44-5.18-3.82,0-2.59,2.8-3.89,6.62-3.89,4.18,0,6.84,1.8,7.42,4.76h8.35c-.94-7.49-6.7-11.88-15.55-11.88-9.15,0-15.2,4.68-15.2,11.3,0,6.34,4,10,12,11.16l6.33.94c3.1.43,4.83,1.65,4.83,4,0,2.95-3,4.17-7.2,4.17-5.12,0-8-2.09-8.43-5.25h-8.49c.79,7.27,6.48,12.38,16.84,12.38,9.44,0,15.7-4.32,15.7-11.74C258.12,35.28,253.58,31.82,246.46,30.74Zm-27.65-2.3c0-8.06-4.9-13.46-15.27-13.46-9.79,0-15.26,5-16.34,12.6h8.57c.43-3,2.73-5.4,7.63-5.4,4.39,0,6.55,1.94,6.55,4.32,0,3.09-4,3.88-8.85,4.39-6.63.72-14.84,3-14.84,11.66,0,6.7,5,11,12.89,11,6.19,0,10.08-2.59,12-6.7.28,3.67,3,6.05,6.84,6.05h5v-7.7h-4.25Zm-8.5,9.36c0,5-4.32,8.64-9.57,8.64-3.24,0-6-1.37-6-4.25,0-3.67,4.39-4.68,8.42-5.11s6-1.22,7.13-2.88ZM281.09,15c-11.09,0-19.23,8.35-19.23,19.36,0,11.6,8.72,19.3,19.37,19.3,9,0,16.06-5.33,17.86-12.89h-9c-1.3,3.31-4.47,5.19-8.71,5.19-5.55,0-9.72-3.46-10.66-9.51H299.3V33.12C299.3,22.46,291.53,15,281.09,15Zm-9.87,15.26c1.37-5.18,5.26-7.7,9.72-7.7,4.9,0,8.64,2.8,9.51,7.7ZM19.3,23a9.84,9.84,0,0,1,9.5,7h9.14c-1.65-8.93-9-15-18.57-15A19,19,0,0,0,0,34.34c0,11.09,8.28,19.3,19.37,19.3,9.36,0,16.85-6,18.5-15H28.8a9.75,9.75,0,0,1-9.43,7.06c-6.27,0-10.66-4.83-10.66-11.31S13,23,19.3,23Zm41.11-8A19,19,0,0,0,41,34.34c0,11.09,8.28,19.3,19.37,19.3A19,19,0,0,0,79.92,34.27C79.92,23.33,71.64,15,60.41,15Zm.07,30.67c-6.19,0-10.73-4.83-10.73-11.31S54.22,23,60.41,23s10.8,4.89,10.8,11.37S66.67,45.65,60.48,45.65ZM123.41,15c-5.62,0-9.29,2.3-11.45,5.54V15.7h-8.57V52.92H112V32.69C112,27,115.63,23,121,23c5,0,8.06,3.53,8.06,8.64V52.92h8.64V31C137.66,21.6,132.84,15,123.41,15ZM92,.36a5.36,5.36,0,0,0-5.55,5.47,5.55,5.55,0,0,0,11.09,0A5.35,5.35,0,0,0,92,.36Zm-9.72,23h5.4V52.92h8.64V15.7h-14Zm298.17-7.7L366.2,52.92H372L375.29,44H392l3.33,8.88h6L386.87,15.7ZM377,39.23l6.45-17.56h.1l6.56,17.56ZM362.66,15.7l-7.88,29h-.11l-8.14-29H341l-8,28.93h-.1l-8-28.87H319L329.82,53h5.45l8.19-29.24h.11L352,53h5.66L368.1,15.7Zm135.25,0v4.86h12.32V52.92h5.6V20.56h12.32V15.7ZM467.82,52.92h25.54V48.06H473.43v-12h18.35V31.35H473.43V20.56h19.93V15.7H467.82ZM443,15.7h-5.6V52.92h24.32V48.06H443Zm-30.45,0h-5.61V52.92h24.32V48.06H412.52Z'/%3E%3C/svg%3E`;case"textWithLogo":return r=(.25*t).toFixed(2),`data:image/svg+xml,%3Csvg width='${t}' height='${r}' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 308.44 77.61'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%230052ff;%7D%3C/style%3E%3C/defs%3E%3Cpath class='cls-1' d='M142.94,20.2l-7.88,29H135l-8.15-29h-5.55l-8,28.93h-.11l-8-28.87H99.27l10.84,37.27h5.44l8.2-29.24h.1l8.41,29.24h5.66L148.39,20.2Zm17.82,0L146.48,57.42h5.82l3.28-8.88h16.65l3.34,8.88h6L167.16,20.2Zm-3.44,23.52,6.45-17.55h.11l6.56,17.55ZM278.2,20.2v4.86h12.32V57.42h5.6V25.06h12.32V20.2ZM248.11,57.42h25.54V52.55H253.71V40.61h18.35V35.85H253.71V25.06h19.94V20.2H248.11ZM223.26,20.2h-5.61V57.42H242V52.55H223.26Zm-30.46,0h-5.6V57.42h24.32V52.55H192.8Zm-154,38A19.41,19.41,0,1,1,57.92,35.57H77.47a38.81,38.81,0,1,0,0,6.47H57.92A19.39,19.39,0,0,1,38.81,58.21Z'/%3E%3C/svg%3E`;case"textLight":return r=(.1*t).toFixed(2),`data:image/svg+xml,%3Csvg width='${t}' height='${r}' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 528.15 53.64'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23fefefe;%7D%3C/style%3E%3C/defs%3E%3Ctitle%3ECoinbase_Wordmark_SubBrands_ALL%3C/title%3E%3Cpath class='cls-1' d='M164.45,15a15,15,0,0,0-11.74,5.4V0h-8.64V52.92h8.5V48a15,15,0,0,0,11.88,5.62c10.37,0,18.21-8.21,18.21-19.3S174.67,15,164.45,15Zm-1.3,30.67c-6.19,0-10.73-4.83-10.73-11.31S157,23,163.22,23s10.66,4.82,10.66,11.37S169.34,45.65,163.15,45.65Zm83.31-14.91-6.34-.93c-3-.43-5.18-1.44-5.18-3.82,0-2.59,2.8-3.89,6.62-3.89,4.18,0,6.84,1.8,7.42,4.76h8.35c-.94-7.49-6.7-11.88-15.55-11.88-9.15,0-15.2,4.68-15.2,11.3,0,6.34,4,10,12,11.16l6.33.94c3.1.43,4.83,1.65,4.83,4,0,2.95-3,4.17-7.2,4.17-5.12,0-8-2.09-8.43-5.25h-8.49c.79,7.27,6.48,12.38,16.84,12.38,9.44,0,15.7-4.32,15.7-11.74C258.12,35.28,253.58,31.82,246.46,30.74Zm-27.65-2.3c0-8.06-4.9-13.46-15.27-13.46-9.79,0-15.26,5-16.34,12.6h8.57c.43-3,2.73-5.4,7.63-5.4,4.39,0,6.55,1.94,6.55,4.32,0,3.09-4,3.88-8.85,4.39-6.63.72-14.84,3-14.84,11.66,0,6.7,5,11,12.89,11,6.19,0,10.08-2.59,12-6.7.28,3.67,3,6.05,6.84,6.05h5v-7.7h-4.25Zm-8.5,9.36c0,5-4.32,8.64-9.57,8.64-3.24,0-6-1.37-6-4.25,0-3.67,4.39-4.68,8.42-5.11s6-1.22,7.13-2.88ZM281.09,15c-11.09,0-19.23,8.35-19.23,19.36,0,11.6,8.72,19.3,19.37,19.3,9,0,16.06-5.33,17.86-12.89h-9c-1.3,3.31-4.47,5.19-8.71,5.19-5.55,0-9.72-3.46-10.66-9.51H299.3V33.12C299.3,22.46,291.53,15,281.09,15Zm-9.87,15.26c1.37-5.18,5.26-7.7,9.72-7.7,4.9,0,8.64,2.8,9.51,7.7ZM19.3,23a9.84,9.84,0,0,1,9.5,7h9.14c-1.65-8.93-9-15-18.57-15A19,19,0,0,0,0,34.34c0,11.09,8.28,19.3,19.37,19.3,9.36,0,16.85-6,18.5-15H28.8a9.75,9.75,0,0,1-9.43,7.06c-6.27,0-10.66-4.83-10.66-11.31S13,23,19.3,23Zm41.11-8A19,19,0,0,0,41,34.34c0,11.09,8.28,19.3,19.37,19.3A19,19,0,0,0,79.92,34.27C79.92,23.33,71.64,15,60.41,15Zm.07,30.67c-6.19,0-10.73-4.83-10.73-11.31S54.22,23,60.41,23s10.8,4.89,10.8,11.37S66.67,45.65,60.48,45.65ZM123.41,15c-5.62,0-9.29,2.3-11.45,5.54V15.7h-8.57V52.92H112V32.69C112,27,115.63,23,121,23c5,0,8.06,3.53,8.06,8.64V52.92h8.64V31C137.66,21.6,132.84,15,123.41,15ZM92,.36a5.36,5.36,0,0,0-5.55,5.47,5.55,5.55,0,0,0,11.09,0A5.35,5.35,0,0,0,92,.36Zm-9.72,23h5.4V52.92h8.64V15.7h-14Zm298.17-7.7L366.2,52.92H372L375.29,44H392l3.33,8.88h6L386.87,15.7ZM377,39.23l6.45-17.56h.1l6.56,17.56ZM362.66,15.7l-7.88,29h-.11l-8.14-29H341l-8,28.93h-.1l-8-28.87H319L329.82,53h5.45l8.19-29.24h.11L352,53h5.66L368.1,15.7Zm135.25,0v4.86h12.32V52.92h5.6V20.56h12.32V15.7ZM467.82,52.92h25.54V48.06H473.43v-12h18.35V31.35H473.43V20.56h19.93V15.7H467.82ZM443,15.7h-5.6V52.92h24.32V48.06H443Zm-30.45,0h-5.61V52.92h24.32V48.06H412.52Z'/%3E%3C/svg%3E`;case"textWithLogoLight":return r=(.25*t).toFixed(2),`data:image/svg+xml,%3Csvg width='${t}' height='${r}' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 308.44 77.61'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23fefefe;%7D%3C/style%3E%3C/defs%3E%3Cpath class='cls-1' d='M142.94,20.2l-7.88,29H135l-8.15-29h-5.55l-8,28.93h-.11l-8-28.87H99.27l10.84,37.27h5.44l8.2-29.24h.1l8.41,29.24h5.66L148.39,20.2Zm17.82,0L146.48,57.42h5.82l3.28-8.88h16.65l3.34,8.88h6L167.16,20.2Zm-3.44,23.52,6.45-17.55h.11l6.56,17.55ZM278.2,20.2v4.86h12.32V57.42h5.6V25.06h12.32V20.2ZM248.11,57.42h25.54V52.55H253.71V40.61h18.35V35.85H253.71V25.06h19.94V20.2H248.11ZM223.26,20.2h-5.61V57.42H242V52.55H223.26Zm-30.46,0h-5.6V57.42h24.32V52.55H192.8Zm-154,38A19.41,19.41,0,1,1,57.92,35.57H77.47a38.81,38.81,0,1,0,0,6.47H57.92A19.39,19.39,0,0,1,38.81,58.21Z'/%3E%3C/svg%3E`;default:return r=t,`data:image/svg+xml,%3Csvg width='${t}' height='${r}' viewBox='0 0 1024 1024' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Crect width='1024' height='1024' fill='%230052FF'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M152 512C152 710.823 313.177 872 512 872C710.823 872 872 710.823 872 512C872 313.177 710.823 152 512 152C313.177 152 152 313.177 152 512ZM420 396C406.745 396 396 406.745 396 420V604C396 617.255 406.745 628 420 628H604C617.255 628 628 617.255 628 604V420C628 406.745 617.255 396 604 396H420Z' fill='white'/%3E %3C/svg%3E `}};li.walletLogo=Au;var ui={};Object.defineProperty(ui,"__esModule",{value:!0});ui.LINK_API_URL=void 0;ui.LINK_API_URL="https://www.walletlink.org";var X={},Ys={exports:{}};Ys.exports;(function(e){(function(t,r){function n(I,o){if(!I)throw new Error(o||"Assertion failed")}function i(I,o){I.super_=o;var d=function(){};d.prototype=o.prototype,I.prototype=new d,I.prototype.constructor=I}function s(I,o,d){if(s.isBN(I))return I;this.negative=0,this.words=null,this.length=0,this.red=null,I!==null&&((o==="le"||o==="be")&&(d=o,o=10),this._init(I||0,o||10,d||"be"))}typeof t=="object"?t.exports=s:r.BN=s,s.BN=s,s.wordSize=26;var c;try{typeof window<"u"&&typeof window.Buffer<"u"?c=window.Buffer:c=wr.Buffer}catch{}s.isBN=function(o){return o instanceof s?!0:o!==null&&typeof o=="object"&&o.constructor.wordSize===s.wordSize&&Array.isArray(o.words)},s.max=function(o,d){return o.cmp(d)>0?o:d},s.min=function(o,d){return o.cmp(d)<0?o:d},s.prototype._init=function(o,d,w){if(typeof o=="number")return this._initNumber(o,d,w);if(typeof o=="object")return this._initArray(o,d,w);d==="hex"&&(d=16),n(d===(d|0)&&d>=2&&d<=36),o=o.toString().replace(/\s+/g,"");var y=0;o[0]==="-"&&(y++,this.negative=1),y<o.length&&(d===16?this._parseHex(o,y,w):(this._parseBase(o,d,y),w==="le"&&this._initArray(this.toArray(),d,w)))},s.prototype._initNumber=function(o,d,w){o<0&&(this.negative=1,o=-o),o<67108864?(this.words=[o&67108863],this.length=1):o<4503599627370496?(this.words=[o&67108863,o/67108864&67108863],this.length=2):(n(o<9007199254740992),this.words=[o&67108863,o/67108864&67108863,1],this.length=3),w==="le"&&this._initArray(this.toArray(),d,w)},s.prototype._initArray=function(o,d,w){if(n(typeof o.length=="number"),o.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(o.length/3),this.words=new Array(this.length);for(var y=0;y<this.length;y++)this.words[y]=0;var S,k,B=0;if(w==="be")for(y=o.length-1,S=0;y>=0;y-=3)k=o[y]|o[y-1]<<8|o[y-2]<<16,this.words[S]|=k<<B&67108863,this.words[S+1]=k>>>26-B&67108863,B+=24,B>=26&&(B-=26,S++);else if(w==="le")for(y=0,S=0;y<o.length;y+=3)k=o[y]|o[y+1]<<8|o[y+2]<<16,this.words[S]|=k<<B&67108863,this.words[S+1]=k>>>26-B&67108863,B+=24,B>=26&&(B-=26,S++);return this._strip()};function a(I,o){var d=I.charCodeAt(o);if(d>=48&&d<=57)return d-48;if(d>=65&&d<=70)return d-55;if(d>=97&&d<=102)return d-87;n(!1,"Invalid character in "+I)}function f(I,o,d){var w=a(I,d);return d-1>=o&&(w|=a(I,d-1)<<4),w}s.prototype._parseHex=function(o,d,w){this.length=Math.ceil((o.length-d)/6),this.words=new Array(this.length);for(var y=0;y<this.length;y++)this.words[y]=0;var S=0,k=0,B;if(w==="be")for(y=o.length-1;y>=d;y-=2)B=f(o,d,y)<<S,this.words[k]|=B&67108863,S>=18?(S-=18,k+=1,this.words[k]|=B>>>26):S+=8;else{var b=o.length-d;for(y=b%2===0?d+1:d;y<o.length;y+=2)B=f(o,d,y)<<S,this.words[k]|=B&67108863,S>=18?(S-=18,k+=1,this.words[k]|=B>>>26):S+=8}this._strip()};function g(I,o,d,w){for(var y=0,S=0,k=Math.min(I.length,d),B=o;B<k;B++){var b=I.charCodeAt(B)-48;y*=w,b>=49?S=b-49+10:b>=17?S=b-17+10:S=b,n(b>=0&&S<w,"Invalid character"),y+=S}return y}s.prototype._parseBase=function(o,d,w){this.words=[0],this.length=1;for(var y=0,S=1;S<=67108863;S*=d)y++;y--,S=S/d|0;for(var k=o.length-w,B=k%y,b=Math.min(k,k-B)+w,u=0,R=w;R<b;R+=y)u=g(o,R,R+y,d),this.imuln(S),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u);if(B!==0){var K=1;for(u=g(o,R,o.length,d),R=0;R<B;R++)K*=d;this.imuln(K),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u)}this._strip()},s.prototype.copy=function(o){o.words=new Array(this.length);for(var d=0;d<this.length;d++)o.words[d]=this.words[d];o.length=this.length,o.negative=this.negative,o.red=this.red};function p(I,o){I.words=o.words,I.length=o.length,I.negative=o.negative,I.red=o.red}if(s.prototype._move=function(o){p(o,this)},s.prototype.clone=function(){var o=new s(null);return this.copy(o),o},s.prototype._expand=function(o){for(;this.length<o;)this.words[this.length++]=0;return this},s.prototype._strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},s.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<"u"&&typeof Symbol.for=="function")try{s.prototype[Symbol.for("nodejs.util.inspect.custom")]=v}catch{s.prototype.inspect=v}else s.prototype.inspect=v;function v(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var E=["","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"],A=[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],U=[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];s.prototype.toString=function(o,d){o=o||10,d=d|0||1;var w;if(o===16||o==="hex"){w="";for(var y=0,S=0,k=0;k<this.length;k++){var B=this.words[k],b=((B<<y|S)&16777215).toString(16);S=B>>>24-y&16777215,y+=2,y>=26&&(y-=26,k--),S!==0||k!==this.length-1?w=E[6-b.length]+b+w:w=b+w}for(S!==0&&(w=S.toString(16)+w);w.length%d!==0;)w="0"+w;return this.negative!==0&&(w="-"+w),w}if(o===(o|0)&&o>=2&&o<=36){var u=A[o],R=U[o];w="";var K=this.clone();for(K.negative=0;!K.isZero();){var J=K.modrn(R).toString(o);K=K.idivn(R),K.isZero()?w=J+w:w=E[u-J.length]+J+w}for(this.isZero()&&(w="0"+w);w.length%d!==0;)w="0"+w;return this.negative!==0&&(w="-"+w),w}n(!1,"Base should be between 2 and 36")},s.prototype.toNumber=function(){var o=this.words[0];return this.length===2?o+=this.words[1]*67108864:this.length===3&&this.words[2]===1?o+=4503599627370496+this.words[1]*67108864:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-o:o},s.prototype.toJSON=function(){return this.toString(16,2)},c&&(s.prototype.toBuffer=function(o,d){return this.toArrayLike(c,o,d)}),s.prototype.toArray=function(o,d){return this.toArrayLike(Array,o,d)};var F=function(o,d){return o.allocUnsafe?o.allocUnsafe(d):new o(d)};s.prototype.toArrayLike=function(o,d,w){this._strip();var y=this.byteLength(),S=w||Math.max(1,y);n(y<=S,"byte array longer than desired length"),n(S>0,"Requested array length <= 0");var k=F(o,S),B=d==="le"?"LE":"BE";return this["_toArrayLike"+B](k,y),k},s.prototype._toArrayLikeLE=function(o,d){for(var w=0,y=0,S=0,k=0;S<this.length;S++){var B=this.words[S]<<k|y;o[w++]=B&255,w<o.length&&(o[w++]=B>>8&255),w<o.length&&(o[w++]=B>>16&255),k===6?(w<o.length&&(o[w++]=B>>24&255),y=0,k=0):(y=B>>>24,k+=2)}if(w<o.length)for(o[w++]=y;w<o.length;)o[w++]=0},s.prototype._toArrayLikeBE=function(o,d){for(var w=o.length-1,y=0,S=0,k=0;S<this.length;S++){var B=this.words[S]<<k|y;o[w--]=B&255,w>=0&&(o[w--]=B>>8&255),w>=0&&(o[w--]=B>>16&255),k===6?(w>=0&&(o[w--]=B>>24&255),y=0,k=0):(y=B>>>24,k+=2)}if(w>=0)for(o[w--]=y;w>=0;)o[w--]=0},Math.clz32?s.prototype._countBits=function(o){return 32-Math.clz32(o)}:s.prototype._countBits=function(o){var d=o,w=0;return d>=4096&&(w+=13,d>>>=13),d>=64&&(w+=7,d>>>=7),d>=8&&(w+=4,d>>>=4),d>=2&&(w+=2,d>>>=2),w+d},s.prototype._zeroBits=function(o){if(o===0)return 26;var d=o,w=0;return d&8191||(w+=13,d>>>=13),d&127||(w+=7,d>>>=7),d&15||(w+=4,d>>>=4),d&3||(w+=2,d>>>=2),d&1||w++,w},s.prototype.bitLength=function(){var o=this.words[this.length-1],d=this._countBits(o);return(this.length-1)*26+d};function H(I){for(var o=new Array(I.bitLength()),d=0;d<o.length;d++){var w=d/26|0,y=d%26;o[d]=I.words[w]>>>y&1}return o}s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var o=0,d=0;d<this.length;d++){var w=this._zeroBits(this.words[d]);if(o+=w,w!==26)break}return o},s.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},s.prototype.toTwos=function(o){return this.negative!==0?this.abs().inotn(o).iaddn(1):this.clone()},s.prototype.fromTwos=function(o){return this.testn(o-1)?this.notn(o).iaddn(1).ineg():this.clone()},s.prototype.isNeg=function(){return this.negative!==0},s.prototype.neg=function(){return this.clone().ineg()},s.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},s.prototype.iuor=function(o){for(;this.length<o.length;)this.words[this.length++]=0;for(var d=0;d<o.length;d++)this.words[d]=this.words[d]|o.words[d];return this._strip()},s.prototype.ior=function(o){return n((this.negative|o.negative)===0),this.iuor(o)},s.prototype.or=function(o){return this.length>o.length?this.clone().ior(o):o.clone().ior(this)},s.prototype.uor=function(o){return this.length>o.length?this.clone().iuor(o):o.clone().iuor(this)},s.prototype.iuand=function(o){var d;this.length>o.length?d=o:d=this;for(var w=0;w<d.length;w++)this.words[w]=this.words[w]&o.words[w];return this.length=d.length,this._strip()},s.prototype.iand=function(o){return n((this.negative|o.negative)===0),this.iuand(o)},s.prototype.and=function(o){return this.length>o.length?this.clone().iand(o):o.clone().iand(this)},s.prototype.uand=function(o){return this.length>o.length?this.clone().iuand(o):o.clone().iuand(this)},s.prototype.iuxor=function(o){var d,w;this.length>o.length?(d=this,w=o):(d=o,w=this);for(var y=0;y<w.length;y++)this.words[y]=d.words[y]^w.words[y];if(this!==d)for(;y<d.length;y++)this.words[y]=d.words[y];return this.length=d.length,this._strip()},s.prototype.ixor=function(o){return n((this.negative|o.negative)===0),this.iuxor(o)},s.prototype.xor=function(o){return this.length>o.length?this.clone().ixor(o):o.clone().ixor(this)},s.prototype.uxor=function(o){return this.length>o.length?this.clone().iuxor(o):o.clone().iuxor(this)},s.prototype.inotn=function(o){n(typeof o=="number"&&o>=0);var d=Math.ceil(o/26)|0,w=o%26;this._expand(d),w>0&&d--;for(var y=0;y<d;y++)this.words[y]=~this.words[y]&67108863;return w>0&&(this.words[y]=~this.words[y]&67108863>>26-w),this._strip()},s.prototype.notn=function(o){return this.clone().inotn(o)},s.prototype.setn=function(o,d){n(typeof o=="number"&&o>=0);var w=o/26|0,y=o%26;return this._expand(w+1),d?this.words[w]=this.words[w]|1<<y:this.words[w]=this.words[w]&~(1<<y),this._strip()},s.prototype.iadd=function(o){var d;if(this.negative!==0&&o.negative===0)return this.negative=0,d=this.isub(o),this.negative^=1,this._normSign();if(this.negative===0&&o.negative!==0)return o.negative=0,d=this.isub(o),o.negative=1,d._normSign();var w,y;this.length>o.length?(w=this,y=o):(w=o,y=this);for(var S=0,k=0;k<y.length;k++)d=(w.words[k]|0)+(y.words[k]|0)+S,this.words[k]=d&67108863,S=d>>>26;for(;S!==0&&k<w.length;k++)d=(w.words[k]|0)+S,this.words[k]=d&67108863,S=d>>>26;if(this.length=w.length,S!==0)this.words[this.length]=S,this.length++;else if(w!==this)for(;k<w.length;k++)this.words[k]=w.words[k];return this},s.prototype.add=function(o){var d;return o.negative!==0&&this.negative===0?(o.negative=0,d=this.sub(o),o.negative^=1,d):o.negative===0&&this.negative!==0?(this.negative=0,d=o.sub(this),this.negative=1,d):this.length>o.length?this.clone().iadd(o):o.clone().iadd(this)},s.prototype.isub=function(o){if(o.negative!==0){o.negative=0;var d=this.iadd(o);return o.negative=1,d._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(o),this.negative=1,this._normSign();var w=this.cmp(o);if(w===0)return this.negative=0,this.length=1,this.words[0]=0,this;var y,S;w>0?(y=this,S=o):(y=o,S=this);for(var k=0,B=0;B<S.length;B++)d=(y.words[B]|0)-(S.words[B]|0)+k,k=d>>26,this.words[B]=d&67108863;for(;k!==0&&B<y.length;B++)d=(y.words[B]|0)+k,k=d>>26,this.words[B]=d&67108863;if(k===0&&B<y.length&&y!==this)for(;B<y.length;B++)this.words[B]=y.words[B];return this.length=Math.max(this.length,B),y!==this&&(this.negative=1),this._strip()},s.prototype.sub=function(o){return this.clone().isub(o)};function x(I,o,d){d.negative=o.negative^I.negative;var w=I.length+o.length|0;d.length=w,w=w-1|0;var y=I.words[0]|0,S=o.words[0]|0,k=y*S,B=k&67108863,b=k/67108864|0;d.words[0]=B;for(var u=1;u<w;u++){for(var R=b>>>26,K=b&67108863,J=Math.min(u,o.length-1),T=Math.max(0,u-I.length+1);T<=J;T++){var P=u-T|0;y=I.words[P]|0,S=o.words[T]|0,k=y*S+K,R+=k/67108864|0,K=k&67108863}d.words[u]=K|0,b=R|0}return b!==0?d.words[u]=b|0:d.length--,d._strip()}var L=function(o,d,w){var y=o.words,S=d.words,k=w.words,B=0,b,u,R,K=y[0]|0,J=K&8191,T=K>>>13,P=y[1]|0,W=P&8191,Z=P>>>13,le=y[2]|0,M=le&8191,C=le>>>13,q=y[3]|0,G=q&8191,se=q>>>13,ue=y[4]|0,re=ue&8191,be=ue>>>13,dt=y[5]|0,Se=dt&8191,Ee=dt>>>13,Je=y[6]|0,ve=Je&8191,Re=Je>>>13,Qe=y[7]|0,_e=Qe&8191,m=Qe>>>13,l=y[8]|0,h=l&8191,_=l>>>13,N=y[9]|0,$=N&8191,j=N>>>13,he=S[0]|0,ae=he&8191,ie=he>>>13,Me=S[1]|0,ne=Me&8191,Ce=Me>>>13,Rr=S[2]|0,ke=Rr&8191,Ie=Rr>>>13,Mr=S[3]|0,xe=Mr&8191,Ae=Mr>>>13,Cr=S[4]|0,Te=Cr&8191,Be=Cr>>>13,kr=S[5]|0,Ne=kr&8191,Le=kr>>>13,Ir=S[6]|0,Pe=Ir&8191,Oe=Ir>>>13,xr=S[7]|0,$e=xr&8191,Fe=xr>>>13,Ar=S[8]|0,De=Ar&8191,je=Ar>>>13,Tr=S[9]|0,Ue=Tr&8191,He=Tr>>>13;w.negative=o.negative^d.negative,w.length=19,b=Math.imul(J,ae),u=Math.imul(J,ie),u=u+Math.imul(T,ae)|0,R=Math.imul(T,ie);var Jt=(B+b|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(Jt>>>26)|0,Jt&=67108863,b=Math.imul(W,ae),u=Math.imul(W,ie),u=u+Math.imul(Z,ae)|0,R=Math.imul(Z,ie),b=b+Math.imul(J,ne)|0,u=u+Math.imul(J,Ce)|0,u=u+Math.imul(T,ne)|0,R=R+Math.imul(T,Ce)|0;var Zt=(B+b|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,b=Math.imul(M,ae),u=Math.imul(M,ie),u=u+Math.imul(C,ae)|0,R=Math.imul(C,ie),b=b+Math.imul(W,ne)|0,u=u+Math.imul(W,Ce)|0,u=u+Math.imul(Z,ne)|0,R=R+Math.imul(Z,Ce)|0,b=b+Math.imul(J,ke)|0,u=u+Math.imul(J,Ie)|0,u=u+Math.imul(T,ke)|0,R=R+Math.imul(T,Ie)|0;var Kt=(B+b|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(Kt>>>26)|0,Kt&=67108863,b=Math.imul(G,ae),u=Math.imul(G,ie),u=u+Math.imul(se,ae)|0,R=Math.imul(se,ie),b=b+Math.imul(M,ne)|0,u=u+Math.imul(M,Ce)|0,u=u+Math.imul(C,ne)|0,R=R+Math.imul(C,Ce)|0,b=b+Math.imul(W,ke)|0,u=u+Math.imul(W,Ie)|0,u=u+Math.imul(Z,ke)|0,R=R+Math.imul(Z,Ie)|0,b=b+Math.imul(J,xe)|0,u=u+Math.imul(J,Ae)|0,u=u+Math.imul(T,xe)|0,R=R+Math.imul(T,Ae)|0;var Qt=(B+b|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,b=Math.imul(re,ae),u=Math.imul(re,ie),u=u+Math.imul(be,ae)|0,R=Math.imul(be,ie),b=b+Math.imul(G,ne)|0,u=u+Math.imul(G,Ce)|0,u=u+Math.imul(se,ne)|0,R=R+Math.imul(se,Ce)|0,b=b+Math.imul(M,ke)|0,u=u+Math.imul(M,Ie)|0,u=u+Math.imul(C,ke)|0,R=R+Math.imul(C,Ie)|0,b=b+Math.imul(W,xe)|0,u=u+Math.imul(W,Ae)|0,u=u+Math.imul(Z,xe)|0,R=R+Math.imul(Z,Ae)|0,b=b+Math.imul(J,Te)|0,u=u+Math.imul(J,Be)|0,u=u+Math.imul(T,Te)|0,R=R+Math.imul(T,Be)|0;var Yt=(B+b|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,b=Math.imul(Se,ae),u=Math.imul(Se,ie),u=u+Math.imul(Ee,ae)|0,R=Math.imul(Ee,ie),b=b+Math.imul(re,ne)|0,u=u+Math.imul(re,Ce)|0,u=u+Math.imul(be,ne)|0,R=R+Math.imul(be,Ce)|0,b=b+Math.imul(G,ke)|0,u=u+Math.imul(G,Ie)|0,u=u+Math.imul(se,ke)|0,R=R+Math.imul(se,Ie)|0,b=b+Math.imul(M,xe)|0,u=u+Math.imul(M,Ae)|0,u=u+Math.imul(C,xe)|0,R=R+Math.imul(C,Ae)|0,b=b+Math.imul(W,Te)|0,u=u+Math.imul(W,Be)|0,u=u+Math.imul(Z,Te)|0,R=R+Math.imul(Z,Be)|0,b=b+Math.imul(J,Ne)|0,u=u+Math.imul(J,Le)|0,u=u+Math.imul(T,Ne)|0,R=R+Math.imul(T,Le)|0;var Xt=(B+b|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(Xt>>>26)|0,Xt&=67108863,b=Math.imul(ve,ae),u=Math.imul(ve,ie),u=u+Math.imul(Re,ae)|0,R=Math.imul(Re,ie),b=b+Math.imul(Se,ne)|0,u=u+Math.imul(Se,Ce)|0,u=u+Math.imul(Ee,ne)|0,R=R+Math.imul(Ee,Ce)|0,b=b+Math.imul(re,ke)|0,u=u+Math.imul(re,Ie)|0,u=u+Math.imul(be,ke)|0,R=R+Math.imul(be,Ie)|0,b=b+Math.imul(G,xe)|0,u=u+Math.imul(G,Ae)|0,u=u+Math.imul(se,xe)|0,R=R+Math.imul(se,Ae)|0,b=b+Math.imul(M,Te)|0,u=u+Math.imul(M,Be)|0,u=u+Math.imul(C,Te)|0,R=R+Math.imul(C,Be)|0,b=b+Math.imul(W,Ne)|0,u=u+Math.imul(W,Le)|0,u=u+Math.imul(Z,Ne)|0,R=R+Math.imul(Z,Le)|0,b=b+Math.imul(J,Pe)|0,u=u+Math.imul(J,Oe)|0,u=u+Math.imul(T,Pe)|0,R=R+Math.imul(T,Oe)|0;var er=(B+b|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(er>>>26)|0,er&=67108863,b=Math.imul(_e,ae),u=Math.imul(_e,ie),u=u+Math.imul(m,ae)|0,R=Math.imul(m,ie),b=b+Math.imul(ve,ne)|0,u=u+Math.imul(ve,Ce)|0,u=u+Math.imul(Re,ne)|0,R=R+Math.imul(Re,Ce)|0,b=b+Math.imul(Se,ke)|0,u=u+Math.imul(Se,Ie)|0,u=u+Math.imul(Ee,ke)|0,R=R+Math.imul(Ee,Ie)|0,b=b+Math.imul(re,xe)|0,u=u+Math.imul(re,Ae)|0,u=u+Math.imul(be,xe)|0,R=R+Math.imul(be,Ae)|0,b=b+Math.imul(G,Te)|0,u=u+Math.imul(G,Be)|0,u=u+Math.imul(se,Te)|0,R=R+Math.imul(se,Be)|0,b=b+Math.imul(M,Ne)|0,u=u+Math.imul(M,Le)|0,u=u+Math.imul(C,Ne)|0,R=R+Math.imul(C,Le)|0,b=b+Math.imul(W,Pe)|0,u=u+Math.imul(W,Oe)|0,u=u+Math.imul(Z,Pe)|0,R=R+Math.imul(Z,Oe)|0,b=b+Math.imul(J,$e)|0,u=u+Math.imul(J,Fe)|0,u=u+Math.imul(T,$e)|0,R=R+Math.imul(T,Fe)|0;var tr=(B+b|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(tr>>>26)|0,tr&=67108863,b=Math.imul(h,ae),u=Math.imul(h,ie),u=u+Math.imul(_,ae)|0,R=Math.imul(_,ie),b=b+Math.imul(_e,ne)|0,u=u+Math.imul(_e,Ce)|0,u=u+Math.imul(m,ne)|0,R=R+Math.imul(m,Ce)|0,b=b+Math.imul(ve,ke)|0,u=u+Math.imul(ve,Ie)|0,u=u+Math.imul(Re,ke)|0,R=R+Math.imul(Re,Ie)|0,b=b+Math.imul(Se,xe)|0,u=u+Math.imul(Se,Ae)|0,u=u+Math.imul(Ee,xe)|0,R=R+Math.imul(Ee,Ae)|0,b=b+Math.imul(re,Te)|0,u=u+Math.imul(re,Be)|0,u=u+Math.imul(be,Te)|0,R=R+Math.imul(be,Be)|0,b=b+Math.imul(G,Ne)|0,u=u+Math.imul(G,Le)|0,u=u+Math.imul(se,Ne)|0,R=R+Math.imul(se,Le)|0,b=b+Math.imul(M,Pe)|0,u=u+Math.imul(M,Oe)|0,u=u+Math.imul(C,Pe)|0,R=R+Math.imul(C,Oe)|0,b=b+Math.imul(W,$e)|0,u=u+Math.imul(W,Fe)|0,u=u+Math.imul(Z,$e)|0,R=R+Math.imul(Z,Fe)|0,b=b+Math.imul(J,De)|0,u=u+Math.imul(J,je)|0,u=u+Math.imul(T,De)|0,R=R+Math.imul(T,je)|0;var rr=(B+b|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(rr>>>26)|0,rr&=67108863,b=Math.imul($,ae),u=Math.imul($,ie),u=u+Math.imul(j,ae)|0,R=Math.imul(j,ie),b=b+Math.imul(h,ne)|0,u=u+Math.imul(h,Ce)|0,u=u+Math.imul(_,ne)|0,R=R+Math.imul(_,Ce)|0,b=b+Math.imul(_e,ke)|0,u=u+Math.imul(_e,Ie)|0,u=u+Math.imul(m,ke)|0,R=R+Math.imul(m,Ie)|0,b=b+Math.imul(ve,xe)|0,u=u+Math.imul(ve,Ae)|0,u=u+Math.imul(Re,xe)|0,R=R+Math.imul(Re,Ae)|0,b=b+Math.imul(Se,Te)|0,u=u+Math.imul(Se,Be)|0,u=u+Math.imul(Ee,Te)|0,R=R+Math.imul(Ee,Be)|0,b=b+Math.imul(re,Ne)|0,u=u+Math.imul(re,Le)|0,u=u+Math.imul(be,Ne)|0,R=R+Math.imul(be,Le)|0,b=b+Math.imul(G,Pe)|0,u=u+Math.imul(G,Oe)|0,u=u+Math.imul(se,Pe)|0,R=R+Math.imul(se,Oe)|0,b=b+Math.imul(M,$e)|0,u=u+Math.imul(M,Fe)|0,u=u+Math.imul(C,$e)|0,R=R+Math.imul(C,Fe)|0,b=b+Math.imul(W,De)|0,u=u+Math.imul(W,je)|0,u=u+Math.imul(Z,De)|0,R=R+Math.imul(Z,je)|0,b=b+Math.imul(J,Ue)|0,u=u+Math.imul(J,He)|0,u=u+Math.imul(T,Ue)|0,R=R+Math.imul(T,He)|0;var nr=(B+b|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(nr>>>26)|0,nr&=67108863,b=Math.imul($,ne),u=Math.imul($,Ce),u=u+Math.imul(j,ne)|0,R=Math.imul(j,Ce),b=b+Math.imul(h,ke)|0,u=u+Math.imul(h,Ie)|0,u=u+Math.imul(_,ke)|0,R=R+Math.imul(_,Ie)|0,b=b+Math.imul(_e,xe)|0,u=u+Math.imul(_e,Ae)|0,u=u+Math.imul(m,xe)|0,R=R+Math.imul(m,Ae)|0,b=b+Math.imul(ve,Te)|0,u=u+Math.imul(ve,Be)|0,u=u+Math.imul(Re,Te)|0,R=R+Math.imul(Re,Be)|0,b=b+Math.imul(Se,Ne)|0,u=u+Math.imul(Se,Le)|0,u=u+Math.imul(Ee,Ne)|0,R=R+Math.imul(Ee,Le)|0,b=b+Math.imul(re,Pe)|0,u=u+Math.imul(re,Oe)|0,u=u+Math.imul(be,Pe)|0,R=R+Math.imul(be,Oe)|0,b=b+Math.imul(G,$e)|0,u=u+Math.imul(G,Fe)|0,u=u+Math.imul(se,$e)|0,R=R+Math.imul(se,Fe)|0,b=b+Math.imul(M,De)|0,u=u+Math.imul(M,je)|0,u=u+Math.imul(C,De)|0,R=R+Math.imul(C,je)|0,b=b+Math.imul(W,Ue)|0,u=u+Math.imul(W,He)|0,u=u+Math.imul(Z,Ue)|0,R=R+Math.imul(Z,He)|0;var ir=(B+b|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(ir>>>26)|0,ir&=67108863,b=Math.imul($,ke),u=Math.imul($,Ie),u=u+Math.imul(j,ke)|0,R=Math.imul(j,Ie),b=b+Math.imul(h,xe)|0,u=u+Math.imul(h,Ae)|0,u=u+Math.imul(_,xe)|0,R=R+Math.imul(_,Ae)|0,b=b+Math.imul(_e,Te)|0,u=u+Math.imul(_e,Be)|0,u=u+Math.imul(m,Te)|0,R=R+Math.imul(m,Be)|0,b=b+Math.imul(ve,Ne)|0,u=u+Math.imul(ve,Le)|0,u=u+Math.imul(Re,Ne)|0,R=R+Math.imul(Re,Le)|0,b=b+Math.imul(Se,Pe)|0,u=u+Math.imul(Se,Oe)|0,u=u+Math.imul(Ee,Pe)|0,R=R+Math.imul(Ee,Oe)|0,b=b+Math.imul(re,$e)|0,u=u+Math.imul(re,Fe)|0,u=u+Math.imul(be,$e)|0,R=R+Math.imul(be,Fe)|0,b=b+Math.imul(G,De)|0,u=u+Math.imul(G,je)|0,u=u+Math.imul(se,De)|0,R=R+Math.imul(se,je)|0,b=b+Math.imul(M,Ue)|0,u=u+Math.imul(M,He)|0,u=u+Math.imul(C,Ue)|0,R=R+Math.imul(C,He)|0;var sr=(B+b|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(sr>>>26)|0,sr&=67108863,b=Math.imul($,xe),u=Math.imul($,Ae),u=u+Math.imul(j,xe)|0,R=Math.imul(j,Ae),b=b+Math.imul(h,Te)|0,u=u+Math.imul(h,Be)|0,u=u+Math.imul(_,Te)|0,R=R+Math.imul(_,Be)|0,b=b+Math.imul(_e,Ne)|0,u=u+Math.imul(_e,Le)|0,u=u+Math.imul(m,Ne)|0,R=R+Math.imul(m,Le)|0,b=b+Math.imul(ve,Pe)|0,u=u+Math.imul(ve,Oe)|0,u=u+Math.imul(Re,Pe)|0,R=R+Math.imul(Re,Oe)|0,b=b+Math.imul(Se,$e)|0,u=u+Math.imul(Se,Fe)|0,u=u+Math.imul(Ee,$e)|0,R=R+Math.imul(Ee,Fe)|0,b=b+Math.imul(re,De)|0,u=u+Math.imul(re,je)|0,u=u+Math.imul(be,De)|0,R=R+Math.imul(be,je)|0,b=b+Math.imul(G,Ue)|0,u=u+Math.imul(G,He)|0,u=u+Math.imul(se,Ue)|0,R=R+Math.imul(se,He)|0;var or=(B+b|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(or>>>26)|0,or&=67108863,b=Math.imul($,Te),u=Math.imul($,Be),u=u+Math.imul(j,Te)|0,R=Math.imul(j,Be),b=b+Math.imul(h,Ne)|0,u=u+Math.imul(h,Le)|0,u=u+Math.imul(_,Ne)|0,R=R+Math.imul(_,Le)|0,b=b+Math.imul(_e,Pe)|0,u=u+Math.imul(_e,Oe)|0,u=u+Math.imul(m,Pe)|0,R=R+Math.imul(m,Oe)|0,b=b+Math.imul(ve,$e)|0,u=u+Math.imul(ve,Fe)|0,u=u+Math.imul(Re,$e)|0,R=R+Math.imul(Re,Fe)|0,b=b+Math.imul(Se,De)|0,u=u+Math.imul(Se,je)|0,u=u+Math.imul(Ee,De)|0,R=R+Math.imul(Ee,je)|0,b=b+Math.imul(re,Ue)|0,u=u+Math.imul(re,He)|0,u=u+Math.imul(be,Ue)|0,R=R+Math.imul(be,He)|0;var ar=(B+b|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(ar>>>26)|0,ar&=67108863,b=Math.imul($,Ne),u=Math.imul($,Le),u=u+Math.imul(j,Ne)|0,R=Math.imul(j,Le),b=b+Math.imul(h,Pe)|0,u=u+Math.imul(h,Oe)|0,u=u+Math.imul(_,Pe)|0,R=R+Math.imul(_,Oe)|0,b=b+Math.imul(_e,$e)|0,u=u+Math.imul(_e,Fe)|0,u=u+Math.imul(m,$e)|0,R=R+Math.imul(m,Fe)|0,b=b+Math.imul(ve,De)|0,u=u+Math.imul(ve,je)|0,u=u+Math.imul(Re,De)|0,R=R+Math.imul(Re,je)|0,b=b+Math.imul(Se,Ue)|0,u=u+Math.imul(Se,He)|0,u=u+Math.imul(Ee,Ue)|0,R=R+Math.imul(Ee,He)|0;var os=(B+b|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(os>>>26)|0,os&=67108863,b=Math.imul($,Pe),u=Math.imul($,Oe),u=u+Math.imul(j,Pe)|0,R=Math.imul(j,Oe),b=b+Math.imul(h,$e)|0,u=u+Math.imul(h,Fe)|0,u=u+Math.imul(_,$e)|0,R=R+Math.imul(_,Fe)|0,b=b+Math.imul(_e,De)|0,u=u+Math.imul(_e,je)|0,u=u+Math.imul(m,De)|0,R=R+Math.imul(m,je)|0,b=b+Math.imul(ve,Ue)|0,u=u+Math.imul(ve,He)|0,u=u+Math.imul(Re,Ue)|0,R=R+Math.imul(Re,He)|0;var as=(B+b|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(as>>>26)|0,as&=67108863,b=Math.imul($,$e),u=Math.imul($,Fe),u=u+Math.imul(j,$e)|0,R=Math.imul(j,Fe),b=b+Math.imul(h,De)|0,u=u+Math.imul(h,je)|0,u=u+Math.imul(_,De)|0,R=R+Math.imul(_,je)|0,b=b+Math.imul(_e,Ue)|0,u=u+Math.imul(_e,He)|0,u=u+Math.imul(m,Ue)|0,R=R+Math.imul(m,He)|0;var cs=(B+b|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(cs>>>26)|0,cs&=67108863,b=Math.imul($,De),u=Math.imul($,je),u=u+Math.imul(j,De)|0,R=Math.imul(j,je),b=b+Math.imul(h,Ue)|0,u=u+Math.imul(h,He)|0,u=u+Math.imul(_,Ue)|0,R=R+Math.imul(_,He)|0;var ls=(B+b|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(ls>>>26)|0,ls&=67108863,b=Math.imul($,Ue),u=Math.imul($,He),u=u+Math.imul(j,Ue)|0,R=Math.imul(j,He);var us=(B+b|0)+((u&8191)<<13)|0;return B=(R+(u>>>13)|0)+(us>>>26)|0,us&=67108863,k[0]=Jt,k[1]=Zt,k[2]=Kt,k[3]=Qt,k[4]=Yt,k[5]=Xt,k[6]=er,k[7]=tr,k[8]=rr,k[9]=nr,k[10]=ir,k[11]=sr,k[12]=or,k[13]=ar,k[14]=os,k[15]=as,k[16]=cs,k[17]=ls,k[18]=us,B!==0&&(k[19]=B,w.length++),w};Math.imul||(L=x);function O(I,o,d){d.negative=o.negative^I.negative,d.length=I.length+o.length;for(var w=0,y=0,S=0;S<d.length-1;S++){var k=y;y=0;for(var B=w&67108863,b=Math.min(S,o.length-1),u=Math.max(0,S-I.length+1);u<=b;u++){var R=S-u,K=I.words[R]|0,J=o.words[u]|0,T=K*J,P=T&67108863;k=k+(T/67108864|0)|0,P=P+B|0,B=P&67108863,k=k+(P>>>26)|0,y+=k>>>26,k&=67108863}d.words[S]=B,w=k,k=y}return w!==0?d.words[S]=w:d.length--,d._strip()}function V(I,o,d){return O(I,o,d)}s.prototype.mulTo=function(o,d){var w,y=this.length+o.length;return this.length===10&&o.length===10?w=L(this,o,d):y<63?w=x(this,o,d):y<1024?w=O(this,o,d):w=V(this,o,d),w},s.prototype.mul=function(o){var d=new s(null);return d.words=new Array(this.length+o.length),this.mulTo(o,d)},s.prototype.mulf=function(o){var d=new s(null);return d.words=new Array(this.length+o.length),V(this,o,d)},s.prototype.imul=function(o){return this.clone().mulTo(o,this)},s.prototype.imuln=function(o){var d=o<0;d&&(o=-o),n(typeof o=="number"),n(o<67108864);for(var w=0,y=0;y<this.length;y++){var S=(this.words[y]|0)*o,k=(S&67108863)+(w&67108863);w>>=26,w+=S/67108864|0,w+=k>>>26,this.words[y]=k&67108863}return w!==0&&(this.words[y]=w,this.length++),this.length=o===0?1:this.length,d?this.ineg():this},s.prototype.muln=function(o){return this.clone().imuln(o)},s.prototype.sqr=function(){return this.mul(this)},s.prototype.isqr=function(){return this.imul(this.clone())},s.prototype.pow=function(o){var d=H(o);if(d.length===0)return new s(1);for(var w=this,y=0;y<d.length&&d[y]===0;y++,w=w.sqr());if(++y<d.length)for(var S=w.sqr();y<d.length;y++,S=S.sqr())d[y]!==0&&(w=w.mul(S));return w},s.prototype.iushln=function(o){n(typeof o=="number"&&o>=0);var d=o%26,w=(o-d)/26,y=67108863>>>26-d<<26-d,S;if(d!==0){var k=0;for(S=0;S<this.length;S++){var B=this.words[S]&y,b=(this.words[S]|0)-B<<d;this.words[S]=b|k,k=B>>>26-d}k&&(this.words[S]=k,this.length++)}if(w!==0){for(S=this.length-1;S>=0;S--)this.words[S+w]=this.words[S];for(S=0;S<w;S++)this.words[S]=0;this.length+=w}return this._strip()},s.prototype.ishln=function(o){return n(this.negative===0),this.iushln(o)},s.prototype.iushrn=function(o,d,w){n(typeof o=="number"&&o>=0);var y;d?y=(d-d%26)/26:y=0;var S=o%26,k=Math.min((o-S)/26,this.length),B=67108863^67108863>>>S<<S,b=w;if(y-=k,y=Math.max(0,y),b){for(var u=0;u<k;u++)b.words[u]=this.words[u];b.length=k}if(k!==0)if(this.length>k)for(this.length-=k,u=0;u<this.length;u++)this.words[u]=this.words[u+k];else this.words[0]=0,this.length=1;var R=0;for(u=this.length-1;u>=0&&(R!==0||u>=y);u--){var K=this.words[u]|0;this.words[u]=R<<26-S|K>>>S,R=K&B}return b&&R!==0&&(b.words[b.length++]=R),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},s.prototype.ishrn=function(o,d,w){return n(this.negative===0),this.iushrn(o,d,w)},s.prototype.shln=function(o){return this.clone().ishln(o)},s.prototype.ushln=function(o){return this.clone().iushln(o)},s.prototype.shrn=function(o){return this.clone().ishrn(o)},s.prototype.ushrn=function(o){return this.clone().iushrn(o)},s.prototype.testn=function(o){n(typeof o=="number"&&o>=0);var d=o%26,w=(o-d)/26,y=1<<d;if(this.length<=w)return!1;var S=this.words[w];return!!(S&y)},s.prototype.imaskn=function(o){n(typeof o=="number"&&o>=0);var d=o%26,w=(o-d)/26;if(n(this.negative===0,"imaskn works only with positive numbers"),this.length<=w)return this;if(d!==0&&w++,this.length=Math.min(w,this.length),d!==0){var y=67108863^67108863>>>d<<d;this.words[this.length-1]&=y}return this.length===0&&(this.words[0]=0,this.length=1),this._strip()},s.prototype.maskn=function(o){return this.clone().imaskn(o)},s.prototype.iaddn=function(o){return n(typeof o=="number"),n(o<67108864),o<0?this.isubn(-o):this.negative!==0?this.length===1&&(this.words[0]|0)<=o?(this.words[0]=o-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(o),this.negative=1,this):this._iaddn(o)},s.prototype._iaddn=function(o){this.words[0]+=o;for(var d=0;d<this.length&&this.words[d]>=67108864;d++)this.words[d]-=67108864,d===this.length-1?this.words[d+1]=1:this.words[d+1]++;return this.length=Math.max(this.length,d+1),this},s.prototype.isubn=function(o){if(n(typeof o=="number"),n(o<67108864),o<0)return this.iaddn(-o);if(this.negative!==0)return this.negative=0,this.iaddn(o),this.negative=1,this;if(this.words[0]-=o,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var d=0;d<this.length&&this.words[d]<0;d++)this.words[d]+=67108864,this.words[d+1]-=1;return this._strip()},s.prototype.addn=function(o){return this.clone().iaddn(o)},s.prototype.subn=function(o){return this.clone().isubn(o)},s.prototype.iabs=function(){return this.negative=0,this},s.prototype.abs=function(){return this.clone().iabs()},s.prototype._ishlnsubmul=function(o,d,w){var y=o.length+w,S;this._expand(y);var k,B=0;for(S=0;S<o.length;S++){k=(this.words[S+w]|0)+B;var b=(o.words[S]|0)*d;k-=b&67108863,B=(k>>26)-(b/67108864|0),this.words[S+w]=k&67108863}for(;S<this.length-w;S++)k=(this.words[S+w]|0)+B,B=k>>26,this.words[S+w]=k&67108863;if(B===0)return this._strip();for(n(B===-1),B=0,S=0;S<this.length;S++)k=-(this.words[S]|0)+B,B=k>>26,this.words[S]=k&67108863;return this.negative=1,this._strip()},s.prototype._wordDiv=function(o,d){var w=this.length-o.length,y=this.clone(),S=o,k=S.words[S.length-1]|0,B=this._countBits(k);w=26-B,w!==0&&(S=S.ushln(w),y.iushln(w),k=S.words[S.length-1]|0);var b=y.length-S.length,u;if(d!=="mod"){u=new s(null),u.length=b+1,u.words=new Array(u.length);for(var R=0;R<u.length;R++)u.words[R]=0}var K=y.clone()._ishlnsubmul(S,1,b);K.negative===0&&(y=K,u&&(u.words[b]=1));for(var J=b-1;J>=0;J--){var T=(y.words[S.length+J]|0)*67108864+(y.words[S.length+J-1]|0);for(T=Math.min(T/k|0,67108863),y._ishlnsubmul(S,T,J);y.negative!==0;)T--,y.negative=0,y._ishlnsubmul(S,1,J),y.isZero()||(y.negative^=1);u&&(u.words[J]=T)}return u&&u._strip(),y._strip(),d!=="div"&&w!==0&&y.iushrn(w),{div:u||null,mod:y}},s.prototype.divmod=function(o,d,w){if(n(!o.isZero()),this.isZero())return{div:new s(0),mod:new s(0)};var y,S,k;return this.negative!==0&&o.negative===0?(k=this.neg().divmod(o,d),d!=="mod"&&(y=k.div.neg()),d!=="div"&&(S=k.mod.neg(),w&&S.negative!==0&&S.iadd(o)),{div:y,mod:S}):this.negative===0&&o.negative!==0?(k=this.divmod(o.neg(),d),d!=="mod"&&(y=k.div.neg()),{div:y,mod:k.mod}):this.negative&o.negative?(k=this.neg().divmod(o.neg(),d),d!=="div"&&(S=k.mod.neg(),w&&S.negative!==0&&S.isub(o)),{div:k.div,mod:S}):o.length>this.length||this.cmp(o)<0?{div:new s(0),mod:this}:o.length===1?d==="div"?{div:this.divn(o.words[0]),mod:null}:d==="mod"?{div:null,mod:new s(this.modrn(o.words[0]))}:{div:this.divn(o.words[0]),mod:new s(this.modrn(o.words[0]))}:this._wordDiv(o,d)},s.prototype.div=function(o){return this.divmod(o,"div",!1).div},s.prototype.mod=function(o){return this.divmod(o,"mod",!1).mod},s.prototype.umod=function(o){return this.divmod(o,"mod",!0).mod},s.prototype.divRound=function(o){var d=this.divmod(o);if(d.mod.isZero())return d.div;var w=d.div.negative!==0?d.mod.isub(o):d.mod,y=o.ushrn(1),S=o.andln(1),k=w.cmp(y);return k<0||S===1&&k===0?d.div:d.div.negative!==0?d.div.isubn(1):d.div.iaddn(1)},s.prototype.modrn=function(o){var d=o<0;d&&(o=-o),n(o<=67108863);for(var w=(1<<26)%o,y=0,S=this.length-1;S>=0;S--)y=(w*y+(this.words[S]|0))%o;return d?-y:y},s.prototype.modn=function(o){return this.modrn(o)},s.prototype.idivn=function(o){var d=o<0;d&&(o=-o),n(o<=67108863);for(var w=0,y=this.length-1;y>=0;y--){var S=(this.words[y]|0)+w*67108864;this.words[y]=S/o|0,w=S%o}return this._strip(),d?this.ineg():this},s.prototype.divn=function(o){return this.clone().idivn(o)},s.prototype.egcd=function(o){n(o.negative===0),n(!o.isZero());var d=this,w=o.clone();d.negative!==0?d=d.umod(o):d=d.clone();for(var y=new s(1),S=new s(0),k=new s(0),B=new s(1),b=0;d.isEven()&&w.isEven();)d.iushrn(1),w.iushrn(1),++b;for(var u=w.clone(),R=d.clone();!d.isZero();){for(var K=0,J=1;!(d.words[0]&J)&&K<26;++K,J<<=1);if(K>0)for(d.iushrn(K);K-- >0;)(y.isOdd()||S.isOdd())&&(y.iadd(u),S.isub(R)),y.iushrn(1),S.iushrn(1);for(var T=0,P=1;!(w.words[0]&P)&&T<26;++T,P<<=1);if(T>0)for(w.iushrn(T);T-- >0;)(k.isOdd()||B.isOdd())&&(k.iadd(u),B.isub(R)),k.iushrn(1),B.iushrn(1);d.cmp(w)>=0?(d.isub(w),y.isub(k),S.isub(B)):(w.isub(d),k.isub(y),B.isub(S))}return{a:k,b:B,gcd:w.iushln(b)}},s.prototype._invmp=function(o){n(o.negative===0),n(!o.isZero());var d=this,w=o.clone();d.negative!==0?d=d.umod(o):d=d.clone();for(var y=new s(1),S=new s(0),k=w.clone();d.cmpn(1)>0&&w.cmpn(1)>0;){for(var B=0,b=1;!(d.words[0]&b)&&B<26;++B,b<<=1);if(B>0)for(d.iushrn(B);B-- >0;)y.isOdd()&&y.iadd(k),y.iushrn(1);for(var u=0,R=1;!(w.words[0]&R)&&u<26;++u,R<<=1);if(u>0)for(w.iushrn(u);u-- >0;)S.isOdd()&&S.iadd(k),S.iushrn(1);d.cmp(w)>=0?(d.isub(w),y.isub(S)):(w.isub(d),S.isub(y))}var K;return d.cmpn(1)===0?K=y:K=S,K.cmpn(0)<0&&K.iadd(o),K},s.prototype.gcd=function(o){if(this.isZero())return o.abs();if(o.isZero())return this.abs();var d=this.clone(),w=o.clone();d.negative=0,w.negative=0;for(var y=0;d.isEven()&&w.isEven();y++)d.iushrn(1),w.iushrn(1);do{for(;d.isEven();)d.iushrn(1);for(;w.isEven();)w.iushrn(1);var S=d.cmp(w);if(S<0){var k=d;d=w,w=k}else if(S===0||w.cmpn(1)===0)break;d.isub(w)}while(!0);return w.iushln(y)},s.prototype.invm=function(o){return this.egcd(o).a.umod(o)},s.prototype.isEven=function(){return(this.words[0]&1)===0},s.prototype.isOdd=function(){return(this.words[0]&1)===1},s.prototype.andln=function(o){return this.words[0]&o},s.prototype.bincn=function(o){n(typeof o=="number");var d=o%26,w=(o-d)/26,y=1<<d;if(this.length<=w)return this._expand(w+1),this.words[w]|=y,this;for(var S=y,k=w;S!==0&&k<this.length;k++){var B=this.words[k]|0;B+=S,S=B>>>26,B&=67108863,this.words[k]=B}return S!==0&&(this.words[k]=S,this.length++),this},s.prototype.isZero=function(){return this.length===1&&this.words[0]===0},s.prototype.cmpn=function(o){var d=o<0;if(this.negative!==0&&!d)return-1;if(this.negative===0&&d)return 1;this._strip();var w;if(this.length>1)w=1;else{d&&(o=-o),n(o<=67108863,"Number is too big");var y=this.words[0]|0;w=y===o?0:y<o?-1:1}return this.negative!==0?-w|0:w},s.prototype.cmp=function(o){if(this.negative!==0&&o.negative===0)return-1;if(this.negative===0&&o.negative!==0)return 1;var d=this.ucmp(o);return this.negative!==0?-d|0:d},s.prototype.ucmp=function(o){if(this.length>o.length)return 1;if(this.length<o.length)return-1;for(var d=0,w=this.length-1;w>=0;w--){var y=this.words[w]|0,S=o.words[w]|0;if(y!==S){y<S?d=-1:y>S&&(d=1);break}}return d},s.prototype.gtn=function(o){return this.cmpn(o)===1},s.prototype.gt=function(o){return this.cmp(o)===1},s.prototype.gten=function(o){return this.cmpn(o)>=0},s.prototype.gte=function(o){return this.cmp(o)>=0},s.prototype.ltn=function(o){return this.cmpn(o)===-1},s.prototype.lt=function(o){return this.cmp(o)===-1},s.prototype.lten=function(o){return this.cmpn(o)<=0},s.prototype.lte=function(o){return this.cmp(o)<=0},s.prototype.eqn=function(o){return this.cmpn(o)===0},s.prototype.eq=function(o){return this.cmp(o)===0},s.red=function(o){return new oe(o)},s.prototype.toRed=function(o){return n(!this.red,"Already a number in reduction context"),n(this.negative===0,"red works only with positives"),o.convertTo(this)._forceRed(o)},s.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},s.prototype._forceRed=function(o){return this.red=o,this},s.prototype.forceRed=function(o){return n(!this.red,"Already a number in reduction context"),this._forceRed(o)},s.prototype.redAdd=function(o){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,o)},s.prototype.redIAdd=function(o){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,o)},s.prototype.redSub=function(o){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,o)},s.prototype.redISub=function(o){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,o)},s.prototype.redShl=function(o){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,o)},s.prototype.redMul=function(o){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,o),this.red.mul(this,o)},s.prototype.redIMul=function(o){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,o),this.red.imul(this,o)},s.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(o){return n(this.red&&!o.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,o)};var D={k256:null,p224:null,p192:null,p25519:null};function z(I,o){this.name=I,this.p=new s(o,16),this.n=this.p.bitLength(),this.k=new s(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}z.prototype._tmp=function(){var o=new s(null);return o.words=new Array(Math.ceil(this.n/13)),o},z.prototype.ireduce=function(o){var d=o,w;do this.split(d,this.tmp),d=this.imulK(d),d=d.iadd(this.tmp),w=d.bitLength();while(w>this.n);var y=w<this.n?-1:d.ucmp(this.p);return y===0?(d.words[0]=0,d.length=1):y>0?d.isub(this.p):d.strip!==void 0?d.strip():d._strip(),d},z.prototype.split=function(o,d){o.iushrn(this.n,0,d)},z.prototype.imulK=function(o){return o.imul(this.k)};function te(){z.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}i(te,z),te.prototype.split=function(o,d){for(var w=4194303,y=Math.min(o.length,9),S=0;S<y;S++)d.words[S]=o.words[S];if(d.length=y,o.length<=9){o.words[0]=0,o.length=1;return}var k=o.words[9];for(d.words[d.length++]=k&w,S=10;S<o.length;S++){var B=o.words[S]|0;o.words[S-10]=(B&w)<<4|k>>>22,k=B}k>>>=22,o.words[S-10]=k,k===0&&o.length>10?o.length-=10:o.length-=9},te.prototype.imulK=function(o){o.words[o.length]=0,o.words[o.length+1]=0,o.length+=2;for(var d=0,w=0;w<o.length;w++){var y=o.words[w]|0;d+=y*977,o.words[w]=d&67108863,d=y*64+(d/67108864|0)}return o.words[o.length-1]===0&&(o.length--,o.words[o.length-1]===0&&o.length--),o};function Y(){z.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}i(Y,z);function Q(){z.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}i(Q,z);function fe(){z.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}i(fe,z),fe.prototype.imulK=function(o){for(var d=0,w=0;w<o.length;w++){var y=(o.words[w]|0)*19+d,S=y&67108863;y>>>=26,o.words[w]=S,d=y}return d!==0&&(o.words[o.length++]=d),o},s._prime=function(o){if(D[o])return D[o];var d;if(o==="k256")d=new te;else if(o==="p224")d=new Y;else if(o==="p192")d=new Q;else if(o==="p25519")d=new fe;else throw new Error("Unknown prime "+o);return D[o]=d,d};function oe(I){if(typeof I=="string"){var o=s._prime(I);this.m=o.p,this.prime=o}else n(I.gtn(1),"modulus must be greater than 1"),this.m=I,this.prime=null}oe.prototype._verify1=function(o){n(o.negative===0,"red works only with positives"),n(o.red,"red works only with red numbers")},oe.prototype._verify2=function(o,d){n((o.negative|d.negative)===0,"red works only with positives"),n(o.red&&o.red===d.red,"red works only with red numbers")},oe.prototype.imod=function(o){return this.prime?this.prime.ireduce(o)._forceRed(this):(p(o,o.umod(this.m)._forceRed(this)),o)},oe.prototype.neg=function(o){return o.isZero()?o.clone():this.m.sub(o)._forceRed(this)},oe.prototype.add=function(o,d){this._verify2(o,d);var w=o.add(d);return w.cmp(this.m)>=0&&w.isub(this.m),w._forceRed(this)},oe.prototype.iadd=function(o,d){this._verify2(o,d);var w=o.iadd(d);return w.cmp(this.m)>=0&&w.isub(this.m),w},oe.prototype.sub=function(o,d){this._verify2(o,d);var w=o.sub(d);return w.cmpn(0)<0&&w.iadd(this.m),w._forceRed(this)},oe.prototype.isub=function(o,d){this._verify2(o,d);var w=o.isub(d);return w.cmpn(0)<0&&w.iadd(this.m),w},oe.prototype.shl=function(o,d){return this._verify1(o),this.imod(o.ushln(d))},oe.prototype.imul=function(o,d){return this._verify2(o,d),this.imod(o.imul(d))},oe.prototype.mul=function(o,d){return this._verify2(o,d),this.imod(o.mul(d))},oe.prototype.isqr=function(o){return this.imul(o,o.clone())},oe.prototype.sqr=function(o){return this.mul(o,o)},oe.prototype.sqrt=function(o){if(o.isZero())return o.clone();var d=this.m.andln(3);if(n(d%2===1),d===3){var w=this.m.add(new s(1)).iushrn(2);return this.pow(o,w)}for(var y=this.m.subn(1),S=0;!y.isZero()&&y.andln(1)===0;)S++,y.iushrn(1);n(!y.isZero());var k=new s(1).toRed(this),B=k.redNeg(),b=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new s(2*u*u).toRed(this);this.pow(u,b).cmp(B)!==0;)u.redIAdd(B);for(var R=this.pow(u,y),K=this.pow(o,y.addn(1).iushrn(1)),J=this.pow(o,y),T=S;J.cmp(k)!==0;){for(var P=J,W=0;P.cmp(k)!==0;W++)P=P.redSqr();n(W<T);var Z=this.pow(R,new s(1).iushln(T-W-1));K=K.redMul(Z),R=Z.redSqr(),J=J.redMul(R),T=W}return K},oe.prototype.invm=function(o){var d=o._invmp(this.m);return d.negative!==0?(d.negative=0,this.imod(d).redNeg()):this.imod(d)},oe.prototype.pow=function(o,d){if(d.isZero())return new s(1).toRed(this);if(d.cmpn(1)===0)return o.clone();var w=4,y=new Array(1<<w);y[0]=new s(1).toRed(this),y[1]=o;for(var S=2;S<y.length;S++)y[S]=this.mul(y[S-1],o);var k=y[0],B=0,b=0,u=d.bitLength()%26;for(u===0&&(u=26),S=d.length-1;S>=0;S--){for(var R=d.words[S],K=u-1;K>=0;K--){var J=R>>K&1;if(k!==y[0]&&(k=this.sqr(k)),J===0&&B===0){b=0;continue}B<<=1,B|=J,b++,!(b!==w&&(S!==0||K!==0))&&(k=this.mul(k,y[B]),b=0,B=0)}u=26}return k},oe.prototype.convertTo=function(o){var d=o.umod(this.m);return d===o?d.clone():d},oe.prototype.convertFrom=function(o){var d=o.clone();return d.red=null,d},s.mont=function(o){return new pe(o)};function pe(I){oe.call(this,I),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new s(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)}i(pe,oe),pe.prototype.convertTo=function(o){return this.imod(o.ushln(this.shift))},pe.prototype.convertFrom=function(o){var d=this.imod(o.mul(this.rinv));return d.red=null,d},pe.prototype.imul=function(o,d){if(o.isZero()||d.isZero())return o.words[0]=0,o.length=1,o;var w=o.imul(d),y=w.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),S=w.isub(y).iushrn(this.shift),k=S;return S.cmp(this.m)>=0?k=S.isub(this.m):S.cmpn(0)<0&&(k=S.iadd(this.m)),k._forceRed(this)},pe.prototype.mul=function(o,d){if(o.isZero()||d.isZero())return new s(0)._forceRed(this);var w=o.mul(d),y=w.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),S=w.isub(y).iushrn(this.shift),k=S;return S.cmp(this.m)>=0?k=S.isub(this.m):S.cmpn(0)<0&&(k=S.iadd(this.m)),k._forceRed(this)},pe.prototype.invm=function(o){var d=this.imod(o._invmp(this.m).mul(this.r2));return d._forceRed(this)}})(e,ee)})(Ys);var hi=Ys.exports,wn={},Dt={};Object.defineProperty(Dt,"__esModule",{value:!0});Dt.errorValues=Dt.standardErrorCodes=void 0;Dt.standardErrorCodes={rpc:{invalidInput:-32e3,resourceNotFound:-32001,resourceUnavailable:-32002,transactionRejected:-32003,methodNotSupported:-32004,limitExceeded:-32005,parse:-32700,invalidRequest:-32600,methodNotFound:-32601,invalidParams:-32602,internal:-32603},provider:{userRejectedRequest:4001,unauthorized:4100,unsupportedMethod:4200,disconnected:4900,chainDisconnected:4901,unsupportedChain:4902}};Dt.errorValues={"-32700":{standard:"JSON RPC 2.0",message:"Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text."},"-32600":{standard:"JSON RPC 2.0",message:"The JSON sent is not a valid Request object."},"-32601":{standard:"JSON RPC 2.0",message:"The method does not exist / is not available."},"-32602":{standard:"JSON RPC 2.0",message:"Invalid method parameter(s)."},"-32603":{standard:"JSON RPC 2.0",message:"Internal JSON-RPC error."},"-32000":{standard:"EIP-1474",message:"Invalid input."},"-32001":{standard:"EIP-1474",message:"Resource not found."},"-32002":{standard:"EIP-1474",message:"Resource unavailable."},"-32003":{standard:"EIP-1474",message:"Transaction rejected."},"-32004":{standard:"EIP-1474",message:"Method not supported."},"-32005":{standard:"EIP-1474",message:"Request limit exceeded."},4001:{standard:"EIP-1193",message:"User rejected the request."},4100:{standard:"EIP-1193",message:"The requested account and/or method has not been authorized by the user."},4200:{standard:"EIP-1193",message:"The requested method is not supported by this Ethereum provider."},4900:{standard:"EIP-1193",message:"The provider is disconnected from all chains."},4901:{standard:"EIP-1193",message:"The provider is disconnected from the specified chain."},4902:{standard:"EIP-3085",message:"Unrecognized chain ID."}};var di={},fi={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.serialize=e.getErrorCode=e.isValidCode=e.getMessageFromCode=e.JSON_RPC_SERVER_ERROR_MESSAGE=void 0;const t=Dt,r="Unspecified error message.";e.JSON_RPC_SERVER_ERROR_MESSAGE="Unspecified server error.";function n(E,A=r){if(E&&Number.isInteger(E)){const U=E.toString();if(p(t.errorValues,U))return t.errorValues[U].message;if(f(E))return e.JSON_RPC_SERVER_ERROR_MESSAGE}return A}e.getMessageFromCode=n;function i(E){if(!Number.isInteger(E))return!1;const A=E.toString();return!!(t.errorValues[A]||f(E))}e.isValidCode=i;function s(E){var A;if(typeof E=="number")return E;if(c(E))return(A=E.code)!==null&&A!==void 0?A:E.errorCode}e.getErrorCode=s;function c(E){return typeof E=="object"&&E!==null&&(typeof E.code=="number"||typeof E.errorCode=="number")}function a(E,{shouldIncludeStack:A=!1}={}){const U={};if(E&&typeof E=="object"&&!Array.isArray(E)&&p(E,"code")&&i(E.code)){const F=E;U.code=F.code,F.message&&typeof F.message=="string"?(U.message=F.message,p(F,"data")&&(U.data=F.data)):(U.message=n(U.code),U.data={originalError:g(E)})}else U.code=t.standardErrorCodes.rpc.internal,U.message=v(E,"message")?E.message:r,U.data={originalError:g(E)};return A&&(U.stack=v(E,"stack")?E.stack:void 0),U}e.serialize=a;function f(E){return E>=-32099&&E<=-32e3}function g(E){return E&&typeof E=="object"&&!Array.isArray(E)?Object.assign({},E):E}function p(E,A){return Object.prototype.hasOwnProperty.call(E,A)}function v(E,A){return typeof E=="object"&&E!==null&&A in E&&typeof E[A]=="string"}})(fi);Object.defineProperty(di,"__esModule",{value:!0});di.standardErrors=void 0;const et=Dt,_c=fi;di.standardErrors={rpc:{parse:e=>ft(et.standardErrorCodes.rpc.parse,e),invalidRequest:e=>ft(et.standardErrorCodes.rpc.invalidRequest,e),invalidParams:e=>ft(et.standardErrorCodes.rpc.invalidParams,e),methodNotFound:e=>ft(et.standardErrorCodes.rpc.methodNotFound,e),internal:e=>ft(et.standardErrorCodes.rpc.internal,e),server:e=>{if(!e||typeof e!="object"||Array.isArray(e))throw new Error("Ethereum RPC Server errors must provide single object argument.");const{code:t}=e;if(!Number.isInteger(t)||t>-32005||t<-32099)throw new Error('"code" must be an integer such that: -32099 <= code <= -32005');return ft(t,e)},invalidInput:e=>ft(et.standardErrorCodes.rpc.invalidInput,e),resourceNotFound:e=>ft(et.standardErrorCodes.rpc.resourceNotFound,e),resourceUnavailable:e=>ft(et.standardErrorCodes.rpc.resourceUnavailable,e),transactionRejected:e=>ft(et.standardErrorCodes.rpc.transactionRejected,e),methodNotSupported:e=>ft(et.standardErrorCodes.rpc.methodNotSupported,e),limitExceeded:e=>ft(et.standardErrorCodes.rpc.limitExceeded,e)},provider:{userRejectedRequest:e=>Br(et.standardErrorCodes.provider.userRejectedRequest,e),unauthorized:e=>Br(et.standardErrorCodes.provider.unauthorized,e),unsupportedMethod:e=>Br(et.standardErrorCodes.provider.unsupportedMethod,e),disconnected:e=>Br(et.standardErrorCodes.provider.disconnected,e),chainDisconnected:e=>Br(et.standardErrorCodes.provider.chainDisconnected,e),unsupportedChain:e=>Br(et.standardErrorCodes.provider.unsupportedChain,e),custom:e=>{if(!e||typeof e!="object"||Array.isArray(e))throw new Error("Ethereum Provider custom errors must provide single object argument.");const{code:t,message:r,data:n}=e;if(!r||typeof r!="string")throw new Error('"message" must be a nonempty string');return new Rc(t,r,n)}}};function ft(e,t){const[r,n]=Ec(t);return new Sc(e,r||(0,_c.getMessageFromCode)(e),n)}function Br(e,t){const[r,n]=Ec(t);return new Rc(e,r||(0,_c.getMessageFromCode)(e),n)}function Ec(e){if(e){if(typeof e=="string")return[e];if(typeof e=="object"&&!Array.isArray(e)){const{message:t,data:r}=e;if(t&&typeof t!="string")throw new Error("Must specify string message.");return[t||void 0,r]}}return[]}let Sc=class extends Error{constructor(t,r,n){if(!Number.isInteger(t))throw new Error('"code" must be an integer.');if(!r||typeof r!="string")throw new Error('"message" must be a nonempty string.');super(r),this.code=t,n!==void 0&&(this.data=n)}},Rc=class extends Sc{constructor(t,r,n){if(!Tu(t))throw new Error('"code" must be an integer such that: 1000 <= code <= 4999');super(t,r,n)}};function Tu(e){return Number.isInteger(e)&&e>=1e3&&e<=4999}var pi={},Yr={};Object.defineProperty(Yr,"__esModule",{value:!0});Yr.isErrorResponse=void 0;function Bu(e){return e.errorMessage!==void 0}Yr.isErrorResponse=Bu;var Xr={};Object.defineProperty(Xr,"__esModule",{value:!0});Xr.LIB_VERSION=void 0;Xr.LIB_VERSION="3.9.3";Object.defineProperty(pi,"__esModule",{value:!0});pi.serializeError=void 0;const Nu=Yr,Lu=Xr,Pu=Dt,Ou=fi;function $u(e,t){const r=(0,Ou.serialize)(Fu(e),{shouldIncludeStack:!0}),n=new URL("https://docs.cloud.coinbase.com/wallet-sdk/docs/errors");n.searchParams.set("version",Lu.LIB_VERSION),n.searchParams.set("code",r.code.toString());const i=Du(r.data,t);return i&&n.searchParams.set("method",i),n.searchParams.set("message",r.message),Object.assign(Object.assign({},r),{docUrl:n.href})}pi.serializeError=$u;function Fu(e){return typeof e=="string"?{message:e,code:Pu.standardErrorCodes.rpc.internal}:(0,Nu.isErrorResponse)(e)?Object.assign(Object.assign({},e),{message:e.errorMessage,code:e.errorCode,data:{method:e.method}}):e}function Du(e,t){const r=e?.method;if(r)return r;if(t!==void 0){if(typeof t=="string")return t;if(Array.isArray(t)){if(t.length>0)return t[0].method}else return t.method}}(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.standardErrors=e.standardErrorCodes=e.serializeError=e.getMessageFromCode=e.getErrorCode=void 0;const t=Dt;Object.defineProperty(e,"standardErrorCodes",{enumerable:!0,get:function(){return t.standardErrorCodes}});const r=di;Object.defineProperty(e,"standardErrors",{enumerable:!0,get:function(){return r.standardErrors}});const n=pi;Object.defineProperty(e,"serializeError",{enumerable:!0,get:function(){return n.serializeError}});const i=fi;Object.defineProperty(e,"getErrorCode",{enumerable:!0,get:function(){return i.getErrorCode}}),Object.defineProperty(e,"getMessageFromCode",{enumerable:!0,get:function(){return i.getMessageFromCode}})})(wn);var Ze={};Object.defineProperty(Ze,"__esModule",{value:!0});Ze.ProviderType=Ze.RegExpString=Ze.IntNumber=Ze.BigIntString=Ze.AddressString=Ze.HexString=Ze.OpaqueType=void 0;function yn(){return e=>e}Ze.OpaqueType=yn;Ze.HexString=yn();Ze.AddressString=yn();Ze.BigIntString=yn();function ju(e){return Math.floor(e)}Ze.IntNumber=ju;Ze.RegExpString=yn();var jo;(function(e){e.CoinbaseWallet="CoinbaseWallet",e.MetaMask="MetaMask",e.Unselected=""})(jo||(Ze.ProviderType=jo={}));var Uu=ee&&ee.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(X,"__esModule",{value:!0});X.isMobileWeb=X.getLocation=X.isInIFrame=X.createQrUrl=X.getFavicon=X.range=X.isBigNumber=X.ensureParsedJSONObject=X.ensureBN=X.ensureRegExpString=X.ensureIntNumber=X.ensureBuffer=X.ensureAddressString=X.ensureEvenLengthHexString=X.ensureHexString=X.isHexString=X.prepend0x=X.strip0x=X.has0xPrefix=X.hexStringFromIntNumber=X.intNumberFromHexString=X.bigIntStringFromBN=X.hexStringFromBuffer=X.hexStringToUint8Array=X.uint8ArrayToHex=X.randomBytesHex=void 0;const Vt=Uu(hi),vr=wn,yt=Ze,Mc=/^[0-9]*$/,Cc=/^[a-f0-9]*$/;function Hu(e){return kc(crypto.getRandomValues(new Uint8Array(e)))}X.randomBytesHex=Hu;function kc(e){return[...e].map(t=>t.toString(16).padStart(2,"0")).join("")}X.uint8ArrayToHex=kc;function Wu(e){return new Uint8Array(e.match(/.{1,2}/g).map(t=>parseInt(t,16)))}X.hexStringToUint8Array=Wu;function Vu(e,t=!1){const r=e.toString("hex");return(0,yt.HexString)(t?`0x${r}`:r)}X.hexStringFromBuffer=Vu;function qu(e){return(0,yt.BigIntString)(e.toString(10))}X.bigIntStringFromBN=qu;function zu(e){return(0,yt.IntNumber)(new Vt.default(vn(e,!1),16).toNumber())}X.intNumberFromHexString=zu;function Gu(e){return(0,yt.HexString)(`0x${new Vt.default(e).toString(16)}`)}X.hexStringFromIntNumber=Gu;function Xs(e){return e.startsWith("0x")||e.startsWith("0X")}X.has0xPrefix=Xs;function gi(e){return Xs(e)?e.slice(2):e}X.strip0x=gi;function Ic(e){return Xs(e)?`0x${e.slice(2)}`:`0x${e}`}X.prepend0x=Ic;function bn(e){if(typeof e!="string")return!1;const t=gi(e).toLowerCase();return Cc.test(t)}X.isHexString=bn;function xc(e,t=!1){if(typeof e=="string"){const r=gi(e).toLowerCase();if(Cc.test(r))return(0,yt.HexString)(t?`0x${r}`:r)}throw vr.standardErrors.rpc.invalidParams(`"${String(e)}" is not a hexadecimal string`)}X.ensureHexString=xc;function vn(e,t=!1){let r=xc(e,!1);return r.length%2===1&&(r=(0,yt.HexString)(`0${r}`)),t?(0,yt.HexString)(`0x${r}`):r}X.ensureEvenLengthHexString=vn;function Ju(e){if(typeof e=="string"){const t=gi(e).toLowerCase();if(bn(t)&&t.length===40)return(0,yt.AddressString)(Ic(t))}throw vr.standardErrors.rpc.invalidParams(`Invalid Ethereum address: ${String(e)}`)}X.ensureAddressString=Ju;function Zu(e){if(Buffer.isBuffer(e))return e;if(typeof e=="string"){if(bn(e)){const t=vn(e,!1);return Buffer.from(t,"hex")}return Buffer.from(e,"utf8")}throw vr.standardErrors.rpc.invalidParams(`Not binary data: ${String(e)}`)}X.ensureBuffer=Zu;function Ac(e){if(typeof e=="number"&&Number.isInteger(e))return(0,yt.IntNumber)(e);if(typeof e=="string"){if(Mc.test(e))return(0,yt.IntNumber)(Number(e));if(bn(e))return(0,yt.IntNumber)(new Vt.default(vn(e,!1),16).toNumber())}throw vr.standardErrors.rpc.invalidParams(`Not an integer: ${String(e)}`)}X.ensureIntNumber=Ac;function Ku(e){if(e instanceof RegExp)return(0,yt.RegExpString)(e.toString());throw vr.standardErrors.rpc.invalidParams(`Not a RegExp: ${String(e)}`)}X.ensureRegExpString=Ku;function Qu(e){if(e!==null&&(Vt.default.isBN(e)||Tc(e)))return new Vt.default(e.toString(10),10);if(typeof e=="number")return new Vt.default(Ac(e));if(typeof e=="string"){if(Mc.test(e))return new Vt.default(e,10);if(bn(e))return new Vt.default(vn(e,!1),16)}throw vr.standardErrors.rpc.invalidParams(`Not an integer: ${String(e)}`)}X.ensureBN=Qu;function Yu(e){if(typeof e=="string")return JSON.parse(e);if(typeof e=="object")return e;throw vr.standardErrors.rpc.invalidParams(`Not a JSON string or an object: ${String(e)}`)}X.ensureParsedJSONObject=Yu;function Tc(e){if(e==null||typeof e.constructor!="function")return!1;const{constructor:t}=e;return typeof t.config=="function"&&typeof t.EUCLID=="number"}X.isBigNumber=Tc;function Xu(e,t){return Array.from({length:t-e},(r,n)=>e+n)}X.range=Xu;function eh(){const e=document.querySelector('link[sizes="192x192"]')||document.querySelector('link[sizes="180x180"]')||document.querySelector('link[rel="icon"]')||document.querySelector('link[rel="shortcut icon"]'),{protocol:t,host:r}=document.location,n=e?e.getAttribute("href"):null;return!n||n.startsWith("javascript:")||n.startsWith("vbscript:")?null:n.startsWith("http://")||n.startsWith("https://")||n.startsWith("data:")?n:n.startsWith("//")?t+n:`${t}//${r}${n}`}X.getFavicon=eh;function th(e,t,r,n,i,s){const c=n?"parent-id":"id",a=new URLSearchParams({[c]:e,secret:t,server:r,v:i,chainId:s.toString()}).toString();return`${r}/#/link?${a}`}X.createQrUrl=th;function Bc(){try{return window.frameElement!==null}catch{return!1}}X.isInIFrame=Bc;function rh(){try{return Bc()&&window.top?window.top.location:window.location}catch{return window.location}}X.getLocation=rh;function nh(){var e;return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test((e=window?.navigator)===null||e===void 0?void 0:e.userAgent)}X.isMobileWeb=nh;var mi={};Object.defineProperty(mi,"__esModule",{value:!0});mi.ScopedLocalStorage=void 0;class ih{constructor(t){this.scope=t}setItem(t,r){localStorage.setItem(this.scopedKey(t),r)}getItem(t){return localStorage.getItem(this.scopedKey(t))}removeItem(t){localStorage.removeItem(this.scopedKey(t))}clear(){const t=this.scopedKey(""),r=[];for(let n=0;n<localStorage.length;n++){const i=localStorage.key(n);typeof i=="string"&&i.startsWith(t)&&r.push(i)}r.forEach(n=>localStorage.removeItem(n))}scopedKey(t){return`${this.scope}:${t}`}}mi.ScopedLocalStorage=ih;var Vr={};const sh=Qr(Su);var _n={},En={},en={};Object.defineProperty(en,"__esModule",{value:!0});en.EVENTS=void 0;en.EVENTS={STARTED_CONNECTING:"walletlink_sdk.started.connecting",CONNECTED_STATE_CHANGE:"walletlink_sdk.connected",DISCONNECTED:"walletlink_sdk.disconnected",METADATA_DESTROYED:"walletlink_sdk_metadata_destroyed",LINKED:"walletlink_sdk.linked",FAILURE:"walletlink_sdk.generic_failure",SESSION_CONFIG_RECEIVED:"walletlink_sdk.session_config_event_received",ETH_ACCOUNTS_STATE:"walletlink_sdk.eth_accounts_state",SESSION_STATE_CHANGE:"walletlink_sdk.session_state_change",UNLINKED_ERROR_STATE:"walletlink_sdk.unlinked_error_state",SKIPPED_CLEARING_SESSION:"walletlink_sdk.skipped_clearing_session",GENERAL_ERROR:"walletlink_sdk.general_error",WEB3_REQUEST:"walletlink_sdk.web3.request",WEB3_REQUEST_PUBLISHED:"walletlink_sdk.web3.request_published",WEB3_RESPONSE:"walletlink_sdk.web3.response",METHOD_NOT_IMPLEMENTED:"walletlink_sdk.method_not_implemented",UNKNOWN_ADDRESS_ENCOUNTERED:"walletlink_sdk.unknown_address_encountered"};var wt={};Object.defineProperty(wt,"__esModule",{value:!0});wt.RelayAbstract=wt.APP_VERSION_KEY=wt.LOCAL_STORAGE_ADDRESSES_KEY=wt.WALLET_USER_NAME_KEY=void 0;const Uo=wn;wt.WALLET_USER_NAME_KEY="walletUsername";wt.LOCAL_STORAGE_ADDRESSES_KEY="Addresses";wt.APP_VERSION_KEY="AppVersion";class oh{async makeEthereumJSONRPCRequest(t,r){if(!r)throw new Error("Error: No jsonRpcUrl provided");return window.fetch(r,{method:"POST",body:JSON.stringify(t),mode:"cors",headers:{"Content-Type":"application/json"}}).then(n=>n.json()).then(n=>{if(!n)throw Uo.standardErrors.rpc.parse({});const i=n,{error:s}=i;if(s)throw(0,Uo.serializeError)(s,t.method);return i})}}wt.RelayAbstract=oh;var tn={},Nc={exports:{}},zs={exports:{}},Sn={},wi={};wi.byteLength=lh;wi.toByteArray=hh;wi.fromByteArray=ph;var Bt=[],mt=[],ah=typeof Uint8Array<"u"?Uint8Array:Array,ds="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var Nr=0,ch=ds.length;Nr<ch;++Nr)Bt[Nr]=ds[Nr],mt[ds.charCodeAt(Nr)]=Nr;mt[45]=62;mt[95]=63;function Lc(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var n=r===t?0:4-r%4;return[r,n]}function lh(e){var t=Lc(e),r=t[0],n=t[1];return(r+n)*3/4-n}function uh(e,t,r){return(t+r)*3/4-r}function hh(e){var t,r=Lc(e),n=r[0],i=r[1],s=new ah(uh(e,n,i)),c=0,a=i>0?n-4:n,f;for(f=0;f<a;f+=4)t=mt[e.charCodeAt(f)]<<18|mt[e.charCodeAt(f+1)]<<12|mt[e.charCodeAt(f+2)]<<6|mt[e.charCodeAt(f+3)],s[c++]=t>>16&255,s[c++]=t>>8&255,s[c++]=t&255;return i===2&&(t=mt[e.charCodeAt(f)]<<2|mt[e.charCodeAt(f+1)]>>4,s[c++]=t&255),i===1&&(t=mt[e.charCodeAt(f)]<<10|mt[e.charCodeAt(f+1)]<<4|mt[e.charCodeAt(f+2)]>>2,s[c++]=t>>8&255,s[c++]=t&255),s}function dh(e){return Bt[e>>18&63]+Bt[e>>12&63]+Bt[e>>6&63]+Bt[e&63]}function fh(e,t,r){for(var n,i=[],s=t;s<r;s+=3)n=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(e[s+2]&255),i.push(dh(n));return i.join("")}function ph(e){for(var t,r=e.length,n=r%3,i=[],s=16383,c=0,a=r-n;c<a;c+=s)i.push(fh(e,c,c+s>a?a:c+s));return n===1?(t=e[r-1],i.push(Bt[t>>2]+Bt[t<<4&63]+"==")):n===2&&(t=(e[r-2]<<8)+e[r-1],i.push(Bt[t>>10]+Bt[t>>4&63]+Bt[t<<2&63]+"=")),i.join("")}var eo={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */eo.read=function(e,t,r,n,i){var s,c,a=i*8-n-1,f=(1<<a)-1,g=f>>1,p=-7,v=r?i-1:0,E=r?-1:1,A=e[t+v];for(v+=E,s=A&(1<<-p)-1,A>>=-p,p+=a;p>0;s=s*256+e[t+v],v+=E,p-=8);for(c=s&(1<<-p)-1,s>>=-p,p+=n;p>0;c=c*256+e[t+v],v+=E,p-=8);if(s===0)s=1-g;else{if(s===f)return c?NaN:(A?-1:1)*(1/0);c=c+Math.pow(2,n),s=s-g}return(A?-1:1)*c*Math.pow(2,s-n)};eo.write=function(e,t,r,n,i,s){var c,a,f,g=s*8-i-1,p=(1<<g)-1,v=p>>1,E=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,A=n?0:s-1,U=n?1:-1,F=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,c=p):(c=Math.floor(Math.log(t)/Math.LN2),t*(f=Math.pow(2,-c))<1&&(c--,f*=2),c+v>=1?t+=E/f:t+=E*Math.pow(2,1-v),t*f>=2&&(c++,f/=2),c+v>=p?(a=0,c=p):c+v>=1?(a=(t*f-1)*Math.pow(2,i),c=c+v):(a=t*Math.pow(2,v-1)*Math.pow(2,i),c=0));i>=8;e[r+A]=a&255,A+=U,a/=256,i-=8);for(c=c<<i|a,g+=i;g>0;e[r+A]=c&255,A+=U,c/=256,g-=8);e[r+A-U]|=F*128};/*!
|
|
2
2
|
* The buffer module from node.js, for the browser.
|
|
3
3
|
*
|
|
4
4
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__fileDeps=["assets/add-
|
|
2
|
-
import{u as G,v as q,i as S,r as E,c as b,d as f,x as Y,y as V,f as H,e as X}from"./core-
|
|
1
|
+
const __vite__fileDeps=["assets/add-BIaFihyg.js","assets/core-CKL2t7br.js","assets/preload-helper-CDMQs6vf.js","assets/_commonjsHelpers-C4iS2aBk.js","assets/index.es-CzdwEqXn.js","assets/__federation_fn_import-DOOor4Tc.js","assets/index-nibyPLVP.js","assets/all-wallets-Cfqn8PYe.js","assets/arrow-bottom-circle-B6n9IioS.js","assets/app-store-BxDqeIqC.js","assets/apple-QJkClsJb.js","assets/arrow-bottom--x7UucJT.js","assets/arrow-left-CbI3FC2k.js","assets/arrow-right-DUpKnhaL.js","assets/arrow-top-ed8A36YY.js","assets/bank-DXf1YkKA.js","assets/browser-CVrIMCbR.js","assets/card-DgyBT68T.js","assets/checkmark-7hzDBsql.js","assets/checkmark-bold-DGsuPsPt.js","assets/chevron-bottom-KAJVVB8V.js","assets/chevron-left-QtyERYwY.js","assets/chevron-right-C0eFIW4T.js","assets/chevron-top-D_qeKe8O.js","assets/chrome-store-B_QNIif-.js","assets/clock-Dl1FecER.js","assets/close-CVONymnQ.js","assets/compass-B6DJCHlH.js","assets/coinPlaceholder-D5mWuYoH.js","assets/copy-DXzUKW8b.js","assets/cursor-BaYtj4Cp.js","assets/cursor-transparent-rkrBpH7G.js","assets/desktop-BZmREBP0.js","assets/disconnect-JHh9OB23.js","assets/discord-VVP8zM-_.js","assets/etherscan-BbYifZFZ.js","assets/extension-CYQ7TNQ0.js","assets/external-link-Bl_2Xa1d.js","assets/facebook-BLoOTkup.js","assets/farcaster-S-7ZNLCN.js","assets/filters-rcIRW8Y2.js","assets/github-1RRpC6gF.js","assets/google-BrEjql_r.js","assets/help-circle-_-klJVev.js","assets/image-D_WfaLXE.js","assets/id-BruMHf38.js","assets/info-circle-DVJGAyOl.js","assets/lightbulb-DFNuvMz-.js","assets/mail-Drod4DXU.js","assets/mobile-BJnalH7G.js","assets/more-CzFkj1ed.js","assets/network-placeholder-BLUwDLic.js","assets/nftPlaceholder-ChOx-BzT.js","assets/off-CleAz5gO.js","assets/play-store-DwxG6fai.js","assets/plus-Bvi_TZCr.js","assets/qr-code-A_RC2EmO.js","assets/recycle-horizontal-B2rk_278.js","assets/refresh-V894JvlS.js","assets/search-DI_vEcaH.js","assets/send-ng28MvLm.js","assets/swapHorizontal-D0cqXt37.js","assets/swapHorizontalMedium-CjEnNl_e.js","assets/swapHorizontalBold-CtmXcN3X.js","assets/swapHorizontalRoundedBold-DmunpO0t.js","assets/swapVertical-BSmQhuqF.js","assets/telegram-BwcgdqeC.js","assets/three-dots-C4jGuJ67.js","assets/twitch-DSM_HUQO.js","assets/x-CMcLjjTv.js","assets/twitterIcon-55En8ege.js","assets/verify-B-XAdwYY.js","assets/verify-filled-BT00Wrp3.js","assets/wallet-C3hGKolu.js","assets/walletconnect-Blbor9eR.js","assets/wallet-placeholder-CgMPW3Yz.js","assets/warning-circle-aLVajLoj.js","assets/info-XfmynO47.js","assets/exclamation-triangle-CpcXflnC.js","assets/reown-logo-BNIMS198.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
|
|
2
|
+
import{u as G,v as q,i as S,r as E,c as b,d as f,x as Y,y as V,f as H,e as X}from"./core-CKL2t7br.js";import{_ as a}from"./preload-helper-CDMQs6vf.js";const w={getSpacingStyles(t,e){if(Array.isArray(t))return t[e]?`var(--wui-spacing-${t[e]})`:void 0;if(typeof t=="string")return`var(--wui-spacing-${t})`},getFormattedDate(t){return new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric"}).format(t)},getHostName(t){try{return new URL(t).hostname}catch{return""}},getTruncateString({string:t,charsStart:e,charsEnd:i,truncate:r}){return t.length<=e+i?t:r==="end"?`${t.substring(0,e)}...`:r==="start"?`...${t.substring(t.length-i)}`:`${t.substring(0,Math.floor(e))}...${t.substring(t.length-Math.floor(i))}`},generateAvatarColors(t){const i=t.toLowerCase().replace(/^0x/iu,"").replace(/[^a-f0-9]/gu,"").substring(0,6).padEnd(6,"0"),r=this.hexToRgb(i),n=getComputedStyle(document.documentElement).getPropertyValue("--w3m-border-radius-master"),c=100-3*Number(n?.replace("px","")),s=`${c}% ${c}% at 65% 40%`,u=[];for(let h=0;h<5;h+=1){const p=this.tintColor(r,.15*h);u.push(`rgb(${p[0]}, ${p[1]}, ${p[2]})`)}return`
|
|
3
3
|
--local-color-1: ${u[0]};
|
|
4
4
|
--local-color-2: ${u[1]};
|
|
5
5
|
--local-color-3: ${u[2]};
|
|
@@ -82,7 +82,7 @@ import{u as G,v as q,i as S,r as E,c as b,d as f,x as Y,y as V,f as H,e as X}fro
|
|
|
82
82
|
width: var(--local-width);
|
|
83
83
|
height: var(--local-height);
|
|
84
84
|
}
|
|
85
|
-
`;var A=function(t,e,i,r){var n=arguments.length,o=n<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,i):r,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,i,r);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(o=(n<3?c(o):n>3?c(e,i,o):c(e,i))||o);return n>3&&o&&Object.defineProperty(e,i,o),o};const M={add:async()=>(await a(async()=>{const{addSvg:t}=await import("./add-CRDAsoS6.js");return{addSvg:t}},__vite__mapDeps([0,1,2,3,4,5,6]))).addSvg,allWallets:async()=>(await a(async()=>{const{allWalletsSvg:t}=await import("./all-wallets-M8PSbQIn.js");return{allWalletsSvg:t}},__vite__mapDeps([7,1,2,3,4,5,6]))).allWalletsSvg,arrowBottomCircle:async()=>(await a(async()=>{const{arrowBottomCircleSvg:t}=await import("./arrow-bottom-circle-CerfhIVS.js");return{arrowBottomCircleSvg:t}},__vite__mapDeps([8,1,2,3,4,5,6]))).arrowBottomCircleSvg,appStore:async()=>(await a(async()=>{const{appStoreSvg:t}=await import("./app-store-BbwUhtBT.js");return{appStoreSvg:t}},__vite__mapDeps([9,1,2,3,4,5,6]))).appStoreSvg,apple:async()=>(await a(async()=>{const{appleSvg:t}=await import("./apple-KYMxwI8C.js");return{appleSvg:t}},__vite__mapDeps([10,1,2,3,4,5,6]))).appleSvg,arrowBottom:async()=>(await a(async()=>{const{arrowBottomSvg:t}=await import("./arrow-bottom-CpvmQ1Sm.js");return{arrowBottomSvg:t}},__vite__mapDeps([11,1,2,3,4,5,6]))).arrowBottomSvg,arrowLeft:async()=>(await a(async()=>{const{arrowLeftSvg:t}=await import("./arrow-left-dVEFXKxi.js");return{arrowLeftSvg:t}},__vite__mapDeps([12,1,2,3,4,5,6]))).arrowLeftSvg,arrowRight:async()=>(await a(async()=>{const{arrowRightSvg:t}=await import("./arrow-right-Co8yigww.js");return{arrowRightSvg:t}},__vite__mapDeps([13,1,2,3,4,5,6]))).arrowRightSvg,arrowTop:async()=>(await a(async()=>{const{arrowTopSvg:t}=await import("./arrow-top-KlKLphV1.js");return{arrowTopSvg:t}},__vite__mapDeps([14,1,2,3,4,5,6]))).arrowTopSvg,bank:async()=>(await a(async()=>{const{bankSvg:t}=await import("./bank-DP6slqnu.js");return{bankSvg:t}},__vite__mapDeps([15,1,2,3,4,5,6]))).bankSvg,browser:async()=>(await a(async()=>{const{browserSvg:t}=await import("./browser-DemG1Tjp.js");return{browserSvg:t}},__vite__mapDeps([16,1,2,3,4,5,6]))).browserSvg,card:async()=>(await a(async()=>{const{cardSvg:t}=await import("./card-DI9bRVEe.js");return{cardSvg:t}},__vite__mapDeps([17,1,2,3,4,5,6]))).cardSvg,checkmark:async()=>(await a(async()=>{const{checkmarkSvg:t}=await import("./checkmark-ClaV4zyl.js");return{checkmarkSvg:t}},__vite__mapDeps([18,1,2,3,4,5,6]))).checkmarkSvg,checkmarkBold:async()=>(await a(async()=>{const{checkmarkBoldSvg:t}=await import("./checkmark-bold-CpTXXIQl.js");return{checkmarkBoldSvg:t}},__vite__mapDeps([19,1,2,3,4,5,6]))).checkmarkBoldSvg,chevronBottom:async()=>(await a(async()=>{const{chevronBottomSvg:t}=await import("./chevron-bottom-B7WEB302.js");return{chevronBottomSvg:t}},__vite__mapDeps([20,1,2,3,4,5,6]))).chevronBottomSvg,chevronLeft:async()=>(await a(async()=>{const{chevronLeftSvg:t}=await import("./chevron-left-s49yO0vq.js");return{chevronLeftSvg:t}},__vite__mapDeps([21,1,2,3,4,5,6]))).chevronLeftSvg,chevronRight:async()=>(await a(async()=>{const{chevronRightSvg:t}=await import("./chevron-right-DLxDeInf.js");return{chevronRightSvg:t}},__vite__mapDeps([22,1,2,3,4,5,6]))).chevronRightSvg,chevronTop:async()=>(await a(async()=>{const{chevronTopSvg:t}=await import("./chevron-top-BNesEvvt.js");return{chevronTopSvg:t}},__vite__mapDeps([23,1,2,3,4,5,6]))).chevronTopSvg,chromeStore:async()=>(await a(async()=>{const{chromeStoreSvg:t}=await import("./chrome-store-CYoj3jLA.js");return{chromeStoreSvg:t}},__vite__mapDeps([24,1,2,3,4,5,6]))).chromeStoreSvg,clock:async()=>(await a(async()=>{const{clockSvg:t}=await import("./clock-Cowlhipt.js");return{clockSvg:t}},__vite__mapDeps([25,1,2,3,4,5,6]))).clockSvg,close:async()=>(await a(async()=>{const{closeSvg:t}=await import("./close-CHDSWjeu.js");return{closeSvg:t}},__vite__mapDeps([26,1,2,3,4,5,6]))).closeSvg,compass:async()=>(await a(async()=>{const{compassSvg:t}=await import("./compass-DTVuLPLx.js");return{compassSvg:t}},__vite__mapDeps([27,1,2,3,4,5,6]))).compassSvg,coinPlaceholder:async()=>(await a(async()=>{const{coinPlaceholderSvg:t}=await import("./coinPlaceholder-CWCahYS0.js");return{coinPlaceholderSvg:t}},__vite__mapDeps([28,1,2,3,4,5,6]))).coinPlaceholderSvg,copy:async()=>(await a(async()=>{const{copySvg:t}=await import("./copy-CTWrc8Rs.js");return{copySvg:t}},__vite__mapDeps([29,1,2,3,4,5,6]))).copySvg,cursor:async()=>(await a(async()=>{const{cursorSvg:t}=await import("./cursor-BFEE41Uw.js");return{cursorSvg:t}},__vite__mapDeps([30,1,2,3,4,5,6]))).cursorSvg,cursorTransparent:async()=>(await a(async()=>{const{cursorTransparentSvg:t}=await import("./cursor-transparent-_fazXWeP.js");return{cursorTransparentSvg:t}},__vite__mapDeps([31,1,2,3,4,5,6]))).cursorTransparentSvg,desktop:async()=>(await a(async()=>{const{desktopSvg:t}=await import("./desktop-Cvlh7_59.js");return{desktopSvg:t}},__vite__mapDeps([32,1,2,3,4,5,6]))).desktopSvg,disconnect:async()=>(await a(async()=>{const{disconnectSvg:t}=await import("./disconnect-D86MdYry.js");return{disconnectSvg:t}},__vite__mapDeps([33,1,2,3,4,5,6]))).disconnectSvg,discord:async()=>(await a(async()=>{const{discordSvg:t}=await import("./discord-D3nT23vI.js");return{discordSvg:t}},__vite__mapDeps([34,1,2,3,4,5,6]))).discordSvg,etherscan:async()=>(await a(async()=>{const{etherscanSvg:t}=await import("./etherscan-BdEW9vqc.js");return{etherscanSvg:t}},__vite__mapDeps([35,1,2,3,4,5,6]))).etherscanSvg,extension:async()=>(await a(async()=>{const{extensionSvg:t}=await import("./extension-opfmx5KG.js");return{extensionSvg:t}},__vite__mapDeps([36,1,2,3,4,5,6]))).extensionSvg,externalLink:async()=>(await a(async()=>{const{externalLinkSvg:t}=await import("./external-link-HqD0KIHl.js");return{externalLinkSvg:t}},__vite__mapDeps([37,1,2,3,4,5,6]))).externalLinkSvg,facebook:async()=>(await a(async()=>{const{facebookSvg:t}=await import("./facebook-B4PtxY49.js");return{facebookSvg:t}},__vite__mapDeps([38,1,2,3,4,5,6]))).facebookSvg,farcaster:async()=>(await a(async()=>{const{farcasterSvg:t}=await import("./farcaster-B7ZESl8t.js");return{farcasterSvg:t}},__vite__mapDeps([39,1,2,3,4,5,6]))).farcasterSvg,filters:async()=>(await a(async()=>{const{filtersSvg:t}=await import("./filters-B9Lc7WUh.js");return{filtersSvg:t}},__vite__mapDeps([40,1,2,3,4,5,6]))).filtersSvg,github:async()=>(await a(async()=>{const{githubSvg:t}=await import("./github-ej36lilR.js");return{githubSvg:t}},__vite__mapDeps([41,1,2,3,4,5,6]))).githubSvg,google:async()=>(await a(async()=>{const{googleSvg:t}=await import("./google-SZDPskQA.js");return{googleSvg:t}},__vite__mapDeps([42,1,2,3,4,5,6]))).googleSvg,helpCircle:async()=>(await a(async()=>{const{helpCircleSvg:t}=await import("./help-circle-Dlk1DWFb.js");return{helpCircleSvg:t}},__vite__mapDeps([43,1,2,3,4,5,6]))).helpCircleSvg,image:async()=>(await a(async()=>{const{imageSvg:t}=await import("./image-DrbB-EB0.js");return{imageSvg:t}},__vite__mapDeps([44,1,2,3,4,5,6]))).imageSvg,id:async()=>(await a(async()=>{const{idSvg:t}=await import("./id-C1JuIBUw.js");return{idSvg:t}},__vite__mapDeps([45,1,2,3,4,5,6]))).idSvg,infoCircle:async()=>(await a(async()=>{const{infoCircleSvg:t}=await import("./info-circle-BwpvAP6c.js");return{infoCircleSvg:t}},__vite__mapDeps([46,1,2,3,4,5,6]))).infoCircleSvg,lightbulb:async()=>(await a(async()=>{const{lightbulbSvg:t}=await import("./lightbulb-DZgqqIhJ.js");return{lightbulbSvg:t}},__vite__mapDeps([47,1,2,3,4,5,6]))).lightbulbSvg,mail:async()=>(await a(async()=>{const{mailSvg:t}=await import("./mail-DWm8ISSp.js");return{mailSvg:t}},__vite__mapDeps([48,1,2,3,4,5,6]))).mailSvg,mobile:async()=>(await a(async()=>{const{mobileSvg:t}=await import("./mobile-CbZLz58l.js");return{mobileSvg:t}},__vite__mapDeps([49,1,2,3,4,5,6]))).mobileSvg,more:async()=>(await a(async()=>{const{moreSvg:t}=await import("./more-DRXJyPbv.js");return{moreSvg:t}},__vite__mapDeps([50,1,2,3,4,5,6]))).moreSvg,networkPlaceholder:async()=>(await a(async()=>{const{networkPlaceholderSvg:t}=await import("./network-placeholder-n_BgsbNp.js");return{networkPlaceholderSvg:t}},__vite__mapDeps([51,1,2,3,4,5,6]))).networkPlaceholderSvg,nftPlaceholder:async()=>(await a(async()=>{const{nftPlaceholderSvg:t}=await import("./nftPlaceholder-BCafmzLA.js");return{nftPlaceholderSvg:t}},__vite__mapDeps([52,1,2,3,4,5,6]))).nftPlaceholderSvg,off:async()=>(await a(async()=>{const{offSvg:t}=await import("./off-9RGrlpVz.js");return{offSvg:t}},__vite__mapDeps([53,1,2,3,4,5,6]))).offSvg,playStore:async()=>(await a(async()=>{const{playStoreSvg:t}=await import("./play-store-CgGjC9IP.js");return{playStoreSvg:t}},__vite__mapDeps([54,1,2,3,4,5,6]))).playStoreSvg,plus:async()=>(await a(async()=>{const{plusSvg:t}=await import("./plus-DSM-LJkV.js");return{plusSvg:t}},__vite__mapDeps([55,1,2,3,4,5,6]))).plusSvg,qrCode:async()=>(await a(async()=>{const{qrCodeIcon:t}=await import("./qr-code-B_iIzgRO.js");return{qrCodeIcon:t}},__vite__mapDeps([56,1,2,3,4,5,6]))).qrCodeIcon,recycleHorizontal:async()=>(await a(async()=>{const{recycleHorizontalSvg:t}=await import("./recycle-horizontal-Bo6tvA9N.js");return{recycleHorizontalSvg:t}},__vite__mapDeps([57,1,2,3,4,5,6]))).recycleHorizontalSvg,refresh:async()=>(await a(async()=>{const{refreshSvg:t}=await import("./refresh-B78swHHA.js");return{refreshSvg:t}},__vite__mapDeps([58,1,2,3,4,5,6]))).refreshSvg,search:async()=>(await a(async()=>{const{searchSvg:t}=await import("./search-MMFg1Zhv.js");return{searchSvg:t}},__vite__mapDeps([59,1,2,3,4,5,6]))).searchSvg,send:async()=>(await a(async()=>{const{sendSvg:t}=await import("./send-B3i1cdWv.js");return{sendSvg:t}},__vite__mapDeps([60,1,2,3,4,5,6]))).sendSvg,swapHorizontal:async()=>(await a(async()=>{const{swapHorizontalSvg:t}=await import("./swapHorizontal-D_VQ2y9f.js");return{swapHorizontalSvg:t}},__vite__mapDeps([61,1,2,3,4,5,6]))).swapHorizontalSvg,swapHorizontalMedium:async()=>(await a(async()=>{const{swapHorizontalMediumSvg:t}=await import("./swapHorizontalMedium-Clp3nUGv.js");return{swapHorizontalMediumSvg:t}},__vite__mapDeps([62,1,2,3,4,5,6]))).swapHorizontalMediumSvg,swapHorizontalBold:async()=>(await a(async()=>{const{swapHorizontalBoldSvg:t}=await import("./swapHorizontalBold-BYohtxO2.js");return{swapHorizontalBoldSvg:t}},__vite__mapDeps([63,1,2,3,4,5,6]))).swapHorizontalBoldSvg,swapHorizontalRoundedBold:async()=>(await a(async()=>{const{swapHorizontalRoundedBoldSvg:t}=await import("./swapHorizontalRoundedBold-Huee7GR3.js");return{swapHorizontalRoundedBoldSvg:t}},__vite__mapDeps([64,1,2,3,4,5,6]))).swapHorizontalRoundedBoldSvg,swapVertical:async()=>(await a(async()=>{const{swapVerticalSvg:t}=await import("./swapVertical-Cnz02KmB.js");return{swapVerticalSvg:t}},__vite__mapDeps([65,1,2,3,4,5,6]))).swapVerticalSvg,telegram:async()=>(await a(async()=>{const{telegramSvg:t}=await import("./telegram-CfNIuKsL.js");return{telegramSvg:t}},__vite__mapDeps([66,1,2,3,4,5,6]))).telegramSvg,threeDots:async()=>(await a(async()=>{const{threeDotsSvg:t}=await import("./three-dots-BHatBJ1U.js");return{threeDotsSvg:t}},__vite__mapDeps([67,1,2,3,4,5,6]))).threeDotsSvg,twitch:async()=>(await a(async()=>{const{twitchSvg:t}=await import("./twitch-Beqf5KuC.js");return{twitchSvg:t}},__vite__mapDeps([68,1,2,3,4,5,6]))).twitchSvg,twitter:async()=>(await a(async()=>{const{xSvg:t}=await import("./x-DpE2gOjc.js");return{xSvg:t}},__vite__mapDeps([69,1,2,3,4,5,6]))).xSvg,twitterIcon:async()=>(await a(async()=>{const{twitterIconSvg:t}=await import("./twitterIcon-DuUcyFsu.js");return{twitterIconSvg:t}},__vite__mapDeps([70,1,2,3,4,5,6]))).twitterIconSvg,verify:async()=>(await a(async()=>{const{verifySvg:t}=await import("./verify-DcYfguuu.js");return{verifySvg:t}},__vite__mapDeps([71,1,2,3,4,5,6]))).verifySvg,verifyFilled:async()=>(await a(async()=>{const{verifyFilledSvg:t}=await import("./verify-filled-Bm-OA5jk.js");return{verifyFilledSvg:t}},__vite__mapDeps([72,1,2,3,4,5,6]))).verifyFilledSvg,wallet:async()=>(await a(async()=>{const{walletSvg:t}=await import("./wallet-BzCF_mRB.js");return{walletSvg:t}},__vite__mapDeps([73,1,2,3,4,5,6]))).walletSvg,walletConnect:async()=>(await a(async()=>{const{walletConnectSvg:t}=await import("./walletconnect-CFHDyppb.js");return{walletConnectSvg:t}},__vite__mapDeps([74,1,2,3,4,5,6]))).walletConnectSvg,walletConnectLightBrown:async()=>(await a(async()=>{const{walletConnectLightBrownSvg:t}=await import("./walletconnect-CFHDyppb.js");return{walletConnectLightBrownSvg:t}},__vite__mapDeps([74,1,2,3,4,5,6]))).walletConnectLightBrownSvg,walletConnectBrown:async()=>(await a(async()=>{const{walletConnectBrownSvg:t}=await import("./walletconnect-CFHDyppb.js");return{walletConnectBrownSvg:t}},__vite__mapDeps([74,1,2,3,4,5,6]))).walletConnectBrownSvg,walletPlaceholder:async()=>(await a(async()=>{const{walletPlaceholderSvg:t}=await import("./wallet-placeholder-CLEz6Dmc.js");return{walletPlaceholderSvg:t}},__vite__mapDeps([75,1,2,3,4,5,6]))).walletPlaceholderSvg,warningCircle:async()=>(await a(async()=>{const{warningCircleSvg:t}=await import("./warning-circle-CVUFMZ_R.js");return{warningCircleSvg:t}},__vite__mapDeps([76,1,2,3,4,5,6]))).warningCircleSvg,x:async()=>(await a(async()=>{const{xSvg:t}=await import("./x-DpE2gOjc.js");return{xSvg:t}},__vite__mapDeps([69,1,2,3,4,5,6]))).xSvg,info:async()=>(await a(async()=>{const{infoSvg:t}=await import("./info-CGOdSL7l.js");return{infoSvg:t}},__vite__mapDeps([77,1,2,3,4,5,6]))).infoSvg,exclamationTriangle:async()=>(await a(async()=>{const{exclamationTriangleSvg:t}=await import("./exclamation-triangle-B5oynvdL.js");return{exclamationTriangleSvg:t}},__vite__mapDeps([78,1,2,3,4,5,6]))).exclamationTriangleSvg,reown:async()=>(await a(async()=>{const{reownSvg:t}=await import("./reown-logo-D2dt5GtC.js");return{reownSvg:t}},__vite__mapDeps([79,1,2,3,4,5,6]))).reownSvg};async function gt(t){if(D.has(t))return D.get(t);const i=(M[t]??M.copy)();return D.set(t,i),i}let m=class extends b{constructor(){super(...arguments),this.size="md",this.name="copy",this.color="fg-300",this.aspectRatio="1 / 1"}render(){return this.style.cssText=`
|
|
85
|
+
`;var A=function(t,e,i,r){var n=arguments.length,o=n<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,i):r,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,i,r);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(o=(n<3?c(o):n>3?c(e,i,o):c(e,i))||o);return n>3&&o&&Object.defineProperty(e,i,o),o};const M={add:async()=>(await a(async()=>{const{addSvg:t}=await import("./add-BIaFihyg.js");return{addSvg:t}},__vite__mapDeps([0,1,2,3,4,5,6]))).addSvg,allWallets:async()=>(await a(async()=>{const{allWalletsSvg:t}=await import("./all-wallets-Cfqn8PYe.js");return{allWalletsSvg:t}},__vite__mapDeps([7,1,2,3,4,5,6]))).allWalletsSvg,arrowBottomCircle:async()=>(await a(async()=>{const{arrowBottomCircleSvg:t}=await import("./arrow-bottom-circle-B6n9IioS.js");return{arrowBottomCircleSvg:t}},__vite__mapDeps([8,1,2,3,4,5,6]))).arrowBottomCircleSvg,appStore:async()=>(await a(async()=>{const{appStoreSvg:t}=await import("./app-store-BxDqeIqC.js");return{appStoreSvg:t}},__vite__mapDeps([9,1,2,3,4,5,6]))).appStoreSvg,apple:async()=>(await a(async()=>{const{appleSvg:t}=await import("./apple-QJkClsJb.js");return{appleSvg:t}},__vite__mapDeps([10,1,2,3,4,5,6]))).appleSvg,arrowBottom:async()=>(await a(async()=>{const{arrowBottomSvg:t}=await import("./arrow-bottom--x7UucJT.js");return{arrowBottomSvg:t}},__vite__mapDeps([11,1,2,3,4,5,6]))).arrowBottomSvg,arrowLeft:async()=>(await a(async()=>{const{arrowLeftSvg:t}=await import("./arrow-left-CbI3FC2k.js");return{arrowLeftSvg:t}},__vite__mapDeps([12,1,2,3,4,5,6]))).arrowLeftSvg,arrowRight:async()=>(await a(async()=>{const{arrowRightSvg:t}=await import("./arrow-right-DUpKnhaL.js");return{arrowRightSvg:t}},__vite__mapDeps([13,1,2,3,4,5,6]))).arrowRightSvg,arrowTop:async()=>(await a(async()=>{const{arrowTopSvg:t}=await import("./arrow-top-ed8A36YY.js");return{arrowTopSvg:t}},__vite__mapDeps([14,1,2,3,4,5,6]))).arrowTopSvg,bank:async()=>(await a(async()=>{const{bankSvg:t}=await import("./bank-DXf1YkKA.js");return{bankSvg:t}},__vite__mapDeps([15,1,2,3,4,5,6]))).bankSvg,browser:async()=>(await a(async()=>{const{browserSvg:t}=await import("./browser-CVrIMCbR.js");return{browserSvg:t}},__vite__mapDeps([16,1,2,3,4,5,6]))).browserSvg,card:async()=>(await a(async()=>{const{cardSvg:t}=await import("./card-DgyBT68T.js");return{cardSvg:t}},__vite__mapDeps([17,1,2,3,4,5,6]))).cardSvg,checkmark:async()=>(await a(async()=>{const{checkmarkSvg:t}=await import("./checkmark-7hzDBsql.js");return{checkmarkSvg:t}},__vite__mapDeps([18,1,2,3,4,5,6]))).checkmarkSvg,checkmarkBold:async()=>(await a(async()=>{const{checkmarkBoldSvg:t}=await import("./checkmark-bold-DGsuPsPt.js");return{checkmarkBoldSvg:t}},__vite__mapDeps([19,1,2,3,4,5,6]))).checkmarkBoldSvg,chevronBottom:async()=>(await a(async()=>{const{chevronBottomSvg:t}=await import("./chevron-bottom-KAJVVB8V.js");return{chevronBottomSvg:t}},__vite__mapDeps([20,1,2,3,4,5,6]))).chevronBottomSvg,chevronLeft:async()=>(await a(async()=>{const{chevronLeftSvg:t}=await import("./chevron-left-QtyERYwY.js");return{chevronLeftSvg:t}},__vite__mapDeps([21,1,2,3,4,5,6]))).chevronLeftSvg,chevronRight:async()=>(await a(async()=>{const{chevronRightSvg:t}=await import("./chevron-right-C0eFIW4T.js");return{chevronRightSvg:t}},__vite__mapDeps([22,1,2,3,4,5,6]))).chevronRightSvg,chevronTop:async()=>(await a(async()=>{const{chevronTopSvg:t}=await import("./chevron-top-D_qeKe8O.js");return{chevronTopSvg:t}},__vite__mapDeps([23,1,2,3,4,5,6]))).chevronTopSvg,chromeStore:async()=>(await a(async()=>{const{chromeStoreSvg:t}=await import("./chrome-store-B_QNIif-.js");return{chromeStoreSvg:t}},__vite__mapDeps([24,1,2,3,4,5,6]))).chromeStoreSvg,clock:async()=>(await a(async()=>{const{clockSvg:t}=await import("./clock-Dl1FecER.js");return{clockSvg:t}},__vite__mapDeps([25,1,2,3,4,5,6]))).clockSvg,close:async()=>(await a(async()=>{const{closeSvg:t}=await import("./close-CVONymnQ.js");return{closeSvg:t}},__vite__mapDeps([26,1,2,3,4,5,6]))).closeSvg,compass:async()=>(await a(async()=>{const{compassSvg:t}=await import("./compass-B6DJCHlH.js");return{compassSvg:t}},__vite__mapDeps([27,1,2,3,4,5,6]))).compassSvg,coinPlaceholder:async()=>(await a(async()=>{const{coinPlaceholderSvg:t}=await import("./coinPlaceholder-D5mWuYoH.js");return{coinPlaceholderSvg:t}},__vite__mapDeps([28,1,2,3,4,5,6]))).coinPlaceholderSvg,copy:async()=>(await a(async()=>{const{copySvg:t}=await import("./copy-DXzUKW8b.js");return{copySvg:t}},__vite__mapDeps([29,1,2,3,4,5,6]))).copySvg,cursor:async()=>(await a(async()=>{const{cursorSvg:t}=await import("./cursor-BaYtj4Cp.js");return{cursorSvg:t}},__vite__mapDeps([30,1,2,3,4,5,6]))).cursorSvg,cursorTransparent:async()=>(await a(async()=>{const{cursorTransparentSvg:t}=await import("./cursor-transparent-rkrBpH7G.js");return{cursorTransparentSvg:t}},__vite__mapDeps([31,1,2,3,4,5,6]))).cursorTransparentSvg,desktop:async()=>(await a(async()=>{const{desktopSvg:t}=await import("./desktop-BZmREBP0.js");return{desktopSvg:t}},__vite__mapDeps([32,1,2,3,4,5,6]))).desktopSvg,disconnect:async()=>(await a(async()=>{const{disconnectSvg:t}=await import("./disconnect-JHh9OB23.js");return{disconnectSvg:t}},__vite__mapDeps([33,1,2,3,4,5,6]))).disconnectSvg,discord:async()=>(await a(async()=>{const{discordSvg:t}=await import("./discord-VVP8zM-_.js");return{discordSvg:t}},__vite__mapDeps([34,1,2,3,4,5,6]))).discordSvg,etherscan:async()=>(await a(async()=>{const{etherscanSvg:t}=await import("./etherscan-BbYifZFZ.js");return{etherscanSvg:t}},__vite__mapDeps([35,1,2,3,4,5,6]))).etherscanSvg,extension:async()=>(await a(async()=>{const{extensionSvg:t}=await import("./extension-CYQ7TNQ0.js");return{extensionSvg:t}},__vite__mapDeps([36,1,2,3,4,5,6]))).extensionSvg,externalLink:async()=>(await a(async()=>{const{externalLinkSvg:t}=await import("./external-link-Bl_2Xa1d.js");return{externalLinkSvg:t}},__vite__mapDeps([37,1,2,3,4,5,6]))).externalLinkSvg,facebook:async()=>(await a(async()=>{const{facebookSvg:t}=await import("./facebook-BLoOTkup.js");return{facebookSvg:t}},__vite__mapDeps([38,1,2,3,4,5,6]))).facebookSvg,farcaster:async()=>(await a(async()=>{const{farcasterSvg:t}=await import("./farcaster-S-7ZNLCN.js");return{farcasterSvg:t}},__vite__mapDeps([39,1,2,3,4,5,6]))).farcasterSvg,filters:async()=>(await a(async()=>{const{filtersSvg:t}=await import("./filters-rcIRW8Y2.js");return{filtersSvg:t}},__vite__mapDeps([40,1,2,3,4,5,6]))).filtersSvg,github:async()=>(await a(async()=>{const{githubSvg:t}=await import("./github-1RRpC6gF.js");return{githubSvg:t}},__vite__mapDeps([41,1,2,3,4,5,6]))).githubSvg,google:async()=>(await a(async()=>{const{googleSvg:t}=await import("./google-BrEjql_r.js");return{googleSvg:t}},__vite__mapDeps([42,1,2,3,4,5,6]))).googleSvg,helpCircle:async()=>(await a(async()=>{const{helpCircleSvg:t}=await import("./help-circle-_-klJVev.js");return{helpCircleSvg:t}},__vite__mapDeps([43,1,2,3,4,5,6]))).helpCircleSvg,image:async()=>(await a(async()=>{const{imageSvg:t}=await import("./image-D_WfaLXE.js");return{imageSvg:t}},__vite__mapDeps([44,1,2,3,4,5,6]))).imageSvg,id:async()=>(await a(async()=>{const{idSvg:t}=await import("./id-BruMHf38.js");return{idSvg:t}},__vite__mapDeps([45,1,2,3,4,5,6]))).idSvg,infoCircle:async()=>(await a(async()=>{const{infoCircleSvg:t}=await import("./info-circle-DVJGAyOl.js");return{infoCircleSvg:t}},__vite__mapDeps([46,1,2,3,4,5,6]))).infoCircleSvg,lightbulb:async()=>(await a(async()=>{const{lightbulbSvg:t}=await import("./lightbulb-DFNuvMz-.js");return{lightbulbSvg:t}},__vite__mapDeps([47,1,2,3,4,5,6]))).lightbulbSvg,mail:async()=>(await a(async()=>{const{mailSvg:t}=await import("./mail-Drod4DXU.js");return{mailSvg:t}},__vite__mapDeps([48,1,2,3,4,5,6]))).mailSvg,mobile:async()=>(await a(async()=>{const{mobileSvg:t}=await import("./mobile-BJnalH7G.js");return{mobileSvg:t}},__vite__mapDeps([49,1,2,3,4,5,6]))).mobileSvg,more:async()=>(await a(async()=>{const{moreSvg:t}=await import("./more-CzFkj1ed.js");return{moreSvg:t}},__vite__mapDeps([50,1,2,3,4,5,6]))).moreSvg,networkPlaceholder:async()=>(await a(async()=>{const{networkPlaceholderSvg:t}=await import("./network-placeholder-BLUwDLic.js");return{networkPlaceholderSvg:t}},__vite__mapDeps([51,1,2,3,4,5,6]))).networkPlaceholderSvg,nftPlaceholder:async()=>(await a(async()=>{const{nftPlaceholderSvg:t}=await import("./nftPlaceholder-ChOx-BzT.js");return{nftPlaceholderSvg:t}},__vite__mapDeps([52,1,2,3,4,5,6]))).nftPlaceholderSvg,off:async()=>(await a(async()=>{const{offSvg:t}=await import("./off-CleAz5gO.js");return{offSvg:t}},__vite__mapDeps([53,1,2,3,4,5,6]))).offSvg,playStore:async()=>(await a(async()=>{const{playStoreSvg:t}=await import("./play-store-DwxG6fai.js");return{playStoreSvg:t}},__vite__mapDeps([54,1,2,3,4,5,6]))).playStoreSvg,plus:async()=>(await a(async()=>{const{plusSvg:t}=await import("./plus-Bvi_TZCr.js");return{plusSvg:t}},__vite__mapDeps([55,1,2,3,4,5,6]))).plusSvg,qrCode:async()=>(await a(async()=>{const{qrCodeIcon:t}=await import("./qr-code-A_RC2EmO.js");return{qrCodeIcon:t}},__vite__mapDeps([56,1,2,3,4,5,6]))).qrCodeIcon,recycleHorizontal:async()=>(await a(async()=>{const{recycleHorizontalSvg:t}=await import("./recycle-horizontal-B2rk_278.js");return{recycleHorizontalSvg:t}},__vite__mapDeps([57,1,2,3,4,5,6]))).recycleHorizontalSvg,refresh:async()=>(await a(async()=>{const{refreshSvg:t}=await import("./refresh-V894JvlS.js");return{refreshSvg:t}},__vite__mapDeps([58,1,2,3,4,5,6]))).refreshSvg,search:async()=>(await a(async()=>{const{searchSvg:t}=await import("./search-DI_vEcaH.js");return{searchSvg:t}},__vite__mapDeps([59,1,2,3,4,5,6]))).searchSvg,send:async()=>(await a(async()=>{const{sendSvg:t}=await import("./send-ng28MvLm.js");return{sendSvg:t}},__vite__mapDeps([60,1,2,3,4,5,6]))).sendSvg,swapHorizontal:async()=>(await a(async()=>{const{swapHorizontalSvg:t}=await import("./swapHorizontal-D0cqXt37.js");return{swapHorizontalSvg:t}},__vite__mapDeps([61,1,2,3,4,5,6]))).swapHorizontalSvg,swapHorizontalMedium:async()=>(await a(async()=>{const{swapHorizontalMediumSvg:t}=await import("./swapHorizontalMedium-CjEnNl_e.js");return{swapHorizontalMediumSvg:t}},__vite__mapDeps([62,1,2,3,4,5,6]))).swapHorizontalMediumSvg,swapHorizontalBold:async()=>(await a(async()=>{const{swapHorizontalBoldSvg:t}=await import("./swapHorizontalBold-CtmXcN3X.js");return{swapHorizontalBoldSvg:t}},__vite__mapDeps([63,1,2,3,4,5,6]))).swapHorizontalBoldSvg,swapHorizontalRoundedBold:async()=>(await a(async()=>{const{swapHorizontalRoundedBoldSvg:t}=await import("./swapHorizontalRoundedBold-DmunpO0t.js");return{swapHorizontalRoundedBoldSvg:t}},__vite__mapDeps([64,1,2,3,4,5,6]))).swapHorizontalRoundedBoldSvg,swapVertical:async()=>(await a(async()=>{const{swapVerticalSvg:t}=await import("./swapVertical-BSmQhuqF.js");return{swapVerticalSvg:t}},__vite__mapDeps([65,1,2,3,4,5,6]))).swapVerticalSvg,telegram:async()=>(await a(async()=>{const{telegramSvg:t}=await import("./telegram-BwcgdqeC.js");return{telegramSvg:t}},__vite__mapDeps([66,1,2,3,4,5,6]))).telegramSvg,threeDots:async()=>(await a(async()=>{const{threeDotsSvg:t}=await import("./three-dots-C4jGuJ67.js");return{threeDotsSvg:t}},__vite__mapDeps([67,1,2,3,4,5,6]))).threeDotsSvg,twitch:async()=>(await a(async()=>{const{twitchSvg:t}=await import("./twitch-DSM_HUQO.js");return{twitchSvg:t}},__vite__mapDeps([68,1,2,3,4,5,6]))).twitchSvg,twitter:async()=>(await a(async()=>{const{xSvg:t}=await import("./x-CMcLjjTv.js");return{xSvg:t}},__vite__mapDeps([69,1,2,3,4,5,6]))).xSvg,twitterIcon:async()=>(await a(async()=>{const{twitterIconSvg:t}=await import("./twitterIcon-55En8ege.js");return{twitterIconSvg:t}},__vite__mapDeps([70,1,2,3,4,5,6]))).twitterIconSvg,verify:async()=>(await a(async()=>{const{verifySvg:t}=await import("./verify-B-XAdwYY.js");return{verifySvg:t}},__vite__mapDeps([71,1,2,3,4,5,6]))).verifySvg,verifyFilled:async()=>(await a(async()=>{const{verifyFilledSvg:t}=await import("./verify-filled-BT00Wrp3.js");return{verifyFilledSvg:t}},__vite__mapDeps([72,1,2,3,4,5,6]))).verifyFilledSvg,wallet:async()=>(await a(async()=>{const{walletSvg:t}=await import("./wallet-C3hGKolu.js");return{walletSvg:t}},__vite__mapDeps([73,1,2,3,4,5,6]))).walletSvg,walletConnect:async()=>(await a(async()=>{const{walletConnectSvg:t}=await import("./walletconnect-Blbor9eR.js");return{walletConnectSvg:t}},__vite__mapDeps([74,1,2,3,4,5,6]))).walletConnectSvg,walletConnectLightBrown:async()=>(await a(async()=>{const{walletConnectLightBrownSvg:t}=await import("./walletconnect-Blbor9eR.js");return{walletConnectLightBrownSvg:t}},__vite__mapDeps([74,1,2,3,4,5,6]))).walletConnectLightBrownSvg,walletConnectBrown:async()=>(await a(async()=>{const{walletConnectBrownSvg:t}=await import("./walletconnect-Blbor9eR.js");return{walletConnectBrownSvg:t}},__vite__mapDeps([74,1,2,3,4,5,6]))).walletConnectBrownSvg,walletPlaceholder:async()=>(await a(async()=>{const{walletPlaceholderSvg:t}=await import("./wallet-placeholder-CgMPW3Yz.js");return{walletPlaceholderSvg:t}},__vite__mapDeps([75,1,2,3,4,5,6]))).walletPlaceholderSvg,warningCircle:async()=>(await a(async()=>{const{warningCircleSvg:t}=await import("./warning-circle-aLVajLoj.js");return{warningCircleSvg:t}},__vite__mapDeps([76,1,2,3,4,5,6]))).warningCircleSvg,x:async()=>(await a(async()=>{const{xSvg:t}=await import("./x-CMcLjjTv.js");return{xSvg:t}},__vite__mapDeps([69,1,2,3,4,5,6]))).xSvg,info:async()=>(await a(async()=>{const{infoSvg:t}=await import("./info-XfmynO47.js");return{infoSvg:t}},__vite__mapDeps([77,1,2,3,4,5,6]))).infoSvg,exclamationTriangle:async()=>(await a(async()=>{const{exclamationTriangleSvg:t}=await import("./exclamation-triangle-CpcXflnC.js");return{exclamationTriangleSvg:t}},__vite__mapDeps([78,1,2,3,4,5,6]))).exclamationTriangleSvg,reown:async()=>(await a(async()=>{const{reownSvg:t}=await import("./reown-logo-BNIMS198.js");return{reownSvg:t}},__vite__mapDeps([79,1,2,3,4,5,6]))).reownSvg};async function gt(t){if(D.has(t))return D.get(t);const i=(M[t]??M.copy)();return D.set(t,i),i}let m=class extends b{constructor(){super(...arguments),this.size="md",this.name="copy",this.color="fg-300",this.aspectRatio="1 / 1"}render(){return this.style.cssText=`
|
|
86
86
|
--local-color: ${`var(--wui-color-${this.color});`}
|
|
87
87
|
--local-width: ${`var(--wui-icon-size-${this.size});`}
|
|
88
88
|
--local-aspect-ratio: ${this.aspectRatio}
|
package/assets/index-Dy0yjznp.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
let m;if(globalThis.__federation_shared__?.default?.["react"]){const{importShared:s}=await import("./__federation_fn_import-
|
|
1
|
+
let m;if(globalThis.__federation_shared__?.default?.["react"]){const{importShared:s}=await import("./__federation_fn_import-DOOor4Tc.js");m=await s("react");}else{m=await import("./index-Dy0yjznp__bundled.js");}export const i=m.i??m;export const r=m.r??m;
|
package/assets/index-VfkM29PH.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
let m;if(globalThis.__federation_shared__?.default?.["react-dom"]){const{importShared:s}=await import("./__federation_fn_import-
|
|
1
|
+
let m;if(globalThis.__federation_shared__?.default?.["react-dom"]){const{importShared:s}=await import("./__federation_fn_import-DOOor4Tc.js");m=await s("react-dom");}else{m=await import("./index-VfkM29PH__bundled.js");}export const i=m.i??m;export const r=m.r??m;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
const __vite__fileDeps=["assets/index.umd-6zndRFhB.js","assets/_commonjsHelpers-C4iS2aBk.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
|
|
2
|
-
import{_ as n}from"./preload-helper-
|
|
2
|
+
import{_ as n}from"./preload-helper-CDMQs6vf.js";import{_ as o,a}from"./tslib.es6-DbvBTznf.js";function u(i){return o(this,void 0,void 0,function(){var r;return a(this,function(t){switch(t.label){case 0:return[4,n(()=>import("./index.umd-6zndRFhB.js").then(e=>e.i),__vite__mapDeps([0,1]))];case 1:return r=t.sent(),i._plugins=r,[2]}})})}export{u as loadLegacyVideoPlugins};
|