PageSourceSearch

https://www.socrazycoin.com/_next/static/chunks/764-dba4c6b522b472eb.js?dpl=dpl_F6fbMSsV8akRPx7thumSiwt84xhK

js socrazycoin.com collected 2026-10-08 10:53:42 UTC 50,391 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[764],{1140:function(e,t,r){"use strict";var n=r(3306).Buffer;e.exports=function(e){if(e.length>=255)throw TypeError("Alphabet too long");for(var t=new Uint8Array(256),r=0;r<t.length;r++)t[r]=255;for(var o=0;o<e.length;o++){var i=e.charAt(o),s=i.charCodeAt(0);if(255!==t[s])throw TypeError(i+" is ambiguous");t[s]=o}var u=e.length,a=e.charAt(0),c=Math.log(u)/Math.log(256),l=Math.log(256)/Math.log(u);function f(e){if("string"!=typeof e)throw TypeError("Expected String");if(0===e.length)return n.alloc(0);for(var r=0,o=0,i=0;e[r]===a;)o++,r++;for(var s=(e.length-r)*c+1>>>0,l=new Uint8Array(s);r<e.length;){var f=e.charCodeAt(r);if(f>255)return;var h=t[f];if(255===h)return;for(var d=0,p=s-1;(0!==h||d<i)&&-1!==p;p--,d++)h+=u*l[p]>>>0,l[p]=h%256>>>0,h=h/256>>>0;if(0!==h)throw Error("Non-zero carry");i=d,r++}for(var y=s-i;y!==s&&0===l[y];)y++;var g=n.allocUnsafe(o+(s-y));g.fill(0,0,o);for(var w=o;y!==s;)g[w++]=l[y++];return g}return{encode:function(t){if((Array.isArray(t)||t instanceof Uint8Array)&&(t=n.from(t)),!n.isBuffer(t))throw TypeError("Expected Buffer");if(0===t.length)return"";for(var r=0,o=0,i=0,s=t.length;i!==s&&0===t[i];)i++,r++;for(var c=(s-i)*l+1>>>0,f=new Uint8Array(c);i!==s;){for(var h=t[i],d=0,p=c-1;(0!==h||d<o)&&-1!==p;p--,d++)h+=256*f[p]>>>0,f[p]=h%u>>>0,h=h/u>>>0;if(0!==h)throw Error("Non-zero carry");o=d,i++}for(var y=c-o;y!==c&&0===f[y];)y++;for(var g=a.repeat(r);y<c;++y)g+=e.charAt(f[y]);return g},decodeUnsafe:f,decode:function(e){var t=f(e);if(t)return t;throw Error("Non-base"+u+" character")}}}},7394:function(e,t,r){var n=r(1140);e.exports=n("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz")},943:function(e){"use strict";let t=/[\p{Lu}]/u,r=/[\p{Ll}]/u,n=/^[\p{Lu}](?![\p{Lu}])/gu,o=/([\p{Alpha}\p{N}_]|$)/u,i=/[_.\- ]+/,s=RegExp("^"+i.source),u=RegExp(i.source+o.source,"gu"),a=RegExp("\\d+"+o.source,"gu"),c=(e,n,o)=>{let i=!1,s=!1,u=!1;for(let a=0;a<e.length;a++){let c=e[a];i&&t.test(c)?(e=e.slice(0,a)+"-"+e.slice(a),i=!1,u=s,s=!0,a++):s&&u&&r.test(c)?(e=e.slice(0,a-1)+"-"+e.slice(a-1),u=s,s=!1,i=!0):(i=n(c)===c&&o(c)!==c,u=s,s=o(c)===c&&n(c)!==c)}return e},l=(e,t)=>(n.lastIndex=0,e.replace(n,e=>t(e))),f=(e,t)=>(u.lastIndex=0,a.lastIndex=0,e.replace(u,(e,r)=>t(r)).replace(a,e=>t(e))),h=(e,t)=>{if(!("string"==typeof e||Array.isArray(e)))throw TypeError("Expected the input to be `string | string[]`");if(t={pascalCase:!1,preserveConsecutiveUppercase:!1,...t},0===(e=Array.isArray(e)?e.map(e=>e.trim()).filter(e=>e.length).join("-"):e.trim()).length)return"";let r=!1===t.locale?e=>e.toLowerCase():e=>e.toLocaleLowerCase(t.locale),n=!1===t.locale?e=>e.toUpperCase():e=>e.toLocaleUpperCase(t.locale);return 1===e.length?t.pascalCase?n(e):r(e):(e!==r(e)&&(e=c(e,r,n)),e=e.replace(s,""),e=t.preserveConsecutiveUppercase?l(e,r):r(e),t.pascalCase&&(e=n(e.charAt(0))+e.slice(1)),f(e,n))};e.exports=h,e.exports.default=h},1580:function(e){"use strict";var t=Object.prototype.hasOwnProperty,r="~";function n(){}function o(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function i(e,t,n,i,s){if("function"!=typeof n)throw TypeError("The listener must be a function");var u=new o(n,i||e,s),a=r?r+t:t;return e._events[a]?e._events[a].fn?e._events[a]=[e._events[a],u]:e._events[a].push(u):(e._events[a]=u,e._eventsCount++),e}function s(e,t){0==--e._eventsCount?e._events=new n:delete e._events[t]}function u(){this._events=new n,this._eventsCount=0}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1)),u.prototype.eventNames=function(){var e,n,o=[];if(0===this._eventsCount)return o;for(n in e=this._events)t.call(e,n)&&o.push(r?n.slice(1):n);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(e)):o},u.prototype.listeners=function(e){var t=r?r+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var o=0,i=n.length,s=Array(i);o<i;o++)s[o]=n[o].fn;return s},u.prototype.listenerCount=function(e){var t=r?r+e:e,n=this._events[t];return n?n.fn?1:n.length:0},u.prototype.emit=function(e,t,n,o,i,s){var u=r?r+e:e;if(!this._events[u])return!1;var a,c,l=this._events[u],f=arguments.length;
1if(l.fn){switch(l.once&&this.removeListener(e,l.fn,void 0,!0),f){case 1:return l.fn.call(l.context),!0;case 2:return l.fn.call(l.context,t),!0;case 3:return l.fn.call(l.context,t,n),!0;case 4:return l.fn.call(l.context,t,n,o),!0;case 5:return l.fn.call(l.context,t,n,o,i),!0;case 6:return l.fn.call(l.context,t,n,o,i,s),!0}for(c=1,a=Array(f-1);c<f;c++)a[c-1]=arguments[c];l.fn.apply(l.context,a)}else{var h,d=l.length;for(c=0;c<d;c++)switch(l[c].once&&this.removeListener(e,l[c].fn,void 0,!0),f){case 1:l[c].fn.call(l[c].context);break;case 2:l[c].fn.call(l[c].context,t);break;case 3:l[c].fn.call(l[c].context,t,n);break;case 4:l[c].fn.call(l[c].context,t,n,o);break;default:if(!a)for(h=1,a=Array(f-1);h<f;h++)a[h-1]=arguments[h];l[c].fn.apply(l[c].context,a)}}return!0},u.prototype.on=function(e,t,r){return i(this,e,t,r,!1)},u.prototype.once=function(e,t,r){return i(this,e,t,r,!0)},u.prototype.removeListener=function(e,t,n,o){var i=r?r+e:e;if(!this._events[i])return this;if(!t)return s(this,i),this;var u=this._events[i];if(u.fn)u.fn!==t||o&&!u.once||n&&u.context!==n||s(this,i);else{for(var a=0,c=[],l=u.length;a<l;a++)(u[a].fn!==t||o&&!u[a].once||n&&u[a].context!==n)&&c.push(u[a]);c.length?this._events[i]=1===c.length?c[0]:c:s(this,i)}return this},u.prototype.removeAllListeners=function(e){var t;return e?(t=r?r+e:e,this._events[t]&&s(this,t)):(this._events=new n,this._eventsCount=0),this},u.prototype.off=u.prototype.removeListener,u.prototype.addListener=u.prototype.on,u.prefixed=r,u.EventEmitter=u,e.exports=u},677:function(e,t,r){"use strict";var n=r(2957).Buffer,o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.map=t.array=t.rustEnum=t.str=t.vecU8=t.tagged=t.vec=t.bool=t.option=t.publicKey=t.i256=t.u256=t.i128=t.u128=t.i64=t.u64=t.struct=t.f64=t.f32=t.i32=t.u32=t.i16=t.u16=t.i8=t.u8=void 0;let i=r(6861),s=r(4024),u=o(r(4373));var a=r(6861);Object.defineProperty(t,"u8",{enumerable:!0,get:function(){return a.u8}}),Object.defineProperty(t,"i8",{enumerable:!0,get:function(){return a.s8}}),Object.defineProperty(t,"u16",{enumerable:!0,get:function(){return a.u16}}),Object.defineProperty(t,"i16",{enumerable:!0,get:function(){return a.s16}}),Object.defineProperty(t,"u32",{enumerable:!0,get:function(){return a.u32}}),Object.defineProperty(t,"i32",{enumerable:!0,get:function(){return a.s32}}),Object.defineProperty(t,"f32",{enumerable:!0,get:function(){return a.f32}}),Object.defineProperty(t,"f64",{enumerable:!0,get:function(){return a.f64}}),Object.defineProperty(t,"struct",{enumerable:!0,get:function(){return a.struct}});class c extends i.Layout{constructor(e,t,r){super(e,r),this.blob=(0,i.blob)(e),this.signed=t}decode(e,t=0){let r=new u.default(this.blob.decode(e,t),10,"le");return this.signed?r.fromTwos(8*this.span).clone():r}encode(e,t,r=0){return this.signed&&(e=e.toTwos(8*this.span)),this.blob.encode(e.toArrayLike(n,"le",this.span),t,r)}}function l(e){return new c(8,!1,e)}t.u64=l,t.i64=function(e){return new c(8,!0,e)},t.u128=function(e){return new c(16,!1,e)},t.i128=function(e){return new c(16,!0,e)},t.u256=function(e){return new c(32,!1,e)},t.i256=function(e){return new c(32,!0,e)};class f extends i.Layout{constructor(e,t,r,n){super(e.span,n),this.layout=e,this.decoder=t,this.encoder=r}decode(e,t){return this.decoder(this.layout.decode(e,t))}encode(e,t,r){return this.layout.encode(this.encoder(e),t,r)}getSpan(e,t){return this.layout.getSpan(e,t)}}t.publicKey=function(e){return new f((0,i.blob)(32),e=>new s.PublicKey(e),e=>e.toBuffer(),e)};class h extends i.Layout{constructor(e,t){super(-1,t),this.layout=e,this.discriminator=(0,i.u8)()}encode(e,t,r=0){return null==e?this.discriminator.encode(0,t,r):(this.discriminator.encode(1,t,r),this.layout.encode(e,t,r+1)+1)}decode(e,t=0){let r=this.discriminator.decode(e,t);if(0===r)return null;if(1===r)return this.layout.decode(e,t+1);throw Error("Invalid option "+this.property)}getSpan(e,t=0){let r=this.discriminator.decode(e,t);if(0===r)return 1;if(1===r)return this.layout.getSpan(e,t+1)+1;throw Error("Invalid option "+this.property)}}function d(e){if(0===e)return!1;if(1===e)return!0;throw Error("Invalid bool: "+e)}function p(e){return e?1:0}function y(e){let t=(0,i.u32)("length");return new f((0,i.struct)([t,(0,i.blob)((0,i.offset)(t,-t.span),"data")]),({data:e})=>e,e=>({data:e}),e)}t.option=function(e,t){return new h(e,t)},t.bool=function(e){return new f((0,i.u8)(),d,p,e)},t.vec=function(e,t){let r=(0,i.u32)("length");return new f((0,i.struct)([r,(0,i.seq)(e,(0,i.offset)(r,-r.span),"values")]),({values:e})=>e,e=>({values:e}),t)},t.tagged=function(e,t,r){return new f((0,i.struct)([l("tag"),t.replicate("data")]),function({tag:t,data:r}){if(!t.eq(e))throw Error("Invalid tag, expected: "+e.toString("hex")+", got: "+t.toString("hex"));return r},t=>({tag:e,data:t}),r)},t.vecU8=y,t.str=function(e){return new f(y(),e=>e.toString("utf-8"),e=>n.from(e,"utf-8"),e)},t.rustEnum=function(e,t,r){let n=(0,i.union)(null!=r?r:(0,i.u8)(),t);return e.forEach((e,t)=>n.addVariant(t,e,e.property)),n},t.array=function(e,t,r){return new f((0,i.struct)([(0,i.seq)(e,t,"values")]),({values:e})=>e,e=>({values:e}),r)};class g extends i.Layout{constructor(e,t,r){super(e.span+t.span,r),this.keyLayout=e,this.valueLayout=t}decode(e,t){return t=t||0,[this.keyLayout.decode(e,t),this.valueLayout.decode(e,t+this.keyLayout.getSpan(e,t))]}encode(e,t,r){r=r||0;let n=this.keyLayout.encode(e[0],t,r),o=this.valueLayout.encode(e[1],t,r+n);return n+o}getSpan(e,t){return this.keyLayout.getSpan(e,t)+this.valueLayout.getSpan(e,t)}}t.map=function(e,t,r){let n=(0,i.u32)("length");return new f((0,i.struct)([n,(0,i.seq)(new g(e,t),(0,i.offset)(n,-n.span),"values")]),({values:e})=>new Map(e),e=>({values:Array.from(e.entries())}),r)}},1089:function(e,t,r){"use strict";var n=r(2957).Buffer;t.oU=function(e){{let t=n.from(e);t.reverse();let r=t.toString("hex");return 0===r.length?BigInt(0):BigInt(`0x${r}`)}},t.Q5=function(e){{let t=e.toString("hex");return 0===t.length?BigInt(0):BigInt(`0x${t}`)}},t.k$=function(e,t){{let r=e.toString(16),o=n.from(r.padStart(2*t,"0").slice(0,2*t),"hex");return o.reverse(),o}},t.zP=function(e,t){{let r=e.toString(16);return n.from(r.padStart(2*t,"0").slice(0,2*t),"hex")}}},6861:function(e,t,r){"use strict";var n=r(2957).Buffer;class o{constructor(e,t){if(!Number.isInteger(e))throw TypeError("span must be an integer");this.span=e,this.property=t}makeDestinationObject(){return{}}decode(e,t){throw Error("Layout is abstract")}encode(e,t,r){throw Error("Layout is abstract")}getSpan(e,t){if(0>this.span)throw RangeError("indeterminate span");return this.span}replicate(e){let t=Object.create(this.constructor.prototype);return Object.assign(t,this),t.property=e,t}fromArray(e){}}function i(e,t){return t.property?e+"["+t.property+"]":e}t.Layout=o,t.nameWithProperty=i,t.bindConstructorLayout=function(e,t){if("function"!=typeof e)throw TypeError("Class must be constructor");if(e.hasOwnProperty("layout_"))throw Error("Class is already bound to a layout");if(!(t&&t instanceof o))throw TypeError("layout must be a Layout");if(t.hasOwnProperty("boundConstructor_"))throw Error("layout is already bound to a constructor");e.layout_=t,t.boundConstructor_=e,t.makeDestinationObject=()=>new e,Object.defineProperty(e.prototype,"encode",{value:function(e,r){return t.encode(this,e,r)},writable:!0}),Object.defineProperty(e,"decode",{value:function(e,r){return t.decode(e,r)},writable:!0})};class s extends o{isCount(){throw Error("ExternalLayout is abstract")}}class u extends s{constructor(e,t){if(void 0===e&&(e=1),!Number.isInteger(e)||0>=e)throw TypeError("elementSpan must be a (positive) integer");super(-1,t),this.elementSpan=e}isCount(){return!0}decode(e,t){return void 0===t&&(t=0),Math.floor((e.length-t)/this.elementSpan)}encode(e,t,r){return 0}}class a extends s{constructor(e,t,r){if(!(e instanceof o))throw TypeError("layout must be a Layout");if(void 0===t)t=0;else if(!Number.isInteger(t))throw TypeError("offset must be integer or undefined");super(e.span,r||e.property),this.layout=e,this.offset=t}isCount(){return this.layout instanceof c||this.layout instanceof l}decode(e,t){return void 0===t&&(t=0),this.layout.decode(e,t+this.offset)}encode(e,t,r){return void 0===r&&(r=0),this.layout.encode(e,t,r+this.offset)}}class c extends o{constructor(e,t){if(super(e,t),6<this.span)throw RangeError("span must not exceed 6 bytes")}decode(e,t){return void 0===t&&(t=0),e.readUIntLE(t,this.span)}encode(e,t,r){return void 0===r&&(r=0),t.writeUIntLE(e,r,this.span),this.span}}class l extends o{constructor(e,t){if(super(e,t),6<this.span)throw RangeError("span must not exceed 6 bytes")}decode(e,t){return void 0===t&&(t=0),e.readUIntBE(t,this.span)}encode(e,t,r){return void 0===r&&(r=0),t.writeUIntBE(e,r,this.span),this.span}}class f extends o{constructor(e,t){if(super(e,t),6<this.span)throw RangeError("span must not exceed 6 bytes")}decode(e,t){return void 0===t&&(t=0),e.readIntLE(t,this.span)}encode(e,t,r){return void 0===r&&(r=0),t.writeIntLE(e,r,this.span),this.span}}class h extends o{constructor(e,t){if(super(e,t),6<this.span)throw RangeError("span must not exceed 6 bytes")}decode(e,t){return void 0===t&&(t=0),e.readIntBE(t,this.span)}encode(e,t,r){return void 0===r&&(r=0),t.writeIntBE(e,r,this.span),this.span}}function d(e){let t=Math.floor(e/4294967296);return{hi32:t,lo32:e-4294967296*t}}function p(e,t){return 4294967296*e+t}class y extends o{constructor(e){super(8,e)}decode(e,t){void 0===t&&(t=0);let r=e.readUInt32LE(t);return p(e.readUInt32LE(t+4),r)}encode(e,t,r){void 0===r&&(r=0);let n=d(e);return t.writeUInt32LE(n.lo32,r),t.writeUInt32LE(n.hi32,r+4),8}}class g extends o{constructor(e){super(8,e)}decode(e,t){return void 0===t&&(t=0),p(e.readUInt32BE(t),e.readUInt32BE(t+4))}encode(e,t,r){void 0===r&&(r=0);let n=d(e);return t.writeUInt32BE(n.hi32,r),t.writeUInt32BE(n.lo32,r+4),8}}class w extends o{constructor(e){super(8,e)}decode(e,t){void 0===t&&(t=0);let r=e.readUInt32LE(t);return p(e.readInt32LE(t+4),r)}encode(e,t,r){void 0===r&&(r=0);let n=d(e);return t.writeUInt32LE(n.lo32,r),t.writeInt32LE(n.hi32,r+4),8}}class v extends o{constructor(e){super(8,e)}decode(e,t){return void 0===t&&(t=0),p(e.readInt32BE(t),e.readUInt32BE(t+4))}encode(e,t,r){void 0===r&&(r=0);let n=d(e);return t.writeInt32BE(n.hi32,r),t.writeUInt32BE(n.lo32,r+4),8}}class m extends o{constructor(e){super(4,e)}decode(e,t){return void 0===t&&(t=0),e.readFloatLE(t)}encode(e,t,r){return void 0===r&&(r=0),t.writeFloatLE(e,r),4}}class b extends o{constructor(e){super(4,e)}decode(e,t){return void 0===t&&(t=0),e.readFloatBE(t)}encode(e,t,r){return void 0===r&&(r=0),t.writeFloatBE(e,r),4}}class E extends o{constructor(e){super(8,e)}decode(e,t){return void 0===t&&(t=0),e.readDoubleLE(t)}encode(e,t,r){return void 0===r&&(r=0),t.writeDoubleLE(e,r),8}}class x extends o{constructor(e){super(8,e)}decode(e,t){return void 0===t&&(t=0),e.readDoubleBE(t)}encode(e,t,r){return void 0===r&&(r=0),t.writeDoubleBE(e,r),8}}class L extends o{constructor(e,t,r){if(!(e instanceof o))throw TypeError("elementLayout must be a Layout");if(!(t instanceof s&&t.isCount()||Number.isInteger(t)&&0<=t))throw TypeError("count must be non-negative integer or an unsigned integer ExternalLayout");let n=-1;t instanceof s||!(0<e.span)||(n=t*e.span),super(n,r),this.elementLayout=e,this.count=t}getSpan(e,t){if(0<=this.span)return this.span;void 0===t&&(t=0);let r=0,n=this.count;if(n instanceof s&&(n=n.decode(e,t)),0<this.elementLayout.span)r=n*this.elementLayout.span;else{let o=0;for(;o<n;)r+=this.elementLayout.getSpan(e,t+r),++o}return r}decode(e,t){void 0===t&&(t=0);let r=[],n=0,o=this.count;for(o instanceof s&&(o=o.decode(e,t));n<o;)r.push(this.elementLayout.decode(e,t)),t+=this.elementLayout.getSpan(e,t),n+=1;return r}encode(e,t,r){void 0===r&&(r=0);let n=this.elementLayout,o=e.reduce((e,o)=>e+n.encode(o,t,r+e),0);return this.count instanceof s&&this.count.encode(e.length,t,r),o}}class S extends o{constructor(e,t,r){if(!(Array.isArray(e)&&e.reduce((e,t)=>
1e&&t instanceof o,!0)))throw TypeError("fields must be array of Layout instances");for(let n of("boolean"==typeof t&&void 0===r&&(r=t,t=void 0),e))if(0>n.span&&void 0===n.property)throw Error("fields cannot contain unnamed variable-length layout");let n=-1;try{n=e.reduce((e,t)=>e+t.getSpan(),0)}catch(e){}super(n,t),this.fields=e,this.decodePrefixes=!!r}getSpan(e,t){if(0<=this.span)return this.span;void 0===t&&(t=0);let r=0;try{r=this.fields.reduce((r,n)=>{let o=n.getSpan(e,t);return t+=o,r+o},0)}catch(e){throw RangeError("indeterminate span")}return r}decode(e,t){void 0===t&&(t=0);let r=this.makeDestinationObject();for(let n of this.fields)if(void 0!==n.property&&(r[n.property]=n.decode(e,t)),t+=n.getSpan(e,t),this.decodePrefixes&&e.length===t)break;return r}encode(e,t,r){void 0===r&&(r=0);let n=r,o=0,i=0;for(let n of this.fields){let s=n.span;if(i=0<s?s:0,void 0!==n.property){let o=e[n.property];void 0!==o&&(i=n.encode(o,t,r),0>s&&(s=n.getSpan(t,r)))}o=r,r+=s}return o+i-n}fromArray(e){let t=this.makeDestinationObject();for(let r of this.fields)void 0!==r.property&&0<e.length&&(t[r.property]=e.shift());return t}layoutFor(e){if("string"!=typeof e)throw TypeError("property must be string");for(let t of this.fields)if(t.property===e)return t}offsetOf(e){if("string"!=typeof e)throw TypeError("property must be string");let t=0;for(let r of this.fields){if(r.property===e)return t;0>r.span?t=-1:0<=t&&(t+=r.span)}}}class O{constructor(e){this.property=e}decode(){throw Error("UnionDiscriminator is abstract")}encode(){throw Error("UnionDiscriminator is abstract")}}class B extends O{constructor(e,t){if(!(e instanceof s&&e.isCount()))throw TypeError("layout must be an unsigned integer ExternalLayout");super(t||e.property||"variant"),this.layout=e}decode(e,t){return this.layout.decode(e,t)}encode(e,t,r){return this.layout.encode(e,t,r)}}class A extends o{constructor(e,t,r){let n=e instanceof c||e instanceof l;if(n)e=new B(new a(e));else if(e instanceof s&&e.isCount())e=new B(e);else if(!(e instanceof O))throw TypeError("discr must be a UnionDiscriminator or an unsigned integer layout");if(void 0===t&&(t=null),!(null===t||t instanceof o))throw TypeError("defaultLayout must be null or a Layout");if(null!==t){if(0>t.span)throw Error("defaultLayout must have constant span");void 0===t.property&&(t=t.replicate("content"))}let i=-1;t&&0<=(i=t.span)&&n&&(i+=e.layout.span),super(i,r),this.discriminator=e,this.usesPrefixDiscriminator=n,this.defaultLayout=t,this.registry={};let u=this.defaultGetSourceVariant.bind(this);this.getSourceVariant=function(e){return u(e)},this.configGetSourceVariant=function(e){u=e.bind(this)}}getSpan(e,t){if(0<=this.span)return this.span;void 0===t&&(t=0);let r=this.getVariant(e,t);if(!r)throw Error("unable to determine span for unrecognized variant");return r.getSpan(e,t)}defaultGetSourceVariant(e){if(e.hasOwnProperty(this.discriminator.property)){if(this.defaultLayout&&e.hasOwnProperty(this.defaultLayout.property))return;let t=this.registry[e[this.discriminator.property]];if(t&&(!t.layout||e.hasOwnProperty(t.property)))return t}else for(let t in this.registry){let r=this.registry[t];if(e.hasOwnProperty(r.property))return r}throw Error("unable to infer src variant")}decode(e,t){let r;void 0===t&&(t=0);let n=this.discriminator,o=n.decode(e,t),i=this.registry[o];if(void 0===i){let s=0;i=this.defaultLayout,this.usesPrefixDiscriminator&&(s=n.layout.span),(r=this.makeDestinationObject())[n.property]=o,r[i.property]=this.defaultLayout.decode(e,t+s)}else r=i.decode(e,t);return r}encode(e,t,r){void 0===r&&(r=0);let n=this.getSourceVariant(e);if(void 0===n){let n=this.discriminator,o=this.defaultLayout,i=0;return this.usesPrefixDiscriminator&&(i=n.layout.span),n.encode(e[n.property],t,r),i+o.encode(e[o.property],t,r+i)}return n.encode(e,t,r)}addVariant(e,t,r){let n=new T(this,e,t,r);return this.registry[e]=n,n}getVariant(e,t){let r=e;return n.isBuffer(e)&&(void 0===t&&(t=0),r=this.discriminator.decode(e,t)),this.registry[r]}}class T extends o{constructor(e,t,r,n){if(!(e instanceof A))throw TypeError("union must be a Union");if(!Number.isInteger(t)||0>t)throw TypeError("variant must be a (non-negative) integer");if("string"==typeof r&&void 0===n&&(n=r,r=null),r){if(!(r instanceof o))throw TypeError("layout must be a Layout");
1if(null!==e.defaultLayout&&0<=r.span&&r.span>e.defaultLayout.span)throw Error("variant span exceeds span of containing union");if("string"!=typeof n)throw TypeError("variant must have a String property")}let i=e.span;0>e.span&&0<=(i=r?r.span:0)&&e.usesPrefixDiscriminator&&(i+=e.discriminator.layout.span),super(i,n),this.union=e,this.variant=t,this.layout=r||null}getSpan(e,t){if(0<=this.span)return this.span;void 0===t&&(t=0);let r=0;return this.union.usesPrefixDiscriminator&&(r=this.union.discriminator.layout.span),r+this.layout.getSpan(e,t+r)}decode(e,t){let r=this.makeDestinationObject();if(void 0===t&&(t=0),this!==this.union.getVariant(e,t))throw Error("variant mismatch");let n=0;return this.union.usesPrefixDiscriminator&&(n=this.union.discriminator.layout.span),this.layout?r[this.property]=this.layout.decode(e,t+n):this.property?r[this.property]=!0:this.union.usesPrefixDiscriminator&&(r[this.union.discriminator.property]=this.variant),r}encode(e,t,r){void 0===r&&(r=0);let n=0;if(this.union.usesPrefixDiscriminator&&(n=this.union.discriminator.layout.span),this.layout&&!e.hasOwnProperty(this.property))throw TypeError("variant lacks property "+this.property);this.union.discriminator.encode(this.variant,t,r);let o=n;if(this.layout&&(this.layout.encode(e[this.property],t,r+n),o+=this.layout.getSpan(t,r+n),0<=this.union.span&&o>this.union.span))throw Error("encoded variant overruns containing union");return o}fromArray(e){if(this.layout)return this.layout.fromArray(e)}}function N(e){return 0>e&&(e+=4294967296),e}class P extends o{constructor(e,t,r){if(!(e instanceof c||e instanceof l))throw TypeError("word must be a UInt or UIntBE layout");if("string"==typeof t&&void 0===r&&(r=t,t=void 0),4<e.span)throw RangeError("word cannot exceed 32 bits");super(e.span,r),this.word=e,this.msb=!!t,this.fields=[];let n=0;this._packedSetValue=function(e){return n=N(e),this},this._packedGetValue=function(){return n}}decode(e,t){let r=this.makeDestinationObject();void 0===t&&(t=0);let n=this.word.decode(e,t);for(let e of(this._packedSetValue(n),this.fields))void 0!==e.property&&(r[e.property]=e.decode(n));return r}encode(e,t,r){void 0===r&&(r=0);let n=this.word.decode(t,r);for(let t of(this._packedSetValue(n),this.fields))if(void 0!==t.property){let r=e[t.property];void 0!==r&&t.encode(r)}return this.word.encode(this._packedGetValue(),t,r)}addField(e,t){let r=new _(this,e,t);return this.fields.push(r),r}addBoolean(e){let t=new I(this,e);return this.fields.push(t),t}fieldFor(e){if("string"!=typeof e)throw TypeError("property must be string");for(let t of this.fields)if(t.property===e)return t}}class _{constructor(e,t,r){if(!(e instanceof P))throw TypeError("container must be a BitStructure");if(!Number.isInteger(t)||0>=t)throw TypeError("bits must be positive integer");let n=8*e.span,o=e.fields.reduce((e,t)=>e+t.bits,0);if(t+o>n)throw Error("bits too long for span remainder ("+(n-o)+" of "+n+" remain)");this.container=e,this.bits=t,this.valueMask=(1<<t)-1,32===t&&(this.valueMask=4294967295),this.start=o,this.container.msb&&(this.start=n-o-t),this.wordMask=N(this.valueMask<<this.start),this.property=r}decode(){return N(this.container._packedGetValue()&this.wordMask)>>>this.start}encode(e){if(!Number.isInteger(e)||e!==N(e&this.valueMask))throw TypeError(i("BitField.encode",this)+" value must be integer not exceeding "+this.valueMask);let t=this.container._packedGetValue(),r=N(e<<this.start);this.container._packedSetValue(N(t&~this.wordMask)|r)}}class I extends _{constructor(e,t){super(e,1,t)}decode(e,t){return!!_.prototype.decode.call(this,e,t)}encode(e){return"boolean"==typeof e&&(e=+e),_.prototype.encode.call(this,e)}}class k extends o{constructor(e,t){if(!(e instanceof s&&e.isCount()||Number.isInteger(e)&&0<=e))throw TypeError("length must be positive integer or an unsigned integer ExternalLayout");let r=-1;e instanceof s||(r=e),super(r,t),this.length=e}getSpan(e,t){let r=this.span;return 0>r&&(r=this.length.decode(e,t)),r}decode(e,t){void 0===t&&(t=0);let r=this.span;return 0>r&&(r=this.length.decode(e,t)),e.slice(t,t+r)}encode(e,t,r){let o=this.length;if(this.length instanceof s&&(o=e.length),!(n.isBuffer(e)&&o===e.length))throw TypeError(i("Blob.encode",this)+" requires (length "+o+") Buffer as src");if(r+o>t.length)throw RangeError("encoding overruns Buffer");return t.write(e.toString("hex"),r,o,"hex"),this.length instanceof s&&this.length.encode(o,t,r),o}}class U extends o{constructor(e){super(-1,e)}getSpan(e,t){if(!n.isBuffer(e))throw TypeError("b must be a Buffer");void 0===t&&(t=0);let r=t;for(;r<e.length&&0!==e[r];)r+=1;return 1+r-t}decode(e,t,r){void 0===t&&(t=0);let n=this.getSpan(e,t);return e.slice(t,t+n-1).toString("utf-8")}encode(e,t,r){void 0===r&&(r=0),"string"!=typeof e&&(e=e.toString());let o=new n(e,"utf8"),i=o.length;if(r+i>t.length)throw RangeError("encoding overruns Buffer");return o.copy(t,r),t[r+i]=0,i+1}}class C extends o{constructor(e,t){if("string"==typeof e&&void 0===t&&(t=e,e=void 0),void 0===e)e=-1;else if(!Number.isInteger(e))throw TypeError("maxSpan must be an integer");super(-1,t),this.maxSpan=e}getSpan(e,t){if(!n.isBuffer(e))throw TypeError("b must be a Buffer");return void 0===t&&(t=0),e.length-t}decode(e,t,r){void 0===t&&(t=0);let n=this.getSpan(e,t);if(0<=this.maxSpan&&this.maxSpan<n)throw RangeError("text length exceeds maxSpan");return e.slice(t,t+n).toString("utf-8")}encode(e,t,r){void 0===r&&(r=0),"string"!=typeof e&&(e=e.toString());let o=new n(e,"utf8"),i=o.length;if(0<=this.maxSpan&&this.maxSpan<i)throw RangeError("text length exceeds maxSpan");if(r+i>t.length)throw RangeError("encoding overruns Buffer");return o.copy(t,r),i}}class D extends o{constructor(e,t){super(0,t),this.value=e}decode(e,t,r){return this.value}encode(e,t,r){return 0}}t.ExternalLayout=s,t.GreedyCount=u,t.OffsetLayout=a,t.UInt=c,t.UIntBE=l,t.Int=f,t.IntBE=h,t.Float=m,t.FloatBE=b,t.Double=E,t.DoubleBE=x,t.Sequence=L,t.Structure=S,t.UnionDiscriminator=O,t.UnionLayoutDiscriminator=B,t.Union=A,t.VariantLayout=T,t.BitStructure=P,t.BitField=_,t.Boolean=I,t.Blob=k,t.CString=U,t.UTF8=C,t.Constant=D,t.greedy=(e,t)=>new u(e,t),t.offset=(e,t,r)=>new a(e,t,r),t.u8=e=>new c(1,e),t.u16=e=>new c(2,e),t.u24=e=>new c(3,e),t.u32=e=>new c(4,e),t.u40=e=>new c(5,e),t.u48=e=>new c(6,e),t.nu64=e=>new y(e),t.u16be=e=>new l(2,e),t.u24be=e=>new l(3,e),t.u32be=e=>new l(4,e),t.u40be=e=>new l(5,e),t.u48be=e=>new l(6,e),t.nu64be=e=>new g(e),t.s8=e=>new f(1,e),t.s16=e=>
1new f(2,e),t.s24=e=>new f(3,e),t.s32=e=>new f(4,e),t.s40=e=>new f(5,e),t.s48=e=>new f(6,e),t.ns64=e=>new w(e),t.s16be=e=>new h(2,e),t.s24be=e=>new h(3,e),t.s32be=e=>new h(4,e),t.s40be=e=>new h(5,e),t.s48be=e=>new h(6,e),t.ns64be=e=>new v(e),t.f32=e=>new m(e),t.f32be=e=>new b(e),t.f64=e=>new E(e),t.f64be=e=>new x(e),t.struct=(e,t,r)=>new S(e,t,r),t.bits=(e,t,r)=>new P(e,t,r),t.seq=(e,t,r)=>new L(e,t,r),t.union=(e,t,r)=>new A(e,t,r),t.unionLayoutDiscriminator=(e,t)=>new B(e,t),t.blob=(e,t)=>new k(e,t),t.cstr=e=>new U(e),t.utf8=(e,t)=>new C(e,t),t.const=(e,t)=>new D(e,t)},5566:function(e){var t,r,n,o=e.exports={};function i(){throw Error("setTimeout has not been defined")}function s(){throw Error("clearTimeout has not been defined")}function u(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var a=[],c=!1,l=-1;function f(){c&&n&&(c=!1,n.length?a=n.concat(a):l=-1,a.length&&h())}function h(){if(!c){var e=u(f);c=!0;for(var t=a.length;t;){for(n=a,a=[];++l<t;)n&&n[l].run();l=-1,t=a.length}n=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function d(e,t){this.fun=e,this.array=t}function p(){}o.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];a.push(new d(e,t)),1!==a.length||c||u(h)},d.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=p,o.addListener=p,o.once=p,o.off=p,o.removeListener=p,o.removeAllListeners=p,o.emit=p,o.prependListener=p,o.prependOnceListener=p,o.listeners=function(e){return[]},o.binding=function(e){throw Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw Error("process.chdir is not supported")},o.umask=function(){return 0}},8085:function(e,t,r){"use strict";r.d(t,{Am:function(){return N}});var n=r(9028),o=r(1089);let i=e=>({decode:e.decode.bind(e),encode:e.encode.bind(e)});var s=r(2957).Buffer;let u=e=>t=>{let r=(0,n.Ik)(e,t),{encode:u,decode:a}=i(r);return r.decode=(e,t)=>{let r=a(e,t);return(0,o.oU)(s.from(r))},r.encode=(t,r,n)=>u((0,o.k$)(t,e),r,n),r},a=e=>t=>{let r=(0,n.Ik)(e,t),{encode:u,decode:a}=i(r);return r.decode=(e,t)=>{let r=a(e,t);return(0,o.Q5)(s.from(r))},r.encode=(t,r,n)=>u((0,o.zP)(t,e),r,n),r},c=u(8);a(8),u(16),a(16),u(24),a(24),u(32),a(32);var l=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,f=Math.ceil,h=Math.floor,d="[BigNumber Error] ",p=d+"Number primitive has more than 15 significant digits: ",y=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13];function g(e){var t=0|e;return e>0||e===t?t:t-1}function w(e){for(var t,r,n=1,o=e.length,i=e[0]+"";n<o;){for(r=14-(t=e[n++]+"").length;r--;t="0"+t);i+=t}for(o=i.length;48===i.charCodeAt(--o););return i.slice(0,o+1||1)}function v(e,t){var r,n,o=e.c,i=t.c,s=e.s,u=t.s,a=e.e,c=t.e;if(!s||!u)return null;if(r=o&&!o[0],n=i&&!i[0],r||n)return r?n?0:-u:s;if(s!=u)return s;if(r=s<0,n=a==c,!o||!i)return n?0:!o^r?1:-1;if(!n)return a>c^r?1:-1;for(s=0,u=(a=o.length)<(c=i.length)?a:c;s<u;s++)if(o[s]!=i[s])return o[s]>i[s]^r?1:-1;return a==c?0:a>c^r?1:-1}function m(e,t,r,n){if(e<t||e>r||e!==h(e))throw Error(d+(n||"Argument")+("number"==typeof e?e<t||e>r?" out of range: ":" not an integer: ":" not a primitive number: ")+String(e))}function b(e){var t=e.c.length-1;return g(e.e/14)==t&&e.c[t]%2!=0}function E(e,t){return(e.length>1?e.charAt(0)+"."+e.slice(1):e)+(t<0?"e":"e+")+t}function x(e,t,r){var n,o;if(t<0){for(o=r+".";++t;o+=r);e=o+e}else if(n=e.length,++t>n){for(o=r,t-=n;--t;o+=r);e+=o}else t<n&&(e=e.slice(0,t)+"."+e.slice(t));return e}new(function e(t){var r,n,o,i,s,u,a,c,L,S=R.prototype={constructor:R,toString:null,valueOf:null},O=new R(1),B=20,A=4,T=-7,N=21,P=-1e7,_=1e7,I=!1,k=1,U=0,C={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:"\xa0",suffix:""},D="0123456789abcdefghijklmnopqrstuvwxyz",M=!0;function R(e,t){var r,n,o,i,s,u,a,f,d=this;if(!(d instanceof R))return new R(e,t);if(null==t){if(e&&!0===e._isBigNumber){d.s=e.s,!e.c||e.e>_?d.c=d.e=null:e.e<P?d.c=[d.e=0]:(d.e=e.e,d.c=e.c.slice());return}if((u="number"==typeof e)&&0*e==0){if(d.s=1/e<0?(e=-e,-1):1,e===~~e){for(i=0,s=e;s>=10;s/=10,i++);i>_?d.c=d.e=null:(d.e=i,d.c=[e]);return}f=String(e)}else{if(!l.test(f=String(e)))return L(d,f,u);d.s=45==f.charCodeAt(0)?(f=f.slice(1),-1):1}(i=f.indexOf("."))>-1&&(f=f.replace(".","")),(s=f.search(/e/i))>0?(i<0&&(i=s),i+=+f.slice(s+1),f=f.substring(0,s)):i<0&&(i=f.length)}else{if(m(t,2,D.length,"Base"),10==t&&M)return G(d=new R(e),B+d.e+1,A);
1if(f=String(e),u="number"==typeof e){if(0*e!=0)return L(d,f,u,t);if(d.s=1/e<0?(f=f.slice(1),-1):1,R.DEBUG&&f.replace(/^0\.0*|\./,"").length>15)throw Error(p+e)}else d.s=45===f.charCodeAt(0)?(f=f.slice(1),-1):1;for(r=D.slice(0,t),i=s=0,a=f.length;s<a;s++)if(0>r.indexOf(n=f.charAt(s))){if("."==n){if(s>i){i=a;continue}}else if(!o&&(f==f.toUpperCase()&&(f=f.toLowerCase())||f==f.toLowerCase()&&(f=f.toUpperCase()))){o=!0,s=-1,i=0;continue}return L(d,String(e),u,t)}u=!1,(i=(f=c(f,t,10,d.s)).indexOf("."))>-1?f=f.replace(".",""):i=f.length}for(s=0;48===f.charCodeAt(s);s++);for(a=f.length;48===f.charCodeAt(--a););if(f=f.slice(s,++a)){if(a-=s,u&&R.DEBUG&&a>15&&(e>9007199254740991||e!==h(e)))throw Error(p+d.s*e);if((i=i-s-1)>_)d.c=d.e=null;else if(i<P)d.c=[d.e=0];else{if(d.e=i,d.c=[],s=(i+1)%14,i<0&&(s+=14),s<a){for(s&&d.c.push(+f.slice(0,s)),a-=14;s<a;)d.c.push(+f.slice(s,s+=14));s=14-(f=f.slice(s)).length}else s-=a;for(;s--;f+="0");d.c.push(+f)}}else d.c=[d.e=0]}function j(e,t,r,n){var o,i,s,u,a;if(null==r?r=A:m(r,0,8),!e.c)return e.toString();if(o=e.c[0],s=e.e,null==t)a=w(e.c),a=1==n||2==n&&(s<=T||s>=N)?E(a,s):x(a,s,"0");else if(i=(e=G(new R(e),t,r)).e,u=(a=w(e.c)).length,1==n||2==n&&(t<=i||i<=T)){for(;u<t;a+="0",u++);a=E(a,i)}else if(t-=s+(2===n&&i>s),a=x(a,i,"0"),i+1>u){if(--t>0)for(a+=".";t--;a+="0");}else if((t+=i-u)>0)for(i+1==u&&(a+=".");t--;a+="0");
1return e.s<0&&o?"-"+a:a}function V(e,t){for(var r,n,o=1,i=new R(e[0]);o<e.length;o++)(n=new R(e[o])).s&&(r=v(i,n))!==t&&(0!==r||i.s!==t)||(i=n);return i}function F(e,t,r){for(var n=1,o=t.length;!t[--o];t.pop());for(o=t[0];o>=10;o/=10,n++);return(r=n+14*r-1)>_?e.c=e.e=null:r<P?e.c=[e.e=0]:(e.e=r,e.c=t),e}function G(e,t,r,n){var o,i,s,u,a,c,l,d=e.c;if(d){e:{for(o=1,u=d[0];u>=10;u/=10,o++);if((i=t-o)<0)i+=14,s=t,l=h((a=d[c=0])/y[o-s-1]%10);else if((c=f((i+1)/14))>=d.length){if(n){for(;d.length<=c;d.push(0));a=l=0,o=1,i%=14,s=i-14+1}else break e}else{for(o=1,a=u=d[c];u>=10;u/=10,o++);i%=14,l=(s=i-14+o)<0?0:h(a/y[o-s-1]%10)}if(n=n||t<0||null!=d[c+1]||(s<0?a:a%y[o-s-1]),n=r<4?(l||n)&&(0==r||r==(e.s<0?3:2)):l>5||5==l&&(4==r||n||6==r&&(i>0?s>0?a/y[o-s]:0:d[c-1])%10&1||r==(e.s<0?8:7)),t<1||!d[0])return d.length=0,n?(t-=e.e+1,d[0]=y[(14-t%14)%14],e.e=-t||0):d[0]=e.e=0,e;if(0==i?(d.length=c,u=1,c--):(d.length=c+1,u=y[14-i],d[c]=s>0?h(a/y[o-s]%y[s])*u:0),n)for(;;){if(0==c){for(i=1,s=d[0];s>=10;s/=10,i++);for(s=d[0]+=u,u=1;s>=10;s/=10,u++);i!=u&&(e.e++,1e14==d[0]&&(d[0]=1));break}if(d[c]+=u,1e14!=d[c])break;d[c--]=0,u=1}for(i=d.length;0===d[--i];d.pop());}e.e>_?e.c=e.e=null:e.e<P&&(e.c=[e.e=0])}return e}function q(e){var t,r=e.e;return null===r?e.toString():(t=w(e.c),t=r<=T||r>=N?E(t,r):x(t,r,"0"),e.s<0?"-"+t:t)}return R.clone=e,R.ROUND_UP=0,R.ROUND_DOWN=1,R.ROUND_CEIL=2,R.ROUND_FLOOR=3,R.ROUND_HALF_UP=4,R.ROUND_HALF_DOWN=5,R.ROUND_HALF_EVEN=6,R.ROUND_HALF_CEIL=7,R.ROUND_HALF_FLOOR=8,R.EUCLID=9,R.config=R.set=function(e){var t,r;if(null!=e){if("object"==typeof e){if(e.hasOwnProperty(t="DECIMAL_PLACES")&&(m(r=e[t],0,1e9,t),B=r),e.hasOwnProperty(t="ROUNDING_MODE")&&(m(r=e[t],0,8,t),A=r),e.hasOwnProperty(t="EXPONENTIAL_AT")&&((r=e[t])&&r.pop?(m(r[0],-1e9,0,t),m(r[1],0,1e9,t),T=r[0],N=r[1]):(m(r,-1e9,1e9,t),T=-(N=r<0?-r:r))),e.hasOwnProperty(t="RANGE")){if((r=e[t])&&r.pop)m(r[0],-1e9,-1,t),m(r[1],1,1e9,t),P=r[0],_=r[1];else if(m(r,-1e9,1e9,t),r)P=-(_=r<0?-r:r);else throw Error(d+t+" cannot be zero: "+r)}if(e.hasOwnProperty(t="CRYPTO")){if(!!(r=e[t])===r){if(r){if("undefined"!=typeof crypto&&crypto&&(crypto.getRandomValues||crypto.randomBytes))I=r;else throw I=!r,Error(d+"crypto unavailable")}else I=r}else throw Error(d+t+" not true or false: "+r)}if(e.hasOwnProperty(t="MODULO_MODE")&&(m(r=e[t],0,9,t),k=r),e.hasOwnProperty(t="POW_PRECISION")&&(m(r=e[t],0,1e9,t),U=r),e.hasOwnProperty(t="FORMAT")){if("object"==typeof(r=e[t]))C=r;else throw Error(d+t+" not an object: "+r)}if(e.hasOwnProperty(t="ALPHABET")){if("string"!=typeof(r=e[t])||/^.?$|[+\-.\s]|(.).*\1/.test(r))throw Error(d+t+" invalid: "+r);M="0123456789"==r.slice(0,10),D=r}}else throw Error(d+"Object expected: "+e)}return{DECIMAL_PLACES:B,ROUNDING_MODE:A,EXPONENTIAL_AT:[T,N],RANGE:[P,_],CRYPTO:I,MODULO_MODE:k,POW_PRECISION:U,FORMAT:C,ALPHABET:D}},R.isBigNumber=function(e){if(!e||!0!==e._isBigNumber)return!1;if(!R.DEBUG)return!0;var t,r,n=e.c,o=e.e,i=e.s;e:if("[object Array]"==({}
1).toString.call(n)){if((1===i||-1===i)&&o>=-1e9&&o<=1e9&&o===h(o)){if(0===n[0]){if(0===o&&1===n.length)return!0;break e}if((t=(o+1)%14)<1&&(t+=14),String(n[0]).length==t){for(t=0;t<n.length;t++)if((r=n[t])<0||r>=1e14||r!==h(r))break e;if(0!==r)return!0}}}else if(null===n&&null===o&&(null===i||1===i||-1===i))return!0;throw Error(d+"Invalid BigNumber: "+e)},R.maximum=R.max=function(){return V(arguments,-1)},R.minimum=R.min=function(){return V(arguments,1)},R.random=(r=9007199254740992*Math.random()&2097151?function(){return h(9007199254740992*Math.random())}:function(){return(1073741824*Math.random()|0)*8388608+(8388608*Math.random()|0)},function(e){var t,n,o,i,s,u=0,a=[],c=new R(O);if(null==e?e=B:m(e,0,1e9),i=f(e/14),I){if(crypto.getRandomValues){for(t=crypto.getRandomValues(new Uint32Array(i*=2));u<i;)(s=131072*t[u]+(t[u+1]>>>11))>=9e15?(n=crypto.getRandomValues(new Uint32Array(2)),t[u]=n[0],t[u+1]=n[1]):(a.push(s%1e14),u+=2);u=i/2}else if(crypto.randomBytes){for(t=crypto.randomBytes(i*=7);u<i;)(s=(31&t[u])*281474976710656+1099511627776*t[u+1]+4294967296*t[u+2]+16777216*t[u+3]+(t[u+4]<<16)+(t[u+5]<<8)+t[u+6])>=9e15?crypto.randomBytes(7).copy(t,u):(a.push(s%1e14),u+=7);u=i/7}else throw I=!1,Error(d+"crypto unavailable")}if(!I)for(;u<i;)(s=r())<9e15&&(a[u++]=s%1e14);for(i=a[--u],e%=14,i&&e&&(s=y[14-e],a[u]=h(i/s)*s);0===a[u];a.pop(),u--);if(u<0)a=[o=0];else{for(o=-1;0===a[0];a.splice(0,1),o-=14);for(u=1,s=a[0];s>=10;s/=10,u++);u<14&&(o-=14-u)}return c.e=o,c.c=a,c}),R.sum=function(){for(var e=1,t=arguments,r=new R(t[0]);e<t.length;)r=r.plus(t[e++]);return r},c=function(){var e="0123456789";function t(e,t,r,n){for(var o,i,s=[0],u=0,a=e.length;u<a;){for(i=s.length;i--;s[i]*=t);for(s[0]+=n.indexOf(e.charAt(u++)),o=0;o<s.length;o++)s[o]>r-1&&(null==s[o+1]&&(s[o+1]=0),s[o+1]+=s[o]/r|0,s[o]%=r)}return s.reverse()}return function(r,n,o,i,s){var u,c,l,f,h,d,p,y,g=r.indexOf("."),v=B,m=A;for(g>=0&&(f=U,U=0,r=r.replace(".",""),d=(y=new R(n)).pow(r.length-g),U=f,y.c=t(x(w(d.c),d.e,"0"),10,o,e),y.e=y.c.length),l=f=(p=t(r,n,o,s?(u=D,e):(u=e,D))).length;0==p[--f];p.pop());if(!p[0])return u.charAt(0);if(g<0?--l:(d.c=p,d.e=l,d.s=i,p=(d=a(d,y,v,m,o)).c,h=d.r,l=d.e),g=p[c=l+v+1],f=o/2,h=h||c<0||null!=p[c+1],h=m<4?(null!=g||h)&&(0==m||m==(d.s<0?3:2)):g>f||g==f&&(4==m||h||6==m&&1&p[c-1]||m==(d.s<0?8:7)),c<1||!p[0])r=h?x(u.charAt(1),-v,u.charAt(0)):u.charAt(0);else{if(p.length=c,h)for(--o;++p[--c]>o;)p[c]=0,c||(++l,p=[1].concat(p));for(f=p.length;!p[--f];);for(g=0,r="";g<=f;r+=u.charAt(p[g++]));r=x(r,l,u.charAt(0))}return r}}(),a=function(){function e(e,t,r){var n,o,i,s,u=0,a=e.length,c=t%1e7,l=t/1e7|0;for(e=e.slice();a--;)n=l*(i=e[a]%1e7)+(s=e[a]/1e7|0)*c,u=((o=c*i+n%1e7*1e7+u)/r|0)+(n/1e7|0)+l*s,e[a]=o%r;return u&&(e=[u].concat(e)),e}function t(e,t,r,n){var o,i;if(r!=n)i=r>n?1:-1;else for(o=i=0;o<r;o++)if(e[o]!=t[o]){i=e[o]>t[o]?1:-1;break}return i}function r(e,t,r,n){for(var o=0;r--;)e[r]-=o,o=e[r]<t[r]?1:0,e[r]=o*n+e[r]-t[r];for(;!e[0]&&e.length>1;e.splice(0,1));}return function(n,o,i,s,u){var a,c,l,f,d,p,y,w,v,m,b,E,x,L,S,O,B,A=n.s==o.s?1:-1,T=n.c,N=o.c;if(!T||!T[0]||!N||!N[0])return new R(n.s&&o.s&&(T?!N||T[0]!=N[0]:N)?T&&0==T[0]||!N?0*A:A/0:NaN);for(v=(w=new R(A)).c=[],A=i+(c=n.e-o.e)+1,u||(u=1e14,c=g(n.e/14)-g(o.e/14),A=A/14|0),l=0;N[l]==(T[l]||0);l++);if(N[l]>(T[l]||0)&&c--,A<0)v.push(1),f=!0;else{for(L=T.length,O=N.length,l=0,A+=2,(d=h(u/(N[0]+1)))>1&&(N=e(N,d,u),T=e(T,d,u),O=N.length,L=T.length),x=O,b=(m=T.slice(0,O)).length;b<O;m[b++]=0);B=[0].concat(B=N.slice()),S=N[0],N[1]>=u/2&&S++;do{if(d=0,(a=t(N,m,O,b))<0){if(E=m[0],O!=b&&(E=E*u+(m[1]||0)),(d=h(E/S))>1)for(d>=u&&(d=u-1),y=(p=e(N,d,u)).length,b=m.length;1==t(p,m,y,b);)d--,r(p,O<y?B:N,y,u),y=p.length,a=1;else 0==d&&(a=d=1),y=(p=N.slice()).length;if(y<b&&(p=[0].concat(p)),r(m,p,b,u),b=m.length,-1==a)for(;1>t(N,m,O,b);)d++,r(m,O<b?B:N,b,u),b=m.length}else 0===a&&(d++,m=[0]);v[l++]=d,m[0]?m[b++]=T[x]||0:(m=[T[x]],b=1)}while((x++<L||null!=m[0])&&A--);f=null!=m[0],v[0]||v.splice(0,1)}if(1e14==u){for(l=1,A=v[0];A>=10;A/=10,l++);G(w,i+(w.e=l+14*c-1)+1,s,f)}else w.e=c,w.r=+f;return w}}(),n=/^(-?)0([xbo])(?=\w[\w.]*$)/i,o=/^([^.]+)\.$/,i=/^\.([^.]+)$/,s=/^-?(Infinity|NaN)$/,u=/^\s*\+(?=[\w.])|^\s+|\s+$/g,L=function(e,t,r,a){var c,l=r?t:t.replace(u,"");if(s.test(l))e.s=isNaN(l)?null:l<0?-1:1;else{if(!r&&(l=l.replace(n,function(e,t,r){return c="x"==(r=r.toLowerCase())?16:"b"==r?2:8,a&&a!=c?e:t}),a&&(c=a,l=l.replace(o,"$1").replace(i,"0.$1")),t!=l))return new R(l,c);if(R.DEBUG)throw Error(d+"Not a"+(a?" base "+a:"")+" number: "+t);e.s=null}e.c=e.e=null},S.absoluteValue=S.abs=function(){var e=new R(this);return e.s<0&&(e.s=1),e},S.comparedTo=function(e,t){return v(this,new R(e,t))},S.decimalPlaces=S.dp=function(e,t){var r,n,o;if(null!=e)return m(e,0,1e9),null==t?t=A:m(t,0,8),G(new R(this),e+this.e+1,t);if(!(r=this.c))return null;if(n=((o=r.length-1)-g(this.e/14))*14,o=r[o])for(;o%10==0;o/=10,n--);return n<0&&(n=0),n},S.dividedBy=S.div=function(e,t){return a(this,new R(e,t),B,A)},S.dividedToIntegerBy=S.idiv=function(e,t){return a(this,new R(e,t),0,1)},S.exponentiatedBy=S.pow=function(e,t){var r,n,o,i,s,u,a,c,l,p=this;
1if((e=new R(e)).c&&!e.isInteger())throw Error(d+"Exponent not an integer: "+q(e));if(null!=t&&(t=new R(t)),u=e.e>14,!p.c||!p.c[0]||1==p.c[0]&&!p.e&&1==p.c.length||!e.c||!e.c[0])return l=new R(Math.pow(+q(p),u?e.s*(2-b(e)):+q(e))),t?l.mod(t):l;if(a=e.s<0,t){if(t.c?!t.c[0]:!t.s)return new R(NaN);(n=!a&&p.isInteger()&&t.isInteger())&&(p=p.mod(t))}else{if(e.e>9&&(p.e>0||p.e<-1||(0==p.e?p.c[0]>1||u&&p.c[1]>=24e7:p.c[0]<8e13||u&&p.c[0]<=9999975e7)))return i=p.s<0&&b(e)?-0:0,p.e>-1&&(i=1/i),new R(a?1/i:i);U&&(i=f(U/14+2))}for(u?(r=new R(.5),a&&(e.s=1),c=b(e)):c=(o=Math.abs(+q(e)))%2,l=new R(O);;){if(c){if(!(l=l.times(p)).c)break;i?l.c.length>i&&(l.c.length=i):n&&(l=l.mod(t))}if(o){if(0===(o=h(o/2)))break;c=o%2}else if(G(e=e.times(r),e.e+1,1),e.e>14)c=b(e);else{if(0==(o=+q(e)))break;c=o%2}p=p.times(p),i?p.c&&p.c.length>i&&(p.c.length=i):n&&(p=p.mod(t))}return n?l:(a&&(l=O.div(l)),t?l.mod(t):i?G(l,U,A,s):l)},S.integerValue=function(e){var t=new R(this);return null==e?e=A:m(e,0,8),G(t,t.e+1,e)},S.isEqualTo=S.eq=function(e,t){return 0===v(this,new R(e,t))},S.isFinite=function(){return!!this.c},S.isGreaterThan=S.gt=function(e,t){return v(this,new R(e,t))>0},S.isGreaterThanOrEqualTo=S.gte=function(e,t){return 1===(t=v(this,new R(e,t)))||0===t},S.isInteger=function(){return!!this.c&&g(this.e/14)>this.c.length-2},S.isLessThan=S.lt=function(e,t){return 0>v(this,new R(e,t))},S.isLessThanOrEqualTo=S.lte=function(e,t){return -1===(t=v(this,new R(e,t)))||0===t},S.isNaN=function(){return!this.s},S.isNegative=function(){return this.s<0},S.isPositive=function(){return this.s>0},S.isZero=function(){return!!this.c&&0==this.c[0]},S.minus=function(e,t){var r,n,o,i,s=this.s;if(t=(e=new R(e,t)).s,!s||!t)return new R(NaN);if(s!=t)return e.s=-t,this.plus(e);var u=this.e/14,a=e.e/14,c=this.c,l=e.c;if(!u||!a){if(!c||!l)return c?(e.s=-t,e):new R(l?this:NaN);if(!c[0]||!l[0])return l[0]?(e.s=-t,e):new R(c[0]?this:3==A?-0:0)}if(u=g(u),a=g(a),c=c.slice(),s=u-a){for((i=s<0)?(s=-s,o=c):(a=u,o=l),o.reverse(),t=s;t--;o.push(0));o.reverse()}else for(n=(i=(s=c.length)<(t=l.length))?s:t,s=t=0;t<n;t++)if(c[t]!=l[t]){i=c[t]<l[t];break}if(i&&(o=c,c=l,l=o,e.s=-e.s),(t=(n=l.length)-(r=c.length))>0)for(;t--;c[r++]=0);for(t=1e14-1;n>s;){if(c[--n]<l[n]){for(r=n;r&&!c[--r];c[r]=t);--c[r],c[n]+=1e14}c[n]-=l[n]}for(;0==c[0];c.splice(0,1),--a);return c[0]?F(e,c,a):(e.s=3==A?-1:1,e.c=[e.e=0],e)},S.modulo=S.mod=function(e,t){var r,n;return(e=new R(e,t),this.c&&e.s&&(!e.c||e.c[0]))?e.c&&(!this.c||this.c[0])?(9==k?(n=e.s,e.s=1,r=a(this,e,0,3),e.s=n,r.s*=n):r=a(this,e,0,k),(e=this.minus(r.times(e))).c[0]||1!=k||(e.s=this.s),e):new R(this):new R(NaN)},S.multipliedBy=S.times=function(e,t){var r,n,o,i,s,u,a,c,l,f,h,d,p,y=this.c,w=(e=new R(e,t)).c;if(!y||!w||!y[0]||!w[0])return this.s&&e.s&&(!y||y[0]||w)&&(!w||w[0]||y)?(e.s*=this.s,y&&w?(e.c=[0],e.e=0):e.c=e.e=null):e.c=e.e=e.s=null,e;for(n=g(this.e/14)+g(e.e/14),e.s*=this.s,(a=y.length)<(f=w.length)&&(p=y,y=w,w=p,o=a,a=f,f=o),o=a+f,p=[];o--;p.push(0));for(o=f;--o>=0;){for(r=0,h=w[o]%1e7,d=w[o]/1e7|0,i=o+(s=a);i>o;)u=d*(c=y[--s]%1e7)+(l=y[s]/1e7|0)*h,r=((c=h*c+u%1e7*1e7+p[i]+r)/1e14|0)+(u/1e7|0)+d*l,p[i--]=c%1e14;p[i]=r}return r?++n:p.splice(0,1),F(e,p,n)},S.negated=function(){var e=new R(this);return e.s=-e.s||null,e},S.plus=function(e,t){var r,n=this.s;if(t=(e=new R(e,t)).s,!n||!t)return new R(NaN);if(n!=t)return e.s=-t,this.minus(e);var o=this.e/14,i=e.e/14,s=this.c,u=e.c;if(!o||!i){if(!s||!u)return new R(n/0);if(!s[0]||!u[0])return u[0]?e:new R(s[0]?this:0*n)}if(o=g(o),i=g(i),s=s.slice(),n=o-i){for(n>0?(i=o,r=u):(n=-n,r=s),r.reverse();n--;r.push(0));r.reverse()}for((n=s.length)-(t=u.length)<0&&(r=u,u=s,s=r,t=n),n=0;t;)n=(s[--t]=s[t]+u[t]+n)/1e14|0,s[t]=1e14===s[t]?0:s[t]%1e14;return n&&(s=[n].concat(s),++i),F(e,s,i)},S.precision=S.sd=function(e,t){var r,n,o;if(null!=e&&!!e!==e)return m(e,1,1e9),null==t?t=A:m(t,0,8),G(new R(this),e,t);if(!(r=this.c))return null;if(n=14*(o=r.length-1)+1,o=r[o]){for(;o%10==0;o/=10,n--);for(o=r[0];o>=10;o/=10,n++);}return e&&this.e+1>n&&(n=this.e+1),n},S.shiftedBy=function(e){return m(e,-9007199254740991,9007199254740991),this.times("1e"+e)},S.squareRoot=S.sqrt=function(){var e,t,r,n,o,i=this.c,s=this.s,u=this.e,c=B+4,l=ne
1w R("0.5");if(1!==s||!i||!i[0])return new R(!s||s<0&&(!i||i[0])?NaN:i?this:1/0);if(0==(s=Math.sqrt(+q(this)))||s==1/0?(((t=w(i)).length+u)%2==0&&(t+="0"),s=Math.sqrt(+t),u=g((u+1)/2)-(u<0||u%2),r=new R(t=s==1/0?"5e"+u:(t=s.toExponential()).slice(0,t.indexOf("e")+1)+u)):r=new R(s+""),r.c[0]){for((s=(u=r.e)+c)<3&&(s=0);;)if(o=r,r=l.times(o.plus(a(this,o,c,1))),w(o.c).slice(0,s)===(t=w(r.c)).slice(0,s)){if(r.e<u&&--s,"9999"!=(t=t.slice(s-3,s+1))&&(n||"4999"!=t)){+t&&(+t.slice(1)||"5"!=t.charAt(0))||(G(r,r.e+B+2,1),e=!r.times(r).eq(this));break}if(!n&&(G(o,o.e+B+2,0),o.times(o).eq(this))){r=o;break}c+=4,s+=4,n=1}}return G(r,r.e+B+1,A,e)},S.toExponential=function(e,t){return null!=e&&(m(e,0,1e9),e++),j(this,e,t,1)},S.toFixed=function(e,t){return null!=e&&(m(e,0,1e9),e=e+this.e+1),j(this,e,t)},S.toFormat=function(e,t,r){var n;if(null==r)null!=e&&t&&"object"==typeof t?(r=t,t=null):e&&"object"==typeof e?(r=e,e=t=null):r=C;else if("object"!=typeof r)throw Error(d+"Argument not an object: "+r);if(n=this.toFixed(e,t),this.c){var o,i=n.split("."),s=+r.groupSize,u=+r.secondaryGroupSize,a=r.groupSeparator||"",c=i[0],l=i[1],f=this.s<0,h=f?c.slice(1):c,p=h.length;if(u&&(o=s,s=u,u=o,p-=o),s>0&&p>0){for(o=p%s||s,c=h.substr(0,o);o<p;o+=s)c+=a+h.substr(o,s);u>0&&(c+=a+h.slice(o)),f&&(c="-"+c)}n=l?c+(r.decimalSeparator||"")+((u=+r.fractionGroupSize)?l.replace(RegExp("\\d{"+u+"}\\B","g"),"$&"+(r.fractionGroupSeparator||"")):l):c}return(r.prefix||"")+n+(r.suffix||"")},S.toFraction=function(e){var t,r,n,o,i,s,u,c,l,f,h,p,g=this.c;if(null!=e&&(!(u=new R(e)).isInteger()&&(u.c||1!==u.s)||u.lt(O)))throw Error(d+"Argument "+(u.isInteger()?"out of range: ":"not an integer: ")+q(u));if(!g)return new R(this);for(t=new R(O),l=r=new R(O),n=c=new R(O),p=w(g),i=t.e=p.length-this.e-1,t.c[0]=y[(s=i%14)<0?14+s:s],e=!e||u.comparedTo(t)>0?i>0?t:l:u,s=_,_=1/0,u=new R(p),c.c[0]=0;f=a(u,t,0,1),1!=(o=r.plus(f.times(n))).comparedTo(e);)r=n,n=o,l=c.plus(f.times(o=l)),c=o,t=u.minus(f.times(o=t)),u=o;return o=a(e.minus(r),n,0,1),c=c.plus(o.times(l)),r=r.plus(o.times(n)),c.s=l.s=this.s,i*=2,h=1>a(l,n,i,A).minus(this).abs().comparedTo(a(c,r,i,A).minus(this).abs())?[l,n]:[c,r],_=s,h},S.toNumber=function(){return+q(this)},S.toPrecision=function(e,t){return null!=e&&m(e,1,1e9),j(this,e,t,2)},S.toString=function(e){var t,r=this,n=r.s,o=r.e;return null===o?n?(t="Infinity",n<0&&(t="-"+t)):t="NaN":(null==e?t=o<=T||o>=N?E(w(r.c),o):x(w(r.c),o,"0"):10===e&&M?t=x(w((r=G(new R(r),B+o+1,A)).c),r.e,"0"):(m(e,2,D.length,"Base"),t=c(x(w(r.c),o,"0"),10,e,n,!0)),n<0&&r.c[0]&&(t="-"+t)),t},S.valueOf=S.toJSON=function(){return q(this)},S._isBigNumber=!0,S[Symbol.toStringTag]="BigNumber",S[Symbol.for("nodejs.util.inspect.custom")]=S.valueOf,null!=t&&R.set(t),R}())("1e+18");var L=r(4024);let S=e=>{let t=(0,n.Ik)(32,e),{encode:r,decode:o}=i(t);return t.decode=(e,t)=>{let r=o(e,t);return new L.PublicKey(r)},t.encode=(e,t,n)=>r(e.toBuffer(),t,n),t},O=new L.PublicKey("TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA");new L.PublicKey("TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb");let B=new L.PublicKey("ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL");new L.PublicKey("So11111111111111111111111111111111111111112"),new L.PublicKey("9pan9bMn5HatX4EJdBwg9VgCa7Uz5HL8N1m5D3NdXejP");class A extends Error{constructor(e){super(e)}}class T extends A{constructor(){super(...arguments),this.name="TokenOwnerOffCurveError"}}async function N(e,t,r=!1,n=O,o=B){if(!r&&!L.PublicKey.isOnCurve(t.toBuffer()))throw new T;let[i]=await L.PublicKey.findProgramAddress([t.toBuffer(),n.toBuffer(),e.toBuffer()],o);return i}r(2957).Buffer,(0,n.n_)([(0,n.Jq)("mintAuthorityOption"),S("mintAuthority"),c("supply"),(0,n.u8)("decimals"),(e=>{let t=(0,n.u8)(e),{encode:r,decode:o}=i(t);return t.decode=(e,t)=>!!o(e,t),t.encode=(e,t,n)=>r(Number(e),t,n),t})("isInitialized"),(0,n.Jq)("freezeAuthorityOption"),S("freezeAuthority")]).span},2941:function(e,t,r){"use strict";r.d(t,{g:function(){return s},h:function(){return u}});var n=r(2265);let o={setVisible(e){console.error(i("call","setVisible"))},visible:!1};function i(e,t){return`You have tried to  ${e} "${t}" on a WalletModalContext without providing one. Make sure to render a WalletModalProvider as an ancestor of the component that uses WalletModalContext`}Object.defineProperty(o,"visible",{get:()=>(console.error(i("read","visible")),!1)});let s=(0,n.createContext)(o);function u(){return(0,n.useContext)(s)}},6832:function(e,t,r){"use strict";r.d(t,{z:function(){return i}});var n=r(2265),o=r(5408);function i(){let{publicKey:e,signTransaction:t,signAllTransactions:r}=(0,o.O)();return(0,n.useMemo)(()=>e&&t&&r?{publicKey:e,signTransaction:t,signAllTransactions:r}:void 0,[e,t,r])}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.