@dcl/blog-site 0.2.1 → 0.2.2-23254983230.commit-13ab004

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.
Files changed (97) hide show
  1. package/assets/{add-DDmiKSFa.js → add-CM7Oy1gX.js} +1 -1
  2. package/assets/{all-wallets-DC01LqWF.js → all-wallets-D2U_v-9_.js} +1 -1
  3. package/assets/{app-store-C2QH_szq.js → app-store-Dfl-FL-3.js} +1 -1
  4. package/assets/{apple-CXj8DdVt.js → apple-C04xuiX_.js} +1 -1
  5. package/assets/{arrow-bottom-Dt2_a4Uc.js → arrow-bottom-DO7o-ud_.js} +1 -1
  6. package/assets/{arrow-bottom-circle-TcBObsHz.js → arrow-bottom-circle-DbDXiY4a.js} +1 -1
  7. package/assets/{arrow-left-C7Dfuyvz.js → arrow-left-C0YdSG3c.js} +1 -1
  8. package/assets/{arrow-right-DQuxvPSv.js → arrow-right-B4LXzvkE.js} +1 -1
  9. package/assets/{arrow-top-B4EyC6oJ.js → arrow-top-ZEEoOR5P.js} +1 -1
  10. package/assets/{auto-track-BFFg9YAK.js → auto-track-BkOmA8dy.js} +1 -1
  11. package/assets/{bank-DWNW3eFi.js → bank-DDihP-YK.js} +1 -1
  12. package/assets/{basic-CqJIYk7E.js → basic-IFyAPP6m.js} +1 -1
  13. package/assets/{browser-B_-ItlW_.js → browser-CugrPgP8.js} +1 -1
  14. package/assets/{card-CILIst2o.js → card-1djIW3Sq.js} +1 -1
  15. package/assets/{ccip-uhjATGap.js → ccip-CgOm9bpZ.js} +1 -1
  16. package/assets/{checkmark-DeIpEs1l.js → checkmark-B-GQ3Bty.js} +1 -1
  17. package/assets/{checkmark-bold-C_61zTYK.js → checkmark-bold-DaJ4NB0M.js} +1 -1
  18. package/assets/{chevron-bottom-9T9F_74l.js → chevron-bottom-E3cIRCHx.js} +1 -1
  19. package/assets/{chevron-left-ZXigefUh.js → chevron-left-cfiwoYL2.js} +1 -1
  20. package/assets/{chevron-right-CAy3jHy9.js → chevron-right-Bi0wAlkC.js} +1 -1
  21. package/assets/{chevron-top-BdbIiSwG.js → chevron-top-Dvy-mT-Q.js} +1 -1
  22. package/assets/{chrome-store-C2XnnQkV.js → chrome-store-jLTBDMsT.js} +1 -1
  23. package/assets/{clock-Bz8Zp6Co.js → clock-Cu71vTwS.js} +1 -1
  24. package/assets/{close-D2mqnZfU.js → close-CGpDmF0s.js} +1 -1
  25. package/assets/{coinPlaceholder-DDkOYyU1.js → coinPlaceholder-yV5H3hR0.js} +1 -1
  26. package/assets/{compass-C8fw5jfC.js → compass-FUYlYGfk.js} +1 -1
  27. package/assets/{copy-a_HfxYLy.js → copy-PGKwxkJU.js} +1 -1
  28. package/assets/{core-U204j_bI.js → core-C96jYywG.js} +4 -4
  29. package/assets/{cursor-C9RcPFVI.js → cursor-D2mg8Gyv.js} +1 -1
  30. package/assets/{cursor-transparent-D0OfS4QP.js → cursor-transparent-CtSbSQQk.js} +1 -1
  31. package/assets/{desktop-BQBasLqG.js → desktop-iPBjnXAN.js} +1 -1
  32. package/assets/{disconnect-DElTat18.js → disconnect-D5jznwqW.js} +1 -1
  33. package/assets/{discord-C7fZNpsD.js → discord-DzFxdsuX.js} +1 -1
  34. package/assets/{etherscan-BezQZOy1.js → etherscan-By1r1xLf.js} +1 -1
  35. package/assets/{exclamation-triangle-DSs74NXb.js → exclamation-triangle-DaMK2CHd.js} +1 -1
  36. package/assets/{extension-Drl0Yq5h.js → extension-BEee2k6J.js} +1 -1
  37. package/assets/{external-link-BElCAjBD.js → external-link-BOSbEeUD.js} +1 -1
  38. package/assets/{facebook-C95SplI1.js → facebook-BLwIpi5O.js} +1 -1
  39. package/assets/{farcaster-hgy-b3WU.js → farcaster-C4mxa9o2.js} +1 -1
  40. package/assets/{filters-CVfSTbCU.js → filters-CaceXKZ3.js} +1 -1
  41. package/assets/{github-_DsFpXFL.js → github-y-uzIMx5.js} +1 -1
  42. package/assets/{google-K_hOZ0IZ.js → google-Cx4-f87H.js} +1 -1
  43. package/assets/{help-circle-8Aiq3Vak.js → help-circle-_5wnPvnR.js} +1 -1
  44. package/assets/{id-Co_-DHw4.js → id-DJpu9U0I.js} +1 -1
  45. package/assets/{image-CWwCZyLK.js → image-CUTyXiMb.js} +1 -1
  46. package/assets/{index-BHO3IhfZ.js → index-BMFHsdqp.js} +1 -1
  47. package/assets/{index-BFHHrVBG.js → index-BY-Dhkid.js} +1 -1
  48. package/assets/{index-DK-FwhFH.js → index-Clsnlp7v.js} +1 -1
  49. package/assets/{index-CvCoQvoF.js → index-DD9Iq7Sk.js} +1 -1
  50. package/assets/{index-DNhKcEat.js → index-DFNqdVsH.js} +1 -1
  51. package/assets/{index-BzJXlud5.js → index-DGyUl-Nq.js} +87 -87
  52. package/assets/index-DHkT-Yq9.js +2 -0
  53. package/assets/{index-I4GHeC7o.js → index-DwVJ8eGg.js} +3 -3
  54. package/assets/{index-n2uXTT5n.js → index-NqR5QU3S.js} +1 -1
  55. package/assets/{index-BF30EhGq.js → index-qOdACiUT.js} +2 -2
  56. package/assets/{index.es-CJShRzl8.js → index.es-D1whziCG.js} +4 -4
  57. package/assets/{index.umd-BQwmTmay.js → index.umd-Bnk962fh.js} +1 -1
  58. package/assets/{info-BiTWqOS2.js → info-Dbdz60ls.js} +1 -1
  59. package/assets/{info-circle-BlwtSH6V.js → info-circle-DQ7_PXN3.js} +1 -1
  60. package/assets/{lightbulb-DhJfj8MH.js → lightbulb--YSfe9ZB.js} +1 -1
  61. package/assets/{localBatchGatewayRequest-Gsv0T8EJ.js → localBatchGatewayRequest-DmwB4zYG.js} +1 -1
  62. package/assets/{mail-lEAuFBjI.js → mail-Bni47LJj.js} +1 -1
  63. package/assets/{mobile-vCIqBTka.js → mobile-38-nkrdR.js} +1 -1
  64. package/assets/{more-CNs-UlcY.js → more-DlNqty95.js} +1 -1
  65. package/assets/{network-placeholder-dEBkyLBn.js → network-placeholder-rj_tjk6V.js} +1 -1
  66. package/assets/{nftPlaceholder-_Yrwy0gl.js → nftPlaceholder-CyjTjkSj.js} +1 -1
  67. package/assets/{off-DGNi0YJQ.js → off-CRFBLL_K.js} +1 -1
  68. package/assets/{play-store-BOAMj2E1.js → play-store-BVrV0eGZ.js} +1 -1
  69. package/assets/{plus-B3CQt1QT.js → plus-Bw_eqymg.js} +1 -1
  70. package/assets/{qr-code-BAy9g_ON.js → qr-code-DVvgdAoQ.js} +1 -1
  71. package/assets/{recycle-horizontal-Df0Vqa14.js → recycle-horizontal-DNnA0yNI.js} +1 -1
  72. package/assets/{refresh-BxEO_tim.js → refresh-Bqu4Yta4.js} +1 -1
  73. package/assets/{reown-logo-y7EqMfkb.js → reown-logo-CUbUby3v.js} +1 -1
  74. package/assets/{search-C8bQGcPS.js → search-Bhg6xBiL.js} +1 -1
  75. package/assets/{secp256k1-Dm2IR8Ly.js → secp256k1-CaP96LHm.js} +1 -1
  76. package/assets/{secp256k1-D6itJ-3R.js → secp256k1-un-DLKwv.js} +1 -1
  77. package/assets/{send-D6d3c-Pn.js → send-Ber9_hwJ.js} +1 -1
  78. package/assets/{swapHorizontal-kAJKtdFO.js → swapHorizontal-D0Z0hUi4.js} +1 -1
  79. package/assets/{swapHorizontalBold-3GOCFzN3.js → swapHorizontalBold-CcL96oCw.js} +1 -1
  80. package/assets/{swapHorizontalMedium-Zch-_6kr.js → swapHorizontalMedium-jAS2GVHc.js} +1 -1
  81. package/assets/{swapHorizontalRoundedBold-BWMTRDi0.js → swapHorizontalRoundedBold-BIkU3_34.js} +1 -1
  82. package/assets/{swapVertical-xZuzYdEd.js → swapVertical-BzVd1wD8.js} +1 -1
  83. package/assets/{telegram-Bj2RBZxQ.js → telegram-Bxk71eFh.js} +1 -1
  84. package/assets/{three-dots-Cc-tfMGr.js → three-dots-CHdcLMTT.js} +1 -1
  85. package/assets/{twitch-BI5kalH0.js → twitch-B8ssA58f.js} +1 -1
  86. package/assets/{twitterIcon-CLAvdnm3.js → twitterIcon-DT5yyLAX.js} +1 -1
  87. package/assets/{verify-BTOHn-c8.js → verify-D52AnISY.js} +1 -1
  88. package/assets/{verify-filled-k4EYM7Cx.js → verify-filled-DdPXKGRn.js} +1 -1
  89. package/assets/{w3m-modal-BN_vVw5I.js → w3m-modal-DTzVbxgV.js} +1 -1
  90. package/assets/{wallet-DyXqcjym.js → wallet-CCPL3uO0.js} +1 -1
  91. package/assets/{wallet-placeholder-XWpW8ukm.js → wallet-placeholder-0l7u-paq.js} +1 -1
  92. package/assets/{walletconnect-BY5z5AWv.js → walletconnect-bdlfQczX.js} +1 -1
  93. package/assets/{warning-circle-B_CSTZ92.js → warning-circle-B-7RoNfz.js} +1 -1
  94. package/assets/{x-BMYVgeVC.js → x-DY7t-FCx.js} +1 -1
  95. package/index.html +3 -3
  96. package/package.json +3 -3
  97. package/assets/index-DWZ1rox-.js +0 -2
@@ -1,4 +1,4 @@
1
- import{bH as Aa,f as ee,bN as br,h as an,bO as qh,i as zh}from"./index-BzJXlud5.js";import{i as Mt}from"./inherits_browser-BlmhoU4v.js";import{p as Gh,a as Jh}from"./hooks.module-Dz_XB4AG.js";const Zh=Object.freeze(Object.defineProperty({__proto__:null,EventEmitter:Aa,default:Aa},Symbol.toStringTag,{value:"Module"}));var Co={exports:{}},$s,ka;function Kh(){if(ka)return $s;ka=1;var e=1e3,t=e*60,r=t*60,n=r*24,i=n*7,s=n*365.25;$s=function(p,v){v=v||{};var b=typeof p;if(b==="string"&&p.length>0)return c(p);if(b==="number"&&isFinite(p))return v.long?f(p):o(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 b=parseFloat(v[1]),k=(v[2]||"ms").toLowerCase();switch(k){case"years":case"year":case"yrs":case"yr":case"y":return b*s;case"weeks":case"week":case"w":return b*i;case"days":case"day":case"d":return b*n;case"hours":case"hour":case"hrs":case"hr":case"h":return b*r;case"minutes":case"minute":case"mins":case"min":case"m":return b*t;case"seconds":case"second":case"secs":case"sec":case"s":return b*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return b;default:return}}}}function o(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,b,k){var j=v>=b*1.5;return Math.round(p/b)+" "+k+(j?"s":"")}return $s}function Yh(e){r.debug=r,r.default=r,r.coerce=f,r.disable=s,r.enable=i,r.enabled=c,r.humanize=Kh(),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 b=0;b<p.length;b++)v=(v<<5)-v+p.charCodeAt(b),v|=0;return r.colors[Math.abs(v)%r.colors.length]}r.selectColor=t;function r(p){let v,b=null,k,j;function O(...H){if(!O.enabled)return;const A=O,P=Number(new Date),$=P-(v||P);A.diff=$,A.prev=v,A.curr=P,v=P,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 Q=r.formatters[te];if(typeof Q=="function"){const Y=H[V];z=Q.call(A,Y),H.splice(V,1),V--}return z}),r.formatArgs.call(A,H),(A.log||r.log).apply(A,H)}return O.namespace=p,O.useColors=r.useColors(),O.color=r.selectColor(p),O.extend=n,O.destroy=r.destroy,Object.defineProperty(O,"enabled",{enumerable:!0,configurable:!1,get:()=>b!==null?b:(k!==r.namespaces&&(k=r.namespaces,j=r.enabled(p)),j),set:H=>{b=H}}),typeof r.init=="function"&&r.init(O),O}function n(p,v){const b=r(this.namespace+(typeof v>"u"?":":v)+p);return b.log=this.log,b}function i(p){r.save(p),r.namespaces=p,r.names=[],r.skips=[];let v;const b=(typeof p=="string"?p:"").split(/[\s,]+/),k=b.length;for(v=0;v<k;v++)b[v]&&(p=b[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(o),...r.skips.map(o).map(v=>"-"+v)].join(",");return r.enable(""),p}function c(p){if(p[p.length-1]==="*")return!0;let v,b;for(v=0,b=r.skips.length;v<b;v++)if(r.skips[v].test(p))return!1;for(v=0,b=r.names.length;v<b;v++)if(r.names[v].test(p))return!0;return!1}function o(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 Qh=Yh;(function(e,t){var r={};t.formatArgs=i,t.save=s,t.load=c,t.useColors=n,t.storage=o(),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,b=0;g[0].replace(/%[a-zA-Z%]/g,k=>{k!=="%%"&&(v++,k==="%c"&&(b=v))}),g.splice(b,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 o(){try{return localStorage}catch{}}e.exports=Qh(t);const{formatters:f}=e.exports;f.j=function(g){try{return JSON.stringify(g)}catch(p){return"[UnexpectedJSONParseError]: "+p.message}}})(Co,Co.exports);var Xh=Co.exports,ef=En;En.default=En;En.stable=xl;En.stableStringify=xl;var Ii="[...]",Ml="[Circular]",_r=[],mr=[];function Il(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function En(e,t,r,n){typeof n>"u"&&(n=Il()),Mo(e,"",0,[],void 0,0,n);var i;try{mr.length===0?i=JSON.stringify(e,t,r):i=JSON.stringify(e,Al(t),r)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;_r.length!==0;){var s=_r.pop();s.length===4?Object.defineProperty(s[0],s[1],s[3]):s[0][s[1]]=s[2]}}return i}function Gr(e,t,r,n){var i=Object.getOwnPropertyDescriptor(n,r);i.get!==void 0?i.configurable?(Object.defineProperty(n,r,{value:e}),_r.push([n,r,t,i])):mr.push([t,r,e]):(n[r]=e,_r.push([n,r,t]))}function Mo(e,t,r,n,i,s,c){s+=1;var o;if(typeof e=="object"&&e!==null){for(o=0;o<n.length;o++)if(n[o]===e){Gr(Ml,e,t,i);return}if(typeof c.depthLimit<"u"&&s>c.depthLimit){Gr(Ii,e,t,i);return}if(typeof c.edgesLimit<"u"&&r+1>c.edgesLimit){Gr(Ii,e,t,i);return}if(n.push(e),Array.isArray(e))for(o=0;o<e.length;o++)Mo(e[o],o,o,n,e,s,c);else{var f=Object.keys(e);for(o=0;o<f.length;o++){var g=f[o];Mo(e[g],g,o,n,e,s,c)}}n.pop()}}function tf(e,t){return e<t?-1:e>t?1:0}function xl(e,t,r,n){typeof n>"u"&&(n=Il());var i=Io(e,"",0,[],void 0,0,n)||e,s;try{mr.length===0?s=JSON.stringify(i,t,r):s=JSON.stringify(i,Al(t),r)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;_r.length!==0;){var c=_r.pop();c.length===4?Object.defineProperty(c[0],c[1],c[3]):c[0][c[1]]=c[2]}}return s}function Io(e,t,r,n,i,s,c){s+=1;var o;if(typeof e=="object"&&e!==null){for(o=0;o<n.length;o++)if(n[o]===e){Gr(Ml,e,t,i);return}try{if(typeof e.toJSON=="function")return}catch{return}if(typeof c.depthLimit<"u"&&s>c.depthLimit){Gr(Ii,e,t,i);return}if(typeof c.edgesLimit<"u"&&r+1>c.edgesLimit){Gr(Ii,e,t,i);return}if(n.push(e),Array.isArray(e))for(o=0;o<e.length;o++)Io(e[o],o,o,n,e,s,c);else{var f={},g=Object.keys(e).sort(tf);for(o=0;o<g.length;o++){var p=g[o];Io(e[p],p,o,n,e,s,c),f[p]=e[p]}if(typeof i<"u")_r.push([i,t,e]),i[t]=f;else return f}n.pop()}}function Al(e){return e=typeof e<"u"?e:function(t,r){return r},function(t,r){if(mr.length>0)for(var n=0;n<mr.length;n++){var i=mr[n];if(i[1]===t&&i[0]===r){r=i[2],mr.splice(n,1);break}}return e.call(this,t,r)}}var bi=Object.defineProperty||!1;if(bi)try{bi({},"a",{value:1})}catch{bi=!1}var Pi=bi,kl=SyntaxError,In=TypeError,rf=Object.getOwnPropertyDescriptor,_i=rf;if(_i)try{_i([],"length")}catch{_i=null}var xn=_i,Ta=Pi,nf=kl,Lr=In,Ba=xn,sf=function(t,r,n){if(!t||typeof t!="object"&&typeof t!="function")throw new Lr("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new Lr("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Lr("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Lr("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Lr("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Lr("`loose`, if provided, must be a boolean");var i=arguments.length>3?arguments[3]:null,s=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,o=arguments.length>6?arguments[6]:!1,f=!!Ba&&Ba(t,r);if(Ta)Ta(t,r,{configurable:c===null&&f?f.configurable:!c,enumerable:i===null&&f?f.enumerable:!i,value:n,writable:s===null&&f?f.writable:!s});else if(o||!i&&!s&&!c)t[r]=n;else throw new nf("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},xo=Pi,Tl=function(){return!!xo};Tl.hasArrayLengthDefineBug=function(){if(!xo)return null;try{return xo([],"length",{value:1}).length!==1}catch{return!0}};var of=Tl,Bl={exports:{}},Nl=Object,af=Error,cf=EvalError,lf=RangeError,uf=ReferenceError,hf=URIError,ff=Math.abs,df=Math.floor,pf=Math.max,gf=Math.min,mf=Math.pow,yf=Math.round,vf=Number.isNaN||function(t){return t!==t},wf=vf,bf=function(t){return wf(t)||t===0?t:t<0?-1:1},Pl=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;t[r]=i;for(var s in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var c=Object.getOwnPropertySymbols(t);if(c.length!==1||c[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var o=Object.getOwnPropertyDescriptor(t,r);if(o.value!==i||o.enumerable!==!0)return!1}return!0},Na=typeof Symbol<"u"&&Symbol,_f=Pl,Ef=function(){return typeof Na!="function"||typeof Symbol!="function"||typeof Na("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:_f()},Ll=typeof Reflect<"u"&&Reflect.getPrototypeOf||null,Sf=Nl,Ol=Sf.getPrototypeOf||null,Fs,Pa;function Rf(){if(Pa)return Fs;Pa=1;var e="Function.prototype.bind called on incompatible ",t=Object.prototype.toString,r=Math.max,n="[object Function]",i=function(f,g){for(var p=[],v=0;v<f.length;v+=1)p[v]=f[v];for(var b=0;b<g.length;b+=1)p[b+f.length]=g[b];return p},s=function(f,g){for(var p=[],v=g,b=0;v<f.length;v+=1,b+=1)p[b]=f[v];return p},c=function(o,f){for(var g="",p=0;p<o.length;p+=1)g+=o[p],p+1<o.length&&(g+=f);return g};return Fs=function(f){var g=this;if(typeof g!="function"||t.apply(g)!==n)throw new TypeError(e+g);for(var p=s(arguments,1),v,b=function(){if(this instanceof v){var A=g.apply(this,i(p,arguments));return Object(A)===A?A:this}return g.apply(f,i(p,arguments))},k=r(0,g.length-p.length),j=[],O=0;O<k;O++)j[O]="$"+O;if(v=Function("binder","return function ("+c(j,",")+"){ return binder.apply(this,arguments); }")(b),g.prototype){var H=function(){};H.prototype=g.prototype,v.prototype=new H,H.prototype=null}return v},Fs}var Ds,La;function An(){if(La)return Ds;La=1;var e=Rf();return Ds=Function.prototype.bind||e,Ds}var js,Oa;function Do(){return Oa||(Oa=1,js=Function.prototype.call),js}var Us,$a;function jo(){return $a||($a=1,Us=Function.prototype.apply),Us}var Cf=typeof Reflect<"u"&&Reflect&&Reflect.apply,Mf=An(),If=jo(),xf=Do(),Af=Cf,$l=Af||Mf.call(xf,If),kf=An(),Tf=In,Bf=Do(),Nf=$l,Uo=function(t){if(t.length<1||typeof t[0]!="function")throw new Tf("a function is required");return Nf(kf,Bf,t)},Pf=Uo,Fa=xn,Fl;try{Fl=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!="object"||!("code"in e)||e.code!=="ERR_PROTO_ACCESS")throw e}var Hs=!!Fl&&Fa&&Fa(Object.prototype,"__proto__"),Dl=Object,Da=Dl.getPrototypeOf,Lf=Hs&&typeof Hs.get=="function"?Pf([Hs.get]):typeof Da=="function"?function(t){return Da(t==null?t:Dl(t))}:!1,ja=Ll,Ua=Ol,Ha=Lf,jl=ja?function(t){return ja(t)}:Ua?function(t){if(!t||typeof t!="object"&&typeof t!="function")throw new TypeError("getProto: not an object");return Ua(t)}:Ha?function(t){return Ha(t)}:null,Of=Function.prototype.call,$f=Object.prototype.hasOwnProperty,Ff=An(),Df=Ff.call(Of,$f),me,jf=Nl,Uf=af,Hf=cf,Wf=lf,Vf=uf,Qr=kl,Jr=In,qf=hf,zf=ff,Gf=df,Jf=pf,Zf=gf,Kf=mf,Yf=yf,Qf=bf,Ul=Function,Ws=function(e){try{return Ul('"use strict"; return ('+e+").constructor;")()}catch{}},Sn=xn,Xf=Pi,Vs=function(){throw new Jr},ed=Sn?function(){try{return arguments.callee,Vs}catch{try{return Sn(arguments,"callee").get}catch{return Vs}}}():Vs,Or=Ef(),et=jl,td=Ol,rd=Ll,Hl=jo(),kn=Do(),Wr={},nd=typeof Uint8Array>"u"||!et?me:et(Uint8Array),vr={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?me:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?me:ArrayBuffer,"%ArrayIteratorPrototype%":Or&&et?et([][Symbol.iterator]()):me,"%AsyncFromSyncIteratorPrototype%":me,"%AsyncFunction%":Wr,"%AsyncGenerator%":Wr,"%AsyncGeneratorFunction%":Wr,"%AsyncIteratorPrototype%":Wr,"%Atomics%":typeof Atomics>"u"?me:Atomics,"%BigInt%":typeof BigInt>"u"?me:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?me:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?me:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?me:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Uf,"%eval%":eval,"%EvalError%":Hf,"%Float16Array%":typeof Float16Array>"u"?me:Float16Array,"%Float32Array%":typeof Float32Array>"u"?me:Float32Array,"%Float64Array%":typeof Float64Array>"u"?me:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?me:FinalizationRegistry,"%Function%":Ul,"%GeneratorFunction%":Wr,"%Int8Array%":typeof Int8Array>"u"?me:Int8Array,"%Int16Array%":typeof Int16Array>"u"?me:Int16Array,"%Int32Array%":typeof Int32Array>"u"?me:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Or&&et?et(et([][Symbol.iterator]())):me,"%JSON%":typeof JSON=="object"?JSON:me,"%Map%":typeof Map>"u"?me:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Or||!et?me:et(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":jf,"%Object.getOwnPropertyDescriptor%":Sn,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?me:Promise,"%Proxy%":typeof Proxy>"u"?me:Proxy,"%RangeError%":Wf,"%ReferenceError%":Vf,"%Reflect%":typeof Reflect>"u"?me:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?me:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Or||!et?me:et(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?me:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Or&&et?et(""[Symbol.iterator]()):me,"%Symbol%":Or?Symbol:me,"%SyntaxError%":Qr,"%ThrowTypeError%":ed,"%TypedArray%":nd,"%TypeError%":Jr,"%Uint8Array%":typeof Uint8Array>"u"?me:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?me:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?me:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?me:Uint32Array,"%URIError%":qf,"%WeakMap%":typeof WeakMap>"u"?me:WeakMap,"%WeakRef%":typeof WeakRef>"u"?me:WeakRef,"%WeakSet%":typeof WeakSet>"u"?me:WeakSet,"%Function.prototype.call%":kn,"%Function.prototype.apply%":Hl,"%Object.defineProperty%":Xf,"%Object.getPrototypeOf%":td,"%Math.abs%":zf,"%Math.floor%":Gf,"%Math.max%":Jf,"%Math.min%":Zf,"%Math.pow%":Kf,"%Math.round%":Yf,"%Math.sign%":Qf,"%Reflect.getPrototypeOf%":rd};if(et)try{null.error}catch(e){var id=et(et(e));vr["%Error.prototype%"]=id}var sd=function e(t){var r;if(t==="%AsyncFunction%")r=Ws("async function () {}");else if(t==="%GeneratorFunction%")r=Ws("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=Ws("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&et&&(r=et(i.prototype))}return vr[t]=r,r},Wa={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Tn=An(),xi=Df,od=Tn.call(kn,Array.prototype.concat),ad=Tn.call(Hl,Array.prototype.splice),Va=Tn.call(kn,String.prototype.replace),Ai=Tn.call(kn,String.prototype.slice),cd=Tn.call(kn,RegExp.prototype.exec),ld=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ud=/\\(\\)?/g,hd=function(t){var r=Ai(t,0,1),n=Ai(t,-1);if(r==="%"&&n!=="%")throw new Qr("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new Qr("invalid intrinsic syntax, expected opening `%`");var i=[];return Va(t,ld,function(s,c,o,f){i[i.length]=o?Va(f,ud,"$1"):c||s}),i},fd=function(t,r){var n=t,i;if(xi(Wa,n)&&(i=Wa[n],n="%"+i[0]+"%"),xi(vr,n)){var s=vr[n];if(s===Wr&&(s=sd(n)),typeof s>"u"&&!r)throw new Jr("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:s}}throw new Qr("intrinsic "+t+" does not exist!")},Wl=function(t,r){if(typeof t!="string"||t.length===0)throw new Jr("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new Jr('"allowMissing" argument must be a boolean');if(cd(/^%?[^%]*%?$/,t)===null)throw new Qr("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=hd(t),i=n.length>0?n[0]:"",s=fd("%"+i+"%",r),c=s.name,o=s.value,f=!1,g=s.alias;g&&(i=g[0],ad(n,od([0,1],g)));for(var p=1,v=!0;p<n.length;p+=1){var b=n[p],k=Ai(b,0,1),j=Ai(b,-1);if((k==='"'||k==="'"||k==="`"||j==='"'||j==="'"||j==="`")&&k!==j)throw new Qr("property names with quotes must have matching quotes");if((b==="constructor"||!v)&&(f=!0),i+="."+b,c="%"+i+"%",xi(vr,c))o=vr[c];else if(o!=null){if(!(b in o)){if(!r)throw new Jr("base intrinsic for "+t+" exists, but the property is not available.");return}if(Sn&&p+1>=n.length){var O=Sn(o,b);v=!!O,v&&"get"in O&&!("originalValue"in O.get)?o=O.get:o=o[b]}else v=xi(o,b),o=o[b];v&&!f&&(vr[c]=o)}}return o},dd=Wl,qa=sf,pd=of(),za=xn,Ga=In,gd=dd("%Math.floor%"),md=function(t,r){if(typeof t!="function")throw new Ga("`fn` is not a function");if(typeof r!="number"||r<0||r>4294967295||gd(r)!==r)throw new Ga("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],i=!0,s=!0;if("length"in t&&za){var c=za(t,"length");c&&!c.configurable&&(i=!1),c&&!c.writable&&(s=!1)}return(i||s||!n)&&(pd?qa(t,"length",r,!0,!0):qa(t,"length",r)),t},yd=An(),vd=jo(),wd=$l,bd=function(){return wd(yd,vd,arguments)};(function(e){var t=md,r=Pi,n=Uo,i=bd;e.exports=function(c){var o=n(arguments),f=c.length-(arguments.length-1);return t(o,1+(f>0?f:0),!0)},r?r(e.exports,"apply",{value:i}):e.exports.apply=i})(Bl);var _d=Bl.exports,Vl=Wl,ql=Uo,Ed=ql([Vl("%String.prototype.indexOf%")]),zl=function(t,r){var n=Vl(t,!!r);return typeof n=="function"&&Ed(t,".prototype.")>-1?ql([n]):n},Sd=Pl,Rd=function(){return Sd()&&!!Symbol.toStringTag},Cd={}.toString,Md=Array.isArray||function(e){return Cd.call(e)=="[object Array]"},Gl=Function.prototype.toString,qr=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,Ao,Ei;if(typeof qr=="function"&&typeof Object.defineProperty=="function")try{Ao=Object.defineProperty({},"length",{get:function(){throw Ei}}),Ei={},qr(function(){throw 42},null,Ao)}catch(e){e!==Ei&&(qr=null)}else qr=null;var Id=/^\s*class\b/,ko=function(t){try{var r=Gl.call(t);return Id.test(r)}catch{return!1}},qs=function(t){try{return ko(t)?!1:(Gl.call(t),!0)}catch{return!1}},Si=Object.prototype.toString,xd="[object Object]",Ad="[object Function]",kd="[object GeneratorFunction]",Td="[object HTMLAllCollection]",Bd="[object HTML document.all class]",Nd="[object HTMLCollection]",Pd=typeof Symbol=="function"&&!!Symbol.toStringTag,Ld=!(0 in[,]),To=function(){return!1};if(typeof document=="object"){var Od=document.all;Si.call(Od)===Si.call(document.all)&&(To=function(t){if((Ld||!t)&&(typeof t>"u"||typeof t=="object"))try{var r=Si.call(t);return(r===Td||r===Bd||r===Nd||r===xd)&&t("")==null}catch{}return!1})}var $d=qr?function(t){if(To(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;try{qr(t,null,Ao)}catch(r){if(r!==Ei)return!1}return!ko(t)&&qs(t)}:function(t){if(To(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;if(Pd)return qs(t);if(ko(t))return!1;var r=Si.call(t);return r!==Ad&&r!==kd&&!/^\[object HTML/.test(r)?!1:qs(t)},Fd=$d,Dd=Object.prototype.toString,Jl=Object.prototype.hasOwnProperty,jd=function(t,r,n){for(var i=0,s=t.length;i<s;i++)Jl.call(t,i)&&(n==null?r(t[i],i,t):r.call(n,t[i],i,t))},Ud=function(t,r,n){for(var i=0,s=t.length;i<s;i++)n==null?r(t.charAt(i),i,t):r.call(n,t.charAt(i),i,t)},Hd=function(t,r,n){for(var i in t)Jl.call(t,i)&&(n==null?r(t[i],i,t):r.call(n,t[i],i,t))};function Wd(e){return Dd.call(e)==="[object Array]"}var Vd=function(t,r,n){if(!Fd(r))throw new TypeError("iterator must be a function");var i;arguments.length>=3&&(i=n),Wd(t)?jd(t,r,i):typeof t=="string"?Ud(t,r,i):Hd(t,r,i)},qd=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"],zs=qd,zd=typeof globalThis>"u"?ee:globalThis,Gd=function(){for(var t=[],r=0;r<zs.length;r++)typeof zd[zs[r]]=="function"&&(t[t.length]=zs[r]);return t},ki=Vd,Jd=Gd,Ja=_d,Ho=zl,Ri=xn,ii=jl,Zd=Ho("Object.prototype.toString"),Zl=Rd(),Za=typeof globalThis>"u"?ee:globalThis,Bo=Jd(),Wo=Ho("String.prototype.slice"),Kd=Ho("Array.prototype.indexOf",!0)||function(t,r){for(var n=0;n<t.length;n+=1)if(t[n]===r)return n;return-1},Ti={__proto__:null};Zl&&Ri&&ii?ki(Bo,function(e){var t=new Za[e];if(Symbol.toStringTag in t&&ii){var r=ii(t),n=Ri(r,Symbol.toStringTag);if(!n&&r){var i=ii(r);n=Ri(i,Symbol.toStringTag)}Ti["$"+e]=Ja(n.get)}}):ki(Bo,function(e){var t=new Za[e],r=t.slice||t.set;r&&(Ti["$"+e]=Ja(r))});var Yd=function(t){var r=!1;return ki(Ti,function(n,i){if(!r)try{"$"+n(t)===i&&(r=Wo(i,1))}catch{}}),r},Qd=function(t){var r=!1;return ki(Ti,function(n,i){if(!r)try{n(t),r=Wo(i,1)}catch{}}),r},Xd=function(t){if(!t||typeof t!="object")return!1;if(!Zl){var r=Wo(Zd(t),8,-1);return Kd(Bo,r)>-1?r:r!=="Object"?!1:Qd(t)}return Ri?Yd(t):null},Kl={},Rn={},Li={};Object.defineProperty(Li,"__esModule",{value:!0});Li.walletLogo=void 0;const e0=(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=e0;var Oi={};Object.defineProperty(Oi,"__esModule",{value:!0});Oi.LINK_API_URL=void 0;Oi.LINK_API_URL="https://www.walletlink.org";var X={},Vo={exports:{}};Vo.exports;(function(e){(function(t,r){function n(x,a){if(!x)throw new Error(a||"Assertion failed")}function i(x,a){x.super_=a;var d=function(){};d.prototype=a.prototype,x.prototype=new d,x.prototype.constructor=x}function s(x,a,d){if(s.isBN(x))return x;this.negative=0,this.words=null,this.length=0,this.red=null,x!==null&&((a==="le"||a==="be")&&(d=a,a=10),this._init(x||0,a||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=br.Buffer}catch{}s.isBN=function(a){return a instanceof s?!0:a!==null&&typeof a=="object"&&a.constructor.wordSize===s.wordSize&&Array.isArray(a.words)},s.max=function(a,d){return a.cmp(d)>0?a:d},s.min=function(a,d){return a.cmp(d)<0?a:d},s.prototype._init=function(a,d,y){if(typeof a=="number")return this._initNumber(a,d,y);if(typeof a=="object")return this._initArray(a,d,y);d==="hex"&&(d=16),n(d===(d|0)&&d>=2&&d<=36),a=a.toString().replace(/\s+/g,"");var w=0;a[0]==="-"&&(w++,this.negative=1),w<a.length&&(d===16?this._parseHex(a,w,y):(this._parseBase(a,d,w),y==="le"&&this._initArray(this.toArray(),d,y)))},s.prototype._initNumber=function(a,d,y){a<0&&(this.negative=1,a=-a),a<67108864?(this.words=[a&67108863],this.length=1):a<4503599627370496?(this.words=[a&67108863,a/67108864&67108863],this.length=2):(n(a<9007199254740992),this.words=[a&67108863,a/67108864&67108863,1],this.length=3),y==="le"&&this._initArray(this.toArray(),d,y)},s.prototype._initArray=function(a,d,y){if(n(typeof a.length=="number"),a.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(a.length/3),this.words=new Array(this.length);for(var w=0;w<this.length;w++)this.words[w]=0;var S,I,B=0;if(y==="be")for(w=a.length-1,S=0;w>=0;w-=3)I=a[w]|a[w-1]<<8|a[w-2]<<16,this.words[S]|=I<<B&67108863,this.words[S+1]=I>>>26-B&67108863,B+=24,B>=26&&(B-=26,S++);else if(y==="le")for(w=0,S=0;w<a.length;w+=3)I=a[w]|a[w+1]<<8|a[w+2]<<16,this.words[S]|=I<<B&67108863,this.words[S+1]=I>>>26-B&67108863,B+=24,B>=26&&(B-=26,S++);return this._strip()};function o(x,a){var d=x.charCodeAt(a);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 "+x)}function f(x,a,d){var y=o(x,d);return d-1>=a&&(y|=o(x,d-1)<<4),y}s.prototype._parseHex=function(a,d,y){this.length=Math.ceil((a.length-d)/6),this.words=new Array(this.length);for(var w=0;w<this.length;w++)this.words[w]=0;var S=0,I=0,B;if(y==="be")for(w=a.length-1;w>=d;w-=2)B=f(a,d,w)<<S,this.words[I]|=B&67108863,S>=18?(S-=18,I+=1,this.words[I]|=B>>>26):S+=8;else{var _=a.length-d;for(w=_%2===0?d+1:d;w<a.length;w+=2)B=f(a,d,w)<<S,this.words[I]|=B&67108863,S>=18?(S-=18,I+=1,this.words[I]|=B>>>26):S+=8}this._strip()};function g(x,a,d,y){for(var w=0,S=0,I=Math.min(x.length,d),B=a;B<I;B++){var _=x.charCodeAt(B)-48;w*=y,_>=49?S=_-49+10:_>=17?S=_-17+10:S=_,n(_>=0&&S<y,"Invalid character"),w+=S}return w}s.prototype._parseBase=function(a,d,y){this.words=[0],this.length=1;for(var w=0,S=1;S<=67108863;S*=d)w++;w--,S=S/d|0;for(var I=a.length-y,B=I%w,_=Math.min(I,I-B)+y,u=0,R=y;R<_;R+=w)u=g(a,R,R+w,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(a,R,a.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(a){a.words=new Array(this.length);for(var d=0;d<this.length;d++)a.words[d]=this.words[d];a.length=this.length,a.negative=this.negative,a.red=this.red};function p(x,a){x.words=a.words,x.length=a.length,x.negative=a.negative,x.red=a.red}if(s.prototype._move=function(a){p(a,this)},s.prototype.clone=function(){var a=new s(null);return this.copy(a),a},s.prototype._expand=function(a){for(;this.length<a;)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 b=["","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"],k=[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],j=[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(a,d){a=a||10,d=d|0||1;var y;if(a===16||a==="hex"){y="";for(var w=0,S=0,I=0;I<this.length;I++){var B=this.words[I],_=((B<<w|S)&16777215).toString(16);S=B>>>24-w&16777215,w+=2,w>=26&&(w-=26,I--),S!==0||I!==this.length-1?y=b[6-_.length]+_+y:y=_+y}for(S!==0&&(y=S.toString(16)+y);y.length%d!==0;)y="0"+y;return this.negative!==0&&(y="-"+y),y}if(a===(a|0)&&a>=2&&a<=36){var u=k[a],R=j[a];y="";var K=this.clone();for(K.negative=0;!K.isZero();){var J=K.modrn(R).toString(a);K=K.idivn(R),K.isZero()?y=J+y:y=b[u-J.length]+J+y}for(this.isZero()&&(y="0"+y);y.length%d!==0;)y="0"+y;return this.negative!==0&&(y="-"+y),y}n(!1,"Base should be between 2 and 36")},s.prototype.toNumber=function(){var a=this.words[0];return this.length===2?a+=this.words[1]*67108864:this.length===3&&this.words[2]===1?a+=4503599627370496+this.words[1]*67108864:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-a:a},s.prototype.toJSON=function(){return this.toString(16,2)},c&&(s.prototype.toBuffer=function(a,d){return this.toArrayLike(c,a,d)}),s.prototype.toArray=function(a,d){return this.toArrayLike(Array,a,d)};var O=function(a,d){return a.allocUnsafe?a.allocUnsafe(d):new a(d)};s.prototype.toArrayLike=function(a,d,y){this._strip();var w=this.byteLength(),S=y||Math.max(1,w);n(w<=S,"byte array longer than desired length"),n(S>0,"Requested array length <= 0");var I=O(a,S),B=d==="le"?"LE":"BE";return this["_toArrayLike"+B](I,w),I},s.prototype._toArrayLikeLE=function(a,d){for(var y=0,w=0,S=0,I=0;S<this.length;S++){var B=this.words[S]<<I|w;a[y++]=B&255,y<a.length&&(a[y++]=B>>8&255),y<a.length&&(a[y++]=B>>16&255),I===6?(y<a.length&&(a[y++]=B>>24&255),w=0,I=0):(w=B>>>24,I+=2)}if(y<a.length)for(a[y++]=w;y<a.length;)a[y++]=0},s.prototype._toArrayLikeBE=function(a,d){for(var y=a.length-1,w=0,S=0,I=0;S<this.length;S++){var B=this.words[S]<<I|w;a[y--]=B&255,y>=0&&(a[y--]=B>>8&255),y>=0&&(a[y--]=B>>16&255),I===6?(y>=0&&(a[y--]=B>>24&255),w=0,I=0):(w=B>>>24,I+=2)}if(y>=0)for(a[y--]=w;y>=0;)a[y--]=0},Math.clz32?s.prototype._countBits=function(a){return 32-Math.clz32(a)}:s.prototype._countBits=function(a){var d=a,y=0;return d>=4096&&(y+=13,d>>>=13),d>=64&&(y+=7,d>>>=7),d>=8&&(y+=4,d>>>=4),d>=2&&(y+=2,d>>>=2),y+d},s.prototype._zeroBits=function(a){if(a===0)return 26;var d=a,y=0;return d&8191||(y+=13,d>>>=13),d&127||(y+=7,d>>>=7),d&15||(y+=4,d>>>=4),d&3||(y+=2,d>>>=2),d&1||y++,y},s.prototype.bitLength=function(){var a=this.words[this.length-1],d=this._countBits(a);return(this.length-1)*26+d};function H(x){for(var a=new Array(x.bitLength()),d=0;d<a.length;d++){var y=d/26|0,w=d%26;a[d]=x.words[y]>>>w&1}return a}s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var a=0,d=0;d<this.length;d++){var y=this._zeroBits(this.words[d]);if(a+=y,y!==26)break}return a},s.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},s.prototype.toTwos=function(a){return this.negative!==0?this.abs().inotn(a).iaddn(1):this.clone()},s.prototype.fromTwos=function(a){return this.testn(a-1)?this.notn(a).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(a){for(;this.length<a.length;)this.words[this.length++]=0;for(var d=0;d<a.length;d++)this.words[d]=this.words[d]|a.words[d];return this._strip()},s.prototype.ior=function(a){return n((this.negative|a.negative)===0),this.iuor(a)},s.prototype.or=function(a){return this.length>a.length?this.clone().ior(a):a.clone().ior(this)},s.prototype.uor=function(a){return this.length>a.length?this.clone().iuor(a):a.clone().iuor(this)},s.prototype.iuand=function(a){var d;this.length>a.length?d=a:d=this;for(var y=0;y<d.length;y++)this.words[y]=this.words[y]&a.words[y];return this.length=d.length,this._strip()},s.prototype.iand=function(a){return n((this.negative|a.negative)===0),this.iuand(a)},s.prototype.and=function(a){return this.length>a.length?this.clone().iand(a):a.clone().iand(this)},s.prototype.uand=function(a){return this.length>a.length?this.clone().iuand(a):a.clone().iuand(this)},s.prototype.iuxor=function(a){var d,y;this.length>a.length?(d=this,y=a):(d=a,y=this);for(var w=0;w<y.length;w++)this.words[w]=d.words[w]^y.words[w];if(this!==d)for(;w<d.length;w++)this.words[w]=d.words[w];return this.length=d.length,this._strip()},s.prototype.ixor=function(a){return n((this.negative|a.negative)===0),this.iuxor(a)},s.prototype.xor=function(a){return this.length>a.length?this.clone().ixor(a):a.clone().ixor(this)},s.prototype.uxor=function(a){return this.length>a.length?this.clone().iuxor(a):a.clone().iuxor(this)},s.prototype.inotn=function(a){n(typeof a=="number"&&a>=0);var d=Math.ceil(a/26)|0,y=a%26;this._expand(d),y>0&&d--;for(var w=0;w<d;w++)this.words[w]=~this.words[w]&67108863;return y>0&&(this.words[w]=~this.words[w]&67108863>>26-y),this._strip()},s.prototype.notn=function(a){return this.clone().inotn(a)},s.prototype.setn=function(a,d){n(typeof a=="number"&&a>=0);var y=a/26|0,w=a%26;return this._expand(y+1),d?this.words[y]=this.words[y]|1<<w:this.words[y]=this.words[y]&~(1<<w),this._strip()},s.prototype.iadd=function(a){var d;if(this.negative!==0&&a.negative===0)return this.negative=0,d=this.isub(a),this.negative^=1,this._normSign();if(this.negative===0&&a.negative!==0)return a.negative=0,d=this.isub(a),a.negative=1,d._normSign();var y,w;this.length>a.length?(y=this,w=a):(y=a,w=this);for(var S=0,I=0;I<w.length;I++)d=(y.words[I]|0)+(w.words[I]|0)+S,this.words[I]=d&67108863,S=d>>>26;for(;S!==0&&I<y.length;I++)d=(y.words[I]|0)+S,this.words[I]=d&67108863,S=d>>>26;if(this.length=y.length,S!==0)this.words[this.length]=S,this.length++;else if(y!==this)for(;I<y.length;I++)this.words[I]=y.words[I];return this},s.prototype.add=function(a){var d;return a.negative!==0&&this.negative===0?(a.negative=0,d=this.sub(a),a.negative^=1,d):a.negative===0&&this.negative!==0?(this.negative=0,d=a.sub(this),this.negative=1,d):this.length>a.length?this.clone().iadd(a):a.clone().iadd(this)},s.prototype.isub=function(a){if(a.negative!==0){a.negative=0;var d=this.iadd(a);return a.negative=1,d._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(a),this.negative=1,this._normSign();var y=this.cmp(a);if(y===0)return this.negative=0,this.length=1,this.words[0]=0,this;var w,S;y>0?(w=this,S=a):(w=a,S=this);for(var I=0,B=0;B<S.length;B++)d=(w.words[B]|0)-(S.words[B]|0)+I,I=d>>26,this.words[B]=d&67108863;for(;I!==0&&B<w.length;B++)d=(w.words[B]|0)+I,I=d>>26,this.words[B]=d&67108863;if(I===0&&B<w.length&&w!==this)for(;B<w.length;B++)this.words[B]=w.words[B];return this.length=Math.max(this.length,B),w!==this&&(this.negative=1),this._strip()},s.prototype.sub=function(a){return this.clone().isub(a)};function A(x,a,d){d.negative=a.negative^x.negative;var y=x.length+a.length|0;d.length=y,y=y-1|0;var w=x.words[0]|0,S=a.words[0]|0,I=w*S,B=I&67108863,_=I/67108864|0;d.words[0]=B;for(var u=1;u<y;u++){for(var R=_>>>26,K=_&67108863,J=Math.min(u,a.length-1),T=Math.max(0,u-x.length+1);T<=J;T++){var L=u-T|0;w=x.words[L]|0,S=a.words[T]|0,I=w*S+K,R+=I/67108864|0,K=I&67108863}d.words[u]=K|0,_=R|0}return _!==0?d.words[u]=_|0:d.length--,d._strip()}var P=function(a,d,y){var w=a.words,S=d.words,I=y.words,B=0,_,u,R,K=w[0]|0,J=K&8191,T=K>>>13,L=w[1]|0,W=L&8191,Z=L>>>13,le=w[2]|0,C=le&8191,M=le>>>13,q=w[3]|0,G=q&8191,se=q>>>13,ue=w[4]|0,re=ue&8191,be=ue>>>13,pt=w[5]|0,Re=pt&8191,Se=pt>>>13,Ze=w[6]|0,_e=Ze&8191,Ce=Ze>>>13,Qe=w[7]|0,Ee=Qe&8191,m=Qe>>>13,l=w[8]|0,h=l&8191,E=l>>>13,N=w[9]|0,F=N&8191,U=N>>>13,he=S[0]|0,ae=he&8191,ie=he>>>13,Me=S[1]|0,ne=Me&8191,Ie=Me>>>13,Ir=S[2]|0,xe=Ir&8191,Ae=Ir>>>13,xr=S[3]|0,ke=xr&8191,Te=xr>>>13,Ar=S[4]|0,Be=Ar&8191,Ne=Ar>>>13,kr=S[5]|0,Pe=kr&8191,Le=kr>>>13,Tr=S[6]|0,Oe=Tr&8191,$e=Tr>>>13,Br=S[7]|0,Fe=Br&8191,De=Br>>>13,Nr=S[8]|0,je=Nr&8191,Ue=Nr>>>13,Pr=S[9]|0,He=Pr&8191,We=Pr>>>13;y.negative=a.negative^d.negative,y.length=19,_=Math.imul(J,ae),u=Math.imul(J,ie),u=u+Math.imul(T,ae)|0,R=Math.imul(T,ie);var Kt=(B+_|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(Kt>>>26)|0,Kt&=67108863,_=Math.imul(W,ae),u=Math.imul(W,ie),u=u+Math.imul(Z,ae)|0,R=Math.imul(Z,ie),_=_+Math.imul(J,ne)|0,u=u+Math.imul(J,Ie)|0,u=u+Math.imul(T,ne)|0,R=R+Math.imul(T,Ie)|0;var Yt=(B+_|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,_=Math.imul(C,ae),u=Math.imul(C,ie),u=u+Math.imul(M,ae)|0,R=Math.imul(M,ie),_=_+Math.imul(W,ne)|0,u=u+Math.imul(W,Ie)|0,u=u+Math.imul(Z,ne)|0,R=R+Math.imul(Z,Ie)|0,_=_+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+_|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,_=Math.imul(G,ae),u=Math.imul(G,ie),u=u+Math.imul(se,ae)|0,R=Math.imul(se,ie),_=_+Math.imul(C,ne)|0,u=u+Math.imul(C,Ie)|0,u=u+Math.imul(M,ne)|0,R=R+Math.imul(M,Ie)|0,_=_+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,_=_+Math.imul(J,ke)|0,u=u+Math.imul(J,Te)|0,u=u+Math.imul(T,ke)|0,R=R+Math.imul(T,Te)|0;var Xt=(B+_|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(Xt>>>26)|0,Xt&=67108863,_=Math.imul(re,ae),u=Math.imul(re,ie),u=u+Math.imul(be,ae)|0,R=Math.imul(be,ie),_=_+Math.imul(G,ne)|0,u=u+Math.imul(G,Ie)|0,u=u+Math.imul(se,ne)|0,R=R+Math.imul(se,Ie)|0,_=_+Math.imul(C,xe)|0,u=u+Math.imul(C,Ae)|0,u=u+Math.imul(M,xe)|0,R=R+Math.imul(M,Ae)|0,_=_+Math.imul(W,ke)|0,u=u+Math.imul(W,Te)|0,u=u+Math.imul(Z,ke)|0,R=R+Math.imul(Z,Te)|0,_=_+Math.imul(J,Be)|0,u=u+Math.imul(J,Ne)|0,u=u+Math.imul(T,Be)|0,R=R+Math.imul(T,Ne)|0;var er=(B+_|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(er>>>26)|0,er&=67108863,_=Math.imul(Re,ae),u=Math.imul(Re,ie),u=u+Math.imul(Se,ae)|0,R=Math.imul(Se,ie),_=_+Math.imul(re,ne)|0,u=u+Math.imul(re,Ie)|0,u=u+Math.imul(be,ne)|0,R=R+Math.imul(be,Ie)|0,_=_+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,_=_+Math.imul(C,ke)|0,u=u+Math.imul(C,Te)|0,u=u+Math.imul(M,ke)|0,R=R+Math.imul(M,Te)|0,_=_+Math.imul(W,Be)|0,u=u+Math.imul(W,Ne)|0,u=u+Math.imul(Z,Be)|0,R=R+Math.imul(Z,Ne)|0,_=_+Math.imul(J,Pe)|0,u=u+Math.imul(J,Le)|0,u=u+Math.imul(T,Pe)|0,R=R+Math.imul(T,Le)|0;var tr=(B+_|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(tr>>>26)|0,tr&=67108863,_=Math.imul(_e,ae),u=Math.imul(_e,ie),u=u+Math.imul(Ce,ae)|0,R=Math.imul(Ce,ie),_=_+Math.imul(Re,ne)|0,u=u+Math.imul(Re,Ie)|0,u=u+Math.imul(Se,ne)|0,R=R+Math.imul(Se,Ie)|0,_=_+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,_=_+Math.imul(G,ke)|0,u=u+Math.imul(G,Te)|0,u=u+Math.imul(se,ke)|0,R=R+Math.imul(se,Te)|0,_=_+Math.imul(C,Be)|0,u=u+Math.imul(C,Ne)|0,u=u+Math.imul(M,Be)|0,R=R+Math.imul(M,Ne)|0,_=_+Math.imul(W,Pe)|0,u=u+Math.imul(W,Le)|0,u=u+Math.imul(Z,Pe)|0,R=R+Math.imul(Z,Le)|0,_=_+Math.imul(J,Oe)|0,u=u+Math.imul(J,$e)|0,u=u+Math.imul(T,Oe)|0,R=R+Math.imul(T,$e)|0;var rr=(B+_|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(rr>>>26)|0,rr&=67108863,_=Math.imul(Ee,ae),u=Math.imul(Ee,ie),u=u+Math.imul(m,ae)|0,R=Math.imul(m,ie),_=_+Math.imul(_e,ne)|0,u=u+Math.imul(_e,Ie)|0,u=u+Math.imul(Ce,ne)|0,R=R+Math.imul(Ce,Ie)|0,_=_+Math.imul(Re,xe)|0,u=u+Math.imul(Re,Ae)|0,u=u+Math.imul(Se,xe)|0,R=R+Math.imul(Se,Ae)|0,_=_+Math.imul(re,ke)|0,u=u+Math.imul(re,Te)|0,u=u+Math.imul(be,ke)|0,R=R+Math.imul(be,Te)|0,_=_+Math.imul(G,Be)|0,u=u+Math.imul(G,Ne)|0,u=u+Math.imul(se,Be)|0,R=R+Math.imul(se,Ne)|0,_=_+Math.imul(C,Pe)|0,u=u+Math.imul(C,Le)|0,u=u+Math.imul(M,Pe)|0,R=R+Math.imul(M,Le)|0,_=_+Math.imul(W,Oe)|0,u=u+Math.imul(W,$e)|0,u=u+Math.imul(Z,Oe)|0,R=R+Math.imul(Z,$e)|0,_=_+Math.imul(J,Fe)|0,u=u+Math.imul(J,De)|0,u=u+Math.imul(T,Fe)|0,R=R+Math.imul(T,De)|0;var nr=(B+_|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(nr>>>26)|0,nr&=67108863,_=Math.imul(h,ae),u=Math.imul(h,ie),u=u+Math.imul(E,ae)|0,R=Math.imul(E,ie),_=_+Math.imul(Ee,ne)|0,u=u+Math.imul(Ee,Ie)|0,u=u+Math.imul(m,ne)|0,R=R+Math.imul(m,Ie)|0,_=_+Math.imul(_e,xe)|0,u=u+Math.imul(_e,Ae)|0,u=u+Math.imul(Ce,xe)|0,R=R+Math.imul(Ce,Ae)|0,_=_+Math.imul(Re,ke)|0,u=u+Math.imul(Re,Te)|0,u=u+Math.imul(Se,ke)|0,R=R+Math.imul(Se,Te)|0,_=_+Math.imul(re,Be)|0,u=u+Math.imul(re,Ne)|0,u=u+Math.imul(be,Be)|0,R=R+Math.imul(be,Ne)|0,_=_+Math.imul(G,Pe)|0,u=u+Math.imul(G,Le)|0,u=u+Math.imul(se,Pe)|0,R=R+Math.imul(se,Le)|0,_=_+Math.imul(C,Oe)|0,u=u+Math.imul(C,$e)|0,u=u+Math.imul(M,Oe)|0,R=R+Math.imul(M,$e)|0,_=_+Math.imul(W,Fe)|0,u=u+Math.imul(W,De)|0,u=u+Math.imul(Z,Fe)|0,R=R+Math.imul(Z,De)|0,_=_+Math.imul(J,je)|0,u=u+Math.imul(J,Ue)|0,u=u+Math.imul(T,je)|0,R=R+Math.imul(T,Ue)|0;var ir=(B+_|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(ir>>>26)|0,ir&=67108863,_=Math.imul(F,ae),u=Math.imul(F,ie),u=u+Math.imul(U,ae)|0,R=Math.imul(U,ie),_=_+Math.imul(h,ne)|0,u=u+Math.imul(h,Ie)|0,u=u+Math.imul(E,ne)|0,R=R+Math.imul(E,Ie)|0,_=_+Math.imul(Ee,xe)|0,u=u+Math.imul(Ee,Ae)|0,u=u+Math.imul(m,xe)|0,R=R+Math.imul(m,Ae)|0,_=_+Math.imul(_e,ke)|0,u=u+Math.imul(_e,Te)|0,u=u+Math.imul(Ce,ke)|0,R=R+Math.imul(Ce,Te)|0,_=_+Math.imul(Re,Be)|0,u=u+Math.imul(Re,Ne)|0,u=u+Math.imul(Se,Be)|0,R=R+Math.imul(Se,Ne)|0,_=_+Math.imul(re,Pe)|0,u=u+Math.imul(re,Le)|0,u=u+Math.imul(be,Pe)|0,R=R+Math.imul(be,Le)|0,_=_+Math.imul(G,Oe)|0,u=u+Math.imul(G,$e)|0,u=u+Math.imul(se,Oe)|0,R=R+Math.imul(se,$e)|0,_=_+Math.imul(C,Fe)|0,u=u+Math.imul(C,De)|0,u=u+Math.imul(M,Fe)|0,R=R+Math.imul(M,De)|0,_=_+Math.imul(W,je)|0,u=u+Math.imul(W,Ue)|0,u=u+Math.imul(Z,je)|0,R=R+Math.imul(Z,Ue)|0,_=_+Math.imul(J,He)|0,u=u+Math.imul(J,We)|0,u=u+Math.imul(T,He)|0,R=R+Math.imul(T,We)|0;var sr=(B+_|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(sr>>>26)|0,sr&=67108863,_=Math.imul(F,ne),u=Math.imul(F,Ie),u=u+Math.imul(U,ne)|0,R=Math.imul(U,Ie),_=_+Math.imul(h,xe)|0,u=u+Math.imul(h,Ae)|0,u=u+Math.imul(E,xe)|0,R=R+Math.imul(E,Ae)|0,_=_+Math.imul(Ee,ke)|0,u=u+Math.imul(Ee,Te)|0,u=u+Math.imul(m,ke)|0,R=R+Math.imul(m,Te)|0,_=_+Math.imul(_e,Be)|0,u=u+Math.imul(_e,Ne)|0,u=u+Math.imul(Ce,Be)|0,R=R+Math.imul(Ce,Ne)|0,_=_+Math.imul(Re,Pe)|0,u=u+Math.imul(Re,Le)|0,u=u+Math.imul(Se,Pe)|0,R=R+Math.imul(Se,Le)|0,_=_+Math.imul(re,Oe)|0,u=u+Math.imul(re,$e)|0,u=u+Math.imul(be,Oe)|0,R=R+Math.imul(be,$e)|0,_=_+Math.imul(G,Fe)|0,u=u+Math.imul(G,De)|0,u=u+Math.imul(se,Fe)|0,R=R+Math.imul(se,De)|0,_=_+Math.imul(C,je)|0,u=u+Math.imul(C,Ue)|0,u=u+Math.imul(M,je)|0,R=R+Math.imul(M,Ue)|0,_=_+Math.imul(W,He)|0,u=u+Math.imul(W,We)|0,u=u+Math.imul(Z,He)|0,R=R+Math.imul(Z,We)|0;var or=(B+_|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(or>>>26)|0,or&=67108863,_=Math.imul(F,xe),u=Math.imul(F,Ae),u=u+Math.imul(U,xe)|0,R=Math.imul(U,Ae),_=_+Math.imul(h,ke)|0,u=u+Math.imul(h,Te)|0,u=u+Math.imul(E,ke)|0,R=R+Math.imul(E,Te)|0,_=_+Math.imul(Ee,Be)|0,u=u+Math.imul(Ee,Ne)|0,u=u+Math.imul(m,Be)|0,R=R+Math.imul(m,Ne)|0,_=_+Math.imul(_e,Pe)|0,u=u+Math.imul(_e,Le)|0,u=u+Math.imul(Ce,Pe)|0,R=R+Math.imul(Ce,Le)|0,_=_+Math.imul(Re,Oe)|0,u=u+Math.imul(Re,$e)|0,u=u+Math.imul(Se,Oe)|0,R=R+Math.imul(Se,$e)|0,_=_+Math.imul(re,Fe)|0,u=u+Math.imul(re,De)|0,u=u+Math.imul(be,Fe)|0,R=R+Math.imul(be,De)|0,_=_+Math.imul(G,je)|0,u=u+Math.imul(G,Ue)|0,u=u+Math.imul(se,je)|0,R=R+Math.imul(se,Ue)|0,_=_+Math.imul(C,He)|0,u=u+Math.imul(C,We)|0,u=u+Math.imul(M,He)|0,R=R+Math.imul(M,We)|0;var ar=(B+_|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(ar>>>26)|0,ar&=67108863,_=Math.imul(F,ke),u=Math.imul(F,Te),u=u+Math.imul(U,ke)|0,R=Math.imul(U,Te),_=_+Math.imul(h,Be)|0,u=u+Math.imul(h,Ne)|0,u=u+Math.imul(E,Be)|0,R=R+Math.imul(E,Ne)|0,_=_+Math.imul(Ee,Pe)|0,u=u+Math.imul(Ee,Le)|0,u=u+Math.imul(m,Pe)|0,R=R+Math.imul(m,Le)|0,_=_+Math.imul(_e,Oe)|0,u=u+Math.imul(_e,$e)|0,u=u+Math.imul(Ce,Oe)|0,R=R+Math.imul(Ce,$e)|0,_=_+Math.imul(Re,Fe)|0,u=u+Math.imul(Re,De)|0,u=u+Math.imul(Se,Fe)|0,R=R+Math.imul(Se,De)|0,_=_+Math.imul(re,je)|0,u=u+Math.imul(re,Ue)|0,u=u+Math.imul(be,je)|0,R=R+Math.imul(be,Ue)|0,_=_+Math.imul(G,He)|0,u=u+Math.imul(G,We)|0,u=u+Math.imul(se,He)|0,R=R+Math.imul(se,We)|0;var cr=(B+_|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(cr>>>26)|0,cr&=67108863,_=Math.imul(F,Be),u=Math.imul(F,Ne),u=u+Math.imul(U,Be)|0,R=Math.imul(U,Ne),_=_+Math.imul(h,Pe)|0,u=u+Math.imul(h,Le)|0,u=u+Math.imul(E,Pe)|0,R=R+Math.imul(E,Le)|0,_=_+Math.imul(Ee,Oe)|0,u=u+Math.imul(Ee,$e)|0,u=u+Math.imul(m,Oe)|0,R=R+Math.imul(m,$e)|0,_=_+Math.imul(_e,Fe)|0,u=u+Math.imul(_e,De)|0,u=u+Math.imul(Ce,Fe)|0,R=R+Math.imul(Ce,De)|0,_=_+Math.imul(Re,je)|0,u=u+Math.imul(Re,Ue)|0,u=u+Math.imul(Se,je)|0,R=R+Math.imul(Se,Ue)|0,_=_+Math.imul(re,He)|0,u=u+Math.imul(re,We)|0,u=u+Math.imul(be,He)|0,R=R+Math.imul(be,We)|0;var lr=(B+_|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(lr>>>26)|0,lr&=67108863,_=Math.imul(F,Pe),u=Math.imul(F,Le),u=u+Math.imul(U,Pe)|0,R=Math.imul(U,Le),_=_+Math.imul(h,Oe)|0,u=u+Math.imul(h,$e)|0,u=u+Math.imul(E,Oe)|0,R=R+Math.imul(E,$e)|0,_=_+Math.imul(Ee,Fe)|0,u=u+Math.imul(Ee,De)|0,u=u+Math.imul(m,Fe)|0,R=R+Math.imul(m,De)|0,_=_+Math.imul(_e,je)|0,u=u+Math.imul(_e,Ue)|0,u=u+Math.imul(Ce,je)|0,R=R+Math.imul(Ce,Ue)|0,_=_+Math.imul(Re,He)|0,u=u+Math.imul(Re,We)|0,u=u+Math.imul(Se,He)|0,R=R+Math.imul(Se,We)|0;var Bs=(B+_|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(Bs>>>26)|0,Bs&=67108863,_=Math.imul(F,Oe),u=Math.imul(F,$e),u=u+Math.imul(U,Oe)|0,R=Math.imul(U,$e),_=_+Math.imul(h,Fe)|0,u=u+Math.imul(h,De)|0,u=u+Math.imul(E,Fe)|0,R=R+Math.imul(E,De)|0,_=_+Math.imul(Ee,je)|0,u=u+Math.imul(Ee,Ue)|0,u=u+Math.imul(m,je)|0,R=R+Math.imul(m,Ue)|0,_=_+Math.imul(_e,He)|0,u=u+Math.imul(_e,We)|0,u=u+Math.imul(Ce,He)|0,R=R+Math.imul(Ce,We)|0;var Ns=(B+_|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(Ns>>>26)|0,Ns&=67108863,_=Math.imul(F,Fe),u=Math.imul(F,De),u=u+Math.imul(U,Fe)|0,R=Math.imul(U,De),_=_+Math.imul(h,je)|0,u=u+Math.imul(h,Ue)|0,u=u+Math.imul(E,je)|0,R=R+Math.imul(E,Ue)|0,_=_+Math.imul(Ee,He)|0,u=u+Math.imul(Ee,We)|0,u=u+Math.imul(m,He)|0,R=R+Math.imul(m,We)|0;var Ps=(B+_|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(Ps>>>26)|0,Ps&=67108863,_=Math.imul(F,je),u=Math.imul(F,Ue),u=u+Math.imul(U,je)|0,R=Math.imul(U,Ue),_=_+Math.imul(h,He)|0,u=u+Math.imul(h,We)|0,u=u+Math.imul(E,He)|0,R=R+Math.imul(E,We)|0;var Ls=(B+_|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(Ls>>>26)|0,Ls&=67108863,_=Math.imul(F,He),u=Math.imul(F,We),u=u+Math.imul(U,He)|0,R=Math.imul(U,We);var Os=(B+_|0)+((u&8191)<<13)|0;return B=(R+(u>>>13)|0)+(Os>>>26)|0,Os&=67108863,I[0]=Kt,I[1]=Yt,I[2]=Qt,I[3]=Xt,I[4]=er,I[5]=tr,I[6]=rr,I[7]=nr,I[8]=ir,I[9]=sr,I[10]=or,I[11]=ar,I[12]=cr,I[13]=lr,I[14]=Bs,I[15]=Ns,I[16]=Ps,I[17]=Ls,I[18]=Os,B!==0&&(I[19]=B,y.length++),y};Math.imul||(P=A);function $(x,a,d){d.negative=a.negative^x.negative,d.length=x.length+a.length;for(var y=0,w=0,S=0;S<d.length-1;S++){var I=w;w=0;for(var B=y&67108863,_=Math.min(S,a.length-1),u=Math.max(0,S-x.length+1);u<=_;u++){var R=S-u,K=x.words[R]|0,J=a.words[u]|0,T=K*J,L=T&67108863;I=I+(T/67108864|0)|0,L=L+B|0,B=L&67108863,I=I+(L>>>26)|0,w+=I>>>26,I&=67108863}d.words[S]=B,y=I,I=w}return y!==0?d.words[S]=y:d.length--,d._strip()}function V(x,a,d){return $(x,a,d)}s.prototype.mulTo=function(a,d){var y,w=this.length+a.length;return this.length===10&&a.length===10?y=P(this,a,d):w<63?y=A(this,a,d):w<1024?y=$(this,a,d):y=V(this,a,d),y},s.prototype.mul=function(a){var d=new s(null);return d.words=new Array(this.length+a.length),this.mulTo(a,d)},s.prototype.mulf=function(a){var d=new s(null);return d.words=new Array(this.length+a.length),V(this,a,d)},s.prototype.imul=function(a){return this.clone().mulTo(a,this)},s.prototype.imuln=function(a){var d=a<0;d&&(a=-a),n(typeof a=="number"),n(a<67108864);for(var y=0,w=0;w<this.length;w++){var S=(this.words[w]|0)*a,I=(S&67108863)+(y&67108863);y>>=26,y+=S/67108864|0,y+=I>>>26,this.words[w]=I&67108863}return y!==0&&(this.words[w]=y,this.length++),this.length=a===0?1:this.length,d?this.ineg():this},s.prototype.muln=function(a){return this.clone().imuln(a)},s.prototype.sqr=function(){return this.mul(this)},s.prototype.isqr=function(){return this.imul(this.clone())},s.prototype.pow=function(a){var d=H(a);if(d.length===0)return new s(1);for(var y=this,w=0;w<d.length&&d[w]===0;w++,y=y.sqr());if(++w<d.length)for(var S=y.sqr();w<d.length;w++,S=S.sqr())d[w]!==0&&(y=y.mul(S));return y},s.prototype.iushln=function(a){n(typeof a=="number"&&a>=0);var d=a%26,y=(a-d)/26,w=67108863>>>26-d<<26-d,S;if(d!==0){var I=0;for(S=0;S<this.length;S++){var B=this.words[S]&w,_=(this.words[S]|0)-B<<d;this.words[S]=_|I,I=B>>>26-d}I&&(this.words[S]=I,this.length++)}if(y!==0){for(S=this.length-1;S>=0;S--)this.words[S+y]=this.words[S];for(S=0;S<y;S++)this.words[S]=0;this.length+=y}return this._strip()},s.prototype.ishln=function(a){return n(this.negative===0),this.iushln(a)},s.prototype.iushrn=function(a,d,y){n(typeof a=="number"&&a>=0);var w;d?w=(d-d%26)/26:w=0;var S=a%26,I=Math.min((a-S)/26,this.length),B=67108863^67108863>>>S<<S,_=y;if(w-=I,w=Math.max(0,w),_){for(var u=0;u<I;u++)_.words[u]=this.words[u];_.length=I}if(I!==0)if(this.length>I)for(this.length-=I,u=0;u<this.length;u++)this.words[u]=this.words[u+I];else this.words[0]=0,this.length=1;var R=0;for(u=this.length-1;u>=0&&(R!==0||u>=w);u--){var K=this.words[u]|0;this.words[u]=R<<26-S|K>>>S,R=K&B}return _&&R!==0&&(_.words[_.length++]=R),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},s.prototype.ishrn=function(a,d,y){return n(this.negative===0),this.iushrn(a,d,y)},s.prototype.shln=function(a){return this.clone().ishln(a)},s.prototype.ushln=function(a){return this.clone().iushln(a)},s.prototype.shrn=function(a){return this.clone().ishrn(a)},s.prototype.ushrn=function(a){return this.clone().iushrn(a)},s.prototype.testn=function(a){n(typeof a=="number"&&a>=0);var d=a%26,y=(a-d)/26,w=1<<d;if(this.length<=y)return!1;var S=this.words[y];return!!(S&w)},s.prototype.imaskn=function(a){n(typeof a=="number"&&a>=0);var d=a%26,y=(a-d)/26;if(n(this.negative===0,"imaskn works only with positive numbers"),this.length<=y)return this;if(d!==0&&y++,this.length=Math.min(y,this.length),d!==0){var w=67108863^67108863>>>d<<d;this.words[this.length-1]&=w}return this._strip()},s.prototype.maskn=function(a){return this.clone().imaskn(a)},s.prototype.iaddn=function(a){return n(typeof a=="number"),n(a<67108864),a<0?this.isubn(-a):this.negative!==0?this.length===1&&(this.words[0]|0)<=a?(this.words[0]=a-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(a),this.negative=1,this):this._iaddn(a)},s.prototype._iaddn=function(a){this.words[0]+=a;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(a){if(n(typeof a=="number"),n(a<67108864),a<0)return this.iaddn(-a);if(this.negative!==0)return this.negative=0,this.iaddn(a),this.negative=1,this;if(this.words[0]-=a,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(a){return this.clone().iaddn(a)},s.prototype.subn=function(a){return this.clone().isubn(a)},s.prototype.iabs=function(){return this.negative=0,this},s.prototype.abs=function(){return this.clone().iabs()},s.prototype._ishlnsubmul=function(a,d,y){var w=a.length+y,S;this._expand(w);var I,B=0;for(S=0;S<a.length;S++){I=(this.words[S+y]|0)+B;var _=(a.words[S]|0)*d;I-=_&67108863,B=(I>>26)-(_/67108864|0),this.words[S+y]=I&67108863}for(;S<this.length-y;S++)I=(this.words[S+y]|0)+B,B=I>>26,this.words[S+y]=I&67108863;if(B===0)return this._strip();for(n(B===-1),B=0,S=0;S<this.length;S++)I=-(this.words[S]|0)+B,B=I>>26,this.words[S]=I&67108863;return this.negative=1,this._strip()},s.prototype._wordDiv=function(a,d){var y=this.length-a.length,w=this.clone(),S=a,I=S.words[S.length-1]|0,B=this._countBits(I);y=26-B,y!==0&&(S=S.ushln(y),w.iushln(y),I=S.words[S.length-1]|0);var _=w.length-S.length,u;if(d!=="mod"){u=new s(null),u.length=_+1,u.words=new Array(u.length);for(var R=0;R<u.length;R++)u.words[R]=0}var K=w.clone()._ishlnsubmul(S,1,_);K.negative===0&&(w=K,u&&(u.words[_]=1));for(var J=_-1;J>=0;J--){var T=(w.words[S.length+J]|0)*67108864+(w.words[S.length+J-1]|0);for(T=Math.min(T/I|0,67108863),w._ishlnsubmul(S,T,J);w.negative!==0;)T--,w.negative=0,w._ishlnsubmul(S,1,J),w.isZero()||(w.negative^=1);u&&(u.words[J]=T)}return u&&u._strip(),w._strip(),d!=="div"&&y!==0&&w.iushrn(y),{div:u||null,mod:w}},s.prototype.divmod=function(a,d,y){if(n(!a.isZero()),this.isZero())return{div:new s(0),mod:new s(0)};var w,S,I;return this.negative!==0&&a.negative===0?(I=this.neg().divmod(a,d),d!=="mod"&&(w=I.div.neg()),d!=="div"&&(S=I.mod.neg(),y&&S.negative!==0&&S.iadd(a)),{div:w,mod:S}):this.negative===0&&a.negative!==0?(I=this.divmod(a.neg(),d),d!=="mod"&&(w=I.div.neg()),{div:w,mod:I.mod}):this.negative&a.negative?(I=this.neg().divmod(a.neg(),d),d!=="div"&&(S=I.mod.neg(),y&&S.negative!==0&&S.isub(a)),{div:I.div,mod:S}):a.length>this.length||this.cmp(a)<0?{div:new s(0),mod:this}:a.length===1?d==="div"?{div:this.divn(a.words[0]),mod:null}:d==="mod"?{div:null,mod:new s(this.modrn(a.words[0]))}:{div:this.divn(a.words[0]),mod:new s(this.modrn(a.words[0]))}:this._wordDiv(a,d)},s.prototype.div=function(a){return this.divmod(a,"div",!1).div},s.prototype.mod=function(a){return this.divmod(a,"mod",!1).mod},s.prototype.umod=function(a){return this.divmod(a,"mod",!0).mod},s.prototype.divRound=function(a){var d=this.divmod(a);if(d.mod.isZero())return d.div;var y=d.div.negative!==0?d.mod.isub(a):d.mod,w=a.ushrn(1),S=a.andln(1),I=y.cmp(w);return I<0||S===1&&I===0?d.div:d.div.negative!==0?d.div.isubn(1):d.div.iaddn(1)},s.prototype.modrn=function(a){var d=a<0;d&&(a=-a),n(a<=67108863);for(var y=(1<<26)%a,w=0,S=this.length-1;S>=0;S--)w=(y*w+(this.words[S]|0))%a;return d?-w:w},s.prototype.modn=function(a){return this.modrn(a)},s.prototype.idivn=function(a){var d=a<0;d&&(a=-a),n(a<=67108863);for(var y=0,w=this.length-1;w>=0;w--){var S=(this.words[w]|0)+y*67108864;this.words[w]=S/a|0,y=S%a}return this._strip(),d?this.ineg():this},s.prototype.divn=function(a){return this.clone().idivn(a)},s.prototype.egcd=function(a){n(a.negative===0),n(!a.isZero());var d=this,y=a.clone();d.negative!==0?d=d.umod(a):d=d.clone();for(var w=new s(1),S=new s(0),I=new s(0),B=new s(1),_=0;d.isEven()&&y.isEven();)d.iushrn(1),y.iushrn(1),++_;for(var u=y.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;)(w.isOdd()||S.isOdd())&&(w.iadd(u),S.isub(R)),w.iushrn(1),S.iushrn(1);for(var T=0,L=1;!(y.words[0]&L)&&T<26;++T,L<<=1);if(T>0)for(y.iushrn(T);T-- >0;)(I.isOdd()||B.isOdd())&&(I.iadd(u),B.isub(R)),I.iushrn(1),B.iushrn(1);d.cmp(y)>=0?(d.isub(y),w.isub(I),S.isub(B)):(y.isub(d),I.isub(w),B.isub(S))}return{a:I,b:B,gcd:y.iushln(_)}},s.prototype._invmp=function(a){n(a.negative===0),n(!a.isZero());var d=this,y=a.clone();d.negative!==0?d=d.umod(a):d=d.clone();for(var w=new s(1),S=new s(0),I=y.clone();d.cmpn(1)>0&&y.cmpn(1)>0;){for(var B=0,_=1;!(d.words[0]&_)&&B<26;++B,_<<=1);if(B>0)for(d.iushrn(B);B-- >0;)w.isOdd()&&w.iadd(I),w.iushrn(1);for(var u=0,R=1;!(y.words[0]&R)&&u<26;++u,R<<=1);if(u>0)for(y.iushrn(u);u-- >0;)S.isOdd()&&S.iadd(I),S.iushrn(1);d.cmp(y)>=0?(d.isub(y),w.isub(S)):(y.isub(d),S.isub(w))}var K;return d.cmpn(1)===0?K=w:K=S,K.cmpn(0)<0&&K.iadd(a),K},s.prototype.gcd=function(a){if(this.isZero())return a.abs();if(a.isZero())return this.abs();var d=this.clone(),y=a.clone();d.negative=0,y.negative=0;for(var w=0;d.isEven()&&y.isEven();w++)d.iushrn(1),y.iushrn(1);do{for(;d.isEven();)d.iushrn(1);for(;y.isEven();)y.iushrn(1);var S=d.cmp(y);if(S<0){var I=d;d=y,y=I}else if(S===0||y.cmpn(1)===0)break;d.isub(y)}while(!0);return y.iushln(w)},s.prototype.invm=function(a){return this.egcd(a).a.umod(a)},s.prototype.isEven=function(){return(this.words[0]&1)===0},s.prototype.isOdd=function(){return(this.words[0]&1)===1},s.prototype.andln=function(a){return this.words[0]&a},s.prototype.bincn=function(a){n(typeof a=="number");var d=a%26,y=(a-d)/26,w=1<<d;if(this.length<=y)return this._expand(y+1),this.words[y]|=w,this;for(var S=w,I=y;S!==0&&I<this.length;I++){var B=this.words[I]|0;B+=S,S=B>>>26,B&=67108863,this.words[I]=B}return S!==0&&(this.words[I]=S,this.length++),this},s.prototype.isZero=function(){return this.length===1&&this.words[0]===0},s.prototype.cmpn=function(a){var d=a<0;if(this.negative!==0&&!d)return-1;if(this.negative===0&&d)return 1;this._strip();var y;if(this.length>1)y=1;else{d&&(a=-a),n(a<=67108863,"Number is too big");var w=this.words[0]|0;y=w===a?0:w<a?-1:1}return this.negative!==0?-y|0:y},s.prototype.cmp=function(a){if(this.negative!==0&&a.negative===0)return-1;if(this.negative===0&&a.negative!==0)return 1;var d=this.ucmp(a);return this.negative!==0?-d|0:d},s.prototype.ucmp=function(a){if(this.length>a.length)return 1;if(this.length<a.length)return-1;for(var d=0,y=this.length-1;y>=0;y--){var w=this.words[y]|0,S=a.words[y]|0;if(w!==S){w<S?d=-1:w>S&&(d=1);break}}return d},s.prototype.gtn=function(a){return this.cmpn(a)===1},s.prototype.gt=function(a){return this.cmp(a)===1},s.prototype.gten=function(a){return this.cmpn(a)>=0},s.prototype.gte=function(a){return this.cmp(a)>=0},s.prototype.ltn=function(a){return this.cmpn(a)===-1},s.prototype.lt=function(a){return this.cmp(a)===-1},s.prototype.lten=function(a){return this.cmpn(a)<=0},s.prototype.lte=function(a){return this.cmp(a)<=0},s.prototype.eqn=function(a){return this.cmpn(a)===0},s.prototype.eq=function(a){return this.cmp(a)===0},s.red=function(a){return new oe(a)},s.prototype.toRed=function(a){return n(!this.red,"Already a number in reduction context"),n(this.negative===0,"red works only with positives"),a.convertTo(this)._forceRed(a)},s.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},s.prototype._forceRed=function(a){return this.red=a,this},s.prototype.forceRed=function(a){return n(!this.red,"Already a number in reduction context"),this._forceRed(a)},s.prototype.redAdd=function(a){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,a)},s.prototype.redIAdd=function(a){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,a)},s.prototype.redSub=function(a){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,a)},s.prototype.redISub=function(a){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,a)},s.prototype.redShl=function(a){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,a)},s.prototype.redMul=function(a){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,a),this.red.mul(this,a)},s.prototype.redIMul=function(a){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,a),this.red.imul(this,a)},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(a){return n(this.red&&!a.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,a)};var D={k256:null,p224:null,p192:null,p25519:null};function z(x,a){this.name=x,this.p=new s(a,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 a=new s(null);return a.words=new Array(Math.ceil(this.n/13)),a},z.prototype.ireduce=function(a){var d=a,y;do this.split(d,this.tmp),d=this.imulK(d),d=d.iadd(this.tmp),y=d.bitLength();while(y>this.n);var w=y<this.n?-1:d.ucmp(this.p);return w===0?(d.words[0]=0,d.length=1):w>0?d.isub(this.p):d.strip!==void 0?d.strip():d._strip(),d},z.prototype.split=function(a,d){a.iushrn(this.n,0,d)},z.prototype.imulK=function(a){return a.imul(this.k)};function te(){z.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}i(te,z),te.prototype.split=function(a,d){for(var y=4194303,w=Math.min(a.length,9),S=0;S<w;S++)d.words[S]=a.words[S];if(d.length=w,a.length<=9){a.words[0]=0,a.length=1;return}var I=a.words[9];for(d.words[d.length++]=I&y,S=10;S<a.length;S++){var B=a.words[S]|0;a.words[S-10]=(B&y)<<4|I>>>22,I=B}I>>>=22,a.words[S-10]=I,I===0&&a.length>10?a.length-=10:a.length-=9},te.prototype.imulK=function(a){a.words[a.length]=0,a.words[a.length+1]=0,a.length+=2;for(var d=0,y=0;y<a.length;y++){var w=a.words[y]|0;d+=w*977,a.words[y]=d&67108863,d=w*64+(d/67108864|0)}return a.words[a.length-1]===0&&(a.length--,a.words[a.length-1]===0&&a.length--),a};function Q(){z.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}i(Q,z);function Y(){z.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}i(Y,z);function de(){z.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}i(de,z),de.prototype.imulK=function(a){for(var d=0,y=0;y<a.length;y++){var w=(a.words[y]|0)*19+d,S=w&67108863;w>>>=26,a.words[y]=S,d=w}return d!==0&&(a.words[a.length++]=d),a},s._prime=function(a){if(D[a])return D[a];var d;if(a==="k256")d=new te;else if(a==="p224")d=new Q;else if(a==="p192")d=new Y;else if(a==="p25519")d=new de;else throw new Error("Unknown prime "+a);return D[a]=d,d};function oe(x){if(typeof x=="string"){var a=s._prime(x);this.m=a.p,this.prime=a}else n(x.gtn(1),"modulus must be greater than 1"),this.m=x,this.prime=null}oe.prototype._verify1=function(a){n(a.negative===0,"red works only with positives"),n(a.red,"red works only with red numbers")},oe.prototype._verify2=function(a,d){n((a.negative|d.negative)===0,"red works only with positives"),n(a.red&&a.red===d.red,"red works only with red numbers")},oe.prototype.imod=function(a){return this.prime?this.prime.ireduce(a)._forceRed(this):(p(a,a.umod(this.m)._forceRed(this)),a)},oe.prototype.neg=function(a){return a.isZero()?a.clone():this.m.sub(a)._forceRed(this)},oe.prototype.add=function(a,d){this._verify2(a,d);var y=a.add(d);return y.cmp(this.m)>=0&&y.isub(this.m),y._forceRed(this)},oe.prototype.iadd=function(a,d){this._verify2(a,d);var y=a.iadd(d);return y.cmp(this.m)>=0&&y.isub(this.m),y},oe.prototype.sub=function(a,d){this._verify2(a,d);var y=a.sub(d);return y.cmpn(0)<0&&y.iadd(this.m),y._forceRed(this)},oe.prototype.isub=function(a,d){this._verify2(a,d);var y=a.isub(d);return y.cmpn(0)<0&&y.iadd(this.m),y},oe.prototype.shl=function(a,d){return this._verify1(a),this.imod(a.ushln(d))},oe.prototype.imul=function(a,d){return this._verify2(a,d),this.imod(a.imul(d))},oe.prototype.mul=function(a,d){return this._verify2(a,d),this.imod(a.mul(d))},oe.prototype.isqr=function(a){return this.imul(a,a.clone())},oe.prototype.sqr=function(a){return this.mul(a,a)},oe.prototype.sqrt=function(a){if(a.isZero())return a.clone();var d=this.m.andln(3);if(n(d%2===1),d===3){var y=this.m.add(new s(1)).iushrn(2);return this.pow(a,y)}for(var w=this.m.subn(1),S=0;!w.isZero()&&w.andln(1)===0;)S++,w.iushrn(1);n(!w.isZero());var I=new s(1).toRed(this),B=I.redNeg(),_=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new s(2*u*u).toRed(this);this.pow(u,_).cmp(B)!==0;)u.redIAdd(B);for(var R=this.pow(u,w),K=this.pow(a,w.addn(1).iushrn(1)),J=this.pow(a,w),T=S;J.cmp(I)!==0;){for(var L=J,W=0;L.cmp(I)!==0;W++)L=L.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(a){var d=a._invmp(this.m);return d.negative!==0?(d.negative=0,this.imod(d).redNeg()):this.imod(d)},oe.prototype.pow=function(a,d){if(d.isZero())return new s(1).toRed(this);if(d.cmpn(1)===0)return a.clone();var y=4,w=new Array(1<<y);w[0]=new s(1).toRed(this),w[1]=a;for(var S=2;S<w.length;S++)w[S]=this.mul(w[S-1],a);var I=w[0],B=0,_=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(I!==w[0]&&(I=this.sqr(I)),J===0&&B===0){_=0;continue}B<<=1,B|=J,_++,!(_!==y&&(S!==0||K!==0))&&(I=this.mul(I,w[B]),_=0,B=0)}u=26}return I},oe.prototype.convertTo=function(a){var d=a.umod(this.m);return d===a?d.clone():d},oe.prototype.convertFrom=function(a){var d=a.clone();return d.red=null,d},s.mont=function(a){return new pe(a)};function pe(x){oe.call(this,x),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(a){return this.imod(a.ushln(this.shift))},pe.prototype.convertFrom=function(a){var d=this.imod(a.mul(this.rinv));return d.red=null,d},pe.prototype.imul=function(a,d){if(a.isZero()||d.isZero())return a.words[0]=0,a.length=1,a;var y=a.imul(d),w=y.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),S=y.isub(w).iushrn(this.shift),I=S;return S.cmp(this.m)>=0?I=S.isub(this.m):S.cmpn(0)<0&&(I=S.iadd(this.m)),I._forceRed(this)},pe.prototype.mul=function(a,d){if(a.isZero()||d.isZero())return new s(0)._forceRed(this);var y=a.mul(d),w=y.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),S=y.isub(w).iushrn(this.shift),I=S;return S.cmp(this.m)>=0?I=S.isub(this.m):S.cmpn(0)<0&&(I=S.iadd(this.m)),I._forceRed(this)},pe.prototype.invm=function(a){var d=this.imod(a._invmp(this.m).mul(this.r2));return d._forceRed(this)}})(e,ee)})(Vo);var $i=Vo.exports,Bn={},Ut={};Object.defineProperty(Ut,"__esModule",{value:!0});Ut.errorValues=Ut.standardErrorCodes=void 0;Ut.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}};Ut.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 Fi={},Di={};(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=Ut,r="Unspecified error message.";e.JSON_RPC_SERVER_ERROR_MESSAGE="Unspecified server error.";function n(b,k=r){if(b&&Number.isInteger(b)){const j=b.toString();if(p(t.errorValues,j))return t.errorValues[j].message;if(f(b))return e.JSON_RPC_SERVER_ERROR_MESSAGE}return k}e.getMessageFromCode=n;function i(b){if(!Number.isInteger(b))return!1;const k=b.toString();return!!(t.errorValues[k]||f(b))}e.isValidCode=i;function s(b){var k;if(typeof b=="number")return b;if(c(b))return(k=b.code)!==null&&k!==void 0?k:b.errorCode}e.getErrorCode=s;function c(b){return typeof b=="object"&&b!==null&&(typeof b.code=="number"||typeof b.errorCode=="number")}function o(b,{shouldIncludeStack:k=!1}={}){const j={};if(b&&typeof b=="object"&&!Array.isArray(b)&&p(b,"code")&&i(b.code)){const O=b;j.code=O.code,O.message&&typeof O.message=="string"?(j.message=O.message,p(O,"data")&&(j.data=O.data)):(j.message=n(j.code),j.data={originalError:g(b)})}else j.code=t.standardErrorCodes.rpc.internal,j.message=v(b,"message")?b.message:r,j.data={originalError:g(b)};return k&&(j.stack=v(b,"stack")?b.stack:void 0),j}e.serialize=o;function f(b){return b>=-32099&&b<=-32e3}function g(b){return b&&typeof b=="object"&&!Array.isArray(b)?Object.assign({},b):b}function p(b,k){return Object.prototype.hasOwnProperty.call(b,k)}function v(b,k){return typeof b=="object"&&b!==null&&k in b&&typeof b[k]=="string"}})(Di);Object.defineProperty(Fi,"__esModule",{value:!0});Fi.standardErrors=void 0;const rt=Ut,Yl=Di;Fi.standardErrors={rpc:{parse:e=>gt(rt.standardErrorCodes.rpc.parse,e),invalidRequest:e=>gt(rt.standardErrorCodes.rpc.invalidRequest,e),invalidParams:e=>gt(rt.standardErrorCodes.rpc.invalidParams,e),methodNotFound:e=>gt(rt.standardErrorCodes.rpc.methodNotFound,e),internal:e=>gt(rt.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 gt(t,e)},invalidInput:e=>gt(rt.standardErrorCodes.rpc.invalidInput,e),resourceNotFound:e=>gt(rt.standardErrorCodes.rpc.resourceNotFound,e),resourceUnavailable:e=>gt(rt.standardErrorCodes.rpc.resourceUnavailable,e),transactionRejected:e=>gt(rt.standardErrorCodes.rpc.transactionRejected,e),methodNotSupported:e=>gt(rt.standardErrorCodes.rpc.methodNotSupported,e),limitExceeded:e=>gt(rt.standardErrorCodes.rpc.limitExceeded,e)},provider:{userRejectedRequest:e=>$r(rt.standardErrorCodes.provider.userRejectedRequest,e),unauthorized:e=>$r(rt.standardErrorCodes.provider.unauthorized,e),unsupportedMethod:e=>$r(rt.standardErrorCodes.provider.unsupportedMethod,e),disconnected:e=>$r(rt.standardErrorCodes.provider.disconnected,e),chainDisconnected:e=>$r(rt.standardErrorCodes.provider.chainDisconnected,e),unsupportedChain:e=>$r(rt.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 eu(t,r,n)}}};function gt(e,t){const[r,n]=Ql(t);return new Xl(e,r||(0,Yl.getMessageFromCode)(e),n)}function $r(e,t){const[r,n]=Ql(t);return new eu(e,r||(0,Yl.getMessageFromCode)(e),n)}function Ql(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 Xl=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)}},eu=class extends Xl{constructor(t,r,n){if(!t0(t))throw new Error('"code" must be an integer such that: 1000 <= code <= 4999');super(t,r,n)}};function t0(e){return Number.isInteger(e)&&e>=1e3&&e<=4999}var ji={},cn={};Object.defineProperty(cn,"__esModule",{value:!0});cn.isErrorResponse=void 0;function r0(e){return e.errorMessage!==void 0}cn.isErrorResponse=r0;var ln={};Object.defineProperty(ln,"__esModule",{value:!0});ln.LIB_VERSION=void 0;ln.LIB_VERSION="3.9.3";Object.defineProperty(ji,"__esModule",{value:!0});ji.serializeError=void 0;const n0=cn,i0=ln,s0=Ut,o0=Di;function a0(e,t){const r=(0,o0.serialize)(c0(e),{shouldIncludeStack:!0}),n=new URL("https://docs.cloud.coinbase.com/wallet-sdk/docs/errors");n.searchParams.set("version",i0.LIB_VERSION),n.searchParams.set("code",r.code.toString());const i=l0(r.data,t);return i&&n.searchParams.set("method",i),n.searchParams.set("message",r.message),Object.assign(Object.assign({},r),{docUrl:n.href})}ji.serializeError=a0;function c0(e){return typeof e=="string"?{message:e,code:s0.standardErrorCodes.rpc.internal}:(0,n0.isErrorResponse)(e)?Object.assign(Object.assign({},e),{message:e.errorMessage,code:e.errorCode,data:{method:e.method}}):e}function l0(e,t){const r=e==null?void 0: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=Ut;Object.defineProperty(e,"standardErrorCodes",{enumerable:!0,get:function(){return t.standardErrorCodes}});const r=Fi;Object.defineProperty(e,"standardErrors",{enumerable:!0,get:function(){return r.standardErrors}});const n=ji;Object.defineProperty(e,"serializeError",{enumerable:!0,get:function(){return n.serializeError}});const i=Di;Object.defineProperty(e,"getErrorCode",{enumerable:!0,get:function(){return i.getErrorCode}}),Object.defineProperty(e,"getMessageFromCode",{enumerable:!0,get:function(){return i.getMessageFromCode}})})(Bn);var Ke={};Object.defineProperty(Ke,"__esModule",{value:!0});Ke.ProviderType=Ke.RegExpString=Ke.IntNumber=Ke.BigIntString=Ke.AddressString=Ke.HexString=Ke.OpaqueType=void 0;function Nn(){return e=>e}Ke.OpaqueType=Nn;Ke.HexString=Nn();Ke.AddressString=Nn();Ke.BigIntString=Nn();function u0(e){return Math.floor(e)}Ke.IntNumber=u0;Ke.RegExpString=Nn();var Ka;(function(e){e.CoinbaseWallet="CoinbaseWallet",e.MetaMask="MetaMask",e.Unselected=""})(Ka||(Ke.ProviderType=Ka={}));var h0=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 zt=h0($i),Sr=Bn,bt=Ke,tu=/^[0-9]*$/,ru=/^[a-f0-9]*$/;function f0(e){return nu(crypto.getRandomValues(new Uint8Array(e)))}X.randomBytesHex=f0;function nu(e){return[...e].map(t=>t.toString(16).padStart(2,"0")).join("")}X.uint8ArrayToHex=nu;function d0(e){return new Uint8Array(e.match(/.{1,2}/g).map(t=>parseInt(t,16)))}X.hexStringToUint8Array=d0;function p0(e,t=!1){const r=e.toString("hex");return(0,bt.HexString)(t?`0x${r}`:r)}X.hexStringFromBuffer=p0;function g0(e){return(0,bt.BigIntString)(e.toString(10))}X.bigIntStringFromBN=g0;function m0(e){return(0,bt.IntNumber)(new zt.default(Ln(e,!1),16).toNumber())}X.intNumberFromHexString=m0;function y0(e){return(0,bt.HexString)(`0x${new zt.default(e).toString(16)}`)}X.hexStringFromIntNumber=y0;function qo(e){return e.startsWith("0x")||e.startsWith("0X")}X.has0xPrefix=qo;function Ui(e){return qo(e)?e.slice(2):e}X.strip0x=Ui;function iu(e){return qo(e)?`0x${e.slice(2)}`:`0x${e}`}X.prepend0x=iu;function Pn(e){if(typeof e!="string")return!1;const t=Ui(e).toLowerCase();return ru.test(t)}X.isHexString=Pn;function su(e,t=!1){if(typeof e=="string"){const r=Ui(e).toLowerCase();if(ru.test(r))return(0,bt.HexString)(t?`0x${r}`:r)}throw Sr.standardErrors.rpc.invalidParams(`"${String(e)}" is not a hexadecimal string`)}X.ensureHexString=su;function Ln(e,t=!1){let r=su(e,!1);return r.length%2===1&&(r=(0,bt.HexString)(`0${r}`)),t?(0,bt.HexString)(`0x${r}`):r}X.ensureEvenLengthHexString=Ln;function v0(e){if(typeof e=="string"){const t=Ui(e).toLowerCase();if(Pn(t)&&t.length===40)return(0,bt.AddressString)(iu(t))}throw Sr.standardErrors.rpc.invalidParams(`Invalid Ethereum address: ${String(e)}`)}X.ensureAddressString=v0;function w0(e){if(Buffer.isBuffer(e))return e;if(typeof e=="string"){if(Pn(e)){const t=Ln(e,!1);return Buffer.from(t,"hex")}return Buffer.from(e,"utf8")}throw Sr.standardErrors.rpc.invalidParams(`Not binary data: ${String(e)}`)}X.ensureBuffer=w0;function ou(e){if(typeof e=="number"&&Number.isInteger(e))return(0,bt.IntNumber)(e);if(typeof e=="string"){if(tu.test(e))return(0,bt.IntNumber)(Number(e));if(Pn(e))return(0,bt.IntNumber)(new zt.default(Ln(e,!1),16).toNumber())}throw Sr.standardErrors.rpc.invalidParams(`Not an integer: ${String(e)}`)}X.ensureIntNumber=ou;function b0(e){if(e instanceof RegExp)return(0,bt.RegExpString)(e.toString());throw Sr.standardErrors.rpc.invalidParams(`Not a RegExp: ${String(e)}`)}X.ensureRegExpString=b0;function _0(e){if(e!==null&&(zt.default.isBN(e)||au(e)))return new zt.default(e.toString(10),10);if(typeof e=="number")return new zt.default(ou(e));if(typeof e=="string"){if(tu.test(e))return new zt.default(e,10);if(Pn(e))return new zt.default(Ln(e,!1),16)}throw Sr.standardErrors.rpc.invalidParams(`Not an integer: ${String(e)}`)}X.ensureBN=_0;function E0(e){if(typeof e=="string")return JSON.parse(e);if(typeof e=="object")return e;throw Sr.standardErrors.rpc.invalidParams(`Not a JSON string or an object: ${String(e)}`)}X.ensureParsedJSONObject=E0;function au(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=au;function S0(e,t){return Array.from({length:t-e},(r,n)=>e+n)}X.range=S0;function R0(){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=R0;function C0(e,t,r,n,i,s){const c=n?"parent-id":"id",o=new URLSearchParams({[c]:e,secret:t,server:r,v:i,chainId:s.toString()}).toString();return`${r}/#/link?${o}`}X.createQrUrl=C0;function cu(){try{return window.frameElement!==null}catch{return!1}}X.isInIFrame=cu;function M0(){try{return cu()&&window.top?window.top.location:window.location}catch{return window.location}}X.getLocation=M0;function I0(){var e;return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test((e=window==null?void 0:window.navigator)===null||e===void 0?void 0:e.userAgent)}X.isMobileWeb=I0;var Hi={};Object.defineProperty(Hi,"__esModule",{value:!0});Hi.ScopedLocalStorage=void 0;class x0{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}`}}Hi.ScopedLocalStorage=x0;var Xr={};const A0=an(Zh);var On={},$n={},un={};Object.defineProperty(un,"__esModule",{value:!0});un.EVENTS=void 0;un.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 Ya=Bn;wt.WALLET_USER_NAME_KEY="walletUsername";wt.LOCAL_STORAGE_ADDRESSES_KEY="Addresses";wt.APP_VERSION_KEY="AppVersion";class k0{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 Ya.standardErrors.rpc.parse({});const i=n,{error:s}=i;if(s)throw(0,Ya.serializeError)(s,t.method);return i})}}wt.RelayAbstract=k0;var hn={},lu={exports:{}},No={exports:{}},Fn={},Wi={};Wi.byteLength=N0;Wi.toByteArray=L0;Wi.fromByteArray=F0;var Pt=[],vt=[],T0=typeof Uint8Array<"u"?Uint8Array:Array,Gs="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var Fr=0,B0=Gs.length;Fr<B0;++Fr)Pt[Fr]=Gs[Fr],vt[Gs.charCodeAt(Fr)]=Fr;vt[45]=62;vt[95]=63;function uu(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 N0(e){var t=uu(e),r=t[0],n=t[1];return(r+n)*3/4-n}function P0(e,t,r){return(t+r)*3/4-r}function L0(e){var t,r=uu(e),n=r[0],i=r[1],s=new T0(P0(e,n,i)),c=0,o=i>0?n-4:n,f;for(f=0;f<o;f+=4)t=vt[e.charCodeAt(f)]<<18|vt[e.charCodeAt(f+1)]<<12|vt[e.charCodeAt(f+2)]<<6|vt[e.charCodeAt(f+3)],s[c++]=t>>16&255,s[c++]=t>>8&255,s[c++]=t&255;return i===2&&(t=vt[e.charCodeAt(f)]<<2|vt[e.charCodeAt(f+1)]>>4,s[c++]=t&255),i===1&&(t=vt[e.charCodeAt(f)]<<10|vt[e.charCodeAt(f+1)]<<4|vt[e.charCodeAt(f+2)]>>2,s[c++]=t>>8&255,s[c++]=t&255),s}function O0(e){return Pt[e>>18&63]+Pt[e>>12&63]+Pt[e>>6&63]+Pt[e&63]}function $0(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(O0(n));return i.join("")}function F0(e){for(var t,r=e.length,n=r%3,i=[],s=16383,c=0,o=r-n;c<o;c+=s)i.push($0(e,c,c+s>o?o:c+s));return n===1?(t=e[r-1],i.push(Pt[t>>2]+Pt[t<<4&63]+"==")):n===2&&(t=(e[r-2]<<8)+e[r-1],i.push(Pt[t>>10]+Pt[t>>4&63]+Pt[t<<2&63]+"=")),i.join("")}var zo={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */zo.read=function(e,t,r,n,i){var s,c,o=i*8-n-1,f=(1<<o)-1,g=f>>1,p=-7,v=r?i-1:0,b=r?-1:1,k=e[t+v];for(v+=b,s=k&(1<<-p)-1,k>>=-p,p+=o;p>0;s=s*256+e[t+v],v+=b,p-=8);for(c=s&(1<<-p)-1,s>>=-p,p+=n;p>0;c=c*256+e[t+v],v+=b,p-=8);if(s===0)s=1-g;else{if(s===f)return c?NaN:(k?-1:1)*(1/0);c=c+Math.pow(2,n),s=s-g}return(k?-1:1)*c*Math.pow(2,s-n)};zo.write=function(e,t,r,n,i,s){var c,o,f,g=s*8-i-1,p=(1<<g)-1,v=p>>1,b=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,k=n?0:s-1,j=n?1:-1,O=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=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+=b/f:t+=b*Math.pow(2,1-v),t*f>=2&&(c++,f/=2),c+v>=p?(o=0,c=p):c+v>=1?(o=(t*f-1)*Math.pow(2,i),c=c+v):(o=t*Math.pow(2,v-1)*Math.pow(2,i),c=0));i>=8;e[r+k]=o&255,k+=j,o/=256,i-=8);for(c=c<<i|o,g+=i;g>0;e[r+k]=c&255,k+=j,c/=256,g-=8);e[r+k-j]|=O*128};/*!
1
+ import{bH as Aa,f as ee,bN as br,h as an,bO as qh,i as zh}from"./index-DGyUl-Nq.js";import{i as Mt}from"./inherits_browser-BlmhoU4v.js";import{p as Gh,a as Jh}from"./hooks.module-Dz_XB4AG.js";const Zh=Object.freeze(Object.defineProperty({__proto__:null,EventEmitter:Aa,default:Aa},Symbol.toStringTag,{value:"Module"}));var Co={exports:{}},$s,ka;function Kh(){if(ka)return $s;ka=1;var e=1e3,t=e*60,r=t*60,n=r*24,i=n*7,s=n*365.25;$s=function(p,v){v=v||{};var b=typeof p;if(b==="string"&&p.length>0)return c(p);if(b==="number"&&isFinite(p))return v.long?f(p):o(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 b=parseFloat(v[1]),k=(v[2]||"ms").toLowerCase();switch(k){case"years":case"year":case"yrs":case"yr":case"y":return b*s;case"weeks":case"week":case"w":return b*i;case"days":case"day":case"d":return b*n;case"hours":case"hour":case"hrs":case"hr":case"h":return b*r;case"minutes":case"minute":case"mins":case"min":case"m":return b*t;case"seconds":case"second":case"secs":case"sec":case"s":return b*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return b;default:return}}}}function o(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,b,k){var j=v>=b*1.5;return Math.round(p/b)+" "+k+(j?"s":"")}return $s}function Yh(e){r.debug=r,r.default=r,r.coerce=f,r.disable=s,r.enable=i,r.enabled=c,r.humanize=Kh(),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 b=0;b<p.length;b++)v=(v<<5)-v+p.charCodeAt(b),v|=0;return r.colors[Math.abs(v)%r.colors.length]}r.selectColor=t;function r(p){let v,b=null,k,j;function O(...H){if(!O.enabled)return;const A=O,P=Number(new Date),$=P-(v||P);A.diff=$,A.prev=v,A.curr=P,v=P,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 Q=r.formatters[te];if(typeof Q=="function"){const Y=H[V];z=Q.call(A,Y),H.splice(V,1),V--}return z}),r.formatArgs.call(A,H),(A.log||r.log).apply(A,H)}return O.namespace=p,O.useColors=r.useColors(),O.color=r.selectColor(p),O.extend=n,O.destroy=r.destroy,Object.defineProperty(O,"enabled",{enumerable:!0,configurable:!1,get:()=>b!==null?b:(k!==r.namespaces&&(k=r.namespaces,j=r.enabled(p)),j),set:H=>{b=H}}),typeof r.init=="function"&&r.init(O),O}function n(p,v){const b=r(this.namespace+(typeof v>"u"?":":v)+p);return b.log=this.log,b}function i(p){r.save(p),r.namespaces=p,r.names=[],r.skips=[];let v;const b=(typeof p=="string"?p:"").split(/[\s,]+/),k=b.length;for(v=0;v<k;v++)b[v]&&(p=b[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(o),...r.skips.map(o).map(v=>"-"+v)].join(",");return r.enable(""),p}function c(p){if(p[p.length-1]==="*")return!0;let v,b;for(v=0,b=r.skips.length;v<b;v++)if(r.skips[v].test(p))return!1;for(v=0,b=r.names.length;v<b;v++)if(r.names[v].test(p))return!0;return!1}function o(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 Qh=Yh;(function(e,t){var r={};t.formatArgs=i,t.save=s,t.load=c,t.useColors=n,t.storage=o(),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,b=0;g[0].replace(/%[a-zA-Z%]/g,k=>{k!=="%%"&&(v++,k==="%c"&&(b=v))}),g.splice(b,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 o(){try{return localStorage}catch{}}e.exports=Qh(t);const{formatters:f}=e.exports;f.j=function(g){try{return JSON.stringify(g)}catch(p){return"[UnexpectedJSONParseError]: "+p.message}}})(Co,Co.exports);var Xh=Co.exports,ef=En;En.default=En;En.stable=xl;En.stableStringify=xl;var Ii="[...]",Ml="[Circular]",_r=[],mr=[];function Il(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function En(e,t,r,n){typeof n>"u"&&(n=Il()),Mo(e,"",0,[],void 0,0,n);var i;try{mr.length===0?i=JSON.stringify(e,t,r):i=JSON.stringify(e,Al(t),r)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;_r.length!==0;){var s=_r.pop();s.length===4?Object.defineProperty(s[0],s[1],s[3]):s[0][s[1]]=s[2]}}return i}function Gr(e,t,r,n){var i=Object.getOwnPropertyDescriptor(n,r);i.get!==void 0?i.configurable?(Object.defineProperty(n,r,{value:e}),_r.push([n,r,t,i])):mr.push([t,r,e]):(n[r]=e,_r.push([n,r,t]))}function Mo(e,t,r,n,i,s,c){s+=1;var o;if(typeof e=="object"&&e!==null){for(o=0;o<n.length;o++)if(n[o]===e){Gr(Ml,e,t,i);return}if(typeof c.depthLimit<"u"&&s>c.depthLimit){Gr(Ii,e,t,i);return}if(typeof c.edgesLimit<"u"&&r+1>c.edgesLimit){Gr(Ii,e,t,i);return}if(n.push(e),Array.isArray(e))for(o=0;o<e.length;o++)Mo(e[o],o,o,n,e,s,c);else{var f=Object.keys(e);for(o=0;o<f.length;o++){var g=f[o];Mo(e[g],g,o,n,e,s,c)}}n.pop()}}function tf(e,t){return e<t?-1:e>t?1:0}function xl(e,t,r,n){typeof n>"u"&&(n=Il());var i=Io(e,"",0,[],void 0,0,n)||e,s;try{mr.length===0?s=JSON.stringify(i,t,r):s=JSON.stringify(i,Al(t),r)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;_r.length!==0;){var c=_r.pop();c.length===4?Object.defineProperty(c[0],c[1],c[3]):c[0][c[1]]=c[2]}}return s}function Io(e,t,r,n,i,s,c){s+=1;var o;if(typeof e=="object"&&e!==null){for(o=0;o<n.length;o++)if(n[o]===e){Gr(Ml,e,t,i);return}try{if(typeof e.toJSON=="function")return}catch{return}if(typeof c.depthLimit<"u"&&s>c.depthLimit){Gr(Ii,e,t,i);return}if(typeof c.edgesLimit<"u"&&r+1>c.edgesLimit){Gr(Ii,e,t,i);return}if(n.push(e),Array.isArray(e))for(o=0;o<e.length;o++)Io(e[o],o,o,n,e,s,c);else{var f={},g=Object.keys(e).sort(tf);for(o=0;o<g.length;o++){var p=g[o];Io(e[p],p,o,n,e,s,c),f[p]=e[p]}if(typeof i<"u")_r.push([i,t,e]),i[t]=f;else return f}n.pop()}}function Al(e){return e=typeof e<"u"?e:function(t,r){return r},function(t,r){if(mr.length>0)for(var n=0;n<mr.length;n++){var i=mr[n];if(i[1]===t&&i[0]===r){r=i[2],mr.splice(n,1);break}}return e.call(this,t,r)}}var bi=Object.defineProperty||!1;if(bi)try{bi({},"a",{value:1})}catch{bi=!1}var Pi=bi,kl=SyntaxError,In=TypeError,rf=Object.getOwnPropertyDescriptor,_i=rf;if(_i)try{_i([],"length")}catch{_i=null}var xn=_i,Ta=Pi,nf=kl,Lr=In,Ba=xn,sf=function(t,r,n){if(!t||typeof t!="object"&&typeof t!="function")throw new Lr("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new Lr("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Lr("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Lr("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Lr("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Lr("`loose`, if provided, must be a boolean");var i=arguments.length>3?arguments[3]:null,s=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,o=arguments.length>6?arguments[6]:!1,f=!!Ba&&Ba(t,r);if(Ta)Ta(t,r,{configurable:c===null&&f?f.configurable:!c,enumerable:i===null&&f?f.enumerable:!i,value:n,writable:s===null&&f?f.writable:!s});else if(o||!i&&!s&&!c)t[r]=n;else throw new nf("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},xo=Pi,Tl=function(){return!!xo};Tl.hasArrayLengthDefineBug=function(){if(!xo)return null;try{return xo([],"length",{value:1}).length!==1}catch{return!0}};var of=Tl,Bl={exports:{}},Nl=Object,af=Error,cf=EvalError,lf=RangeError,uf=ReferenceError,hf=URIError,ff=Math.abs,df=Math.floor,pf=Math.max,gf=Math.min,mf=Math.pow,yf=Math.round,vf=Number.isNaN||function(t){return t!==t},wf=vf,bf=function(t){return wf(t)||t===0?t:t<0?-1:1},Pl=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;t[r]=i;for(var s in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var c=Object.getOwnPropertySymbols(t);if(c.length!==1||c[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var o=Object.getOwnPropertyDescriptor(t,r);if(o.value!==i||o.enumerable!==!0)return!1}return!0},Na=typeof Symbol<"u"&&Symbol,_f=Pl,Ef=function(){return typeof Na!="function"||typeof Symbol!="function"||typeof Na("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:_f()},Ll=typeof Reflect<"u"&&Reflect.getPrototypeOf||null,Sf=Nl,Ol=Sf.getPrototypeOf||null,Fs,Pa;function Rf(){if(Pa)return Fs;Pa=1;var e="Function.prototype.bind called on incompatible ",t=Object.prototype.toString,r=Math.max,n="[object Function]",i=function(f,g){for(var p=[],v=0;v<f.length;v+=1)p[v]=f[v];for(var b=0;b<g.length;b+=1)p[b+f.length]=g[b];return p},s=function(f,g){for(var p=[],v=g,b=0;v<f.length;v+=1,b+=1)p[b]=f[v];return p},c=function(o,f){for(var g="",p=0;p<o.length;p+=1)g+=o[p],p+1<o.length&&(g+=f);return g};return Fs=function(f){var g=this;if(typeof g!="function"||t.apply(g)!==n)throw new TypeError(e+g);for(var p=s(arguments,1),v,b=function(){if(this instanceof v){var A=g.apply(this,i(p,arguments));return Object(A)===A?A:this}return g.apply(f,i(p,arguments))},k=r(0,g.length-p.length),j=[],O=0;O<k;O++)j[O]="$"+O;if(v=Function("binder","return function ("+c(j,",")+"){ return binder.apply(this,arguments); }")(b),g.prototype){var H=function(){};H.prototype=g.prototype,v.prototype=new H,H.prototype=null}return v},Fs}var Ds,La;function An(){if(La)return Ds;La=1;var e=Rf();return Ds=Function.prototype.bind||e,Ds}var js,Oa;function Do(){return Oa||(Oa=1,js=Function.prototype.call),js}var Us,$a;function jo(){return $a||($a=1,Us=Function.prototype.apply),Us}var Cf=typeof Reflect<"u"&&Reflect&&Reflect.apply,Mf=An(),If=jo(),xf=Do(),Af=Cf,$l=Af||Mf.call(xf,If),kf=An(),Tf=In,Bf=Do(),Nf=$l,Uo=function(t){if(t.length<1||typeof t[0]!="function")throw new Tf("a function is required");return Nf(kf,Bf,t)},Pf=Uo,Fa=xn,Fl;try{Fl=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!="object"||!("code"in e)||e.code!=="ERR_PROTO_ACCESS")throw e}var Hs=!!Fl&&Fa&&Fa(Object.prototype,"__proto__"),Dl=Object,Da=Dl.getPrototypeOf,Lf=Hs&&typeof Hs.get=="function"?Pf([Hs.get]):typeof Da=="function"?function(t){return Da(t==null?t:Dl(t))}:!1,ja=Ll,Ua=Ol,Ha=Lf,jl=ja?function(t){return ja(t)}:Ua?function(t){if(!t||typeof t!="object"&&typeof t!="function")throw new TypeError("getProto: not an object");return Ua(t)}:Ha?function(t){return Ha(t)}:null,Of=Function.prototype.call,$f=Object.prototype.hasOwnProperty,Ff=An(),Df=Ff.call(Of,$f),me,jf=Nl,Uf=af,Hf=cf,Wf=lf,Vf=uf,Qr=kl,Jr=In,qf=hf,zf=ff,Gf=df,Jf=pf,Zf=gf,Kf=mf,Yf=yf,Qf=bf,Ul=Function,Ws=function(e){try{return Ul('"use strict"; return ('+e+").constructor;")()}catch{}},Sn=xn,Xf=Pi,Vs=function(){throw new Jr},ed=Sn?function(){try{return arguments.callee,Vs}catch{try{return Sn(arguments,"callee").get}catch{return Vs}}}():Vs,Or=Ef(),et=jl,td=Ol,rd=Ll,Hl=jo(),kn=Do(),Wr={},nd=typeof Uint8Array>"u"||!et?me:et(Uint8Array),vr={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?me:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?me:ArrayBuffer,"%ArrayIteratorPrototype%":Or&&et?et([][Symbol.iterator]()):me,"%AsyncFromSyncIteratorPrototype%":me,"%AsyncFunction%":Wr,"%AsyncGenerator%":Wr,"%AsyncGeneratorFunction%":Wr,"%AsyncIteratorPrototype%":Wr,"%Atomics%":typeof Atomics>"u"?me:Atomics,"%BigInt%":typeof BigInt>"u"?me:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?me:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?me:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?me:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Uf,"%eval%":eval,"%EvalError%":Hf,"%Float16Array%":typeof Float16Array>"u"?me:Float16Array,"%Float32Array%":typeof Float32Array>"u"?me:Float32Array,"%Float64Array%":typeof Float64Array>"u"?me:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?me:FinalizationRegistry,"%Function%":Ul,"%GeneratorFunction%":Wr,"%Int8Array%":typeof Int8Array>"u"?me:Int8Array,"%Int16Array%":typeof Int16Array>"u"?me:Int16Array,"%Int32Array%":typeof Int32Array>"u"?me:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Or&&et?et(et([][Symbol.iterator]())):me,"%JSON%":typeof JSON=="object"?JSON:me,"%Map%":typeof Map>"u"?me:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Or||!et?me:et(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":jf,"%Object.getOwnPropertyDescriptor%":Sn,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?me:Promise,"%Proxy%":typeof Proxy>"u"?me:Proxy,"%RangeError%":Wf,"%ReferenceError%":Vf,"%Reflect%":typeof Reflect>"u"?me:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?me:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Or||!et?me:et(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?me:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Or&&et?et(""[Symbol.iterator]()):me,"%Symbol%":Or?Symbol:me,"%SyntaxError%":Qr,"%ThrowTypeError%":ed,"%TypedArray%":nd,"%TypeError%":Jr,"%Uint8Array%":typeof Uint8Array>"u"?me:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?me:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?me:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?me:Uint32Array,"%URIError%":qf,"%WeakMap%":typeof WeakMap>"u"?me:WeakMap,"%WeakRef%":typeof WeakRef>"u"?me:WeakRef,"%WeakSet%":typeof WeakSet>"u"?me:WeakSet,"%Function.prototype.call%":kn,"%Function.prototype.apply%":Hl,"%Object.defineProperty%":Xf,"%Object.getPrototypeOf%":td,"%Math.abs%":zf,"%Math.floor%":Gf,"%Math.max%":Jf,"%Math.min%":Zf,"%Math.pow%":Kf,"%Math.round%":Yf,"%Math.sign%":Qf,"%Reflect.getPrototypeOf%":rd};if(et)try{null.error}catch(e){var id=et(et(e));vr["%Error.prototype%"]=id}var sd=function e(t){var r;if(t==="%AsyncFunction%")r=Ws("async function () {}");else if(t==="%GeneratorFunction%")r=Ws("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=Ws("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&et&&(r=et(i.prototype))}return vr[t]=r,r},Wa={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Tn=An(),xi=Df,od=Tn.call(kn,Array.prototype.concat),ad=Tn.call(Hl,Array.prototype.splice),Va=Tn.call(kn,String.prototype.replace),Ai=Tn.call(kn,String.prototype.slice),cd=Tn.call(kn,RegExp.prototype.exec),ld=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ud=/\\(\\)?/g,hd=function(t){var r=Ai(t,0,1),n=Ai(t,-1);if(r==="%"&&n!=="%")throw new Qr("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new Qr("invalid intrinsic syntax, expected opening `%`");var i=[];return Va(t,ld,function(s,c,o,f){i[i.length]=o?Va(f,ud,"$1"):c||s}),i},fd=function(t,r){var n=t,i;if(xi(Wa,n)&&(i=Wa[n],n="%"+i[0]+"%"),xi(vr,n)){var s=vr[n];if(s===Wr&&(s=sd(n)),typeof s>"u"&&!r)throw new Jr("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:s}}throw new Qr("intrinsic "+t+" does not exist!")},Wl=function(t,r){if(typeof t!="string"||t.length===0)throw new Jr("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new Jr('"allowMissing" argument must be a boolean');if(cd(/^%?[^%]*%?$/,t)===null)throw new Qr("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=hd(t),i=n.length>0?n[0]:"",s=fd("%"+i+"%",r),c=s.name,o=s.value,f=!1,g=s.alias;g&&(i=g[0],ad(n,od([0,1],g)));for(var p=1,v=!0;p<n.length;p+=1){var b=n[p],k=Ai(b,0,1),j=Ai(b,-1);if((k==='"'||k==="'"||k==="`"||j==='"'||j==="'"||j==="`")&&k!==j)throw new Qr("property names with quotes must have matching quotes");if((b==="constructor"||!v)&&(f=!0),i+="."+b,c="%"+i+"%",xi(vr,c))o=vr[c];else if(o!=null){if(!(b in o)){if(!r)throw new Jr("base intrinsic for "+t+" exists, but the property is not available.");return}if(Sn&&p+1>=n.length){var O=Sn(o,b);v=!!O,v&&"get"in O&&!("originalValue"in O.get)?o=O.get:o=o[b]}else v=xi(o,b),o=o[b];v&&!f&&(vr[c]=o)}}return o},dd=Wl,qa=sf,pd=of(),za=xn,Ga=In,gd=dd("%Math.floor%"),md=function(t,r){if(typeof t!="function")throw new Ga("`fn` is not a function");if(typeof r!="number"||r<0||r>4294967295||gd(r)!==r)throw new Ga("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],i=!0,s=!0;if("length"in t&&za){var c=za(t,"length");c&&!c.configurable&&(i=!1),c&&!c.writable&&(s=!1)}return(i||s||!n)&&(pd?qa(t,"length",r,!0,!0):qa(t,"length",r)),t},yd=An(),vd=jo(),wd=$l,bd=function(){return wd(yd,vd,arguments)};(function(e){var t=md,r=Pi,n=Uo,i=bd;e.exports=function(c){var o=n(arguments),f=c.length-(arguments.length-1);return t(o,1+(f>0?f:0),!0)},r?r(e.exports,"apply",{value:i}):e.exports.apply=i})(Bl);var _d=Bl.exports,Vl=Wl,ql=Uo,Ed=ql([Vl("%String.prototype.indexOf%")]),zl=function(t,r){var n=Vl(t,!!r);return typeof n=="function"&&Ed(t,".prototype.")>-1?ql([n]):n},Sd=Pl,Rd=function(){return Sd()&&!!Symbol.toStringTag},Cd={}.toString,Md=Array.isArray||function(e){return Cd.call(e)=="[object Array]"},Gl=Function.prototype.toString,qr=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,Ao,Ei;if(typeof qr=="function"&&typeof Object.defineProperty=="function")try{Ao=Object.defineProperty({},"length",{get:function(){throw Ei}}),Ei={},qr(function(){throw 42},null,Ao)}catch(e){e!==Ei&&(qr=null)}else qr=null;var Id=/^\s*class\b/,ko=function(t){try{var r=Gl.call(t);return Id.test(r)}catch{return!1}},qs=function(t){try{return ko(t)?!1:(Gl.call(t),!0)}catch{return!1}},Si=Object.prototype.toString,xd="[object Object]",Ad="[object Function]",kd="[object GeneratorFunction]",Td="[object HTMLAllCollection]",Bd="[object HTML document.all class]",Nd="[object HTMLCollection]",Pd=typeof Symbol=="function"&&!!Symbol.toStringTag,Ld=!(0 in[,]),To=function(){return!1};if(typeof document=="object"){var Od=document.all;Si.call(Od)===Si.call(document.all)&&(To=function(t){if((Ld||!t)&&(typeof t>"u"||typeof t=="object"))try{var r=Si.call(t);return(r===Td||r===Bd||r===Nd||r===xd)&&t("")==null}catch{}return!1})}var $d=qr?function(t){if(To(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;try{qr(t,null,Ao)}catch(r){if(r!==Ei)return!1}return!ko(t)&&qs(t)}:function(t){if(To(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;if(Pd)return qs(t);if(ko(t))return!1;var r=Si.call(t);return r!==Ad&&r!==kd&&!/^\[object HTML/.test(r)?!1:qs(t)},Fd=$d,Dd=Object.prototype.toString,Jl=Object.prototype.hasOwnProperty,jd=function(t,r,n){for(var i=0,s=t.length;i<s;i++)Jl.call(t,i)&&(n==null?r(t[i],i,t):r.call(n,t[i],i,t))},Ud=function(t,r,n){for(var i=0,s=t.length;i<s;i++)n==null?r(t.charAt(i),i,t):r.call(n,t.charAt(i),i,t)},Hd=function(t,r,n){for(var i in t)Jl.call(t,i)&&(n==null?r(t[i],i,t):r.call(n,t[i],i,t))};function Wd(e){return Dd.call(e)==="[object Array]"}var Vd=function(t,r,n){if(!Fd(r))throw new TypeError("iterator must be a function");var i;arguments.length>=3&&(i=n),Wd(t)?jd(t,r,i):typeof t=="string"?Ud(t,r,i):Hd(t,r,i)},qd=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"],zs=qd,zd=typeof globalThis>"u"?ee:globalThis,Gd=function(){for(var t=[],r=0;r<zs.length;r++)typeof zd[zs[r]]=="function"&&(t[t.length]=zs[r]);return t},ki=Vd,Jd=Gd,Ja=_d,Ho=zl,Ri=xn,ii=jl,Zd=Ho("Object.prototype.toString"),Zl=Rd(),Za=typeof globalThis>"u"?ee:globalThis,Bo=Jd(),Wo=Ho("String.prototype.slice"),Kd=Ho("Array.prototype.indexOf",!0)||function(t,r){for(var n=0;n<t.length;n+=1)if(t[n]===r)return n;return-1},Ti={__proto__:null};Zl&&Ri&&ii?ki(Bo,function(e){var t=new Za[e];if(Symbol.toStringTag in t&&ii){var r=ii(t),n=Ri(r,Symbol.toStringTag);if(!n&&r){var i=ii(r);n=Ri(i,Symbol.toStringTag)}Ti["$"+e]=Ja(n.get)}}):ki(Bo,function(e){var t=new Za[e],r=t.slice||t.set;r&&(Ti["$"+e]=Ja(r))});var Yd=function(t){var r=!1;return ki(Ti,function(n,i){if(!r)try{"$"+n(t)===i&&(r=Wo(i,1))}catch{}}),r},Qd=function(t){var r=!1;return ki(Ti,function(n,i){if(!r)try{n(t),r=Wo(i,1)}catch{}}),r},Xd=function(t){if(!t||typeof t!="object")return!1;if(!Zl){var r=Wo(Zd(t),8,-1);return Kd(Bo,r)>-1?r:r!=="Object"?!1:Qd(t)}return Ri?Yd(t):null},Kl={},Rn={},Li={};Object.defineProperty(Li,"__esModule",{value:!0});Li.walletLogo=void 0;const e0=(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=e0;var Oi={};Object.defineProperty(Oi,"__esModule",{value:!0});Oi.LINK_API_URL=void 0;Oi.LINK_API_URL="https://www.walletlink.org";var X={},Vo={exports:{}};Vo.exports;(function(e){(function(t,r){function n(x,a){if(!x)throw new Error(a||"Assertion failed")}function i(x,a){x.super_=a;var d=function(){};d.prototype=a.prototype,x.prototype=new d,x.prototype.constructor=x}function s(x,a,d){if(s.isBN(x))return x;this.negative=0,this.words=null,this.length=0,this.red=null,x!==null&&((a==="le"||a==="be")&&(d=a,a=10),this._init(x||0,a||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=br.Buffer}catch{}s.isBN=function(a){return a instanceof s?!0:a!==null&&typeof a=="object"&&a.constructor.wordSize===s.wordSize&&Array.isArray(a.words)},s.max=function(a,d){return a.cmp(d)>0?a:d},s.min=function(a,d){return a.cmp(d)<0?a:d},s.prototype._init=function(a,d,y){if(typeof a=="number")return this._initNumber(a,d,y);if(typeof a=="object")return this._initArray(a,d,y);d==="hex"&&(d=16),n(d===(d|0)&&d>=2&&d<=36),a=a.toString().replace(/\s+/g,"");var w=0;a[0]==="-"&&(w++,this.negative=1),w<a.length&&(d===16?this._parseHex(a,w,y):(this._parseBase(a,d,w),y==="le"&&this._initArray(this.toArray(),d,y)))},s.prototype._initNumber=function(a,d,y){a<0&&(this.negative=1,a=-a),a<67108864?(this.words=[a&67108863],this.length=1):a<4503599627370496?(this.words=[a&67108863,a/67108864&67108863],this.length=2):(n(a<9007199254740992),this.words=[a&67108863,a/67108864&67108863,1],this.length=3),y==="le"&&this._initArray(this.toArray(),d,y)},s.prototype._initArray=function(a,d,y){if(n(typeof a.length=="number"),a.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(a.length/3),this.words=new Array(this.length);for(var w=0;w<this.length;w++)this.words[w]=0;var S,I,B=0;if(y==="be")for(w=a.length-1,S=0;w>=0;w-=3)I=a[w]|a[w-1]<<8|a[w-2]<<16,this.words[S]|=I<<B&67108863,this.words[S+1]=I>>>26-B&67108863,B+=24,B>=26&&(B-=26,S++);else if(y==="le")for(w=0,S=0;w<a.length;w+=3)I=a[w]|a[w+1]<<8|a[w+2]<<16,this.words[S]|=I<<B&67108863,this.words[S+1]=I>>>26-B&67108863,B+=24,B>=26&&(B-=26,S++);return this._strip()};function o(x,a){var d=x.charCodeAt(a);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 "+x)}function f(x,a,d){var y=o(x,d);return d-1>=a&&(y|=o(x,d-1)<<4),y}s.prototype._parseHex=function(a,d,y){this.length=Math.ceil((a.length-d)/6),this.words=new Array(this.length);for(var w=0;w<this.length;w++)this.words[w]=0;var S=0,I=0,B;if(y==="be")for(w=a.length-1;w>=d;w-=2)B=f(a,d,w)<<S,this.words[I]|=B&67108863,S>=18?(S-=18,I+=1,this.words[I]|=B>>>26):S+=8;else{var _=a.length-d;for(w=_%2===0?d+1:d;w<a.length;w+=2)B=f(a,d,w)<<S,this.words[I]|=B&67108863,S>=18?(S-=18,I+=1,this.words[I]|=B>>>26):S+=8}this._strip()};function g(x,a,d,y){for(var w=0,S=0,I=Math.min(x.length,d),B=a;B<I;B++){var _=x.charCodeAt(B)-48;w*=y,_>=49?S=_-49+10:_>=17?S=_-17+10:S=_,n(_>=0&&S<y,"Invalid character"),w+=S}return w}s.prototype._parseBase=function(a,d,y){this.words=[0],this.length=1;for(var w=0,S=1;S<=67108863;S*=d)w++;w--,S=S/d|0;for(var I=a.length-y,B=I%w,_=Math.min(I,I-B)+y,u=0,R=y;R<_;R+=w)u=g(a,R,R+w,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(a,R,a.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(a){a.words=new Array(this.length);for(var d=0;d<this.length;d++)a.words[d]=this.words[d];a.length=this.length,a.negative=this.negative,a.red=this.red};function p(x,a){x.words=a.words,x.length=a.length,x.negative=a.negative,x.red=a.red}if(s.prototype._move=function(a){p(a,this)},s.prototype.clone=function(){var a=new s(null);return this.copy(a),a},s.prototype._expand=function(a){for(;this.length<a;)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 b=["","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"],k=[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],j=[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(a,d){a=a||10,d=d|0||1;var y;if(a===16||a==="hex"){y="";for(var w=0,S=0,I=0;I<this.length;I++){var B=this.words[I],_=((B<<w|S)&16777215).toString(16);S=B>>>24-w&16777215,w+=2,w>=26&&(w-=26,I--),S!==0||I!==this.length-1?y=b[6-_.length]+_+y:y=_+y}for(S!==0&&(y=S.toString(16)+y);y.length%d!==0;)y="0"+y;return this.negative!==0&&(y="-"+y),y}if(a===(a|0)&&a>=2&&a<=36){var u=k[a],R=j[a];y="";var K=this.clone();for(K.negative=0;!K.isZero();){var J=K.modrn(R).toString(a);K=K.idivn(R),K.isZero()?y=J+y:y=b[u-J.length]+J+y}for(this.isZero()&&(y="0"+y);y.length%d!==0;)y="0"+y;return this.negative!==0&&(y="-"+y),y}n(!1,"Base should be between 2 and 36")},s.prototype.toNumber=function(){var a=this.words[0];return this.length===2?a+=this.words[1]*67108864:this.length===3&&this.words[2]===1?a+=4503599627370496+this.words[1]*67108864:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-a:a},s.prototype.toJSON=function(){return this.toString(16,2)},c&&(s.prototype.toBuffer=function(a,d){return this.toArrayLike(c,a,d)}),s.prototype.toArray=function(a,d){return this.toArrayLike(Array,a,d)};var O=function(a,d){return a.allocUnsafe?a.allocUnsafe(d):new a(d)};s.prototype.toArrayLike=function(a,d,y){this._strip();var w=this.byteLength(),S=y||Math.max(1,w);n(w<=S,"byte array longer than desired length"),n(S>0,"Requested array length <= 0");var I=O(a,S),B=d==="le"?"LE":"BE";return this["_toArrayLike"+B](I,w),I},s.prototype._toArrayLikeLE=function(a,d){for(var y=0,w=0,S=0,I=0;S<this.length;S++){var B=this.words[S]<<I|w;a[y++]=B&255,y<a.length&&(a[y++]=B>>8&255),y<a.length&&(a[y++]=B>>16&255),I===6?(y<a.length&&(a[y++]=B>>24&255),w=0,I=0):(w=B>>>24,I+=2)}if(y<a.length)for(a[y++]=w;y<a.length;)a[y++]=0},s.prototype._toArrayLikeBE=function(a,d){for(var y=a.length-1,w=0,S=0,I=0;S<this.length;S++){var B=this.words[S]<<I|w;a[y--]=B&255,y>=0&&(a[y--]=B>>8&255),y>=0&&(a[y--]=B>>16&255),I===6?(y>=0&&(a[y--]=B>>24&255),w=0,I=0):(w=B>>>24,I+=2)}if(y>=0)for(a[y--]=w;y>=0;)a[y--]=0},Math.clz32?s.prototype._countBits=function(a){return 32-Math.clz32(a)}:s.prototype._countBits=function(a){var d=a,y=0;return d>=4096&&(y+=13,d>>>=13),d>=64&&(y+=7,d>>>=7),d>=8&&(y+=4,d>>>=4),d>=2&&(y+=2,d>>>=2),y+d},s.prototype._zeroBits=function(a){if(a===0)return 26;var d=a,y=0;return d&8191||(y+=13,d>>>=13),d&127||(y+=7,d>>>=7),d&15||(y+=4,d>>>=4),d&3||(y+=2,d>>>=2),d&1||y++,y},s.prototype.bitLength=function(){var a=this.words[this.length-1],d=this._countBits(a);return(this.length-1)*26+d};function H(x){for(var a=new Array(x.bitLength()),d=0;d<a.length;d++){var y=d/26|0,w=d%26;a[d]=x.words[y]>>>w&1}return a}s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var a=0,d=0;d<this.length;d++){var y=this._zeroBits(this.words[d]);if(a+=y,y!==26)break}return a},s.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},s.prototype.toTwos=function(a){return this.negative!==0?this.abs().inotn(a).iaddn(1):this.clone()},s.prototype.fromTwos=function(a){return this.testn(a-1)?this.notn(a).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(a){for(;this.length<a.length;)this.words[this.length++]=0;for(var d=0;d<a.length;d++)this.words[d]=this.words[d]|a.words[d];return this._strip()},s.prototype.ior=function(a){return n((this.negative|a.negative)===0),this.iuor(a)},s.prototype.or=function(a){return this.length>a.length?this.clone().ior(a):a.clone().ior(this)},s.prototype.uor=function(a){return this.length>a.length?this.clone().iuor(a):a.clone().iuor(this)},s.prototype.iuand=function(a){var d;this.length>a.length?d=a:d=this;for(var y=0;y<d.length;y++)this.words[y]=this.words[y]&a.words[y];return this.length=d.length,this._strip()},s.prototype.iand=function(a){return n((this.negative|a.negative)===0),this.iuand(a)},s.prototype.and=function(a){return this.length>a.length?this.clone().iand(a):a.clone().iand(this)},s.prototype.uand=function(a){return this.length>a.length?this.clone().iuand(a):a.clone().iuand(this)},s.prototype.iuxor=function(a){var d,y;this.length>a.length?(d=this,y=a):(d=a,y=this);for(var w=0;w<y.length;w++)this.words[w]=d.words[w]^y.words[w];if(this!==d)for(;w<d.length;w++)this.words[w]=d.words[w];return this.length=d.length,this._strip()},s.prototype.ixor=function(a){return n((this.negative|a.negative)===0),this.iuxor(a)},s.prototype.xor=function(a){return this.length>a.length?this.clone().ixor(a):a.clone().ixor(this)},s.prototype.uxor=function(a){return this.length>a.length?this.clone().iuxor(a):a.clone().iuxor(this)},s.prototype.inotn=function(a){n(typeof a=="number"&&a>=0);var d=Math.ceil(a/26)|0,y=a%26;this._expand(d),y>0&&d--;for(var w=0;w<d;w++)this.words[w]=~this.words[w]&67108863;return y>0&&(this.words[w]=~this.words[w]&67108863>>26-y),this._strip()},s.prototype.notn=function(a){return this.clone().inotn(a)},s.prototype.setn=function(a,d){n(typeof a=="number"&&a>=0);var y=a/26|0,w=a%26;return this._expand(y+1),d?this.words[y]=this.words[y]|1<<w:this.words[y]=this.words[y]&~(1<<w),this._strip()},s.prototype.iadd=function(a){var d;if(this.negative!==0&&a.negative===0)return this.negative=0,d=this.isub(a),this.negative^=1,this._normSign();if(this.negative===0&&a.negative!==0)return a.negative=0,d=this.isub(a),a.negative=1,d._normSign();var y,w;this.length>a.length?(y=this,w=a):(y=a,w=this);for(var S=0,I=0;I<w.length;I++)d=(y.words[I]|0)+(w.words[I]|0)+S,this.words[I]=d&67108863,S=d>>>26;for(;S!==0&&I<y.length;I++)d=(y.words[I]|0)+S,this.words[I]=d&67108863,S=d>>>26;if(this.length=y.length,S!==0)this.words[this.length]=S,this.length++;else if(y!==this)for(;I<y.length;I++)this.words[I]=y.words[I];return this},s.prototype.add=function(a){var d;return a.negative!==0&&this.negative===0?(a.negative=0,d=this.sub(a),a.negative^=1,d):a.negative===0&&this.negative!==0?(this.negative=0,d=a.sub(this),this.negative=1,d):this.length>a.length?this.clone().iadd(a):a.clone().iadd(this)},s.prototype.isub=function(a){if(a.negative!==0){a.negative=0;var d=this.iadd(a);return a.negative=1,d._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(a),this.negative=1,this._normSign();var y=this.cmp(a);if(y===0)return this.negative=0,this.length=1,this.words[0]=0,this;var w,S;y>0?(w=this,S=a):(w=a,S=this);for(var I=0,B=0;B<S.length;B++)d=(w.words[B]|0)-(S.words[B]|0)+I,I=d>>26,this.words[B]=d&67108863;for(;I!==0&&B<w.length;B++)d=(w.words[B]|0)+I,I=d>>26,this.words[B]=d&67108863;if(I===0&&B<w.length&&w!==this)for(;B<w.length;B++)this.words[B]=w.words[B];return this.length=Math.max(this.length,B),w!==this&&(this.negative=1),this._strip()},s.prototype.sub=function(a){return this.clone().isub(a)};function A(x,a,d){d.negative=a.negative^x.negative;var y=x.length+a.length|0;d.length=y,y=y-1|0;var w=x.words[0]|0,S=a.words[0]|0,I=w*S,B=I&67108863,_=I/67108864|0;d.words[0]=B;for(var u=1;u<y;u++){for(var R=_>>>26,K=_&67108863,J=Math.min(u,a.length-1),T=Math.max(0,u-x.length+1);T<=J;T++){var L=u-T|0;w=x.words[L]|0,S=a.words[T]|0,I=w*S+K,R+=I/67108864|0,K=I&67108863}d.words[u]=K|0,_=R|0}return _!==0?d.words[u]=_|0:d.length--,d._strip()}var P=function(a,d,y){var w=a.words,S=d.words,I=y.words,B=0,_,u,R,K=w[0]|0,J=K&8191,T=K>>>13,L=w[1]|0,W=L&8191,Z=L>>>13,le=w[2]|0,C=le&8191,M=le>>>13,q=w[3]|0,G=q&8191,se=q>>>13,ue=w[4]|0,re=ue&8191,be=ue>>>13,pt=w[5]|0,Re=pt&8191,Se=pt>>>13,Ze=w[6]|0,_e=Ze&8191,Ce=Ze>>>13,Qe=w[7]|0,Ee=Qe&8191,m=Qe>>>13,l=w[8]|0,h=l&8191,E=l>>>13,N=w[9]|0,F=N&8191,U=N>>>13,he=S[0]|0,ae=he&8191,ie=he>>>13,Me=S[1]|0,ne=Me&8191,Ie=Me>>>13,Ir=S[2]|0,xe=Ir&8191,Ae=Ir>>>13,xr=S[3]|0,ke=xr&8191,Te=xr>>>13,Ar=S[4]|0,Be=Ar&8191,Ne=Ar>>>13,kr=S[5]|0,Pe=kr&8191,Le=kr>>>13,Tr=S[6]|0,Oe=Tr&8191,$e=Tr>>>13,Br=S[7]|0,Fe=Br&8191,De=Br>>>13,Nr=S[8]|0,je=Nr&8191,Ue=Nr>>>13,Pr=S[9]|0,He=Pr&8191,We=Pr>>>13;y.negative=a.negative^d.negative,y.length=19,_=Math.imul(J,ae),u=Math.imul(J,ie),u=u+Math.imul(T,ae)|0,R=Math.imul(T,ie);var Kt=(B+_|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(Kt>>>26)|0,Kt&=67108863,_=Math.imul(W,ae),u=Math.imul(W,ie),u=u+Math.imul(Z,ae)|0,R=Math.imul(Z,ie),_=_+Math.imul(J,ne)|0,u=u+Math.imul(J,Ie)|0,u=u+Math.imul(T,ne)|0,R=R+Math.imul(T,Ie)|0;var Yt=(B+_|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,_=Math.imul(C,ae),u=Math.imul(C,ie),u=u+Math.imul(M,ae)|0,R=Math.imul(M,ie),_=_+Math.imul(W,ne)|0,u=u+Math.imul(W,Ie)|0,u=u+Math.imul(Z,ne)|0,R=R+Math.imul(Z,Ie)|0,_=_+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+_|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,_=Math.imul(G,ae),u=Math.imul(G,ie),u=u+Math.imul(se,ae)|0,R=Math.imul(se,ie),_=_+Math.imul(C,ne)|0,u=u+Math.imul(C,Ie)|0,u=u+Math.imul(M,ne)|0,R=R+Math.imul(M,Ie)|0,_=_+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,_=_+Math.imul(J,ke)|0,u=u+Math.imul(J,Te)|0,u=u+Math.imul(T,ke)|0,R=R+Math.imul(T,Te)|0;var Xt=(B+_|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(Xt>>>26)|0,Xt&=67108863,_=Math.imul(re,ae),u=Math.imul(re,ie),u=u+Math.imul(be,ae)|0,R=Math.imul(be,ie),_=_+Math.imul(G,ne)|0,u=u+Math.imul(G,Ie)|0,u=u+Math.imul(se,ne)|0,R=R+Math.imul(se,Ie)|0,_=_+Math.imul(C,xe)|0,u=u+Math.imul(C,Ae)|0,u=u+Math.imul(M,xe)|0,R=R+Math.imul(M,Ae)|0,_=_+Math.imul(W,ke)|0,u=u+Math.imul(W,Te)|0,u=u+Math.imul(Z,ke)|0,R=R+Math.imul(Z,Te)|0,_=_+Math.imul(J,Be)|0,u=u+Math.imul(J,Ne)|0,u=u+Math.imul(T,Be)|0,R=R+Math.imul(T,Ne)|0;var er=(B+_|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(er>>>26)|0,er&=67108863,_=Math.imul(Re,ae),u=Math.imul(Re,ie),u=u+Math.imul(Se,ae)|0,R=Math.imul(Se,ie),_=_+Math.imul(re,ne)|0,u=u+Math.imul(re,Ie)|0,u=u+Math.imul(be,ne)|0,R=R+Math.imul(be,Ie)|0,_=_+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,_=_+Math.imul(C,ke)|0,u=u+Math.imul(C,Te)|0,u=u+Math.imul(M,ke)|0,R=R+Math.imul(M,Te)|0,_=_+Math.imul(W,Be)|0,u=u+Math.imul(W,Ne)|0,u=u+Math.imul(Z,Be)|0,R=R+Math.imul(Z,Ne)|0,_=_+Math.imul(J,Pe)|0,u=u+Math.imul(J,Le)|0,u=u+Math.imul(T,Pe)|0,R=R+Math.imul(T,Le)|0;var tr=(B+_|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(tr>>>26)|0,tr&=67108863,_=Math.imul(_e,ae),u=Math.imul(_e,ie),u=u+Math.imul(Ce,ae)|0,R=Math.imul(Ce,ie),_=_+Math.imul(Re,ne)|0,u=u+Math.imul(Re,Ie)|0,u=u+Math.imul(Se,ne)|0,R=R+Math.imul(Se,Ie)|0,_=_+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,_=_+Math.imul(G,ke)|0,u=u+Math.imul(G,Te)|0,u=u+Math.imul(se,ke)|0,R=R+Math.imul(se,Te)|0,_=_+Math.imul(C,Be)|0,u=u+Math.imul(C,Ne)|0,u=u+Math.imul(M,Be)|0,R=R+Math.imul(M,Ne)|0,_=_+Math.imul(W,Pe)|0,u=u+Math.imul(W,Le)|0,u=u+Math.imul(Z,Pe)|0,R=R+Math.imul(Z,Le)|0,_=_+Math.imul(J,Oe)|0,u=u+Math.imul(J,$e)|0,u=u+Math.imul(T,Oe)|0,R=R+Math.imul(T,$e)|0;var rr=(B+_|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(rr>>>26)|0,rr&=67108863,_=Math.imul(Ee,ae),u=Math.imul(Ee,ie),u=u+Math.imul(m,ae)|0,R=Math.imul(m,ie),_=_+Math.imul(_e,ne)|0,u=u+Math.imul(_e,Ie)|0,u=u+Math.imul(Ce,ne)|0,R=R+Math.imul(Ce,Ie)|0,_=_+Math.imul(Re,xe)|0,u=u+Math.imul(Re,Ae)|0,u=u+Math.imul(Se,xe)|0,R=R+Math.imul(Se,Ae)|0,_=_+Math.imul(re,ke)|0,u=u+Math.imul(re,Te)|0,u=u+Math.imul(be,ke)|0,R=R+Math.imul(be,Te)|0,_=_+Math.imul(G,Be)|0,u=u+Math.imul(G,Ne)|0,u=u+Math.imul(se,Be)|0,R=R+Math.imul(se,Ne)|0,_=_+Math.imul(C,Pe)|0,u=u+Math.imul(C,Le)|0,u=u+Math.imul(M,Pe)|0,R=R+Math.imul(M,Le)|0,_=_+Math.imul(W,Oe)|0,u=u+Math.imul(W,$e)|0,u=u+Math.imul(Z,Oe)|0,R=R+Math.imul(Z,$e)|0,_=_+Math.imul(J,Fe)|0,u=u+Math.imul(J,De)|0,u=u+Math.imul(T,Fe)|0,R=R+Math.imul(T,De)|0;var nr=(B+_|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(nr>>>26)|0,nr&=67108863,_=Math.imul(h,ae),u=Math.imul(h,ie),u=u+Math.imul(E,ae)|0,R=Math.imul(E,ie),_=_+Math.imul(Ee,ne)|0,u=u+Math.imul(Ee,Ie)|0,u=u+Math.imul(m,ne)|0,R=R+Math.imul(m,Ie)|0,_=_+Math.imul(_e,xe)|0,u=u+Math.imul(_e,Ae)|0,u=u+Math.imul(Ce,xe)|0,R=R+Math.imul(Ce,Ae)|0,_=_+Math.imul(Re,ke)|0,u=u+Math.imul(Re,Te)|0,u=u+Math.imul(Se,ke)|0,R=R+Math.imul(Se,Te)|0,_=_+Math.imul(re,Be)|0,u=u+Math.imul(re,Ne)|0,u=u+Math.imul(be,Be)|0,R=R+Math.imul(be,Ne)|0,_=_+Math.imul(G,Pe)|0,u=u+Math.imul(G,Le)|0,u=u+Math.imul(se,Pe)|0,R=R+Math.imul(se,Le)|0,_=_+Math.imul(C,Oe)|0,u=u+Math.imul(C,$e)|0,u=u+Math.imul(M,Oe)|0,R=R+Math.imul(M,$e)|0,_=_+Math.imul(W,Fe)|0,u=u+Math.imul(W,De)|0,u=u+Math.imul(Z,Fe)|0,R=R+Math.imul(Z,De)|0,_=_+Math.imul(J,je)|0,u=u+Math.imul(J,Ue)|0,u=u+Math.imul(T,je)|0,R=R+Math.imul(T,Ue)|0;var ir=(B+_|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(ir>>>26)|0,ir&=67108863,_=Math.imul(F,ae),u=Math.imul(F,ie),u=u+Math.imul(U,ae)|0,R=Math.imul(U,ie),_=_+Math.imul(h,ne)|0,u=u+Math.imul(h,Ie)|0,u=u+Math.imul(E,ne)|0,R=R+Math.imul(E,Ie)|0,_=_+Math.imul(Ee,xe)|0,u=u+Math.imul(Ee,Ae)|0,u=u+Math.imul(m,xe)|0,R=R+Math.imul(m,Ae)|0,_=_+Math.imul(_e,ke)|0,u=u+Math.imul(_e,Te)|0,u=u+Math.imul(Ce,ke)|0,R=R+Math.imul(Ce,Te)|0,_=_+Math.imul(Re,Be)|0,u=u+Math.imul(Re,Ne)|0,u=u+Math.imul(Se,Be)|0,R=R+Math.imul(Se,Ne)|0,_=_+Math.imul(re,Pe)|0,u=u+Math.imul(re,Le)|0,u=u+Math.imul(be,Pe)|0,R=R+Math.imul(be,Le)|0,_=_+Math.imul(G,Oe)|0,u=u+Math.imul(G,$e)|0,u=u+Math.imul(se,Oe)|0,R=R+Math.imul(se,$e)|0,_=_+Math.imul(C,Fe)|0,u=u+Math.imul(C,De)|0,u=u+Math.imul(M,Fe)|0,R=R+Math.imul(M,De)|0,_=_+Math.imul(W,je)|0,u=u+Math.imul(W,Ue)|0,u=u+Math.imul(Z,je)|0,R=R+Math.imul(Z,Ue)|0,_=_+Math.imul(J,He)|0,u=u+Math.imul(J,We)|0,u=u+Math.imul(T,He)|0,R=R+Math.imul(T,We)|0;var sr=(B+_|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(sr>>>26)|0,sr&=67108863,_=Math.imul(F,ne),u=Math.imul(F,Ie),u=u+Math.imul(U,ne)|0,R=Math.imul(U,Ie),_=_+Math.imul(h,xe)|0,u=u+Math.imul(h,Ae)|0,u=u+Math.imul(E,xe)|0,R=R+Math.imul(E,Ae)|0,_=_+Math.imul(Ee,ke)|0,u=u+Math.imul(Ee,Te)|0,u=u+Math.imul(m,ke)|0,R=R+Math.imul(m,Te)|0,_=_+Math.imul(_e,Be)|0,u=u+Math.imul(_e,Ne)|0,u=u+Math.imul(Ce,Be)|0,R=R+Math.imul(Ce,Ne)|0,_=_+Math.imul(Re,Pe)|0,u=u+Math.imul(Re,Le)|0,u=u+Math.imul(Se,Pe)|0,R=R+Math.imul(Se,Le)|0,_=_+Math.imul(re,Oe)|0,u=u+Math.imul(re,$e)|0,u=u+Math.imul(be,Oe)|0,R=R+Math.imul(be,$e)|0,_=_+Math.imul(G,Fe)|0,u=u+Math.imul(G,De)|0,u=u+Math.imul(se,Fe)|0,R=R+Math.imul(se,De)|0,_=_+Math.imul(C,je)|0,u=u+Math.imul(C,Ue)|0,u=u+Math.imul(M,je)|0,R=R+Math.imul(M,Ue)|0,_=_+Math.imul(W,He)|0,u=u+Math.imul(W,We)|0,u=u+Math.imul(Z,He)|0,R=R+Math.imul(Z,We)|0;var or=(B+_|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(or>>>26)|0,or&=67108863,_=Math.imul(F,xe),u=Math.imul(F,Ae),u=u+Math.imul(U,xe)|0,R=Math.imul(U,Ae),_=_+Math.imul(h,ke)|0,u=u+Math.imul(h,Te)|0,u=u+Math.imul(E,ke)|0,R=R+Math.imul(E,Te)|0,_=_+Math.imul(Ee,Be)|0,u=u+Math.imul(Ee,Ne)|0,u=u+Math.imul(m,Be)|0,R=R+Math.imul(m,Ne)|0,_=_+Math.imul(_e,Pe)|0,u=u+Math.imul(_e,Le)|0,u=u+Math.imul(Ce,Pe)|0,R=R+Math.imul(Ce,Le)|0,_=_+Math.imul(Re,Oe)|0,u=u+Math.imul(Re,$e)|0,u=u+Math.imul(Se,Oe)|0,R=R+Math.imul(Se,$e)|0,_=_+Math.imul(re,Fe)|0,u=u+Math.imul(re,De)|0,u=u+Math.imul(be,Fe)|0,R=R+Math.imul(be,De)|0,_=_+Math.imul(G,je)|0,u=u+Math.imul(G,Ue)|0,u=u+Math.imul(se,je)|0,R=R+Math.imul(se,Ue)|0,_=_+Math.imul(C,He)|0,u=u+Math.imul(C,We)|0,u=u+Math.imul(M,He)|0,R=R+Math.imul(M,We)|0;var ar=(B+_|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(ar>>>26)|0,ar&=67108863,_=Math.imul(F,ke),u=Math.imul(F,Te),u=u+Math.imul(U,ke)|0,R=Math.imul(U,Te),_=_+Math.imul(h,Be)|0,u=u+Math.imul(h,Ne)|0,u=u+Math.imul(E,Be)|0,R=R+Math.imul(E,Ne)|0,_=_+Math.imul(Ee,Pe)|0,u=u+Math.imul(Ee,Le)|0,u=u+Math.imul(m,Pe)|0,R=R+Math.imul(m,Le)|0,_=_+Math.imul(_e,Oe)|0,u=u+Math.imul(_e,$e)|0,u=u+Math.imul(Ce,Oe)|0,R=R+Math.imul(Ce,$e)|0,_=_+Math.imul(Re,Fe)|0,u=u+Math.imul(Re,De)|0,u=u+Math.imul(Se,Fe)|0,R=R+Math.imul(Se,De)|0,_=_+Math.imul(re,je)|0,u=u+Math.imul(re,Ue)|0,u=u+Math.imul(be,je)|0,R=R+Math.imul(be,Ue)|0,_=_+Math.imul(G,He)|0,u=u+Math.imul(G,We)|0,u=u+Math.imul(se,He)|0,R=R+Math.imul(se,We)|0;var cr=(B+_|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(cr>>>26)|0,cr&=67108863,_=Math.imul(F,Be),u=Math.imul(F,Ne),u=u+Math.imul(U,Be)|0,R=Math.imul(U,Ne),_=_+Math.imul(h,Pe)|0,u=u+Math.imul(h,Le)|0,u=u+Math.imul(E,Pe)|0,R=R+Math.imul(E,Le)|0,_=_+Math.imul(Ee,Oe)|0,u=u+Math.imul(Ee,$e)|0,u=u+Math.imul(m,Oe)|0,R=R+Math.imul(m,$e)|0,_=_+Math.imul(_e,Fe)|0,u=u+Math.imul(_e,De)|0,u=u+Math.imul(Ce,Fe)|0,R=R+Math.imul(Ce,De)|0,_=_+Math.imul(Re,je)|0,u=u+Math.imul(Re,Ue)|0,u=u+Math.imul(Se,je)|0,R=R+Math.imul(Se,Ue)|0,_=_+Math.imul(re,He)|0,u=u+Math.imul(re,We)|0,u=u+Math.imul(be,He)|0,R=R+Math.imul(be,We)|0;var lr=(B+_|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(lr>>>26)|0,lr&=67108863,_=Math.imul(F,Pe),u=Math.imul(F,Le),u=u+Math.imul(U,Pe)|0,R=Math.imul(U,Le),_=_+Math.imul(h,Oe)|0,u=u+Math.imul(h,$e)|0,u=u+Math.imul(E,Oe)|0,R=R+Math.imul(E,$e)|0,_=_+Math.imul(Ee,Fe)|0,u=u+Math.imul(Ee,De)|0,u=u+Math.imul(m,Fe)|0,R=R+Math.imul(m,De)|0,_=_+Math.imul(_e,je)|0,u=u+Math.imul(_e,Ue)|0,u=u+Math.imul(Ce,je)|0,R=R+Math.imul(Ce,Ue)|0,_=_+Math.imul(Re,He)|0,u=u+Math.imul(Re,We)|0,u=u+Math.imul(Se,He)|0,R=R+Math.imul(Se,We)|0;var Bs=(B+_|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(Bs>>>26)|0,Bs&=67108863,_=Math.imul(F,Oe),u=Math.imul(F,$e),u=u+Math.imul(U,Oe)|0,R=Math.imul(U,$e),_=_+Math.imul(h,Fe)|0,u=u+Math.imul(h,De)|0,u=u+Math.imul(E,Fe)|0,R=R+Math.imul(E,De)|0,_=_+Math.imul(Ee,je)|0,u=u+Math.imul(Ee,Ue)|0,u=u+Math.imul(m,je)|0,R=R+Math.imul(m,Ue)|0,_=_+Math.imul(_e,He)|0,u=u+Math.imul(_e,We)|0,u=u+Math.imul(Ce,He)|0,R=R+Math.imul(Ce,We)|0;var Ns=(B+_|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(Ns>>>26)|0,Ns&=67108863,_=Math.imul(F,Fe),u=Math.imul(F,De),u=u+Math.imul(U,Fe)|0,R=Math.imul(U,De),_=_+Math.imul(h,je)|0,u=u+Math.imul(h,Ue)|0,u=u+Math.imul(E,je)|0,R=R+Math.imul(E,Ue)|0,_=_+Math.imul(Ee,He)|0,u=u+Math.imul(Ee,We)|0,u=u+Math.imul(m,He)|0,R=R+Math.imul(m,We)|0;var Ps=(B+_|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(Ps>>>26)|0,Ps&=67108863,_=Math.imul(F,je),u=Math.imul(F,Ue),u=u+Math.imul(U,je)|0,R=Math.imul(U,Ue),_=_+Math.imul(h,He)|0,u=u+Math.imul(h,We)|0,u=u+Math.imul(E,He)|0,R=R+Math.imul(E,We)|0;var Ls=(B+_|0)+((u&8191)<<13)|0;B=(R+(u>>>13)|0)+(Ls>>>26)|0,Ls&=67108863,_=Math.imul(F,He),u=Math.imul(F,We),u=u+Math.imul(U,He)|0,R=Math.imul(U,We);var Os=(B+_|0)+((u&8191)<<13)|0;return B=(R+(u>>>13)|0)+(Os>>>26)|0,Os&=67108863,I[0]=Kt,I[1]=Yt,I[2]=Qt,I[3]=Xt,I[4]=er,I[5]=tr,I[6]=rr,I[7]=nr,I[8]=ir,I[9]=sr,I[10]=or,I[11]=ar,I[12]=cr,I[13]=lr,I[14]=Bs,I[15]=Ns,I[16]=Ps,I[17]=Ls,I[18]=Os,B!==0&&(I[19]=B,y.length++),y};Math.imul||(P=A);function $(x,a,d){d.negative=a.negative^x.negative,d.length=x.length+a.length;for(var y=0,w=0,S=0;S<d.length-1;S++){var I=w;w=0;for(var B=y&67108863,_=Math.min(S,a.length-1),u=Math.max(0,S-x.length+1);u<=_;u++){var R=S-u,K=x.words[R]|0,J=a.words[u]|0,T=K*J,L=T&67108863;I=I+(T/67108864|0)|0,L=L+B|0,B=L&67108863,I=I+(L>>>26)|0,w+=I>>>26,I&=67108863}d.words[S]=B,y=I,I=w}return y!==0?d.words[S]=y:d.length--,d._strip()}function V(x,a,d){return $(x,a,d)}s.prototype.mulTo=function(a,d){var y,w=this.length+a.length;return this.length===10&&a.length===10?y=P(this,a,d):w<63?y=A(this,a,d):w<1024?y=$(this,a,d):y=V(this,a,d),y},s.prototype.mul=function(a){var d=new s(null);return d.words=new Array(this.length+a.length),this.mulTo(a,d)},s.prototype.mulf=function(a){var d=new s(null);return d.words=new Array(this.length+a.length),V(this,a,d)},s.prototype.imul=function(a){return this.clone().mulTo(a,this)},s.prototype.imuln=function(a){var d=a<0;d&&(a=-a),n(typeof a=="number"),n(a<67108864);for(var y=0,w=0;w<this.length;w++){var S=(this.words[w]|0)*a,I=(S&67108863)+(y&67108863);y>>=26,y+=S/67108864|0,y+=I>>>26,this.words[w]=I&67108863}return y!==0&&(this.words[w]=y,this.length++),this.length=a===0?1:this.length,d?this.ineg():this},s.prototype.muln=function(a){return this.clone().imuln(a)},s.prototype.sqr=function(){return this.mul(this)},s.prototype.isqr=function(){return this.imul(this.clone())},s.prototype.pow=function(a){var d=H(a);if(d.length===0)return new s(1);for(var y=this,w=0;w<d.length&&d[w]===0;w++,y=y.sqr());if(++w<d.length)for(var S=y.sqr();w<d.length;w++,S=S.sqr())d[w]!==0&&(y=y.mul(S));return y},s.prototype.iushln=function(a){n(typeof a=="number"&&a>=0);var d=a%26,y=(a-d)/26,w=67108863>>>26-d<<26-d,S;if(d!==0){var I=0;for(S=0;S<this.length;S++){var B=this.words[S]&w,_=(this.words[S]|0)-B<<d;this.words[S]=_|I,I=B>>>26-d}I&&(this.words[S]=I,this.length++)}if(y!==0){for(S=this.length-1;S>=0;S--)this.words[S+y]=this.words[S];for(S=0;S<y;S++)this.words[S]=0;this.length+=y}return this._strip()},s.prototype.ishln=function(a){return n(this.negative===0),this.iushln(a)},s.prototype.iushrn=function(a,d,y){n(typeof a=="number"&&a>=0);var w;d?w=(d-d%26)/26:w=0;var S=a%26,I=Math.min((a-S)/26,this.length),B=67108863^67108863>>>S<<S,_=y;if(w-=I,w=Math.max(0,w),_){for(var u=0;u<I;u++)_.words[u]=this.words[u];_.length=I}if(I!==0)if(this.length>I)for(this.length-=I,u=0;u<this.length;u++)this.words[u]=this.words[u+I];else this.words[0]=0,this.length=1;var R=0;for(u=this.length-1;u>=0&&(R!==0||u>=w);u--){var K=this.words[u]|0;this.words[u]=R<<26-S|K>>>S,R=K&B}return _&&R!==0&&(_.words[_.length++]=R),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},s.prototype.ishrn=function(a,d,y){return n(this.negative===0),this.iushrn(a,d,y)},s.prototype.shln=function(a){return this.clone().ishln(a)},s.prototype.ushln=function(a){return this.clone().iushln(a)},s.prototype.shrn=function(a){return this.clone().ishrn(a)},s.prototype.ushrn=function(a){return this.clone().iushrn(a)},s.prototype.testn=function(a){n(typeof a=="number"&&a>=0);var d=a%26,y=(a-d)/26,w=1<<d;if(this.length<=y)return!1;var S=this.words[y];return!!(S&w)},s.prototype.imaskn=function(a){n(typeof a=="number"&&a>=0);var d=a%26,y=(a-d)/26;if(n(this.negative===0,"imaskn works only with positive numbers"),this.length<=y)return this;if(d!==0&&y++,this.length=Math.min(y,this.length),d!==0){var w=67108863^67108863>>>d<<d;this.words[this.length-1]&=w}return this._strip()},s.prototype.maskn=function(a){return this.clone().imaskn(a)},s.prototype.iaddn=function(a){return n(typeof a=="number"),n(a<67108864),a<0?this.isubn(-a):this.negative!==0?this.length===1&&(this.words[0]|0)<=a?(this.words[0]=a-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(a),this.negative=1,this):this._iaddn(a)},s.prototype._iaddn=function(a){this.words[0]+=a;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(a){if(n(typeof a=="number"),n(a<67108864),a<0)return this.iaddn(-a);if(this.negative!==0)return this.negative=0,this.iaddn(a),this.negative=1,this;if(this.words[0]-=a,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(a){return this.clone().iaddn(a)},s.prototype.subn=function(a){return this.clone().isubn(a)},s.prototype.iabs=function(){return this.negative=0,this},s.prototype.abs=function(){return this.clone().iabs()},s.prototype._ishlnsubmul=function(a,d,y){var w=a.length+y,S;this._expand(w);var I,B=0;for(S=0;S<a.length;S++){I=(this.words[S+y]|0)+B;var _=(a.words[S]|0)*d;I-=_&67108863,B=(I>>26)-(_/67108864|0),this.words[S+y]=I&67108863}for(;S<this.length-y;S++)I=(this.words[S+y]|0)+B,B=I>>26,this.words[S+y]=I&67108863;if(B===0)return this._strip();for(n(B===-1),B=0,S=0;S<this.length;S++)I=-(this.words[S]|0)+B,B=I>>26,this.words[S]=I&67108863;return this.negative=1,this._strip()},s.prototype._wordDiv=function(a,d){var y=this.length-a.length,w=this.clone(),S=a,I=S.words[S.length-1]|0,B=this._countBits(I);y=26-B,y!==0&&(S=S.ushln(y),w.iushln(y),I=S.words[S.length-1]|0);var _=w.length-S.length,u;if(d!=="mod"){u=new s(null),u.length=_+1,u.words=new Array(u.length);for(var R=0;R<u.length;R++)u.words[R]=0}var K=w.clone()._ishlnsubmul(S,1,_);K.negative===0&&(w=K,u&&(u.words[_]=1));for(var J=_-1;J>=0;J--){var T=(w.words[S.length+J]|0)*67108864+(w.words[S.length+J-1]|0);for(T=Math.min(T/I|0,67108863),w._ishlnsubmul(S,T,J);w.negative!==0;)T--,w.negative=0,w._ishlnsubmul(S,1,J),w.isZero()||(w.negative^=1);u&&(u.words[J]=T)}return u&&u._strip(),w._strip(),d!=="div"&&y!==0&&w.iushrn(y),{div:u||null,mod:w}},s.prototype.divmod=function(a,d,y){if(n(!a.isZero()),this.isZero())return{div:new s(0),mod:new s(0)};var w,S,I;return this.negative!==0&&a.negative===0?(I=this.neg().divmod(a,d),d!=="mod"&&(w=I.div.neg()),d!=="div"&&(S=I.mod.neg(),y&&S.negative!==0&&S.iadd(a)),{div:w,mod:S}):this.negative===0&&a.negative!==0?(I=this.divmod(a.neg(),d),d!=="mod"&&(w=I.div.neg()),{div:w,mod:I.mod}):this.negative&a.negative?(I=this.neg().divmod(a.neg(),d),d!=="div"&&(S=I.mod.neg(),y&&S.negative!==0&&S.isub(a)),{div:I.div,mod:S}):a.length>this.length||this.cmp(a)<0?{div:new s(0),mod:this}:a.length===1?d==="div"?{div:this.divn(a.words[0]),mod:null}:d==="mod"?{div:null,mod:new s(this.modrn(a.words[0]))}:{div:this.divn(a.words[0]),mod:new s(this.modrn(a.words[0]))}:this._wordDiv(a,d)},s.prototype.div=function(a){return this.divmod(a,"div",!1).div},s.prototype.mod=function(a){return this.divmod(a,"mod",!1).mod},s.prototype.umod=function(a){return this.divmod(a,"mod",!0).mod},s.prototype.divRound=function(a){var d=this.divmod(a);if(d.mod.isZero())return d.div;var y=d.div.negative!==0?d.mod.isub(a):d.mod,w=a.ushrn(1),S=a.andln(1),I=y.cmp(w);return I<0||S===1&&I===0?d.div:d.div.negative!==0?d.div.isubn(1):d.div.iaddn(1)},s.prototype.modrn=function(a){var d=a<0;d&&(a=-a),n(a<=67108863);for(var y=(1<<26)%a,w=0,S=this.length-1;S>=0;S--)w=(y*w+(this.words[S]|0))%a;return d?-w:w},s.prototype.modn=function(a){return this.modrn(a)},s.prototype.idivn=function(a){var d=a<0;d&&(a=-a),n(a<=67108863);for(var y=0,w=this.length-1;w>=0;w--){var S=(this.words[w]|0)+y*67108864;this.words[w]=S/a|0,y=S%a}return this._strip(),d?this.ineg():this},s.prototype.divn=function(a){return this.clone().idivn(a)},s.prototype.egcd=function(a){n(a.negative===0),n(!a.isZero());var d=this,y=a.clone();d.negative!==0?d=d.umod(a):d=d.clone();for(var w=new s(1),S=new s(0),I=new s(0),B=new s(1),_=0;d.isEven()&&y.isEven();)d.iushrn(1),y.iushrn(1),++_;for(var u=y.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;)(w.isOdd()||S.isOdd())&&(w.iadd(u),S.isub(R)),w.iushrn(1),S.iushrn(1);for(var T=0,L=1;!(y.words[0]&L)&&T<26;++T,L<<=1);if(T>0)for(y.iushrn(T);T-- >0;)(I.isOdd()||B.isOdd())&&(I.iadd(u),B.isub(R)),I.iushrn(1),B.iushrn(1);d.cmp(y)>=0?(d.isub(y),w.isub(I),S.isub(B)):(y.isub(d),I.isub(w),B.isub(S))}return{a:I,b:B,gcd:y.iushln(_)}},s.prototype._invmp=function(a){n(a.negative===0),n(!a.isZero());var d=this,y=a.clone();d.negative!==0?d=d.umod(a):d=d.clone();for(var w=new s(1),S=new s(0),I=y.clone();d.cmpn(1)>0&&y.cmpn(1)>0;){for(var B=0,_=1;!(d.words[0]&_)&&B<26;++B,_<<=1);if(B>0)for(d.iushrn(B);B-- >0;)w.isOdd()&&w.iadd(I),w.iushrn(1);for(var u=0,R=1;!(y.words[0]&R)&&u<26;++u,R<<=1);if(u>0)for(y.iushrn(u);u-- >0;)S.isOdd()&&S.iadd(I),S.iushrn(1);d.cmp(y)>=0?(d.isub(y),w.isub(S)):(y.isub(d),S.isub(w))}var K;return d.cmpn(1)===0?K=w:K=S,K.cmpn(0)<0&&K.iadd(a),K},s.prototype.gcd=function(a){if(this.isZero())return a.abs();if(a.isZero())return this.abs();var d=this.clone(),y=a.clone();d.negative=0,y.negative=0;for(var w=0;d.isEven()&&y.isEven();w++)d.iushrn(1),y.iushrn(1);do{for(;d.isEven();)d.iushrn(1);for(;y.isEven();)y.iushrn(1);var S=d.cmp(y);if(S<0){var I=d;d=y,y=I}else if(S===0||y.cmpn(1)===0)break;d.isub(y)}while(!0);return y.iushln(w)},s.prototype.invm=function(a){return this.egcd(a).a.umod(a)},s.prototype.isEven=function(){return(this.words[0]&1)===0},s.prototype.isOdd=function(){return(this.words[0]&1)===1},s.prototype.andln=function(a){return this.words[0]&a},s.prototype.bincn=function(a){n(typeof a=="number");var d=a%26,y=(a-d)/26,w=1<<d;if(this.length<=y)return this._expand(y+1),this.words[y]|=w,this;for(var S=w,I=y;S!==0&&I<this.length;I++){var B=this.words[I]|0;B+=S,S=B>>>26,B&=67108863,this.words[I]=B}return S!==0&&(this.words[I]=S,this.length++),this},s.prototype.isZero=function(){return this.length===1&&this.words[0]===0},s.prototype.cmpn=function(a){var d=a<0;if(this.negative!==0&&!d)return-1;if(this.negative===0&&d)return 1;this._strip();var y;if(this.length>1)y=1;else{d&&(a=-a),n(a<=67108863,"Number is too big");var w=this.words[0]|0;y=w===a?0:w<a?-1:1}return this.negative!==0?-y|0:y},s.prototype.cmp=function(a){if(this.negative!==0&&a.negative===0)return-1;if(this.negative===0&&a.negative!==0)return 1;var d=this.ucmp(a);return this.negative!==0?-d|0:d},s.prototype.ucmp=function(a){if(this.length>a.length)return 1;if(this.length<a.length)return-1;for(var d=0,y=this.length-1;y>=0;y--){var w=this.words[y]|0,S=a.words[y]|0;if(w!==S){w<S?d=-1:w>S&&(d=1);break}}return d},s.prototype.gtn=function(a){return this.cmpn(a)===1},s.prototype.gt=function(a){return this.cmp(a)===1},s.prototype.gten=function(a){return this.cmpn(a)>=0},s.prototype.gte=function(a){return this.cmp(a)>=0},s.prototype.ltn=function(a){return this.cmpn(a)===-1},s.prototype.lt=function(a){return this.cmp(a)===-1},s.prototype.lten=function(a){return this.cmpn(a)<=0},s.prototype.lte=function(a){return this.cmp(a)<=0},s.prototype.eqn=function(a){return this.cmpn(a)===0},s.prototype.eq=function(a){return this.cmp(a)===0},s.red=function(a){return new oe(a)},s.prototype.toRed=function(a){return n(!this.red,"Already a number in reduction context"),n(this.negative===0,"red works only with positives"),a.convertTo(this)._forceRed(a)},s.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},s.prototype._forceRed=function(a){return this.red=a,this},s.prototype.forceRed=function(a){return n(!this.red,"Already a number in reduction context"),this._forceRed(a)},s.prototype.redAdd=function(a){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,a)},s.prototype.redIAdd=function(a){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,a)},s.prototype.redSub=function(a){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,a)},s.prototype.redISub=function(a){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,a)},s.prototype.redShl=function(a){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,a)},s.prototype.redMul=function(a){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,a),this.red.mul(this,a)},s.prototype.redIMul=function(a){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,a),this.red.imul(this,a)},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(a){return n(this.red&&!a.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,a)};var D={k256:null,p224:null,p192:null,p25519:null};function z(x,a){this.name=x,this.p=new s(a,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 a=new s(null);return a.words=new Array(Math.ceil(this.n/13)),a},z.prototype.ireduce=function(a){var d=a,y;do this.split(d,this.tmp),d=this.imulK(d),d=d.iadd(this.tmp),y=d.bitLength();while(y>this.n);var w=y<this.n?-1:d.ucmp(this.p);return w===0?(d.words[0]=0,d.length=1):w>0?d.isub(this.p):d.strip!==void 0?d.strip():d._strip(),d},z.prototype.split=function(a,d){a.iushrn(this.n,0,d)},z.prototype.imulK=function(a){return a.imul(this.k)};function te(){z.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}i(te,z),te.prototype.split=function(a,d){for(var y=4194303,w=Math.min(a.length,9),S=0;S<w;S++)d.words[S]=a.words[S];if(d.length=w,a.length<=9){a.words[0]=0,a.length=1;return}var I=a.words[9];for(d.words[d.length++]=I&y,S=10;S<a.length;S++){var B=a.words[S]|0;a.words[S-10]=(B&y)<<4|I>>>22,I=B}I>>>=22,a.words[S-10]=I,I===0&&a.length>10?a.length-=10:a.length-=9},te.prototype.imulK=function(a){a.words[a.length]=0,a.words[a.length+1]=0,a.length+=2;for(var d=0,y=0;y<a.length;y++){var w=a.words[y]|0;d+=w*977,a.words[y]=d&67108863,d=w*64+(d/67108864|0)}return a.words[a.length-1]===0&&(a.length--,a.words[a.length-1]===0&&a.length--),a};function Q(){z.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}i(Q,z);function Y(){z.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}i(Y,z);function de(){z.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}i(de,z),de.prototype.imulK=function(a){for(var d=0,y=0;y<a.length;y++){var w=(a.words[y]|0)*19+d,S=w&67108863;w>>>=26,a.words[y]=S,d=w}return d!==0&&(a.words[a.length++]=d),a},s._prime=function(a){if(D[a])return D[a];var d;if(a==="k256")d=new te;else if(a==="p224")d=new Q;else if(a==="p192")d=new Y;else if(a==="p25519")d=new de;else throw new Error("Unknown prime "+a);return D[a]=d,d};function oe(x){if(typeof x=="string"){var a=s._prime(x);this.m=a.p,this.prime=a}else n(x.gtn(1),"modulus must be greater than 1"),this.m=x,this.prime=null}oe.prototype._verify1=function(a){n(a.negative===0,"red works only with positives"),n(a.red,"red works only with red numbers")},oe.prototype._verify2=function(a,d){n((a.negative|d.negative)===0,"red works only with positives"),n(a.red&&a.red===d.red,"red works only with red numbers")},oe.prototype.imod=function(a){return this.prime?this.prime.ireduce(a)._forceRed(this):(p(a,a.umod(this.m)._forceRed(this)),a)},oe.prototype.neg=function(a){return a.isZero()?a.clone():this.m.sub(a)._forceRed(this)},oe.prototype.add=function(a,d){this._verify2(a,d);var y=a.add(d);return y.cmp(this.m)>=0&&y.isub(this.m),y._forceRed(this)},oe.prototype.iadd=function(a,d){this._verify2(a,d);var y=a.iadd(d);return y.cmp(this.m)>=0&&y.isub(this.m),y},oe.prototype.sub=function(a,d){this._verify2(a,d);var y=a.sub(d);return y.cmpn(0)<0&&y.iadd(this.m),y._forceRed(this)},oe.prototype.isub=function(a,d){this._verify2(a,d);var y=a.isub(d);return y.cmpn(0)<0&&y.iadd(this.m),y},oe.prototype.shl=function(a,d){return this._verify1(a),this.imod(a.ushln(d))},oe.prototype.imul=function(a,d){return this._verify2(a,d),this.imod(a.imul(d))},oe.prototype.mul=function(a,d){return this._verify2(a,d),this.imod(a.mul(d))},oe.prototype.isqr=function(a){return this.imul(a,a.clone())},oe.prototype.sqr=function(a){return this.mul(a,a)},oe.prototype.sqrt=function(a){if(a.isZero())return a.clone();var d=this.m.andln(3);if(n(d%2===1),d===3){var y=this.m.add(new s(1)).iushrn(2);return this.pow(a,y)}for(var w=this.m.subn(1),S=0;!w.isZero()&&w.andln(1)===0;)S++,w.iushrn(1);n(!w.isZero());var I=new s(1).toRed(this),B=I.redNeg(),_=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new s(2*u*u).toRed(this);this.pow(u,_).cmp(B)!==0;)u.redIAdd(B);for(var R=this.pow(u,w),K=this.pow(a,w.addn(1).iushrn(1)),J=this.pow(a,w),T=S;J.cmp(I)!==0;){for(var L=J,W=0;L.cmp(I)!==0;W++)L=L.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(a){var d=a._invmp(this.m);return d.negative!==0?(d.negative=0,this.imod(d).redNeg()):this.imod(d)},oe.prototype.pow=function(a,d){if(d.isZero())return new s(1).toRed(this);if(d.cmpn(1)===0)return a.clone();var y=4,w=new Array(1<<y);w[0]=new s(1).toRed(this),w[1]=a;for(var S=2;S<w.length;S++)w[S]=this.mul(w[S-1],a);var I=w[0],B=0,_=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(I!==w[0]&&(I=this.sqr(I)),J===0&&B===0){_=0;continue}B<<=1,B|=J,_++,!(_!==y&&(S!==0||K!==0))&&(I=this.mul(I,w[B]),_=0,B=0)}u=26}return I},oe.prototype.convertTo=function(a){var d=a.umod(this.m);return d===a?d.clone():d},oe.prototype.convertFrom=function(a){var d=a.clone();return d.red=null,d},s.mont=function(a){return new pe(a)};function pe(x){oe.call(this,x),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(a){return this.imod(a.ushln(this.shift))},pe.prototype.convertFrom=function(a){var d=this.imod(a.mul(this.rinv));return d.red=null,d},pe.prototype.imul=function(a,d){if(a.isZero()||d.isZero())return a.words[0]=0,a.length=1,a;var y=a.imul(d),w=y.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),S=y.isub(w).iushrn(this.shift),I=S;return S.cmp(this.m)>=0?I=S.isub(this.m):S.cmpn(0)<0&&(I=S.iadd(this.m)),I._forceRed(this)},pe.prototype.mul=function(a,d){if(a.isZero()||d.isZero())return new s(0)._forceRed(this);var y=a.mul(d),w=y.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),S=y.isub(w).iushrn(this.shift),I=S;return S.cmp(this.m)>=0?I=S.isub(this.m):S.cmpn(0)<0&&(I=S.iadd(this.m)),I._forceRed(this)},pe.prototype.invm=function(a){var d=this.imod(a._invmp(this.m).mul(this.r2));return d._forceRed(this)}})(e,ee)})(Vo);var $i=Vo.exports,Bn={},Ut={};Object.defineProperty(Ut,"__esModule",{value:!0});Ut.errorValues=Ut.standardErrorCodes=void 0;Ut.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}};Ut.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 Fi={},Di={};(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=Ut,r="Unspecified error message.";e.JSON_RPC_SERVER_ERROR_MESSAGE="Unspecified server error.";function n(b,k=r){if(b&&Number.isInteger(b)){const j=b.toString();if(p(t.errorValues,j))return t.errorValues[j].message;if(f(b))return e.JSON_RPC_SERVER_ERROR_MESSAGE}return k}e.getMessageFromCode=n;function i(b){if(!Number.isInteger(b))return!1;const k=b.toString();return!!(t.errorValues[k]||f(b))}e.isValidCode=i;function s(b){var k;if(typeof b=="number")return b;if(c(b))return(k=b.code)!==null&&k!==void 0?k:b.errorCode}e.getErrorCode=s;function c(b){return typeof b=="object"&&b!==null&&(typeof b.code=="number"||typeof b.errorCode=="number")}function o(b,{shouldIncludeStack:k=!1}={}){const j={};if(b&&typeof b=="object"&&!Array.isArray(b)&&p(b,"code")&&i(b.code)){const O=b;j.code=O.code,O.message&&typeof O.message=="string"?(j.message=O.message,p(O,"data")&&(j.data=O.data)):(j.message=n(j.code),j.data={originalError:g(b)})}else j.code=t.standardErrorCodes.rpc.internal,j.message=v(b,"message")?b.message:r,j.data={originalError:g(b)};return k&&(j.stack=v(b,"stack")?b.stack:void 0),j}e.serialize=o;function f(b){return b>=-32099&&b<=-32e3}function g(b){return b&&typeof b=="object"&&!Array.isArray(b)?Object.assign({},b):b}function p(b,k){return Object.prototype.hasOwnProperty.call(b,k)}function v(b,k){return typeof b=="object"&&b!==null&&k in b&&typeof b[k]=="string"}})(Di);Object.defineProperty(Fi,"__esModule",{value:!0});Fi.standardErrors=void 0;const rt=Ut,Yl=Di;Fi.standardErrors={rpc:{parse:e=>gt(rt.standardErrorCodes.rpc.parse,e),invalidRequest:e=>gt(rt.standardErrorCodes.rpc.invalidRequest,e),invalidParams:e=>gt(rt.standardErrorCodes.rpc.invalidParams,e),methodNotFound:e=>gt(rt.standardErrorCodes.rpc.methodNotFound,e),internal:e=>gt(rt.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 gt(t,e)},invalidInput:e=>gt(rt.standardErrorCodes.rpc.invalidInput,e),resourceNotFound:e=>gt(rt.standardErrorCodes.rpc.resourceNotFound,e),resourceUnavailable:e=>gt(rt.standardErrorCodes.rpc.resourceUnavailable,e),transactionRejected:e=>gt(rt.standardErrorCodes.rpc.transactionRejected,e),methodNotSupported:e=>gt(rt.standardErrorCodes.rpc.methodNotSupported,e),limitExceeded:e=>gt(rt.standardErrorCodes.rpc.limitExceeded,e)},provider:{userRejectedRequest:e=>$r(rt.standardErrorCodes.provider.userRejectedRequest,e),unauthorized:e=>$r(rt.standardErrorCodes.provider.unauthorized,e),unsupportedMethod:e=>$r(rt.standardErrorCodes.provider.unsupportedMethod,e),disconnected:e=>$r(rt.standardErrorCodes.provider.disconnected,e),chainDisconnected:e=>$r(rt.standardErrorCodes.provider.chainDisconnected,e),unsupportedChain:e=>$r(rt.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 eu(t,r,n)}}};function gt(e,t){const[r,n]=Ql(t);return new Xl(e,r||(0,Yl.getMessageFromCode)(e),n)}function $r(e,t){const[r,n]=Ql(t);return new eu(e,r||(0,Yl.getMessageFromCode)(e),n)}function Ql(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 Xl=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)}},eu=class extends Xl{constructor(t,r,n){if(!t0(t))throw new Error('"code" must be an integer such that: 1000 <= code <= 4999');super(t,r,n)}};function t0(e){return Number.isInteger(e)&&e>=1e3&&e<=4999}var ji={},cn={};Object.defineProperty(cn,"__esModule",{value:!0});cn.isErrorResponse=void 0;function r0(e){return e.errorMessage!==void 0}cn.isErrorResponse=r0;var ln={};Object.defineProperty(ln,"__esModule",{value:!0});ln.LIB_VERSION=void 0;ln.LIB_VERSION="3.9.3";Object.defineProperty(ji,"__esModule",{value:!0});ji.serializeError=void 0;const n0=cn,i0=ln,s0=Ut,o0=Di;function a0(e,t){const r=(0,o0.serialize)(c0(e),{shouldIncludeStack:!0}),n=new URL("https://docs.cloud.coinbase.com/wallet-sdk/docs/errors");n.searchParams.set("version",i0.LIB_VERSION),n.searchParams.set("code",r.code.toString());const i=l0(r.data,t);return i&&n.searchParams.set("method",i),n.searchParams.set("message",r.message),Object.assign(Object.assign({},r),{docUrl:n.href})}ji.serializeError=a0;function c0(e){return typeof e=="string"?{message:e,code:s0.standardErrorCodes.rpc.internal}:(0,n0.isErrorResponse)(e)?Object.assign(Object.assign({},e),{message:e.errorMessage,code:e.errorCode,data:{method:e.method}}):e}function l0(e,t){const r=e==null?void 0: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=Ut;Object.defineProperty(e,"standardErrorCodes",{enumerable:!0,get:function(){return t.standardErrorCodes}});const r=Fi;Object.defineProperty(e,"standardErrors",{enumerable:!0,get:function(){return r.standardErrors}});const n=ji;Object.defineProperty(e,"serializeError",{enumerable:!0,get:function(){return n.serializeError}});const i=Di;Object.defineProperty(e,"getErrorCode",{enumerable:!0,get:function(){return i.getErrorCode}}),Object.defineProperty(e,"getMessageFromCode",{enumerable:!0,get:function(){return i.getMessageFromCode}})})(Bn);var Ke={};Object.defineProperty(Ke,"__esModule",{value:!0});Ke.ProviderType=Ke.RegExpString=Ke.IntNumber=Ke.BigIntString=Ke.AddressString=Ke.HexString=Ke.OpaqueType=void 0;function Nn(){return e=>e}Ke.OpaqueType=Nn;Ke.HexString=Nn();Ke.AddressString=Nn();Ke.BigIntString=Nn();function u0(e){return Math.floor(e)}Ke.IntNumber=u0;Ke.RegExpString=Nn();var Ka;(function(e){e.CoinbaseWallet="CoinbaseWallet",e.MetaMask="MetaMask",e.Unselected=""})(Ka||(Ke.ProviderType=Ka={}));var h0=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 zt=h0($i),Sr=Bn,bt=Ke,tu=/^[0-9]*$/,ru=/^[a-f0-9]*$/;function f0(e){return nu(crypto.getRandomValues(new Uint8Array(e)))}X.randomBytesHex=f0;function nu(e){return[...e].map(t=>t.toString(16).padStart(2,"0")).join("")}X.uint8ArrayToHex=nu;function d0(e){return new Uint8Array(e.match(/.{1,2}/g).map(t=>parseInt(t,16)))}X.hexStringToUint8Array=d0;function p0(e,t=!1){const r=e.toString("hex");return(0,bt.HexString)(t?`0x${r}`:r)}X.hexStringFromBuffer=p0;function g0(e){return(0,bt.BigIntString)(e.toString(10))}X.bigIntStringFromBN=g0;function m0(e){return(0,bt.IntNumber)(new zt.default(Ln(e,!1),16).toNumber())}X.intNumberFromHexString=m0;function y0(e){return(0,bt.HexString)(`0x${new zt.default(e).toString(16)}`)}X.hexStringFromIntNumber=y0;function qo(e){return e.startsWith("0x")||e.startsWith("0X")}X.has0xPrefix=qo;function Ui(e){return qo(e)?e.slice(2):e}X.strip0x=Ui;function iu(e){return qo(e)?`0x${e.slice(2)}`:`0x${e}`}X.prepend0x=iu;function Pn(e){if(typeof e!="string")return!1;const t=Ui(e).toLowerCase();return ru.test(t)}X.isHexString=Pn;function su(e,t=!1){if(typeof e=="string"){const r=Ui(e).toLowerCase();if(ru.test(r))return(0,bt.HexString)(t?`0x${r}`:r)}throw Sr.standardErrors.rpc.invalidParams(`"${String(e)}" is not a hexadecimal string`)}X.ensureHexString=su;function Ln(e,t=!1){let r=su(e,!1);return r.length%2===1&&(r=(0,bt.HexString)(`0${r}`)),t?(0,bt.HexString)(`0x${r}`):r}X.ensureEvenLengthHexString=Ln;function v0(e){if(typeof e=="string"){const t=Ui(e).toLowerCase();if(Pn(t)&&t.length===40)return(0,bt.AddressString)(iu(t))}throw Sr.standardErrors.rpc.invalidParams(`Invalid Ethereum address: ${String(e)}`)}X.ensureAddressString=v0;function w0(e){if(Buffer.isBuffer(e))return e;if(typeof e=="string"){if(Pn(e)){const t=Ln(e,!1);return Buffer.from(t,"hex")}return Buffer.from(e,"utf8")}throw Sr.standardErrors.rpc.invalidParams(`Not binary data: ${String(e)}`)}X.ensureBuffer=w0;function ou(e){if(typeof e=="number"&&Number.isInteger(e))return(0,bt.IntNumber)(e);if(typeof e=="string"){if(tu.test(e))return(0,bt.IntNumber)(Number(e));if(Pn(e))return(0,bt.IntNumber)(new zt.default(Ln(e,!1),16).toNumber())}throw Sr.standardErrors.rpc.invalidParams(`Not an integer: ${String(e)}`)}X.ensureIntNumber=ou;function b0(e){if(e instanceof RegExp)return(0,bt.RegExpString)(e.toString());throw Sr.standardErrors.rpc.invalidParams(`Not a RegExp: ${String(e)}`)}X.ensureRegExpString=b0;function _0(e){if(e!==null&&(zt.default.isBN(e)||au(e)))return new zt.default(e.toString(10),10);if(typeof e=="number")return new zt.default(ou(e));if(typeof e=="string"){if(tu.test(e))return new zt.default(e,10);if(Pn(e))return new zt.default(Ln(e,!1),16)}throw Sr.standardErrors.rpc.invalidParams(`Not an integer: ${String(e)}`)}X.ensureBN=_0;function E0(e){if(typeof e=="string")return JSON.parse(e);if(typeof e=="object")return e;throw Sr.standardErrors.rpc.invalidParams(`Not a JSON string or an object: ${String(e)}`)}X.ensureParsedJSONObject=E0;function au(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=au;function S0(e,t){return Array.from({length:t-e},(r,n)=>e+n)}X.range=S0;function R0(){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=R0;function C0(e,t,r,n,i,s){const c=n?"parent-id":"id",o=new URLSearchParams({[c]:e,secret:t,server:r,v:i,chainId:s.toString()}).toString();return`${r}/#/link?${o}`}X.createQrUrl=C0;function cu(){try{return window.frameElement!==null}catch{return!1}}X.isInIFrame=cu;function M0(){try{return cu()&&window.top?window.top.location:window.location}catch{return window.location}}X.getLocation=M0;function I0(){var e;return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test((e=window==null?void 0:window.navigator)===null||e===void 0?void 0:e.userAgent)}X.isMobileWeb=I0;var Hi={};Object.defineProperty(Hi,"__esModule",{value:!0});Hi.ScopedLocalStorage=void 0;class x0{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}`}}Hi.ScopedLocalStorage=x0;var Xr={};const A0=an(Zh);var On={},$n={},un={};Object.defineProperty(un,"__esModule",{value:!0});un.EVENTS=void 0;un.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 Ya=Bn;wt.WALLET_USER_NAME_KEY="walletUsername";wt.LOCAL_STORAGE_ADDRESSES_KEY="Addresses";wt.APP_VERSION_KEY="AppVersion";class k0{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 Ya.standardErrors.rpc.parse({});const i=n,{error:s}=i;if(s)throw(0,Ya.serializeError)(s,t.method);return i})}}wt.RelayAbstract=k0;var hn={},lu={exports:{}},No={exports:{}},Fn={},Wi={};Wi.byteLength=N0;Wi.toByteArray=L0;Wi.fromByteArray=F0;var Pt=[],vt=[],T0=typeof Uint8Array<"u"?Uint8Array:Array,Gs="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var Fr=0,B0=Gs.length;Fr<B0;++Fr)Pt[Fr]=Gs[Fr],vt[Gs.charCodeAt(Fr)]=Fr;vt[45]=62;vt[95]=63;function uu(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 N0(e){var t=uu(e),r=t[0],n=t[1];return(r+n)*3/4-n}function P0(e,t,r){return(t+r)*3/4-r}function L0(e){var t,r=uu(e),n=r[0],i=r[1],s=new T0(P0(e,n,i)),c=0,o=i>0?n-4:n,f;for(f=0;f<o;f+=4)t=vt[e.charCodeAt(f)]<<18|vt[e.charCodeAt(f+1)]<<12|vt[e.charCodeAt(f+2)]<<6|vt[e.charCodeAt(f+3)],s[c++]=t>>16&255,s[c++]=t>>8&255,s[c++]=t&255;return i===2&&(t=vt[e.charCodeAt(f)]<<2|vt[e.charCodeAt(f+1)]>>4,s[c++]=t&255),i===1&&(t=vt[e.charCodeAt(f)]<<10|vt[e.charCodeAt(f+1)]<<4|vt[e.charCodeAt(f+2)]>>2,s[c++]=t>>8&255,s[c++]=t&255),s}function O0(e){return Pt[e>>18&63]+Pt[e>>12&63]+Pt[e>>6&63]+Pt[e&63]}function $0(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(O0(n));return i.join("")}function F0(e){for(var t,r=e.length,n=r%3,i=[],s=16383,c=0,o=r-n;c<o;c+=s)i.push($0(e,c,c+s>o?o:c+s));return n===1?(t=e[r-1],i.push(Pt[t>>2]+Pt[t<<4&63]+"==")):n===2&&(t=(e[r-2]<<8)+e[r-1],i.push(Pt[t>>10]+Pt[t>>4&63]+Pt[t<<2&63]+"=")),i.join("")}var zo={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */zo.read=function(e,t,r,n,i){var s,c,o=i*8-n-1,f=(1<<o)-1,g=f>>1,p=-7,v=r?i-1:0,b=r?-1:1,k=e[t+v];for(v+=b,s=k&(1<<-p)-1,k>>=-p,p+=o;p>0;s=s*256+e[t+v],v+=b,p-=8);for(c=s&(1<<-p)-1,s>>=-p,p+=n;p>0;c=c*256+e[t+v],v+=b,p-=8);if(s===0)s=1-g;else{if(s===f)return c?NaN:(k?-1:1)*(1/0);c=c+Math.pow(2,n),s=s-g}return(k?-1:1)*c*Math.pow(2,s-n)};zo.write=function(e,t,r,n,i,s){var c,o,f,g=s*8-i-1,p=(1<<g)-1,v=p>>1,b=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,k=n?0:s-1,j=n?1:-1,O=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=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+=b/f:t+=b*Math.pow(2,1-v),t*f>=2&&(c++,f/=2),c+v>=p?(o=0,c=p):c+v>=1?(o=(t*f-1)*Math.pow(2,i),c=c+v):(o=t*Math.pow(2,v-1)*Math.pow(2,i),c=0));i>=8;e[r+k]=o&255,k+=j,o/=256,i-=8);for(c=c<<i|o,g+=i;g>0;e[r+k]=c&255,k+=j,c/=256,g-=8);e[r+k-j]|=O*128};/*!
2
2
  * The buffer module from node.js, for the browser.
3
3
  *
4
4
  * @author Feross Aboukhadijeh <https://feross.org>