PageSourceSearch

https://rarible.com/_next/static/chunks/271a1bf14dbc6c49.js

js rarible.com collected 2026-10-09 22:59:52 UTC 42,497 bytes, 3 lines download raw bytes

1(globalThis.TURBOPACK=globalThis.TURBOPACK||[]).push(["object"==typeof document?document.currentScript:void 0,{404149:e=>{"use strict";e.s({sha256:()=>r});var t=e.i(172322);t.SHA256;let r=t.sha256;t.SHA224,t.sha224},156677:e=>{"use strict";e.s({add:()=>x,add3H:()=>m,add3L:()=>g,add4H:()=>A,add4L:()=>v,add5H:()=>S,add5L:()=>w,fromBig:()=>n,rotlBH:()=>b,rotlBL:()=>y,rotlSH:()=>d,rotlSL:()=>p,rotr32H:()=>f,rotr32L:()=>h,rotrBH:()=>l,rotrBL:()=>u,rotrSH:()=>o,rotrSL:()=>c,shrSH:()=>a,shrSL:()=>s,split:()=>i});let t=BigInt(0x100000000-1),r=BigInt(32);function n(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return n?{h:Number(e&t),l:Number(e>>r&t)}:{h:0|Number(e>>r&t),l:0|Number(e&t)}}function i(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=e.length,i=new Uint32Array(r),a=new Uint32Array(r);for(let s=0;s<r;s++){let{h:r,l:o}=n(e[s],t);[i[s],a[s]]=[r,o]}return[i,a]}let a=(e,t,r)=>e>>>r,s=(e,t,r)=>e<<32-r|t>>>r,o=(e,t,r)=>e>>>r|t<<32-r,c=(e,t,r)=>e<<32-r|t>>>r,l=(e,t,r)=>e<<64-r|t>>>r-32,u=(e,t,r)=>e>>>r-32|t<<64-r,f=(e,t)=>t,h=(e,t)=>e,d=(e,t,r)=>e<<r|t>>>32-r,p=(e,t,r)=>t<<r|e>>>32-r,b=(e,t,r)=>t<<r-32|e>>>64-r,y=(e,t,r)=>e<<r-32|t>>>64-r;function x(e,t,r,n){let i=(t>>>0)+(n>>>0);return{h:e+r+(i/0x100000000|0)|0,l:0|i}}let g=(e,t,r)=>(e>>>0)+(t>>>0)+(r>>>0),m=(e,t,r,n)=>t+r+n+(e/0x100000000|0)|0,v=(e,t,r,n)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0),A=(e,t,r,n,i)=>t+r+n+i+(e/0x100000000|0)|0,w=(e,t,r,n,i)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0)+(i>>>0),S=(e,t,r,n,i,a)=>t+r+n+i+a+(e/0x100000000|0)|0},458365:e=>{"use strict";e.s({Hash:()=>_,abytes:()=>i,aexists:()=>s,ahash:()=>a,anumber:()=>n,aoutput:()=>o,bytesToHex:()=>m,bytesToUtf8:()=>I,clean:()=>l,concatBytes:()=>H,createHasher:()=>B,createOptHasher:()=>U,createView:()=>u,createXOFer:()=>M,hexToBytes:()=>w,isBytes:()=>r,randomBytes:()=>P,rotl:()=>h,rotr:()=>f,swap32IfBE:()=>y,swap8IfBE:()=>b,toBytes:()=>E,u32:()=>c,utf8ToBytes:()=>S},458365);let t="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0;function r(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&"Uint8Array"===e.constructor.name}function n(e){if(!Number.isSafeInteger(e)||e<0)throw Error("positive integer expected, got "+e)}function i(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];if(!r(e))throw Error("Uint8Array expected");if(n.length>0&&!n.includes(e.length))throw Error("Uint8Array expected of length "+n+", got length="+e.length)}function a(e){if("function"!=typeof e||"function"!=typeof e.create)throw Error("Hash should be wrapped by utils.createHasher");n(e.outputLen),n(e.blockLen)}function s(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];if(e.destroyed)throw Error("Hash instance has been destroyed");if(t&&e.finished)throw Error("Hash#digest() has already been called")}function o(e,t){i(e);let r=t.outputLen;if(e.length<r)throw Error("digestInto() expects output buffer of length at least "+r)}function c(e){return new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4))}function l(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];for(let e=0;e<t.length;e++)t[e].fill(0)}function u(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function f(e,t){return e<<32-t|e>>>t}function h(e,t){return e<<t|e>>>32-t>>>0}let d=68===new Uint8Array(new Uint32Array([0x11223344]).buffer)[0];function p(e){return e<<24&0xff000000|e<<8&0xff0000|e>>>8&65280|e>>>24&255}let b=d?e=>e:e=>p(e),y=d?e=>e:function(e){for(let t=0;t<e.length;t++)e[t]=p(e[t]);return e},x="function"==typeof Uint8Array.from([]).toHex&&"function"==typeof Uint8Array.fromHex,g=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function m(e){if(i(e),x)return e.toHex();let t="";for(let r=0;r<e.length;r++)t+=g[e[r]];return t}let v={_0:48,_9:57,A:65,F:70,a:97,f:102};function A(e){return e>=v._0&&e<=v._9?e-v._0:e>=v.A&&e<=v.F?e-(v.A-10):e>=v.a&&e<=v.f?e-(v.a-10):void 0}function w(e){if("string"!=typeof e)throw Error("hex string expected, got "+typeof e);if(x)return Uint8Array.fromHex(e);let t=e.length,r=t/2;if(t%2)throw Error("hex string expected, got unpadded hex of length "+t);let n=new Uint8Array(r);for(let t=0,i=0;t<r;t++,i+=2){let r=A(e.charCodeAt(i)),a=A(e.charCodeAt(i+1));if(void 0===r||void 0===a)throw Error('hex string expected, got non-hex character "'+(e[i]+e[i+1])+'" at index '+i);n[t]=16*r+a}return n}function S(e){if("string"!=typeof e)throw Error("string expected");return new Uint8Array(new TextEncoder().encode(e))}function I(e){return new TextDecoder().decode(e)}function E(e){return"string"==typeof e&&(e=S(e)),i(e),e}function H(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let n=0;for(let e=0;e<t.length;e++){let r=t[e];i(r),n+=r.length}let a=new Uint8Array(n);for(let e=0,r=0;e<t.length;e++){let n=t[e];a.set(n,r),r+=n.length}return a}class _{}function B(e){let t=t=>e().update(E(t)).digest(),r=e();return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=()=>e(),t}function U(e){let t=(t,r)=>e(r).update(E(t)).digest(),r=e({});return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=t=>e(t),t}function M(e){let t=(t,r)=>e(r).update(E(t)).digest(),r=e({});return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=t=>e(t),t}function P(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32;if(t&&"function"==typeof t.getRandomValues)return t.getRandomValues(new Uint8Array(e));if(t&&"function"==typeof t.randomBytes)return Uint8Array.from(t.randomBytes(e));throw Error("crypto.getRandomValues must be defined")}},627582:e=>{"use strict";e.s({keccak_256:()=>g});var t=e.i(156677),r=e.i(458365);let n=BigInt(0),i=BigInt(1),a=BigInt(2),s=BigInt(7),o=BigInt(256),c=BigInt(113),l=[],u=[],f=[];for(let e=0,t=i,r=1,h=0;e<24;e++){[r,h]=[h,(2*r+3*h)%5],l.push(2*(5*h+r)),u.push((e+1)*(e+2)/2%64);let d=n;for(let e=0;e<7;e++)(t=(t<<i^(t>>s)*c)%o)&a&&(d^=i<<(i<<BigInt(e))-i);f.push(d)}let h=(0,t.split)(f,!0),d=h[0],p=h[1],b=(e,r,n)=>n>
vendor: 4,585 bytes, line 1
132?(0,t.rotlBH)(e,r,n):(0,t.rotlSH)(e,r,n),y=(e,r,n)=>n>32?(0,t.rotlBL)(e,r,n):(0,t.rotlSL)(e,r,n);class x extends r.Hash{clone(){return this._cloneInto()}keccak(){(0,r.swap32IfBE)(this.state32),function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:24,n=new Uint32Array(10);for(let r=24-t;r<24;r++){for(let t=0;t<10;t++)n[t]=e[t]^e[t+10]^e[t+20]^e[t+30]^e[t+40];for(let t=0;t<10;t+=2){let r=(t+8)%10,i=(t+2)%10,a=n[i],s=n[i+1],o=b(a,s,1)^n[r],c=y(a,s,1)^n[r+1];for(let r=0;r<50;r+=10)e[t+r]^=o,e[t+r+1]^=c}let t=e[2],i=e[3];for(let r=0;r<24;r++){let n=u[r],a=b(t,i,n),s=y(t,i,n),o=l[r];t=e[o],i=e[o+1],e[o]=a,e[o+1]=s}for(let t=0;t<50;t+=10){for(let r=0;r<10;r++)n[r]=e[t+r];for(let r=0;r<10;r++)e[t+r]^=~n[(r+2)%10]&n[(r+4)%10]}e[0]^=d[r],e[1]^=p[r]}(0,r.clean)(n)}(this.state32,this.rounds),(0,r.swap32IfBE)(this.state32),this.posOut=0,this.pos=0}update(e){(0,r.aexists)(this),e=(0,r.toBytes)(e),(0,r.abytes)(e);let{blockLen:t,state:n}=this,i=e.length;for(let r=0;r<i;){let a=Math.min(t-this.pos,i-r);for(let t=0;t<a;t++)n[this.pos++]^=e[r++];this.pos===t&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;let{state:e,suffix:t,pos:r,blockLen:n}=this;e[r]^=t,(128&t)!=0&&r===n-1&&this.keccak(),e[n-1]^=128,this.keccak()}writeInto(e){(0,r.aexists)(this,!1),(0,r.abytes)(e),this.finish();let t=this.state,{blockLen:n}=this;for(let r=0,i=e.length;r<i;){this.posOut>=n&&this.keccak();let a=Math.min(n-this.posOut,i-r);e.set(t.subarray(this.posOut,this.posOut+a),r),this.posOut+=a,r+=a}return e}xofInto(e){if(!this.enableXOF)throw Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return(0,r.anumber)(e),this.xofInto(new Uint8Array(e))}digestInto(e){if((0,r.aoutput)(e,this),this.finished)throw Error("digest() was already called");return this.writeInto(e),this.destroy(),e}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,(0,r.clean)(this.state)}_cloneInto(e){let{blockLen:t,suffix:r,outputLen:n,rounds:i,enableXOF:a}=this;return e||(e=new x(t,r,n,a,i)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=i,e.suffix=r,e.outputLen=n,e.enableXOF=a,e.destroyed=this.destroyed,e}constructor(e,t,n,i=!1,a=24){if(super(),this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,this.enableXOF=!1,this.blockLen=e,this.suffix=t,this.outputLen=n,this.enableXOF=i,this.rounds=a,(0,r.anumber)(n),!(0<e&&e<200))throw Error("only keccak-f1600 function is supported");this.state=new Uint8Array(200),this.state32=(0,r.u32)(this.state)}}let g=(()=>(0,r.createHasher)(()=>new x(136,1,32)))()},144749:e=>{"use strict";e.s({Chi:()=>r,HashMD:()=>i,Maj:()=>n,SHA224_IV:()=>s,SHA256_IV:()=>a,SHA384_IV:()=>o,SHA512_IV:()=>c});var t=e.i(458365);function r(e,t,r){return e&t^~e&r}function n(e,t,r){return e&t^e&r^t&r}class i extends t.Hash{update(e){(0,t.aexists)(this),e=(0,t.toBytes)(e),(0,t.abytes)(e);let{view:r,buffer:n,blockLen:i}=this,a=e.length;for(let s=0;s<a;){let o=Math.min(i-this.pos,a-s);if(o===i){let r=(0,t.createView)(e);for(;i<=a-s;s+=i)this.process(r,s);continue}n.set(e.subarray(s,s+o),this.pos),this.pos+=o,s+=o,this.pos===i&&(this.process(r,0),this.pos=0)}return this.length+=e.length,this.roundClean(),this}digestInto(e){(0,t.aexists)(this),(0,t.aoutput)(e,this),this.finished=!0;let{buffer:r,view:n,blockLen:i,isLE:a}=this,{pos:s}=this;r[s++]=128,(0,t.clean)(this.buffer.subarray(s)),this.padOffset>i-s&&(this.process(n,0),s=0);for(let e=s;e<i;e++)r[e]=0;!function(e,t,r,n){if("function"==typeof e.setBigUint64)return e.setBigUint64(t,r,n);let i=BigInt(32),a=BigInt(0xffffffff),s=Number(r>>i&a),o=Number(r&a),c=4*!!n,l=4*!n;e.setUint32(t+c,s,n),e.setUint32(t+l,o,n)}(n,i-8,BigInt(8*this.length),a),this.process(n,0);let o=(0,t.createView)(e),c=this.outputLen;if(c%4)throw Error("_sha2: outputLen should be aligned to 32bit");let l=c/4,u=this.get();if(l>u.length)throw Error("_sha2: outputLen bigger than state");for(let e=0;e<l;e++)o.setUint32(4*e,u[e],a)}digest(){let{buffer:e,outputLen:t}=this;this.digestInto(e);let r=e.slice(0,t);return this.destroy(),r}_cloneInto(e){e||(e=new this.constructor),e.set(...this.get());let{blockLen:t,buffer:r,length:n,finished:i,destroyed:a,pos:s}=this;return e.destroyed=a,e.finished=i,e.length=n,e.pos=s,n%t&&e.buffer.set(r),e}clone(){return this._cloneInto()}constructor(e,r,n,i){super(),this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.blockLen=e,this.outputLen=r,this.padOffset=n,this.isLE=i,this.buffer=new Uint8Array(e),this.view=(0,t.createView)(this.buffer)}}
1let a=Uint32Array.from([0x6a09e667,0xbb67ae85,0x3c6ef372,0xa54ff53a,0x510e527f,0x9b05688c,0x1f83d9ab,0x5be0cd19]),s=Uint32Array.from([0xc1059ed8,0x367cd507,0x3070dd17,0xf70e5939,0xffc00b31,0x68581511,0x64f98fa7,0xbefa4fa4]),o=Uint32Array.from([0xcbbb9d5d,0xc1059ed8,0x629a292a,0x367cd507,0x9159015a,0x3070dd17,0x152fecd8,0xf70e5939,0x67332667,0xffc00b31,0x8eb44a87,0x68581511,0xdb0c2e0d,0x64f98fa7,0x47b5481d,0xbefa4fa4]),c=Uint32Array.from([0x6a09e667,0xf3bcc908,0xbb67ae85,0x84caa73b,0x3c6ef372,0xfe94f82b,0xa54ff53a,0x5f1d36f1,0x510e527f,0xade682d1,0x9b05688c,0x2b3e6c1f,0x1f83d9ab,0xfb41bd6b,0x5be0cd19,0x137e2179])},172322:e=>{"use strict";e.s({SHA224:()=>o,SHA256:()=>s,sha224:()=>y,sha256:()=>b,sha384:()=>g,sha512:()=>x});var t=e.i(144749),r=e.i(156677),n=e.i(458365);let i=Uint32Array.from([0x428a2f98,0x71374491,0xb5c0fbcf,0xe9b5dba5,0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5,0xd807aa98,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf174,0xe49b69c1,0xefbe4786,0xfc19dc6,0x240ca1cc,0x2de92c6f,0x4a7484aa,0x5cb0a9dc,0x76f988da,0x983e5152,0xa831c66d,0xb00327c8,0xbf597fc7,0xc6e00bf3,0xd5a79147,0x6ca6351,0x14292967,0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13,0x650a7354,0x766a0abb,0x81c2c92e,0x92722c85,0xa2bfe8a1,0xa81a664b,0xc24b8b70,0xc76c51a3,0xd192e819,0xd6990624,0xf40e3585,0x106aa070,0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5,0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3,0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208,0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2]),a=new Uint32Array(64);class s extends t.HashMD{get(){let{A:e,B:t,C:r,D:n,E:i,F:a,G:s,H:o}=this;return[e,t,r,n,i,a,s,o]}set(e,t,r,n,i,a,s,o){this.A=0|e,this.B=0|t,this.C=0|r,this.D=0|n,this.E=0|i,this.F=0|a,this.G=0|s,this.H=0|o}process(e,r){for(let t=0;t<16;t++,r+=4)a[t]=e.getUint32(r,!1);for(let e=16;e<64;e++){let t=a[e-15],r=a[e-2],i=(0,n.rotr)(t,7)^(0,n.rotr)(t,18)^t>>>3,s=(0,n.rotr)(r,17)^(0,n.rotr)(r,19)^r>>>10;a[e]=s+a[e-7]+i+a[e-16]|0}let{A:s,B:o,C:c,D:l,E:u,F:f,G:h,H:d}=this;for(let e=0;e<64;e++){let r=d+((0,n.rotr)(u,6)^(0,n.rotr)(u,11)^(0,n.rotr)(u,25))+(0,t.Chi)(u,f,h)+i[e]+a[e]|0,p=((0,n.rotr)(s,2)^(0,n.rotr)(s,13)^(0,n.rotr)(s,22))+(0,t.Maj)(s,o,c)|0;d=h,h=f,f=u,u=l+r|0,l=c,c=o,o=s,s=r+p|0}s=s+this.A|0,o=o+this.B|0,c=c+this.C|0,l=l+this.D|0,u=u+this.E|0,f=f+this.F|0,h=h+this.G|0,d=d+this.H|0,this.set(s,o,c,l,u,f,h,d)}roundClean(){(0,n.clean)(a)}destroy(){this.set(0,0,0,0,0,0,0,0),(0,n.clean)(this.buffer)}constructor(e=32){super(64,e,8,!1),this.A=0|t.SHA256_IV[0],this.B=0|t.SHA256_IV[1],this.C=0|t.SHA256_IV[2],this.D=0|t.SHA256_IV[3],this.E=0|t.SHA256_IV[4],this.F=0|t.SHA256_IV[5],this.G=0|t.SHA256_IV[6],this.H=0|t.SHA256_IV[7]}}class o extends s{constructor(){super(28),this.A=0|t.SHA224_IV[0],this.B=0|t.SHA224_IV[1],this.C=0|t.SHA224_IV[2],this.D=0|t.SHA224_IV[3],this.E=0|t.SHA224_IV[4],this.F=0|t.SHA224_IV[5],this.G=0|t.SHA224_IV[6],this.H=0|t.SHA224_IV[7]}}let c=r.split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e3585
15771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(e=>BigInt(e))),l=c[0],u=c[1],f=new Uint32Array(80),h=new Uint32Array(80);class d extends t.HashMD{get(){let{Ah:e,Al:t,Bh:r,Bl:n,Ch:i,Cl:a,Dh:s,Dl:o,Eh:c,El:l,Fh:u,Fl:f,Gh:h,Gl:d,Hh:p,Hl:b}=this;return[e,t,r,n,i,a,s,o,c,l,u,f,h,d,p,b]}set(e,t,r,n,i,a,s,o,c,l,u,f,h,d,p,b){this.Ah=0|e,this.Al=0|t,this.Bh=0|r,this.Bl=0|n,this.Ch=0|i,this.Cl=0|a,this.Dh=0|s,this.Dl=0|o,this.Eh=0|c,this.El=0|l,this.Fh=0|u,this.Fl=0|f,this.Gh=0|h,this.Gl=0|d,this.Hh=0|p,this.Hl=0|b}process(e,t){for(let r=0;r<16;r++,t+=4)f[r]=e.getUint32(t),h[r]=e.getUint32(t+=4);for(let e=16;e<80;e++){let t=0|f[e-15],n=0|h[e-15],i=r.rotrSH(t,n,1)^r.rotrSH(t,n,8)^r.shrSH(t,n,7),a=r.rotrSL(t,n,1)^r.rotrSL(t,n,8)^r.shrSL(t,n,7),s=0|f[e-2],o=0|h[e-2],c=r.rotrSH(s,o,19)^r.rotrBH(s,o,61)^r.shrSH(s,o,6),l=r.rotrSL(s,o,19)^r.rotrBL(s,o,61)^r.shrSL(s,o,6),u=r.add4L(a,l,h[e-7],h[e-16]),d=r.add4H(u,i,c,f[e-7],f[e-16]);f[e]=0|d,h[e]=0|u}let{Ah:n,Al:i,Bh:a,Bl:s,Ch:o,Cl:c,Dh:d,Dl:p,Eh:b,El:y,Fh:x,Fl:g,Gh:m,Gl:v,Hh:A,Hl:w}=this;for(let e=0;e<80;e++){let t=r.rotrSH(b,y,14)^r.rotrSH(b,y,18)^r.rotrBH(b,y,41),S=r.rotrSL(b,y,14)^r.rotrSL(b,y,18)^r.rotrBL(b,y,41),I=b&x^~b&m,E=y&g^~y&v,H=r.add5L(w,S,E,u[e],h[e]),_=r.add5H(H,A,t,I,l[e],f[e]),B=0|H,U=r.rotrSH(n,i,28)^r.rotrBH(n,i,34)^r.rotrBH(n,i,39),M=r.rotrSL(n,i,28)^r.rotrBL(n,i,34)^r.rotrBL(n,i,39),P=n&a^n&o^a&o,V=i&s^i&c^s&c;A=0|m,w=0|v,m=0|x,v=0|g,x=0|b,g=0|y,({h:b,l:y}=r.add(0|d,0|p,0|_,0|B)),d=0|o,p=0|c,o=0|a,c=0|s,a=0|n,s=0|i;let k=r.add3L(B,M,V);n=r.add3H(k,_,U,P),i=0|k}({h:n,l:i}=r.add(0|this.Ah,0|this.Al,0|n,0|i)),({h:a,l:s}=r.add(0|this.Bh,0|this.Bl,0|a,0|s)),({h:o,l:c}=r.add(0|this.Ch,0|this.Cl,0|o,0|c)),({h:d,l:p}=r.add(0|this.Dh,0|this.Dl,0|d,0|p)),({h:b,l:y}=r.add(0|this.Eh,0|this.El,0|b,0|y)),({h:x,l:g}=r.add(0|this.Fh,0|this.Fl,0|x,0|g)),({h:m,l:v}=r.add(0|this.Gh,0|this.Gl,0|m,0|v)),({h:A,l:w}=r.add(0|this.Hh,0|this.Hl,0|A,0|w)),this.set(n,i,a,s,o,c,d,p,b,y,x,g,m,v,A,w)}roundClean(){(0,n.clean)(f,h)}destroy(){(0,n.clean)(this.buffer),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}constructor(e=64){super(128,e,16,!1),this.Ah=0|t.SHA512_IV[0],this.Al=0|t.SHA512_IV[1],this.Bh=0|t.SHA512_IV[2],this.Bl=0|t.SHA512_IV[3],this.Ch=0|t.SHA512_IV[4],this.Cl=0|t.SHA512_IV[5],this.Dh=0|t.SHA512_IV[6],this.Dl=0|t.SHA512_IV[7],this.Eh=0|t.SHA512_IV[8],this.El=0|t.SHA512_IV[9],this.Fh=0|t.SHA512_IV[10],this.Fl=0|t.SHA512_IV[11],this.Gh=0|t.SHA512_IV[12],this.Gl=0|t.SHA512_IV[13],this.Hh=0|t.SHA512_IV[14],this.Hl=0|t.SHA512_IV[15]}}class p extends d{constructor(){super(48),this.Ah=0|t.SHA384_IV[0],this.Al=0|t.SHA384_IV[1],this.Bh=0|t.SHA384_IV[2],this.Bl=0|t.SHA384_IV[3],this.Ch=0|t.SHA384_IV[4],this.Cl=0|t.SHA384_IV[5],this.Dh=0|t.SHA384_IV[6],this.Dl=0|t.SHA384_IV[7],this.Eh=0|t.SHA384_IV[8],this.El=0|t.SHA384_IV[9],this.Fh=0|t.SHA384_IV[10],this.Fl=0|t.SHA384_IV[11],this.Gh=0|t.SHA384_IV[12],this.Gl=0|t.SHA384_IV[13],this.Hh=0|t.SHA384_IV[14],this.Hl=0|t.SHA384_IV[15]}}let b=(0,n.createHasher)(()=>new s),y=(0,n.createHasher)(()=>new o),x=(0,n.createHasher)(()=>new d),g=(0,n.createHasher)(()=>new p)},213384:e=>{"use strict";function t(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}e.s({_:()=>t})},628340:e=>{"use strict";function t(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}e.s({_:()=>t})},434396:e=>{"use strict";e.s({ripemd160:()=>m},434396);var t=e.i(144749),r=e.i(458365);let n=Uint32Array.from([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]),i=new Uint32Array(80);t.HashMD;(e,t)=>
1Math.floor(0x100000000*Math.abs(Math.sin(t+1)));t.HashMD;let a=Uint8Array.from([7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8]),s=Uint8Array.from(Array(16).fill(0).map((e,t)=>t)),o=s.map(e=>(9*e+5)%16),c=(()=>{let e=[[s],[o]];for(let t=0;t<4;t++)for(let r of e)r.push(r[t].map(e=>a[e]));return e})(),l=c[0],u=c[1],f=[[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8],[12,13,11,15,6,9,9,7,12,15,11,13,7,8,7,7],[13,15,14,11,7,7,6,8,13,14,13,12,5,5,6,9],[14,11,12,14,8,6,5,5,15,12,15,14,9,9,8,6],[15,12,13,13,9,5,8,6,14,11,12,11,8,6,5,5]].map(e=>Uint8Array.from(e)),h=l.map((e,t)=>e.map(e=>f[t][e])),d=u.map((e,t)=>e.map(e=>f[t][e])),p=Uint32Array.from([0,0x5a827999,0x6ed9eba1,0x8f1bbcdc,0xa953fd4e]),b=Uint32Array.from([0x50a28be6,0x5c4dd124,0x6d703ef3,0x7a6d76e9,0]);function y(e,t,r,n){return 0===e?t^r^n:1===e?t&r|~t&n:2===e?(t|~r)^n:3===e?t&n|r&~n:t^(r|~n)}let x=new Uint32Array(16);class g extends t.HashMD{get(){let{h0:e,h1:t,h2:r,h3:n,h4:i}=this;return[e,t,r,n,i]}set(e,t,r,n,i){this.h0=0|e,this.h1=0|t,this.h2=0|r,this.h3=0|n,this.h4=0|i}process(e,t){for(let r=0;r<16;r++,t+=4)x[r]=e.getUint32(t,!0);let n=0|this.h0,i=n,a=0|this.h1,s=a,o=0|this.h2,c=o,f=0|this.h3,g=f,m=0|this.h4,v=m;for(let e=0;e<5;e++){let t=4-e,A=p[e],w=b[e],S=l[e],I=u[e],E=h[e],H=d[e];for(let t=0;t<16;t++){let i=(0,r.rotl)(n+y(e,a,o,f)+x[S[t]]+A,E[t])+m|0;n=m,m=f,f=0|(0,r.rotl)(o,10),o=a,a=i}for(let e=0;e<16;e++){let n=(0,r.rotl)(i+y(t,s,c,g)+x[I[e]]+w,H[e])+v|0;i=v,v=g,g=0|(0,r.rotl)(c,10),c=s,s=n}}this.set(this.h1+o+g|0,this.h2+f+v|0,this.h3+m+i|0,this.h4+n+s|0,this.h0+a+c|0)}roundClean(){(0,r.clean)(x)}destroy(){this.destroyed=!0,(0,r.clean)(this.buffer),this.set(0,0,0,0,0)}constructor(){super(64,20,8,!0),this.h0=0x67452301,this.h1=-0x10325477,this.h2=-0x67452302,this.h3=0x10325476,this.h4=-0x3c2d1e10}}let m=(0,r.createHasher)(()=>new g)},139333:e=>{"use strict";var{m:t,e:r}=e,n=Object.prototype.hasOwnProperty,i="~";function a(){}function s(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function o(e,t,r,n,a){if("function"!=typeof r)throw TypeError("The listener must be a function");var o=new s(r,n||e,a),c=i?i+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],o]:e._events[c].push(o):(e._events[c]=o,e._eventsCount++),e}function c(e,t){0==--e._eventsCount?e._events=new a:delete e._events[t]}function l(){this._events=new a,this._eventsCount=0}Object.create&&(a.prototype=Object.create(null),new a().__proto__||(i=!1)),l.prototype.eventNames=function(){var e,t,r=[];if(0===this._eventsCount)return r;for(t in e=this._events)n.call(e,t)&&r.push(i?t.slice(1):t);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(e)):r},l.prototype.listeners=function(e){var t=i?i+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var n=0,a=r.length,s=Array(a);n<a;n++)s[n]=r[n].fn;return s},l.prototype.listenerCount=function(e){var t=i?i+e:e,r=this._events[t];return r?r.fn?1:r.length:0},l.prototype.emit=function(e,t,r,n,a,s){var o=i?i+e:e;if(!this._events[o])return!1;var c,l,u=this._events[o],f=arguments.length;if(u.fn){switch(u.once&&this.removeListener(e,u.fn,void 0,!0),f){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,t),!0;case 3:return u.fn.call(u.context,t,r),!0;case 4:return u.fn.call(u.context,t,r,n),!0;case 5:return u.fn.call(u.context,t,r,n,a),!0;case 6:return u.fn.call(u.context,t,r,n,a,s),!0}for(l=1,c=Array(f-1);l<f;l++)c[l-1]=arguments[l];u.fn.apply(u.context,c)}else{var h,d=u.length;for(l=0;l<d;l++)switch(u[l].once&&this.removeListener(e,u[l].fn,void 0,!0),f){case 1:u[l].fn.call(u[l].context);break;case 2:u[l].fn.call(u[l].context,t);break;case 3:u[l].fn.call(u[l].context,t,r);break;case 4:u[l].fn.call(u[l].context,t,r,n);break;default:if(!c)for(h=1,c=Array(f-1);h<f;h++)c[h-1]=arguments[h];u[l].fn.apply(u[l].context,c)}}return!0},l.prototype.on=function(e,t,r){return o(this,e,t,r,!1)},l.prototype.once=function(e,t,r){return o(this,e,t,r,!0)},l.prototype.removeListener=function(e,t,r,n){var a=i?i+e:e;if(!this._events[a])return this;if(!t)return c(this,a),this;var s=this._events[a];if(s.fn)s.fn!==t||n&&!s.once||r&&s.context!==r||c(this,a);else{for(var o=0,l=[],u=s.length;o<u;o++)(s[o].fn!==t||n&&!s[o].once||r&&s[o].context!==r)&&l.push(s[o]);l.length?this._events[a]=1===l.length?l[0]:l:c(this,a)}return this},l.prototype.removeAllListeners=function(e){var t;return e?(t=i?i+e:e,this._events[t]&&c(this,t)):(this._events=new a,this._eventsCount=0),this},l.prototype.off=l.prototype.removeListener,l.prototype.addListener=l.prototype.on,l.prefixed=i,l.EventEmitter=l,t.exports=l},391323:[e=>{"use strict";e.s({},391323);var t=e.i(139333);e.s({default:()=>r},776765);let r=t.default},[776765]],54901:e=>{"use strict";function t(e,t){let r=e.exec(t);return null==r?void 0:r.groups}e.s({bytesRegex:()=>r,execTyped:()=>t,integerRegex:()=>n,isTupleRegex:()=>i});let r=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,n=/^u?int(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/,i=/^\(.+?\).*?$/},182008:[e=>{"use strict";e.s({formatAbiItem:()=>i},182008),e.s({formatAbiParameters:()=>n},878351);var t=e.i(54901);let r=RegExp("^tuple(?<array>(\\[(\\d*)\\])*)$");function n(e){let n="",i=e.length;for(let a=0;a<i;a++)n+=function e(n){let i=n.type;if(r.test(n.type)&&"components"in n){i="(";let a=n.components.length;for(let t=0;t<a;t++)i+=e(n.components[t]),t<a-1&&(i+=", ");let s=(0,t.execTyped)(r,n.type);return i+=")".concat((null==s?void 0:s.array)||""),e({...n,type:i})}return("indexed"in n&&n.indexed&&(i="".concat(i," indexed")),n.name)?"".concat(i," ").concat(n.name):i}(e[a]),a!==i-1&&(n+=", ");return n}function i(e){var t;return"function"===e.type?"function ".concat(e.name,"(").concat(n(e.inputs),")").concat(e.stateMutability&&"nonpayable"!==e.stateMutability?" ".concat(e.stateMutability):"").concat((null==(t=e.outputs)?void 0:t.length)?" returns (".concat(n(e.outputs),")"):""):"event"===e.type?"event ".concat(e.name,"(").concat(n(e.inputs),")"):"error"===e.type?"error ".concat(e.name,"(").concat(n(e.inputs),")"):"constructor"===e.type?"constructor(".concat(n(e.inputs),")").concat("payable"===e.stateMutability?" payable":""):"fallback"===e.type?"fallback() external".concat("payable"===e.stateMutability?" payable":""):"receive() external payable"}},[878351]],433164:e=>{"use strict";e.s({BaseError:()=>t},433164);
1class t extends Error{constructor(e,r={}){var n;let i=r.cause instanceof t?r.cause.details:(null==(n=r.cause)?void 0:n.message)?r.cause.message:r.details,a=r.cause instanceof t&&r.cause.docsPath||r.docsPath;super([e||"An error occurred.","",...r.metaMessages?[...r.metaMessages,""]:[],...a?["Docs: https://abitype.dev".concat(a)]:[],...i?["Details: ".concat(i)]:[],"Version: abitype@".concat("1.2.3")].join("\n")),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"metaMessages",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiTypeError"}),r.cause&&(this.cause=r.cause),this.details=i,this.docsPath=a,this.metaMessages=r.metaMessages,this.shortMessage=e}}},382564:e=>{"use strict";e.s({InvalidAbiItemError:()=>r,UnknownSolidityTypeError:()=>i,UnknownTypeError:()=>n});var t=e.i(433164);class r extends t.BaseError{constructor({signature:e}){super("Failed to parse ABI item.",{details:"parseAbiItem(".concat(JSON.stringify(e,null,2),")"),docsPath:"/api/human#parseabiitem-1"}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiItemError"})}}class n extends t.BaseError{constructor({type:e}){super("Unknown type.",{metaMessages:['Type "'.concat(e,'" is not a valid ABI type. Perhaps you forgot to include a struct signature?')]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownTypeError"})}}class i extends t.BaseError{constructor({type:e}){super("Unknown type.",{metaMessages:['Type "'.concat(e,'" is not a valid ABI type.')]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownSolidityTypeError"})}}},647145:e=>{"use strict";e.s({eventModifiers:()=>S,execConstructorSignature:()=>y,execErrorSignature:()=>i,execEventSignature:()=>o,execFallbackSignature:()=>m,execFunctionSignature:()=>u,execStructSignature:()=>d,functionModifiers:()=>I,isConstructorSignature:()=>b,isErrorSignature:()=>n,isEventSignature:()=>s,isFallbackSignature:()=>g,isFunctionSignature:()=>l,isReceiveSignature:()=>A,isStructSignature:()=>h,modifiers:()=>w});var t=e.i(54901);let r=RegExp("^error (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\\((?<parameters>.*?)\\)$");function n(e){return r.test(e)}function i(e){return(0,t.execTyped)(r,e)}let a=RegExp("^event (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\\((?<parameters>.*?)\\)$");function s(e){return a.test(e)}function o(e){return(0,t.execTyped)(a,e)}let c=RegExp("^function (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\\((?<parameters>.*?)\\)(?: (?<scope>external|public{1}))?(?: (?<stateMutability>pure|view|nonpayable|payable{1}))?(?: returns\\s?\\((?<returns>.*?)\\))?$");function l(e){return c.test(e)}function u(e){return(0,t.execTyped)(c,e)}let f=RegExp("^struct (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*) \\{(?<properties>.*?)\\}$");function h(e){return f.test(e)}function d(e){return(0,t.execTyped)(f,e)}let p=RegExp("^constructor\\((?<parameters>.*?)\\)(?:\\s(?<stateMutability>payable{1}))?$");function b(e){return p.test(e)}function y(e){return(0,t.execTyped)(p,e)}let x=RegExp("^fallback\\(\\) external(?:\\s(?<stateMutability>payable{1}))?$");function g(e){return x.test(e)}function m(e){return(0,t.execTyped)(x,e)}let v=/^receive\(\) external payable$/;function A(e){return v.test(e)}let w=new Set(["memory","indexed","storage","calldata"]),S=new Set(["indexed"]),I=new Set(["calldata","memory","storage"])},779248:e=>{"use strict";e.s({InvalidAbiParameterError:()=>r,InvalidAbiParametersError:()=>n,InvalidAbiTypeParameterError:()=>c,InvalidFunctionModifierError:()=>o,InvalidModifierError:()=>s,InvalidParameterError:()=>i,SolidityProtectedKeywordError:()=>a});var t=e.i(433164);class r extends t.BaseError{constructor({param:e}){super("Failed to parse ABI parameter.",{details:"parseAbiParameter(".concat(JSON.stringify(e,null,2),")"),docsPath:"/api/human#parseabiparameter-1"}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiParameterError"})}}class n extends t.BaseError{constructor({params:e}){super("Failed to parse ABI parameters.",{details:"parseAbiParameters(".concat(JSON.stringify(e,null,2),")"),docsPath:"/api/human#parseabiparameters-1"}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiParametersError"})}}class i extends t.BaseError{constructor({param:e}){super("Invalid ABI parameter.",{details:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidParameterError"})}}class a extends t.BaseError{constructor({param:e,name:t}){super("Invalid ABI parameter.",{details:e,metaMessages:['"'.concat(t,'" is a protected Solidity keyword. More info: https://docs.soliditylang.org/en/latest/cheatsheet.html')]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SolidityProtectedKeywordError"})}}class s extends t.BaseError{constructor({param:e,type:t,modifier:r}){super("Invalid ABI parameter.",{details:e,metaMessages:['Modifier "'.concat(r,'" not allowed').concat(t?' in "'.concat(t,'" type'):"",".")]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidModifierError"})}}class o extends t.BaseError{constructor({param:e,type:t,modifier:r}){super("Invalid ABI parameter.",{details:e,metaMessages:['Modifier "'.concat(r,'" not allowed').concat(t?' in "'.concat(t,'" type'):"","."),'Data location can only be specified for array, struct, or mapping types, but "'.concat(r,'" was given.')]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidFunctionModifierError"})}}class c extends t.BaseError{constructor({abiParameter:e}){super("Invalid ABI parameter.",{details:JSON.stringify(e,null,2),metaMessages:["ABI parameter type is invali
1d."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiTypeParameterError"})}}},503454:e=>{"use strict";e.s({InvalidSignatureError:()=>r,InvalidStructSignatureError:()=>i,UnknownSignatureError:()=>n});var t=e.i(433164);class r extends t.BaseError{constructor({signature:e,type:t}){super("Invalid ".concat(t," signature."),{details:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidSignatureError"})}}class n extends t.BaseError{constructor({signature:e}){super("Unknown signature.",{details:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownSignatureError"})}}class i extends t.BaseError{constructor({signature:e}){super("Invalid struct signature.",{details:e,metaMessages:["No properties exist."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidStructSignatureError"})}}},56897:e=>{"use strict";e.s({CircularReferenceError:()=>r});var t=e.i(433164);class r extends t.BaseError{constructor({type:e}){super("Circular reference detected.",{metaMessages:['Struct "'.concat(e,'" is a circular reference.')]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"CircularReferenceError"})}}},118437:e=>{"use strict";e.s({InvalidParenthesisError:()=>r});var t=e.i(433164);class r extends t.BaseError{constructor({current:e,depth:t}){super("Unbalanced parentheses.",{metaMessages:['"'.concat(e.trim(),'" has too many ').concat(t>0?"opening":"closing"," parentheses.")],details:'Depth "'.concat(t,'"')}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidParenthesisError"})}}},204471:[e=>{"use strict";e.s({parseStructs:()=>x},204471);var t=e.i(54901),r=e.i(382564),n=e.i(779248),i=e.i(503454),a=e.i(56897),s=e.i(647145);e.s({isSolidityType:()=>b,parseAbiParameter:()=>d,parseSignature:()=>l,splitParameters:()=>p},626548);var o=e.i(118437);let c=new Map([["address",{type:"address"}],["bool",{type:"bool"}],["bytes",{type:"bytes"}],["bytes32",{type:"bytes32"}],["int",{type:"int256"}],["int256",{type:"int256"}],["string",{type:"string"}],["uint",{type:"uint256"}],["uint8",{type:"uint8"}],["uint16",{type:"uint16"}],["uint24",{type:"uint24"}],["uint32",{type:"uint32"}],["uint64",{type:"uint64"}],["uint96",{type:"uint96"}],["uint112",{type:"uint112"}],["uint160",{type:"uint160"}],["uint192",{type:"uint192"}],["uint256",{type:"uint256"}],["address owner",{type:"address",name:"owner"}],["address to",{type:"address",name:"to"}],["bool approved",{type:"bool",name:"approved"}],["bytes _data",{type:"bytes",name:"_data"}],["bytes data",{type:"bytes",name:"data"}],["bytes signature",{type:"bytes",name:"signature"}],["bytes32 hash",{type:"bytes32",name:"hash"}],["bytes32 r",{type:"bytes32",name:"r"}],["bytes32 root",{type:"bytes32",name:"root"}],["bytes32 s",{type:"bytes32",name:"s"}],["string name",{type:"string",name:"name"}],["string symbol",{type:"string",name:"symbol"}],["string tokenURI",{type:"string",name:"tokenURI"}],["uint tokenId",{type:"uint256",name:"tokenId"}],["uint8 v",{type:"uint8",name:"v"}],["uint256 balance",{type:"uint256",name:"balance"}],["uint256 tokenId",{type:"uint256",name:"tokenId"}],["uint256 value",{type:"uint256",name:"value"}],["event:address indexed from",{type:"address",name:"from",indexed:!0}],["event:address indexed to",{type:"address",name:"to",indexed:!0}],["event:uint indexed tokenId",{type:"uint256",name:"tokenId",indexed:!0}],["event:uint256 indexed tokenId",{type:"uint256",name:"tokenId",indexed:!0}]]);function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((0,s.isFunctionSignature)(e))return function(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(0,s.execFunctionSignature)(e);if(!n)throw new i.InvalidSignatureError({signature:e,type:"function"});let a=p(n.parameters),o=[],c=a.length;for(let e=0;e<c;e++)o.push(d(a[e],{modifiers:s.functionModifiers,structs:r,type:"function"}));let l=[];if(n.returns){let e=p(n.returns),t=e.length;for(let n=0;n<t;
1n++)l.push(d(e[n],{modifiers:s.functionModifiers,structs:r,type:"function"}))}return{name:n.name,type:"function",stateMutability:null!=(t=n.stateMutability)?t:"nonpayable",inputs:o,outputs:l}}(e,t);if((0,s.isEventSignature)(e))return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(0,s.execEventSignature)(e);if(!r)throw new i.InvalidSignatureError({signature:e,type:"event"});let n=p(r.parameters),a=[],o=n.length;for(let e=0;e<o;e++)a.push(d(n[e],{modifiers:s.eventModifiers,structs:t,type:"event"}));return{name:r.name,type:"event",inputs:a}}(e,t);if((0,s.isErrorSignature)(e))return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(0,s.execErrorSignature)(e);if(!r)throw new i.InvalidSignatureError({signature:e,type:"error"});let n=p(r.parameters),a=[],o=n.length;for(let e=0;e<o;e++)a.push(d(n[e],{structs:t,type:"error"}));return{name:r.name,type:"error",inputs:a}}(e,t);if((0,s.isConstructorSignature)(e))return function(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(0,s.execConstructorSignature)(e);if(!n)throw new i.InvalidSignatureError({signature:e,type:"constructor"});let a=p(n.parameters),o=[],c=a.length;for(let e=0;e<c;e++)o.push(d(a[e],{structs:r,type:"constructor"}));return{type:"constructor",stateMutability:null!=(t=n.stateMutability)?t:"nonpayable",inputs:o}}(e,t);if((0,s.isFallbackSignature)(e)){var r,n=e;let t=(0,s.execFallbackSignature)(n);if(!t)throw new i.InvalidSignatureError({signature:n,type:"fallback"});return{type:"fallback",stateMutability:null!=(r=t.stateMutability)?r:"nonpayable"}}if((0,s.isReceiveSignature)(e))return{type:"receive",stateMutability:"payable"};throw new i.UnknownSignatureError({signature:e})}let u=RegExp("^(?<type>[a-zA-Z$_][a-zA-Z0-9$_]*(?:\\spayable)?)(?<array>(?:\\[\\d*?\\])+?)?(?:\\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\\s(?<name>[a-zA-Z$_][a-zA-Z0-9$_]*))?$"),f=RegExp("^\\((?<type>.+?)\\)(?<array>(?:\\[\\d*?\\])+?)?(?:\\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\\s(?<name>[a-zA-Z$_][a-zA-Z0-9$_]*))?$"),h=/^u?int$/;function d(e,i){var a,o,l,x,g,m;let v,A=function(e,t,r){let n="";if(r)for(let e of Object.entries(r)){if(!e)continue;let t="";for(let r of e[1])t+="[".concat(r.type).concat(r.name?":".concat(r.name):"","]");n+="(".concat(e[0],"{").concat(t,"})")}return t?"".concat(t,":").concat(e).concat(n):"".concat(e).concat(n)}(e,null==i?void 0:i.type,null==i?void 0:i.structs);if(c.has(A))return c.get(A);let w=t.isTupleRegex.test(e),S=(0,t.execTyped)(w?f:u,e);if(!S)throw new n.InvalidParameterError({param:e});if(S.name&&("address"===(g=S.name)||"bool"===g||"function"===g||"string"===g||"tuple"===g||t.bytesRegex.test(g)||t.integerRegex.test(g)||y.test(g)))throw new n.SolidityProtectedKeywordError({param:e,name:S.name});let I=S.name?{name:S.name}:{},E="indexed"===S.modifier?{indexed:!0}:{},H=null!=(a=null==i?void 0:i.structs)?a:{},_={};if(w){v="tuple";let e=p(S.type),t=[],r=e.length;for(let n=0;n<r;n++)t.push(d(e[n],{structs:H}));_={components:t}}else if(S.type in H)v="tuple",_={components:H[S.type]};else if(h.test(S.type))v="".concat(S.type,"256");else if("address payable"===S.type)v="address";else if(v=S.type,(null==i?void 0:i.type)!=="struct"&&!b(v))throw new r.UnknownSolidityTypeError({type:v});if(S.modifier){if(!(null==i||null==(l=i.modifiers)||null==(o=l.has)?void 0:o.call(l,S.modifier)))throw new n.InvalidModifierError({param:e,type:null==i?void 0:i.type,modifier:S.modifier});if(s.functionModifiers.has(S.modifier)&&(m=v,!S.array&&"bytes"!==m&&"string"!==m&&"tuple"!==m))throw new n.InvalidFunctionModifierError({param:e,type:null==i?void 0:i.type,modifier:S.modifier})}let B={type:"".concat(v).concat(null!=(x=S.array)?x:""),...I,...E,..._};return c.set(A,B),B}function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=e.trim().length;for(let a=0;a<i;a++){let i=e[a],s=e.slice(a+1);switch(i){case",":return 0===n?p(s,[...t,r.trim()]):p(s,t,"".concat(r).concat(i),n);case"(":return p(s,t,"".concat(r).concat(i),n+1);case")":return p(s,t,"".concat(r).concat(i),n-1);default:return p(s,t,"".concat(r).concat(i),n)}}if(""===r)return t;if(0!==n)throw new o.InvalidParenthesisError({current:r,depth:n});return t.push(r.trim()),t}function b(e){return"address"===e||"bool"===e||"function"===e||"string"===e||t.bytesRegex.test(e)||t.integerRegex.test(e)}let y=/^(?:after|alias|anonymous|apply|auto|byte|calldata|case|catch|constant|copyof|default|defined|error|event|external|false|final|function|immutable|implements|in|indexed|inline|internal|let|mapping|match|memory|mutable|null|of|override|partial|private|promise|public|pure|reference|relocatable|return|returns|sizeof|static|storage|struct|super|supports|switch|this|true|try|typedef|typeof|var|view|virtual)$/;function x(e){let o={},c=e.length;for(let t=0;t<c;t++){let r=e[t];if(!(0,s.isStructSignature)(r))continue;let n=(0,s.execStructSignature)(r);if(!n)throw new i.InvalidSignatureError({signature:r,type:"struct"});let a=n.properties.split(";"),c=[],l=a.length;for(let e=0;e<l;e++){let t=a[e].trim();if(!t)continue;let r=d(t,{type:"struct"});c.push(r)}if(!c.length)throw new i.InvalidStructSignatureError({signature:r});o[n.name]=c}let l={},u=Object.entries(o),f=u.length;for(let e=0;e<f;e++){let[i,s]=u[e];l[i]=function e(){let i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new Set,c=[],l=i.length;for(let u=0;u<l;u++){let l=i[u];if(t.isTupleRegex.test(l.type))c.push(l);else{let i=(0,t.execTyped)(g,l.type);if(!(null==i?void 0:i.type))throw new n.InvalidAbiTypeParameterError({abiParameter:l});let{array:u,type:f}=i;if(f in s){if(o.has(f))throw new a.CircularReferenceError({type:f});c.push({...l,type:"tuple".concat(null!=u?u:""),components:e(s[f],s,new Set([...o,f]))})}else if(b(f))c.push(l);else throw new r.UnknownTypeError({type:f})}}return c}(s,o)}return l}let g=RegExp("^(?<type>[a-zA-Z$_][a-zA-Z0-9$_]*)(?<array>(?:\\[\\d*?\\])+?)?$")},[626548]],623676:[e=>{"use strict";e.s({parseAbiItem:()=>a},623676);var t=e.i(382564),r=e.i(647145),n=e.i(204471),i=e.i(626548);function a(e){let a;if("string"==typeof e)a=(0,i.parseSignature)(e);else{let t=(0,n.parseStructs)(e),s=e.length;for(let n=0;n<s;n++){let s=e[n];if(!(0,r.isStructSignature)(s)){a=(0,i.parseSignature)(s,t);break}}}if(!a)throw new t.InvalidAbiItemError({signature:e});return a}e.s({parseAbiParameters:()=>o},519774);var s=e.i(779248);function o(e){let t=[];if("string"==typeof e){let n=(0,i.splitParameters)(e),a=n.length;for(let e=0;e<a;e++)t.push((0,i.parseAbiParameter)(n[e],{modifiers:r.modifiers}))}else{let a=(0,n.parseStructs)(e),s=e.length;for(let n=0;n<s;n++){let s=e[n];if((0,r.isStructSignature)(s))continue;let o=(0,i.splitParameters)(s),c=o.length;for(let e=0;e<c;e++)t.push((0,i.parseAbiParameter)(o[e],{modifiers:r.modifiers,structs:a}))}}if(0===t.length)throw new s.InvalidAbiParametersError({params:e});return t}},[519774]]}]);
2
3//# sourceMappingURL=cdc3ab30feb0dec5.js.map

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.